/* ==========================================================================
   TeleHome – design system
   Light / dark theme via data-theme on <html>; falls back to prefers-color-scheme
   ========================================================================== */

:root {
  --navy: #0b1a33;
  --navy-2: #12264a;
  --gold: #c9a54a;
  --gold-2: #e2c272;
  --gold-3: #8d6f22;

  --bg: #f6f4ef;
  --bg-2: #ffffff;
  --bg-3: #ece8df;
  --fg: #101828;
  --fg-2: #475467;
  --fg-3: #667085;
  --line: rgba(16, 24, 40, .1);
  --line-2: rgba(16, 24, 40, .18);
  --card: #ffffff;
  --card-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px -12px rgba(16,24,40,.18);
  --accent: var(--gold);
  --accent-fg: #0b1a33;
  --accent-soft: rgba(201,165,74,.14);
  --ok: #1a7f4b;
  --hero-fg: #ffffff;
  --glass: rgba(255,255,255,.72);
  --glass-line: rgba(255,255,255,.55);
  --header-fg: #101828;

  --radius: 16px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: 16px;
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; }
  :root:not([data-theme="light"]) {
    --bg: #0a1220; --bg-2: #0f1a2e; --bg-3: #16233b;
    --fg: #eef2f8; --fg-2: #b4bfd1; --fg-3: #8592a8;
    --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.18);
    --card: #111d33; --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -14px rgba(0,0,0,.7);
    --accent: #d9b55c; --accent-soft: rgba(217,181,92,.16);
    --glass: rgba(15,26,46,.66); --glass-line: rgba(255,255,255,.12);
    --header-fg: #eef2f8;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1220; --bg-2: #0f1a2e; --bg-3: #16233b;
  --fg: #eef2f8; --fg-2: #b4bfd1; --fg-3: #8592a8;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.18);
  --card: #111d33; --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -14px rgba(0,0,0,.7);
  --accent: #d9b55c; --accent-soft: rgba(217,181,92,.16);
  --glass: rgba(15,26,46,.66); --glass-line: rgba(255,255,255,.12);
  --header-fg: #eef2f8;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--accent); color: var(--accent-fg); padding: 10px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { top: 8px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
section { padding: clamp(56px, 8vw, 110px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--fg-2); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.muted { color: var(--fg-3); }
.gold { color: var(--accent); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; border: 1.5px solid transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 8px 24px -8px rgba(201,165,74,.7); }
.btn-primary:hover { background: var(--gold-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn .arrow { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 0; transition: padding .35s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 22px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px -18px rgba(0,0,0,.35); color: var(--header-fg); transition: all .35s var(--ease); position: relative; overflow: hidden; }
.header-inner::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--progress, 0%); background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .1s linear; }
.header.scrolled { padding: 8px 0; }
.header.scrolled .header-inner { padding: 6px 8px 6px 18px; }
.header.on-hero:not(.scrolled) .header-inner { background: rgba(10,18,32,.35); border-color: rgba(255,255,255,.18); color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; letter-spacing: .2em; font-size: 1.05rem; text-transform: uppercase; }
.logo b { color: var(--gold); font-weight: 700; }
.logo-mark { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav .nav-btn { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; transition: background .2s; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover, .nav .nav-btn:hover { background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .has-sub { position: relative; }
.nav .sub { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--card-shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); color: var(--fg); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; align-items: flex-start; }
.nav .sub a small { color: var(--fg-3); font-weight: 500; }
.nav .sub .sub-title { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding: 8px 12px 2px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.icon-btn:hover { background: var(--accent-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .sun, .theme-toggle .moon { position: absolute; transition: transform .4s var(--ease), opacity .3s; }
.theme-toggle { position: relative; }
:root[data-theme="dark"] .theme-toggle .sun { opacity: 0; transform: rotate(90deg) scale(.5); }
:root:not([data-theme="dark"]) .theme-toggle .moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { opacity: 0; transform: rotate(90deg) scale(.5); }
  :root:not([data-theme="light"]) .theme-toggle .moon { opacity: 1; transform: none; }
}
.lang { font-size: .8rem; font-weight: 800; letter-spacing: .08em; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--glass-line); }
.lang:hover { border-color: var(--accent); }
.header .cta { display: inline-flex; }
.burger { display: none; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0; transition: transform .3s, opacity .3s; }
@media (max-width: 1080px) { .nav a { padding: 10px 10px; font-size: .88rem; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; flex-direction: column; }
  .header .cta { display: none; }
}
.mobile-nav { position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: 110px 24px 40px; overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
.mobile-nav.open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav a { display: block; padding: 14px 0; font-family: var(--font-head); font-size: 1.3rem; border-bottom: 1px solid var(--line); }
.mobile-nav .m-sub a { font-size: 1rem; padding: 10px 0 10px 18px; border: 0; color: var(--fg-2); font-family: var(--font-body); }
.mobile-nav .btn { margin-top: 24px; }
body.nav-open { overflow: hidden; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero (living header) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--hero-fg); overflow: hidden; padding: 140px 0 80px; isolation: isolate; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(8,16,32,.55) 0%, rgba(8,16,32,.35) 40%, rgba(8,16,32,.88) 100%); }
.hero-aurora { position: absolute; inset: -20%; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .6; mix-blend-mode: screen; }
.hero-aurora i { position: absolute; border-radius: 50%; width: 46vw; height: 46vw; background: radial-gradient(circle, rgba(201,165,74,.55), transparent 60%); animation: drift 18s ease-in-out infinite alternate; }
.hero-aurora i:nth-child(2) { left: 55%; top: 30%; background: radial-gradient(circle, rgba(60,120,255,.45), transparent 60%); animation-duration: 24s; animation-delay: -6s; }
.hero-aurora i:nth-child(3) { left: 20%; top: 60%; width: 30vw; height: 30vw; background: radial-gradient(circle, rgba(255,255,255,.3), transparent 60%); animation-duration: 30s; animation-delay: -12s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(12vw, -8vh) scale(1.2); } }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); pointer-events: none; }
.hero-blueprint { position: absolute; right: -4vw; bottom: -6vw; width: min(62vw, 760px); z-index: -1; opacity: .5; pointer-events: none; will-change: transform; }
.hero-blueprint path, .hero-blueprint line, .hero-blueprint rect, .hero-blueprint polyline { fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 4.5s var(--ease) forwards; }
.hero-blueprint .d2 { animation-delay: .6s; } .hero-blueprint .d3 { animation-delay: 1.2s; } .hero-blueprint .d4 { animation-delay: 1.8s; } .hero-blueprint .d5 { animation-delay: 2.4s; }
.hero-blueprint .dot { fill: var(--gold-2); stroke: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%,100% { opacity: .35; r: 3; } 50% { opacity: 1; r: 5; } }
.hero-content { position: relative; max-width: 780px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: .82rem; font-weight: 600; backdrop-filter: blur(10px); }
.chip .live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.7);} 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0);} 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0);} }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .swap { display: inline-grid; color: var(--gold-2); position: relative; }
.hero h1 .swap span { grid-area: 1/1; opacity: 0; transform: translateY(18px) rotateX(-40deg); transition: opacity .55s var(--ease), transform .55s var(--ease); transform-origin: bottom; white-space: nowrap; }
.hero h1 .swap span.on { opacity: 1; transform: none; }
.hero .lead { color: rgba(255,255,255,.85); font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin-bottom: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.stat { padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); min-width: 140px; transition: transform .3s var(--ease); }
.stat:hover { transform: translateY(-4px); }
.stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-2); line-height: 1; }
.stat small { display: block; color: rgba(255,255,255,.75); margin-top: 6px; font-size: .82rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-2); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1;} 80% { transform: translateY(14px); opacity: 0;} 100% { opacity: 0;} }
.hero-sub { min-height: 62svh; padding: 150px 0 70px; }
.hero-sub .hero-content { max-width: 860px; }
.hero-sub h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.breadcrumb a:hover { color: var(--gold-2); }
@media (max-width: 720px) { .hero { padding-top: 120px; } .hero-blueprint { width: 90vw; right: -20vw; opacity: .3; } .hero-stats { gap: 10px; } .stat { min-width: calc(50% - 5px); } }
@media (prefers-reduced-motion: reduce) { .hero-aurora i, .hero-blueprint *, .scroll-cue::after, .chip .live { animation: none !important; } .hero-blueprint path, .hero-blueprint line, .hero-blueprint polyline, .hero-blueprint rect { stroke-dashoffset: 0; } html { scroll-behavior: auto; } }

/* ---------- cards / components ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--card-shadow); transition: transform .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-4px); border-color: rgba(201,165,74,.5); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { position: absolute; inset: 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; margin-top: 12px; font-size: .92rem; }
.img-card { padding: 0; display: flex; flex-direction: column; }
.img-card figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.img-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-card:hover figure img { transform: scale(1.05); }
.img-card .body { padding: 22px 24px 26px; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.pill-list a, .pill-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-weight: 600; font-size: .92rem; transition: all .2s; }
.pill-list a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* split section */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split figure { margin: 0; position: relative; }
.split figure img { border-radius: var(--radius-lg); box-shadow: var(--card-shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.float-badge { position: absolute; left: -18px; bottom: -18px; background: var(--navy); color: #fff; padding: 18px 22px; border-radius: 20px; box-shadow: var(--card-shadow); border: 1px solid rgba(255,255,255,.1); }
.float-badge b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--gold-2); line-height: 1; }
.float-badge small { color: rgba(255,255,255,.75); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } .float-badge { left: 12px; bottom: 12px; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a54a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; margin-top: 2px; }

/* steps / timeline */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 30px; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.step { position: relative; text-align: center; padding-top: 8px; }
.step .n { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; background: var(--card); border: 2px solid var(--accent); color: var(--accent); position: relative; z-index: 1; transition: all .3s var(--ease); }
.step:hover .n { background: var(--accent); color: var(--navy); transform: scale(1.08); }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--fg-2); font-size: .93rem; margin: 0; }
.step .t { display: inline-block; font-size: .75rem; font-weight: 800; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 14px; } .step .n { width: 48px; height: 48px; margin: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 18px 0; }
.timeline .n { width: 56px; height: 56px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--accent); position: relative; z-index: 1; }
.timeline h3 { margin-bottom: 4px; }
.timeline .t { color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

/* numbers strip */
.numbers { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.numbers::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 50%, rgba(201,165,74,.25), transparent), radial-gradient(40% 60% at 85% 40%, rgba(60,120,255,.2), transparent); }
.numbers .grid { position: relative; }
.number { text-align: center; padding: 12px; }
.number b { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold-2); line-height: 1; }
.number span { color: rgba(255,255,255,.75); display: block; margin-top: 8px; }

/* accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1.2rem; color: var(--accent); transition: transform .3s var(--ease), background .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--accent-soft); }
.accordion .a { padding: 0 4px 22px; color: var(--fg-2); max-width: 75ch; }
.accordion .a p:last-child { margin: 0; }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--card-shadow); }
table.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 700px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { background: var(--bg-3); font-family: var(--font-head); font-size: .85rem; letter-spacing: .04em; }
table.cmp th.hl, table.cmp td.hl { background: var(--accent-soft); font-weight: 700; }
table.cmp tbody tr:last-child td { border-bottom: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; display: block; background: var(--bg-3); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery a span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .85rem; font-weight: 600; opacity: 0; transition: opacity .3s; }
.gallery a:hover span { opacity: 1; }
.gallery .tall { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,10,20,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; top: 18px; right: 18px; color: #fff; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); right: auto; left: 18px; font-size: 1.6rem; }
.lightbox .lb-next { left: auto; right: 18px; }

/* testimonials */
.quote { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 14px; }
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.quote p { font-style: italic; color: var(--fg-2); margin: 0; flex: 1; }
.quote footer { font-weight: 700; font-size: .92rem; }
.quote footer small { display: block; color: var(--fg-3); font-weight: 500; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201,165,74,.4), transparent 65%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); }
.cta-band .btn-row { justify-content: flex-end; position: relative; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field label small { color: var(--fg-3); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg-2); color: var(--fg); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--fg-2); }
.check input { margin-top: 4px; accent-color: var(--gold); width: 18px; height: 18px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.seg label { border: 1.5px solid var(--line-2); border-radius: 14px; padding: 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; font-weight: 600; transition: all .2s; background: var(--bg-2); }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.seg input { accent-color: var(--gold); }
.form-steps { display: flex; gap: 8px; margin-bottom: 24px; }
.form-steps span { flex: 1; height: 5px; border-radius: 3px; background: var(--line-2); }
.form-steps span.on { background: var(--accent); }
.form-panel { display: none; }
.form-panel.on { display: grid; gap: 16px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.form-ok { background: var(--accent-soft); border: 1px solid var(--accent); padding: 20px; border-radius: 14px; }
.honey { position: absolute; left: -9999px; }

/* calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-result { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 100px; }
.calc-result .price { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-2); line-height: 1; margin: 8px 0 6px; }
.calc-result small { color: rgba(255,255,255,.7); }
.calc-result .breakdown { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.calc-result .breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.range { display: grid; gap: 6px; }
.range input[type=range] { width: 100%; accent-color: var(--gold); }
.range output { font-weight: 800; color: var(--accent); }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--bg-2); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt input { margin-top: 3px; accent-color: var(--gold); }
.opt b { display: block; }
.opt small { color: var(--fg-3); }

/* prose (blog / legal) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.5em 0; padding: 4px 0 4px 20px; color: var(--fg-2); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-3); }
.prose .note { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 12px 12px 0; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--fg-3); font-size: .9rem; margin-bottom: 24px; }
.post-hero img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius-lg); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.toc b { display: block; margin-bottom: 8px; font-family: var(--font-head); }
.toc ol { margin: 0; padding-left: 1.2em; color: var(--fg-2); }

/* tech choice cards (házépítés hub) */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .choice { grid-template-columns: 1fr; } }
.choice-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--card-shadow); }
.choice-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.choice-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,16,32,.1) 20%, rgba(8,16,32,.9) 100%); }
.choice-card:hover img { transform: scale(1.06); }
.choice-card .body { padding: 32px; }
.choice-card h2, .choice-card h3 { color: #fff; font-size: 1.8rem; }
.choice-card p { color: rgba(255,255,255,.82); }
.choice-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.choice-card ul li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }

/* packages (Silver/Gold/Platina) */
.pkg { text-align: left; }
.pkg .name { font-family: var(--font-head); font-size: 1.4rem; }
.pkg.featured { border-color: var(--accent); }
.pkg.featured::before { content: attr(data-badge); position: absolute; top: 18px; right: 18px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 5px 10px; border-radius: 999px; font-weight: 800; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* marquee logos/trust */
.trust { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; color: var(--fg-3); font-size: .9rem; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); }

/* footer */
.footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 70px 0 30px; margin-top: 40px; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 70%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--gold-2); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer .badge img { width: 54px; height: auto; }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact small { display: block; color: rgba(255,255,255,.5); font-size: .78rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }

/* floating call / cookie */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(201,165,74,.8); transition: transform .3s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }
.cookie { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 95; max-width: 520px; background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--card-shadow); display: none; }
.cookie.show { display: block; }
.cookie p { font-size: .9rem; color: var(--fg-2); }
.cookie .btn-row { margin-top: 14px; }

/* misc */
.divider { height: 1px; background: var(--line); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }
.note-box { background: var(--accent-soft); border: 1px solid rgba(201,165,74,.4); padding: 18px 22px; border-radius: var(--radius); }
.kicker { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.two-col { columns: 2; column-gap: 32px; }
@media (max-width: 720px) { .two-col { columns: 1; } }
.list-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 640px) { .list-cols { grid-template-columns: 1fr; } }
.list-cols li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.list-cols li::before { content: "▸"; color: var(--accent); }
.spec { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec b { color: var(--fg); text-align: right; }
.avatar-row { display: flex; gap: 14px; align-items: center; }

/* package spec table */
table.pkg-table th[scope="row"] { font-family: var(--font-head); font-size: .88rem; white-space: nowrap; background: var(--bg-3); }
table.pkg-table td { font-size: .9rem; color: var(--fg-2); }
table.pkg-table td.hl { color: var(--fg); }

/* ==========================================================================
   v2 – compact, cleaner look (overrides the base rules above)
   ========================================================================== */
:root { --radius: 12px; --radius-lg: 18px; --container: 1120px; --card-shadow: 0 1px 2px rgba(16,24,40,.05); }
body { font-size: 15.5px; line-height: 1.6; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-size: 1.1rem; }
section { padding: clamp(40px, 6vw, 80px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0; }
.section-head { margin-bottom: clamp(20px, 3vw, 36px); max-width: 680px; }
.lead { font-size: 1.02rem; }
.eyebrow { font-size: .72rem; margin-bottom: 10px; }
.btn { padding: 11px 18px; font-size: .9rem; }
.btn-sm { padding: 8px 14px; font-size: .82rem; }
.btn-primary { box-shadow: none; }
.btn:hover { transform: none; }
.card { padding: 22px; border-radius: var(--radius-lg); }
.card:hover { transform: none; border-color: var(--line-2); }
.card .icon { width: 42px; height: 42px; border-radius: 10px; margin-bottom: 14px; }
.card .icon svg { width: 20px; height: 20px; }
.img-card .body { padding: 18px 20px 20px; }
.grid { gap: 16px; }
.pill-list a, .pill-list li { padding: 8px 13px; font-size: .85rem; }
.chip { padding: 6px 11px; font-size: .76rem; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }

/* header – flatter bar */
.header { padding: 10px 0; }
.header-inner { border-radius: 14px; padding: 6px 8px 6px 16px; box-shadow: none; backdrop-filter: blur(12px); }
.header.scrolled { padding: 6px 0; }
.header.scrolled .header-inner { padding: 4px 6px 4px 14px; box-shadow: 0 6px 24px -14px rgba(0,0,0,.25); }
.logo { font-size: .95rem; letter-spacing: .16em; }
.logo-mark { width: 26px; height: 26px; }
.nav a, .nav .nav-btn { padding: 8px 11px; font-size: .86rem; border-radius: 10px; }
.icon-btn { width: 36px; height: 36px; }
.lang { font-size: .72rem; padding: 6px 8px; }

/* hero – calm: no blueprint, no aurora, no scroll cue; video starts full-width then eases into a zoom and holds */
.hero { min-height: 82svh; padding: 120px 0 64px; }
.hero-sub { min-height: 52svh; padding: 120px 0 56px; }
.hero-blueprint, .hero-grid, .hero-aurora, .scroll-cue { display: none !important; }
.hero-media video, .hero-media img { transform: none; animation: heroZoom 16s cubic-bezier(.2,.6,.2,1) forwards; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-shade { background: linear-gradient(180deg, rgba(8,16,32,.45) 0%, rgba(8,16,32,.35) 45%, rgba(8,16,32,.82) 100%); }
.hero-content { max-width: 720px; }
.hero h1 { margin-bottom: 16px; }
.hero .lead { font-size: clamp(.98rem, 1.2vw, 1.08rem); margin-bottom: 22px; }
.hero-stats { margin-top: 32px; gap: 10px; }
.stat { padding: 10px 14px; border-radius: 12px; min-width: 120px; background: rgba(255,255,255,.07); }
.stat:hover { transform: none; }
.stat b { font-size: 1.35rem; }
.stat small { font-size: .74rem; margin-top: 4px; }
.breadcrumb { font-size: .78rem; margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .hero-media video, .hero-media img { animation: none; } }

/* choice cards, steps, tables, quotes, cta – tighter */
.choice { gap: 16px; }
.choice-card { min-height: 380px; }
.choice-card .body { padding: 24px; }
.choice-card h2, .choice-card h3 { font-size: 1.4rem; }
.choice-card ul li { font-size: .74rem; padding: 5px 10px; }
.step .n { width: 48px; height: 48px; font-size: 1rem; margin-bottom: 12px; }
.steps::before { top: 24px; }
.step h3 { font-size: .98rem; }
.step p { font-size: .88rem; }
.timeline .n { width: 44px; height: 44px; }
.timeline::before { left: 21px; }
.timeline li { grid-template-columns: 44px 1fr; gap: 16px; padding: 14px 0; }
table.cmp { font-size: .88rem; }
table.cmp th, table.cmp td { padding: 11px 14px; }
.quote { padding: 22px; }
.quote p { font-size: .95rem; }
.numbers::before { display: none; }
.number b { font-size: clamp(2rem, 4vw, 2.8rem); }
.cta-band { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); }
.cta-band::after { display: none; }
.accordion summary { padding: 16px 4px; font-size: .98rem; }
.accordion summary::after { width: 28px; height: 28px; }
.float-badge { padding: 12px 16px; border-radius: 14px; }
.float-badge b { font-size: 1.5rem; }
.trust { font-size: .82rem; gap: 10px 22px; }
.gallery { gap: 10px; }
.gallery a { border-radius: 12px; }
.calc-result { padding: 24px; border-radius: var(--radius-lg); }
.calc-result .price { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.field input, .field select, .field textarea { padding: 11px 14px; border-radius: 10px; }
.seg label, .opt { padding: 11px 12px; border-radius: 10px; }
.footer { padding: 52px 0 24px; }
.footer-grid { gap: 28px; }
.reveal { transform: translateY(14px); }

/* hero video: the source file is pillarboxed (content = middle ~80 %), crop the baked-in black bars */
.hero-media video { position: absolute; top: 0; left: -13%; width: 126%; max-width: none; height: 100%; object-fit: cover; }

/* brand logo – TELE (navy / white on dark) + HOME (orange), Poppins like the original wordmark */
.logo { font-family: "Poppins", "Sora", sans-serif; font-weight: 600; font-size: 1.15rem; letter-spacing: .14em; gap: 0; text-transform: uppercase; line-height: 1; }
.logo .tele { color: #24475F; }
.logo .home { color: #E8912E; }
.header.on-hero:not(.scrolled) .logo .tele, :root[data-theme="dark"] .logo .tele, .logo-light .tele { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .tele { color: #fff; } }
.footer .logo { font-size: 1.25rem; margin-bottom: 12px; }
.mobile-nav .logo .tele { color: #24475F; }

/* brand logo images (uploaded originals) – dark wordmark on light header, white on hero / dark mode */
.logo img { height: 22px; width: auto; display: block; }
.logo .logo-white { display: none; }
.header.on-hero:not(.scrolled) .logo .logo-dark, :root[data-theme="dark"] .logo .logo-dark { display: none; }
.header.on-hero:not(.scrolled) .logo .logo-white, :root[data-theme="dark"] .logo .logo-white { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .logo-dark { display: none; } :root:not([data-theme="light"]) .logo .logo-white { display: block; } }
.header.scrolled .logo img { height: 19px; }
.footer .logo img { height: 24px; }
@media (max-width: 480px) { .logo img { height: 18px; } }

/* brand wordmark v3 – smaller, wide letter-spacing, navy #152945 / gold #C0A259 (matches the supplied style sample) */
.logo { font-family: "Poppins", "Sora", sans-serif; font-weight: 600; font-size: .92rem; letter-spacing: .26em; text-transform: uppercase; line-height: 1; gap: 0; }
.logo .tele { color: #152945; margin-right: .18em; }
.logo .home { color: #C0A259; }
.header.on-hero:not(.scrolled) .logo .tele, :root[data-theme="dark"] .logo .tele, .logo-light .tele { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .tele { color: #fff; } }
.header.scrolled .logo { font-size: .86rem; }
.footer .logo { font-size: 1rem; margin-bottom: 14px; }
@media (max-width: 480px) { .logo { font-size: .8rem; letter-spacing: .2em; } }

/* numbers strip v2 – four bordered blocks on navy */
.numbers { padding: clamp(36px, 5vw, 60px) 0; }
.numbers .grid { gap: 14px; }
.number { text-align: left; padding: 22px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); display: grid; grid-template-columns: 1fr; gap: 6px; }
.number b { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--gold-2); white-space: nowrap; }
.number > span { color: rgba(255,255,255,.72); font-size: .88rem; margin: 0; }
.number b span { font-size: inherit; color: inherit; display: inline; }
.number::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: 6px; }

/* service link tiles (was: pill list) */
.pill-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.pill-list li { display: contents; }
.pill-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: .86rem; transition: border-color .2s, color .2s; }
.pill-list a::after { content: "→"; color: var(--accent); font-weight: 700; opacity: .7; transition: transform .2s; }
.pill-list a:hover { border-color: var(--accent); color: var(--accent); transform: none; }
.pill-list a:hover::after { transform: translateX(3px); opacity: 1; }

/* trust bar – one bordered row with dividers */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; gap: 0; justify-content: space-between; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2); }
.trust span { flex: 1 1 auto; justify-content: center; padding: 6px 14px; border-left: 1px solid var(--line); }
.trust span:first-child { border-left: 0; }
.trust svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .trust { flex-wrap: wrap; justify-content: flex-start; } .trust span { flex: 1 1 45%; border-left: 0; justify-content: flex-start; } }
@media (min-width: 981px) { .pill-list { grid-template-columns: repeat(4, 1fr); } .trust { display: grid; grid-template-columns: repeat(5, 1fr); } .trust span { padding: 6px 8px; font-size: .72rem; } }

/* uniform page background: light #f6f5ee, dark #0b1220 – alternating section tints removed, cards/tables keep their own surface */
:root { --bg: #f6f5ee; --bg-2: #f6f5ee; --bg-3: #eeece3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0b1220; --bg-2: #0b1220; --bg-3: #141d31; --card: #111a2c; } }
:root[data-theme="dark"] { --bg: #0b1220; --bg-2: #0b1220; --bg-3: #141d31; --card: #111a2c; }
.numbers { background: var(--navy); }
:root[data-theme="dark"] .numbers { background: #111a2c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .numbers { background: #111a2c; } }

/* monochrome inline icons */
.ci { display: inline-flex; width: 18px; height: 18px; flex: none; color: var(--accent); vertical-align: middle; }
.ci svg { width: 18px; height: 18px; }
.footer .contact li { align-items: flex-start; gap: 12px; }
.footer .contact .ci { margin-top: 3px; color: var(--gold-2); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card .icon svg { width: 22px; height: 22px; }
.pkg-price { font-family: var(--font-head); font-weight: 700; color: var(--accent); margin: 4px 0 8px; font-size: 1.05rem; }

/* newsletter */
.newsletter { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.newsletter h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.newsletter p { color: var(--fg-2); margin: 0; }
.nl-form .form-ok { margin-top: 4px; }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } }

/* CTA band – same card style as the newsletter block */
.cta-band { background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.cta-band h2 { color: var(--fg); font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.cta-band p { color: var(--fg-2); }
.cta-band .btn-light { background: transparent; color: var(--fg); border-color: var(--line-2); backdrop-filter: none; }
.cta-band .btn-light:hover { border-color: var(--accent); color: var(--accent); }

/* hero chips – higher contrast */
.chip { background: rgba(11,18,32,.62); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: .8rem; font-weight: 700; padding: 8px 14px; backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.chip .live { width: 9px; height: 9px; }

/* reference showcase: main image + thumbnails, two blocks */
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.showcase { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); padding: 16px; }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.sc-head h3 { margin: 0 0 2px; font-size: 1.05rem; }
.sc-head p { margin: 0; font-size: .85rem; }
.sc-main { position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--bg-3); }
.sc-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.sc-main img.on { opacity: 1; }
.sc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(11,18,32,.55); color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s; }
.sc-nav:hover { background: var(--gold); color: var(--navy); }
.sc-prev { left: 10px; } .sc-next { right: 10px; }
.sc-count { position: absolute; right: 12px; bottom: 10px; font-size: .74rem; font-weight: 700; color: #fff; background: rgba(11,18,32,.55); padding: 4px 9px; border-radius: 999px; }
.sc-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.sc-thumbs button { padding: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; border: 2px solid transparent; opacity: .75; transition: opacity .2s, border-color .2s; }
.sc-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.sc-thumbs button:hover, .sc-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.sc-thumbs button[hidden] { display: none; }
@media (max-width: 800px) { .showcase-grid { grid-template-columns: 1fr; } .sc-thumbs { display: none; } .showcase { padding: 12px; } }

/* numbers strip v3 – same surface as the rest of the page (no navy band), card style like the other blocks */
.numbers, :root[data-theme="dark"] .numbers { background: var(--bg); color: var(--fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .numbers { background: var(--bg); } }
.numbers { padding: clamp(8px, 2vw, 24px) 0 clamp(36px, 5vw, 60px); }
.number { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.number b { color: var(--accent); }
.number > span { color: var(--fg-2); }
.number::before { background: var(--accent); }

/* gallery items beyond the first batch stay hidden until "more" is clicked */
.gallery a[hidden] { display: none !important; }

/* footer: managing director is the primary contact */
.footer .contact li.primary { padding: 10px 12px; margin: -4px 0 6px -12px; border-radius: 12px; background: rgba(192,162,89,.12); border: 1px solid rgba(192,162,89,.35); }
.footer .contact li.primary a { color: #fff; font-weight: 800; font-size: 1.05rem; }
.footer .contact li.primary small { color: var(--gold-2); font-weight: 700; }
.footer .contact li.primary .ci { color: var(--gold-2); }

/* compact timeline (schedule blocks) */
.timeline-compact li { padding: 10px 0; grid-template-columns: 36px 1fr; gap: 14px; }
.timeline-compact .n { width: 36px; height: 36px; font-size: .9rem; }
.timeline-compact::before { left: 17px; }
.timeline-compact h3 { font-size: .98rem; margin-bottom: 2px; }
.timeline-compact p { font-size: .9rem; color: var(--fg-2); margin: 0; }

/* check lists: label + text stack cleanly (no flex-column split when a <b> label is used) */
.checks li { display: block; position: relative; padding-left: 32px; }
.checks li::before { position: absolute; left: 0; top: 2px; }
.checks-list li { padding: 10px 0 10px 34px; border-bottom: 1px dashed var(--line); }
.checks-list li:last-child { border-bottom: 0; }
.checks-list li b { display: block; color: var(--fg); margin-bottom: 2px; }
.checks-list li span { display: block; color: var(--fg-2); font-size: .92rem; }
.checks-list li::before { top: 12px; }
.card > h3 { margin-bottom: 10px; }
.info-cards .card .tag { margin-bottom: 8px; }
.info-cards .card .icon { margin-bottom: 12px; }
.info-cards .checks { margin-top: 10px; gap: 8px; }
.info-cards .checks li { font-size: .92rem; color: var(--fg-2); }

/* structured info cards (auto-generated from text cards in the extra fragments) */
.card .card-lead { color: var(--fg); font-weight: 600; margin-bottom: 10px; }
.card .card-points { margin-top: 0; gap: 7px; }
.card .card-points li { font-size: .9rem; color: var(--fg-2); }
.card .card-points li::before { top: 3px; width: 18px; height: 18px; background-size: 11px; }
.card:has(.card-points) { border-top: 3px solid var(--gold); }

/* mobile typography – keep long sections proportionate */
@media (max-width: 640px) {
  h1 { font-size: 1.75rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1rem; }
  .lead { font-size: .95rem; } body { font-size: 15px; }
  .section-head { margin-bottom: 18px; }
  .checks-list li { padding: 8px 0 8px 30px; }
  .checks-list li span { font-size: .88rem; }
  .split { gap: 20px; }
}
.checks-list li span { line-height: 1.5; }

/* card "solution" line + calmer headings / timelines in the long content sections */
.card .card-solution { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); font-size: .9rem; color: var(--fg); }
.card .card-solution span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: 2px; }
.card:has(.card-solution) { border-top: 3px solid var(--gold); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.section-head .lead { font-size: .98rem; }
.timeline { max-width: 820px; }
.timeline li { padding: 10px 0; grid-template-columns: 38px 1fr; gap: 14px; }
.timeline .n { width: 38px; height: 38px; font-size: .9rem; }
.timeline::before { left: 18px; }
.timeline h3 { font-size: 1rem; margin-bottom: 2px; }
.timeline p, .timeline li > div > p { font-size: .92rem; color: var(--fg-2); margin: 0; }
.timeline .t { font-size: .72rem; }
.container.narrow .timeline, .split .timeline { max-width: none; }

/* two-column labelled list */
.checks-list.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
@media (max-width: 720px) { .checks-list.two { grid-template-columns: 1fr; } }
/* numbered, accented text cards in grids */
.grid { counter-reset: card; }
.grid > .card:has(.card-lead) { border-top: 3px solid var(--gold); padding-top: 26px; }
.grid > .card:has(.card-lead)::before { counter-increment: card; content: "0" counter(card); position: absolute; top: 12px; right: 16px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--accent); opacity: .8; }
.grid > .card:has(.card-lead) h3 { font-size: 1.02rem; }
.card .card-lead { font-size: .95rem; }

/* numbers strip v4 – same divided-bar pattern as the trust bar, larger */
.numbers .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.number, .number:first-child { background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.number:first-child { border-left: 0; }
.number::before { display: none; }
.number b { font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--accent); line-height: 1; }
.number > span { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2); }
@media (max-width: 900px) { .numbers .grid { grid-template-columns: repeat(2, 1fr); } .number { border-left: 0; padding: 18px 12px; } }

/* "3 ígéretünk" promise cards */
.card.promise { padding-top: 22px; }
.promise-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.promise-n { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--accent); }
.promise-head .icon { margin: 0; }
.card.promise h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card.promise > p { color: var(--fg); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.card.promise .checks { gap: 8px; }
.card.promise .checks li { font-size: .9rem; color: var(--fg-2); }

/* content tabs */
.tabs { margin-bottom: 20px; }
.tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel[hidden] { display: none !important; }

/* client portal block */
.portal .checks { margin-top: 14px; }
.portal .checks li { font-size: .92rem; }
.portal-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; background: var(--bg); }
.portal-card .icon { margin: 0 auto 12px; }
.portal-card h3 { margin-bottom: 6px; }
.portal-card .btn { margin-top: 12px; }

/* quote flow */
.q-step { padding: 28px 0; border-top: 1px solid var(--line); }
.q-step:first-child { border-top: 0; padding-top: 0; }
.q-choice .choice-card { min-height: 300px; cursor: pointer; text-align: left; border: 3px solid transparent; }
.q-choice .choice-card.is-on { border-color: var(--gold); }
.q-choice .choice-card h3 { color: #fff; font-size: 1.4rem; }
.q-seg label { align-items: flex-start; }
.q-seg label span b { display: block; }
.q-seg label span small { color: var(--fg-3); font-weight: 500; }
.q-summary li { font-size: .9rem; }
.q-summary h3 { font-size: 1.05rem; margin: 6px 0 10px; }
.footer .badge a { color: var(--gold-2); font-weight: 700; }

/* radios / checkboxes inside .field must not inherit the text-input sizing */
.field input[type="radio"], .field input[type="checkbox"], .seg input, .opt input { width: 18px; height: 18px; padding: 0; border: 0; box-shadow: none; flex: none; margin: 0; accent-color: var(--gold); }
.seg label { white-space: normal; }

/* styled native selects (custom chevron) */
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0a259' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
.field select option { background: var(--card); color: var(--fg); }
.seg label { font-size: .92rem; }

/* client portal – stylised preview card */
.portal-right { display: grid; gap: 14px; }
.portal-mock { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 16px 18px; font-size: .84rem; }
.pm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pm-code { font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; color: var(--fg-2); font-size: .78rem; }
.pm-status { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #1a7f4b; background: rgba(26,127,75,.12); padding: 4px 9px; border-radius: 999px; }
.pm-title { font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.pm-phases { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; color: var(--fg-3); }
.pm-phases li { display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-phases i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.pm-phases .done { color: var(--fg-2); } .pm-phases .done i { background: var(--gold); border-color: var(--gold); }
.pm-phases .now { color: var(--fg); font-weight: 700; } .pm-phases .now i { border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--card); background: var(--gold); }
.pm-phases b { color: var(--accent); }
.pm-bar { height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; margin-bottom: 14px; }
.pm-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 3px; }
.pm-feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.pm-feed li { display: flex; gap: 10px; align-items: flex-start; }
.pm-feed small { display: block; color: var(--fg-3); font-size: .74rem; }
.pm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex: none; }
.portal-cta { text-align: left; }

/* FAQ – two-column card accordion, heading left / lead right */
.container:has(> .accordion), .container.narrow:has(> .accordion) { max-width: var(--container); }
.section-head:has(+ .accordion) { max-width: none; margin-inline: 0; text-align: left; display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px 40px; align-items: end; }
.section-head:has(+ .accordion) .eyebrow { grid-column: 1 / -1; justify-content: flex-start; }
.section-head:has(+ .accordion) h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-head:has(+ .accordion) .lead, .section-head:has(+ .accordion) p { margin: 0; font-size: .95rem; }
.accordion { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.accordion details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 4px 20px; transition: border-color .2s; }
.accordion details[open] { border-color: var(--accent); }
.accordion summary { padding: 18px 0; font-size: .98rem; }
.accordion summary::after { width: 34px; height: 34px; border-color: var(--line-2); }
.accordion .a { padding: 0 0 18px; }
.accordion details:only-child, .accordion details.wide { grid-column: 1 / -1; }
@media (max-width: 820px) { .accordion { grid-template-columns: 1fr; } .section-head:has(+ .accordion) { grid-template-columns: 1fr; align-items: start; } }

/* ---------- header v4 – floating solid pill + contained rounded hero (matches the supplied sample) ---------- */
:root { --head-h: 96px; --hero-radius: 34px; }
.header { padding: 16px 0; }
.header-inner { border-radius: 999px; padding: 12px 12px 12px 30px; gap: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 40px -22px rgba(16,24,40,.35); backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--fg); }
.header.on-hero:not(.scrolled) .header-inner { background: var(--card); border-color: var(--line); color: var(--fg); }
.header.scrolled { padding: 8px 0; }
.header.scrolled .header-inner { padding: 8px 8px 8px 24px; box-shadow: 0 12px 34px -18px rgba(16,24,40,.35); }
.header .logo { font-size: 1.12rem; letter-spacing: .28em; }
.header.scrolled .logo { font-size: 1rem; }
.header.on-hero:not(.scrolled) .logo .tele { color: #152945; }
:root[data-theme="dark"] .header .logo .tele { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .header .logo .tele { color: #fff; } }
.nav { gap: 2px; }
.nav a, .nav .nav-btn { padding: 10px 16px; font-size: 1.02rem; font-weight: 500; border-radius: 999px; }
.header-actions { gap: 8px; }
.header .icon-btn { width: 44px; height: 44px; }
.header .phone { width: auto; padding: 0 22px; border: 1px solid var(--line-2, var(--line)); border-radius: 999px; font-weight: 700; font-size: 1rem; gap: 8px; letter-spacing: .01em; }
.header .phone svg { display: none; }
.header .cta { padding: 13px 26px; font-size: 1rem; }
.header .lang { padding: 9px 12px; font-size: .84rem; }
@media (max-width: 1240px) { .header .phone { width: 44px; padding: 0; } .header .phone .phone-text { display: none; } .header .phone svg { display: block; } .nav a, .nav .nav-btn { padding: 9px 12px; font-size: .95rem; } }
@media (max-width: 1080px) { .nav a, .nav .nav-btn { padding: 8px 10px; font-size: .9rem; } }
@media (max-width: 720px) { :root { --head-h: 84px; --hero-radius: 22px; } .header { padding: 10px 0; } .header-inner { padding: 8px 8px 8px 20px; } .header .logo { font-size: .95rem; } }

/* hero as a rounded, container-wide block under the header – page background shows around it, so the header follows the theme, not the photo */
.hero, .hero.hero-sub { width: min(100% - var(--gutter) * 2, var(--container)); margin: var(--head-h) auto 0; border-radius: var(--hero-radius); min-height: min(78svh, 760px); padding: 72px 0 64px; }
.hero.hero-sub { min-height: min(52svh, 520px); padding: 64px 0 56px; }
.hero > .container { width: min(100% - clamp(24px, 5vw, 72px) * 2, var(--container)); }
.hero .hero-chips { margin-bottom: 26px; }
@media (max-width: 720px) { .hero, .hero.hero-sub { min-height: auto; padding: 56px 0 44px; } .hero > .container { width: calc(100% - 40px); } }
/* SIP sub-site hero gets the same framing */
.sipsite #hero { width: min(100% - var(--gutter) * 2, var(--container)); margin: var(--head-h) auto 0; border-radius: var(--hero-radius); min-height: min(78svh, 760px); padding: 64px 5% 60px; }
.header .phone, .header .cta { white-space: nowrap; flex-shrink: 0; }
.nav a, .nav .nav-btn { padding: 10px 13px; font-size: .98rem; white-space: nowrap; }
@media (max-width: 1320px) { .header .phone { width: 44px; padding: 0; } .header .phone .phone-text { display: none; } .header .phone svg { display: block; } }
/* header + hero share a wider frame than the text columns (as in the sample) */
:root { --frame: 1360px; }
.header > .container { width: min(100% - var(--gutter) * 2, var(--frame)); max-width: none; }
.hero, .hero.hero-sub, .sipsite #hero { width: min(100% - var(--gutter) * 2, var(--frame)); }
.hero > .container { width: min(100% - clamp(24px, 5vw, 80px) * 2, var(--container)); margin-inline: auto; }
@media (max-width: 1240px) { .header .phone { display: none; } .nav a, .nav .nav-btn { padding: 9px 10px; font-size: .92rem; } .header .cta { padding: 11px 18px; font-size: .94rem; } .header-inner { padding-left: 22px; gap: 12px; } }
@media (max-width: 1080px) { .nav a, .nav .nav-btn { padding: 8px 8px; font-size: .88rem; } .header .logo { font-size: 1rem; letter-spacing: .22em; } }
/* header v4.1 – smaller, lighter nav text; thinner, slightly larger logo; no phone icon (number text stays on wide screens only) */
.header .logo { font-weight: 500; font-size: 1.18rem; letter-spacing: .34em; }
.header.scrolled .logo { font-size: 1.06rem; }
.nav a, .nav .nav-btn { font-size: .88rem; font-weight: 500; letter-spacing: .02em; padding: 9px 13px; color: var(--fg-2, var(--fg)); }
.nav a:hover, .nav .nav-btn:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-btn svg, .nav a svg { width: 12px; height: 12px; opacity: .6; }
.header .lang { font-size: .78rem; letter-spacing: .12em; }
.header .cta { padding: 12px 24px; font-size: .92rem; }
.header .phone { font-size: .9rem; font-weight: 600; }
@media (max-width: 1320px) { .header .phone { display: none; } }
@media (max-width: 1080px) { .nav a, .nav .nav-btn { font-size: .84rem; padding: 8px 9px; } }
/* wordmark v4 – thin Poppins Light, wide tracking, navy/gold (matches the supplied sample); same everywhere */
.logo, .footer .logo, .mobile-nav .logo { font-family: "Poppins", "Sora", sans-serif; font-weight: 300; letter-spacing: .34em; text-transform: uppercase; line-height: 1; }
.logo .tele { margin-right: 0; color: #152945; }
.logo .home { color: #C0A259; }
.header .logo { font-size: 1.22rem; font-weight: 300; }
.header.scrolled .logo { font-size: 1.1rem; }
.footer .logo { font-size: 1.15rem; }
.mobile-nav .logo .tele { color: #152945; }
@media (max-width: 480px) { .header .logo { font-size: 1rem; letter-spacing: .28em; } }
/* numbers v5 – navy rounded panel echoing the hero frame; icon + big number + small gold label, thin dividers */
.numbers { padding: clamp(24px, 4vw, 48px) 0; background: var(--bg); }
.numbers .container { max-width: var(--container); }
.numbers-panel { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 40px) clamp(8px, 2vw, 20px); box-shadow: 0 24px 60px -34px rgba(21,41,69,.6); }
.numbers-panel .number, .numbers-panel .number:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px clamp(16px, 2.5vw, 36px); border: 0; border-left: 1px solid rgba(255,255,255,.12); background: transparent; border-radius: 0; text-align: left; }
.numbers-panel .number:first-child { border-left: 0; }
.numbers-panel .number::before { display: none; }
.numbers-panel .num-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(192,162,89,.14); border: 1px solid rgba(192,162,89,.35); color: var(--gold-2, #C0A259); margin-bottom: 4px; }
.numbers-panel .num-ic svg { width: 20px; height: 20px; }
.numbers-panel .number b { font-size: clamp(2rem, 3.2vw, 2.6rem); color: #fff; line-height: 1; letter-spacing: -.02em; }
.numbers-panel .number b span { display: inline; }
.numbers-panel .number > span { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2, #C0A259); }
:root[data-theme="dark"] .numbers-panel { background: var(--card); border: 1px solid var(--line); box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .numbers-panel { background: var(--card); border: 1px solid var(--line); box-shadow: none; } }
@media (max-width: 900px) { .numbers-panel { grid-template-columns: repeat(2, 1fr); row-gap: 20px; padding: 24px 12px; } .numbers-panel .number:nth-child(3) { border-left: 0; } }
@media (max-width: 480px) { .numbers-panel .number b { font-size: 1.8rem; } }
/* numbers v6 – white cards with gold top edge and index (same family as the value cards) */
.numbers-panel { background: transparent; color: var(--fg); border-radius: 0; padding: 0; box-shadow: none; gap: 18px; counter-reset: num; }
:root[data-theme="dark"] .numbers-panel { background: transparent; border: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .numbers-panel { background: transparent; border: 0; } }
.numbers-panel .number, .numbers-panel .number:first-child { position: relative; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 26px 24px 24px; gap: 8px; box-shadow: var(--card-shadow); }
.numbers-panel .number::after { counter-increment: num; content: "0" counter(num); position: absolute; top: 12px; right: 16px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--accent); opacity: .8; }
.numbers-panel .num-ic { background: var(--accent-soft); border-color: transparent; color: var(--accent); width: 38px; height: 38px; }
.numbers-panel .number b { color: var(--fg); font-size: clamp(1.9rem, 3vw, 2.4rem); }
.numbers-panel .number > span { color: var(--fg-2); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; }
@media (max-width: 900px) { .numbers-panel { gap: 12px; padding: 0; } .numbers-panel .number, .numbers-panel .number:first-child, .numbers-panel .number:nth-child(3) { border-left: 1px solid var(--line); padding: 20px 16px; } }
/* numbers v6.1 – five compact cards */
.numbers-panel { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.numbers-panel .number, .numbers-panel .number:first-child { padding: 20px 18px 18px; gap: 6px; }
.numbers-panel .num-ic { width: 32px; height: 32px; border-radius: 10px; }
.numbers-panel .num-ic svg { width: 17px; height: 17px; }
.numbers-panel .number b { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.numbers-panel .number > span { font-size: .84rem; line-height: 1.35; }
.numbers-panel .number::after { font-size: .72rem; top: 10px; right: 14px; }
@media (max-width: 1000px) { .numbers-panel { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .numbers-panel { grid-template-columns: repeat(2, 1fr); } .numbers-panel .number:last-child { grid-column: 1 / -1; } }
/* services panel (about split) – replaces the photo: navy card listing the five services, no links */
.svc-panel { background: var(--navy); color: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 34px); position: relative; box-shadow: 0 24px 60px -34px rgba(21,41,69,.6); }
:root[data-theme="dark"] .svc-panel { background: var(--card); border: 1px solid var(--line); box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .svc-panel { background: var(--card); border: 1px solid var(--line); box-shadow: none; } }
.svc-head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.12); }
.svc-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2, #C0A259); }
.svc-sub { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; }
.svc-list li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.svc-list li:last-child { border-bottom: 0; }
.svc-list i { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(192,162,89,.14); border: 1px solid rgba(192,162,89,.35); color: var(--gold-2, #C0A259); }
.svc-list i svg { width: 19px; height: 19px; }
.svc-list b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: #fff; margin-bottom: 2px; }
.svc-list span { display: block; font-size: .86rem; color: rgba(255,255,255,.68); line-height: 1.45; }
.svc-foot { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.svc-foot b { font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-2, #C0A259); line-height: 1; }
.svc-foot small { font-size: .82rem; color: rgba(255,255,255,.7); }
/* timeline in two columns (house renovation order) – note box spans below */
.timeline-cols { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); }
.timeline-cols::before { display: none; }
.timeline-cols li { position: relative; padding: 16px 0; }
.timeline-cols li::before { content: ""; position: absolute; left: 27px; top: 62px; bottom: -10px; width: 2px; background: var(--line-2); }
.timeline-cols li:nth-last-child(-n+2)::before { display: none; }
@media (max-width: 760px) { .timeline-cols { grid-template-columns: 1fr; } .timeline-cols li:nth-last-child(2)::before { display: block; } }
.timeline-cols li::before { display: none; }
/* timeline-cols v2 – full-width grid of numbered step cards (4 per row), gold top edge like the other cards */
.timeline-cols { max-width: none; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.timeline-cols li { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.timeline-cols .n { width: 36px; height: 36px; font-size: .9rem; border-width: 2px; }
.timeline-cols h3 { font-size: 1rem; margin: 2px 0 0; }
.timeline-cols p { font-size: .9rem; line-height: 1.5; color: var(--fg-2); margin: 0; }
@media (max-width: 1000px) { .timeline-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .timeline-cols { grid-template-columns: 1fr; } }
/* compact services panel (renovation hub) – two-column check list */
.svc-grid { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.svc-grid li { padding: 10px 0; gap: 10px; align-items: center; }
.svc-grid li:nth-last-child(2) { border-bottom: 0; }
.svc-grid i { flex-basis: 26px; width: 26px; height: 26px; border-radius: 8px; }
.svc-grid i svg { width: 14px; height: 14px; }
.svc-grid span { font-size: .92rem; color: #fff; }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } .svc-grid li:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); } }
/* testimonials – upright quote text; social CTA strip under the cards */
.quote p { font-style: normal; }
.social-cta { margin-top: 28px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.social-cta p { margin: 0; color: var(--fg-2); max-width: 620px; }
.social-cta .btn svg { width: 18px; height: 18px; margin-right: 8px; }
@media (max-width: 720px) { .social-cta { flex-direction: column; align-items: flex-start; } }
/* CTA band v3 – same family as the newsletter card: gold eyebrow, longer copy, buttons on the right */
.cta-band { grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); }
.cta-band .eyebrow { margin-bottom: 10px; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.cta-band p { font-size: .98rem; line-height: 1.6; max-width: 640px; }
.cta-band .btn-row { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.cta-band .btn-row .btn { justify-content: center; padding: 14px 22px; font-size: 1rem; }
@media (max-width: 800px) { .cta-band .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }
/* header pill must not clip the dropdowns (overflow:hidden was there for the scroll-progress bar) */
.header-inner { overflow: visible; }
.header-inner::after { left: 28px; right: 28px; width: auto; max-width: calc(var(--progress, 0%) - 0px); border-radius: 2px; bottom: 6px; }
.nav .sub { z-index: 5; }
/* thank-you page (/visszaigazolas/) */
.thanks-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(46,204,113,.16); border: 1px solid rgba(46,204,113,.5); color: #d6ffe6; font-weight: 700; font-size: .88rem; margin-bottom: 16px; }
.thanks-badge svg { width: 16px; height: 16px; }
[data-variant][hidden] { display: none !important; }
.thanks-refs figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.thanks-refs.wide figure { aspect-ratio: 16/9; }
.thanks-refs.wide figure img { aspect-ratio: auto; }
.thanks-refs .tag { margin-bottom: 8px; display: inline-block; }
.thanks-attach a.gold { text-decoration: underline; text-underline-offset: 3px; }
/* service-area note – full-width highlighted box under the two settlement lists */
.area-note { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-left: 4px solid var(--gold); }
.area-note > div:first-child { flex: 1 1 420px; }
.area-note .btn-row { flex: 0 0 auto; margin: 0; }
/* CTA band v4 – same look as the highlighted note box (.area-note): beige, gold left edge, one line of copy, buttons right */
.cta-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 20px 24px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-left: 4px solid var(--gold); border-radius: var(--radius-lg); box-shadow: none; }
.cta-band > div:first-child { flex: 1 1 420px; }
.cta-band .eyebrow { display: none; }
.cta-band h2 { display: inline; font-family: inherit; font-size: 1rem; font-weight: 800; letter-spacing: 0; margin: 0; color: var(--fg); }
.cta-band h2::after { content: " "; }
.cta-band p { display: inline; font-size: 1rem; line-height: 1.6; color: var(--fg-2); max-width: none; margin: 0; }
.cta-band .btn-row { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 10px; margin: 0; }
.cta-band .btn-row .btn { padding: 10px 18px; font-size: .9rem; }
.cta-band .btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.cta-band .btn-primary:hover { filter: brightness(1.15); }
:root[data-theme="dark"] .cta-band .btn-primary { background: var(--gold); color: #152945; border-color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band .btn-primary { background: var(--gold); color: #152945; border-color: var(--gold); } }
section:has(> .container > .cta-band) { padding-top: clamp(16px, 3vw, 32px); padding-bottom: clamp(16px, 3vw, 32px); }
/* CTA band: bold title on its own line, the lighter sentence below */
.cta-band h2 { display: block; margin-bottom: 2px; }
.cta-band h2::after { content: none; }
.cta-band p { display: block; }
/* homepage hero v5 – kicker line instead of chips, ghost buttons, divided facts row (same language as the rest of the site) */
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 22px; }
.hk-tag { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2, #C0A259); }
.hk-tag::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.hk-status { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.86); padding-left: 22px; border-left: 1px solid rgba(255,255,255,.28); }
.hk-status .live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: ping 1.8s infinite; flex: none; }
.hero .btn-row { gap: 10px; }
.hero .btn-primary { padding: 14px 26px; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); padding: 14px 24px; font-weight: 600; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-facts { list-style: none; margin: 40px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border-top: 1px solid rgba(255,255,255,.2); max-width: 860px; }
.hero-facts li { display: flex; flex-direction: column; gap: 7px; padding: 0 clamp(16px, 2.4vw, 32px); border-left: 1px solid rgba(255,255,255,.2); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts b { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1; color: #fff; display: flex; align-items: center; gap: 6px; min-height: 1.75rem; }
.hero-facts b span { display: inline; }
.hero-facts .hf-star { font-style: normal; color: var(--gold-2, #C0A259); font-size: .8em; }
.hero-facts .hf-ic svg { width: 26px; height: 26px; color: var(--gold-2, #C0A259); }
.hero-facts li > span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2, #C0A259); max-width: 170px; line-height: 1.4; }
@media (max-width: 760px) {
  .hk-status { padding-left: 0; border-left: 0; }
  .hero-facts { grid-template-columns: 1fr 1fr; row-gap: 18px; margin-top: 28px; }
  .hero-facts li { padding: 0 14px; } .hero-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
.hero-facts { max-width: none; }
.hero-facts li > span { max-width: 210px; }
@media (max-width: 760px) { .hero-facts li > span { max-width: none; } }
/* homepage hero v6 – stronger kicker, compact one-line facts bar */
.hero-kicker { gap: 10px 14px; margin-bottom: 24px; }
.hk-tag { font-size: .8rem; letter-spacing: .14em; color: #E6CB86; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.hk-tag::before { width: 32px; }
.hk-status { font-size: .84rem; font-weight: 700; color: #fff; padding: 7px 14px 7px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(11,18,32,.55); }
.hero-facts { display: inline-flex; flex-wrap: wrap; align-items: center; grid-template-columns: none; gap: 0; margin: 34px 0 0; padding: 0; border-top: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(11,18,32,.5); max-width: 100%; }
.hero-facts li, .hero-facts li:first-child { display: block; padding: 11px 18px; border-left: 1px solid rgba(255,255,255,.16); font-size: .84rem; font-weight: 500; color: rgba(255,255,255,.82); white-space: nowrap; line-height: 1.3; }
.hero-facts li:first-child { border-left: 0; }
.hero-facts b { display: inline; font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: #fff; min-height: 0; margin-right: 3px; }
.hero-facts .hf-star { font-size: .85em; }
@media (max-width: 760px) {
  .hk-status { padding: 6px 12px; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; width: 100%; row-gap: 0; margin-top: 26px; }
  .hero-facts li, .hero-facts li:first-child { white-space: normal; padding: 10px 12px; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .hero-facts li:nth-child(-n+2) { border-top: 0; } .hero-facts li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .hero-facts b { display: block; margin: 0 0 2px; }
}
@media (min-width: 900px) {
  .hero-kicker { flex-wrap: nowrap; width: max-content; }
  .hero-facts { flex-wrap: nowrap; width: max-content; }
}
@media (max-width: 760px) {
  .hero-facts li, .hero-facts li:first-child, .hero-facts li:nth-child(odd) { padding: 10px 12px; }
  .hero-facts li:nth-child(odd) { border-left: 0; }
}
/* homepage hero v7 – every row fills the same content rectangle */
@media (min-width: 900px) {
  .hero:not(.hero-sub) .hero-content { max-width: 780px; }
  .hero:not(.hero-sub) .hero-kicker { width: 100%; justify-content: space-between; }
  .hero:not(.hero-sub) h1 { font-size: clamp(2.3rem, 3.9vw, 3.35rem); }
  .hero:not(.hero-sub) .lead { max-width: none; }
  .hero:not(.hero-sub) .hero-facts { display: flex; width: 100%; }
  .hero:not(.hero-sub) .hero-facts li, .hero:not(.hero-sub) .hero-facts li:first-child { flex: 1 1 auto; text-align: center; padding: 12px 14px; }
}
/* ---------- homepage hero v8 – editorial layout: left-aligned copy on a side gradient, white facts card docked over the hero edge ---------- */
.hero:not(.hero-sub) { min-height: min(84svh, 800px); padding: 84px 0 132px; align-items: center; }
.hero:not(.hero-sub) .hero-shade { background: linear-gradient(90deg, rgba(8,14,28,.9) 0%, rgba(8,14,28,.72) 38%, rgba(8,14,28,.28) 70%, rgba(8,14,28,.12) 100%), linear-gradient(180deg, rgba(8,14,28,0) 55%, rgba(8,14,28,.55) 100%); }
.hero:not(.hero-sub) .hero-content { max-width: var(--container); margin-inline: auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #E6CB86; margin-bottom: 22px; }
.hero-eyebrow::before { content: ""; width: 40px; height: 2px; border-radius: 2px; background: currentColor; }
.hero:not(.hero-sub) h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -.02em; max-width: 760px; margin-bottom: 22px; }
.hero:not(.hero-sub) h1 .swap { display: grid; margin-top: .06em; }
.hero:not(.hero-sub) .lead { max-width: 540px; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.65; color: rgba(255,255,255,.86); margin-bottom: 30px; }
.hero:not(.hero-sub) .btn-row { gap: 12px; }
.hero:not(.hero-sub) .btn-primary { padding: 16px 30px; font-size: 1rem; box-shadow: 0 14px 34px -14px rgba(192,162,89,.8); }
.hero:not(.hero-sub) .btn-ghost { padding: 15px 26px; border-color: rgba(255,255,255,.5); }
.hero-status { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.85); }
.hero-status .live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: ping 1.8s infinite; flex: none; }
.hero-dock { position: relative; z-index: 3; margin-top: -62px; padding: 0 var(--gutter); }
.hd-list { list-style: none; margin: 0 auto; padding: 26px 8px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 22px; box-shadow: 0 30px 70px -36px rgba(16,24,40,.5); width: min(100%, var(--container)); }
.hd-list li { display: flex; flex-direction: column; gap: 6px; padding: 4px clamp(16px, 2.6vw, 34px); border-left: 1px solid var(--line); }
.hd-list li:first-child { border-left: 0; }
.hd-list b { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.1; color: var(--fg); letter-spacing: -.01em; white-space: nowrap; }
.hd-list b span { display: inline; }
.hd-star { font-style: normal; color: var(--gold); font-size: .8em; }
.hd-list li > span { font-size: .86rem; color: var(--fg-2); line-height: 1.4; }
.hero-dock + section { padding-top: 56px !important; }
@media (max-width: 900px) {
  .hero:not(.hero-sub) { min-height: auto; padding: 56px 0 96px; }
  .hero:not(.hero-sub) .hero-shade { background: linear-gradient(180deg, rgba(8,14,28,.72) 0%, rgba(8,14,28,.62) 50%, rgba(8,14,28,.86) 100%); }
  .hero:not(.hero-sub) h1 .swap { display: inline-grid; margin-top: 0; }
  .hero-dock { margin-top: -50px; padding: 0 calc(var(--gutter) + 10px); }
  .hd-list { grid-template-columns: 1fr 1fr; padding: 8px; row-gap: 0; }
  .hd-list li { padding: 14px 14px; border-left: 0; border-top: 1px solid var(--line); }
  .hd-list li:nth-child(-n+2) { border-top: 0; } .hd-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .hd-list b { font-size: 1.25rem; white-space: normal; } .hd-list li > span { font-size: .8rem; }
}
/* hero v8.1 – smaller headline, larger status line, more compact facts card with gold values */
.hero:not(.hero-sub) h1 { font-size: clamp(2.1rem, 3.7vw, 3.2rem); max-width: 660px; margin-bottom: 18px; }
.hero-status { font-size: 1rem; font-weight: 600; color: #fff; margin-top: 24px; gap: 11px; }
.hero-status .live { width: 10px; height: 10px; }
.hero-dock { margin-top: -46px; }
.hd-list { padding: 16px 4px; border-radius: 18px; }
.hd-list li { gap: 3px; padding: 2px clamp(14px, 2.2vw, 28px); }
.hd-list b { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--accent); }
.hd-star { color: var(--accent); }
.hd-list li > span { font-size: .82rem; }
.hero:not(.hero-sub) { padding-bottom: 110px; }
@media (max-width: 900px) {
  .hero:not(.hero-sub) { padding-bottom: 84px; }
  .hero-dock { margin-top: -40px; }
  .hd-list { padding: 4px; } .hd-list li { padding: 11px 12px; } .hd-list b { font-size: 1.08rem; }
  .hero-status { font-size: .94rem; }
}
/* hero v8.2 – buttons in proportion with the smaller headline */
.hero:not(.hero-sub) .btn-row { gap: 10px; }
.hero:not(.hero-sub) .btn-primary, .hero:not(.hero-sub) .btn-ghost { padding: 12px 22px; font-size: .94rem; line-height: 1.2; min-height: 46px; }
.hero:not(.hero-sub) .btn-primary { box-shadow: 0 10px 26px -14px rgba(192,162,89,.75); }
.hero:not(.hero-sub) .btn-primary .arrow { width: 16px; height: 16px; }
.hero:not(.hero-sub) .lead { margin-bottom: 24px; }
.hero-status { margin-top: 20px; }
/* ---------- hero v8 on every page: left-aligned copy on a side gradient, gold eyebrow, compact buttons, docked facts card ---------- */
.hero.hero-sub { min-height: min(58svh, 560px); padding: 60px 0 60px; align-items: center; }
.hero.hero-sub.has-dock { padding-bottom: 104px; }
.hero.hero-sub .hero-shade { background: linear-gradient(90deg, rgba(8,14,28,.9) 0%, rgba(8,14,28,.72) 38%, rgba(8,14,28,.3) 70%, rgba(8,14,28,.14) 100%), linear-gradient(180deg, rgba(8,14,28,0) 55%, rgba(8,14,28,.55) 100%); }
.hero.hero-sub .hero-content { max-width: var(--container); margin-inline: auto; }
.hero .breadcrumb { margin-bottom: 18px; font-size: .8rem; opacity: .85; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #E6CB86; margin-bottom: 18px; }
.hero .eyebrow::before { content: ""; width: 40px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.hero.hero-sub h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.02em; max-width: 680px; margin-bottom: 16px; }
.hero.hero-sub h1 .swap { display: grid; margin-top: .06em; }
.hero.hero-sub .lead { max-width: 560px; font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.65; color: rgba(255,255,255,.86); margin-bottom: 24px; }
.hero .btn-row { gap: 10px; }
.hero .btn-row .btn { padding: 12px 22px; font-size: .94rem; line-height: 1.2; min-height: 46px; }
.hero .btn-row .btn-primary { box-shadow: 0 10px 26px -14px rgba(192,162,89,.75); }
.hero .btn-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); font-weight: 600; backdrop-filter: none; }
.hero .btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero .tag { margin-bottom: 4px; }
.hd-list:has(li:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .hero.hero-sub { min-height: auto; padding: 44px 0 48px; }
  .hero.hero-sub.has-dock { padding-bottom: 80px; }
  .hero.hero-sub .hero-shade { background: linear-gradient(180deg, rgba(8,14,28,.74) 0%, rgba(8,14,28,.62) 50%, rgba(8,14,28,.86) 100%); }
  .hero.hero-sub h1 .swap { display: inline-grid; margin-top: 0; }
}
/* category tag inside a hero reads as the same gold eyebrow */
.hero .hero-content > .tag { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; border-radius: 0; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #E6CB86; margin-bottom: 14px; }
.hero .hero-content > .tag::before { content: ""; width: 40px; height: 2px; border-radius: 2px; background: currentColor; }
.hero.hero-sub h1[style] { margin-top: 0 !important; }
@media (max-width: 900px) { .hero h1 .swap span { white-space: normal; } }
/* ---------- blog cards (homepage slider, blog page grid, related posts) ---------- */
.pcard { display: flex; flex-direction: column; background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; scroll-snap-align: start; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(16,24,40,.45); border-color: var(--line-2); }
.pcard figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; background: var(--line); }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.pcard:hover figure img { transform: scale(1.04); }
.pc-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.pc-meta { display: flex; align-items: baseline; gap: 12px; font-size: .78rem; min-width: 0; }
.pc-cat { color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pc-meta time { color: var(--fg-3); white-space: nowrap; flex: none; }
.pcard h3 { font-size: 1.05rem; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard p { font-size: .92rem; line-height: 1.55; color: var(--fg-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-more { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: .92rem; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pgrid[hidden], .pslider[hidden] { display: none !important; }
.filters.tabs.center { justify-content: center; }
.filters.tabs button small { font-weight: 600; opacity: .6; margin-left: 4px; }
.pslider { position: relative; margin-top: 6px; }
.ps-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; }
.ps-track::-webkit-scrollbar { display: none; }
.ps-nav { position: absolute; top: 42%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(16,24,40,.6); z-index: 2; transition: opacity .2s, transform .2s; }
.ps-nav svg { width: 20px; height: 20px; }
.ps-nav:hover { transform: translateY(-50%) scale(1.06); }
.ps-nav:disabled { opacity: .3; cursor: default; }
.ps-prev { left: -64px; } .ps-next { right: -64px; }
.ps-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; min-height: 8px; }
.ps-dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: width .25s var(--ease), background .25s; }
.ps-dots i.on { width: 28px; background: var(--gold); }
:root[data-theme="dark"] .ps-nav { background: var(--gold); color: #152945; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ps-nav { background: var(--gold); color: #152945; } }
@media (max-width: 1300px) { .ps-prev { left: -14px; } .ps-next { right: -14px; } }
@media (max-width: 1080px) { .ps-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); } .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .ps-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 560px) { .ps-track { grid-auto-columns: 86%; } .ps-nav { display: none; } .pgrid { grid-template-columns: 1fr; } }
h2.eyebrow { font-family: inherit; font-size: .8rem; line-height: 1.4; letter-spacing: .14em; }
/* About page – managing director as the primary contact */
.card.lead-contact { position: relative; border: 1.5px solid var(--gold); border-top: 3px solid var(--gold); background: linear-gradient(180deg, var(--accent-soft) 0%, var(--card) 46%); box-shadow: 0 22px 50px -30px rgba(192,162,89,.7); display: flex; flex-direction: column; }
.lc-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.lc-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2, #C0A259); }
.card.lead-contact p b { color: var(--fg); }
.lc-call { align-self: flex-start; margin-top: 14px; font-size: 1rem; padding: 12px 20px; gap: 9px; }
.lc-call svg { width: 17px; height: 17px; }
.lc-hours { display: block; margin-top: 10px; color: var(--fg-3); font-size: .82rem; }
.lc-hours a { color: var(--accent); }
:root[data-theme="dark"] .lc-badge { background: var(--gold); color: #152945; } :root[data-theme="dark"] .lc-badge::before { background: #152945; }
/* ---------- CTA band v5 – white card like the newsletter: copy + reassurance points left, navy action panel right ---------- */
.cta-band { display: grid; grid-template-columns: 1.45fr 1fr; align-items: stretch; gap: clamp(22px, 3.5vw, 48px); padding: clamp(24px, 3.4vw, 44px); background: var(--card); border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 24px; box-shadow: var(--card-shadow); }
.cta-band > div:first-child { flex: none; display: flex; flex-direction: column; justify-content: center; }
.cta-band .eyebrow { display: inline-flex; margin-bottom: 10px; }
.cta-band h2 { display: block; font-family: var(--font-head); font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 10px; color: var(--fg); }
.cta-band h2::after { content: none; }
.cta-band p { display: block; font-size: 1rem; line-height: 1.6; color: var(--fg-2); max-width: 560px; margin: 0; }
.cta-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.cta-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--fg); font-size: .84rem; font-weight: 600; }
.cta-points li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152945' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat; }
.cta-side { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(20px, 2.6vw, 30px); border-radius: 18px; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-side::after { content: ""; position: absolute; right: -70px; top: -70px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(192,162,89,.34), transparent 66%); pointer-events: none; }
.cta-side-top { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #E6CB86; position: relative; }
.cta-band .cta-side .btn-row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; position: relative; z-index: 1; }
.cta-band .cta-side .btn-row .btn { justify-content: center; padding: 14px 20px; font-size: 1rem; }
.cta-band .cta-side .btn-primary, :root[data-theme="dark"] .cta-band .cta-side .btn-primary { background: var(--gold); color: #152945; border-color: var(--gold); filter: none; }
.cta-band .cta-side .btn-primary:hover { filter: brightness(1.06); }
.cta-band .cta-side .btn-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cta-band .cta-side .btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.cta-side-foot { font-size: .82rem; color: rgba(255,255,255,.72); text-align: center; position: relative; }
.cta-side-foot a { color: #E6CB86; }
:root[data-theme="dark"] .cta-side { background: #0b1220; border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-side { background: #0b1220; border: 1px solid var(--line); } }
section:has(> .container > .cta-band) { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
/* quote CTA card under blog posts – same card as everywhere, aligned to the article column */
.post-cta { max-width: 900px; margin-top: 44px; }
/* ---------- quote form v2 (/ajanlatkeres/) – step cards, icon tiles, tidy fields ---------- */
.qform { display: grid; gap: 22px; }
.qform .q-step, .qform .q-step:first-child { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--card-shadow); }
.qform .q-step > .section-head { margin-bottom: 20px; }
.qform .q-step > .section-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 0; }
.qform .q-step > .section-head .eyebrow { margin-bottom: 8px; }
.q-label { font-weight: 700; font-size: .92rem; margin: 22px 0 10px; color: var(--fg); }
.q-step > .section-head + .q-label { margin-top: 0; }
.q-tiles { display: grid; gap: 12px; }
.q-tiles-3 { grid-template-columns: repeat(3, 1fr); } .q-tiles-2 { grid-template-columns: repeat(2, 1fr); }
.q-tile { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.q-tile:hover { border-color: var(--gold); transform: translateY(-1px); }
.q-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-tile i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--accent); transition: background .2s, color .2s, border-color .2s; }
.q-tile i svg { width: 21px; height: 21px; }
.q-tile span { display: block; min-width: 0; }
.q-tile b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--fg); line-height: 1.3; }
.q-tile b em { font-style: normal; font-family: var(--font-body, inherit); font-weight: 600; font-size: .82rem; color: var(--accent); white-space: nowrap; }
.q-tile small { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.45; color: var(--fg-2); font-weight: 500; }
.q-tile::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); transition: all .2s; }
.q-tile:has(input:checked) { border-color: var(--gold); background: var(--accent-soft); box-shadow: 0 10px 26px -18px rgba(192,162,89,.9); }
.q-tile:has(input:checked) i { background: var(--navy); color: #E6CB86; border-color: var(--navy); }
.q-tile:has(input:checked)::after { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152945' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.q-tile:has(input:focus-visible) { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.q-tile span { padding-right: 22px; }
.q-row-narrow { margin-top: 22px; max-width: 320px; }
.q-unit { position: relative; }
.q-unit input { padding-right: 46px; }
.q-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--fg-3); font-weight: 600; font-size: .9rem; pointer-events: none; }
.qform .form { display: grid; gap: 16px; }
.qform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform .field label { font-size: .88rem; }
.qform .field input, .qform .field select, .qform .field textarea { background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 1rem; }
.qform .field textarea { min-height: 130px; }
.q-file { padding: 10px 12px !important; font-size: .9rem !important; cursor: pointer; }
.q-file::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; cursor: pointer; }
.qform .btn-row { align-items: center; margin-top: 4px; }
.qform aside .card { border-radius: 18px; }
.q-summary { border-top: 3px solid var(--gold); }
.q-fees h3 { font-size: 1.02rem; margin-bottom: 10px; }
.q-fees p { font-size: .9rem; color: var(--fg-2); margin: 0; line-height: 1.55; }
.q-fee-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; font-size: .92rem; }
.q-fee-table td { padding: 8px 0; border-bottom: 1px solid var(--line); } .q-fee-table td:last-child { text-align: right; white-space: nowrap; color: var(--accent); }
/* consent / checkbox rows: checkbox + one text block (no stray gaps between words and the link) */
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.check > span { display: block; line-height: 1.5; }
.check input { margin-top: 3px; }
@media (max-width: 760px) { .q-tiles-3, .q-tiles-2 { grid-template-columns: 1fr; } .qform .row { grid-template-columns: 1fr; } .q-row-narrow { max-width: none; } }
/* area field: typing only – no browser stepper arrows under the "m²" suffix */
.q-unit input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.q-unit input[type="number"]::-webkit-outer-spin-button, .q-unit input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.q-row-narrow { max-width: 360px; grid-template-columns: 1fr !important; }
.q-row-narrow label { white-space: nowrap; }
/* ---------- theme audit fixes ---------- */
/* light theme: accent TEXT (eyebrows, links, highlighted values) in a slightly deeper gold for legibility; buttons keep --gold */
:root { --accent: #A07C24; }
/* footer is always navy: the wordmark's TELE must be white there in both themes */
.footer .logo .tele, .mobile-nav .logo-light .tele { color: #fff; }
/* portal preview status pill readable on the dark card */
:root[data-theme="dark"] .pm-status { color: #6ee7a0; background: rgba(46,204,113,.16); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pm-status { color: #6ee7a0; background: rgba(46,204,113,.16); } }

/* ==========================================================================
   MOBILE v1 – phone layout pass (header, menu, hero, trust, steps, tables, carousels)
   ========================================================================== */
.choice.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .choice.cols-3 { grid-template-columns: 1fr; } }
.mobile-nav .m-call, .mobile-nav .m-meta { display: none; }
.m-dots { display: none; }
.m-only { display: none; }
img.badge-fig, .split figure img.badge-fig { width: 260px; margin: 0 auto; aspect-ratio: 1; box-shadow: none; border-radius: 0; }

@media (max-width: 720px) {
  :root { --head-h: 72px; --hero-radius: 20px; }

  /* --- header pill: lighter, proportional --- */
  .header { padding: 8px 0; }
  .header-inner, .header.scrolled .header-inner { padding: 5px 6px 5px 18px; gap: 8px; }
  .header-inner::after { left: 20px; right: 20px; bottom: 3px; height: 1.5px; }
  .header .logo { font-size: .86rem; letter-spacing: .3em; }
  .header .header-actions { gap: 2px; }
  .header .icon-btn { width: 38px; height: 38px; }
  .header .icon-btn svg { width: 18px; height: 18px; }
  .header .lang { font-size: .7rem; padding: 7px 9px; border: 0; letter-spacing: .1em; }
  .header .burger { position: relative; display: inline-flex; }
  .header .burger span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px; margin: 0 0 0 -9px; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .header .burger span:nth-child(1) { transform: translateY(-6px); }
  .header .burger span:nth-child(3) { transform: translateY(6px); }
  body.nav-open .header .burger { background: var(--accent-soft); }
  body.nav-open .header .burger span:nth-child(1) { transform: rotate(45deg); }
  body.nav-open .header .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .header .burger span:nth-child(3) { transform: rotate(-45deg); }

  /* --- mobile menu: grouped cards --- */
  .mobile-nav { padding: calc(var(--head-h) + 10px) var(--gutter) 28px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
  .mobile-nav > a:not(.btn) { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--fg); }
  .mobile-nav > a:not(.btn)::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid var(--accent); border-top: 1.6px solid var(--accent); transform: rotate(45deg); flex: none; margin-left: 12px; }
  .mobile-nav > a:not(.btn):has(+ .m-sub) { border-radius: 14px 14px 0 0; border-bottom: 0; padding-bottom: 10px; }
  .mobile-nav .m-sub { margin-top: -8px; padding: 4px 10px 10px; background: var(--card); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .mobile-nav .m-sub a { display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--bg-2); font-family: var(--font-body); font-size: .86rem; font-weight: 500; line-height: 1.25; color: var(--fg-2); }
  .mobile-nav .m-sub a:first-child { display: none; }
  .mobile-nav .m-sub a:last-child:nth-child(even) { grid-column: 1 / -1; }
  .mobile-nav .btn { display: flex; margin-top: 8px; justify-content: center; text-align: center; padding: 13px 20px; font-size: 1rem; border-bottom: 0; }
  .mobile-nav .m-call { display: flex; margin-top: 0; background: transparent; border: 1px solid var(--line-2); color: var(--fg); font-weight: 600; }
  .mobile-nav .m-meta { display: block; margin: 8px 0 0; text-align: center; font-size: .8rem; color: var(--fg-3); }

  /* --- hero --- */
  .hero, .hero.hero-sub { padding: 40px 0 72px; min-height: 0; }
  .hero-eyebrow, .hero .hero-content > .tag { font-size: .66rem; letter-spacing: .14em; gap: 10px; margin-bottom: 16px; }
  .hero-eyebrow::before, .hero .hero-content > .tag::before { width: 24px; flex: none; }
  .hero:not(.hero-sub) h1, .hero.hero-sub h1 { font-size: 1.78rem; line-height: 1.12; margin-bottom: 14px; }
  .hero .lead { font-size: .96rem; line-height: 1.55; margin-bottom: 18px; }
  .hero .btn-row, .hero:not(.hero-sub) .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero .btn-row .btn { justify-content: center; text-align: center; padding: 11px 12px; font-size: .9rem; min-height: 44px; }
  .hero .btn-row .btn:first-child, .hero .btn-row .btn:last-child:nth-child(even) { grid-column: 1 / -1; }
  .hero-status { font-size: .78rem; margin-top: 14px; gap: 8px; }
  .hero-status .live { width: 8px; height: 8px; }
  .hero-dock { margin-top: -44px; padding: 0 calc(var(--gutter) + 8px); }
  .hd-list b { font-size: 1.02rem; } .hd-list li > span { font-size: .76rem; line-height: 1.3; }
  .hd-list li { padding: 10px 12px; }

  /* --- call button --- */
  .fab { right: 14px; bottom: 14px; }
  .fab a { width: 48px; height: 48px; }
  .fab svg { width: 20px; height: 20px; }

  /* --- trust strip: same ruled style as on desktop, as a tidy two-column list --- */
  .trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .trust span, .trust span:first-child { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; gap: 10px; padding: 13px 10px 13px 4px; background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: .68rem; line-height: 1.35; letter-spacing: .05em; }
  .trust span:nth-child(even) { border-left: 1px solid var(--line); padding-left: 14px; }
  .trust span svg { width: 18px; height: 18px; flex: none; }
  .trust span:last-child, .trust span:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .trust span:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }

  /* --- process steps: connected cards --- */
  .steps { grid-template-columns: 1fr; gap: 10px; position: relative; }
  .steps::before { display: block; content: ""; position: absolute; left: 35px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(192,162,89,.15)); }
  .step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--card-shadow); }
  .step .n { width: 40px; height: 40px; margin: 0; font-size: .95rem; background: var(--gold); border-color: var(--gold); color: var(--navy); }
  .step h3 { font-size: .98rem; margin: 0 0 2px; }
  .step p { font-size: .86rem; line-height: 1.45; }

  /* --- services panel --- */
  .svc-panel { padding: 20px 18px; border-radius: 20px; }
  .svc-panel .svc-sub { font-size: 1.05rem; line-height: 1.3; }
  .svc-list li { gap: 12px; padding: 11px 0; align-items: center; }
  .svc-list i { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
  .svc-list i svg { width: 17px; height: 17px; }
  .svc-list b { font-size: .94rem; margin: 0; }
  .svc-list span { font-size: .8rem; line-height: 1.4; }
  .svc-foot { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 8px; padding-top: 14px; }
  .svc-foot b { font-size: 1.3rem; }

  /* --- numbers --- */
  .numbers-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .numbers-panel .number, .numbers-panel .number:first-child { padding: 16px 14px 14px; min-width: 0; }
  .numbers-panel .number b { font-size: 1.3rem; overflow-wrap: anywhere; }
  .numbers-panel .number > span { font-size: .8rem; }

  /* --- swipeable rows (testimonials) --- */
  .m-swipe { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .m-swipe::-webkit-scrollbar { display: none; }
  .m-swipe > * { flex: 0 0 86%; scroll-snap-align: start; opacity: 1 !important; transform: none !important; }
  .m-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .m-dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--line-2); transition: width .25s var(--ease), background .25s; }
  .m-dots i.on { width: 18px; background: var(--gold); }

  /* --- image cards: edge-to-edge photo --- */
  .card.img-card { padding: 0; overflow: hidden; }
  .card.img-card .body { padding: 14px 16px 16px; }

  /* --- service image cards inside a swipe row --- */
  .m-swipe > .img-card { flex-basis: 78%; }
  .m-swipe > .img-card .body { padding: 14px 16px 16px; }
  .m-swipe > .img-card h3 { font-size: 1rem; }
  .m-swipe > .img-card p { font-size: .88rem; }
  .m-dots:has(i:nth-child(9)) { gap: 5px; } .m-dots:has(i:nth-child(9)) i { width: 5px; height: 5px; } .m-dots:has(i:nth-child(9)) i.on { width: 14px; }

  /* --- choice cards --- */
  .choice-card { min-height: 260px; }
  .choice-card .body { padding: 20px; }
  .choice-card h2, .choice-card h3 { font-size: 1.25rem; }
  .choice-card p { font-size: .9rem; }

  /* --- short lists (districts, towns) in two columns --- */
  .list-cols.m-2 { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .list-cols.m-2 li { padding: 7px 0; font-size: .86rem; gap: 6px; }

  /* --- link lists: two columns --- */
  .pill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pill-list a { padding: 11px 12px; font-size: .84rem; line-height: 1.25; border-radius: 12px; }

  /* --- certificate badge --- */
  img.badge-fig, .split figure img.badge-fig { width: 120px; }

  /* --- portal mock --- */
  .pm-phases { grid-template-columns: repeat(2, 1fr); }
  .pm-phases li { white-space: normal; overflow: visible; line-height: 1.25; }

  /* --- tables become stacked cards (labels come from the header row, see main.js) --- */
  .table-wrap { overflow: visible; border: 0; background: none; box-shadow: none; border-radius: 0; }
  table.stack, table.cmp.stack { display: block; min-width: 0; width: 100%; border: 0; background: none; }
  table.stack thead { display: none; }
  table.stack tbody { display: grid; gap: 10px; }
  table.stack tr { display: block; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--card-shadow); }
  table.stack tr > *, table.cmp.stack tr > * { display: block; padding: 6px 0; border: 0; background: none; font-size: .9rem; line-height: 1.5; text-align: left; white-space: normal; }
  table.stack tr > :first-child, table.pkg-table.stack th[scope="row"] { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--fg); padding: 0 0 9px; margin-bottom: 4px; border-bottom: 1px solid var(--line); background: none; }
  table.stack tr > :not(:first-child)[data-label]::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  table.stack td.hl, table.cmp.stack td.hl { margin-top: 6px; padding: 9px 12px; border-radius: 10px; background: var(--accent-soft); font-weight: 600; }
  table.pkg-table.stack td, table.pkg-table.stack td.hl { font-size: .86rem; font-weight: 400; }
  table.stack td.hl:first-child { margin: 0 0 4px; }
}
