/* AM Engineers — site styles (v2: photographic, high-impact) */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0E1820;
  --ink-2: #1A2832;
  --ink-3: #56646F;
  --slate: #2A3A46;
  --paper: #F3F5F4;
  --white: #FFFFFF;
  --line: #D8DEDB;
  --copper: #C0662C;
  --copper-dk: #7E3B12;
  --copper-hi: #F0B27E;
  --teal: #19707B;
  --teal-hi: #5FD0D9;
  --teal-tint: #E2F0F0;
  --signal: #F2C230;
  --ok: #34C27A;

  --metal: linear-gradient(100deg, #8A4517 0%, #D4874E 22%, #FFD6B0 40%, #E09155 55%, #9A4F1D 78%, #D88B52 100%);
  --pipe: linear-gradient(90deg, var(--copper-dk) 0%, var(--copper) 28%, var(--copper-hi) 52%, var(--copper) 74%, var(--copper-dk) 100%);
  --pipe-h: linear-gradient(180deg, var(--copper-dk) 0%, var(--copper) 28%, var(--copper-hi) 52%, var(--copper) 74%, var(--copper-dk) 100%);

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;

  --t-sm: 0.889rem;
  --t-base: 1.125rem;
  --t-md: 1.375rem;
  --t-lg: 1.75rem;
  --t-xl: clamp(2rem, 1.3rem + 2.8vw, 3.1rem);
  --t-xxl: clamp(2.5rem, 1.2rem + 5vw, 5.2rem);

  --wrap: 1240px;
  --gutter: 20px;
  --radius: 8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--t-base); line-height: 1.6; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-dk); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--display); font-stretch: 115%; font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: var(--t-xxl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-md); font-stretch: 105%; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.metal { background: var(--metal); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- strip + header ---------- */
.strip { background: #070D12; color: #C9D3D8; font-size: var(--t-sm); position: relative; z-index: 41; }
.strip .wrap { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 38px; }
.strip .wrap > div { display: flex; gap: 20px; align-items: center; }
.strip a { color: #fff; text-decoration: none; font-weight: 700; }
.strip a:hover { color: var(--copper-hi); }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,194,122,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,194,122,.6); } 70% { box-shadow: 0 0 0 10px rgba(52,194,122,0); } 100% { box-shadow: 0 0 0 0 rgba(52,194,122,0); } }
@media (max-width: 720px) { .strip .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(14,24,32,.0); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.has-hero .site-header { position: fixed; left: 0; right: 0; top: 38px; }
.site-header.solid, body:not(.has-hero) .site-header { background: rgba(14,24,32,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.has-hero .site-header.solid { top: 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font-family: var(--display); font-stretch: 122%; font-weight: 800; font-size: 1.35rem; line-height: 1; display: block; color: #fff; }
.brand-sub { font-size: .8rem; color: #A9B6BD; display: block; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: #E9EEF0; text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: var(--radius); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--pipe-h); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:not(.btn):hover { color: #fff; }
.nav .btn { margin-left: 12px; }
.menu-btn { display: none; background: none; border: 2px solid #fff; color: #fff; border-radius: var(--radius); padding: 8px 14px; font: 700 1rem var(--body); }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; box-shadow: 0 20px 30px rgba(0,0,0,.3); }
  .nav.open { display: flex; }
  .nav a { padding: 15px 6px; border-bottom: 1px solid #22323E; border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 14px 0 0; border-radius: var(--radius); }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1.02rem/1 var(--body); padding: 16px 22px; min-height: 54px; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; position: relative; overflow: hidden; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-copper { background: linear-gradient(180deg, #D27436, #A9541F); color: #fff; box-shadow: 0 8px 22px rgba(192,102,44,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-copper::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); }
.btn-copper:hover::before { left: 120%; }
.btn-copper:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(192,102,44,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.nav a.btn-copper, .nav a.btn-copper:hover { color: #fff; }

/* ---------- photo hero (home + inner) ---------- */
.hero { position: relative; color: #fff; background: var(--ink); isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(8,14,19,.95) 0%, rgba(8,14,19,.82) 38%, rgba(8,14,19,.35) 75%, rgba(8,14,19,.55) 100%),
  linear-gradient(0deg, rgba(8,14,19,.9) 0%, rgba(8,14,19,0) 35%); }
.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: #D5DEE2; }

.hero-home { min-height: min(100svh, 980px); display: flex; align-items: center; padding: 170px 0 150px; }
.hero-home .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; width: 100%; }
.hero-home h1 { font-size: clamp(2.4rem, 1rem + 4.6vw, 4.9rem); font-stretch: 120%; font-weight: 900; max-width: 15ch; margin-bottom: .35em; }
.hero-home .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); max-width: 50ch; margin-bottom: 26px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); padding: 8px 16px 8px 12px; border-radius: 999px; margin-bottom: 24px; font-size: .95rem; }
.badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); animation: ping 2s infinite; }
.big-phone { display: inline-block; text-decoration: none; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(2.3rem, 1rem + 5vw, 5rem); line-height: 1; letter-spacing: -0.02em; margin: 6px 0 8px; white-space: nowrap;
  background: var(--metal); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(192,102,44,.35)); }
.big-phone:hover { color: transparent; }
.phone-sub { color: #AEBCC3; margin: 0 0 28px; }
.phone-sub a { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* fanned stack of real job photos */
.stack { position: relative; height: 520px; }
.stack figure { position: absolute; margin: 0; background: #fff; padding: 10px 10px 40px; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.45); width: 58%; transition: transform .5s var(--ease); }
.stack figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; }
.stack figcaption { position: absolute; left: 12px; right: 12px; bottom: 10px; color: var(--ink); font: 700 .9rem/1.2 var(--body); }
.stack .s1 { left: 0; top: 40px; transform: rotate(-8deg); }
.stack .s2 { left: 21%; top: 0; transform: rotate(2deg); z-index: 2; }
.stack .s3 { right: 0; top: 70px; transform: rotate(9deg); }
.stack:hover .s1 { transform: rotate(-12deg) translate(-20px, 10px); }
.stack:hover .s3 { transform: rotate(13deg) translate(20px, 10px); }
.stack .tag { position: absolute; z-index: 3; right: 4%; bottom: 8%; background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.2); padding: 12px 16px; border-radius: 12px; font-weight: 700; box-shadow: 0 16px 30px rgba(0,0,0,.35); line-height: 1.3; }
.stack .tag b { display: block; font-family: var(--display); font-stretch: 120%; font-size: 1.4rem; }
.stack .tag span { color: var(--copper-hi); font-size: .9rem; }
@media (max-width: 980px) { .hero-home .wrap { grid-template-columns: 1fr; } .stack { display: none; } .hero-home { padding: 140px 0 120px; min-height: 0; } }

/* triage overlapping the hero */
.triage-wrap { position: relative; z-index: 5; margin-top: -90px; }
.triage { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(14,24,32,.22); padding: 26px 26px 22px; }
.triage-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 16px; }
.triage-head h2 { font-size: var(--t-lg); margin: 0; }
.gas-alert { background: #FFF6D6; border-left: 5px solid var(--signal); padding: 8px 14px; border-radius: 4px; font-size: .95rem; line-height: 1.4; margin: 0; }
.gas-alert a { color: var(--ink); font-weight: 700; white-space: nowrap; }
.triage ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.triage li { margin: 0; }
.triage ul a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.triage ul a:hover { transform: translateY(-4px); background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 16px 30px rgba(14,24,32,.25); }
.triage ul a:hover small { color: #B9C6CC; }
.triage .ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(160deg, #D27436, #8A4517); color: #fff; margin-bottom: 6px; }
.triage .ico svg { width: 22px; height: 22px; }
.triage b { font-size: 1.02rem; line-height: 1.25; }
.triage small { color: var(--ink-3); font-size: .88rem; line-height: 1.35; }
@media (max-width: 1080px) { .triage ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .triage ul { grid-template-columns: 1fr 1fr; } .triage-wrap { margin-top: -60px; } .triage { padding: 20px 16px; } }
@media (max-width: 400px) { .triage ul { grid-template-columns: 1fr; } }

/* ---------- ticker ---------- */
.ticker { background: var(--pipe-h); color: #fff; overflow: hidden; padding: 16px 0; margin-top: 64px; border-top: 1px solid #E09A66; border-bottom: 1px solid #6B3110; }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { margin: 0; display: flex; align-items: center; gap: 26px; padding-right: 26px; font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); white-space: nowrap; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.ticker li svg { width: 22px; height: 22px; opacity: .85; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.stats li { margin: 0; padding: 34px 26px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem); line-height: 1; margin-bottom: 8px; background: var(--metal); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--ink-3); display: block; line-height: 1.4; max-width: 24ch; }
@media (max-width: 860px) { .stats b { font-size: clamp(2.1rem, 1.4rem + 3vw, 3rem); } .stats { grid-template-columns: 1fr 1fr; } .stats li:nth-child(3) { border-left: 0; padding-left: 0; } .stats li { padding: 24px 18px; } }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section.tight { padding: 64px 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--ink); color: #D3DCE0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.lead { font-size: var(--t-md); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 44px; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--ink-3); }
.section.dark .section-head p { color: #A9B6BD; }
.muted { color: var(--ink-3); }
.kicker { display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--pipe-h); margin-bottom: 20px; }

/* ---------- bento service cards ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; background: var(--ink); isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,14,19,.95) 0%, rgba(8,14,19,.55) 45%, rgba(8,14,19,.1) 100%); transition: background .4s; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--pipe-h); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover img { transform: scale(1.08); }
.card:hover::after { transform: scaleX(1); }
.card:hover { color: #fff; }
.card h3 { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.card p { margin: 0; color: #C8D2D7; font-size: .95rem; line-height: 1.4; }
.card .go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); transition: background .3s, transform .3s var(--ease); }
.card .go svg { width: 18px; height: 18px; }
.card:hover .go { background: var(--copper); transform: rotate(-45deg); }
.card.big { grid-column: span 2; grid-row: span 2; padding: 32px; }
.card.big h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-stretch: 118%; }
.card.big p { font-size: 1.1rem; max-width: 40ch; }
.card.big .pill { align-self: flex-start; background: var(--signal); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.card.wide { grid-column: span 2; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(210px, auto); } .card.big, .card.wide { grid-column: auto; grid-row: auto; } .card.big { min-height: 320px; padding: 24px; } }

/* ---------- van / about split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(14,24,32,.25); width: 100%; }
.split-media::before { content: ""; position: absolute; left: -18px; top: -18px; width: 50%; height: 60%; border-left: 10px solid var(--copper); border-top: 10px solid var(--copper); border-top-left-radius: 28px; z-index: -1; }
.split-media .float { position: absolute; right: -20px; bottom: -28px; width: 38%; border: 8px solid #fff; border-radius: 12px; box-shadow: 0 20px 40px rgba(14,24,32,.3); }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.ticks li { margin: 0; padding-left: 40px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(160deg, #D27436, #8A4517); }
.ticks li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 56px; } .split-media .float { right: 0; } }

/* ---------- process on photo ---------- */
.photo-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(8,14,19,.94) 0%, rgba(8,14,19,.85) 50%, rgba(25,112,123,.75) 100%); }
.photo-band h2, .photo-band h3 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 6px; background: var(--pipe-h); border-radius: 3px; opacity: .9; }
.steps li { counter-increment: step; margin: 0; position: relative; }
.steps li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--ink); border: 4px solid var(--copper-hi); color: #fff; font-family: var(--display); font-stretch: 120%; font-weight: 900; font-size: 1.6rem; margin-bottom: 18px; box-shadow: 0 0 0 8px rgba(240,178,126,.15); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: #C3CDD2; font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; position: relative; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .6s var(--ease), filter .4s; }
.gallery button::after { content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font: 700 .95rem/1.3 var(--body); text-align: left; background: linear-gradient(0deg, rgba(8,14,19,.85), transparent); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; transform: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5,9,12,.9); backdrop-filter: blur(4px); }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox p { color: #fff; text-align: center; margin: 14px auto 0; font-weight: 700; }
.lightbox .lb-close, .lightbox .lb-nav { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; width: 52px; height: 52px; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }
.lightbox[open] img { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* ---------- reviews ---------- */
.reviews-band { background: radial-gradient(ellipse at 20% 0%, #D98448 0%, #A4501C 45%, #6B3110 100%); color: #fff; position: relative; overflow: hidden; }
.reviews-band::before { content: "\201C"; position: absolute; right: 2%; top: -120px; font: 900 34rem/1 Georgia, serif; color: rgba(255,255,255,.08); pointer-events: none; }
.reviews-band h2 { color: #fff; }
.stars { display: flex; gap: 4px; margin-bottom: 18px; color: var(--signal); }
.stars svg { width: 24px; height: 24px; }
.reviews { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.review { margin: 0; background: rgba(8,14,19,.28); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(6px); display: flex; flex-direction: column; justify-content: space-between; }
.review blockquote { margin: 0 0 22px; position: relative; padding-top: 34px; font-family: var(--display); font-stretch: 100%; font-weight: 500; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.45; }
.review figcaption { display: flex; align-items: center; gap: 12px; color: #F6DCC7; }
.review figcaption b { color: #fff; display: block; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--copper-dk); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.2rem; flex: none; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- areas ---------- */
.areas-band .wrap { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0 0 22px; }
.chips li { margin: 0; }
.chips a { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 20px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; backdrop-filter: blur(6px); transition: background .25s, transform .25s var(--ease), border-color .25s; }
.chips a span { color: var(--copper-hi); font-weight: 400; font-size: .9rem; }
.chips a:hover { background: var(--copper); border-color: var(--copper); transform: translateY(-3px); color: #fff; }
.chips a:hover span { color: #FFE3CC; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 56px 22px 0; position: relative; font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 1.4rem/1 var(--body); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--copper); }
.faq details > div { padding: 0 0 22px; }
.faq details[open] > div { animation: drop .3s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; padding: 90px 0; background: var(--ink); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,14,19,.95) 0%, rgba(8,14,19,.75) 55%, rgba(8,14,19,.35) 100%); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #C8D2D7; }
.cta-band .big-phone { margin: 0; font-size: clamp(2rem, 1rem + 4vw, 4rem); }

/* ---------- inner pages ---------- */
.hero-page { padding: 170px 0 80px; }
.hero-page .lead { margin-bottom: 28px; max-width: 58ch; }
.hero-page h1 { max-width: 18ch; font-size: clamp(2.3rem, 1.2rem + 4vw, 4.4rem); }
.crumbs { font-size: var(--t-sm); color: #AEBCC3; margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #5B6B75; }
.crumbs a { color: #D5DEE2; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: #D5DEE2; font-weight: 700; font-size: .98rem; }
.hero-chips li { margin: 0; display: flex; align-items: center; gap: 8px; }
.hero-chips li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--copper); box-shadow: inset 0 0 0 5px var(--ink); border: 2px solid var(--copper); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }
.prose h2 { font-size: var(--t-lg); margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h2::before { content: ""; display: block; width: 48px; height: 5px; border-radius: 3px; background: var(--pipe-h); margin-bottom: 14px; }
.prose ul li::marker { color: var(--copper); }
.prose ol li::marker { color: var(--copper); font-weight: 700; }
.prose .note { background: #FFF6D6; border-left: 6px solid var(--signal); padding: 16px 18px; border-radius: 6px; margin: 1.4em 0; }
.prose .note p:last-child { margin: 0; }
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 8px; }
.jobs button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.jobs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s var(--ease); }
.jobs button:hover img { transform: scale(1.06); }
.jobs-note { font-size: .92rem; color: var(--ink-3); }

.aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.call-card { background: radial-gradient(ellipse at 100% 0%, #24414B 0%, var(--ink) 60%); color: #D3DCE0; border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 24px 50px rgba(14,24,32,.25); position: relative; overflow: hidden; }
.call-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--pipe); }
.call-card h2 { color: #fff; font-size: var(--t-md); margin-bottom: 8px; }
.call-card .num { display: block; font-family: var(--display); font-stretch: 122%; font-weight: 900; font-size: 2rem; line-height: 1.05; text-decoration: none; margin: 12px 0 4px; background: var(--metal); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.call-card .alt { color: #AEBAC0; font-size: .95rem; }
.call-card .alt a { color: #fff; }
.call-card .btn { width: 100%; margin-top: 18px; }
.call-card ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: .95rem; }
.call-card li { padding-left: 24px; position: relative; }
.call-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--copper-hi); border-bottom: 2px solid var(--copper-hi); transform: rotate(-45deg); }
.related { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.related h2 { font-size: 1.1rem; margin-bottom: 8px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin: 0; border-top: 1px solid var(--line); }
.related li:first-child { border-top: 0; }
.related a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; text-decoration: none; font-weight: 700; color: var(--ink); }
.related a svg { width: 16px; height: 16px; color: var(--copper); transition: transform .25s var(--ease); }
.related a:hover { color: var(--copper-dk); }
.related a:hover svg { transform: translateX(4px); }
.mini-review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.mini-review blockquote { margin: 0 0 12px; font-family: var(--display); font-stretch: 100%; font-weight: 500; font-size: 1.12rem; line-height: 1.45; }
.mini-review .stars { color: var(--copper); margin-bottom: 10px; }
.mini-review .stars svg { width: 18px; height: 18px; }
.mini-review figcaption { color: var(--ink-3); font-size: .95rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); padding: 30px; border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(14,24,32,.08); }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--ink-3); font-size: .9rem; }
.form input, .form select, .form textarea { width: 100%; font: 400 1.05rem/1.4 var(--body); color: var(--ink); padding: 13px 14px; border: 2px solid #C3CCCF; border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(192,102,44,.18); }
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form .hp { position: absolute; left: -5000px; }
.form-status { font-weight: 700; padding: 12px 14px; border-radius: var(--radius); display: none; margin: 0; }
.form-status.ok { display: block; background: #E3F3E8; color: #1D6B3C; }
.form-status.err { display: block; background: #FCE8E3; color: #8A2A12; }
.nap { font-style: normal; line-height: 1.75; }
.nap a { font-weight: 700; }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--radius-lg); margin-top: 20px; background: var(--teal-tint); }

/* ---------- footer ---------- */
.site-footer { background: #070D12; color: #A9B6BD; padding: 80px 0 30px; font-size: 1rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--pipe-h); }
.site-footer a { color: #E6ECEE; text-decoration: none; }
.site-footer a:hover { color: var(--copper-hi); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h2 { color: #fff; font-size: 1.05rem; font-stretch: 110%; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-legal { border-top: 1px solid #1E2C36; margin-top: 50px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .callbar { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(14,24,32,.96); backdrop-filter: blur(10px); box-shadow: 0 -10px 24px rgba(0,0,0,.25); }
  .callbar .btn { min-height: 52px; padding: 12px; }
  .callbar .btn-ghost { border-color: rgba(255,255,255,.5); }
}

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.hero-home .hero-bg img { animation: kenburns 24s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.big-phone, .metal, .stats b, .call-card .num { animation: shine 6s linear infinite; }
@keyframes shine { 0% { background-position: 0% 0; } 100% { background-position: 220% 0; } }
.load > * { animation: rise .9s var(--ease) both; }
.load > *:nth-child(2) { animation-delay: .1s; } .load > *:nth-child(3) { animation-delay: .2s; } .load > *:nth-child(4) { animation-delay: .3s; } .load > *:nth-child(5) { animation-delay: .4s; } .load > *:nth-child(6) { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.stack figure { animation: deal 1s var(--ease) both; }
.stack .s1 { animation-delay: .35s; } .stack .s2 { animation-delay: .5s; } .stack .s3 { animation-delay: .65s; }
@keyframes deal { from { opacity: 0; transform: translateY(80px) rotate(0deg); } }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .lead { font-size: 1.12rem; }
  .hero-page { padding: 140px 0 60px; }
}

.review blockquote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font: 900 5rem/1 Georgia, serif; color: var(--copper-hi); opacity: .9; }
.mini-review blockquote { position: relative; padding-top: 26px; }
.mini-review blockquote::before { content: "\201C"; position: absolute; top: -12px; left: -2px; font: 900 3.6rem/1 Georgia, serif; color: var(--copper); }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(8,14,19,.78) 0%, rgba(8,14,19,.9) 60%, rgba(8,14,19,.96) 100%); }
}
.photo-band .section-head p { color: #C9D3D8; }

/* ---------- WhatsApp ---------- */
.btn-wa { background: linear-gradient(180deg, #2BD46C, #1DA851); color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.3), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-wa svg { width: 22px; height: 22px; }
.btn-lg { font-size: 1.2rem; padding: 20px 28px; min-height: 64px; }
.wa-panel { background: var(--white); border: 1px solid var(--line); border-top: 6px solid #25D366; border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 24px 50px rgba(14,24,32,.08); }
.wa-steps { list-style: none; counter-reset: w; padding: 0; margin: 26px 0 8px; display: grid; gap: 14px; }
.wa-steps li { counter-increment: w; position: relative; padding-left: 48px; margin: 0; }
.wa-steps li::before { content: counter(w); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; }
.wa-builder { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.wa-builder summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.wa-builder .form { margin-top: 16px; box-shadow: none; padding: 22px; background: var(--paper); }
@media (max-width: 560px) { .wa-panel { padding: 22px; } .btn-lg { width: 100%; font-size: 1.05rem; padding: 16px; } }
