/* Amanzi Pump & Valve Coatings
   Dark, warm industrial theme — umber blacks, brass gold, peach highlights, brick red for alerts/CTAs.
   Palette carried over from the original site. */

:root {
  --bg: #120a02;
  --bg-2: #1A0E00;
  --surface: #221508;
  --surface-2: #2c1c0c;
  --line: rgba(255, 224, 193, .10);
  --line-2: rgba(201, 154, 63, .28);

  --gold: #C99A3F;
  --gold-2: #e0b45e;
  --gold-dk: #9A690F;
  --peach: #FFE0C1;
  --cream: #FBF7F2;
  --red: #b91c1c;
  --red-dk: #991b1b;

  --text: #efe4d4;
  --muted: #b3a089;
  --dim: #8a7760;

  --f-head: 'Outfit', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --w: 1220px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.7 var(--f-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--peach); }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--cream); font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--bg); }
.wrap { width: min(100% - 40px, var(--w)); margin-inline: auto; }
.narrow { max-width: 800px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 99; background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.grad { background: linear-gradient(100deg, var(--peach) 0%, var(--gold-2) 55%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .74rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 1.3em;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .98rem/1 var(--f-body);
  padding: 17px 30px; border-radius: 999px; border: 1px solid transparent;
  background: var(--gold);
  color: #1a0e00;
  transition: transform .25s var(--ease), background .25s;
  cursor: pointer;
}
.btn:hover { color: #1a0e00; background: var(--gold-2); transform: translateY(-2px); }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-glass, .btn-ghost {
  background: rgba(255, 255, 255, .06); color: var(--cream);
  border-color: rgba(255, 255, 255, .18); box-shadow: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover, .btn-ghost:hover { color: var(--cream); background: rgba(255, 255, 255, .12); border-color: rgba(255,255,255,.3); box-shadow: none; filter: none; }
.btn-sm { padding: 12px 22px; font-size: .9rem; }
.link-arrow { font-weight: 600; color: var(--gold-2); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- header ---------- */
.topbar { background: #0b0601; color: var(--dim); font-size: .8rem; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; gap: 26px; justify-content: flex-end; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--gold-2); }
.topbar span:first-child { margin-right: auto; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 10, 2, .78);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand img { width: 190px; height: auto; }
#nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
#nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
#nav ul a { position: relative; font: 500 .95rem var(--f-body); color: var(--text); padding: 8px 0; }
#nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
#nav ul a:hover, #nav ul a[aria-current] { color: var(--gold-2); }
#nav ul a:hover::after, #nav ul a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-left: auto; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* homepage: header floats over hero until scrolled */
.home .site-head { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-head.scrolled { background: rgba(18, 10, 2, .82); border-color: var(--line); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.home .topbar { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 140px 0 110px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.08); animation: kenburns 22s ease-out forwards; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 40%, transparent 0%, rgba(18,10,2,.4) 60%),
    linear-gradient(90deg, rgba(18,10,2,.97) 0%, rgba(18,10,2,.88) 38%, rgba(18,10,2,.45) 70%, rgba(18,10,2,.6) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
@keyframes kenburns { to { transform: scale(1); } }
.hero-inner { max-width: var(--w); }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.2rem; margin-bottom: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 36px 0 0; }
.hero-stats { display: flex; gap: 0; margin: 64px 0 0; padding-top: 28px; border-top: 1px solid var(--line); max-width: 640px; }
.hero-stats div { flex: 1; padding-right: 24px; }
.hero-stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-stats dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); order: 2; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { margin: 0 0 4px; font: 600 2.4rem/1 var(--f-head); color: var(--cream); }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold-2); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 20px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 500 1.15rem var(--f-head); color: var(--muted); padding: 0 34px; white-space: nowrap; display: inline-flex; align-items: center; gap: 34px; }
.ticker span::after { content: '✦'; color: var(--gold); font-size: .8rem; margin-left: 34px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; }
.sec-head { max-width: 680px; margin-bottom: 60px; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head--row h2 { margin: 0; }

/* bento service tiles */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 270px; gap: 18px; }
.tile { grid-column: span 4; }
.tile--1 { grid-column: span 7; grid-row: span 2; }
.tile--2, .tile--3 { grid-column: span 5; }
.tile--4, .tile--5 { grid-column: span 6; }
.tile a {
  position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line); color: var(--text); isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,10,2,.1) 0%, rgba(18,10,2,.55) 45%, rgba(18,10,2,.96) 100%); transition: background .4s; }
.tile a:hover img { transform: scale(1.06); }
.tile a:hover { border-color: var(--line-2); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.tile-num { font: 500 .8rem var(--f-body); color: var(--gold-2); letter-spacing: .15em; }
.tile h3 { margin: 6px 0 8px; font-size: 1.45rem; }
.tile--1 h3 { font-size: 2rem; }
.tile p { color: #d6c7b3; font-size: .93rem; margin: 0 0 12px; max-width: 46ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile--1 p { -webkit-line-clamp: 3; }
.tile .more { font-size: .88rem; font-weight: 600; color: var(--gold-2); }

/* proof / before-after */
.proof { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-block: 1px solid var(--line); overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(201,154,63,.15); color: var(--gold-2); font-size: .8rem; font-weight: 700; }

.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--surface); --pos: 50%; }
.ba--wide .ba-frame { aspect-ratio: 16/9; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); }
.ba-frame input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-frame::after {
  content: '‹ ›'; position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(18,10,2,.55); border: 2px solid var(--cream); color: var(--cream);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; font: 600 1.2rem var(--f-head); letter-spacing: .1em; pointer-events: none;
}
.ba-tag { position: absolute; top: 18px; font: 600 .7rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; pointer-events: none; background: rgba(18,10,2,.6); color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ba-tag--l { left: 18px; } .ba-tag--r { right: 18px; background: var(--gold); color: var(--bg); }
.ba figcaption { font-size: .88rem; color: var(--dim); margin-top: 16px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.timeline::before { content: ''; position: absolute; left: 10%; right: 10%; top: 31px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent); }
.timeline li { counter-increment: s; text-align: center; padding: 0 8px; }
.timeline li::before {
  content: counter(s, decimal-leading-zero); position: relative;
  display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--gold-2);
  font: 600 1.05rem var(--f-head); box-shadow: 0 0 0 8px var(--bg);
}
.timeline h3 { font-size: 1.2rem; }
.timeline p { color: var(--muted); font-size: .93rem; }

/* ---------- map ---------- */
.areas-band { background: var(--bg-2); border-block: 1px solid var(--line); }
.map-wrap { display: grid; grid-template-columns: 1fr 300px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.lmap { position: relative; height: 560px; background: #1b1610; z-index: 0; }
.lmap--mini { height: 260px; border-radius: 12px; overflow: hidden; }
.lmap-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: .9rem; }
/* warm the neutral dark basemap so it sits in the brand palette */
.lmap .leaflet-tile-pane { filter: sepia(.45) saturate(1.3) hue-rotate(-12deg) brightness(.95) contrast(1.05); }
.lmap .leaflet-container, .lmap.leaflet-container { background: #1b1610; font-family: var(--f-body); }
.leaflet-control-attribution { background: rgba(18,10,2,.75) !important; color: var(--dim) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: var(--surface) !important; color: var(--cream) !important; border-color: var(--line) !important; }
.leaflet-bar a:hover { background: var(--surface-2) !important; }
.leaflet-bar { border: 1px solid var(--line) !important; box-shadow: none !important; }

.pin-area span, .pin-hq span { display: block; width: 100%; height: 100%; border-radius: 50%; }
.pin-area span { background: var(--gold); border: 2px solid #120a02; transition: transform .2s var(--ease), background .2s; }
.pin-area:hover span, .pin-area.is-hot span { transform: scale(1.5); background: var(--peach); }
.pin-area.is-current span { background: var(--gold); border-color: var(--cream); }
.pin-hq span { background: var(--red); border: 3px solid var(--cream); border-radius: 4px; transform: rotate(45deg); }

.map-tip { background: var(--bg) !important; color: var(--cream) !important; border: 1px solid var(--line-2) !important; border-radius: 10px !important; box-shadow: 0 8px 20px rgba(0,0,0,.4) !important; padding: 8px 12px !important; font: 500 .85rem var(--f-body) !important; }
.map-tip b { display: block; font: 600 .95rem var(--f-head); }
.map-tip small { color: var(--muted); font-size: .75rem; }
.map-tip::before { display: none; }

.map-side { padding: 22px 22px 10px; max-height: 560px; overflow-y: auto; border-left: 1px solid var(--line); }
.map-hint { font-size: .8rem; color: var(--dim); margin-bottom: 14px; }
.map-group h3 { font: 600 .7rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 6px; }
.map-group ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.map-group a { display: inline-block; font-size: .86rem; color: var(--text); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, color .2s, background .2s; }
.map-group a:hover { border-color: var(--gold); color: var(--cream); background: rgba(201,154,63,.1); }

.mini-cap { font-size: .82rem; color: var(--dim); margin: 10px 0 0; display: flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-left: 8px; }
.dot--hq { background: var(--red); border-radius: 2px; transform: rotate(45deg); margin-left: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; font: 500 .8rem var(--f-body); padding: 7px 14px; border-radius: 999px; background: rgba(18,10,2,.7); color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- faq ---------- */
.faq { padding: 110px 0; max-width: 860px; }
.faq h2 { text-align: center; margin-bottom: 44px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: border-color .25s, background .25s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 64px 22px 26px; font: 500 1.08rem/1.4 var(--f-head); color: var(--cream); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(201,154,63,.14); color: var(--gold-2); font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 26px 22px; color: var(--muted); margin: 0; }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 110px; }
.cta-band .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden;
  border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
}
.cta-copy { padding: 60px; align-self: center; }
.cta-band h2 { margin-bottom: .35em; max-width: 18ch; }
.cta-band p:not(.eyebrow) { color: var(--muted); max-width: 46ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-img { position: relative; min-height: 340px; }
.cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--surface) 0%, rgba(34,21,8,0) 35%); }

/* ---------- inner page heads ---------- */
.page-head { position: relative; padding: 90px 0 80px; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); max-width: 20ch; }
.ph-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.ph-grid figure { margin: 0; }
.ph-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.ph-grid .btn { margin-top: 12px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; font-size: .84rem; color: var(--dim); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-2); }
.meta { color: var(--dim); }

/* ---------- article layout ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; padding: 90px 0; }
.prose { max-width: 70ch; color: #dccfbd; }
.prose h2 { margin-top: 1.6em; font-size: 1.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose strong { color: var(--cream); }
.prose a { text-decoration: underline; text-decoration-color: rgba(224,180,94,.4); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.steps { list-style: none; padding: 0 !important; counter-reset: s; margin: 1.4em 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 64px; margin: 0 !important; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); color: var(--gold-2); font: 600 .9rem var(--f-head); }
.steps li::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.ticks { list-style: none; padding: 0 !important; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(201,154,63,.15); color: var(--gold-2); font-size: .7rem; font-weight: 700; }
.side { display: grid; gap: 18px; align-content: start; position: sticky; top: 110px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.side-box h2 { font-size: 1.2rem; margin-bottom: .8em; }
.side-box .ticks li { font-size: .95rem; margin-bottom: 8px; }
.side-box--dark { background: linear-gradient(135deg, #3a250e, #23160a); border-color: var(--line-2); }
.side-box--dark a { color: var(--cream); }
.side-box--dark p { line-height: 2; }
.side-box--map { padding: 14px; }
.links { list-style: none; padding: 0; margin: 0; }
.links li + li { border-top: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; padding: 11px 0; color: var(--text); font-size: .95rem; }
.links a::after { content: '→'; color: var(--gold); transition: transform .2s var(--ease); }
.links a:hover { color: var(--gold-2); }
.links a:hover::after { transform: translateX(4px); }

/* services hub */
.svc-list { display: grid; gap: 28px; }
.svc-row { display: grid; grid-template-columns: 440px 1fr; gap: 48px; align-items: center; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; transition: border-color .3s; }
.svc-row:hover { border-color: var(--line-2); }
.svc-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.svc-row h2 { font-size: 2rem; }
.svc-row h2 a { color: var(--cream); }
.svc-row h2 a:hover { color: var(--gold-2); }
.svc-row p { color: var(--muted); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chips li { font-size: .8rem; font-weight: 500; color: var(--peach); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(201,154,63,.07); }

/* area pages */
.ph-area { display: grid; grid-template-columns: 1.35fr .85fr; gap: 64px; align-items: center; }
.ph-area .hero-actions { margin-top: 28px; }
.area-facts { margin: 0; padding: 10px 28px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.area-facts div { padding: 18px 0; }
.area-facts div + div { border-top: 1px solid var(--line); }
.area-facts dt { font: 500 .7rem var(--f-body); text-transform: uppercase; letter-spacing: .2em; color: var(--gold-2); }
.area-facts dd { margin: 6px 0 0; font: 500 1.2rem/1.35 var(--f-head); color: var(--cream); }
.svc-links { list-style: none; padding: 0 !important; display: grid; gap: 12px; margin: 1.2em 0; }
.svc-links li { margin: 0 !important; }
.svc-links a { display: block; padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none !important; transition: border-color .25s, transform .25s var(--ease); }
.svc-links a:hover { border-color: var(--line-2); transform: translateX(4px); }
.svc-links b { display: block; font: 600 1.1rem var(--f-head); color: var(--cream); margin-bottom: 4px; }
.svc-links span { font-size: .92rem; color: var(--muted); }

.region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding-top: 0; }
.region-list > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.region-list h2 { font-size: 1.25rem; color: var(--gold-2); }
.region-list ul { list-style: none; padding: 0; margin: 0; }
.region-list li { display: flex; justify-content: space-between; padding: 9px 0; }
.region-list li + li { border-top: 1px solid var(--line); }
.region-list a { color: var(--text); font-weight: 500; }
.region-list a:hover { color: var(--gold-2); }
.region-list span { color: var(--dim); font-size: .85rem; }

/* about */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.values div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.values h3 { color: var(--gold-2); font-size: 1.15rem; }
.values p { font-size: .9rem; margin: 0; color: var(--muted); }
.stack { margin: 0; display: grid; gap: 18px; position: relative; }
.stack img { border-radius: 22px; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.stack img:last-child { width: 68%; margin-left: auto; margin-top: -110px; position: relative; border: 6px solid var(--bg); }

/* projects */
.ba--wide { margin-bottom: 70px; }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.masonry img { transition: transform .8s var(--ease); width: 100%; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; font: 500 .85rem var(--f-body); padding: 9px 14px; border-radius: 12px; background: rgba(18,10,2,.72); color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* blog */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.post-card a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: inherit; transition: transform .35s var(--ease), border-color .3s; }
.post-card a:hover { transform: translateY(-6px); border-color: var(--line-2); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card div { padding: 24px; }
.post-card time { font-size: .8rem; color: var(--gold-2); letter-spacing: .05em; }
.post-card h2 { font-size: 1.35rem; margin-top: 8px; }
.post-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.post { padding: 60px 0 100px; }
.post figure { margin: 0 0 40px; }
.post figure img { border-radius: 22px; width: 100%; border: 1px solid var(--line); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 40px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 500; font-size: .88rem; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--cream);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.25);
  transition: border-color .2s, box-shadow .2s;
}
.form select option { background: var(--surface); }
.form input::placeholder, .form textarea::placeholder { color: var(--dim); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 4px rgba(201,154,63,.15); }
.form input[type=file] { padding: 12px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-note { margin: 0; font-weight: 500; }
.form-note.ok { color: #8fd18f; } .form-note.err { color: #ff8a8a; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 34px; }
.contact-card h2 { font-size: .74rem; font-family: var(--f-body); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 1.8em 0 .5em; color: var(--gold-2); }
.contact-card h2:first-child { margin-top: 0; }
.contact-card p { color: var(--text); }
.contact-card iframe { width: 100%; height: 240px; border: 0; border-radius: 16px; margin-top: 14px; filter: invert(.9) hue-rotate(180deg) sepia(.25) saturate(.8); }

/* ---------- footer ---------- */
.site-foot { background: #0b0601; color: var(--muted); padding-top: 90px; font-size: .93rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.foot-brand { display: inline-block; margin-bottom: 22px; }
.foot-brand img { width: 220px; height: auto; }
.site-foot h2 { font: 600 .74rem var(--f-body); text-transform: uppercase; letter-spacing: .2em; color: var(--gold-2); margin-bottom: 1.4em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 10px; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--gold-2); }
.site-foot address { font-style: normal; line-height: 1.9; }
.hours { margin-top: 18px; color: var(--dim); }
.foot-base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 70px; padding: 24px 0 32px; font-size: .8rem; color: var(--dim); }

/* whatsapp */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .25s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* scroll reveal (only when JS has run) */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  #nav { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 22px 24px; border-radius: 20px; background: rgba(26,14,0,.97); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
  #nav.open { display: flex; }
  #nav ul { flex-direction: column; gap: 0; }
  #nav ul a { display: block; padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  #nav ul a::after { display: none; }
  #nav .btn { align-self: flex-start; }
  .site-head .wrap { position: relative; }
  .home .site-head:has(#nav.open) { background: rgba(18,10,2,.92); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-auto-rows: 240px; }
}
@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .proof-grid, .ph-grid, .ph-area, .map-wrap, .article-grid, .split, .contact-grid, .svc-row { grid-template-columns: 1fr; }
  .proof-grid { gap: 48px; }
  .side { position: static; }
  .lmap { height: 420px; }
  .map-side { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile--1, .tile--2, .tile--3, .tile--4, .tile--5 { grid-column: span 1; grid-row: auto; }
  .tile--1 { grid-column: span 2; grid-row: span 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 180px 180px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:last-child { display: none; }
  .ph-grid img { aspect-ratio: 4/3; }
  .topbar span { display: none; }
  .topbar .wrap { justify-content: center; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-copy { padding: 40px 32px; }
  .cta-img { min-height: 240px; order: -1; }
  .cta-img::before { background: linear-gradient(0deg, var(--surface) 0%, rgba(34,21,8,0) 45%); }
  .svc-row { padding: 16px; gap: 24px; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, var(--w)); }
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 90px; min-height: min(92svh, 760px); }
  .hero-bg img { object-position: 75% 50%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(18,10,2,.7) 0%, rgba(18,10,2,.88) 50%, var(--bg) 100%); }
  .hero-stats { margin-top: 44px; }
  .hero-stats div + div { padding-left: 14px; }
  .hero-stats div { padding-right: 14px; }
  .hero-stats dd { font-size: 1.8rem; }
  .hero-stats dt { font-size: .62rem; letter-spacing: .1em; }
  .scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tile--1 { grid-column: span 1; grid-row: span 1; }
  .tile--1 h3 { font-size: 1.6rem; }
  .timeline { grid-template-columns: 1fr; text-align: left; }
  .timeline li { display: grid; grid-template-columns: 62px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .timeline li::before { grid-row: span 2; margin: 0; }
  .timeline h3 { margin: 4px 0 4px; }
  .values { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .brand img { width: 160px; }
  .cta-copy { padding: 30px 22px 34px; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .stack img:last-child { margin-top: -60px; }
  .faq summary { padding: 18px 58px 18px 20px; font-size: 1rem; }
  .gallery { grid-template-rows: 220px 150px 150px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.credit { color: var(--gold-2); }
.credit:hover { color: var(--peach); }
