:root{
  --bg:#f5efe6;
  --bg-deep:#eadccc;
  --surface:#fbf7f1;
  --surface-strong:#f0e3d4;
  --surface-dark:#20160f;
  --text:#1e1610;
  --muted:#7b6758;
  --muted-strong:#5f4b3d;
  --brand:#8a4e25;
  --brand-strong:#6f3816;
  --brand-soft:#c8845c;
  --line:rgba(64,41,24,.12);
  --line-strong:rgba(64,41,24,.18);
  --shadow-xl:0 40px 100px rgba(42,27,17,.18);
  --shadow-lg:0 24px 60px rgba(42,27,17,.12);
  --shadow-md:0 18px 38px rgba(42,27,17,.08);
  --radius-xl:34px;
  --radius-lg:26px;
  --radius-md:20px;
  --radius-sm:16px;
  --shell:min(1180px,calc(100% - 2rem));
  --shell-narrow:min(960px,calc(100% - 2rem));
  --header-h:88px;
  --font-body:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;
  --font-display:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;
}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:
    radial-gradient(circle at top left,rgba(200,132,92,.18),transparent 28%),
    radial-gradient(circle at 88% 12%,rgba(138,78,37,.12),transparent 30%),
    linear-gradient(180deg,#fffdf9 0%,var(--bg) 36%,#efe3d3 100%);
  line-height:1.6;
  overflow-x:hidden;
}

body.menu-open{overflow:hidden}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.28;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.95),rgba(0,0,0,.25) 55%,transparent);
}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,
input,
select,
textarea{font:inherit}
button{cursor:pointer}

.shell{width:var(--shell);margin:0 auto}
.shell-narrow{width:var(--shell-narrow);margin:0 auto}
.page-main{padding-top:calc(var(--header-h) + 1rem)}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

[data-reveal]{
  opacity:0;
  transform:translateY(22px);
}

body.is-ready [data-reveal]{
  animation:site-rise .72s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay:var(--delay,0s);
}

@keyframes site-rise{
  from{opacity:0;transform:translateY(22px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes soft-float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--brand);
}

.eyebrow::before{
  content:"";
  width:2.75rem;
  height:1px;
  background:linear-gradient(90deg,var(--brand),transparent);
}

.section{
  padding:5.5rem 0;
  position:relative;
}

.section.section-tight{padding:4rem 0}
.section.section-slim{padding:3.5rem 0}
.section.section-contrast{background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.16))}

.section-head{
  display:grid;
  gap:1rem;
  align-items:start;
  grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);
  margin-bottom:2.2rem;
}

.section-head.compact{grid-template-columns:1fr}

.section-title{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(2.4rem,4vw,4.6rem);
  line-height:.92;
  letter-spacing:-.03em;
  text-wrap:balance;
}

.section-text,
.lead,
.body-copy{
  color:var(--muted);
  font-size:1rem;
  line-height:1.8;
}

.section-head .section-text{
  justify-self:end;
  max-width:32rem;
}

.muted-note{
  color:var(--muted);
  font-size:.92rem;
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}

.chip{
  display:inline-flex;
  align-items:center;
  min-height:2.5rem;
  padding:.55rem .95rem;
  border-radius:999px;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.5);
  box-shadow:0 12px 30px rgba(42,27,17,.08);
  color:var(--muted-strong);
  font-size:.84rem;
  font-weight:700;
}

.button-row{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:3.3rem;
  padding:0 1.45rem;
  border-radius:999px;
  border:1px solid transparent;
  font-size:.92rem;
  font-weight:800;
  letter-spacing:.01em;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}

.button:hover{
  transform:translateY(-2px);
}

.button-primary{
  background:linear-gradient(135deg,var(--brand-soft),var(--brand));
  color:#fff;
  box-shadow:0 18px 34px rgba(138,78,37,.28);
}

.button-primary:hover{
  box-shadow:0 22px 42px rgba(138,78,37,.34);
}

.button-secondary{
  background:rgba(255,255,255,.66);
  color:var(--text);
  border-color:rgba(255,255,255,.78);
  box-shadow:0 12px 28px rgba(42,27,17,.08);
}

.button-dark{
  background:rgba(26,16,8,.9);
  color:#fff;
  border-color:rgba(255,255,255,.12);
}

.button-ghost{
  background:transparent;
  color:var(--brand);
  border-color:var(--line);
}

.button-block{width:100%}

.site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:50;
  padding-top:1rem;
}

.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,7,4,.35),rgba(10,7,4,0));
  opacity:.9;
  pointer-events:none;
  transition:opacity .2s ease;
}

.site-header.is-scrolled::before{opacity:0}

.topbar{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  align-items:center;
  gap:1rem;
  min-height:var(--header-h);
  padding:0 1.25rem;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(31,22,16,.16);
  backdrop-filter:blur(22px);
  box-shadow:0 18px 44px rgba(17,10,6,.14);
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.site-header.is-scrolled .topbar{
  background:rgba(251,247,241,.84);
  border-color:rgba(64,41,24,.09);
  box-shadow:var(--shadow-md);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:.2rem;
  font-family:var(--font-display);
  font-size:1.3rem;
  font-weight:700;
  letter-spacing:-.02em;
  color:#fff;
  white-space:nowrap;
}

.brand span{color:var(--brand-soft)}

.site-header.is-scrolled .brand{color:var(--text)}

.desktop-nav{
  display:flex;
  justify-content:center;
  gap:1.5rem;
}

.desktop-nav a{
  position:relative;
  color:rgba(255,255,255,.84);
  font-size:.86rem;
  font-weight:700;
  padding:.35rem 0;
  transition:color .18s ease;
}

.site-header.is-scrolled .desktop-nav a{color:var(--muted-strong)}

.desktop-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-.12rem;
  width:100%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand-soft),var(--brand));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active{color:#fff}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a.is-active{color:var(--text)}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after{transform:scaleX(1)}

.header-phone{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:3rem;
  padding:0 1rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  font-size:.86rem;
  font-weight:800;
  background:rgba(255,255,255,.08);
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}

.site-header.is-scrolled .header-phone{
  color:var(--brand);
  border-color:rgba(138,78,37,.18);
  background:rgba(255,255,255,.76);
}

.header-phone:hover{background:rgba(255,255,255,.18)}

.menu-toggle{
  display:none;
  width:3.25rem;
  height:3.25rem;
  padding:0;
  border:1px solid rgba(255,255,255,.4);
  border-radius:20px;
  background:rgba(255,255,255,.88);
  color:var(--brand-strong);
  place-items:center;
  justify-self:end;
  box-shadow:0 16px 34px rgba(27,17,10,.16), inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter:blur(16px);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}

.site-header.is-scrolled .menu-toggle{
  color:var(--brand-strong);
  border-color:rgba(138,78,37,.14);
  background:rgba(255,255,255,.92);
}

.menu-toggle span{
  display:block;
  width:1.25rem;
  height:2px;
  margin:0;
  border-radius:999px;
  background:currentColor;
  transition:transform .18s ease,opacity .18s ease,width .18s ease;
}

.menu-toggle span:nth-child(1){width:1.35rem}
.menu-toggle span:nth-child(2){width:.95rem}
.menu-toggle span:nth-child(3){width:1.35rem}

.menu-toggle:hover{
  transform:translateY(-1px);
  box-shadow:0 20px 38px rgba(27,17,10,.2), inset 0 1px 0 rgba(255,255,255,.78);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.mobile-drawer{
  display:none;
  margin-top:.8rem;
  border-radius:30px;
  background:rgba(30,22,16,.96);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--shadow-lg);
  padding:1rem;
}

.mobile-drawer.is-open{display:grid;gap:.5rem}

.mobile-drawer a{
  padding:1rem 1.1rem;
  border-radius:18px;
  color:rgba(255,255,255,.86);
  font-size:1rem;
  font-weight:700;
  background:rgba(255,255,255,.03);
}

.mobile-drawer a.is-active,
.mobile-drawer a:hover{
  background:rgba(200,132,92,.18);
  color:#fff;
}

.mobile-drawer .mobile-phone{
  margin-top:.4rem;
  justify-content:center;
  background:linear-gradient(135deg,var(--brand-soft),var(--brand));
  color:#fff;
}

.hero{
  position:relative;
  overflow:hidden;
  padding:7rem 0 2.5rem;
}

.hero::before,
.hero::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(12px);
  opacity:.8;
  pointer-events:none;
}

.hero::before{
  width:30rem;
  height:30rem;
  top:-8rem;
  right:-10rem;
  background:radial-gradient(circle,var(--brand-soft),rgba(200,132,92,0));
}

.hero::after{
  width:24rem;
  height:24rem;
  left:-8rem;
  bottom:-10rem;
  background:radial-gradient(circle,rgba(138,78,37,.15),rgba(138,78,37,0));
}

.hero-home{
  min-height:calc(100vh - 1.5rem);
  color:#fff;
  background:
    linear-gradient(92deg,rgba(18,11,7,.88) 0%,rgba(18,11,7,.76) 34%,rgba(18,11,7,.52) 58%,rgba(18,11,7,.68) 100%),
    linear-gradient(180deg,rgba(18,11,7,.26),rgba(18,11,7,.56)),
    url("/uploads/hero.jpg") center center / cover no-repeat;
}

.hero-home .hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:2rem;
  align-items:end;
  min-height:clamp(29rem,62vh,41rem);
}

.hero-copy{
  position:relative;
  z-index:1;
  display:grid;
  gap:1.25rem;
  max-width:min(66rem,100%);
  padding:clamp(1.5rem,4vw,4.5rem) 0 1rem;
}

.hero-title{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(3.1rem,6.4vw,6.15rem);
  line-height:.9;
  letter-spacing:-.05em;
  max-width:13ch;
  text-wrap:balance;
}

.hero-title .accent{
  color:var(--brand-soft);
  font-style:italic;
  display:block;
  white-space:nowrap;
}

.hero-home .lead{
  color:rgba(255,255,255,.74);
  max-width:40rem;
}

.glass-card,
.feature-card,
.filter-panel,
.contact-card,
.doc-card,
.doc-aside,
.metric-card,
.listing-card,
.service-card,
.process-card,
.story-panel{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(16px);
  box-shadow:var(--shadow-md);
}

.stat-ribbon{
  position:relative;
  z-index:1;
  margin-top:2rem;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
}

.metric-card{
  padding:1.25rem;
}

.hero-home .metric-card{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.12);
  color:#fff;
}

.metric-card strong{
  display:block;
  font-size:1.5rem;
  margin-bottom:.25rem;
}

.metric-card span{
  display:block;
  color:inherit;
  opacity:.72;
  font-size:.82rem;
}

.hero-page{
  padding-top:4rem;
}

.hero-page .hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);
  gap:1.5rem;
  align-items:stretch;
}

.hero-surface{
  position:relative;
  overflow:hidden;
  padding:2.4rem;
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.6);
  background:
    radial-gradient(circle at top right,rgba(200,132,92,.22),transparent 26%),
    linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.7));
  box-shadow:var(--shadow-xl);
}

.hero-surface.dark{
  color:#fff;
  border-color:rgba(255,255,255,.12);
  background:
    radial-gradient(circle at top right,rgba(200,132,92,.22),transparent 26%),
    linear-gradient(135deg,#2c1d12,#160e08);
}

.hero-surface .lead{max-width:54ch}
.hero-surface.dark .lead{color:rgba(255,255,255,.72)}

.hero-side-stack{
  display:grid;
  gap:1rem;
}

.side-card{
  padding:1.5rem;
}

.side-card strong{
  display:block;
  font-size:1.02rem;
  margin-bottom:.35rem;
}

.side-card p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}

.side-card.dark p{color:rgba(255,255,255,.72)}

.dark{
  background:linear-gradient(160deg,#2c1d12,#150d08);
  color:#fff;
}

.dark .eyebrow{color:var(--brand-soft)}

.discovery-grid,
.story-grid,
.contact-layout,
.catalog-shell,
.doc-layout{
  display:grid;
  gap:1.4rem;
}

.discovery-grid{
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
}

.story-grid{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  align-items:start;
}

.feature-card,
.story-panel,
.contact-card,
.doc-card,
.doc-aside,
.filter-panel{
  padding:1.6rem;
}

.feature-card h3,
.story-panel h3,
.contact-card h3,
.doc-card h2,
.doc-aside h3{
  margin:0 0 .75rem;
  font-family:var(--font-display);
  font-size:1.6rem;
  line-height:1;
}

.feature-list,
.doc-summary-list,
.contact-list,
.process-list,
.value-list{
  list-style:none;
  padding:0;
  margin:1rem 0 0;
  display:grid;
  gap:.8rem;
}

.feature-list li,
.doc-summary-list li,
.contact-list li,
.process-list li,
.value-list li{
  position:relative;
  padding-left:2.1rem;
  color:var(--muted);
}

.feature-list li::before,
.doc-summary-list li::before,
.contact-list li::before,
.process-list li::before,
.value-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.35rem;
  width:1.15rem;
  height:1.15rem;
  border-radius:50%;
  background:linear-gradient(135deg,var(--brand-soft),var(--brand));
  box-shadow:0 0 0 5px rgba(138,78,37,.08);
}

.feature-stat-grid,
.process-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:1.4rem;
}

.process-card{
  padding:1.35rem;
}

.process-index{
  display:inline-grid;
  place-items:center;
  width:2.3rem;
  height:2.3rem;
  margin-bottom:.85rem;
  border-radius:16px;
  background:rgba(138,78,37,.1);
  color:var(--brand);
  font-size:.78rem;
  font-weight:800;
}

.listing-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.15rem;
  align-items:stretch;
}

.listing-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:100%;
  padding:0;
  width:100%;
  color:inherit;
  text-align:left;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.listing-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:var(--line-strong);
}

.listing-media{
  position:relative;
  aspect-ratio:16/11;
  overflow:hidden;
  background:linear-gradient(135deg,var(--surface-strong),#d9c1aa);
}

.listing-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.listing-badge{
  position:absolute;
  top:1rem;
  left:1rem;
  display:inline-flex;
  align-items:center;
  min-height:2rem;
  padding:0 .8rem;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:var(--brand);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.listing-body{
  display:flex;
  flex-direction:column;
  gap:.8rem;
  padding:1.3rem;
  flex:1 1 auto;
}

.listing-price{
  font-size:1.5rem;
  font-weight:900;
  letter-spacing:-.02em;
  color:var(--brand);
}

.listing-title{
  font-size:1.02rem;
  font-weight:800;
  line-height:1.35;
}

.listing-meta{
  color:var(--muted);
  font-size:.88rem;
  line-height:1.65;
  margin-bottom:.15rem;
}

.listing-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  padding-top:.45rem;
  margin-top:auto;
  align-items:stretch;
}

.listing-actions .button{
  flex:1 1 11rem;
}

.listing-empty,
.service-empty{
  grid-column:1/-1;
  padding:2.75rem 1.4rem;
  text-align:center;
  color:var(--muted);
  border:1px dashed var(--line-strong);
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,.55);
}

.inline-link{
  color:var(--brand);
  font-weight:800;
}

.service-preview-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
}

.service-teaser{
  display:grid;
  gap:.9rem;
  padding:1.35rem;
  border-radius:var(--radius-md);
  border:1px solid var(--line);
  background:rgba(255,255,255,.72);
  box-shadow:var(--shadow-md);
}

.service-teaser-icon{
  width:3rem;
  height:3rem;
  display:grid;
  place-items:center;
  border-radius:22px;
  background:rgba(138,78,37,.09);
  font-size:1.4rem;
}

.service-teaser strong{
  font-size:1rem;
}

.service-teaser p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.service-card{
  overflow:hidden;
}

.service-card details{
  display:flex;
  flex-direction:column;
  height:100%;
}

.service-card summary{
  list-style:none;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:"icon copy side";
  gap:1rem;
  align-items:start;
  padding:1.4rem;
  cursor:pointer;
}

.service-card summary::-webkit-details-marker{display:none}

.service-icon{
  grid-area:icon;
  width:3.1rem;
  height:3.1rem;
  display:grid;
  place-items:center;
  border-radius:22px;
  background:rgba(138,78,37,.09);
  color:var(--brand);
  font-size:1.5rem;
}

.service-summary-copy{
  grid-area:copy;
  min-width:0;
}

.service-card h3{
  margin:0 0 .35rem;
  font-size:1.08rem;
  line-height:1.35;
}

.service-card p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
}

.service-summary-copy p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

.service-summary-side{
  grid-area:side;
  display:grid;
  justify-items:end;
  gap:.75rem;
}

.service-price{
  white-space:nowrap;
  color:var(--brand);
  font-size:.95rem;
  font-weight:900;
}

.service-toggle{
  align-self:center;
  display:inline-grid;
  place-items:center;
  width:2.2rem;
  height:2.2rem;
  border-radius:999px;
  background:rgba(138,78,37,.09);
  color:var(--brand);
  font-weight:900;
  transition:transform .18s ease,background .18s ease,color .18s ease;
}

.service-card details[open] .service-toggle{
  transform:rotate(45deg);
  background:linear-gradient(135deg,var(--brand-soft),var(--brand));
  color:#fff;
}

.service-detail{
  display:grid;
  gap:1rem;
  padding:0 1.4rem 1.4rem;
}

.service-detail-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
}

.service-side-note{
  padding:1.4rem;
}

.service-side-note .chip-row{margin-top:1rem}

.catalog-shell{
  grid-template-columns:minmax(280px,320px) minmax(0,1fr);
  align-items:start;
}

.catalog-shell.services-shell{
  grid-template-columns:minmax(0,1fr) minmax(300px,.55fr);
}

.filter-panel{
  position:sticky;
  top:calc(var(--header-h) + 1.5rem);
  display:grid;
  gap:1.15rem;
}

.filter-panel h3{
  margin:0;
  font-family:var(--font-display);
  font-size:1.7rem;
  line-height:1;
}

.filter-form{
  display:grid;
  gap:.9rem;
}

.field{
  display:grid;
  gap:.4rem;
}

.field label{
  font-size:.73rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--muted);
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid rgba(64,41,24,.14);
  border-radius:18px;
  background:rgba(255,255,255,.88);
  color:var(--text);
  min-height:3.2rem;
  padding:0 1rem;
  outline:none;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.field textarea{
  min-height:7.2rem;
  padding:1rem;
  resize:vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:rgba(138,78,37,.45);
  box-shadow:0 0 0 4px rgba(138,78,37,.08);
  background:#fff;
}

.catalog-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.4rem;
}

.result-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  min-height:3rem;
  padding:0 1rem;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
  color:var(--muted-strong);
  font-size:.9rem;
}

.result-pill strong{
  color:var(--text);
  font-size:1.15rem;
}

.contact-layout{
  grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);
  align-items:stretch;
}

.contact-band{
  padding:2.2rem;
  border-radius:var(--radius-xl);
  background:linear-gradient(135deg,#2d1c11,#160d08);
  color:#fff;
  box-shadow:var(--shadow-xl);
}

.contact-band .eyebrow{color:var(--brand-soft)}
.contact-band .section-title{color:#fff}
.contact-band .section-text{color:rgba(255,255,255,.7)}

.contact-card{
  display:grid;
  gap:1.25rem;
}

.contact-form{
  display:grid;
  gap:.95rem;
}

.field-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.9rem;
}

.consent-row{
  display:flex;
  gap:.7rem;
  align-items:flex-start;
  color:var(--muted);
  font-size:.84rem;
  line-height:1.55;
}

.consent-row input{
  width:1rem;
  height:1rem;
  margin-top:.2rem;
  accent-color:var(--brand-soft);
}

.form-status{
  display:none;
  padding:.95rem 1rem;
  border-radius:18px;
  font-size:.9rem;
  font-weight:700;
}

.form-status.is-visible{display:block}
.form-status.is-success{background:rgba(138,78,37,.1);color:var(--brand)}
.form-status.is-error{background:rgba(189,76,63,.12);color:#8a392d}

.site-footer{
  position:relative;
  padding:3rem 0 2.4rem;
  background:linear-gradient(180deg,#21160f,#130d08);
  color:rgba(255,255,255,.72);
}

.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right,rgba(200,132,92,.16),transparent 24%);
  pointer-events:none;
}

.footer-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,.7fr));
  gap:1.2rem;
}

.footer-panel{
  padding:1.3rem;
  border-radius:24px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}

.footer-brand{
  margin:0 0 .8rem;
  font-family:var(--font-display);
  font-size:1.7rem;
  line-height:.95;
  color:#fff;
}

.footer-title{
  margin:0 0 .85rem;
  color:#fff;
  font-size:.88rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:.6rem;
}

.footer-links a,
.footer-contacts a{
  color:rgba(255,255,255,.72);
}

.footer-links a:hover,
.footer-contacts a:hover,
.footer-bottom a:hover{color:#fff}

.footer-contacts{
  display:grid;
  gap:.45rem;
  margin-top:1rem;
}

.footer-bottom{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:1.4rem;
  padding-top:1.4rem;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:.84rem;
  color:rgba(255,255,255,.48);
}

.footer-bottom-links{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
}

.cookie-banner{
  position:fixed;
  left:1rem;
  right:1rem;
  bottom:1rem;
  z-index:70;
  display:none;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1.1rem;
  border-radius:24px;
  background:rgba(29,19,12,.94);
  color:rgba(255,255,255,.78);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow-xl);
  backdrop-filter:blur(20px);
}

.cookie-banner.is-visible{display:flex}

.cookie-banner p{
  margin:0;
  font-size:.9rem;
}

.cookie-banner a{
  color:var(--brand-soft);
  text-decoration:underline;
}

.modal-backdrop{
  position:fixed;
  inset:0;
  z-index:80;
  display:none;
  padding:1rem;
  background:rgba(10,6,3,.72);
  backdrop-filter:blur(12px);
}

.modal-backdrop.is-open{
  display:flex;
  align-items:center;
  justify-content:center;
}

.modal-card{
  width:min(1120px,100%);
  max-height:100%;
  overflow:auto;
  border-radius:30px;
  background:linear-gradient(180deg,#fffdf9,#f5ede3);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:var(--shadow-xl);
}

.modal-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
}

.modal-gallery{
  position:relative;
  padding:1rem;
  background:linear-gradient(160deg,#efe0cf,#d6bea5);
}

.modal-main-media{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  aspect-ratio:16/11;
  background:rgba(255,255,255,.42);
}

.modal-main-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.modal-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:2.9rem;
  height:2.9rem;
  border:none;
  border-radius:999px;
  background:rgba(20,12,7,.58);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:1.25rem;
}

.modal-arrow.prev{left:1rem}
.modal-arrow.next{right:1rem}

.modal-thumbs{
  display:flex;
  gap:.7rem;
  padding-top:.8rem;
  overflow:auto;
}

.modal-thumb{
  width:5rem;
  aspect-ratio:4/3;
  border:none;
  padding:0;
  overflow:hidden;
  border-radius:16px;
  background:#fff;
  border:2px solid transparent;
  flex:0 0 auto;
}

.modal-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.modal-thumb.is-active{border-color:var(--brand)}

.modal-content{
  padding:1.5rem 1.5rem 1.7rem;
  display:grid;
  gap:1rem;
}

.modal-close{
  justify-self:end;
  width:2.75rem;
  height:2.75rem;
  border:none;
  border-radius:999px;
  background:rgba(138,78,37,.08);
  color:var(--brand);
  font-size:1.2rem;
  font-weight:900;
}

.modal-type{
  display:inline-flex;
  align-items:center;
  min-height:2rem;
  padding:0 .75rem;
  border-radius:999px;
  background:rgba(138,78,37,.1);
  color:var(--brand);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.modal-price{
  margin:0;
  color:var(--brand);
  font-size:2rem;
  line-height:1;
  font-weight:900;
}

.modal-title{
  margin:0;
  font-size:1.45rem;
  line-height:1.1;
}

.modal-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}

.modal-tag{
  display:inline-flex;
  align-items:center;
  min-height:2rem;
  padding:0 .8rem;
  border-radius:999px;
  background:rgba(255,255,255,.8);
  border:1px solid var(--line);
  color:var(--muted-strong);
  font-size:.82rem;
  font-weight:700;
}

.modal-description{
  color:var(--muted);
  line-height:1.8;
}

.modal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
}

.doc-layout{
  grid-template-columns:minmax(260px,.6fr) minmax(0,1fr);
  align-items:start;
}

.doc-card{
  padding:2rem;
}

.doc-aside{
  position:sticky;
  top:calc(var(--header-h) + 1.5rem);
}

.doc-meta{
  margin-bottom:1rem;
  color:var(--muted);
  font-size:.9rem;
}

.doc-card p,
.doc-card li{
  color:var(--muted);
  line-height:1.8;
}

.doc-card ul{
  margin:0 0 1rem;
  padding-left:1.25rem;
}

.doc-card h2{
  margin-top:1.6rem;
}

.doc-card h2:first-of-type{margin-top:0}

.doc-note{
  padding:1rem 1.1rem;
  border-radius:20px;
  background:rgba(138,78,37,.08);
  color:var(--muted-strong);
  font-size:.9rem;
}

.floating-badge{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  min-height:3rem;
  padding:0 1rem;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.82);
  box-shadow:var(--shadow-md);
  color:var(--muted-strong);
  font-weight:700;
}

.floating-badge::before{
  content:"";
  width:.7rem;
  height:.7rem;
  border-radius:50%;
  background:linear-gradient(135deg,var(--brand-soft),var(--brand));
  animation:soft-float 3.2s ease-in-out infinite;
}

.empty-block{
  padding:1.15rem;
  border-radius:18px;
  background:rgba(255,255,255,.52);
  border:1px dashed var(--line-strong);
  color:var(--muted);
}

@media (max-width:1100px){
  .service-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:960px){
  :root{--header-h:76px}
  .topbar{grid-template-columns:auto 1fr auto auto;padding:0 1rem}
  .desktop-nav{display:none}
  .menu-toggle{display:grid}
  .hero-home .hero-layout,
  .hero-page .hero-layout,
  .discovery-grid,
  .story-grid,
  .catalog-shell,
  .contact-layout,
  .doc-layout,
  .modal-grid,
  .section-head{
    grid-template-columns:1fr;
  }
  .catalog-shell.services-shell{
    grid-template-columns:1fr;
  }
  .stat-ribbon,
  .feature-stat-grid,
  .process-grid,
  .listing-grid,
  .services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .section-head .section-text{
    justify-self:start;
    max-width:100%;
  }
  .hero-home .hero-layout{
    min-height:auto;
  }
  .hero-copy{
    max-width:100%;
  }
  .filter-panel,
  .doc-aside{position:static}
}

@media (max-width:720px){
  .page-main{padding-top:calc(var(--header-h) + .5rem)}
  .site-header{padding-top:.75rem}
  .topbar{
    min-height:var(--header-h);
    grid-template-columns:minmax(0,1fr) auto;
    gap:.75rem;
    padding:0 .9rem;
    border-radius:30px;
  }
  .menu-toggle{
    width:3.15rem;
    height:3.15rem;
  }
  .mobile-drawer{border-radius:26px}
  .header-phone{display:none}
  .brand{font-size:1.15rem}
  .section{padding:4rem 0}
  .section.section-tight{padding:3rem 0}
  .section.section-slim{padding:2.6rem 0}
  .hero{
    padding-top:5.75rem;
    padding-bottom:1.75rem;
  }
  .hero-home{
    min-height:auto;
    background:
      linear-gradient(180deg,rgba(18,11,7,.82),rgba(18,11,7,.58)),
      url("/uploads/hero.jpg") 58% center / cover no-repeat;
  }
  .hero-home .hero-layout{
    gap:1.2rem;
  }
  .hero-copy{
    gap:1rem;
    padding:1.25rem 0 0;
  }
  .hero-surface,
  .contact-band,
  .feature-card,
  .story-panel,
  .contact-card,
  .doc-card,
  .doc-aside,
  .filter-panel{
    padding:1.35rem;
  }
  .hero-title{
    font-size:clamp(2.55rem,11.4vw,4.15rem);
    max-width:9ch;
  }
  .hero-title .accent{white-space:normal}
  .hero-home .lead{
    max-width:32rem;
    font-size:1rem;
    line-height:1.65;
  }
  .section-title{font-size:clamp(2rem,10vw,3rem)}
  .section-head{
    gap:.85rem;
    margin-bottom:1.6rem;
  }
  .section-head .section-text{
    font-size:.98rem;
  }
  .button-row,
  .service-detail-actions,
  .modal-actions{
    flex-direction:column;
  }
  .button,
  .service-detail-actions .button,
  .modal-actions .button{width:100%}
  .stat-ribbon,
  .feature-stat-grid,
  .process-grid,
  .listing-grid,
  .service-preview-grid,
  .services-grid,
  .field-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .stat-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))}
  .listing-body{
    padding:1.05rem;
    gap:.7rem;
  }
  .listing-actions{
    flex-direction:column;
  }
  .listing-actions .button{
    width:100%;
    flex-basis:auto;
  }
  .service-card summary{
    grid-template-columns:auto 1fr;
    grid-template-areas:
      "icon side"
      "copy copy";
    align-items:center;
  }
  .service-summary-side{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:.65rem;
    width:100%;
  }
  .service-price{
    font-size:1rem;
    text-align:left;
  }
  .service-toggle{
    justify-self:end;
  }
  .cookie-banner{
    left:.75rem;
    right:.75rem;
    bottom:.75rem;
    flex-direction:column;
    align-items:stretch;
  }
  .modal-backdrop{
    padding:0;
    align-items:flex-end;
  }
  .modal-card{
    width:100%;
    max-height:92vh;
    border-radius:28px 28px 0 0;
  }
  .modal-gallery{padding:.8rem}
  .modal-content{padding:1.2rem}
  .modal-arrow{
    width:2.5rem;
    height:2.5rem;
  }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:480px){
  .shell,
  .shell-narrow{width:min(100% - 1.25rem,1180px)}
  .topbar{padding:0 .85rem}
  .hero-title{
    font-size:clamp(2.15rem,12.2vw,3.35rem);
    max-width:8ch;
  }
  .stat-ribbon{grid-template-columns:1fr}
  .metric-card,
  .service-card summary,
  .service-detail{
    padding-left:1rem;
    padding-right:1rem;
  }
  .service-card summary{
    gap:.85rem;
  }
  .service-icon{
    width:2.8rem;
    height:2.8rem;
    border-radius:18px;
  }
  .listing-price{font-size:1.35rem}
  .listing-title{font-size:1rem}
  .listing-meta{font-size:.86rem}
  .listing-body{padding:1rem}
}
