/* ---------- Stratum Mettalics: Theme (zinc white, cobalt blue, brass) ---------- */
:root {
  --bg: #f5f6f8; --bg-alt: #eaeef3; --surface: #ffffff;
  --text: #15213a; --muted: #5b667a;
  --primary: #1b4a8b; --primary-dark: #123a73; --accent: #c9972b; --accent-light: #e8c06a;
  --border: #d9dfe8; --dark: #0f1b30; --dark-text: #eef2f8;
  --radius: 8px; --shadow: 0 12px 36px rgba(21, 33, 58, 0.09); --shadow-lg: 0 24px 60px rgba(21,33,58,.16);
  --font-head: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif; --font-body: 'Figtree', system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; font-weight: 600; }
p { color: var(--muted); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.15em; flex-shrink: 0; }
.container { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.section { padding: 6rem 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 660px; margin-bottom: 3.5rem; }
.eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--primary); margin-bottom: .8rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ''; width: 24px; height: 3px; background: var(--accent); border-radius: 2px; }
h2.line { position: relative; padding-bottom: .7rem; }
h2.line::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease) .25s; }
.visible h2.line::after { transform: scaleX(1); }
.text-link { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Progress bar ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 100; transition: width .1s linear; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.7rem; border-radius: var(--radius); font-weight: 700; font-size: .95rem; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); }
.btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::before { transform: translateX(120%); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(27,74,139,.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(27,74,139,.3); }
.btn-ghost { border-color: var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 246, 248, .84); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.brand-mark { width: 40px; height: 40px; display: block; border-radius: 9px; overflow: hidden; box-shadow: 0 6px 14px rgba(27,74,139,.25); transition: transform .4s var(--ease), box-shadow .4s; }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text span { color: var(--primary); }
.nav { display: flex; gap: 1.8rem; align-items: center; font-weight: 600; font-size: .94rem; }
.nav a { position: relative; transition: color .2s; }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: width .3s var(--ease); }
.nav a:not(.nav-cta):hover::after, .nav a.active::after { width: 100%; }
.nav-cta { background: var(--primary); color: #fff; padding: .6rem 1.25rem; border-radius: var(--radius); transition: background .3s, transform .3s; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--text); margin-inline: auto; transition: .3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 5.5rem 0 5rem; overflow: hidden; min-height: calc(100vh - 74px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%; filter: blur(50px); opacity: .6; animation: morph 16s ease-in-out infinite alternate; }
.blob-1 { width: 560px; height: 560px; background: radial-gradient(circle, #c5d8f2, transparent 70%); top: -140px; right: -100px; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, #f3e2b8, transparent 70%); bottom: -160px; left: -140px; animation-delay: -7s; }
@keyframes morph { 0% { border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%; transform: translate(0,0) rotate(0); } 50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } 100% { border-radius: 30% 70% 50% 50% / 50% 60% 40% 50%; transform: translate(40px,-30px) rotate(12deg); } }
.stitch { position: absolute; inset: 0; width: 100%; height: 100%; }
.stitch-path { fill: none; stroke: var(--primary); stroke-width: 2; stroke-dasharray: 10 14; opacity: .2; animation: dash 30s linear infinite; }
.stitch-path-2 { stroke: var(--accent); animation-duration: 42s; animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -1200; } }
.strata { position: absolute; right: -60px; bottom: -40px; width: 420px; height: 420px; fill: none; stroke: var(--primary); stroke-width: 1; opacity: .14; transform: translate(var(--tx,0), var(--ty,0)); transition: transform .3s ease-out; }
.strata path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawIn 3.5s var(--ease) .3s forwards; }
.strata path:nth-child(2) { animation-delay: .6s; } .strata path:nth-child(3) { animation-delay: .9s; } .strata path:nth-child(4) { animation-delay: 1.2s; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero-content .reveal { transition-delay: calc(var(--i, 0) * 120ms); }
.rotator { display: inline-block; color: var(--primary); position: relative; z-index: 0; transform-style: preserve-3d; }
.rotator::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .32em; background: var(--accent); opacity: .35; z-index: -1; border-radius: 3px; }
.rotator.out { animation: wordOut .35s var(--ease) forwards; }
.rotator.in { animation: wordIn .5s var(--ease) forwards; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-18px) rotateX(70deg); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(18px) rotateX(-70deg); } to { opacity: 1; transform: none; } }
.lead { font-size: 1.12rem; margin: 1.4rem 0 2.2rem; max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { list-style: none; display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stats strong { font-family: var(--font-head); font-size: 2.1rem; color: var(--primary); display: block; line-height: 1; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; height: 500px; perspective: 1000px; }
.shot { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; transform: translate(var(--tx,0), var(--ty,0)) perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)); transition: transform .3s ease-out; will-change: transform; background: var(--bg-alt); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.shot-2 img { animation-delay: -6s; } .shot-3 img { animation-delay: -12s; }
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.14) translate(-2%, 2%); } }
.shot::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,27,48,.72) 0%, rgba(15,27,48,.1) 50%, transparent 80%); z-index: 1; pointer-events: none; }
.shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.32) 50%, rgba(255,255,255,0) 60%); transform: translateX(-120%); animation: shine 7s ease-in-out infinite; z-index: 3; pointer-events: none; }
.shot figcaption { position: absolute; left: 1rem; bottom: .9rem; color: #fff; font-weight: 700; font-size: .92rem; letter-spacing: .03em; z-index: 2; }
.shot-1 { width: 60%; height: 62%; top: 0; left: 0; }
.shot-2 { width: 40%; height: 42%; top: 4%; right: 0; }
.shot-2::after { animation-delay: 2s; }
.shot-3 { width: 50%; height: 40%; bottom: 0; right: 6%; }
.shot-3::after { animation-delay: 4s; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.hero-badge { position: absolute; left: 4%; bottom: 10%; background: var(--surface); border-radius: 12px; padding: .8rem 1rem; display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow-lg); font-size: .78rem; font-weight: 700; line-height: 1.2; color: var(--text); z-index: 2; transform: translate(var(--tx,0), var(--ty,0)); transition: transform .25s ease-out; animation: pulse 3s ease-in-out infinite; }
.hero-badge .icon { font-size: 1.6rem; color: var(--primary); }
@keyframes pulse { 0%, 100% { box-shadow: var(--shadow-lg); } 50% { box-shadow: 0 24px 60px rgba(27,74,139,.3); } }
.scroll-hint { position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 12px; opacity: .6; }
.scroll-hint span { position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 4px; height: 8px; border-radius: 2px; background: var(--primary); animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; translate: -50% 0; } 40% { opacity: 1; } 100% { opacity: 0; translate: -50% 14px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--surface); overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: '✦'; color: var(--accent); font-size: .8rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4.5rem; align-items: center; }
.about-grid p + p { margin-top: 1rem; }
.about-card { position: relative; }
.about-art { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; box-shadow: var(--shadow-lg); display: block; object-fit: cover; }
.draw * { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.visible .draw * { stroke-dashoffset: 0; }
.about-float { position: absolute; right: -1.5rem; bottom: -1.5rem; background: var(--surface); border-radius: 12px; padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem; font-size: .8rem; font-weight: 600; line-height: 1.25; color: var(--muted); animation: float 6s ease-in-out infinite; }
.about-float strong { font-family: var(--font-head); font-size: 2.4rem; color: var(--primary); line-height: 1; }
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }
.checklist { list-style: none; margin-top: 1.5rem; display: grid; gap: .7rem; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; color: var(--text); font-weight: 600; }
.checklist .icon { color: #fff; background: var(--primary); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 2.4; margin-top: 2px; }

/* ---------- Cards (products / industries) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.industry { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 2rem; transition: box-shadow .4s var(--ease), border-color .4s, transform .4s var(--ease); display: grid; gap: .3rem; align-content: start; }
.product { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), border-color .4s, transform .35s var(--ease); }
.product::before, .industry::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,74,139,.05), rgba(201,151,43,.08)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.product::after, .industry::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); transform: translateX(-130%); transition: transform .8s var(--ease); pointer-events: none; }
.product:hover, .industry:hover { box-shadow: var(--shadow-lg); border-color: rgba(27,74,139,.3); }
.industry:hover { transform: translateY(-5px); }
.product:hover::before, .industry:hover::before { opacity: 1; }
.product:hover::after, .industry:hover::after { transform: translateX(130%); }
.product-thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--dark); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-thumb img { transform: scale(1.08); }
.product-icon-badge { position: absolute; bottom: 12px; right: 12px; width: 42px; height: 42px; border-radius: 10px; background: rgba(15,27,48,.86); color: var(--accent-light); display: grid; place-items: center; font-size: 1.3rem; backdrop-filter: blur(8px); border: 1px solid rgba(232,192,106,.45); }
.product-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-body h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.product-body p { font-size: .93rem; margin-bottom: auto; }
.industry-icon { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, rgba(27,74,139,.1), rgba(201,151,43,.18)); color: var(--primary); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 1.2rem; transition: transform .4s var(--ease), background .4s, color .4s; }
.industry:hover .industry-icon { transform: rotate(-8deg) scale(1.1); background: var(--primary); color: #fff; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 700; color: var(--primary); font-size: .9rem; }
.card-link .icon { transition: transform .3s var(--ease); }
.product:hover .card-link .icon { transform: translateX(4px); }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .35s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

/* ---------- Services (accordion) ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.services-art { width: 100%; max-width: 320px; margin-top: 1.5rem; }
.services-photo { margin: 1.5rem 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.services-photo img { width: 100%; height: 100%; object-fit: cover; }
.accordion { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .5rem 1.5rem; box-shadow: var(--shadow); }
.acc-item { border-bottom: 1px solid var(--border); transition: padding-left .3s var(--ease); }
.acc-item:last-child { border-bottom: 0; }
.acc-item.open { padding-left: .6rem; border-left: 3px solid var(--accent); }
.acc-btn { width: 100%; background: none; border: 0; color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; text-align: left; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: color .3s; }
.acc-btn:hover { color: var(--primary); }
.acc-title { display: flex; align-items: center; gap: .8rem; }
.acc-title .icon { color: var(--primary); font-size: 1.3rem; }
.acc-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after { content: ''; position: absolute; background: var(--primary); transition: transform .3s; border-radius: 2px; }
.acc-icon::before { width: 16px; height: 2px; top: 7px; }
.acc-icon::after { width: 2px; height: 16px; left: 7px; }
.acc-item.open .acc-icon::after { transform: rotate(90deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc-panel p { padding-bottom: 1.2rem; }
.acc-item.open .acc-panel { max-height: 220px; }

/* ---------- Process ---------- */
.steps-wrap { position: relative; }
.steps-line { position: absolute; top: 34px; left: 0; width: 100%; height: 2px; overflow: visible; }
.steps-line path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s var(--ease) .2s; }
.steps-wrap.visible .steps-line path { stroke-dashoffset: 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; position: relative; }
.step-no { width: 68px; height: 68px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--primary); margin-bottom: 1.1rem; position: relative; transition: transform .4s var(--ease), background .4s, color .4s; }
.step-no::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed var(--accent); opacity: 0; transition: opacity .4s; animation: spin 20s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.steps li:hover .step-no { transform: scale(1.08); background: var(--primary); color: #fff; border-color: var(--primary); }
.steps li:hover .step-no::before { opacity: .7; }

/* ---------- Photo bands (stats / CTA) ---------- */
.photo-band { position: relative; overflow: hidden; padding: 6rem 0; color: #fff; }
.band-bg { position: absolute; inset: 0; z-index: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,27,48,.94) 0%, rgba(18,58,115,.82) 55%, rgba(201,151,43,.4) 100%); }
.photo-band .container { position: relative; z-index: 1; }
.photo-band h2 { color: #fff; }
.photo-band p { color: #cfd8e6; }
.photo-band .eyebrow { color: var(--accent-light); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.stat { text-align: center; padding: 2rem 1rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(15,27,48,.45); backdrop-filter: blur(6px); transition: border-color .4s, transform .4s var(--ease); }
.stat:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat strong { font-family: var(--font-head); font-size: 2.6rem; color: var(--accent-light); display: block; line-height: 1; }
.stat span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #cfd8e6; }
.ring-stat { width: 100px; height: 100px; margin: 0 auto .8rem; rotate: -90deg; }
.ring-bg { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 6; }
.ring-fg { fill: none; stroke: url(#g-primary); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.stats-band .ring-fg { stroke: var(--accent-light); }
.visible .ring-fg { stroke-dashoffset: calc(339.3 * (1 - var(--p, 1))); }
.cta-band { padding: 5rem 0; }
.cta-band .band-bg::after { background: linear-gradient(100deg, rgba(18,58,115,.95) 0%, rgba(27,74,139,.85) 60%, rgba(201,151,43,.5) 100%); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.cta-inner > div { max-width: 640px; }
.cta-band h2 { margin-bottom: .5rem; }

/* ---------- Why Us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.why-photo { margin: 2rem 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.feature { position: relative; padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: box-shadow .4s, transform .4s var(--ease), border-color .4s; overflow: hidden; }
.feature::before { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(201,151,43,.28), transparent 70%); top: -60px; right: -60px; opacity: 0; transition: opacity .5s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(27,74,139,.3); }
.feature:hover::before { opacity: 1; }
.feature .icon { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; transition: transform .4s var(--ease); }
.feature:hover .icon { transform: scale(1.15) rotate(-6deg); }

/* ---------- Testimonials ---------- */
.slider { position: relative; max-width: 840px; margin-inline: auto; text-align: center; padding: 3rem 2rem; background: var(--surface); border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.quote-mark { position: absolute; top: -1.4rem; left: 50%; translate: -50% 0; font-size: 3rem; color: var(--accent); background: var(--bg-alt); padding: .3rem; border-radius: 50%; }
.slider-track { position: relative; min-height: 200px; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateX(30px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.slide.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.slide p { font-family: var(--font-body); font-style: italic; font-size: clamp(1.1rem, 2.1vw, 1.35rem); color: var(--text); line-height: 1.55; }
.slide footer { margin-top: 1.5rem; display: grid; gap: .2rem; }
.slide footer strong { color: var(--primary); font-family: var(--font-head); font-weight: 600; }
.slide footer span { font-size: .88rem; color: var(--muted); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.slider-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 1.4rem; cursor: pointer; transition: all .3s var(--ease); line-height: 1; }
.slider-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.08); }
.slider-dots { display: flex; gap: .5rem; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; transition: all .3s var(--ease); padding: 0; }
.slider-dots button.active { background: var(--primary); width: 26px; border-radius: 5px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 1.4rem; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font-size: 1.2rem; color: var(--primary); transition: transform .3s var(--ease), background .3s, color .3s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq details p { padding-bottom: 1.2rem; animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info { font-style: normal; margin-top: 1.5rem; display: grid; gap: .75rem; }
.contact-info a { color: var(--primary); font-weight: 600; }
.form { background: var(--surface); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); display: grid; gap: 1rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 700; }
.form input, .form textarea { font: inherit; padding: .8rem .95rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(27,74,139,.12); }
.form input.invalid, .form textarea.invalid { border-color: #c0392b; animation: shake .4s; }
@keyframes shake { 0%, 100% { translate: 0; } 25% { translate: -4px; } 75% { translate: 4px; } }
.form-note { font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: #2e7d4f; }
.form-note.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-text); padding: 4.5rem 0 1.5rem; position: relative; }
.site-footer p { color: #aab6c8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: var(--dark-text); margin-bottom: 1rem; }
.footer-brand .brand-text span { color: var(--accent-light); }
.footer-brand p { font-size: .92rem; max-width: 300px; }
.footer-col h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; margin-bottom: 1.1rem; color: var(--accent-light); }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col ul a { font-size: .92rem; color: #c3cddc; transition: color .2s, padding-left .2s; }
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-contact address { font-style: normal; display: grid; gap: .6rem; font-size: .92rem; }
.footer-contact a { color: var(--accent-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom-links { list-style: none; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-links a { color: #c3cddc; }
.footer-bottom-links a:hover { color: #fff; }
.back-top { color: var(--accent-light) !important; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); border: 0; box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .4s, translate .4s var(--ease), background .3s; z-index: 60; color: var(--primary); }
.back-to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.back-to-top:hover { background: var(--primary); color: #fff; }
.back-to-top > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.btt-ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 132; stroke-dashoffset: var(--off, 132); transition: stroke-dashoffset .1s linear; }
.back-to-top .icon { font-size: 1.3rem; stroke-width: 2.2; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--bg-alt); padding: 4rem 0 3rem; border-bottom: 1px solid var(--border); }
.legal-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal-meta { font-size: .85rem; margin-top: .75rem; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 4rem; align-items: start; }
.legal-sidebar { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.legal-sidebar h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.legal-sidebar ul { list-style: none; display: grid; gap: .5rem; }
.legal-sidebar a { font-size: .9rem; color: var(--muted); display: block; padding: .3rem 0; border-left: 2px solid transparent; padding-left: .75rem; transition: all .2s; }
.legal-sidebar a:hover, .legal-sidebar a.active { color: var(--primary); border-left-color: var(--primary); }
.legal-content { max-width: 760px; }
.legal-intro { font-size: 1.08rem; color: var(--text); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.45rem; margin: 2.25rem 0 .75rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { margin: 0 0 1rem 1.25rem; color: var(--muted); display: grid; gap: .5rem; }
.legal-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { margin-top: 3rem; padding: 1.75rem; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--border); }
.legal-contact h2 { margin-top: 0; }
.legal-contact p:last-child { margin-bottom: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease), scale .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-left { translate: -36px 0; }
.reveal-right { translate: 36px 0; }
.reveal-scale { translate: 0 0; scale: .94; }
.reveal.visible { opacity: 1; translate: 0 0; scale: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .why-grid, .services-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-visual { height: 360px; margin-top: 1rem; }
  .strata { display: none; }
  .about-float { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .legal-grid { grid-template-columns: 1fr; gap: 2rem; }
  .legal-sidebar { position: static; }
  .steps-line { display: none; }
}
@media (max-width: 720px) {
  .nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: .5rem 1rem 1rem; display: none; }
  .nav.open { display: flex; animation: fadeDown .3s var(--ease); }
  .nav a { padding: .8rem 0; }
  .nav-cta { text-align: center; margin-top: .5rem; justify-content: center; display: flex; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .photo-band { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero-visual { height: 300px; }
  .scroll-hint { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .slider { padding: 2.5rem 1.25rem; }
  .accordion { padding: .25rem 1rem; }
  .acc-btn { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; translate: 0 0; scale: 1; }
  .strata path { stroke-dashoffset: 0; }
}
