/* AMFO International — main stylesheet
   Layout idea: paper canvas, midnight bands, the logo's arch (A) and diamond reused as structure. */
:root {
	--navy: #0C192E;
	--navy-2: #13233F;
	--navy-3: #1B3054;
	--paper: #F4F0E7;
	--paper-2: #ECE6D8;
	--white: #FFFDF8;
	--gold: #A98147;
	--gold-t: #88642E;
	--gold-l: #D9B97F;
	--ink: #0C192E;
	--muted: #586377;
	--line: rgba(12, 25, 46, .12);
	--daam: #0E1B2E;
	--blue: #2E5BFF;
	--mint: #2BD9A8;
	--accent: var(--gold);
	--font: "Alexandria", "Segoe UI", Tahoma, Arial, sans-serif;
	--r: 15px;
	--r-lg: 28px;
	--wrap: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 20px 50px -24px rgba(12, 25, 46, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.85; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
bdi { unicode-bidi: isolate; direction: ltr; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.center .btn, .center.btn { margin-top: 36px; }
.gold { color: var(--gold-l); }
.mint { color: var(--mint); }
.blue { color: #8EA6FF; }
.skip { position: absolute; top: -60px; right: 16px; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 10px; z-index: 999; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 300; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-l)); transform-origin: right; transform: scaleX(var(--p, 0)); }
.is-daam .progress span { background: linear-gradient(90deg, var(--mint), var(--blue)); }

/* ---------------- Buttons ---------------- */
.btn { --bg: var(--navy); --fg: var(--paper); display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15.5px; border: 1.5px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s; position: relative; will-change: transform; }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(12, 25, 46, .45); }
.btn-gold { --bg: var(--gold); --fg: var(--navy); }
.btn-gold:hover { --bg: var(--gold-l); }
.btn-primary { --bg: var(--navy); --fg: var(--paper); }
.btn-mint { --bg: var(--mint); --fg: var(--daam); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn-outline { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(-6px); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--gold-t); border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: "←"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(-6px); }
.dark .link-arrow, .site-footer .link-arrow { color: var(--gold-l); }

/* ---------------- Logo ---------------- */
.logo { display: block; height: 100%; width: auto; color: var(--navy); overflow: visible; }
.logo path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .home .site-header .logo path[pathLength] { animation: draw 1.6s var(--ease) both; }
.js .home .site-header .logo path:nth-child(2n) { animation-delay: .12s; }
.js .home .site-header .logo path:nth-child(3n) { animation-delay: .24s; }
.home .site-header .logo path[fill^="#"] { animation: pop .5s .9s var(--ease) both; transform-box: fill-box; transform-origin: center; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0) rotate(-45deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------- Header ---------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 200; transition: background .35s, box-shadow .35s, transform .4s var(--ease); color: var(--paper); }
.site-header .logo { color: var(--paper); }
.site-header.scrolled { background: rgba(12, 25, 46, .97); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); }
.is-daam .site-header.scrolled { background: rgba(14, 27, 46, .97); }
.site-header.hide { transform: translateY(-100%); }
.hdr { display: flex; align-items: center; gap: 22px; height: 84px; transition: height .3s; }
.scrolled .hdr { height: 70px; }
.brand { height: 34px; display: flex; align-items: center; flex-shrink: 0; }
.brand-sub { height: 26px; display: flex; align-items: center; padding-inline-start: 18px; border-inline-start: 1px solid rgba(244, 240, 231, .3); }
.brand-sub .logo { color: var(--paper); }
.nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.menu { display: flex; gap: 4px; align-items: center; }
.menu > li > a, .mega-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; transition: background .25s; color: inherit; }
.menu > li > a:hover, .mega-toggle:hover, .mega-toggle[aria-expanded="true"] { background: rgba(244, 240, 231, .1); }
.chev { width: 8px; height: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-2px); transition: transform .3s; }
[aria-expanded="true"] .chev { transform: rotate(135deg) translateY(-2px); }
.has-mega { position: static; }
.mega { position: absolute; inset: 100% 0 auto 0; padding: 0 20px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-grid, .mega-cols { width: min(100%, var(--wrap)); margin: 0 auto; background: var(--white); color: var(--ink); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 26px; box-shadow: 0 40px 80px -40px rgba(12, 25, 46, .55); }
.mega-grid.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mega-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 18px; transition: background .25s; }
.mega-card:hover { background: var(--paper); }
.mc-img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; position: relative; margin-bottom: 6px; }
.mc-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--c); }
.mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-card:hover .mc-img img { transform: scale(1.06); }
.mega-card strong { font-size: 16px; }
.mega-card small { color: var(--muted); font-size: 13px; line-height: 1.7; }
.mega-cols { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 22px; }
.mega-daam .mega-cols { background: var(--daam); color: var(--paper); }
.mega-intro { display: flex; flex-direction: column; gap: 12px; padding-inline-end: 18px; border-inline-end: 1px solid rgba(255, 255, 255, .12); }
.mega-intro .mega-logo { height: 30px; color: var(--paper); align-self: flex-start; }
.mega-intro p { font-size: 13.5px; color: #c4cbe0; line-height: 1.8; }
.mega-intro .link-arrow { color: var(--mint); font-size: 14px; align-self: flex-start; }
.mega-col { display: flex; flex-direction: column; gap: 4px; }
.mega-label { font-size: 12px; color: var(--mint); font-weight: 600; letter-spacing: .02em; margin-bottom: 6px; }
.mega-col a { font-size: 14px; padding: 6px 0; color: #dfe4f2; transition: color .2s, transform .25s var(--ease); }
.mega-col a:hover { color: #fff; transform: translateX(-4px); }
.burger { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(244, 240, 231, .3); background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------- Reveal ---------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: var(--navy); color: var(--paper); padding: 150px 0 110px; overflow: hidden; isolation: isolate; }
.hero-pattern, .ph-pattern, .case-pattern, .ft-pattern { display: none; }
.hero-pattern { animation: drift 60s linear infinite; }
@keyframes drift { to { background-position: -560px 280px; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 80% 20%, rgba(169, 129, 71, .22), transparent 60%), linear-gradient(180deg, rgba(12, 25, 46, .2), var(--navy) 95%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12.5px; letter-spacing: .14em; font-weight: 600; color: var(--gold-t); margin-bottom: 18px; }
.hero .eyebrow, .dark .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-l); }
.hero-title { font-size: clamp(42px, 6.4vw, 86px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--gold-l); position: relative; }
.js .hero-title .line { opacity: 0; transform: translateY(60%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) { animation-delay: .15s; }
.hero-title .line:nth-child(3) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero .lead { font-size: 18.5px; color: #cdd5e3; max-width: 58ch; margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 420px); }
.arch-frame { aspect-ratio: 400 / 520; border-radius: 200px 200px 22px 22px; overflow: hidden; position: relative; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.hero-visual:hover .arch-frame img { transform: scale(1.02); }
.arch-draw { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); fill: none; stroke: var(--gold); stroke-width: 2; pointer-events: none; }
.arch-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .4s var(--ease) forwards; }
.hero-badge { position: absolute; background: rgba(255, 253, 248, .96); color: var(--navy); border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 250px; box-shadow: var(--shadow); }
.hero-badge strong { font-size: 30px; color: var(--gold-t); line-height: 1; }
.hero-badge span { font-size: 12.5px; line-height: 1.6; }
.hero-badge { bottom: 50px; right: -60px; }
.hero-badge.b2 { top: 70px; left: -50px; bottom: auto; right: auto; animation-delay: -3s; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; border: 1.5px solid rgba(244, 240, 231, .4); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-l); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }


/* ---------------- Intro hero (scroll-driven) ---------------- */
.intro-hero { --p: 1; position: relative; background: var(--navy); color: var(--paper); }
.js .intro-hero { height: 250vh; --p: 0; }
.ih-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; display: grid; place-items: center; }
.no-js .ih-stage { position: relative; }
.ih-glow { position: absolute; inset: 0; z-index: -2; background:
	radial-gradient(42% 55% at 50% 58%, rgba(169, 129, 71, calc(.08 + var(--p) * .22)), transparent 70%),
	radial-gradient(35% 45% at 12% 15%, rgba(64, 85, 172, .25), transparent 70%),
	radial-gradient(30% 40% at 90% 90%, rgba(1, 92, 89, .25), transparent 70%); }
.intro-hero .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: calc(.4 + var(--p) * .6); }
.ih-arch { position: absolute; left: 50%; bottom: -2px; width: min(70svh, 80vw); height: auto; transform-origin: 50% 100%; transform: translateX(-50%) scale(calc(.42 + var(--p) * 1.9)); z-index: -1; overflow: visible; }
.ih-arch-line { fill: none; stroke: var(--gold); stroke-width: calc(2.2 - var(--p) * 1.4); vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s .5s var(--ease) forwards; }
.ih-arch-line.l2 { stroke: rgba(217, 185, 127, .35); animation-delay: .8s; }
.ih-arch-fill { opacity: clamp(0, calc(var(--p) * 2), 1); }
.ih-logo { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 22px; transform: translate(-50%, calc(-50% - var(--p) * 22vh)) scale(calc(1 - var(--p) * .55)); opacity: clamp(0, calc(1 - (var(--p) - .25) * 3.2), 1); pointer-events: none; }
.ih-mark { height: clamp(70px, 13vw, 150px); color: var(--paper); }
.ih-mark path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s .15s var(--ease) forwards; }
.ih-mark path:nth-child(2n) { animation-delay: .3s; }
.ih-mark path:nth-child(3n) { animation-delay: .45s; }
.ih-mark path[fill^="#"] { animation: pop .6s 1.4s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.ih-tag { font-size: clamp(14px, 1.6vw, 19px); letter-spacing: .12em; color: var(--gold-l); opacity: 0; animation: rise .9s 1.6s var(--ease) forwards; }
.ih-content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; opacity: clamp(0, calc((var(--p) - .42) * 3), 1); transform: translateY(calc((1 - clamp(0, (var(--p) - .42) * 3, 1)) * 60px)); }
.no-js .ih-content { opacity: 1; transform: none; }
.ih-title { font-size: clamp(36px, 5.6vw, 76px); font-weight: 800; line-height: 1.2; max-width: 16ch; }
.ih-title em { font-style: normal; color: var(--gold-l); }
.ih-content .lead { font-size: 18px; color: #cdd5e3; max-width: 60ch; margin-top: 22px; }
.ih-content .hero-cta { justify-content: center; }
.ih-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.ih-chips a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; transition: background .3s, border-color .3s; }
.ih-chips a:hover { background: rgba(255, 255, 255, .12); border-color: var(--c); }
.ih-chips i { width: 9px; height: 9px; border-radius: 2px; background: var(--c); transform: rotate(45deg); filter: brightness(1.6); }
.ih-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: #9eabc2; font-size: 12px; opacity: clamp(0, calc(1 - var(--p) * 4), 1); }
.ih-mouse { width: 24px; height: 38px; border: 1.5px solid rgba(244, 240, 231, .4); border-radius: 20px; position: relative; }
.ih-mouse span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-l); animation: cue 1.8s infinite; }
.home .site-header .brand { opacity: clamp(0, calc((var(--ip, 1) - .5) * 4), 1); transition: opacity .2s; }
@media (min-width: 1101px) { .home .site-header .nav { opacity: clamp(0, calc(.35 + var(--ip, 1) * 2), 1); } }
body.nav-open .site-header .brand { opacity: 1 !important; }
@media (max-width: 680px) {
	.js .intro-hero { height: 210vh; }
	.ih-stage { padding-top: 64px; }
	.ih-arch { width: 92vw; }
	.ih-content .lead { font-size: 16px; }
	.ih-chips { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.js .intro-hero { height: auto; --p: 1 !important; }
	.ih-stage { position: relative; }
	.ih-logo { display: none; }
	.ih-content { opacity: 1; transform: none; }
	.ih-mark path[pathLength], .ih-arch-line { stroke-dashoffset: 0; }
	.ih-tag { opacity: 1; }
	.home .site-header .brand { opacity: 1; }
}

/* ---------------- Stats ---------------- */
.stats { background: var(--navy-2); color: var(--paper); padding: 44px 0; border-top: 1px solid rgba(169, 129, 71, .25); }
.stats.light { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); border-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-grid.three { grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; flex-direction: column; gap: 6px; padding-inline-start: 22px; border-inline-start: 2px solid var(--gold); }
.stat strong { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; line-height: 1; color: var(--gold-l); font-variant-numeric: tabular-nums; direction: ltr; text-align: right; }
.stats.light .stat strong { color: var(--gold-t); }
.stat > span { font-size: 14px; color: #b9c3d4; line-height: 1.6; }
.stats.light .stat > span { color: var(--muted); }

/* ---------------- Sections ---------------- */
.sec { padding: 110px 0; position: relative; }
.sec.soft { background: var(--paper-2); }
.sec.dark, .dark-daam { background: radial-gradient(50% 80% at 85% 10%, rgba(169, 129, 71, .14), transparent 60%), radial-gradient(40% 60% at 10% 100%, rgba(64, 85, 172, .18), transparent 60%), var(--navy); color: var(--paper); overflow: hidden; isolation: isolate; }
.dark-daam { background: radial-gradient(45% 70% at 15% 20%, rgba(46, 91, 255, .3), transparent 65%), radial-gradient(35% 60% at 90% 100%, rgba(43, 217, 168, .16), transparent 60%), var(--daam); }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
.sec-head .lead { margin-top: 18px; color: var(--muted); font-size: 17.5px; max-width: 64ch; }
.dark .sec-head .lead, .dark-daam .sec-head .lead { color: #c3ccdb; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.top { align-items: start; }
.split-copy .sec-head { margin-bottom: 28px; }
.ticks { display: grid; gap: 14px; margin-bottom: 30px; }
.ticks li { position: relative; padding-inline-start: 34px; font-size: 16.5px; }
.ticks li::before { content: ""; position: absolute; right: 0; top: 9px; width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }
.img-stack { position: relative; padding-bottom: 70px; padding-inline-start: 70px; }
.img-stack img { border-radius: var(--r-lg); object-fit: cover; box-shadow: var(--shadow); }
.im-a { width: 100%; aspect-ratio: 4 / 3; }
.im-b { position: absolute; bottom: 0; right: 0; width: 48%; aspect-ratio: 1; border: 8px solid var(--paper); }
.sec.soft .im-b { border-color: var(--paper-2); }
.since { position: absolute; top: -26px; left: -10px; background: var(--navy); color: var(--paper); width: 120px; height: 120px; border-radius: 60px 60px 14px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 13px; line-height: 1.3; box-shadow: var(--shadow); }
.since b { font-size: 30px; color: var(--gold-l); }
.cure-tag b { font-size: 26px; }

/* Fields rail */
.field-rail { display: flex; gap: 14px; height: 520px; }
.field-card { position: relative; flex: 1; min-width: 0; border-radius: var(--r-lg); overflow: hidden; color: #fff; transition: flex .7s var(--ease); isolation: isolate; }
.field-card.is-open { flex: 2.6; }
.field-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.field-card:hover img { transform: scale(1.05); }
.fc-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 25, 46, .95) 10%, rgba(12, 25, 46, .25) 70%); }
.field-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--c); z-index: 2; }
.fc-num { position: absolute; top: 22px; right: 24px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.fc-body { position: absolute; inset: auto 0 0 0; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.fc-body small { font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .65); }
.fc-body strong { font-size: 24px; line-height: 1.35; }
.fc-text, .fc-go { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; font-size: 15px; color: #dfe4ee; }
.field-card.is-open .fc-text, .field-card.is-open .fc-go { max-height: 120px; opacity: 1; }
.fc-go { font-weight: 600; color: var(--gold-l); display: inline-flex; gap: 8px; margin-top: 6px; }

/* Case */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin-bottom: 36px; counter-reset: d; }
.deliver li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(244, 240, 231, .14); font-size: 15.5px; }
.deliver span { font-size: 12px; font-weight: 700; color: var(--gold-l); }
.case-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.case-media img { width: 100%; height: 115%; object-fit: cover; }
.case-logo { position: absolute; inset: auto 20px 20px 20px; background: rgba(12, 25, 46, .78); backdrop-filter: blur(8px); border-radius: 14px; padding: 14px 18px; font-size: 12px; letter-spacing: .14em; color: var(--gold-l); }

/* Daam spotlight */
.daam-card { position: relative; background: var(--daam); color: var(--paper); border-radius: 36px; padding: clamp(36px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.dc-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 91, 255, .55), transparent 65%); top: -200px; left: -120px; z-index: -1; filter: blur(10px); animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(120px, 80px) scale(1.15); } }
.dc-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.dc-logo { height: 42px; color: var(--paper); }
.endorse { white-space: nowrap; font-size: 12px; border: 1px solid rgba(169, 129, 71, .7); color: var(--gold-l); padding: 4px 12px; border-radius: 999px; }
.daam-card h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 20ch; }
.daam-card > p { margin-top: 16px; color: #c4cbe0; max-width: 62ch; font-size: 17px; }
.doors, .dh-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.door { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, transform .4s var(--ease), border-color .3s; overflow: hidden; }
.door::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(43, 217, 168, .2), rgba(46, 91, 255, .25)); opacity: 0; transition: opacity .35s; z-index: -1; }
.door:hover { transform: translateY(-4px); border-color: rgba(43, 217, 168, .6); }
.door:hover::before { opacity: 1; }
.door-k { font-size: 20px; font-weight: 700; }
.door-t { font-size: 14px; color: #b8c2db; }
.door-a { position: absolute; top: 22px; left: 24px; font-size: 22px; color: var(--mint); transition: transform .35s var(--ease); }
.door:hover .door-a { transform: translateX(-6px); }

/* Systems */
.sys-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sys-grid.big { grid-template-columns: repeat(3, 1fr); }
.sys-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; transform-style: preserve-3d; overflow: hidden; isolation: isolate; }
.sys-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 91, 255, .1), transparent 60%); opacity: 0; transition: opacity .3s; }
.sys-card:hover { box-shadow: 0 30px 60px -30px rgba(14, 27, 46, .45); border-color: rgba(46, 91, 255, .35); }
.sys-card:hover::before { opacity: 1; }
.sys-num { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 14px; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(46, 91, 255, .08); }
.sys-card strong { font-size: 18px; }
.sys-card small { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.sys-short { font-size: 14.5px; color: #3d4659; margin-top: 10px; line-height: 1.8; }
.sys-model { align-self: flex-start; margin-top: 16px; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: rgba(43, 217, 168, .16); color: #0b7457; }
.sys-model.m-license { background: rgba(169, 129, 71, .16); color: var(--gold-t); }
.sys-model.m-included { background: rgba(46, 91, 255, .1); color: #2443c4; }
.sys-card.hidden { display: none; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.cat-tabs button { border: 1px solid var(--line); background: var(--white); padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: 14.5px; transition: background .25s, color .25s, border-color .25s; }
.cat-tabs button[aria-selected="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.is-daam .cat-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); }
.filterable > * { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.filterable > .fade { opacity: 0; transform: scale(.96); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: s; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps::before { content: ""; position: absolute; top: 27px; right: 28px; left: 28px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 27px; right: 28px; left: 28px; height: 2px; background: var(--gold); transform-origin: right; transform: scaleX(var(--sp, 0)); transition: transform .2s linear; }
.is-daam .steps::after { background: var(--mint); }
.steps li { position: relative; z-index: 1; }
.st-n { display: inline-flex; width: 56px; height: 56px; border-radius: 18px; align-items: center; justify-content: center; background: var(--navy); color: var(--gold-l); font-weight: 700; margin-bottom: 18px; box-shadow: 0 0 0 8px var(--paper); }
.sec.soft .st-n { box-shadow: 0 0 0 8px var(--paper-2); }
.is-daam .st-n { background: var(--daam); color: var(--mint); }
.steps strong { display: block; font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Why / values */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.why-item { padding: 34px 30px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); transition: background .35s; }
.why-item:hover { background: var(--white); }
.why-i { font-size: 13px; color: var(--gold-t); font-weight: 700; }
.why-item strong { display: block; font-size: 20px; margin: 12px 0 8px; }
.why-item p { color: var(--muted); font-size: 15.5px; }

/* Marquee */
.clients-band { overflow: hidden; }
.marquee { display: grid; gap: 16px; margin: 10px 0 40px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); direction: ltr; }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 16px; width: max-content; animation: mq 60s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-item { width: 190px; height: 96px; background: #fff; border-radius: 18px; display: flex; align-items: center; justify-content: center; padding: 16px 22px; border: 1px solid var(--line); flex-shrink: 0; }
.mq-item img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .75; transition: filter .35s, opacity .35s; }
.mq-item:hover img { filter: none; opacity: 1; }

/* CTA */
.cta-band { padding: 0 0 110px; }
.cta-inner { position: relative; background: var(--navy); color: var(--paper); border-radius: 36px; padding: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; isolation: isolate; }
.is-daam .cta-inner { background: var(--daam); }
.cta-inner h2 { font-size: clamp(26px, 3vw, 40px); }
.cta-inner p { color: #c3ccdb; margin-top: 10px; max-width: 58ch; }
.cta-arch { position: absolute; left: -60px; bottom: -120px; width: 320px; height: 380px; border: 28px solid rgba(169, 129, 71, .2); border-bottom: 0; border-radius: 160px 160px 0 0; z-index: -1; }
.is-daam .cta-arch { border-color: rgba(43, 217, 168, .18); }
.is-daam .cta-inner .btn-gold { --bg: var(--mint); --fg: var(--daam); }

/* ---------------- Page hero ---------------- */
.page-hero { position: relative; background: var(--navy); color: var(--paper); padding: 170px 0 96px; overflow: hidden; isolation: isolate; }
.page-hero.tone-daam { background: var(--daam); }
.page-hero.tone-daam .ph-pattern { opacity: .25; filter: hue-rotate(185deg) saturate(1.4); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, var(--navy) 35%, rgba(12, 25, 46, .55) 70%, rgba(12, 25, 46, .2)); }
.page-hero.tone-daam::after { background: linear-gradient(270deg, var(--daam) 35%, rgba(14, 27, 46, .6) 70%, rgba(14, 27, 46, .25)); }
.page-hero:not(.has-img)::after { background: radial-gradient(60% 80% at 15% 30%, rgba(169, 129, 71, .2), transparent 60%); }
.page-hero.tone-daam:not(.has-img)::after { background: radial-gradient(50% 80% at 15% 30%, rgba(46, 91, 255, .35), transparent 60%), radial-gradient(40% 60% at 40% 100%, rgba(43, 217, 168, .18), transparent 60%); }
.ph-media { position: absolute; inset: 0 auto 0 0; width: 52%; z-index: -2; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-inner { max-width: 720px; position: relative; }
.ph-inner.center { margin-inline: auto; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; text-wrap: wrap; }
.page-hero .lead { margin-top: 22px; font-size: 18px; color: #cdd5e3; max-width: 60ch; }
.page-hero .ph-inner::before { content: ""; position: absolute; top: -34px; right: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); }
.tone-daam .ph-inner::before { background: var(--mint); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: #9eabc2; margin-bottom: 22px; }
.crumbs a:hover { color: var(--paper); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { background: var(--white); border-radius: 22px; padding: 30px 28px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.pillar::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar:hover::after { transform: scaleX(1); }
.pl-n { font-size: 13px; font-weight: 700; color: var(--c); }
.pillar strong { display: block; font-size: 20px; margin-top: 10px; }
.pillar small { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery figure:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.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; inset: auto 12px 12px auto; background: rgba(12, 25, 46, .8); color: var(--paper); font-size: 13px; padding: 4px 12px; border-radius: 999px; }

/* Compare */
.compare { background: var(--white); border-radius: 26px; border: 1px solid var(--line); overflow: hidden; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; padding: 20px 30px; align-items: center; }
.cmp-head { background: var(--paper-2); font-weight: 700; }
.cmp-head small, .cmp-k small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .08em; font-weight: 500; }
.cmp-head .win { color: #673388; }
.cmp-row { border-top: 1px solid var(--line); transition: background .3s; }
.cmp-row:hover { background: #faf7f0; }
.cmp-k { font-weight: 700; }
.cmp-a { color: var(--muted); }
.cmp-b { font-weight: 600; display: flex; gap: 10px; align-items: center; }
.cmp-b i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: rgba(103, 51, 136, .12); color: #673388; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }

/* Forms */
.form-sec { background: var(--paper-2); }
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.lead-form { background: var(--white); border-radius: 28px; padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: flex; flex-direction: column; gap: 8px; }
.f label { font-size: 14px; font-weight: 600; }
.f small { color: var(--muted); font-weight: 400; }
.f input, .f select, .f textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .25s, box-shadow .25s, background .25s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(169, 129, 71, .15); }
.is-daam .f input:focus, .is-daam .f select:focus, .is-daam .f textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 91, 255, .12); }
.lead-form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; border-radius: 14px; padding: 14px 18px; font-weight: 600; margin-bottom: 14px; }
.form-note.ok { background: rgba(43, 217, 168, .16); color: #0b6b50; }
.form-note.err { background: rgba(157, 56, 31, .12); color: #9D381F; }
.contact-info { display: grid; gap: 14px; }
.ci { background: var(--white); border-radius: 18px; padding: 18px 22px; border: 1px solid var(--line); }
.ci span { display: block; font-size: 13px; color: var(--muted); }
.ci strong { font-size: 16.5px; }
.ci a { color: var(--blue); }
.ci-note { color: var(--muted); font-size: 14.5px; padding: 4px 6px; }

/* About */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vm-card { background: var(--navy); color: var(--paper); border-radius: 30px; padding: 46px; position: relative; overflow: hidden; }
.vm-card.alt { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.vm-card .eyebrow { color: var(--gold-l); }
.vm-card.alt .eyebrow { color: var(--gold-t); }
.vm-text { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.6; }
.tree { display: flex; flex-direction: column; align-items: center; }
.tree-root { height: 64px; color: var(--paper); padding: 22px 36px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(169, 129, 71, .5); border-radius: 22px; box-sizing: content-box; }
.tree-root .logo { color: var(--paper); }
.tree-line { width: 2px; height: 50px; background: var(--gold); }
.tree-kids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; position: relative; padding-top: 30px; border-top: 2px solid rgba(169, 129, 71, .5); }
.tree-kid { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-top: 4px solid var(--c); transition: transform .4s var(--ease), background .3s; }
.tree-kid:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .09); }
.tree-kid strong { font-size: 18px; }
.tree-kid small { color: #aeb9cc; font-size: 13px; }
.tree-kid .logo { height: 34px; color: var(--paper); margin-bottom: 4px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--white); }
.facts > div { padding: 26px; border-inline-start: 1px solid var(--line); }
.facts > div:first-child { border-inline-start: 0; }
.facts span { display: block; font-size: 13px; color: var(--muted); }
.facts strong { font-size: 16.5px; }

/* ---------------- Daam hub ---------------- */
.daam-hero { position: relative; background: var(--daam); color: var(--paper); padding: 160px 0 110px; overflow: hidden; isolation: isolate; }
.dh-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent); }
.daam-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(40% 50% at 18% 30%, rgba(46, 91, 255, .45), transparent 70%), radial-gradient(30% 40% at 40% 90%, rgba(43, 217, 168, .2), transparent 70%); }
.dh-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.dh-logo { display: flex; align-items: center; gap: 16px; height: 50px; margin-bottom: 28px; }
.dh-logo .logo { height: 50px; color: var(--paper); }
.daam-hero h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 800; line-height: 1.15; }
.daam-hero .lead { color: #c4cbe0; font-size: 18.5px; margin-top: 22px; max-width: 56ch; }
.dh-visual { position: relative; display: flex; justify-content: center; }
.phone { width: 270px; background: #F5F3EE; color: var(--daam); border-radius: 38px; padding: 26px 20px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 10px #1b2a44; position: relative; z-index: 2; }
.ph-top span { display: block; font-size: 12px; color: var(--muted); }
.ph-top b { font-size: 18px; }
.ph-kpi { background: var(--daam); color: #fff; border-radius: 20px; padding: 18px; margin: 18px 0; }
.ph-kpi small { font-size: 11.5px; color: #aab5cf; }
.ph-kpi strong { display: block; font-size: 30px; direction: ltr; text-align: right; }
.spark { display: flex; gap: 6px; align-items: flex-end; height: 50px; margin-top: 10px; direction: ltr; }
.spark i { flex: 1; height: var(--h); background: var(--blue); border-radius: 4px; transform-origin: bottom; animation: bar 1.4s var(--ease) both; }
.spark i:last-child { background: var(--mint); }
.spark i:nth-child(2) { animation-delay: .08s; } .spark i:nth-child(3) { animation-delay: .16s; } .spark i:nth-child(4) { animation-delay: .24s; } .spark i:nth-child(5) { animation-delay: .32s; } .spark i:nth-child(6) { animation-delay: .4s; } .spark i:nth-child(7) { animation-delay: .48s; }
@keyframes bar { from { transform: scaleY(0); } }
.ph-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-row span { background: #fff; border-radius: 12px; font-size: 11.5px; text-align: center; padding: 10px 4px; border: 1px solid #e3e0d6; }
.ph-chip { position: absolute; top: 40px; left: -46px; background: var(--mint); color: var(--daam); font-weight: 800; padding: 10px 16px; border-radius: 16px; box-shadow: var(--shadow); direction: ltr; }
.dh-orbit { position: absolute; inset: 50% auto auto 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); }
.dh-orbit span { position: absolute; inset: 0; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 50%; animation: spin 40s linear infinite; }
.dh-orbit span:nth-child(2) { inset: 60px; animation-duration: 28s; animation-direction: reverse; }
.dh-orbit span:nth-child(3) { inset: 120px; border-style: solid; border-color: rgba(43, 217, 168, .18); }
.dh-orbit span::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; background: var(--mint); border-radius: 2px; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-mint:hover { --bg: #5ee8c1; }
.live-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.live-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.live-stats div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 26px; }
.live-stats strong { display: block; font-size: 32px; color: var(--mint); direction: ltr; text-align: right; }
.live-stats span { font-size: 14px; color: #b8c2db; }
.dark-daam .eyebrow { color: var(--mint); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; gap: 4px; padding: 30px 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(46, 91, 255, .35); }
.svc-n { font-weight: 700; color: var(--blue); font-size: 13px; }
.svc-card strong { font-size: 20px; margin-top: 10px; }
.svc-card small { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.svc-card p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.is-daam .eyebrow { color: var(--blue); }
.is-daam .page-hero .eyebrow, .is-daam .dark-daam .eyebrow, .is-daam .daam-hero .eyebrow { color: var(--mint); }
.is-daam .link-arrow { color: var(--blue); }

/* Services long */
.svc-row { display: grid; grid-template-columns: 80px 1.3fr 1fr; gap: 30px; padding: 46px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 100px; }
.svc-row:first-child { border-top: 1px solid var(--line); }
.svc-row .svc-n { font-size: 40px; line-height: 1; color: var(--blue); opacity: .9; }
.svc-main small { color: var(--muted); letter-spacing: .08em; font-size: 12.5px; }
.svc-main h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 6px 0 12px; }
.svc-main p { color: var(--muted); font-size: 16.5px; }
.svc-list { display: grid; gap: 10px; }
.svc-list li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; font-size: 15px; position: relative; padding-inline-start: 40px; }
.svc-list li::before { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -4px; background: var(--mint); transform: rotate(45deg); border-radius: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { display: flex; flex-direction: column; background: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.wc-media { aspect-ratio: 16 / 10; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.wc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wc-media img.wc-logo { width: auto; height: auto; max-width: 58%; max-height: 52%; object-fit: contain; }
.work-card:hover .wc-media img { transform: scale(1.06); }
.wc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.wc-body small { color: var(--blue); font-weight: 600; font-size: 12.5px; }
.wc-body strong { font-size: 19px; }
.wc-body > span { color: var(--muted); font-size: 14px; line-height: 1.75; }
.case-body { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.case-side { position: sticky; top: 100px; display: grid; gap: 14px; }
.case-logo-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; justify-content: center; }
.case-logo-box img { max-height: 90px; width: auto; }
.cs-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.cs-item span { display: block; color: var(--muted); font-size: 13px; }
.case-main { display: grid; gap: 40px; }
.prose p { font-size: 17.5px; line-height: 2; color: #2d3648; }
.prose p + p { margin-top: 16px; }
.prose p.big { font-size: 21px; font-weight: 500; color: var(--ink); }
.prose h2 { font-size: 26px; margin: 30px 0 12px; }
.result { background: var(--daam); color: var(--paper); border-radius: 24px; padding: 34px; }
.result p { color: #fff; font-size: 20px; font-weight: 600; }
.result .eyebrow { color: var(--mint); }

/* System single */
.sys-hero { padding-bottom: 80px; }
.sys-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.sys-shot { border-radius: 26px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, .1); }
.sys-shot img { width: 100%; height: 100%; object-fit: cover; }
.sys-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sys-tags span { font-size: 13px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.sys-tags .m-saas { background: rgba(43, 217, 168, .18); border-color: rgba(43, 217, 168, .5); color: var(--mint); }
.proof { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 32px; display: grid; gap: 10px; border-top: 5px solid var(--mint); }
.proof strong { font-size: 22px; }
.proof p { color: var(--muted); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--white); border-radius: 22px; padding: 28px; border: 1px solid var(--line); }
.feat-i { font-size: 13px; font-weight: 700; color: var(--blue); }
.feat strong { display: block; font-size: 18.5px; margin: 10px 0 6px; }
.feat p { color: var(--muted); font-size: 15px; }

/* Pricing */
.price-tabs { display: inline-flex; gap: 4px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 40px; }
.price-tabs button { border: 0; background: none; padding: 11px 22px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 15px; transition: background .25s, color .25s; }
.price-tabs button[aria-selected="true"] { background: var(--daam); color: #fff; }
.price-panel { display: none; }
.price-panel.on { display: block; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plans.n2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 36px 30px; display: flex; flex-direction: column; gap: 10px; }
.plan.pop { background: var(--daam); color: var(--paper); border-color: var(--daam); transform: translateY(-10px); box-shadow: 0 40px 80px -40px rgba(14, 27, 46, .7); }
.pop-tag { position: absolute; top: -14px; right: 26px; background: var(--mint); color: var(--daam); font-size: 12.5px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.plan h3 { font-size: 26px; }
.plan-who { color: var(--muted); font-size: 15px; }
.plan.pop .plan-who { color: #b8c2db; }
.plan-price { font-size: 20px; font-weight: 700; padding: 18px 0; border-block: 1px solid var(--line); margin: 8px 0; }
.plan.pop .plan-price { border-color: rgba(255, 255, 255, .15); }
.plan-price small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.plan.pop .plan-price small { color: #aab5cf; }
.plan ul { display: grid; gap: 10px; margin-bottom: 22px; flex: 1; }
.plan li { padding-inline-start: 26px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; right: 0; color: var(--mint); font-weight: 700; }
.plan .btn { justify-content: center; }
.plan.pop .btn-outline { --fg: #fff; }
.trial { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 32px; border-radius: 24px; background: linear-gradient(120deg, rgba(43, 217, 168, .16), rgba(46, 91, 255, .12)); border: 1px solid rgba(43, 217, 168, .4); }
.trial strong { font-size: 19px; }
.trial p { color: var(--muted); }
.faq { background: var(--white); border-radius: 18px; border: 1px solid var(--line); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; color: var(--muted); }

/* Logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lw-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s; }
.lw-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.lw-item img { height: 74px; width: auto; max-width: 90%; object-fit: contain; }
.lw-item figcaption { font-size: 13.5px; color: var(--muted); text-align: center; }
.lw-item.hidden { display: none; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; background: radial-gradient(60% 120% at 90% 0%, rgba(169, 129, 71, .12), transparent 60%), var(--navy); color: #c3ccdb; padding: 90px 0 30px; overflow: hidden; isolation: isolate; }
.ft-pattern { opacity: .25; }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(244, 240, 231, .12); }
.ft-logo { display: block; height: 40px; margin-bottom: 22px; }
.ft-logo .logo { color: var(--paper); }
.ft-brand p { font-size: 15px; max-width: 46ch; }
.ft-tag { margin-top: 14px; color: var(--gold-l); font-weight: 600; }
.ft-col { display: flex; flex-direction: column; gap: 8px; }
.ft-label { color: var(--paper); font-weight: 700; margin-bottom: 8px; }
.ft-col a { font-size: 15px; transition: color .2s; }
.ft-col a:hover { color: var(--gold-l); }
.ft-data { font-size: 14.5px; }
.ft-data span { display: block; color: #8592a8; font-size: 12.5px; }
.ft-bottom { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; padding-top: 24px; font-size: 13.5px; }
.ft-bottom a:hover { color: var(--gold-l); }

.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
	.nav { position: fixed; inset: 0; background: var(--navy); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 100px 24px 40px; gap: 18px; overflow-y: auto; transform: translateX(-100%); transition: transform .5s var(--ease); margin: 0; }
	.is-daam .nav { background: var(--daam); }
	.nav.open { transform: none; }
	.menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.menu > li > a, .mega-toggle { width: 100%; justify-content: space-between; font-size: 19px; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid rgba(244, 240, 231, .1); }
	.mega { position: static; padding: 0; transform: none; display: none; opacity: 1; visibility: visible; }
	.mega.open { display: block; }
	.mega-grid, .mega-cols { border-radius: 18px; padding: 14px; box-shadow: none; margin: 10px 0; }
	.mega-grid.four { grid-template-columns: 1fr 1fr; }
	.mega-card small, .mc-img { display: none; }
	.mega-cols { grid-template-columns: 1fr 1fr; }
	.mega-intro { grid-column: 1 / -1; border: 0; padding: 0; }
	.nav-cta { justify-content: center; }
	.burger { display: flex; position: relative; z-index: 2; color: inherit; }
	.brand, .brand-sub { position: relative; z-index: 2; }
	.hero-grid, .dh-inner, .case-grid, .split, .live-grid, .form-grid, .sys-hero-grid, .case-body { grid-template-columns: 1fr; gap: 50px; }
	.hero-visual { width: min(100%, 360px); }
	.hero-badge { right: -10px; }
	.hero-badge.b2 { left: -10px; }
	.sys-grid { grid-template-columns: repeat(2, 1fr); }
	.sys-grid.big, .svc-grid, .work-grid, .pillars, .feat-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.steps::before, .steps::after { display: none; }
	.field-rail { flex-direction: column; height: auto; }
	.field-card, .field-card.is-open { flex: none; height: 260px; }
	.field-card .fc-text, .field-card .fc-go { max-height: 120px; opacity: 1; }
	.ft-top { grid-template-columns: 1fr 1fr; }
	.ph-media { width: 100%; opacity: .35; }
	.logo-wall { grid-template-columns: repeat(3, 1fr); }
	.case-side { position: static; }
	.mega-col a:hover { transform: none; }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.sec { padding: 76px 0; }
	.hero { padding: 120px 0 90px; }
	.page-hero, .daam-hero { padding: 130px 0 70px; }
	.stats-grid, .stats-grid.three { grid-template-columns: 1fr 1fr; row-gap: 28px; }
	.sys-grid, .sys-grid.big, .svc-grid, .work-grid, .pillars, .feat-grid, .gallery, .why-grid, .vm-grid, .tree-kids, .doors, .dh-doors, .plans, .plans.n2, .deliver, .facts, .live-stats { grid-template-columns: 1fr; }
	.gallery figure:nth-child(1) { grid-row: auto; aspect-ratio: 4 / 3; }
	.steps, .steps.four, .steps.three { grid-template-columns: 1fr; }
	.f-row { grid-template-columns: 1fr; }
	.cta-inner, .trial { flex-direction: column; align-items: flex-start; }
	.svc-row { grid-template-columns: 1fr; gap: 14px; }
	.cmp-head, .cmp-row { grid-template-columns: 1fr 1fr; padding: 16px 18px; }
	.cmp-head span:first-child { display: none; }
	.cmp-k { grid-column: 1 / -1; }
	.ft-top { grid-template-columns: 1fr; }
	.logo-wall { grid-template-columns: 1fr 1fr; }
	.img-stack { padding-inline-start: 30px; }
	.facts > div { border-inline-start: 0; border-top: 1px solid var(--line); }
	.plan.pop { transform: none; }
	.mq-item { width: 150px; height: 80px; }
	.hero-badge { position: relative; inset: auto; margin-top: 16px; max-width: none; }
	.hero-badge.b2 { display: none; }
	.dh-orbit { width: 340px; height: 340px; }
	.ph-chip { left: -10px; }
	.price-tabs { display: flex; flex-wrap: wrap; border-radius: 22px; }
	.vm-card { padding: 32px; }
	.hdr { height: 72px; }
	.brand { height: 28px; }
	.brand-sub { display: none; }
	.dh-logo, .dh-logo .logo { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.js .hero-title .line { opacity: 1; transform: none; }
	.arch-draw path { stroke-dashoffset: 0; }
}

/* =================================================================
   v1.2 refinements
   ================================================================= */

/* Eyebrow with brand diamond */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); border-radius: 1px; flex-shrink: 0; }
.sec-head.center .eyebrow { justify-content: center; }

/* ---- Page hero: full-bleed image with a soft, long gradient ---- */
.page-hero { padding: 180px 0 120px; min-height: 560px; display: flex; align-items: center; }
.page-hero .wrap { width: min(100% - 40px, var(--wrap)); }
.page-hero .ph-inner { max-width: none; margin-inline: auto; }
.page-hero .ph-inner > h1, .page-hero .ph-inner > .lead { max-width: 680px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.2; text-wrap: pretty; }
.page-hero .lead { font-size: 18px; line-height: 1.95; }
.ph-media { inset: 0; width: 100%; }
.ph-media img { object-position: left center; transform: scale(1.04); animation: phZoom 14s ease-out forwards; }
@keyframes phZoom { to { transform: scale(1); } }
.page-hero.has-img::after { background:
	linear-gradient(270deg, var(--navy) 0%, var(--navy) 28%, rgba(12, 25, 46, .9) 42%, rgba(12, 25, 46, .55) 62%, rgba(12, 25, 46, .2) 82%, rgba(12, 25, 46, .1) 100%),
	linear-gradient(0deg, rgba(12, 25, 46, .7) 0%, transparent 35%); }
.page-hero.tone-daam.has-img::after { background:
	linear-gradient(270deg, var(--daam) 0%, var(--daam) 28%, rgba(14, 27, 46, .9) 42%, rgba(14, 27, 46, .55) 62%, rgba(14, 27, 46, .2) 82%, rgba(14, 27, 46, .1) 100%),
	linear-gradient(0deg, rgba(14, 27, 46, .7) 0%, transparent 35%); }
.page-hero:not(.has-img)::before { content: ""; position: absolute; left: 6%; bottom: -2px; width: min(38vw, 460px); aspect-ratio: 400 / 520; border: 1.5px solid rgba(169, 129, 71, .45); border-bottom: 0; border-radius: 999px 999px 0 0; z-index: -1; box-shadow: inset 0 0 0 26px rgba(169, 129, 71, .05); }
.page-hero.tone-daam:not(.has-img)::before { border-color: rgba(43, 217, 168, .4); box-shadow: inset 0 0 0 26px rgba(46, 91, 255, .06); }
.page-hero .ph-inner::before { top: -30px; width: 46px; height: 3px; }
@media (max-width: 1100px) {
	.page-hero.has-img::after { background: linear-gradient(0deg, var(--navy) 10%, rgba(12, 25, 46, .82) 55%, rgba(12, 25, 46, .55) 100%); }
	.page-hero.tone-daam.has-img::after { background: linear-gradient(0deg, var(--daam) 10%, rgba(14, 27, 46, .82) 55%, rgba(14, 27, 46, .55) 100%); }
	.ph-media { opacity: 1; }
	.page-hero { min-height: 0; padding: 150px 0 90px; }
	.page-hero:not(.has-img)::before { opacity: .5; }
}

/* ---- TeleCare feature ---- */
.tc-feature { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; background: var(--daam); color: var(--paper); border-radius: 34px; padding: clamp(28px, 4vw, 56px); overflow: hidden; isolation: isolate; margin-bottom: 40px; transition: transform .5s var(--ease), box-shadow .5s; }
.tc-feature:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -50px rgba(14, 27, 46, .8); }
.tc-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 70% at 85% 10%, rgba(46, 91, 255, .45), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(43, 217, 168, .22), transparent 70%); }
.tc-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.tc-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tc-logo { height: 44px; width: auto; }
.tc-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mint); background: rgba(43, 217, 168, .12); border: 1px solid rgba(43, 217, 168, .4); padding: 4px 12px; border-radius: 999px; }
.tc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(43, 217, 168, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43, 217, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 217, 168, 0); } }
.tc-copy strong { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.35; }
.tc-text { color: #c4cbe0; font-size: 16.5px; max-width: 58ch; }
.tc-points { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-points span { font-size: 13.5px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.tc-btn { margin-top: 8px; }
.tc-feature:hover .tc-btn .btn-arrow { transform: translateX(-6px); }
.tc-url { font-size: 13px; color: #8ea0c4; font-family: ui-monospace, Menlo, monospace; }
.tc-visual { position: relative; justify-self: center; width: min(100%, 420px); }
.tc-visual img { width: 100%; border-radius: 22px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
.tc-feature.compact { grid-template-columns: 1.3fr .7fr; padding: clamp(24px, 3vw, 40px); }
.tc-feature.compact .tc-copy strong { font-size: clamp(22px, 2.2vw, 30px); }
.tc-feature.compact .tc-visual { width: min(100%, 300px); }

/* ---- Coming soon ---- */
.soon-head { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 20px; }
.soon-head > span { font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.soon-head > span::before { content: ""; width: 26px; height: 2px; background: var(--blue); }
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.soon-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--white); border: 1px dashed rgba(14, 27, 46, .18); border-radius: 22px; }
.soon-card.hidden { display: none; }
.soon-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.soon-top .sys-num { margin: 0; background: rgba(14, 27, 46, .06); color: var(--muted); }
.soon-tag { font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: rgba(169, 129, 71, .14); color: var(--gold-t); }
.soon-card strong { font-size: 17.5px; }
.soon-card small { font-size: 12.5px; color: var(--muted); }
.soon-card .sys-short { color: var(--muted); }
.soon-cat { margin-top: 14px; font-size: 12px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.soon-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.soon-chips span { font-size: 14.5px; padding: 9px 18px; border-radius: 999px; background: var(--white); border: 1px dashed rgba(14, 27, 46, .2); color: #3d4659; position: relative; padding-inline-start: 34px; }
.soon-chips span::before { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--gold); }
.soon-chips.light { margin-top: 6px; }

/* ---- Mega: TeleCare + soon ---- */
.mega-cols { grid-template-columns: 1.1fr 1.3fr 1fr 1fr; }
.mega-tc { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(46, 91, 255, .25), rgba(43, 217, 168, .12)); border: 1px solid rgba(43, 217, 168, .3); transition: transform .3s var(--ease); }
.mega-tc:hover { transform: translateY(-3px); }
.mega-tc img { height: 34px; width: auto; align-self: flex-start; }
.mega-tc small { font-size: 13px; color: #c4cbe0; line-height: 1.7; }
.mega-tc .link-arrow { color: var(--mint); font-size: 13.5px; align-self: flex-start; }
.mega-col.soon span:not(.mega-label) { font-size: 14px; padding: 6px 0; color: #8f9bb6; }
.mega-col.soon a { color: var(--mint); }
@media (max-width: 1100px) { .mega-cols { grid-template-columns: 1fr; } .mega-tc { grid-column: auto; } }

/* ---- Case study ---- */
.metrics-band { background: var(--white); border-bottom: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 38px 28px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.metric:first-child { border-inline-start: 0; }
.metric strong { font-size: clamp(36px, 4vw, 54px); font-weight: 800; color: var(--gold-t); line-height: 1; direction: ltr; text-align: right; }
.metric:first-child strong { color: #0b8a65; }
.metric span { color: var(--muted); font-size: 15px; }
.cs-list { display: grid; gap: 8px; margin-top: 8px; }
.cs-list li { font-size: 14.5px; font-weight: 500; padding-inline-start: 18px; position: relative; }
.cs-list li::before { content: ""; position: absolute; right: 0; top: 11px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.phases { display: grid; gap: 14px; }
.phase { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; }
.ph-n { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--gold-l); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.phase strong { font-size: 19px; }
.phase p { color: var(--muted); font-size: 15.5px; }
.camps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.camp { border-radius: 24px; padding: 30px; background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.camp::after { content: ""; position: absolute; left: -30px; bottom: -60px; width: 140px; height: 170px; border: 14px solid rgba(169, 129, 71, .2); border-bottom: 0; border-radius: 70px 70px 0 0; }
.camp:nth-child(2) { background: #3a1f47; }
.camp:nth-child(3) { background: #0f3b3a; }
.camp strong { font-size: 21px; display: block; margin-bottom: 8px; }
.camp p { color: #c9d0dd; font-size: 15px; }
.big-result { text-align: center; padding: clamp(36px, 5vw, 64px); }
.big-result p { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.7; max-width: 32ch; margin: 0 auto; }
.big-result .eyebrow { justify-content: center; }

/* Gallery: even grid */
.gallery { grid-template-columns: repeat(3, 1fr); }
.gallery figure, .gallery figure:nth-child(1) { grid-row: auto; aspect-ratio: 4 / 3; }

/* Contact polish */
.contact-info { gap: 12px; }
.ci { display: flex; flex-direction: column; gap: 2px; padding: 20px 24px; border-inline-start: 4px solid var(--gold); transition: transform .3s var(--ease); }
.ci:hover { transform: translateX(-4px); }

@media (max-width: 1100px) {
	.tc-feature, .tc-feature.compact { grid-template-columns: 1fr; }
	.tc-visual { width: min(100%, 340px); }
	.soon-grid, .camps { grid-template-columns: 1fr 1fr; }
	.metrics { grid-template-columns: 1fr 1fr; }
	.metric:nth-child(3) { border-inline-start: 0; }
	.metric { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
	.soon-grid, .camps, .gallery { grid-template-columns: 1fr; }
	.tc-logo { height: 36px; }
	.page-hero h1 { font-size: 34px; }
}

.ci-hero { background: var(--navy); color: var(--paper); border-radius: 24px; padding: 30px; display: grid; gap: 10px; position: relative; overflow: hidden; }
.ci-hero::after { content: ""; position: absolute; left: -40px; bottom: -80px; width: 180px; height: 220px; border: 18px solid rgba(169, 129, 71, .2); border-bottom: 0; border-radius: 90px 90px 0 0; }
.ci-hero strong { font-size: 21px; }
.ci-hero p { color: #c3ccdb; font-size: 15px; }
.ci-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; position: relative; z-index: 1; }
.ci-topics a { font-size: 13.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(217, 185, 127, .5); color: var(--gold-l); transition: background .25s, color .25s; }
.ci-topics a:hover { background: var(--gold); color: var(--navy); }

/* =================================================================
   v1.3 — mobile pass, header, groups, client logo
   ================================================================= */
.site-header { transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease; }
.hdr, .scrolled .hdr { height: 76px; transition: none; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(180deg, rgba(12, 25, 46, .55), rgba(12, 25, 46, 0)); pointer-events: none; opacity: 1; transition: opacity .4s; z-index: -1; }
.site-header.scrolled::before { opacity: 0; }

/* Client logo plates */
.case-logo { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255, 253, 248, .96); color: var(--muted); backdrop-filter: none; letter-spacing: 0; }
.case-logo img { height: 46px; width: auto; }
.case-logo span { font-size: 12.5px; }
.client-logo { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; display: flex; justify-content: center; }
.client-logo img { width: 100%; max-width: 240px; height: auto; }

/* Grouped coming-soon */
.soon-groups { display: grid; gap: 34px; }
.sg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.sg-head strong { font-size: 20px; }
.sg-head span { color: var(--muted); font-size: 14.5px; flex: 1 1 260px; }
.sg-head em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--blue); background: rgba(46, 91, 255, .08); padding: 3px 12px; border-radius: 999px; }
.soon-grid { grid-template-columns: repeat(4, 1fr); }
.soon-card { padding: 22px; }

/* ---------- Mobile navigation ---------- */
@media (max-width: 1100px) {
	.nav { padding: 92px 20px 32px; gap: 0; background: linear-gradient(180deg, #0C192E 0%, #0f2038 100%); }
	.is-daam .nav { background: linear-gradient(180deg, #0E1B2E 0%, #13284a 100%); }
	.menu { gap: 0; }
	.menu > li { border-bottom: 1px solid rgba(244, 240, 231, .08); }
	.menu > li > a, .mega-toggle { font-size: 18px; font-weight: 600; padding: 16px 4px; border: 0; }
	.menu > li > a:hover, .mega-toggle:hover, .mega-toggle[aria-expanded="true"] { background: none; color: var(--gold-l); }
	.mega { padding: 0 0 14px; }
	.mega-grid, .mega-cols { background: transparent; color: var(--paper); padding: 0; margin: 0; border-radius: 0; }
	.mega-grid.four { grid-template-columns: 1fr 1fr; gap: 10px; }
	.mega-card { padding: 0; gap: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; overflow: hidden; }
	.mega-card:hover { background: rgba(255, 255, 255, .08); }
	.mega-card .mc-img { display: block; aspect-ratio: 16 / 9; margin: 0; border-radius: 0; }
	.mega-card strong { font-size: 14px; padding: 0 12px 12px; line-height: 1.5; }
	.mega-card small { display: none; }
	.mega-daam .mega-cols { background: transparent; display: grid; grid-template-columns: 1fr; gap: 12px; }
	.mega-intro { display: none; }
	.mega-tc { padding: 16px; }
	.mega-col { flex-direction: row; flex-wrap: wrap; gap: 6px 8px; }
	.mega-col .mega-label { width: 100%; margin: 4px 0 2px; }
	.mega-col.soon span:not(.mega-label) { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: #9aa6bf; }
	.mega-col a { font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #e3e8f3; }
	.mega-col.soon a { background: none; padding: 4px 0; }
	.nav-cta { margin-top: 24px; padding: 16px; font-size: 16px; }
	.chev { border-color: var(--gold-l); }
}

/* ---------- Mobile pass ---------- */
@media (max-width: 680px) {
	.wrap { width: min(100% - 36px, var(--wrap)); }
	.hdr, .scrolled .hdr { height: 66px; }
	.brand { height: 26px; }
	.burger { width: 42px; height: 42px; }
	.sec { padding: 64px 0; }
	.sec-head { margin-bottom: 32px; }
	.sec-head h2 { font-size: 27px; line-height: 1.45; }
	.sec-head .lead { font-size: 16px; line-height: 1.9; }
	/* intro */
	.ih-title { font-size: 34px; line-height: 1.45; max-width: none; }
	.ih-content .eyebrow { font-size: 11px; margin-bottom: 14px; }
	.ih-content .lead { font-size: 15.5px; line-height: 1.95; margin-top: 16px; }
	.ih-content .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; gap: 10px; margin-top: 26px; }
	.ih-content .hero-cta .btn { justify-content: center; }
	.ih-mark { height: 58px; }
	/* page hero */
	.page-hero { padding: 120px 0 64px; }
	.page-hero h1 { font-size: 32px; line-height: 1.4; }
	.page-hero .lead { font-size: 15.5px; line-height: 1.95; margin-top: 16px; }
	.crumbs { font-size: 12.5px; margin-bottom: 16px; }
	.page-hero .ph-inner::before { display: none; }
	.page-hero:not(.has-img)::before { left: -60px; width: 220px; opacity: .35; }
	/* stats */
	.stats { padding: 34px 0; }
	.stat { padding-inline-start: 14px; }
	.stat strong { font-size: 34px; }
	.stat > span { font-size: 13px; }
	/* fields */
	.field-card, .field-card.is-open { height: 220px; }
	.fc-body { padding: 20px; }
	.fc-body strong { font-size: 20px; }
	/* intro split */
	.split { gap: 36px; }
	.img-stack { padding: 0 0 50px 24px; }
	.since { width: 92px; height: 92px; font-size: 11px; top: -14px; left: 0; }
	.since b { font-size: 22px; }
	/* case */
	.case-grid { gap: 30px; }
	.case-media { aspect-ratio: 4 / 3.4; }
	.case-logo img { height: 34px; }
	.deliver li { font-size: 14.5px; padding: 10px 0; }
	/* daam */
	.daam-card { border-radius: 26px; padding: 30px 22px; }
	.daam-card h2 { font-size: 25px; }
	.dc-top { flex-wrap: wrap; }
	.door { padding: 20px; }
	.door-k { font-size: 17px; }
	.daam-hero { padding: 116px 0 70px; }
	.daam-hero h1 { font-size: 40px; line-height: 1.3; }
	.daam-hero .lead { font-size: 15.5px; }
	.dh-visual { margin-top: 10px; }
	.phone { width: 230px; }
	/* telecare */
	.tc-feature { padding: 26px 20px; border-radius: 26px; gap: 26px; }
	.tc-copy strong { font-size: 23px; }
	.tc-text { font-size: 15px; }
	.tc-points span { font-size: 12.5px; padding: 5px 12px; }
	.tc-btn { width: 100%; justify-content: center; }
	.tc-visual { width: min(100%, 280px); }
	/* soon */
	.soon-grid { grid-template-columns: 1fr; gap: 10px; }
	.soon-card { padding: 18px; }
	.sg-head strong { font-size: 18px; }
	.soon-chips span { font-size: 13px; padding: 7px 14px 7px 14px; padding-inline-start: 28px; }
	/* steps / why */
	.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; }
	.steps .st-n { grid-row: span 2; margin: 0; }
	.why-item { padding: 26px 22px; }
	/* case study */
	.metrics { grid-template-columns: 1fr 1fr; }
	.metric { padding: 24px 16px; }
	.metric strong { font-size: 32px; }
	.metric span { font-size: 13px; }
	.case-body { gap: 30px; }
	.phase { grid-template-columns: 44px 1fr; padding: 20px; }
	.ph-n { width: 44px; height: 44px; border-radius: 12px; font-size: 14px; }
	.big-result p { font-size: 19px; }
	/* forms */
	.lead-form { border-radius: 22px; padding: 22px 18px; }
	.form-grid { gap: 30px; }
	/* cta */
	.cta-band { padding-bottom: 64px; }
	.cta-inner { border-radius: 26px; padding: 30px 22px; }
	.cta-inner h2 { font-size: 24px; }
	.cta-inner .btn { width: 100%; justify-content: center; }
	/* footer */
	.site-footer { padding: 60px 0 26px; }
	.ft-top { gap: 30px; }
	.ft-bottom { flex-direction: column; gap: 10px; }
	/* pillars, svc */
	.pillar { padding: 24px 22px; }
	.svc-row { padding: 32px 0; }
	.svc-row .svc-n { font-size: 30px; }
	.compare { border-radius: 20px; }
	.plan { padding: 30px 22px; }
	.vm-text { font-size: 20px; }
	.tree-root { height: 44px; padding: 16px 24px; }
}
@media (min-width: 681px) and (max-width: 1100px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }

/* v1.4 — header background on a pseudo layer (keeps the fixed mobile menu full-screen) */
.site-header.scrolled, .is-daam .site-header.scrolled { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none; }
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 25, 46, .97); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.is-daam .site-header::after { background: rgba(14, 27, 46, .97); }
.site-header.scrolled::after { opacity: 1; }
@media (max-width: 1100px) {
	.nav { z-index: 1; height: 100vh; height: 100dvh; visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
	.nav.open { visibility: visible; transition: transform .5s var(--ease), visibility 0s 0s; }
	.brand, .brand-sub, .burger { z-index: 3; }
	body.nav-open .site-header::after { opacity: 0; }
}
