/* =========================================================================
   Edventa — "Night route" theme
   Dark, liquid-glass look layered over style.css. Loaded only on the public
   site (includes/header.php), so the admin panel keeps its light styling.
   To go back to the light theme, remove the theme.css <link> in header.php.

   Colour swap: change the --t-* values below. A green/gold version would be
   e.g. --t-bg:#04170f; --t-bg-2:#062a1d; --t-acc:#e3a544; --t-acc-2:#f0c179;
   --t-glow-1:rgba(10,108,77,.55); --t-glow-2:rgba(227,165,68,.22).
   ========================================================================= */

:root {
  --t-bg:        #0b0826;            /* page background */
  --t-bg-2:      #120c38;            /* deeper bands, footer */
  --t-glass:     rgba(255,255,255,.045);
  --t-glass-2:   rgba(255,255,255,.08);
  --t-line:      rgba(255,255,255,.10);
  --t-line-2:    rgba(255,255,255,.18);
  --t-text:      #ecebff;
  --t-muted:     #a9a4d8;
  --t-faint:     #7d78ad;
  --t-acc:       #36c0ee;            /* logo cyan — buttons, numbers, labels */
  --t-acc-2:     #8fe0ff;
  --t-acc-ink:   #06142f;            /* text on accent */
  --t-violet:    #6b54ee;
  --t-glow-1:    rgba(107,84,238,.55);
  --t-glow-2:    rgba(54,192,238,.20);

  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono:  "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --brand-font: "Poppins", var(--sans);

  --hdr-h: 136px;
}

/* ------------------------------------------------------------ canvas -- */
html { background: var(--t-bg); }
body.theme-night {
  background: transparent;
  color: var(--t-muted);
  font-family: var(--sans);
}
body.theme-night::before {          /* soft coloured light behind everything */
  content: ""; position: fixed; inset: -20vh -10vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vw 38vw at 82% 14%, var(--t-glow-2), transparent 62%),
    radial-gradient(48vw 42vw at 8% 40%, var(--t-glow-1), transparent 64%),
    radial-gradient(40vw 30vw at 60% 96%, rgba(107,84,238,.28), transparent 60%),
    linear-gradient(180deg, #0d0930 0%, var(--t-bg) 45%, #08061d 100%);
}
body.theme-night::after {           /* faint grain so the dark isn't flat */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3px 3px;
}
.theme-night main, .theme-night .site-footer, .theme-night .cta-strip { position: relative; z-index: 1; }

.theme-night a { color: var(--t-acc-2); }
.theme-night a:hover { color: #fff; }
.theme-night h1, .theme-night h2, .theme-night h3, .theme-night h4 {
  font-family: var(--serif); color: #fff; font-weight: 700; letter-spacing: -.012em;
  font-optical-sizing: auto;
}
.theme-night h1 { font-size: clamp(2.4rem, 1.4rem + 3.3vw, 3.75rem); line-height: 1.07; }
.theme-night h2 { font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.14; }
.theme-night h3 { line-height: 1.25; }
.theme-night .lead { color: var(--t-muted); }
.theme-night hr { border-top-color: var(--t-line); }
.theme-night ::selection { background: var(--t-acc); color: var(--t-acc-ink); }

/* mono labels: "— WHO WE ARE" */
.theme-night .eyebrow {
  font-family: var(--mono); font-weight: 700; font-size: .7rem; letter-spacing: .22em;
  color: var(--t-acc); margin-bottom: 16px;
}
.theme-night .eyebrow::before { width: 22px; height: 1px; background: currentColor; }
.theme-night .section-head.center .eyebrow, .theme-night .section-head:not(.left) .eyebrow { justify-content: center; }

/* headings rise into view (class added by theme.js) */
.t-rise { clip-path: inset(0 0 100% 0); transform: translateY(.35em); transition: clip-path .9s cubic-bezier(.2,.7,.1,1), transform .9s cubic-bezier(.2,.7,.1,1); }
.t-rise.in { clip-path: inset(-.2em -.2em -.3em -.2em); transform: none; }
@media (prefers-reduced-motion: reduce) { .t-rise { clip-path: none; transform: none; transition: none; } }

/* sections lose their light fills — the canvas shows through */
.theme-night .section-soft, .theme-night .section-tint, .theme-night .section-dark { background: transparent; color: inherit; }
.theme-night .section-dark .lead, .theme-night .section-dark p { color: var(--t-muted); }

/* ------------------------------------------------------------ buttons -- */
.theme-night .btn { font: 600 .93rem/1 var(--sans); padding: 14px 24px; border-radius: 999px; }
.theme-night .btn-lg { padding: 17px 28px; font-size: .98rem; }
.theme-night .btn-sm { padding: 10px 18px; font-size: .86rem; }
.theme-night .btn-primary, .theme-night .btn-accent, .theme-night .btn-light {
  --btn-bg: linear-gradient(135deg, var(--t-acc-2), var(--t-acc));
  --btn-fg: var(--t-acc-ink); --btn-bd: transparent;
  background: linear-gradient(135deg, var(--t-acc-2), var(--t-acc)); border-color: transparent; color: var(--t-acc-ink);
  box-shadow: 0 10px 30px -10px rgba(54,192,238,.55), inset 0 1px 0 rgba(255,255,255,.5);
}
.theme-night .btn-primary:hover, .theme-night .btn-accent:hover, .theme-night .btn-light:hover {
  color: var(--t-acc-ink); background: linear-gradient(135deg, #b5ecff, var(--t-acc-2));
  box-shadow: 0 16px 34px -10px rgba(54,192,238,.7), inset 0 1px 0 rgba(255,255,255,.6);
}
.theme-night .btn-outline, .theme-night .btn-ghost-light {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bd: var(--t-line-2);
  background: rgba(255,255,255,.02); color: #fff; border-color: var(--t-line-2);
}
.theme-night .btn-outline:hover, .theme-night .btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.32); }

/* ---------------------------------------------------- liquid-glass header */
.theme-night .site-header { transition: transform .35s ease; }
.theme-night .site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.theme-night .glass-bar {
  isolation: isolate; border-radius: 26px; background: none; border: 0;
  box-shadow:
    0 8px 32px -8px rgba(0,0,0,.45), 0 2px 10px -2px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.06),
    inset 1px 0 0 rgba(255,255,255,.1), inset -1px 0 0 rgba(255,255,255,.1);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.theme-night .site-header.is-stuck .glass-bar { background: none; }
.glass-bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.glass-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(107,84,238,.52) 0%, rgba(32,22,96,.70) 45%, rgba(12,8,40,.80) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.9);
  backdrop-filter: blur(14px) saturate(1.9);
  backdrop-filter: blur(14px) saturate(1.9) url(#edWater);   /* water ripple where supported */
}
.glass-bg::after {                 /* sheen + edge light */
  content: ""; position: absolute; inset: 0; mix-blend-mode: screen;
  background:
    radial-gradient(120% 90% at 12% -20%, rgba(255,255,255,.20), transparent 55%),
    radial-gradient(90% 70% at 88% 120%, rgba(143,224,255,.16), transparent 60%),
    linear-gradient(105deg, transparent 30%, rgba(255,255,255,.10) 45%, transparent 58%);
  background-size: 100% 100%, 100% 100%, 250% 100%;
  animation: sheen 9s ease-in-out infinite;
}
.glass-caustic {                    /* slowly drifting light, like light through water */
  position: absolute; inset: -40%; mix-blend-mode: screen; opacity: .9;
  background:
    radial-gradient(closest-side at 20% 40%, rgba(143,224,255,.20), transparent 70%),
    radial-gradient(closest-side at 72% 65%, rgba(107,84,238,.30), transparent 70%),
    radial-gradient(closest-side at 45% 15%, rgba(255,255,255,.10), transparent 70%);
  animation: caustic 18s ease-in-out infinite alternate;
}
.site-header.is-stuck .glass-bg::before { background: linear-gradient(155deg, rgba(80,62,200,.70) 0%, rgba(26,18,80,.88) 45%, rgba(10,7,34,.92) 100%); }
@keyframes sheen { 0%, 100% { background-position: 0 0, 0 0, 120% 0; } 50% { background-position: 0 0, 0 0, -20% 0; } }
@keyframes caustic { 0% { transform: translate3d(-6%, -4%, 0) rotate(0deg); } 100% { transform: translate3d(6%, 5%, 0) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .glass-bg::after, .glass-caustic { animation: none; } }

.theme-night .topbar { border-bottom: 0; min-height: 46px; padding: 0 26px; font-size: .82rem; }
.glass-divider { height: 1px; margin: 0 18px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18) 20%, rgba(255,255,255,.18) 80%, transparent); }
.theme-night .glass-bar a { color: #fff; }
.theme-night .topbar-contact a { color: rgba(255,255,255,.82); }
.theme-night .topbar-contact .icon, .theme-night .header-phones .icon { color: var(--t-acc-2); }
.theme-night .tb-phone span:last-child { font-weight: 500; color: rgba(255,255,255,.9); }
.theme-night .branch-tag {
  font-family: var(--mono); font-weight: 700; font-size: .58rem; letter-spacing: .06em;
  min-width: 0; height: auto; padding: 3px 7px; border-radius: 5px;
  background: linear-gradient(135deg, var(--t-acc-2), var(--t-acc)); color: var(--t-acc-ink); box-shadow: none;
}
.theme-night .topbar-socials a { width: 26px; height: 26px; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.2); color: #fff; }
.theme-night .header-inner { min-height: 72px; padding: 0 22px 0 26px; }
.theme-night .brand-text strong { font-family: var(--brand-font); }
.theme-night .brand-text small { font-family: var(--mono); font-weight: 400; letter-spacing: .14em; font-size: .56rem; }
.theme-night .nav-list > li > a { font-family: var(--sans); font-weight: 500; font-size: .93rem; color: rgba(255,255,255,.92); padding: 9px 13px; }
.theme-night .nav-list > li > a:hover, .theme-night .nav-list > li.is-active > a {
  background: rgba(255,255,255,.10); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff;
}
.theme-night .header-phones { border-left: 0; padding-left: 8px; gap: 4px; }
.theme-night .header-phones a { font-family: var(--sans); font-size: .84rem; }
.theme-night .btn-glass { font-family: var(--sans); }

/* dark glass dropdown with country codes */
.theme-night .dropdown {
  background: rgba(14,10,46,.88); border: 0; border-radius: 18px; padding: 8px;
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.05);
}
.theme-night .glass-bar .dropdown a { display: flex; justify-content: space-between; align-items: center; gap: 18px; color: rgba(255,255,255,.88); font-size: .9rem; padding: 9px 12px; border-radius: 10px; }
.theme-night .glass-bar .dropdown a:hover { background: rgba(255,255,255,.08); color: #fff; }
.dd-code { font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; color: var(--t-faint); }

/* scroll progress line */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 80; pointer-events: none;
  background: linear-gradient(90deg, var(--t-violet), var(--t-acc), var(--t-acc-2));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(54,192,238,.7);
}

/* ------------------------------------------------- decorative route line */
.route { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-base { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.route-fill { fill: none; stroke: var(--t-acc); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(54,192,238,.8)); }
.route-head { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--t-acc-2); box-shadow: 0 0 0 4px rgba(54,192,238,.25), 0 0 18px rgba(54,192,238,.9); opacity: 0; transition: opacity .3s; }
.route-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; }
.route-node i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: var(--t-bg); transition: background .3s, border-color .3s, box-shadow .3s; }
.route-node b { position: absolute; top: -22px; font: 700 .58rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap; }
.route-node.is-start b { top: 20px; }
.route-node.on i { background: var(--t-acc); border-color: var(--t-acc-2); box-shadow: 0 0 14px rgba(54,192,238,.9); }
@media (max-width: 900px) { .route { display: none; } }

/* ---------------------------------------------------------------- hero -- */
.theme-night .hero { background: transparent; color: var(--t-text); overflow: visible; }
.theme-night .hero::after { display: none; }
.theme-night .hero-inner { grid-template-columns: 1.02fr .98fr; gap: 56px; padding-bottom: 70px; }
.theme-night .hero h1 { color: #fff; margin-bottom: .45em; }
.theme-night .hero h1 .hl { color: var(--t-acc-2); font-style: italic; font-weight: 600; }
.theme-night .hero p.lead { color: var(--t-muted); font-size: 1.06rem; max-width: 50ch; }
.theme-night .hero-badges { margin: 22px 0 26px; gap: 8px; }
.theme-night .badge { background: rgba(255,255,255,.04); border-color: var(--t-line-2); color: rgba(255,255,255,.85); font-weight: 500; font-size: .78rem; padding: 7px 13px; }
.theme-night .badge .icon { color: var(--t-acc-2); }

.board {
  border-radius: 22px; overflow: hidden; color: var(--t-text);
  background: linear-gradient(170deg, rgba(20,14,60,.82), rgba(10,7,32,.9));
  border: 1px solid var(--t-line);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.board-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--t-line); font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.board-live { display: inline-flex; align-items: center; gap: 9px; color: var(--t-acc-2); font-weight: 700; }
.board-live i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 3px rgba(62,224,143,.2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(62,224,143,0); } }
.board-clock { color: var(--t-faint); letter-spacing: .08em; }
.board-table { width: 100%; border-collapse: collapse; }
.board-table th { font: 400 .6rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t-faint); text-align: left; padding: 14px 22px 10px; }
.board-table td { padding: 11px 22px; border-top: 1px solid rgba(255,255,255,.06); font-size: .95rem; }
.board-table tbody tr { transition: background .2s; }
.board-table tbody tr:hover { background: rgba(255,255,255,.03); }
.board-table td a { color: #fff; font-weight: 600; }
.board-code { display: inline-grid; place-items: center; min-width: 48px; padding: 8px 6px; border-radius: 8px; border: 1px solid var(--t-line-2); background: rgba(255,255,255,.04); font: 700 .7rem/1 var(--mono); color: var(--t-acc-2); }
.board-intake { font-family: var(--mono); font-size: .76rem !important; color: var(--t-muted); }
.board-status { display: inline-block; padding: 6px 14px; border-radius: 999px; font: 700 .6rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6cf0b0; background: rgba(62,224,143,.10); border: 1px solid rgba(62,224,143,.35); }
.board-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--t-line); font-size: .76rem; color: var(--t-faint); flex-wrap: wrap; }
.board-foot a { color: var(--t-acc-2); font-weight: 600; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; }

.scroll-cue { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; padding-bottom: 34px; font: 400 .6rem/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--t-faint); }
.scroll-cue span { width: 1px; height: 30px; background: linear-gradient(var(--t-acc), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* -------------------------------------------------- stats band + marquee */
.theme-night .stats-band { position: relative; z-index: 1; }
.theme-night .stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--t-line); border-radius: 18px; overflow: hidden;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.theme-night .stats-band .stats { border-radius: 0; border-inline: 0; }
.theme-night .stats-band > .container { max-width: none; padding: 0; }
.theme-night .stats-band .stats { max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.theme-night .stat { background: none; border: 0; box-shadow: none; border-radius: 0; text-align: left; padding: 26px 26px; }
.theme-night .stat + .stat { border-left: 1px solid var(--t-line); }
.theme-night .stat strong { font-family: var(--serif); font-weight: 700; color: var(--t-acc-2); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -.01em; line-height: 1.1; }
.theme-night .stat span { font-size: .8rem; color: var(--t-muted); }
.marquee { overflow: hidden; border-bottom: 1px solid var(--t-line); background: rgba(5,3,20,.35); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 22px; padding: 14px 0; animation: marquee 48s linear infinite; font: 400 .72rem/1 var(--mono); letter-spacing: .16em; color: rgba(255,255,255,.72); }
.marquee-track i { font-style: normal; color: var(--t-acc); font-size: .7rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --------------------------------------------------- stacked process cards */
.stack-list { display: grid; gap: 18px; }
.stack-card {
  position: sticky; top: calc(28px + var(--i) * 10px);
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 22px;
  padding: 28px 30px; border-radius: 20px; color: var(--t-muted);
  background: linear-gradient(170deg, #17113f, #0d0a2a);
  border: 1px solid var(--t-line-2);
  box-shadow: 0 -10px 40px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
  transition: border-color .2s, transform .2s;
}
.theme-night a.stack-card, .theme-night a.card, .theme-night a.service-card, .theme-night a.card:hover, .theme-night a.service-card:hover { color: var(--t-muted); }
.stack-card:hover { border-color: rgba(143,224,255,.45); color: var(--t-muted); }
.stack-num { font: 700 clamp(2.1rem, 1.6rem + 1.4vw, 2.7rem)/1 var(--serif); color: var(--t-acc-2); }
.stack-body strong { display: block; font: 700 1.2rem/1.3 var(--serif); color: #fff; margin-bottom: 6px; }
.stack-body span { display: block; font-size: .92rem; max-width: 62ch; }
.stack-tag { font: 400 .6rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); border: 1px solid var(--t-line-2); border-radius: 999px; padding: 8px 12px; white-space: nowrap; }

/* ------------------------------------------------------- glass surfaces */
.theme-night .card, .theme-night .service-card, .theme-night .person, .theme-night .branch,
.theme-night .quote-card, .theme-night .widget, .theme-night .form-card, .theme-night .mini-card,
.theme-night .num-card, .theme-night .office-card {
  background: linear-gradient(165deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  border: 1px solid var(--t-line); border-radius: 18px; color: var(--t-muted);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.theme-night .card:hover, .theme-night .service-card:hover, .theme-night .person:hover,
.theme-night .num-card:hover, .theme-night .office-card:hover, .theme-night .mini-card:hover {
  border-color: rgba(143,224,255,.32); box-shadow: 0 30px 60px -28px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.1);
}
.theme-night .card-media { background: rgba(255,255,255,.04); }
.theme-night .card-media img { opacity: .9; }
.theme-night .card-body h3, .theme-night .card-body h3 a { color: #fff; }
.theme-night .card-text, .theme-night .service-card p, .theme-night .feature p, .theme-night .person p { color: var(--t-muted); }
.theme-night .card-link { color: var(--t-acc-2); }
.theme-night .meta { color: var(--t-faint); }
.theme-night .tag, .theme-night .card-media .tag { background: rgba(10,7,32,.78); color: #fff; border: 1px solid var(--t-line-2); font-family: var(--mono); font-weight: 700; font-size: .6rem; letter-spacing: .12em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.theme-night .tag-accent { color: var(--t-acc-2); }
.theme-night .service-card h3, .theme-night .person h3 { color: #fff; }
.theme-night .service-icon, .mini-icon {
  background: linear-gradient(140deg, rgba(107,84,238,.55), rgba(54,192,238,.35)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.theme-night .feature .fi { background: rgba(255,255,255,.06); color: var(--t-acc-2); }
.theme-night .tick-list li { color: var(--t-muted); }
.theme-night .tick-list li::before {
  background-color: rgba(54,192,238,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fe0ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}
.theme-night .split-media img { opacity: .92; border: 1px solid var(--t-line); }
.theme-night .person img { border-color: rgba(255,255,255,.12); }

/* home: who we are */
.pull-quote { margin: 26px 0 30px; padding: 20px 24px; border-left: 2px solid var(--t-acc); background: rgba(255,255,255,.04); border-radius: 0 14px 14px 0; font: italic 500 1.08rem/1.55 var(--serif); color: #fff; }
.mini-cards { display: grid; gap: 14px; }
.mini-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; }
.mini-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; }
.mini-card h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.mini-card p { font-size: .88rem; margin: 0; color: var(--t-faint); }

/* home: numbered why-cards */
.num-card { position: relative; overflow: hidden; padding: 26px 24px 28px; }
.num-bg { position: absolute; right: 14px; top: 4px; font: 700 4.4rem/1 var(--serif); color: rgba(255,255,255,.05); pointer-events: none; }
.num-card .mini-icon { margin-bottom: 18px; }
.num-card h3 { font-size: 1.12rem; }
.num-card p { font-size: .9rem; margin: 0; }

/* home + branches: office cards */
.office-card { padding: 26px 26px 22px; }
.office-kicker { font: 700 .6rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--t-acc); }
.office-card h3 { font-size: 1.3rem; margin: 10px 0 14px; }
.office-card ul { list-style: none; padding: 0; margin: 0; }
.office-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 9px; color: var(--t-muted); }
.office-card li .icon { margin-top: 4px; color: var(--t-acc-2); }
.office-card a { color: var(--t-muted); }
.office-card a:hover { color: #fff; }

/* FAQ */
.faq-wrap { max-width: 900px; }
.theme-night .accordion { background: none; border: 0; border-radius: 0; overflow: visible; }
.theme-night .acc-item { border-bottom: 1px solid var(--t-line); }
.theme-night .acc-item + .acc-item { border-top: 0; }
.theme-night .acc-head { font: 600 1.06rem/1.4 var(--serif); color: #fff; padding: 20px 4px; }
.theme-night .acc-head::after { color: var(--t-acc-2); font-family: var(--sans); font-weight: 300; }
.theme-night .acc-body { color: var(--t-muted); padding: 0 4px 22px; max-width: 70ch; }

/* testimonials */
.theme-night .quote-card p { color: #fff; font-family: var(--serif); }
.theme-night .quote-card .icon-quote { color: var(--t-acc); }
.theme-night .quote-who strong { color: #fff; }
.theme-night .quote-who span { color: var(--t-faint); font-size: .82rem; }

/* ---------------------------------------------------------- page heads -- */
.theme-night .page-head { background: transparent; text-align: center; padding-bottom: clamp(48px, 6vw, 80px); }
.theme-night .page-head::after { display: none; }
.theme-night .page-head h1 { color: #fff; max-width: 18ch; margin-inline: auto; }
.theme-night .page-head p { color: var(--t-muted); margin-inline: auto; max-width: 60ch; }
.theme-night .breadcrumb { justify-content: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--t-faint); margin-bottom: 18px; }
.theme-night .breadcrumb a { color: rgba(255,255,255,.75); }
.theme-night .breadcrumb li + li::before { content: "›"; }

/* ------------------------------------------------------- forms, tables -- */
.theme-night .field label { color: #fff; font-weight: 500; }
.theme-night .field input, .theme-night .field select, .theme-night .field textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--t-line-2); color: #fff; border-radius: 12px;
}
.theme-night .field input::placeholder, .theme-night .field textarea::placeholder { color: var(--t-faint); }
.theme-night .field input:focus, .theme-night .field select:focus, .theme-night .field textarea:focus {
  border-color: var(--t-acc); box-shadow: 0 0 0 4px rgba(54,192,238,.15); background: rgba(255,255,255,.06);
}
.theme-night select option { background: #140e3c; color: #fff; }
.theme-night .alert-ok { background: rgba(62,224,143,.10); color: #9ff3c8; border-color: rgba(62,224,143,.35); }
.theme-night .alert-err { background: rgba(255,99,99,.10); color: #ffb4b4; border-color: rgba(255,99,99,.35); }
.theme-night .table-wrap { background: rgba(255,255,255,.03); border-color: var(--t-line); border-radius: 16px; }
.theme-night table.data th { background: rgba(255,255,255,.05); color: #fff; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.theme-night table.data th, .theme-night table.data td { border-bottom-color: var(--t-line); color: var(--t-muted); }

/* prose, sidebar, chips, pager */
.theme-night .prose { color: var(--t-muted); }
.theme-night .prose h2, .theme-night .prose h3 { color: #fff; }
.theme-night .prose strong { color: #fff; }
.theme-night .prose blockquote { background: rgba(255,255,255,.04); border-left: 2px solid var(--t-acc); color: #fff; font-family: var(--serif); font-style: italic; }
.theme-night .widget h3 { border-bottom-color: var(--t-line); }
.theme-night .widget a { color: rgba(255,255,255,.85); }
.theme-night .widget a:hover { color: var(--t-acc-2); }
.theme-night .mini-post small { color: var(--t-faint); }
.theme-night .chip { background: rgba(255,255,255,.03); border: 1px solid var(--t-line-2); color: rgba(255,255,255,.8); }
.theme-night .chip:hover, .theme-night .chip.is-active { background: linear-gradient(135deg, var(--t-acc-2), var(--t-acc)); border-color: transparent; color: var(--t-acc-ink); }
.theme-night .pager a, .theme-night .pager span { background: rgba(255,255,255,.04); border-color: var(--t-line); color: #fff; }
.theme-night .pager .current { background: var(--t-acc); color: var(--t-acc-ink); border-color: var(--t-acc); }
.theme-night .branch h3, .theme-night .branch li { color: var(--t-muted); }
.theme-night .branch h3 { color: #fff; }
.theme-night .branch li .icon { color: var(--t-acc-2); }
.theme-night .branch .head-tag { background: linear-gradient(135deg, var(--t-acc-2), var(--t-acc)); color: var(--t-acc-ink); font-family: var(--mono); }
.theme-night .display { color: var(--t-acc-2) !important; }
.theme-night .center .eyebrow { justify-content: center; }

/* ---------------------------------------------------------- CTA + footer */
.theme-night .cta-strip {
  text-align: center; padding: clamp(60px, 8vw, 96px) 0;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(143,224,255,.16), transparent 60%),
    linear-gradient(160deg, #3b2bb5, #23187a 55%, #170f55);
  border-block: 1px solid rgba(255,255,255,.12);
}
.theme-night .cta-inner { flex-direction: column; justify-content: center; }
.theme-night .cta-strip .eyebrow { justify-content: center; color: var(--t-acc-2); }
.theme-night .cta-strip h2 { max-width: 20ch; margin-inline: auto; }
.theme-night .cta-strip p { color: #cfc8f5; max-width: 58ch; margin: 0 auto; }
.theme-night .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.theme-night .site-footer { background: #07051a; color: var(--t-muted); overflow: hidden; }
.theme-night .site-footer h3 { font: 700 .66rem/1 var(--mono); letter-spacing: .16em; color: #fff; margin-bottom: 20px; }
.theme-night .site-footer a { color: var(--t-muted); }
.theme-night .site-footer a:hover { color: #fff; }
.theme-night .footer-desc { color: var(--t-faint); }
.theme-night .footer-contact .icon { color: var(--t-acc-2); }
.theme-night .newsletter-form input { border-color: var(--t-line-2); background: rgba(255,255,255,.04); }
.theme-night .newsletter-form input::placeholder { color: var(--t-faint); }
.footer-dests { position: relative; z-index: 1; padding-top: 26px; padding-bottom: 6px; border-top: 1px dashed rgba(255,255,255,.12); }
.footer-dests-title { display: block; font: 700 .6rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--t-acc); margin-bottom: 14px; }
.footer-dests ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-dests li { font-size: .86rem; }
.footer-dests li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,.18); margin: 0 14px; vertical-align: -1px; }
.footer-wordmark {
  font: 700 clamp(4.5rem, 17vw, 15rem)/.8 var(--serif); letter-spacing: -.02em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text;
  margin-top: 24px; user-select: none; pointer-events: none; white-space: nowrap;
}
.theme-night .footer-bottom { border-top-color: var(--t-line); position: relative; z-index: 1; }
.theme-night .footer-bottom p, .theme-night .footer-bottom a { color: var(--t-faint); font-size: .8rem; }
.theme-night .to-top { background: rgba(20,14,60,.9); color: #fff; border: 1px solid var(--t-line-2); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 980px) {
  :root { --hdr-h: 124px; }
  .theme-night .hero-inner { grid-template-columns: 1fr; }
  .board { order: 2; }
  .stack-card { grid-template-columns: 64px 1fr; position: relative; top: auto; }
  .stack-tag { display: none; }
  .theme-night .primary-nav {
    background: rgba(14,10,46,.97); border-color: var(--t-line-2);
    transform: translateY(-8px); opacity: 0; transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .theme-night .primary-nav.open { transform: none; opacity: 1; }
  .theme-night .nav-list > li > a { color: #fff; border-bottom-color: var(--t-line); }
  .theme-night .nav-list > li > a:hover, .theme-night .nav-list > li.is-active > a { background: none; color: var(--t-acc-2); box-shadow: none; }
  .theme-night .dropdown { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--t-line); border-radius: 0; }
  .theme-night .btn-glass { background: linear-gradient(135deg, var(--t-acc-2), var(--t-acc)); color: var(--t-acc-ink); border-color: transparent; }
}
@media (max-width: 700px) {
  .theme-night .stat { padding: 20px 18px; }
  .theme-night .stat + .stat { border-left: 0; }
  .theme-night .stats { grid-template-columns: 1fr 1fr; }
  .theme-night .stat:nth-child(even) { border-left: 1px solid var(--t-line); }
  .theme-night .stat:nth-child(n+3) { border-top: 1px solid var(--t-line); }
  .board-table th:nth-child(3), .board-table td:nth-child(3) { display: none; }
  .board-table td, .board-table th { padding-inline: 14px; }
  .theme-night .topbar { padding: 0 14px; }
  .theme-night .header-inner { padding: 0 12px 0 16px; }
}

/* =========================================================================
   Hybrid layer (Option 1): dark violet hero, page banners, CTA and footer;
   light, easy-to-read content sections in between.
   Remove this whole block to go back to the all-dark look.
   ========================================================================= */
:root {
  --L-bg: #ffffff; --L-bg-2: #f6f4fe; --L-ink: #1d1640; --L-text: #4d4970;
  --L-faint: #77739a; --L-line: #e6e2f7; --L-line-2: #d6d0f0; --L-acc: #4f39d6;
}
html { background: var(--L-bg); }
body.theme-night { color: var(--L-text); font-size: 17px; }
body.theme-night::before, body.theme-night::after { display: none; }
.route { display: none !important; }

/* dark bands */
.theme-night .hero, .theme-night .page-head {
  background:
    radial-gradient(60vw 40vw at 85% 10%, rgba(54,192,238,.22), transparent 60%),
    radial-gradient(50vw 40vw at 5% 60%, rgba(107,84,238,.55), transparent 60%),
    linear-gradient(180deg, #120c3a, #0b0826);
}
.theme-night .scroll-cue { display: none; }
.theme-night .hero-inner { padding-bottom: 80px; }

/* light zone */
.theme-night main > section:not(.hero):not(.page-head) { background: var(--L-bg); color: var(--L-text); }
.theme-night main > section:not(.hero):not(.page-head):nth-of-type(even) { background: var(--L-bg-2); }
.theme-night main > section:not(.hero):not(.page-head) h1, .theme-night main > section:not(.hero):not(.page-head) h2, .theme-night main > section:not(.hero):not(.page-head) h3, .theme-night main > section:not(.hero):not(.page-head) h4, .theme-night main > section:not(.hero):not(.page-head) .stack-body strong, .theme-night main > section:not(.hero):not(.page-head) .acc-head,
.theme-night main > section:not(.hero):not(.page-head) .card-body h3 a, .theme-night main > section:not(.hero):not(.page-head) .prose h2, .theme-night main > section:not(.hero):not(.page-head) .prose h3, .theme-night main > section:not(.hero):not(.page-head) .prose strong, .theme-night main > section:not(.hero):not(.page-head) .quote-who strong,
.theme-night main > section:not(.hero):not(.page-head) .quote-card p, .theme-night main > section:not(.hero):not(.page-head) .field label, .theme-night main > section:not(.hero):not(.page-head) table.data th { color: var(--L-ink); }
.theme-night main > section:not(.hero):not(.page-head) p, .theme-night main > section:not(.hero):not(.page-head) .lead, .theme-night main > section:not(.hero):not(.page-head) .card-text, .theme-night main > section:not(.hero):not(.page-head) .stack-body span, .theme-night main > section:not(.hero):not(.page-head) .acc-body, .theme-night main > section:not(.hero):not(.page-head) .prose, .theme-night main > section:not(.hero):not(.page-head) li,
.theme-night main > section:not(.hero):not(.page-head) .service-card p, .theme-night main > section:not(.hero):not(.page-head) .feature p, .theme-night main > section:not(.hero):not(.page-head) .person p, .theme-night main > section:not(.hero):not(.page-head) table.data td, .theme-night main > section:not(.hero):not(.page-head) .mini-card p, .theme-night main > section:not(.hero):not(.page-head) .num-card p { color: var(--L-text); }
.theme-night main > section:not(.hero):not(.page-head) .meta, .theme-night main > section:not(.hero):not(.page-head) .quote-who span, .theme-night main > section:not(.hero):not(.page-head) .mini-post small { color: var(--L-faint); }
.theme-night main > section:not(.hero):not(.page-head) .eyebrow { color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) a { color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) a:hover { color: #2f1fa8; }
.theme-night main > section:not(.hero):not(.page-head) a.stack-card, .theme-night main > section:not(.hero):not(.page-head) a.card, .theme-night main > section:not(.hero):not(.page-head) a.service-card { color: var(--L-text); }

.theme-night main > section:not(.hero):not(.page-head) .card, .theme-night main > section:not(.hero):not(.page-head) .service-card, .theme-night main > section:not(.hero):not(.page-head) .mini-card, .theme-night main > section:not(.hero):not(.page-head) .num-card, .theme-night main > section:not(.hero):not(.page-head) .office-card, .theme-night main > section:not(.hero):not(.page-head) .quote-card,
.theme-night main > section:not(.hero):not(.page-head) .person, .theme-night main > section:not(.hero):not(.page-head) .branch, .theme-night main > section:not(.hero):not(.page-head) .widget, .theme-night main > section:not(.hero):not(.page-head) .form-card, .theme-night main > section:not(.hero):not(.page-head) .stack-card {
  background: #fff; border: 1px solid var(--L-line);
  box-shadow: 0 12px 32px -20px rgba(30,20,90,.28); -webkit-backdrop-filter: none; backdrop-filter: none;
}
.theme-night main > section:not(.hero):not(.page-head) .card:hover, .theme-night main > section:not(.hero):not(.page-head) .service-card:hover, .theme-night main > section:not(.hero):not(.page-head) .mini-card:hover, .theme-night main > section:not(.hero):not(.page-head) .num-card:hover, .theme-night main > section:not(.hero):not(.page-head) .office-card:hover, .theme-night main > section:not(.hero):not(.page-head) .stack-card:hover, .theme-night main > section:not(.hero):not(.page-head) .person:hover {
  border-color: #c9bff5; box-shadow: 0 18px 40px -20px rgba(30,20,90,.35);
}
.theme-night main > section:not(.hero):not(.page-head) .stack-card { box-shadow: 0 -6px 26px -16px rgba(30,20,90,.3); }
.theme-night main > section:not(.hero):not(.page-head) .stack-num, .theme-night main > section:not(.hero):not(.page-head) .stat strong { color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .stack-tag { color: var(--L-text); border-color: var(--L-line-2); }
.theme-night main > section:not(.hero):not(.page-head) .num-bg { color: rgba(40,30,110,.06); }
.theme-night main > section:not(.hero):not(.page-head) .card-link, .theme-night main > section:not(.hero):not(.page-head) .office-kicker { color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .office-card a, .theme-night main > section:not(.hero):not(.page-head) .office-card li { color: var(--L-text); }
.theme-night main > section:not(.hero):not(.page-head) .office-card li .icon, .theme-night main > section:not(.hero):not(.page-head) .branch li .icon, .theme-night main > section:not(.hero):not(.page-head) .footer-contact .icon { color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .tag, .theme-night main > section:not(.hero):not(.page-head) .card-media .tag { background: rgba(255,255,255,.95); color: var(--L-ink); border-color: transparent; }
.theme-night main > section:not(.hero):not(.page-head) .tag-accent { color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .pull-quote, .theme-night main > section:not(.hero):not(.page-head) .prose blockquote { background: var(--L-bg-2); color: var(--L-ink); border-left-color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .tick-list li::before {
  background-color: rgba(79,57,214,.10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f39d6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}
.theme-night main > section:not(.hero):not(.page-head) .feature .fi { background: rgba(79,57,214,.08); color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .acc-item { border-bottom-color: var(--L-line); }
.theme-night main > section:not(.hero):not(.page-head) .acc-head::after { color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .btn-outline, .theme-night main > section:not(.hero):not(.page-head) .btn-ghost-light { background: #fff; color: var(--L-ink); border-color: var(--L-line-2); }
.theme-night main > section:not(.hero):not(.page-head) .btn-outline:hover, .theme-night main > section:not(.hero):not(.page-head) .btn-ghost-light:hover { background: var(--L-bg-2); color: var(--L-ink); border-color: #c9bff5; }
.theme-night main > section:not(.hero):not(.page-head) .btn-primary, .theme-night main > section:not(.hero):not(.page-head) .btn-accent, .theme-night main > section:not(.hero):not(.page-head) .btn-light {
  background: linear-gradient(135deg, #6b54ee, #4f39d6); color: #fff; border-color: transparent;
  box-shadow: 0 12px 28px -14px rgba(79,57,214,.7);
}
.theme-night main > section:not(.hero):not(.page-head) .btn-primary:hover, .theme-night main > section:not(.hero):not(.page-head) .btn-accent:hover, .theme-night main > section:not(.hero):not(.page-head) .btn-light:hover { background: linear-gradient(135deg, #7a65f2, #5a43e9); color: #fff; }
.theme-night main > section:not(.hero):not(.page-head) .service-icon, .theme-night main > section:not(.hero):not(.page-head) .mini-icon { background: linear-gradient(140deg, #6b54ee, #36c0ee); }

/* forms + tables + misc in the light zone */
.theme-night main > section:not(.hero):not(.page-head) .field input, .theme-night main > section:not(.hero):not(.page-head) .field select, .theme-night main > section:not(.hero):not(.page-head) .field textarea { background: #fff; border: 1px solid var(--L-line-2); color: var(--L-ink); }
.theme-night main > section:not(.hero):not(.page-head) .field input::placeholder, .theme-night main > section:not(.hero):not(.page-head) .field textarea::placeholder { color: #9b97b8; }
.theme-night main > section:not(.hero):not(.page-head) .field input:focus, .theme-night main > section:not(.hero):not(.page-head) .field select:focus, .theme-night main > section:not(.hero):not(.page-head) .field textarea:focus { border-color: var(--L-acc); box-shadow: 0 0 0 4px rgba(79,57,214,.12); background: #fff; }
.theme-night main > section:not(.hero):not(.page-head) select option { background: #fff; color: var(--L-ink); }
.theme-night main > section:not(.hero):not(.page-head) .alert-ok { background: #e9f8ef; color: #12663d; border-color: #bfe8d0; }
.theme-night main > section:not(.hero):not(.page-head) .alert-err { background: #fdeeee; color: #8c1d1d; border-color: #f4c7c7; }
.theme-night main > section:not(.hero):not(.page-head) .table-wrap { background: #fff; border-color: var(--L-line); }
.theme-night main > section:not(.hero):not(.page-head) table.data th { background: var(--L-bg-2); }
.theme-night main > section:not(.hero):not(.page-head) table.data th, .theme-night main > section:not(.hero):not(.page-head) table.data td { border-bottom-color: var(--L-line); }
.theme-night main > section:not(.hero):not(.page-head) .widget h3 { border-bottom-color: var(--L-line); }
.theme-night main > section:not(.hero):not(.page-head) .widget a { color: var(--L-ink); }
.theme-night main > section:not(.hero):not(.page-head) .widget a:hover { color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .chip { background: #fff; border-color: var(--L-line-2); color: var(--L-text); }
.theme-night main > section:not(.hero):not(.page-head) .chip:hover, .theme-night main > section:not(.hero):not(.page-head) .chip.is-active { background: linear-gradient(135deg, #6b54ee, #4f39d6); color: #fff; border-color: transparent; }
.theme-night main > section:not(.hero):not(.page-head) .pager a, .theme-night main > section:not(.hero):not(.page-head) .pager span { background: #fff; border-color: var(--L-line); color: var(--L-ink); }
.theme-night main > section:not(.hero):not(.page-head) .pager .current { background: var(--L-acc); color: #fff; border-color: var(--L-acc); }
.theme-night main > section:not(.hero):not(.page-head) .branch h3 { color: var(--L-ink); }
.theme-night main > section:not(.hero):not(.page-head) .display { color: var(--L-acc) !important; }

/* stats band: light, with a dark destinations ticker underneath */
.theme-night .stats-band { background: var(--L-bg-2); }
.theme-night .stats-band .stats { background: transparent; border-color: var(--L-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-night .stats-band .stat strong { color: var(--L-acc); }
.theme-night .stats-band .stat span { color: var(--L-text); }
.theme-night .stats-band .stat + .stat, .theme-night .stats-band .stat:nth-child(even), .theme-night .stats-band .stat:nth-child(n+3) { border-color: var(--L-line); }
.theme-night .marquee { background: #120c3a; border: 0; }

/* fewer mono labels: smaller, calmer */
.theme-night main > section:not(.hero):not(.page-head) .eyebrow { font-size: .68rem; letter-spacing: .18em; }

/* violet call-to-action widgets in sidebars keep a white button */
.theme-night main .widget[style*="--brand"] { background: linear-gradient(150deg, #5a43e9, #3b2bb5) !important; border-color: transparent !important; }
.theme-night main .widget[style*="--brand"] p { color: #e4defc !important; }
.theme-night main .widget[style*="--brand"] .btn { background: #fff !important; color: #3b2bb5 !important; box-shadow: 0 10px 24px -12px rgba(0,0,0,.4) !important; }

/* ------------------------------------------------ menu: 7 items, no CTA pill */
@media (min-width: 981px) {
  .theme-night .nav-cta { display: none; }
  .theme-night .nav-list > li > a { padding: 9px 12px; font-size: .92rem; }
}
@media (min-width: 981px) and (max-width: 1240px) {
  .theme-night .header-phones { display: none; }
  .theme-night .nav-list > li > a { padding: 8px 9px; font-size: .88rem; }
}
@media (min-width: 981px) and (max-width: 1080px) {
  .theme-night .brand-text small { display: none; }
  .theme-night .nav-list > li > a { padding: 8px 7px; font-size: .84rem; }
}

/* ------------------------------------------------------------ about page */
.about-head .eyebrow { justify-content: center; }
.about-head h1 { max-width: 16ch !important; }
.about-head p { max-width: 62ch !important; }
.quote-panel {
  position: relative; overflow: hidden; padding: 40px 36px; border-radius: 22px; color: #fff;
  background: radial-gradient(80% 80% at 100% 0%, rgba(54,192,238,.28), transparent 60%), linear-gradient(150deg, #3b2bb5, #1d1460);
  box-shadow: 0 30px 60px -30px rgba(30,20,90,.55);
}
.quote-panel .quote-mark { display: block; font: 700 4.5rem/.6 var(--serif); color: #8fe0ff; margin-bottom: 18px; }
.theme-night main .quote-panel p { font: 600 1.32rem/1.45 var(--serif); color: #fff; margin: 0 0 22px; }
.quote-panel .quote-by { font: 400 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #bdb3f5; }
.dest-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-night main .dest-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--L-line-2); color: var(--L-ink); font-weight: 500; font-size: .93rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.theme-night main .dest-chip:hover { border-color: #a99bf0; box-shadow: 0 10px 24px -14px rgba(30,20,90,.4); transform: translateY(-2px); color: var(--L-acc); }
.stats-band .stat strong { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1180px) {
  .theme-night .header-inner .brand-text { display: none; }
  .theme-night .header-inner { padding-left: 18px; gap: 10px; }
}
.theme-night main .quote-panel p { color: #fff !important; }
.theme-night .nav-list > li:last-child > .dropdown { left: auto; right: 0; }

/* ---------------------------------------------- dropdown: steadier hover */
/* invisible bridge over the gap so the menu stays open while the mouse moves down */
.theme-night .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
/* close a moment later than it opens, so a slightly wobbly mouse doesn't snap it shut */
.theme-night .has-dropdown > .dropdown { transition: opacity .18s ease .12s, transform .18s ease .12s, visibility 0s linear .3s; }
.theme-night .has-dropdown:hover > .dropdown, .theme-night .has-dropdown:focus-within > .dropdown { transition-delay: 0s; }
/* solid panel, wide enough for long country names */
.theme-night .dropdown {
  background: #140e3c; min-width: 280px; padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.12);
}
.theme-night .glass-bar .dropdown a { white-space: nowrap; padding: 10px 12px; }
.theme-night .glass-bar .dropdown li + li a { border-top: 1px solid rgba(255,255,255,.05); }
.theme-night .glass-bar .dropdown a:hover { background: rgba(143,224,255,.10); color: #fff; }
.theme-night .glass-bar .dropdown a:hover .dd-code { color: var(--t-acc-2); }
@media (max-width: 980px) {
  .theme-night .dropdown { background: none; border: 0; box-shadow: none; min-width: 0; padding: 4px 0 10px 12px; }
  .theme-night .dropdown::before { display: none; }
  .theme-night .glass-bar .dropdown li + li a { border-top: 0; }
}

/* ---------------------------------------------- home: online session link */
.theme-night .online-session {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 18px 12px 12px;
  border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: #fff; transition: background .2s, border-color .2s;
}
.theme-night .online-session:hover { background: rgba(255,255,255,.11); border-color: rgba(143,224,255,.5); color: #fff; }
.theme-night .online-session strong { display: block; font-size: .95rem; }
.theme-night .online-session small { display: block; font-size: .8rem; color: var(--t-muted); }
.theme-night .online-session > .icon { color: var(--t-acc-2); }
.os-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #25d366; color: #fff; box-shadow: 0 8px 20px -8px rgba(37,211,102,.7); }

/* --------------------------------------------------- home: partner strip */
.theme-night main > section.partner-strip { background: #fff; padding: 34px 0 30px; border-bottom: 1px solid var(--L-line); }
.partner-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.theme-night main .partner-head .eyebrow { margin: 0; }
.theme-night main .partner-head p { margin: 0; color: var(--L-faint); font-size: .92rem; }
.theme-night main .partner-head a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--L-acc); }
.logo-rail { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; width: max-content; gap: 14px; animation: marquee 70s linear infinite; }
.logo-rail:hover .logo-track { animation-play-state: paused; }
.logo-chip {
  display: inline-flex; align-items: center; gap: 9px; height: 58px; padding: 0 22px; border-radius: 14px;
  background: var(--L-bg-2); border: 1px solid var(--L-line); color: #3a3566;
  font: 600 1rem/1 var(--serif); white-space: nowrap; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s;
}
.logo-chip .icon { color: #8a85b5; }
.logo-chip.is-net { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; background: #fff; }
.logo-chip:hover { filter: none; opacity: 1; color: var(--L-acc); }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; } }

/* ------------------------------------------------------ home: test prep */
.test-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.theme-night main .test-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: #fff;
  border: 1px solid var(--L-line); box-shadow: 0 12px 32px -20px rgba(30,20,90,.28); color: var(--L-text);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.theme-night main .test-card:hover { transform: translateY(-3px); border-color: #c9bff5; box-shadow: 0 18px 40px -20px rgba(30,20,90,.35); color: var(--L-text); }
.theme-night main .test-card h3 { font-size: 1.12rem; margin: 4px 0 0; color: var(--L-ink); }
.theme-night main .test-card p { font-size: .88rem; margin: 0; flex: 1; }
.test-dur { align-self: flex-start; font: 700 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--L-acc); background: rgba(79,57,214,.08); padding: 6px 10px; border-radius: 999px; }
.test-meta { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--L-faint); }
.theme-night main .test-card .card-link { font-size: .86rem; }
@media (max-width: 600px) { .test-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- home: FAQ tabs */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.faq-tab {
  font: 600 .9rem/1 var(--sans); padding: 11px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--L-text); border: 1px solid var(--L-line-2); transition: background .2s, color .2s, border-color .2s;
}
.faq-tab:hover { border-color: #a99bf0; color: var(--L-acc); }
.faq-tab.is-active { background: linear-gradient(135deg, #6b54ee, #4f39d6); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -14px rgba(79,57,214,.8); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.faq-tabs-wrap { max-width: 1100px; }
.theme-night main .faq-ask {
  position: sticky; top: 24px; padding: 28px 24px; border-radius: 20px; color: #fff; text-align: left;
  background: radial-gradient(80% 80% at 100% 0%, rgba(54,192,238,.28), transparent 60%), linear-gradient(150deg, #3b2bb5, #1d1460);
  box-shadow: 0 24px 50px -26px rgba(30,20,90,.6);
}
.theme-night main .faq-ask h3 { color: #fff; margin: 16px 0 6px; font-size: 1.25rem; }
.theme-night main .faq-ask p { color: #d9d2fb; font-size: .92rem; margin: 0 0 18px; }
.theme-night main .faq-ask .btn { width: 100%; background: #fff; color: #3b2bb5; box-shadow: none; }
.theme-night main .faq-ask .btn:hover { background: #f1eeff; color: #3b2bb5; }
.theme-night main .faq-ask-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #cfe9ff; font-size: .88rem; }
.faq-panel[hidden] { display: none; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .theme-night main .faq-ask { position: static; } }
.theme-night main .faq-ask h3 { color: #fff !important; }
.theme-night main .faq-ask p { color: #d9d2fb !important; }
.theme-night main .faq-ask .btn { background: #fff !important; color: #3b2bb5 !important; box-shadow: none !important; }
.theme-night main .faq-ask .faq-ask-link { color: #cfe9ff !important; }

/* =========================================================================
   White glossy layer: white page with soft colour light, frosted-white
   header, light hero and page banners. Remove this block to go back to the
   dark hero / dark header look.
   ========================================================================= */
:root { --G-ink: #1d1640; --G-text: #4d4970; --G-faint: #7d79a3; --G-acc: #4f39d6; --G-acc-2: #6b54ee; --G-cyan: #17a9dc; --G-line: rgba(79,57,214,.12); }
html { background: #fff; }

/* hero + page banners: white with soft glossy colour */
.theme-night .hero, .theme-night .page-head {
  color: var(--G-text);
  background:
    radial-gradient(46vw 32vw at 92% 0%, rgba(54,192,238,.16), transparent 62%),
    radial-gradient(44vw 34vw at 0% 30%, rgba(107,84,238,.14), transparent 62%),
    radial-gradient(40vw 22vw at 60% 100%, rgba(255,184,222,.14), transparent 60%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--G-line);
}
.theme-night .hero h1, .theme-night .page-head h1, .theme-night .page-head h2 { color: var(--G-ink); }
.theme-night .hero .lead, .theme-night .hero p, .theme-night .page-head p { color: var(--G-text) !important; }
.theme-night .hero .eyebrow, .theme-night .page-head .eyebrow { color: var(--G-acc); }
.theme-night .breadcrumb, .theme-night .breadcrumb a { color: var(--G-faint); }
.theme-night .breadcrumb a:hover { color: var(--G-acc); }
.theme-night .page-head .btn-outline, .theme-night .page-head .btn-ghost-light { background: #fff; color: var(--G-ink); border-color: rgba(79,57,214,.22); }
.theme-night .page-head .badge { background: #fff; color: var(--G-text); border-color: rgba(79,57,214,.18); }

/* frosted-white glass header */
.glass-bg::before, .site-header.is-stuck .glass-bg::before {
  background: linear-gradient(160deg, rgba(255,255,255,.86) 0%, rgba(248,246,255,.78) 55%, rgba(240,247,255,.80) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
}
.glass-bg::after { mix-blend-mode: normal; opacity: .7;
  background:
    radial-gradient(120% 90% at 10% -30%, rgba(255,255,255,.95), transparent 55%),
    linear-gradient(105deg, transparent 30%, rgba(255,255,255,.7) 45%, transparent 58%);
  background-size: 100% 100%, 250% 100%; }
.glass-caustic { mix-blend-mode: multiply; opacity: .35; }
.theme-night .glass-bar {
  box-shadow: 0 14px 40px -16px rgba(40,28,120,.28), 0 2px 8px -2px rgba(40,28,120,.08),
    inset 0 1px 0 rgba(255,255,255,1), inset 0 0 0 1px rgba(79,57,214,.10);
}
.glass-divider { background: linear-gradient(90deg, transparent, rgba(79,57,214,.14) 20%, rgba(79,57,214,.14) 80%, transparent); }
.theme-night .glass-bar a, .theme-night .topbar-contact a, .theme-night .tb-phone span:last-child { color: var(--G-ink); }
.theme-night .topbar-contact a { color: var(--G-text); }
.theme-night .topbar-contact .icon, .theme-night .header-phones .icon { color: var(--G-acc); }
.theme-night .branch-tag { background: linear-gradient(135deg, var(--G-acc-2), var(--G-acc)); color: #fff; }
.theme-night .topbar-socials a { background: #fff; border-color: rgba(79,57,214,.18); color: var(--G-acc); }
.theme-night .topbar-socials a:hover { background: var(--G-acc); color: #fff; }
.theme-night .brand-text strong { color: var(--G-ink); }
.theme-night .brand-text small { color: var(--G-faint); }
.theme-night .nav-list > li > a { color: var(--G-ink); }
.theme-night .nav-list > li > a:hover, .theme-night .nav-list > li.is-active > a {
  background: rgba(79,57,214,.08); box-shadow: inset 0 0 0 1px rgba(79,57,214,.14); color: var(--G-acc);
}
.theme-night .nav-toggle { color: var(--G-ink); border-color: rgba(79,57,214,.2); background: #fff; }
.theme-night .nav-toggle span, .theme-night .nav-toggle span::before, .theme-night .nav-toggle span::after { background: var(--G-ink); }

/* white glass dropdown */
.theme-night .dropdown {
  background: rgba(255,255,255,.97); border: 1px solid rgba(79,57,214,.12);
  box-shadow: 0 26px 60px -18px rgba(40,28,120,.35), inset 0 1px 0 #fff;
}
.theme-night .glass-bar .dropdown a { color: var(--G-ink); }
.theme-night .glass-bar .dropdown li + li a { border-top-color: rgba(79,57,214,.07); }
.theme-night .glass-bar .dropdown a:hover { background: rgba(79,57,214,.07); color: var(--G-acc); }
.theme-night .glass-bar .dropdown a:hover .dd-code { color: var(--G-acc); }
.dd-code { color: #a09cc2; }
@media (max-width: 980px) {
  .theme-night .primary-nav { background: rgba(255,255,255,.98); border-color: rgba(79,57,214,.14); box-shadow: 0 24px 50px -20px rgba(40,28,120,.35); }
  .theme-night .nav-list > li > a { color: var(--G-ink); border-bottom-color: rgba(79,57,214,.08); }
  .theme-night .nav-list > li > a:hover, .theme-night .nav-list > li.is-active > a { color: var(--G-acc); background: none; box-shadow: none; }
  .theme-night .dropdown { background: none; border: 0; box-shadow: none; }
  .theme-night .btn-glass { background: linear-gradient(135deg, var(--G-acc-2), var(--G-acc)); color: #fff; }
}

/* buttons on white: violet */
.theme-night .hero .btn-accent, .theme-night .page-head .btn-accent, .theme-night .page-head .btn-primary {
  background: linear-gradient(135deg, var(--G-acc-2), var(--G-acc)); color: #fff; box-shadow: 0 14px 30px -14px rgba(79,57,214,.75), inset 0 1px 0 rgba(255,255,255,.35);
}

/* glossy cards everywhere in the light zone */
.theme-night main > section:not(.hero):not(.page-head) .card, .theme-night main > section:not(.hero):not(.page-head) .service-card,
.theme-night main > section:not(.hero):not(.page-head) .mini-card, .theme-night main > section:not(.hero):not(.page-head) .num-card,
.theme-night main > section:not(.hero):not(.page-head) .office-card, .theme-night main > section:not(.hero):not(.page-head) .quote-card,
.theme-night main > section:not(.hero):not(.page-head) .stack-card, .theme-night main .test-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
  box-shadow: 0 16px 36px -22px rgba(40,28,120,.32), inset 0 1px 0 #fff;
}
.theme-night main > section:not(.hero):not(.page-head):nth-of-type(even) { background: linear-gradient(180deg, #f8f6ff, #fdfcff); }
.theme-night .marquee { background: #f3f0ff; border-block: 1px solid var(--G-line); }
.theme-night .marquee-track { color: #5a5580; }
.theme-night .marquee-track i { color: var(--G-acc); }

/* ------------------------------------------------------ booking hero */
.hero-book .container { position: relative; z-index: 2; padding-top: calc(var(--hdr-h) + 44px); padding-bottom: 56px; }
.hb-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.theme-night .hero-book h1 { font-size: clamp(2.8rem, 1.9rem + 3.2vw, 4.6rem); line-height: 1.02; margin: 0 0 20px; }
.hero-book h1 em { color: var(--G-acc); font-style: italic; font-weight: 600;
  background: linear-gradient(120deg, #6b54ee, #17a9dc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .08em; }
.theme-night .hero-book .lead { font-size: 1.15rem; max-width: 44ch; margin: 0 0 28px; }
.hb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hb-steps li { display: flex; gap: 14px; align-items: center; color: var(--G-ink); font-size: 1.02rem; font-weight: 500; }
.hb-steps b { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 .92rem/1 var(--sans); color: var(--G-acc);
  background: linear-gradient(180deg, #fff, #efebff); box-shadow: 0 6px 14px -8px rgba(79,57,214,.5), inset 0 0 0 1px rgba(79,57,214,.18); }

.hb-card {
  max-width: 470px; margin: 0 0 0 auto; padding: 24px; border-radius: 26px; color: var(--G-ink);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 40px 80px -36px rgba(40,28,120,.45), 0 0 0 1px rgba(79,57,214,.10), inset 0 1px 0 #fff;
}
.hb-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.hb-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(79,57,214,.10); }
.hb-av { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; font: 700 1.2rem/1 var(--serif); background: linear-gradient(135deg, #6b54ee, #36c0ee); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.hb-head strong { display: block; font: 700 1.1rem/1.2 var(--serif); color: var(--G-ink); }
.hb-head small { color: var(--G-faint); font-size: .85rem; }
.hb-free { margin-left: auto; flex: none; font: 700 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #12a15a; background: #e9f8ef; padding: 7px 10px; border-radius: 999px; }
.hb-card label { display: block; cursor: pointer; }
.hb-card input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.hb-card label span { display: block; text-align: center; border-radius: 14px; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.hb-card label:hover span { border-color: #a99bf0; }
.hb-card input:focus-visible + span { outline: 2px solid var(--G-acc); outline-offset: 2px; }
.hb-mode { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 14px; }
.hb-mode span { padding: 12px 4px; border: 1px solid #e6e2f7; background: #fff; font: 600 .85rem/1.2 var(--sans); color: #56527a; }
.hb-mode i { display: block; font-style: normal; font-size: 1.2rem; margin-bottom: 4px; }
.hb-mode input:checked + span { border-color: var(--G-acc); background: #f4f1ff; color: var(--G-acc); box-shadow: 0 0 0 1px var(--G-acc) inset; }
.hb-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.hb-days span { padding: 10px 0; background: #f6f4fe; font: 600 .8rem/1.3 var(--sans); color: #56527a; border: 1px solid transparent; }
.hb-days b { display: block; font: 700 1.2rem/1.1 var(--serif); color: var(--G-ink); }
.hb-days input:checked + span { background: linear-gradient(135deg, #6b54ee, #4f39d6); color: #fff; box-shadow: 0 10px 20px -10px rgba(79,57,214,.8); }
.hb-days input:checked + span b { color: #fff; }
.hb-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 18px; }
.hb-slots span { padding: 11px 0; border: 1px solid #e6e2f7; background: #fff; font: 600 .86rem/1 var(--sans); color: var(--G-ink); border-radius: 12px !important; }
.hb-slots input:checked + span { border-color: var(--G-acc); color: var(--G-acc); background: #f4f1ff; box-shadow: 0 0 0 1px var(--G-acc) inset; }
.hb-btn { width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 16px; border: 0; border-radius: 16px; cursor: pointer;
  font: 700 1rem/1 var(--sans); color: #fff; background: linear-gradient(135deg, #6b54ee, #4f39d6);
  box-shadow: 0 16px 30px -14px rgba(79,57,214,.8), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .15s, box-shadow .15s; }
.hb-btn:hover { transform: translateY(-1px); box-shadow: 0 20px 36px -14px rgba(79,57,214,.9), inset 0 1px 0 rgba(255,255,255,.3); }
.theme-night .hero .hb-note { text-align: center; color: var(--G-faint) !important; font-size: .8rem; margin: 10px 0 0; }

.hb-strip { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.theme-night .hb-strip a { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 18px; color: var(--G-ink);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.7)); border: 1px solid rgba(79,57,214,.12);
  box-shadow: 0 14px 30px -20px rgba(40,28,120,.35), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .2s, border-color .2s; }
.theme-night .hb-strip a:hover { transform: translateY(-2px); border-color: #a99bf0; color: var(--G-ink); }
.hb-strip i { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; font-style: normal; color: var(--G-acc); background: #f1eeff; }
.hb-strip i.is-wa { background: #25d366; color: #fff; box-shadow: 0 8px 18px -8px rgba(37,211,102,.8); }
.hb-strip strong { display: block; font: 600 1rem/1.25 var(--sans); }
.hb-strip small { color: var(--G-faint); font-size: .85rem; }

@media (max-width: 980px) {
  .hb-top { grid-template-columns: 1fr; gap: 32px; }
  .hb-card { margin: 0; max-width: none; }
  .hb-strip { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
}
@media (max-width: 420px) {
  .hb-card { padding: 18px; }
  .hb-mode span { font-size: .78rem; }
  .hb-slots span { font-size: .8rem; }
}
.hb-card .hb-days { margin-top: 14px; }
.hb-card .hb-mode { margin-bottom: 0; }

/* booking card v2: two modes, details step */
.hb-card .hb-mode { grid-template-columns: repeat(2, 1fr); }
.hb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.theme-night .hero .hb-label { margin: 14px 0 -4px; font: 700 .64rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--G-faint) !important; }
.hb-slots label:hover span { background: #f4f1ff; }
.hb-details { margin-top: 16px; }
.hb-details[hidden], .hb-pick[hidden] { display: none; }
.hb-summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f4f1ff; border: 1px solid rgba(79,57,214,.18); font: 600 .9rem/1.3 var(--sans); color: var(--G-acc); }
.hb-change { border: 0; background: #fff; color: var(--G-acc); font: 600 .8rem/1 var(--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(79,57,214,.25); flex: none; }
.hb-change:hover { background: var(--G-acc); color: #fff; }
.hb-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 18px; }
.hb-card label.hb-f { display: grid; gap: 6px; cursor: default; }
.hb-f > span { font: 600 .8rem/1 var(--sans); color: var(--G-ink); text-align: left !important; border-radius: 0 !important; }
.hb-f input, .hb-f select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid #ddd8f3; background: #fff; color: var(--G-ink); font: 500 .92rem/1 var(--sans); outline: none; transition: border-color .15s, box-shadow .15s; }
.hb-f select { appearance: none; -webkit-appearance: none; padding-right: 32px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f39d6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.hb-f input::placeholder { color: #a8a4c4; }
.hb-f input:focus, .hb-f select:focus { border-color: var(--G-acc); box-shadow: 0 0 0 4px rgba(79,57,214,.12); }
@media (max-width: 480px) { .hb-fields { grid-template-columns: 1fr; } }
.theme-night .hero .hb-label { margin: 16px 0 8px; line-height: 1.2; }
.hb-card .hb-label + .hb-slots { margin-top: 0; }

/* booking card: submitted state + errors */
.hb-done[hidden], .hb-error[hidden] { display: none; }
.hb-done { text-align: center; padding: 26px 8px 6px; }
.hb-done-icon { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #2bd47d, #12a15a); box-shadow: 0 14px 30px -12px rgba(18,161,90,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.hb-done strong { display: block; font: 700 1.6rem/1.2 var(--serif); color: var(--G-ink); margin-bottom: 8px; }
.theme-night .hero .hb-done p { color: var(--G-text) !important; font-size: .95rem; line-height: 1.55; max-width: 36ch; margin: 0 auto 20px; }
.hb-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.theme-night .hero a.hb-done-wa { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #25d366; color: #fff;
  font: 600 .88rem/1 var(--sans); box-shadow: 0 10px 22px -10px rgba(37,211,102,.8); }
.theme-night .hero a.hb-done-wa:hover { background: #1fbd5a; color: #fff; }
.hb-done-actions .hb-change { padding: 11px 18px; font-size: .88rem; }
.theme-night .hero .hb-error { margin: -6px 0 12px; padding: 10px 12px; border-radius: 12px; background: #fdeeee; border: 1px solid #f4c7c7; color: #8c1d1d !important; font-size: .86rem; }
.hb-btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* =================================================== wider page (full width) */
:root { --container: 1440px; --gutter: clamp(20px, 3vw, 40px); }
.theme-night .site-header .container, .theme-night .glass-bar { max-width: var(--container); }

/* hero: copy | photo | booking card */
.hb-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; }
.hb-media { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 470px; align-items: center; }
.hb-photo { margin: 0; position: relative; height: 100%; min-height: 560px; border-radius: 30px 0 0 30px; overflow: hidden; margin-right: -90px;
  box-shadow: 0 40px 80px -40px rgba(40,28,120,.45); }
.hb-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(79,57,214,.10), transparent 40%), linear-gradient(0deg, rgba(29,22,64,.18), transparent 35%); }
.hb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; display: block; }
.hb-media .hb-card { position: relative; z-index: 2; margin: 0; max-width: none; }
.hb-f-wide { grid-column: 1 / -1; }
@media (max-width: 1240px) {
  .hb-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; }
  .hb-media { grid-template-columns: minmax(0, 1fr) 440px; }
}
@media (max-width: 1100px) {
  .hb-media { grid-template-columns: 1fr; }
  .hb-photo { display: none; }
  .hb-media .hb-card { max-width: 520px; margin-left: auto; }
}
@media (max-width: 980px) {
  .hb-top { grid-template-columns: 1fr; }
  .hb-media .hb-card { max-width: none; margin: 0; }
}
.hb-top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); }
.hb-photo { margin-right: -70px; }
.hb-photo img { object-position: 30% 25%; }
:root { --container: 1560px; }

/* hero photo v2: card on the left, photo on the right (she looks toward the card) */
.hb-media { grid-template-columns: 470px minmax(0, 1fr); }
.hb-photo { order: 2; margin-right: 0; margin-left: -80px; border-radius: 0 30px 30px 0; min-height: 600px; }
.hb-photo img { object-position: 60% 30%; }
.hb-photo::after { background: linear-gradient(270deg, transparent 60%, rgba(255,255,255,.35)), linear-gradient(0deg, rgba(29,22,64,.12), transparent 30%); }
.hb-media .hb-card { order: 1; }
@media (max-width: 1240px) { .hb-media { grid-template-columns: 440px minmax(0, 1fr); } }
@media (max-width: 1100px) { .hb-media { grid-template-columns: 1fr; } }
.hb-photo { border-radius: 30px; }

/* =================================================================
   Hero v3 — 3D look: CTA button, tilted photo frame, floating cards,
   and the booking popup with a calendar.
   ================================================================= */
.hero-3d { position: relative; overflow: hidden; }
.hero-3d::before { /* soft grid + colour light */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38vw 30vw at 78% 38%, rgba(107,84,238,.20), transparent 65%),
    radial-gradient(30vw 24vw at 98% 90%, rgba(54,192,238,.18), transparent 65%),
    linear-gradient(rgba(79,57,214,.05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(79,57,214,.05) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask: radial-gradient(70% 80% at 70% 45%, #000 40%, transparent 85%); mask: radial-gradient(70% 80% at 70% 45%, #000 40%, transparent 85%);
}
.hero-3d .container { position: relative; z-index: 2; padding-top: calc(var(--hdr-h) + 48px); padding-bottom: 56px; }
.h3-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }

.h3-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font: 600 .84rem/1 var(--sans); color: var(--G-acc);
  background: linear-gradient(180deg, #fff, #f4f1ff); box-shadow: 0 8px 20px -12px rgba(79,57,214,.5), inset 0 0 0 1px rgba(79,57,214,.15), inset 0 1px 0 #fff; }
.h3-pill i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: pulse 2s ease-in-out infinite; }
.theme-night .hero-3d h1 { font-size: clamp(3rem, 2rem + 3.4vw, 5rem); line-height: 1.02; margin: 22px 0 20px; letter-spacing: -.02em; }
.hero-3d h1 em { font-style: italic; font-weight: 600; padding-right: .08em;
  background: linear-gradient(120deg, #6b54ee, #17a9dc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.theme-night .hero-3d .lead { font-size: 1.18rem; line-height: 1.65; max-width: 46ch; margin: 0 0 34px; }

.h3-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.theme-night .hero a.btn-3d {
  position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 20px 34px 20px 22px; border-radius: 18px;
  font: 700 1.08rem/1 var(--sans); color: #fff; text-decoration: none; letter-spacing: .01em;
  background: linear-gradient(180deg, #7a63f5 0%, #5b43e6 55%, #4a33cf 100%);
  box-shadow: 0 6px 0 #3523a8, 0 20px 34px -10px rgba(79,57,214,.65), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.12);
  transform: translateY(0); transition: transform .15s ease, box-shadow .15s ease;
}
.theme-night .hero a.btn-3d::after { content: ""; position: absolute; inset: 2px 2px 50% 2px; border-radius: 16px 16px 40% 40%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0)); }
.theme-night .hero a.btn-3d:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 #3523a8, 0 26px 40px -10px rgba(79,57,214,.7), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.12); }
.theme-night .hero a.btn-3d:active { transform: translateY(5px); box-shadow: 0 1px 0 #3523a8, 0 10px 18px -8px rgba(79,57,214,.6), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-3d-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.theme-night .hero a.h3-wa { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--sans); color: var(--G-ink); }
.theme-night .hero a.h3-wa:hover { color: #128c4b; }
.h3-wa i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #34e07f, #1fb85c); box-shadow: 0 3px 0 #168a45, 0 10px 18px -8px rgba(37,211,102,.8); font-style: normal; }

.h3-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; max-width: 560px; }
.h3-stats > div { padding: 16px 18px; border-radius: 18px; background: linear-gradient(180deg, #fff, #f8f6ff);
  box-shadow: 0 14px 30px -20px rgba(40,28,120,.45), inset 0 0 0 1px rgba(79,57,214,.10), inset 0 1px 0 #fff; }
.h3-stats strong { display: block; font: 700 1.6rem/1.1 var(--serif); color: var(--G-acc); }
.h3-stats span { font-size: .82rem; color: var(--G-faint); }

/* 3D photo */
.h3-visual { position: relative; perspective: 1600px; padding: 30px 10px 40px 30px; }
.h3-frame { position: relative; border-radius: 28px; padding: 10px; transform: rotateY(-9deg) rotateX(3deg); transform-style: preserve-3d;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(236,232,255,.85));
  box-shadow: 1px 1px 0 #e3defa, 2px 2px 0 #ddd7f7, 3px 3px 0 #d6cff4, 4px 4px 0 #cfc7f1, 5px 5px 0 #c8bfee,
    40px 60px 80px -30px rgba(40,28,120,.45), 0 30px 60px -40px rgba(23,169,220,.5);
  transition: transform .6s cubic-bezier(.2,.7,.1,1); }
.h3-visual:hover .h3-frame { transform: rotateY(-4deg) rotateX(1deg); }
.h3-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 683; object-fit: cover; border-radius: 20px; }
.h3-frame::after { content: ""; position: absolute; inset: 10px; border-radius: 20px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 30%); }

.h3-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 22px 40px -18px rgba(40,28,120,.5), 0 2px 0 rgba(79,57,214,.08), inset 0 0 0 1px rgba(79,57,214,.10), inset 0 1px 0 #fff;
  animation: h3float 6s ease-in-out infinite; }
.h3-float b { display: block; font: 700 .9rem/1.2 var(--sans); color: var(--G-ink); }
.h3-float small { font-size: .76rem; color: var(--G-faint); }
.h3-float-a { top: 4px; right: 4%; }
.h3-float-b { bottom: 8px; left: 0; animation-delay: -2s; }
.h3-float-c { bottom: 22%; right: -6px; animation-delay: -4s; }
.h3-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34,197,94,.18); flex: none; }
.h3-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(180deg, #7a63f5, #4a33cf); box-shadow: 0 3px 0 #3523a8; }
.h3-ico-g { background: linear-gradient(180deg, #3ac8f0, #1597c7); box-shadow: 0 3px 0 #0f6f93; }
@keyframes h3float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .h3-float { animation: none; } .h3-frame { transition: none; } }

@media (max-width: 1100px) {
  .h3-grid { grid-template-columns: 1fr; gap: 40px; }
  .h3-visual { max-width: 760px; }
}
@media (max-width: 600px) {
  .h3-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .h3-stats > div { padding: 12px; } .h3-stats strong { font-size: 1.2rem; }
  .h3-visual { padding: 10px 0 30px; } .h3-frame { transform: none; }
  .h3-float-a { right: 6px; top: -6px; } .h3-float-c { display: none; } .h3-float-b { left: 6px; bottom: 0; }
  .theme-night .hero a.btn-3d { width: 100%; justify-content: center; }
}

/* ------------------------------------------------ booking popup */
html.bk-open { overflow: hidden; }
.bk-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.bk-modal[hidden] { display: none; }
.bk-backdrop { position: absolute; inset: 0; background: rgba(20,14,60,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.bk-dialog { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 26px; color: var(--G-ink);
  background: linear-gradient(180deg, #fff, #fbfaff); box-shadow: 0 50px 100px -30px rgba(20,14,60,.6), inset 0 0 0 1px rgba(79,57,214,.10);
  transform: translateY(18px) scale(.98); opacity: 0; transition: transform .25s cubic-bezier(.2,.7,.1,1), opacity .2s; }
.bk-modal.in .bk-backdrop { opacity: 1; }
.bk-modal.in .bk-dialog { transform: none; opacity: 1; }
.bk-dialog form { padding: 26px 28px 24px; }
.bk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bk-head strong { display: block; font: 700 1.45rem/1.2 var(--serif); }
.bk-head small { color: var(--G-faint); font-size: .88rem; }
.bk-x { width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--G-ink); background: #f3f1fc; }
.bk-x:hover { background: #e9e5fb; }
.bk-steps { list-style: none; display: flex; gap: 8px; margin: 18px 0 20px; padding: 0; }
.bk-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font: 600 .82rem/1 var(--sans); color: #a09cc2; background: #f6f4fe; }
.bk-steps li b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: #e6e2f7; color: #8a85b5; }
.bk-steps li.on { color: var(--G-acc); background: #efebff; }
.bk-steps li.on b { background: linear-gradient(180deg, #7a63f5, #4a33cf); color: #fff; box-shadow: 0 2px 0 #3523a8; }
.bk-step[hidden] { display: none !important; }

.bk-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.bk-mode label { cursor: pointer; }
.bk-mode input { position: absolute; opacity: 0; pointer-events: none; }
.bk-mode span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff;
  box-shadow: inset 0 0 0 1px #e6e2f7, 0 3px 0 #ece9f9; transition: box-shadow .15s, background .15s; }
.bk-mode i { grid-row: 1 / 3; font-style: normal; font-size: 1.4rem; }
.bk-mode b { font: 700 .95rem/1.2 var(--sans); } .bk-mode small { color: var(--G-faint); font-size: .78rem; }
.bk-mode input:checked + span { background: #f4f1ff; box-shadow: inset 0 0 0 2px var(--G-acc), 0 3px 0 #c9bff5; }

.bk-cal-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.bk-cal { padding: 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px #ece9f9, 0 14px 30px -24px rgba(40,28,120,.5); }
.bk-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bk-cal-head strong { font: 700 1rem/1 var(--sans); }
.bk-nav { width: 34px; height: 34px; border: 0; border-radius: 10px; cursor: pointer; background: #f3f1fc; color: var(--G-acc); font-size: 1.3rem; line-height: 1; }
.bk-nav:disabled { opacity: .35; cursor: default; }
.bk-cal-dow, .bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-cal-dow span { font: 700 .68rem/1 var(--mono); letter-spacing: .08em; color: #a09cc2; padding: 6px 0; }
.bk-cal-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; cursor: pointer; font: 600 .9rem/1 var(--sans); color: var(--G-ink); background: #f6f4fe; transition: background .12s, transform .12s; }
.bk-cal-grid button:hover:not(:disabled) { background: #e9e4ff; transform: translateY(-1px); }
.bk-cal-grid button:disabled { background: transparent; color: #cdc9e3; cursor: default; }
.bk-cal-grid button.today { box-shadow: inset 0 0 0 1px #c9bff5; }
.bk-cal-grid button.on { color: #fff; background: linear-gradient(180deg, #7a63f5, #4a33cf); box-shadow: 0 3px 0 #3523a8; }
.theme-night .bk-hint, .bk-hint { margin: 8px 0 0; font-size: .74rem; color: #a09cc2 !important; text-align: right; }
.bk-times { display: flex; flex-direction: column; }
.theme-night .bk-label, .bk-label { margin: 4px 0 10px; font: 700 .95rem/1.3 var(--sans); color: var(--G-ink) !important; }
.bk-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-slots button { padding: 13px 0; border: 0; border-radius: 12px; cursor: pointer; font: 600 .9rem/1 var(--sans); color: var(--G-ink); background: #fff;
  box-shadow: inset 0 0 0 1px #e6e2f7, 0 3px 0 #ece9f9; transition: transform .12s, box-shadow .12s; }
.bk-slots button:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #c9bff5, 0 4px 0 #e2ddf8; }
.bk-slots button.on { color: #fff; background: linear-gradient(180deg, #7a63f5, #4a33cf); box-shadow: 0 3px 0 #3523a8; }
.bk-slots:empty::before { content: "Choose a date on the calendar to see available times."; grid-column: 1 / -1; padding: 22px 14px; border-radius: 14px; border: 1px dashed #d6d0f0; color: var(--G-faint); font-size: .88rem; text-align: center; }
.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #eeebfa; }
.bk-sel { font: 600 .9rem/1.3 var(--sans); color: var(--G-acc); }
.bk-next { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border: 0; border-radius: 14px; cursor: pointer; font: 700 .98rem/1 var(--sans); color: #fff;
  background: linear-gradient(180deg, #7a63f5, #4a33cf); box-shadow: 0 4px 0 #3523a8, 0 14px 24px -12px rgba(79,57,214,.7); transition: transform .12s, box-shadow .12s; }
.bk-next:hover:not(:disabled) { transform: translateY(-1px); }
.bk-next:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #3523a8; }
.bk-next:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.bk-dialog .hb-btn { box-shadow: 0 4px 0 #3523a8, 0 14px 24px -12px rgba(79,57,214,.7); }
.theme-night .bk-note, .bk-note { text-align: center; color: var(--G-faint) !important; font-size: .82rem; margin: 12px 0 0; }
.bk-dialog .hb-error { margin: -4px 0 12px; padding: 10px 12px; border-radius: 12px; background: #fdeeee; border: 1px solid #f4c7c7; color: #8c1d1d; font-size: .86rem; }
.bk-dialog .hb-done p { color: var(--G-text); font-size: .95rem; line-height: 1.55; max-width: 44ch; margin: 0 auto 20px; }
.bk-dialog a.hb-done-wa { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #25d366; color: #fff; font: 600 .88rem/1 var(--sans); }
@media (max-width: 640px) {
  .bk-modal { padding: 0; place-items: end center; }
  .bk-dialog { border-radius: 22px 22px 0 0; max-height: 92vh; }
  .bk-dialog form { padding: 20px 16px; }
  .bk-cal-wrap { grid-template-columns: 1fr; }
  .bk-steps li { font-size: .72rem; padding: 8px; }
  .bk-foot { flex-direction: column; align-items: stretch; } .bk-next { justify-content: center; }
}
.bk-modal { z-index: 1000; }
html.bk-open .whatsapp-float { display: none; }

/* Book button sits on the photo; hovering the photo lights it up */
.h3-frame { display: block; cursor: pointer; }
.theme-night .hero a.h3-cta { position: absolute; z-index: 4; left: 13%; top: 30%; padding: 18px 28px 18px 18px; font-size: 1.05rem; }
.h3-cta::before { content: ""; position: absolute; inset: -6px; border-radius: 22px; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(107,84,238,.55); animation: h3ring 2.4s ease-out infinite; }
@keyframes h3ring { 0% { box-shadow: 0 0 0 0 rgba(107,84,238,.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(107,84,238,0); } }
.theme-night .h3-visual:hover a.h3-cta {
  transform: translateY(-4px) scale(1.06); color: #fff;
  background: linear-gradient(180deg, #8b76ff 0%, #6550f0 55%, #5038dc 100%);
  box-shadow: 0 8px 0 #3523a8, 0 0 0 6px rgba(255,255,255,.75), 0 0 46px 10px rgba(107,84,238,.55), inset 0 1px 0 rgba(255,255,255,.5);
}
.theme-night .h3-visual a.h3-cta:active { transform: translateY(4px) scale(1.03); box-shadow: 0 2px 0 #3523a8, 0 0 0 6px rgba(255,255,255,.75); }
.h3-visual:hover .h3-frame img { filter: saturate(1.06) brightness(1.02); }
@media (prefers-reduced-motion: reduce) { .h3-cta::before { animation: none; } }
@media (max-width: 600px) {
  .theme-night .hero a.h3-cta { left: 50%; top: auto; bottom: 22%; transform: translateX(-50%); width: auto; padding: 14px 22px 14px 14px; font-size: .95rem; white-space: nowrap; }
  .theme-night .h3-visual:hover a.h3-cta { transform: translateX(-50%) scale(1.04); }
  .theme-night .h3-visual a.h3-cta:active { transform: translateX(-50%) translateY(3px); }
  .h3-cta .btn-3d-icon { width: 32px; height: 32px; }
}
@media (max-width: 600px) { .h3-stats { display: none; } .h3-grid { gap: 26px; } .theme-night .hero-3d .lead { margin-bottom: 22px; } }
@media (max-width: 600px) { .h3-float-b { display: none; } .theme-night .hero a.h3-cta { bottom: 14%; } }

/* ===== Student portals (header dropdown, homepage cards) ===== */
.nav-list > li.nav-portals > a { display: inline-flex; align-items: center; gap: 6px; background: #6a4cf6; color: #fff !important; border-radius: 999px; padding: 8px 14px !important; font-weight: 600; box-shadow: 0 8px 18px -10px rgba(106,76,246,.8); }
.nav-list > li.nav-portals > a:hover { background: #5536e8; }
.nav-list > li.nav-portals > a .caret { border-top-color: #fff; }
.nav-list > li.nav-portals > a svg { stroke: currentColor; }
.portal-dd { min-width: 290px; right: 0; left: auto; padding: 8px; }
.portal-dd li a { display: flex !important; align-items: center; gap: 12px; padding: 10px 12px !important; border-radius: 12px; }
.portal-dd li a b { display: block; font-weight: 600; color: #14112b; }
.portal-dd li a small { display: block; font-size: .76rem; color: #7a7593; margin-top: 2px; }
.pdd-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 .9rem/1 var(--brand-font); color: #fff; }
.pdd-a { background: linear-gradient(135deg, #9c86ff, #6a4cf6); }
.pdd-f { background: linear-gradient(135deg, #5fd1ff, #1f8fd6); }
.portal-dd li.pdd-signin a { justify-content: center; font-size: .8rem; color: #7a7593; border-top: 1px solid #efedf6; border-radius: 0 0 12px 12px; margin-top: 4px; }
.portal-dd li.pdd-signin a b { display: inline; color: #6a4cf6; }
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.portal-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(26px, 3vw, 40px); border-radius: 28px; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.portal-card:hover { transform: translateY(-4px); }
.theme-night main > section.portals .pc-admit { background: linear-gradient(150deg, #f3f0ff, #e6dfff); border: 1px solid #ddd4ff; box-shadow: 0 30px 60px -36px rgba(106,76,246,.6); }
.theme-night main > section.portals .pc-fluenta { background: linear-gradient(150deg, #14112b, #251c5c); border: 1px solid #2f2770; box-shadow: 0 30px 60px -36px rgba(20,17,43,.8); }
.portal-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; top: -90px; background: radial-gradient(circle, rgba(124,92,255,.28), transparent 70%); pointer-events: none; }
.pc-fluenta::after { background: radial-gradient(circle, rgba(56,189,248,.35), transparent 70%); }
.pc-tag { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: #fff; color: #6a4cf6; }
.pc-fluenta .pc-tag { background: rgba(255,255,255,.1); color: #8fe0ff; }
.theme-night main > section.portals .portal-card h3 { font: 600 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.2 var(--brand-font); margin: 4px 0 0; color: #14112b; max-width: 22ch; }
.theme-night main > section.portals .pc-fluenta h3 { color: #fff; }
.theme-night main > section.portals .portal-card p { margin: 0; color: #5d5878; max-width: 48ch; }
.theme-night main > section.portals .pc-fluenta p { color: rgba(255,255,255,.72); }
.theme-night main > section.portals .pc-points { list-style: none; padding: 0; margin: 4px 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.theme-night main > section.portals .pc-points li { font-size: .8rem; padding: 7px 12px; border-radius: 999px; background: rgba(106,76,246,.1); color: #4b37c9; }
.theme-night main > section.portals .pc-fluenta .pc-points li { background: rgba(143,224,255,.12); color: #bfeeff; }
.pc-fluenta .btn-dark { background: #38bdf8; color: #0c1530; }
.portal-card .btn { margin-top: auto; pointer-events: none; }
@media (max-width: 900px) {
  .portal-grid { grid-template-columns: 1fr; }
  .nav-list > li.nav-portals > a { margin-top: 8px; }
  .portal-dd { min-width: 0; }
}
.theme-night .glass-bar .portal-dd li a { justify-content: flex-start; gap: 12px; white-space: normal; }
.theme-night .glass-bar .portal-dd li a > span:last-child { flex: 1; text-align: left; }
.theme-night .glass-bar .portal-dd li.pdd-signin a { justify-content: center; gap: 5px; }
@media (min-width: 1101px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.05fr 1.3fr; gap: 28px; } }