/* ==========================================================================
   ClearBreath — main stylesheet
   Tailwind handles layout/spacing utilities; this file holds design tokens,
   reusable components and animations.
   Contents: 1 Tokens · 2 Base · 3 Buttons & small parts · 4 Header · 5 Hero
   6 Home sections · 7 Home 2 · 8 Inner pages · 9 Forms, modal, toast
   10 Auth · 11 Footer · 12 Dashboard · 13 Charts & gauges · 14 Motion
   ========================================================================== */

/* 1. TOKENS (RGB triplets so Tailwind opacity modifiers work) -------------- */
:root {
  --bg: 255 255 255;
  --mint: 239 250 246;
  --surface: 255 255 255;
  --ink: 15 42 67;
  --muted: 79 99 118;
  --line: 215 232 227;
  --brand: 10 128 115;
  --brand-2: 46 196 168;
  --on-brand: 255 255 255;
  --accent: 255 184 77;
  --deep: 11 34 54;
  --good: 14 124 86;
  --moderate: 150 96 0;
  --poor: 190 84 20;
  --bad: 196 43 43;
  --shadow: 0 10px 30px -12px rgb(15 42 67 / .18);
  --shadow-lg: 0 24px 50px -20px rgb(15 42 67 / .28);
  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: rgb(var(--bg)); }
body { font-family: 'DM Sans', system-ui, sans-serif; color: rgb(var(--ink)); background: rgb(var(--bg)); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgb(var(--brand)); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(var(--brand) / .25); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
.section { padding-block: clamp(3rem, 6vw, 5rem); position: relative; }
.section-alt { background: rgb(var(--mint)); }
.section-tight { padding-block: 2.5rem; }
.section-flush-b { padding-bottom: 0; }
.section-flush-t { padding-top: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: rgb(var(--brand)); color: rgb(var(--on-brand)); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; display: inline-block; flex: none; vertical-align: -.2em; }
.h1, .h2, .h3, .cta-title, .hslide-title { font-family: 'Sora', system-ui, sans-serif; color: rgb(var(--ink)); letter-spacing: -.02em; text-wrap: balance; }
.h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 700; }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.18; font-weight: 700; }
.h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
.lead { color: rgb(var(--muted)); font-size: 1.06rem; margin-top: 14px; max-width: 60ch; }
.section-head { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--brand)); background: rgb(var(--brand) / .1); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.eyebrow-light { color: #fff; background: rgb(255 255 255 / .16); }
.note { position: relative; font-size: .85rem; color: rgb(var(--muted)); background: rgb(var(--accent) / .16); border-radius: 12px; padding: 10px 14px; padding-inline-start: 40px; overflow-wrap: anywhere; }
.note .ico { position: absolute; inset-inline-start: 14px; top: 11px; color: rgb(var(--moderate)); }
.text-link { color: rgb(var(--brand)); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: rgb(var(--brand)); background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.arrow { transition: transform .3s var(--ease); }
a:hover > .arrow, button:hover > .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li > .ico { color: rgb(var(--on-brand)); background: rgb(var(--brand)); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: 2px; }
.check-list-sm { gap: 8px; font-size: .92rem; }
.icon-list { display: grid; gap: 10px; font-weight: 500; }
.icon-list li { display: flex; gap: 10px; align-items: center; }
.icon-list .ico { color: rgb(var(--brand)); }
.ico-box { width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center; background: rgb(var(--brand) / .12); color: rgb(var(--brand)); font-size: 1.25rem; flex: none; transition: background .35s, color .35s, transform .35s var(--ease); }
.ico-box-sm { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
.ico-ring { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1.5rem; color: rgb(var(--brand)); background: rgb(var(--surface)); box-shadow: inset 0 0 0 2px rgb(var(--brand) / .25); margin-bottom: 14px; transition: transform .4s var(--ease), background .35s, color .35s; }
.stars { display: inline-flex; color: rgb(var(--accent)); font-size: .85rem; }
.avatars { display: inline-flex; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgb(var(--bg)); margin-inline-start: -10px; }
.avatars img:first-child { margin-inline-start: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status-good { color: rgb(var(--good)); background: rgb(var(--good) / .12); }
.status-moderate { color: rgb(var(--moderate)); background: rgb(var(--accent) / .25); }
.status-poor { color: rgb(var(--poor)); background: rgb(var(--poor) / .12); }
.status-bad { color: rgb(var(--bad)); background: rgb(var(--bad) / .12); }
.status-info { color: rgb(var(--brand)); background: rgb(var(--brand) / .12); }
.bar { height: 8px; border-radius: 99px; background: rgb(var(--line)); overflow: hidden; }
.bar > span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--brand)), rgb(var(--brand-2))); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }

/* 3. BUTTONS --------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: .95rem; padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; overflow: hidden; isolation: isolate; cursor: pointer; white-space: nowrap; transition: color .35s, border-color .35s, box-shadow .35s, transform .2s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: scale(.97); }
.btn-primary { background: rgb(var(--brand)); color: rgb(var(--on-brand)); box-shadow: 0 10px 22px -10px rgb(var(--brand) / .7); }
.btn-primary::before { background: rgb(var(--deep)); }
.btn-primary:hover { color: #fff; }
.btn-outline { border-color: rgb(var(--brand) / .5); color: rgb(var(--ink)); }
.btn-outline::before { background: rgb(var(--brand)); }
.btn-outline:hover { color: rgb(var(--on-brand)); border-color: rgb(var(--brand)); }
.btn-light { background: #fff; color: #0f2a43; }
.btn-light::before { background: rgb(var(--accent)); }
.btn-accent { background: rgb(var(--accent)); color: #0f2a43; }
.btn-accent::before { background: #fff; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-label { opacity: .6; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; }
.btn.is-loading .arrow { display: none; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; border: 2px solid rgb(var(--line)); background: rgb(var(--surface)); color: rgb(var(--ink)); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.round-btn:hover { background: rgb(var(--brand)); color: rgb(var(--on-brand)); border-color: rgb(var(--brand)); transform: scale(1.08); }
.flip { transform: scaleX(-1); }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; color: rgb(var(--ink)); background: rgb(var(--mint)); border: 1px solid rgb(var(--line)); transition: background .3s, color .3s, transform .3s var(--ease); }
.icon-btn:hover { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: translateY(-2px); }
.icon-btn-text { width: auto; padding-inline: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; font-weight: 700; }
.show-dark { display: none; }
.chip { padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 2px solid rgb(var(--line)); background: rgb(var(--surface)); color: rgb(var(--ink)); transition: background .3s, color .3s, border-color .3s, transform .2s; }
.chip:hover { border-color: rgb(var(--brand)); transform: translateY(-2px); }
.chip.is-active { background: rgb(var(--brand)); border-color: rgb(var(--brand)); color: rgb(var(--on-brand)); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.filters-start { justify-content: flex-start; margin-top: 0; }
.play-btn { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; color: rgb(var(--ink)); }
.play-ring { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--accent)); color: #0f2a43; transition: transform .3s var(--ease); }
.play-ring::before, .play-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgb(var(--accent)); animation: pulse-ring 2.4s ease-out infinite; }
.play-ring::after { animation-delay: 1.2s; }
.play-btn:hover .play-ring, .play-big:hover .play-ring { transform: scale(1.1); }

/* 4. HEADER ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: rgb(var(--deep)); color: rgb(255 255 255 / .85); font-size: .82rem; max-height: 44px; overflow: hidden; transition: max-height .35s var(--ease); }
.topbar .wrap { height: 44px; }
.topbar a { transition: color .25s; display: inline-flex; align-items: center; gap: 6px; }
.topbar li { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: rgb(var(--accent)); }
.topbar-flag { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: rgb(var(--accent)); }
.social { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 50%; transition: background .3s, color .3s, transform .3s var(--ease); }
.social:hover { background: rgb(var(--accent)); color: #0f2a43 !important; transform: translateY(-3px); }
.topbar .social { width: 28px; height: 28px; display: inline-grid; place-items: center; gap: 0; flex: none; }
.topbar .social:hover { transform: none; }
.site-header.is-scrolled .topbar { max-height: 0; }
.navbar { background: rgb(var(--bg)); border-bottom: 1px solid transparent; transition: box-shadow .35s, background .35s, border-color .35s; }
.navbar .wrap { height: 74px; }
.site-header.is-scrolled .navbar { background: rgb(var(--bg) / .92); backdrop-filter: blur(12px); box-shadow: var(--shadow); border-color: rgb(var(--line)); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 600; color: rgb(var(--ink)); flex: none; }
.logo b { color: rgb(var(--brand)); font-weight: 700; }
.logo-mark { width: 40px; height: 40px; border-radius: 13px; background: rgb(var(--brand)); color: rgb(var(--on-brand)); display: grid; place-items: center; transition: transform .5s var(--ease); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-dot { fill: rgb(var(--accent)); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-light, .logo-light b { color: #fff; }
.logo-light .logo-mark { background: #fff; color: #0a8073; }
.nav-link { position: relative; font-weight: 500; padding-block: 8px; color: rgb(var(--ink)); transition: color .3s; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: rgb(var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover, .nav-link.is-active { color: rgb(var(--brand)); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop .chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav-drop:hover .chev, .nav-drop:focus-within .chev { transform: rotate(180deg); }
.nav-sub { position: absolute; z-index: 40; top: 100%; inset-inline-start: -12px; min-width: 170px; margin-top: 8px; padding: 6px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.nav-sub::before { content: ''; position: absolute; inset-inline: 0; top: -10px; height: 10px; }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 500; white-space: nowrap; color: rgb(var(--ink)); transition: background .25s, color .25s; }
.nav-sub a:hover, .nav-sub a.is-active { background: rgb(var(--mint)); color: rgb(var(--brand)); }
.hamburger { width: 42px; height: 42px; border-radius: 12px; background: rgb(var(--brand)); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1280px) { .hamburger { display: none; } }
@media (min-width: 1024px) { .drawer-only { display: none; } }
.hamburger span { width: 20px; height: 2px; border-radius: 2px; background: rgb(var(--on-brand)); transition: transform .35s var(--ease), opacity .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: absolute; inset-inline: 0; top: 100%; background: rgb(var(--bg)); border-top: 1px solid rgb(var(--line)); box-shadow: var(--shadow-lg); padding-block: 12px 20px; max-height: calc(100vh - 74px); overflow-y: auto; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .35s var(--ease); }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu li { opacity: 0; transform: translateX(-16px); transition: opacity .35s, transform .35s var(--ease); transition-delay: calc(var(--i) * 50ms + 80ms); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; font-weight: 700; border-bottom: 1px solid rgb(var(--line)); }
.mobile-menu li a.is-active, .mobile-menu li a:hover { color: rgb(var(--brand)); }
.m-drop summary { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; font-weight: 700; border-bottom: 1px solid rgb(var(--line)); cursor: pointer; list-style: none; }
.m-drop summary::-webkit-details-marker { display: none; }
.m-drop summary .chev { transition: transform .3s var(--ease); }
.m-drop details[open] summary .chev { transform: rotate(180deg); }
.m-drop ul li a { padding-inline-start: 18px; font-weight: 500; }

/* 5. HERO (Home) ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, rgb(var(--mint)), rgb(var(--bg))); padding: clamp(2.5rem, 5vw, 4.5rem) 0 150px; }
.hero-deco, .band-deco, .banner-deco, .auth-deco, .hslider-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; }
.blob-a { width: 420px; height: 420px; background: rgb(var(--brand-2) / .35); top: -120px; inset-inline-end: -80px; animation: drift 16s ease-in-out infinite alternate; }
.blob-b { width: 320px; height: 320px; background: rgb(var(--accent) / .3); bottom: 40px; inset-inline-start: -100px; animation: drift 20s ease-in-out infinite alternate-reverse; }
.air-lines { position: absolute; width: 760px; max-width: 120%; top: 12%; inset-inline-start: -60px; stroke: rgb(var(--brand) / .22); stroke-width: 2; stroke-linecap: round; animation: sway 12s ease-in-out infinite alternate; }
.air-lines path { stroke-dasharray: 10 12; animation: dash 30s linear infinite; }
.particle { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: rgb(var(--brand-2) / .45); animation: floaty var(--t) ease-in-out infinite alternate; }
.particle:nth-child(3n) { background: rgb(var(--accent) / .6); }
.leaf { position: absolute; width: 34px; color: rgb(var(--brand-2) / .6); animation: leafy 11s ease-in-out infinite alternate; }
.leaf-a { top: 16%; inset-inline-start: 46%; }
.leaf-b { bottom: 26%; inset-inline-start: 6%; width: 24px; animation-duration: 14s; }
.leaf-c { top: 8%; inset-inline-end: 4%; width: 44px; animation-duration: 17s; color: rgb(var(--accent) / .7); }
.plx { transform: translate3d(calc(var(--px, 0) * var(--d, 0) * 1px), calc(var(--py, 0) * var(--d, 0) * 1px), 0); transition: transform .5s ease-out; will-change: transform; }
.hero-in, .s-field { opacity: 0; transform: translateY(26px); animation: fade-up .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
.hl { position: relative; color: rgb(var(--brand)); white-space: nowrap; }
.hl-line { position: absolute; inset-inline: -2%; bottom: -.18em; width: 104%; height: .32em; fill: none; stroke: rgb(var(--accent)); stroke-width: 5; stroke-linecap: round; overflow: visible; }
.hl-line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) .9s forwards; }
.collage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin-inline: auto; }
.collage-main { position: absolute; inset: 0 13% 5% 11%; }
.collage-main::before { content: ''; position: absolute; inset: -16px -16px 22px 18px; border-radius: 300px 300px 30px 30px; border: 2px dashed rgb(var(--brand) / .45); animation: fade 1.2s ease 1s both; }
.collage-main::after { content: ''; position: absolute; z-index: -1; inset: 26px 26px -18px -18px; border-radius: 280px 280px 30px 30px; background: rgb(var(--brand) / .14); animation: fade 1.2s ease .6s both; }
.clip-reveal { position: relative; width: 100%; height: 100%; border-radius: 280px 280px 30px 30px; overflow: hidden; box-shadow: var(--shadow-lg); animation: clip-up 1.2s var(--ease) .25s both; }
.clip-reveal img, .collage-sm img { width: 100%; height: 100%; object-fit: cover; }
.clip-reveal img { animation: zoom-out 1.6s var(--ease) .25s both; }
.collage-sm { position: absolute; border-radius: 24px; overflow: hidden; border: 6px solid rgb(var(--bg)); box-shadow: var(--shadow-lg); opacity: 0; }
.sm-a { width: 38%; aspect-ratio: 1; bottom: 0; inset-inline-start: 0; animation: slide-from-start .9s var(--ease) .8s forwards; }
.sm-b { width: 30%; aspect-ratio: 4 / 5; top: 7%; inset-inline-end: 0; animation: slide-from-end .9s var(--ease) 1s forwards; }
.fcard { position: absolute; z-index: 3; opacity: 0; animation: pop-in .6s var(--ease) forwards; animation-delay: calc(var(--i) * 220ms + 1.3s); }
.fcard-in { display: flex; align-items: center; gap: 10px; background: rgb(var(--surface)); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-lg); animation: bob 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.4s); }
.fcard p { display: grid; line-height: 1.25; }
.fcard b { font-size: .88rem; color: rgb(var(--ink)); }
.fcard small { font-size: .72rem; color: rgb(var(--muted)); }
.fc-aqi { top: 34%; inset-inline-start: -3%; }
.fc-cert { bottom: 15%; inset-inline-end: -2%; }
.fc-rate { top: 1%; inset-inline-start: 14%; }
.spin-badge { position: absolute; z-index: 2; width: 112px; height: 112px; bottom: 1%; inset-inline-start: 41%; }
.spin-badge > svg { width: 100%; height: 100%; background: rgb(var(--deep)); border-radius: 50%; animation: spin 18s linear infinite; }
.spin-badge text { fill: #fff; font: 700 10.5px 'Sora', sans-serif; letter-spacing: .12em; }
.spin-badge span { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgb(var(--accent)); color: #0f2a43; display: grid; place-items: center; }
.hero-wave { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 80px; fill: rgb(var(--bg)); }
.mini-gauge { width: 120px; flex: none; }
.mini-gauge[data-size="sm"] { width: 58px; }
@media (max-width: 1023px) { .hero-copy { text-align: center; } .hero-copy .lead { margin-inline: auto; } .hero-copy > .flex { justify-content: center; } }
@media (max-width: 639px) {
  .collage { max-width: 380px; }
  .fcard-in { padding: 7px 10px; gap: 7px; border-radius: 12px; }
  .fcard b { font-size: .74rem; } .fcard small { font-size: .64rem; }
  .fc-aqi { inset-inline-start: 0; } .fc-cert { inset-inline-end: 0; } .fc-rate { display: none; }
  .mini-gauge[data-size="sm"] { width: 44px; }
  .spin-badge { width: 84px; height: 84px; }
  .spin-badge span { width: 34px; height: 34px; }
}

/* 6. HOME SECTIONS --------------------------------------------------------- */
.info-strip { position: relative; z-index: 5; margin-top: -92px; }
.info-strip-in { display: grid; gap: 0; background: rgb(var(--surface)); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.info-strip-in li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid rgb(var(--line)); transition: background .35s; }
.info-strip-in li:hover { background: rgb(var(--mint)); }
.info-strip-in li:hover .ico-box { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: rotate(-8deg); }
.info-strip-in h2 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1rem; }
.info-strip-in p { font-size: .86rem; color: rgb(var(--muted)); }
@media (min-width: 768px) { .info-strip-in { grid-template-columns: repeat(3, 1fr); } .info-strip-in li { border-bottom: 0; border-inline-end: 1px solid rgb(var(--line)); } .info-strip-in li:last-child { border: 0; } }
.about-media { position: relative; padding-inline-end: 12%; padding-bottom: 12%; }
.img-frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.img-frame:hover img { transform: scale(1.05); }
.img-frame-blob { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; aspect-ratio: 1; }
.about-small { position: absolute; width: 46%; bottom: 0; inset-inline-end: 0; border-radius: 22px; overflow: hidden; border: 6px solid rgb(var(--bg)); box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite alternate; }
.exp-badge { position: absolute; top: 8%; inset-inline-end: 2%; background: rgb(var(--brand)); color: rgb(var(--on-brand)); border-radius: 20px; padding: 14px 18px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-lg); font-size: .8rem; line-height: 1.2; font-weight: 700; animation: bob 5s ease-in-out infinite alternate-reverse; }
.exp-badge b { font-family: 'Sora', sans-serif; font-size: 2rem; }
.call-link { display: inline-flex; align-items: center; gap: 12px; }
.call-link span:last-child { display: grid; line-height: 1.25; }
.call-link small { color: rgb(var(--muted)); font-size: .78rem; }
.call-link b { font-family: 'Sora', sans-serif; color: rgb(var(--ink)); }
.call-link:hover .ico-box { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: rotate(-10deg); }
.call-link-light small { color: rgb(255 255 255 / .75); } .call-link-light b { color: #fff; }
.call-link-light .ico-box { background: rgb(255 255 255 / .16); color: #fff; }
.effect-card { background: rgb(var(--surface)); border-radius: var(--radius); padding: 26px 22px; border-bottom: 3px solid transparent; box-shadow: 0 1px 0 rgb(var(--line)); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.effect-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgb(var(--brand)); }
.effect-card:hover .ico-ring { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: rotateY(180deg); }
.signs { display: grid; gap: 14px; }
.sign { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; padding-inline-end: 64px; border-radius: var(--radius); border: 1px solid rgb(var(--line)); background: rgb(var(--surface)); overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.sign::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: rgb(var(--brand)); transform: scaleY(0); transition: transform .4s var(--ease); }
.sign:hover { transform: translateX(8px); border-color: rgb(var(--brand) / .5); box-shadow: var(--shadow); }
.sign:hover::before { transform: scaleY(1); }
.sign:hover .ico-box { background: rgb(var(--brand)); color: rgb(var(--on-brand)); }
.sign-num { position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); font: 700 2.2rem 'Sora', sans-serif; color: rgb(var(--brand) / .14); }
.svc-card { position: relative; display: flex; flex-direction: column; background: rgb(var(--surface)); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgb(var(--line)), var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.svc-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(var(--brand) / .55)); opacity: 0; transition: opacity .45s; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.08); }
.svc-card:hover .svc-media::after { opacity: 1; }
.svc-body { position: relative; padding: 38px 22px 22px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.svc-body > .ico-box { position: absolute; top: -26px; inset-inline-start: 22px; background: rgb(var(--surface)); box-shadow: var(--shadow); }
.svc-card:hover .svc-body > .ico-box { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: translateY(-4px) rotate(-8deg); }
.svc-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgb(var(--brand)); }
.svc-card .h3 a { transition: color .3s; } .svc-card:hover .h3 a { color: rgb(var(--brand)); }
.svc-card .link-arrow, .svc-actions { margin-top: auto; }
.svc-body > p:last-of-type { margin-bottom: 14px; }
.svc-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; }
/* Filter transition for the services grid */
.svc-card.is-leaving { opacity: 0; transform: scale(.94); transition: opacity .25s, transform .25s; }
.svc-card.is-entering { animation: pop-in .5s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }

/* Process timeline */
.timeline { position: relative; display: grid; gap: 26px; margin-top: 40px; }
.tl-line { position: absolute; inset-inline-start: 27px; top: 10px; bottom: 10px; width: 3px; background: rgb(var(--line)); border-radius: 3px; }
.tl-fill { display: block; width: 100%; height: 100%; background: linear-gradient(rgb(var(--brand)), rgb(var(--brand-2))); border-radius: inherit; transform: scaleY(0); transform-origin: top; transition: transform 1.8s linear .2s; }
.timeline.is-in .tl-fill { transform: none; }
.tl-step { position: relative; display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s var(--ease); transition-delay: calc(var(--i) * 300ms + 200ms); }
.timeline.is-in .tl-step { opacity: 1; transform: none; }
.tl-dot { grid-row: span 3; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; background: rgb(var(--surface)); color: rgb(var(--muted)); box-shadow: inset 0 0 0 3px rgb(var(--line)); position: relative; z-index: 1; transition: background .5s, color .5s, box-shadow .5s, transform .4s var(--ease); transition-delay: calc(var(--i) * 300ms + 300ms); }
.timeline.is-in .tl-dot { background: rgb(var(--brand)); color: rgb(var(--on-brand)); box-shadow: 0 0 0 6px rgb(var(--brand) / .15); }
.tl-step:hover .tl-dot { transform: scale(1.12) rotate(-6deg); transition-delay: 0s; }
.tl-num { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--brand)); }
.tl-step h3 { font: 600 1.05rem 'Sora', sans-serif; }
.tl-step p { font-size: .88rem; color: rgb(var(--muted)); }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(var(--n), 1fr); gap: 18px; }
  .tl-line { inset-inline: calc(100% / var(--n) / 2); top: 28px; bottom: auto; width: auto; height: 3px; }
  .tl-fill { transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, rgb(var(--brand)), rgb(var(--brand-2))); }
  .tl-step { display: block; text-align: center; }
  .tl-dot { margin: 0 auto 14px; display: grid; }
  .tl-num { display: block; }
}

/* Before / after slider */
.ba { position: relative; direction: ltr; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; max-width: none; }
.ba-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; top: 14px; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: rgb(11 34 54 / .8); color: #fff; z-index: 2; }
.ba-tag-before { left: 14px; } .ba-tag-after { right: 14px; background: rgb(10 128 115 / .92); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; z-index: 3; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: #0a8073; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgb(0 0 0 / .3); transition: transform .3s var(--ease); }
.ba-handle:hover .ba-knob, .ba-handle:focus-visible .ba-knob { transform: scale(1.12); }
.ba-handle:focus-visible { outline: none; } .ba-handle:focus-visible .ba-knob { outline: 3px solid rgb(var(--accent)); outline-offset: 3px; }
.ba.is-hint .ba-top { animation: ba-hint-clip 1.6s var(--ease) .4s; }
.ba.is-hint .ba-handle { animation: ba-hint 1.6s var(--ease) .4s; }

/* Stats */
.stats-band, .portal-band, .video-sec { position: relative; overflow: hidden; background: rgb(var(--deep)); color: #fff; padding-block: clamp(2.6rem, 5vw, 4rem); }
.stats-band .air-lines, .portal-band .air-lines, .cta .air-lines, .auth-deco .air-lines, .hslider-deco .air-lines { stroke: rgb(255 255 255 / .2); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; text-align: center; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { display: grid; gap: 2px; position: relative; }
.stats b { font: 700 clamp(2rem, 4.4vw, 3.2rem) 'Sora', sans-serif; color: rgb(var(--accent)); line-height: 1.1; }
.stats li > span { font-size: .9rem; opacity: .85; }
.stats-light { background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); border-radius: var(--radius); padding: 26px 16px; box-shadow: var(--shadow); }
.stats-light b { color: rgb(var(--ink)); } .stats-light li > span { color: rgb(var(--muted)); opacity: 1; }
.stats-light .ico { margin-inline: auto; font-size: 1.5rem; color: rgb(var(--brand)); margin-bottom: 4px; transition: transform .4s var(--ease); }
.stats-light li:hover .ico { transform: translateY(-4px) scale(1.15); }

/* Portal mock preview */
.portal-mock { background: rgb(var(--mint)); border: 1px solid rgb(var(--line)); border-radius: 24px; padding: 14px; box-shadow: var(--shadow-lg); transform: perspective(1200px) rotateY(4deg); transition: transform .6s var(--ease); }
.portal-mock:hover { transform: none; }
.pm-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; font-size: .8rem; }
.pm-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--line)); }
.pm-bar span:first-child { background: rgb(var(--accent)); }
.pm-bar b { margin-inline-start: auto; color: rgb(var(--muted)); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-card { background: rgb(var(--surface)); border-radius: 16px; padding: 14px; position: relative; }
.pm-wide { grid-column: 1 / -1; }
.pm-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; flex-wrap: wrap; }
.pm-k { font-size: .76rem; font-weight: 700; color: rgb(var(--muted)); display: flex; gap: 6px; align-items: center; }
.pm-v { font: 700 1.25rem 'Sora', sans-serif; margin-top: 4px; }
.pm-v small { font: 700 .75rem 'DM Sans', sans-serif; color: rgb(var(--good)); }
.pm-s { font-size: .76rem; color: rgb(var(--muted)); margin-top: 4px; }
.pm-card .mini-gauge { position: absolute; inset-inline-end: 10px; top: 12px; }
.pm-card .bar { margin-top: 10px; }
.portal-points { display: grid; gap: 16px; }
.portal-points li { display: flex; gap: 14px; align-items: flex-start; }
.portal-points h3 { font-weight: 700; } .portal-points p { font-size: .9rem; color: rgb(var(--muted)); }
.portal-points li:hover .ico-box { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: scale(1.1); }

/* Trust badges */
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .trust-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .trust-row { grid-template-columns: repeat(5, 1fr); } }
.trust { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 18px 10px; border-radius: var(--radius); background: rgb(var(--surface)); border: 1px dashed rgb(var(--brand) / .4); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.trust .ico { font-size: 1.7rem; color: rgb(var(--brand)); margin-bottom: 6px; transition: transform .5s var(--ease); }
.trust b { font-family: 'Sora', sans-serif; font-size: .92rem; } .trust span { font-size: .76rem; color: rgb(var(--muted)); }
.trust:hover { transform: translateY(-6px); border-style: solid; box-shadow: var(--shadow); }
.trust:hover .ico { transform: scale(1.2) rotate(8deg); }

/* Testimonial slider */
.tslider-view { overflow: hidden; margin: -12px; padding: 12px; }
.tslider-track { display: flex; transition: transform .7s var(--ease); }
.tslide { flex: 0 0 100%; padding-inline: 10px; }
@media (min-width: 900px) { .tslide { flex-basis: 50%; } }
.tcard { position: relative; height: 100%; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); border-radius: var(--radius); padding: 28px 26px; opacity: .45; transform: scale(.96); transition: opacity .6s, transform .6s var(--ease), box-shadow .6s; }
.tslide.is-active .tcard { opacity: 1; transform: none; box-shadow: var(--shadow); }
.tquote { position: absolute; top: 18px; inset-inline-end: 22px; font-size: 2.6rem; color: rgb(var(--brand) / .18); }
.tcard blockquote { margin: 12px 0 18px; font-size: 1.02rem; }
.tcard footer { display: flex; align-items: center; gap: 12px; }
.tcard footer img { width: 48px; height: 48px; border-radius: 50%; }
.tcard footer div { display: grid; line-height: 1.3; } .tcard footer span { font-size: .82rem; color: rgb(var(--muted)); }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; background: rgb(var(--line)); transition: width .4s var(--ease), background .4s; }
.dots button.is-active { width: 30px; background: rgb(var(--brand)); }

/* CTA */
.cta { position: relative; overflow: hidden; background: rgb(var(--deep)); color: #fff; padding-block: clamp(3rem, 6vw, 5rem); }
.cta-slim { padding-block: clamp(2.4rem, 4vw, 3.4rem); }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; animation: slow-zoom 24s ease-in-out infinite alternate; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(11 34 54 / .96) 30%, rgb(10 128 115 / .7)); }
.cta-bg .air-lines, .cta-bg .particle { z-index: 1; }
.cta-title { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; line-height: 1.12; }
.cta-text { color: rgb(255 255 255 / .82); margin-top: 12px; max-width: 52ch; }
.cta-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; font-weight: 500; }
.cta-points li { display: flex; align-items: center; gap: 8px; } .cta-points .ico { color: rgb(var(--accent)); }

/* Accordion */
.acc { display: grid; gap: 12px; }
.acc-item { border: 1px solid rgb(var(--line)); border-radius: 16px; background: rgb(var(--surface)); transition: border-color .35s, box-shadow .35s; }
.acc-item:has(.is-open) { border-color: rgb(var(--brand) / .5); box-shadow: var(--shadow); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: start; padding: 18px 20px; font: 600 1rem 'Sora', sans-serif; color: rgb(var(--ink)); }
.acc-ico { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgb(var(--brand) / .12); transition: background .35s, transform .45s var(--ease); }
.acc-ico::before, .acc-ico::after { content: ''; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; background: rgb(var(--brand)); border-radius: 2px; transition: transform .35s var(--ease), background .35s; }
.acc-ico::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico { background: rgb(var(--brand)); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-ico::before, .acc-btn[aria-expanded="true"] .acc-ico::after { background: rgb(var(--on-brand)); }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility .45s; }
.acc-panel.is-open { grid-template-rows: 1fr; visibility: visible; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 20px 20px; color: rgb(var(--muted)); }

/* 7. HOME 2 ---------------------------------------------------------------- */
.hslider { position: relative; background: rgb(var(--deep)); color: #fff; min-height: clamp(600px, 86vh, 780px); display: grid; }
.hslide { grid-area: 1 / 1; position: relative; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; padding-block: 60px 210px; overflow: hidden; }
.hslide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hslide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s ease-out; }
.hslide.is-active .hslide-bg { transform: none; }
.hslide::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(11 34 54 / .62), rgb(11 34 54 / .88)); }
.hslide-content { position: relative; z-index: 2; text-align: center; }
.hslide-title { color: #fff; font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 700; line-height: 1.1; max-width: 16ch; margin-inline: auto; }
.hslide-text { color: rgb(255 255 255 / .85); font-size: 1.08rem; max-width: 52ch; margin: 16px auto 0; }
.s-in { opacity: 0; transform: translateY(30px); }
.hslide.is-active .s-in { animation: fade-up .8s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + 300ms); }
.hslider-deco { z-index: 2; }
.hs-chip { animation-delay: 1s; display: none; }
@media (min-width: 1100px) { .hs-chip { display: block; } }
.hs-chip-a { top: 20%; inset-inline-start: 5%; --i: 0; } .hs-chip-b { top: 52%; inset-inline-end: 5%; --i: 1; }
.hs-arrow { position: absolute; top: 40%; z-index: 4; background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .35); color: #fff; display: none; }
@media (min-width: 768px) { .hs-arrow { display: inline-grid; } }
.hs-prev { inset-inline-start: 20px; } .hs-next { inset-inline-end: 20px; }
.hs-progress { position: absolute; z-index: 4; bottom: 172px; inset-inline: 0; display: flex; justify-content: center; gap: 10px; }
.hs-progress button { width: 54px; height: 16px; display: grid; align-items: center; }
.hs-progress button::before { content: ''; grid-area: 1 / 1; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .3); }
.hs-progress span { grid-area: 1 / 1; height: 4px; border-radius: 4px; background: rgb(var(--accent)); transform: scaleX(0); transform-origin: left; }
.hs-progress .is-active span { animation: fill-x var(--dur, 6s) linear forwards; }
.hero-enq-wrap { position: absolute; z-index: 5; inset-inline: 0; bottom: -70px; }
.hero-enq { display: grid; gap: 12px; align-items: end; background: rgb(var(--surface)); color: rgb(var(--ink)); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-lg); animation: fade-up .9s var(--ease) .8s both; }
.hero-enq-title { display: flex; gap: 12px; align-items: center; }
.hero-enq-title div { display: grid; line-height: 1.25; } .hero-enq-title b { font-family: 'Sora', sans-serif; } .hero-enq-title small { color: rgb(var(--muted)); }
.hero-enq .err { position: absolute; }
.hero-enq .field { position: relative; }
@media (min-width: 640px) { .hero-enq { grid-template-columns: 1fr 1fr; } .hero-enq-title { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .hero-enq { grid-template-columns: auto 1fr 1fr 1fr auto; padding: 24px 26px 30px; } .hero-enq-title { grid-column: auto; } }
@media (max-width: 639px) { .hslide { padding-bottom: 400px; } .hs-progress { bottom: 356px; } .hero-enq-wrap { bottom: -60px; } }
@media (min-width: 640px) and (max-width: 1099px) { .hslide { padding-bottom: 290px; } .hs-progress { bottom: 250px; } }
.hslider + .section { padding-top: 110px; }
.bars { display: grid; gap: 16px; }
.bar-row p { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: .94rem; margin-bottom: 6px; }
.bar-row b { color: rgb(var(--brand)); font-family: 'Sora', sans-serif; }
.carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4px 24px; margin-inline: -4px; }
.carousel::-webkit-scrollbar { display: none; }
.car-card { position: relative; flex: 0 0 min(320px, 82vw); height: 400px; border-radius: 24px; overflow: hidden; scroll-snap-align: start; color: #fff; box-shadow: var(--shadow); }
.car-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.car-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 34 54 / .05) 20%, rgb(11 34 54 / .94) 78%); transition: background .5s; }
.car-body { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: 22px; transform: translateY(88px); transition: transform .5s var(--ease); }
.car-body .ico-box { background: rgb(var(--accent)); color: #0f2a43; margin-bottom: 12px; }
.car-body .svc-cat { color: rgb(var(--accent)); } .car-body .h3 { color: #fff; }
.car-body > p:not(.svc-cat) { font-size: .86rem; opacity: 0; margin: 8px 0 10px; height: 60px; overflow: hidden; transition: opacity .4s; }
.car-body .link-arrow { color: rgb(var(--accent)); }
.car-card:hover > img, .car-card:focus-within > img { transform: scale(1.1); }
.car-card:hover .car-body, .car-card:focus-within .car-body { transform: none; }
.car-card:hover .car-body > p, .car-card:focus-within .car-body > p { opacity: .9; }
.car-card:hover .ico-box { transform: rotate(-10deg) scale(1.08); }
@media (hover: none) { .car-body { transform: none; } .car-body > p:not(.svc-cat) { opacity: .9; } }
.aq { margin-top: 32px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); border-radius: 24px; padding: clamp(16px, 3vw, 30px); box-shadow: var(--shadow); }
.aq-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.aq-seg { display: grid; gap: 4px; text-align: start; padding: 0 0 10px; border-radius: 12px; overflow: hidden; background: rgb(var(--mint)); transition: transform .35s var(--ease), box-shadow .35s; --c: var(--good); }
.aq-seg b, .aq-seg small { padding-inline: 12px; } .aq-seg b { display: flex; gap: 6px; align-items: center; font-size: .92rem; color: rgb(var(--c)); } .aq-seg small { color: rgb(var(--muted)); font-size: .76rem; }
.aq-bar { height: 12px; background: rgb(var(--c)); margin-bottom: 8px; transform-origin: bottom; transition: transform .35s var(--ease); }
.aq-moderate { --c: var(--moderate); } .aq-poor { --c: var(--poor); } .aq-hazardous { --c: var(--bad); }
.aq-seg:hover, .aq-seg.is-active { transform: translateY(-5px); box-shadow: var(--shadow); }
.aq-seg.is-active { outline: 2px solid rgb(var(--c)); }
.aq-seg.is-active .aq-bar { transform: scaleY(1.6); }
.aq-panel { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 24px; }
.aq-panel > div:last-child { flex: 1 1 280px; }
.aq-panel.is-swap > div:last-child { animation: fade-up .5s var(--ease) both; }
.aq-rec { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-weight: 700; font-size: .92rem; }
.aq-rec .ico { color: rgb(var(--brand)); margin-top: 2px; }
@media (max-width: 560px) { .aq-scale { grid-template-columns: repeat(2, 1fr); } }
.video-sec { padding-block: clamp(4rem, 9vw, 7rem); }
.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; animation: slow-zoom 24s ease-in-out infinite alternate; }
.play-big .play-ring { width: 92px; height: 92px; font-size: 1.6rem; margin-inline: auto; }
.pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: 24px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.pack:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: rgb(var(--brand)); }
.pack-hot { background: rgb(var(--deep)); color: #fff; border-color: rgb(var(--deep)); }
.pack-hot .h3 { color: #fff; } .pack-hot .text-muted { color: rgb(255 255 255 / .75) !important; }
.pack-flag { position: absolute; top: -14px; inset-inline-end: 22px; background: rgb(var(--accent)); color: #0f2a43; font-size: .74rem; font-weight: 700; padding: 5px 14px; border-radius: 99px; }
.pack-price { font: 700 2.1rem 'Sora', sans-serif; color: rgb(var(--brand)); padding-bottom: 14px; border-bottom: 1px dashed rgb(var(--line)); }
.pack-hot .pack-price { color: rgb(var(--accent)); border-color: rgb(255 255 255 / .25); }
.pack-hot .btn-primary { background: rgb(var(--accent)); color: #0f2a43; } .pack-hot .btn-primary::before { background: #fff; } .pack-hot .btn-primary:hover { color: #0f2a43; }
.pack .btn { margin-top: auto; } .pack .check-list { margin-bottom: 12px; }
.masonry { columns: 2; column-gap: 14px; }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 18px; } }
.gal-item { position: relative; display: block; width: 100%; margin-bottom: 14px; break-inside: avoid; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .gal-item { margin-bottom: 18px; } }
.gal-item.tall { aspect-ratio: 3 / 4; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-cap { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 8px; padding: 16px; text-align: start; color: #fff; font-weight: 700; font-size: .88rem; background: linear-gradient(180deg, transparent 45%, rgb(11 34 54 / .9)); opacity: 0; transition: opacity .4s; }
.gal-cap .ico { background: rgb(var(--accent)); color: #0f2a43; border-radius: 50%; padding: 4px; width: 26px; height: 26px; transform: scale(0); transition: transform .4s var(--ease) .05s; }
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.08); }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; }
.gal-item:hover .gal-cap .ico, .gal-item:focus-visible .gal-cap .ico { transform: none; }
.team-card { text-align: center; }
.team-photo { position: relative; border-radius: 24px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 1; background: rgb(var(--mint)); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-exp { position: absolute; top: 12px; inset-inline-start: 12px; background: rgb(var(--surface)); color: rgb(var(--brand)); font-weight: 700; font-size: .76rem; padding: 4px 10px; border-radius: 99px; }
.team-social { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: center; gap: 10px; padding: 14px; background: linear-gradient(transparent, rgb(11 34 54 / .7)); transform: translateY(100%); transition: transform .45s var(--ease); }
.team-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0a8073; transition: transform .3s var(--ease), background .3s; }
.team-social a:hover { transform: translateY(-4px); background: rgb(var(--accent)); color: #0f2a43; }
.team-card:hover .team-photo img, .team-card:focus-within .team-photo img { transform: scale(1.07); }
.team-card:hover .team-social, .team-card:focus-within .team-social { transform: none; }
.team-card .h3 { transition: color .3s; } .team-card:hover .h3 { color: rgb(var(--brand)); }
.bigquote { position: relative; max-width: 860px; margin-inline: auto; text-align: center; }
.bq-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.8rem; background: rgb(var(--brand)); color: rgb(var(--on-brand)); }
.bigquote blockquote { font: 500 clamp(1.2rem, 2.6vw, 1.75rem)/1.45 'Sora', sans-serif; margin: 22px 0 16px; min-height: 4.4em; }
.bigquote.is-swap blockquote, .bigquote.is-swap .bq-name { animation: fade-up .55s var(--ease) both; }
.bq-name { color: rgb(var(--muted)); } .bq-name b { color: rgb(var(--ink)); }
.bq-thumbs { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.bq-thumbs button { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; opacity: .5; transform: scale(.86); outline: 3px solid transparent; outline-offset: 3px; transition: opacity .35s, transform .35s var(--ease), outline-color .35s; }
.bq-thumbs button.is-active, .bq-thumbs button:hover { opacity: 1; transform: none; }
.bq-thumbs button.is-active { outline-color: rgb(var(--brand)); }
.portal-tile { position: relative; padding: 26px 22px; border-radius: 22px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); overflow: hidden; transition: transform .45s var(--ease), background .45s; }
.portal-tile:hover { transform: translateY(-8px); background: rgb(255 255 255 / .13); }
.portal-tile .ico-box { background: rgb(var(--accent)); color: #0f2a43; margin-bottom: 14px; }
.portal-tile:hover .ico-box { transform: rotate(-10deg); }
.portal-tile h3 { font: 600 1.15rem 'Sora', sans-serif; } .portal-tile p { opacity: .8; font-size: .92rem; margin-top: 4px; }
.portal-n { position: absolute; top: 8px; inset-inline-end: 18px; font: 700 3rem 'Sora', sans-serif; color: rgb(255 255 255 / .1); }
.post { border-radius: var(--radius); overflow: hidden; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); transition: transform .45s var(--ease), box-shadow .45s; }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover .post-img img { transform: scale(1.08) rotate(1deg); }
.post-img span { position: absolute; top: 14px; inset-inline-start: 14px; background: rgb(var(--accent)); color: #0f2a43; font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.post-body { padding: 20px; } .post .h3 { margin-top: 6px; } .post .h3 a { transition: color .3s; } .post:hover .h3 a { color: rgb(var(--brand)); }
.news-cta { position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center; background: rgb(var(--mint)); border: 1px solid rgb(var(--line)); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
@media (min-width: 900px) { .news-cta { grid-template-columns: 1fr 1fr; } }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form .input { flex: 1 1 220px; border-radius: 999px; padding-inline: 20px; }

/* 8. INNER PAGES ----------------------------------------------------------- */
.page-banner { position: relative; overflow: hidden; background: linear-gradient(180deg, rgb(var(--mint)), rgb(var(--bg))); padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-banner .lead { margin-top: 12px; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); padding: 8px 18px; border-radius: 99px; font-size: .88rem; font-weight: 700; }
.breadcrumb li + li::before { content: '/'; margin-inline-end: 8px; color: rgb(var(--muted)); }
.breadcrumb a { color: rgb(var(--brand)); } .breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: rgb(var(--muted)); }
.feature { display: grid; gap: 32px; align-items: center; scroll-margin-top: 110px; }
@media (min-width: 1024px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; } .feature-flip .feature-media { order: 2; }
  /* Photo fills the full height of the text column so there is no empty gap above it */
  .feature-media { display: flex; } .feature-media .img-frame { position: relative; flex: 1; min-height: 360px; }
  .feature-media .img-frame img { position: absolute; inset: 0; }
}
.feature-media { position: relative; }
.feature-tag { position: absolute; bottom: -14px; inset-inline-start: 24px; display: inline-flex; gap: 8px; align-items: center; background: rgb(var(--brand)); color: rgb(var(--on-brand)); font-weight: 700; font-size: .85rem; padding: 10px 18px; border-radius: 99px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite alternate; }
.spec { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .spec { grid-template-columns: 1fr 1fr; } }
.spec > div { padding: 14px 16px; border-radius: 14px; background: rgb(var(--mint)); border-inline-start: 3px solid rgb(var(--brand)); transition: transform .35s var(--ease), box-shadow .35s; }
.spec > div:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.spec dt { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: .92rem; } .spec dt .ico { color: rgb(var(--brand)); }
.spec dd { font-size: .88rem; color: rgb(var(--muted)); margin-top: 2px; }
.tabs { margin-top: 28px; }
.tab-list { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; gap: 4px; padding: 5px; border-radius: 999px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); }
.tab-list button { display: inline-flex; gap: 8px; align-items: center; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: rgb(var(--muted)); transition: background .35s, color .35s; }
.tab-list button.is-active { background: rgb(var(--brand)); color: rgb(var(--on-brand)); }
.tab-panel { margin-top: 28px; } .tab-panel.is-active { animation: fade-up .55s var(--ease) both; }
.equip { padding: 22px 20px; border-radius: var(--radius); border: 1px solid rgb(var(--line)); background: rgb(var(--surface)); transition: transform .4s var(--ease), background .4s, border-color .4s, box-shadow .4s; }
.equip h3 { font: 600 1rem 'Sora', sans-serif; margin-top: 12px; } .equip p { font-size: .86rem; color: rgb(var(--muted)); margin-top: 4px; }
.equip:hover { transform: translateY(-6px); border-color: rgb(var(--brand)); box-shadow: var(--shadow); }
.equip:hover .ico-box { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: rotate(-8deg) scale(1.06); }
.mini-steps { display: grid; gap: 10px; }
.mini-steps li { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgb(var(--mint)); }
.mini-steps b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgb(var(--brand)); color: rgb(var(--on-brand)); font-size: .85rem; }
.side-card { border: 1px solid rgb(var(--line)); border-radius: var(--radius); padding: 22px; background: rgb(var(--surface)); }
.side-list { margin-top: 10px; }
.side-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; font-weight: 500; font-size: .92rem; transition: background .3s, color .3s, padding .3s; }
.side-list a:hover, .side-list a.is-active { background: rgb(var(--brand)); color: rgb(var(--on-brand)); padding-inline-start: 18px; }
.side-cta { background: rgb(var(--deep)); color: #fff; border: 0; } .side-cta .h3 { color: #fff; margin-top: 12px; } .side-cta p { opacity: .8; font-size: .9rem; }
.side-cta .ico-box { background: rgb(var(--accent)); color: #0f2a43; }
.nf, .cs { position: relative; overflow: hidden; display: grid; align-items: center; min-height: 72vh; padding-block: 60px; background: linear-gradient(180deg, rgb(var(--mint)), rgb(var(--bg))); }
.nf-num { display: flex; justify-content: center; align-items: center; gap: 8px; font: 700 clamp(6rem, 22vw, 13rem)/1 'Sora', sans-serif; color: rgb(var(--brand)); }
.nf-num span:first-child { animation: bob 4s ease-in-out infinite alternate; } .nf-num span:last-child { animation: bob 4s ease-in-out infinite alternate-reverse; }
.nf-zero { width: .8em; height: .8em; border-radius: 50%; border: .09em solid rgb(var(--accent)); display: grid; place-items: center; }
.nf-zero .ico { width: .42em; height: .42em; color: rgb(var(--ink)); animation: sway 3s ease-in-out infinite alternate; }
.solo-head { display: flex; justify-content: space-between; align-items: center; height: 74px; position: relative; z-index: 3; }
.solo .cs { min-height: calc(100vh - 74px); }
.countdown { display: flex; justify-content: center; gap: clamp(8px, 2vw, 18px); margin-top: 30px; }
.countdown div { width: clamp(68px, 18vw, 110px); padding: 16px 4px; border-radius: 20px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); box-shadow: var(--shadow); display: grid; }
.countdown b { font: 700 clamp(1.6rem, 5vw, 2.6rem) 'Sora', sans-serif; color: rgb(var(--brand)); font-variant-numeric: tabular-nums; }
.countdown b.tick { animation: tick .4s var(--ease); }
.countdown span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: rgb(var(--muted)); font-weight: 700; }
.cs-form { max-width: 480px; margin: 28px auto 0; }

/* 9. FORMS, MODAL, TOAST --------------------------------------------------- */
.form-card { background: rgb(var(--surface)); color: rgb(var(--ink)); border-radius: 24px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label.check { font-weight: 400; }
.field > label { font-size: .86rem; font-weight: 700; color: rgb(var(--ink)); }
.input { width: 100%; min-width: 0; max-width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid rgb(var(--line)); background: rgb(var(--bg)); color: rgb(var(--ink)); font: inherit; font-size: .95rem; transition: border-color .3s, box-shadow .3s, background .3s; }
.input::placeholder { color: rgb(var(--muted) / .8); }
.input:hover { border-color: rgb(var(--brand) / .45); }
.input:focus { outline: none; border-color: rgb(var(--brand)); box-shadow: 0 0 0 4px rgb(var(--brand) / .16); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6376' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-inline-end: 38px; }
.field.has-error .input { border-color: rgb(var(--bad)); }
.err { font-size: .8rem; font-weight: 700; color: rgb(var(--bad)); display: none; align-items: center; gap: 6px; }
.err.is-shown { display: flex; animation: shake .4s var(--ease); }
.err.is-shown::before { content: '!'; width: 16px; height: 16px; border-radius: 50%; background: rgb(var(--bad)); color: #fff; font-size: .7rem; display: grid; place-items: center; flex: none; }
.check { display: inline-flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: rgb(var(--brand)); flex: none; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .92rem; font-weight: 500; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { width: 44px; height: 24px; border-radius: 99px; background: rgb(var(--line)); position: relative; transition: background .3s; flex: none; }
.switch-ui::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .3); transition: transform .3s var(--ease); }
.switch input:checked + .switch-ui { background: rgb(var(--brand)); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid rgb(var(--brand)); outline-offset: 3px; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgb(11 34 54 / .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; overflow-y: auto; }
.modal.is-open { opacity: 1; }
.modal-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: rgb(var(--surface)); color: rgb(var(--ink)); border-radius: 24px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.96); transition: transform .4s var(--ease); }
.modal.is-open .modal-box { transform: none; }
.modal-lg { max-width: 860px; } .modal-sm { max-width: 420px; }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--mint)); color: rgb(var(--ink)); transition: background .3s, color .3s, transform .4s var(--ease); }
.modal-close:hover { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: rotate(90deg); }
.modal-box > .h3:first-of-type, .modal-box > h2 { padding-inline-end: 44px; }
.modal-ico { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1.7rem; background: rgb(var(--good) / .14); color: rgb(var(--good)); margin-bottom: 12px; animation: pop-in .5s var(--ease) .15s both; }
.modal-ico.is-warn { background: rgb(var(--bad) / .12); color: rgb(var(--bad)); }
.modal-sm > h2 { padding: 0; }
.video-stage { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: rgb(var(--deep)); }
.video-stage img { width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 12s ease-in-out infinite alternate; }
.video-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-steps { position: absolute; inset-inline: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; background: linear-gradient(transparent, rgb(11 34 54 / .85)); }
.video-steps span { font-size: .76rem; font-weight: 700; color: #fff; padding: 4px 10px; border-radius: 99px; background: rgb(255 255 255 / .18); animation: step-glow 10s linear infinite; }
.video-steps span:nth-child(2) { animation-delay: 2s; } .video-steps span:nth-child(3) { animation-delay: 4s; } .video-steps span:nth-child(4) { animation-delay: 6s; } .video-steps span:nth-child(5) { animation-delay: 8s; }
.lightbox-box img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 16px; background: rgb(var(--mint)); }
.lightbox-box img.is-swap { animation: pop-in .4s var(--ease); }
.toast-stack { position: fixed; z-index: 110; bottom: 20px; inset-inline-end: 20px; display: grid; gap: 10px; width: min(360px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgb(var(--deep)); color: #fff; box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500; animation: toast-in .45s var(--ease) both; border-inline-start: 4px solid rgb(var(--brand-2)); }
.toast.is-error { border-color: #ff8a80; } .toast .ico { margin-top: 2px; color: rgb(var(--brand-2)); } .toast.is-error .ico { color: #ff8a80; }
.toast.is-out { animation: toast-out .35s ease forwards; }
.toast button { margin-inline-start: auto; opacity: .7; } .toast button:hover { opacity: 1; }
.back-top { position: fixed; z-index: 40; bottom: 20px; inset-inline-start: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--brand)); color: rgb(var(--on-brand)); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .35s var(--ease), visibility .35s, background .3s; }
.back-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: rgb(var(--deep)); color: #fff; transform: translateY(-4px); }

/* 10. AUTH ----------------------------------------------------------------- */
.auth { display: grid; min-height: 100vh; }
@media (min-width: 1024px) { .auth { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.auth-panel { position: relative; overflow: hidden; background: #0b5d57; color: #fff; display: none; }
@media (min-width: 1024px) { .auth-panel { display: block; } }
.auth-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: slow-zoom 24s ease-in-out infinite alternate; }
.auth-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 34 54 / .35), rgb(11 34 54 / .9)); }
.auth-deco { z-index: 1; } .auth-deco .leaf { color: rgb(255 255 255 / .3); } .auth-deco .particle { background: rgb(255 255 255 / .35); }
.auth-panel-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 40px; }
.auth-quote { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(8px); border-radius: 22px; padding: 24px; animation: fade-up .9s var(--ease) .4s both; }
.auth-quote > span { font-size: 2rem; color: rgb(var(--accent)); }
.auth-quote blockquote { font: 500 1.15rem/1.5 'Sora', sans-serif; margin: 8px 0 16px; }
.auth-quote p { display: flex; gap: 12px; align-items: center; } .auth-quote img { border-radius: 50%; } .auth-quote p span { display: grid; line-height: 1.3; } .auth-quote small { opacity: .75; }
.auth-benefits h2 { font: 700 1.7rem/1.2 'Sora', sans-serif; margin-bottom: 18px; animation: fade-up .9s var(--ease) .3s both; }
.auth-benefits ul { display: grid; gap: 10px; }
.auth-benefits li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); font-weight: 500; animation: fade-up .7s var(--ease) both; }
.auth-benefits li:nth-child(1) { animation-delay: .45s; } .auth-benefits li:nth-child(2) { animation-delay: .55s; } .auth-benefits li:nth-child(3) { animation-delay: .65s; } .auth-benefits li:nth-child(4) { animation-delay: .75s; }
.auth-benefits .ico { color: rgb(var(--accent)); }
.auth-main { display: flex; flex-direction: column; padding: 16px clamp(16px, 4vw, 40px) 32px; background: rgb(var(--bg)); min-width: 0; }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-box { width: 100%; max-width: 480px; margin: auto; padding-block: 28px; }
.auth-box .s-field:nth-child(n) { --i: 1; }
.pw-wrap { position: relative; } .pw-wrap .input { padding-inline-end: 46px; }
.pw-toggle { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: rgb(var(--muted)); transition: color .3s, background .3s; }
.pw-toggle:hover { color: rgb(var(--brand)); background: rgb(var(--mint)); }
.pw-off, .pw-toggle[aria-pressed="true"] .pw-on { display: none; } .pw-toggle[aria-pressed="true"] .pw-off { display: inline-block; }
.strength { display: grid; gap: 4px; } .strength small { font-size: .76rem; color: rgb(var(--muted)); font-weight: 500; }
.strength-bar { height: 6px; border-radius: 6px; background: rgb(var(--line)); overflow: hidden; }
.strength-bar i { display: block; height: 100%; width: 100%; background: rgb(var(--bad)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease), background .4s; }
.strength[data-level="1"] i { transform: scaleX(.25); } .strength[data-level="2"] i { transform: scaleX(.5); background: rgb(var(--poor)); }
.strength[data-level="3"] i { transform: scaleX(.75); background: rgb(var(--moderate)); } .strength[data-level="4"] i { transform: scaleX(1); background: rgb(var(--good)); }

/* 11. FOOTER --------------------------------------------------------------- */
.site-footer { position: relative; background: rgb(var(--deep)); color: rgb(255 255 255 / .78); margin-top: 60px; }
.cta + .site-footer, main:has(> .cta:last-child) + .site-footer { margin-top: 0; }
.footer-wave { position: absolute; inset-inline: 0; bottom: calc(100% - 1px); width: 100%; height: 50px; fill: rgb(var(--deep)); }
main:has(> .cta:last-child) + .site-footer .footer-wave { display: none; }
main:has(> .cta:last-child) + .site-footer { border-top: 1px solid rgb(255 255 255 / .12); }
.footer-title { font: 600 1.05rem 'Sora', sans-serif; color: #fff; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: rgb(var(--accent)); }
.footer-links { display: grid; gap: 9px; font-size: .92rem; }
.footer-links a { display: inline-block; transition: color .3s, transform .3s var(--ease); }
.footer-links a:hover { color: rgb(var(--accent)); transform: translateX(6px); }
.footer-contact { display: grid; gap: 10px; font-size: .9rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; } .footer-contact .ico { color: rgb(var(--accent)); margin-top: 3px; }
.footer-contact a:hover { color: rgb(var(--accent)); }
.cert-list { display: grid; gap: 6px; font-size: .86rem; } .cert-list li { display: flex; gap: 8px; align-items: center; } .cert-list .ico { color: rgb(var(--brand-2)); }
.site-footer .social { background: rgb(255 255 255 / .1); color: #fff; width: 38px; height: 38px; }
.site-footer .social:hover, .site-footer .social:focus-visible { background: rgb(var(--accent)); color: #0f2a43; }
.newsletter { display: flex; background: rgb(255 255 255 / .1); border-radius: 999px; padding: 4px; border: 1px solid rgb(255 255 255 / .2); transition: border-color .3s; }
.newsletter:focus-within { border-color: rgb(var(--accent)); }
.newsletter input { flex: 1; min-width: 0; background: transparent; padding: 8px 14px; color: #fff; font-size: .9rem; }
.newsletter input::placeholder { color: rgb(255 255 255 / .65); } .newsletter input:focus { outline: none; }
.newsletter button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--accent)); color: #0f2a43; transition: transform .3s var(--ease); }
.newsletter button:hover { transform: rotate(-12deg) scale(1.08); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 18px; border-top: 1px solid rgb(255 255 255 / .14); font-size: .85rem; }
.footer-bottom a:hover { color: rgb(var(--accent)); }

/* 12. DASHBOARD ------------------------------------------------------------ */
.dash { background: rgb(var(--mint)); }
.dash-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; z-index: 60; inset-block: 0; inset-inline-start: 0; width: 264px; display: flex; flex-direction: column; gap: 18px; padding: 18px 14px; background: rgb(var(--surface)); border-inline-end: 1px solid rgb(var(--line)); transform: translateX(-100%); transition: transform .4s var(--ease); overflow-y: auto; }
.sidebar.is-open { transform: none; box-shadow: var(--shadow-lg); }
.sidebar-head { display: flex; justify-content: space-between; align-items: center; padding-inline: 6px; }
.sidebar-backdrop { position: fixed; inset: 0; z-index: 55; background: rgb(11 34 54 / .5); animation: fade .3s; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 0; height: 100vh; transform: none; flex: none; } .sidebar-backdrop { display: none !important; } }
.side-nav { display: grid; gap: 4px; }
.side-nav a, .side-nav button { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 500; font-size: .95rem; color: rgb(var(--muted)); text-align: start; transition: background .3s, color .3s, padding .3s var(--ease); }
.side-nav a::before { content: ''; position: absolute; inset-inline-start: 0; top: 20%; bottom: 20%; width: 4px; border-radius: 4px; background: rgb(var(--brand)); transform: scaleY(0); transition: transform .3s var(--ease); }
.side-nav a:hover, .side-nav button:hover { background: rgb(var(--mint)); color: rgb(var(--ink)); padding-inline-start: 18px; }
.side-nav a.is-active { background: rgb(var(--brand) / .12); color: rgb(var(--brand)); font-weight: 700; }
.side-nav a.is-active::before { transform: none; }
.side-nav .ico { font-size: 1.1rem; }
.side-count { margin-inline-start: auto; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 99px; background: rgb(var(--accent)); color: #0f2a43; font-size: .74rem; display: grid; place-items: center; }
.side-count:empty { display: none; }
.side-sep { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgb(var(--line)); }
.side-help { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgb(var(--mint)); font-size: .85rem; }
.side-help p { display: grid; line-height: 1.3; } .side-help a { color: rgb(var(--brand)); font-weight: 700; }
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dash-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px clamp(14px, 2.5vw, 28px); background: rgb(var(--bg) / .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgb(var(--line)); }
.dash-title { min-width: 0; margin-inline-end: auto; }
.dash-title h1 { font: 700 clamp(1.05rem, 2.4vw, 1.4rem) 'Sora', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-title p { font-size: .8rem; color: rgb(var(--muted)); }
.dash-tools { display: flex; align-items: center; gap: 8px; }
.prop-select { position: relative; display: none; align-items: center; }
.prop-select .ico { position: absolute; inset-inline-start: 12px; color: rgb(var(--brand)); pointer-events: none; }
.prop-select select { appearance: none; height: 42px; padding-inline: 36px 30px; border-radius: 12px; border: 1px solid rgb(var(--line)); background: rgb(var(--mint)); color: rgb(var(--ink)); font-weight: 700; font-size: .86rem; max-width: 220px; cursor: pointer; }
@media (min-width: 768px) { .prop-select { display: flex; } }
.dash-top .icon-btn-text span { display: none; }
@media (max-width: 479px) { .dash-title p { display: none; } .dash-tools { gap: 5px; } .dash-top .icon-btn { width: 38px; height: 38px; } .dash-user img { width: 34px; height: 34px; } }
.notif { position: relative; }
.notif-dot { position: absolute; top: 8px; inset-inline-end: 9px; width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--bad)); box-shadow: 0 0 0 2px rgb(var(--mint)); animation: pulse-dot 1.8s ease-in-out infinite; }
.dropdown { position: absolute; z-index: 40; top: calc(100% + 10px); inset-inline-end: 0; width: min(340px, calc(100vw - 28px)); background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; transform-origin: top right; animation: drop-in .3s var(--ease); }
@media (max-width: 479px) { .dropdown { position: fixed; top: 70px; inset-inline: 14px; width: auto; } }
.dropdown-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: .9rem; }
.dropdown li { display: flex; gap: 10px; padding: 10px; border-radius: 12px; font-size: .86rem; transition: background .25s; }
.dropdown li:hover { background: rgb(var(--mint)); }
.dropdown li.is-unread { font-weight: 700; } .dropdown li .ico { color: rgb(var(--brand)); margin-top: 2px; } .dropdown li small { display: block; font-weight: 400; color: rgb(var(--muted)); }
.dash-user { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; padding: 3px; padding-inline-end: 12px; border-radius: 99px; border: 1px solid rgb(var(--line)); background: rgb(var(--mint)); transition: border-color .3s; }
.dash-user:hover { border-color: rgb(var(--brand)); } .dash-user img { border-radius: 50%; }
@media (max-width: 899px) { .dash-user span { display: none; } .dash-user { padding: 0; border: 0; } }
.dash-content { padding: clamp(14px, 2.5vw, 28px); animation: fade-up .6s var(--ease) both; }
.panel { background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); border-radius: 20px; padding: clamp(16px, 2vw, 22px); min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.panel-head h2, .panel-title { font: 600 1.05rem 'Sora', sans-serif; display: flex; gap: 8px; align-items: center; }
.panel-head p { font-size: .8rem; color: rgb(var(--muted)); }
.welcome { display: grid; gap: 16px; align-items: center; padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: rgb(var(--deep)); color: #fff; position: relative; overflow: hidden; }
.welcome::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgb(var(--brand-2) / .25); filter: blur(60px); top: -160px; inset-inline-end: 10%; animation: drift 14s ease-in-out infinite alternate; }
@media (min-width: 900px) { .welcome { grid-template-columns: 1fr auto; } }
.welcome h2 { font: 700 clamp(1.3rem, 3vw, 1.9rem) 'Sora', sans-serif; position: relative; } .welcome p { opacity: .82; position: relative; }
.prop-card { position: relative; display: flex; gap: 14px; align-items: center; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); border-radius: 18px; padding: 12px; padding-inline-end: 20px; }
.prop-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; flex: none; }
.prop-card b { font-family: 'Sora', sans-serif; } .prop-card small { display: block; opacity: .8; font-size: .8rem; }
.stat-card { position: relative; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgb(var(--brand) / .5); }
.stat-k { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: rgb(var(--muted)); text-transform: uppercase; letter-spacing: .05em; }
.stat-k .ico { color: rgb(var(--brand)); font-size: 1rem; }
.stat-v { font: 700 1.5rem/1.2 'Sora', sans-serif; } .stat-s { font-size: .84rem; color: rgb(var(--muted)); }
.stat-card .mini-gauge { margin: 4px auto 0; width: 150px; }
.stat-card .link-arrow { margin-top: auto; font-size: .86rem; align-self: flex-start; }
.readings { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.reading { padding: 14px; border-radius: 16px; background: rgb(var(--mint)); display: grid; gap: 6px; transition: transform .35s var(--ease); }
.reading:hover { transform: translateY(-4px); }
.reading-k { font-size: .78rem; font-weight: 700; color: rgb(var(--muted)); display: flex; gap: 6px; align-items: center; }
.reading-v { font: 700 1.35rem 'Sora', sans-serif; } .reading-v small { font: 500 .76rem 'DM Sans', sans-serif; color: rgb(var(--muted)); }
.reading .status { justify-self: start; }
.activity { display: grid; gap: 4px; }
.activity li { display: flex; gap: 12px; padding: 10px 8px; border-radius: 12px; font-size: .88rem; transition: background .25s; }
.activity li:hover { background: rgb(var(--mint)); }
.activity .ico-box { width: 36px; height: 36px; border-radius: 10px; font-size: .9rem; } .activity small { display: block; color: rgb(var(--muted)); font-size: .78rem; }
.quick { display: grid; gap: 12px; } @media (min-width: 768px) { .quick { grid-template-columns: repeat(3, 1fr); } }
.quick-card { display: flex; align-items: center; gap: 14px; text-align: start; padding: 16px 18px; border-radius: 18px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line)); transition: background .35s, color .35s, transform .35s var(--ease), border-color .35s; }
.quick-card > .ico:first-child { font-size: 1.4rem; color: rgb(var(--brand)); transition: color .35s, transform .35s var(--ease); }
.quick-card span { display: grid; line-height: 1.3; margin-inline-end: auto; } .quick-card small { color: rgb(var(--muted)); transition: color .35s; }
.quick-card:hover { background: rgb(var(--brand)); color: rgb(var(--on-brand)); border-color: rgb(var(--brand)); transform: translateY(-4px); }
.quick-card:hover > .ico:first-child, .quick-card:hover small { color: inherit; } .quick-card:hover > .ico:first-child { transform: scale(1.15) rotate(-8deg); }
.quick-card:hover .arrow { transform: translateX(5px); }
/* Booking */
.stepper { display: flex; gap: 6px; margin-bottom: 22px; counter-reset: s; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; position: relative; padding-bottom: 12px; font-size: .84rem; font-weight: 700; color: rgb(var(--muted)); min-width: 0; }
.stepper li::before, .stepper li::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; border-radius: 4px; background: rgb(var(--line)); }
.stepper li::after { background: rgb(var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.stepper li.is-done::after, .stepper li.is-current::after { transform: none; }
.step-n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--line)); color: rgb(var(--muted)); font-size: .8rem; transition: background .4s, color .4s, transform .4s var(--ease); }
.stepper li.is-current { color: rgb(var(--ink)); } .stepper li.is-current .step-n { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: scale(1.12); box-shadow: 0 0 0 5px rgb(var(--brand) / .18); }
.stepper li.is-done .step-n { background: rgb(var(--good)); color: #fff; }
.step-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) { .stepper li:not(.is-current) .step-t { display: none; } .stepper li.is-current { flex: 3; } }
.step-panel { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-panel legend { font: 600 1.05rem 'Sora', sans-serif; margin-bottom: 14px; padding: 0; }
.step-panel.is-active { animation: step-in .45s var(--ease) both; }
.step-panel.is-back { animation-name: step-in-back; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice-ui { display: flex; gap: 12px; align-items: center; height: 100%; padding: 14px; border-radius: 16px; border: 2px solid rgb(var(--line)); transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s; }
.choice-ui b { display: block; font-size: .94rem; } .choice-ui small { color: rgb(var(--muted)); font-size: .78rem; }
.choice:hover .choice-ui { border-color: rgb(var(--brand) / .5); transform: translateY(-3px); }
.choice input:checked + .choice-ui { border-color: rgb(var(--brand)); background: rgb(var(--brand) / .08); box-shadow: var(--shadow); }
.choice input:checked + .choice-ui .ico-box { background: rgb(var(--brand)); color: rgb(var(--on-brand)); transform: scale(1.08); }
.choice input:focus-visible + .choice-ui { outline: 3px solid rgb(var(--brand)); outline-offset: 3px; }
.area-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.area-grid .choice-ui { padding: 9px 16px; border-radius: 99px; font-weight: 700; font-size: .88rem; gap: 6px; }
.area-grid .choice-ui .ico { display: none; color: rgb(var(--brand)); } .area-grid input:checked + .choice-ui .ico { display: inline-block; animation: pop-in .3s var(--ease); }
.calendar { border: 1px solid rgb(var(--line)); border-radius: 18px; padding: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .cal-head b { font-family: 'Sora', sans-serif; }
.cal-head button { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgb(var(--mint)); transition: background .3s, color .3s; }
.cal-head button:hover:not([disabled]) { background: rgb(var(--brand)); color: rgb(var(--on-brand)); } .cal-head button[disabled] { opacity: .35; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid.is-swap { animation: fade-up .35s var(--ease); }
.cal-dow { font-size: .72rem; font-weight: 700; color: rgb(var(--muted)); padding-block: 4px; }
.cal-day { aspect-ratio: 1; border-radius: 10px; font-size: .88rem; font-weight: 500; display: grid; place-items: center; transition: background .25s, color .25s, transform .25s var(--ease); }
.cal-day:hover:not([disabled]) { background: rgb(var(--brand) / .14); transform: scale(1.08); }
.cal-day[disabled] { color: rgb(var(--muted) / .45); cursor: not-allowed; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px rgb(var(--accent)); }
.cal-day.is-selected { background: rgb(var(--brand)); color: rgb(var(--on-brand)); font-weight: 700; animation: pop-in .3s var(--ease); }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slots > p { grid-column: 1 / -1; }
.slot { padding: 11px 8px; border-radius: 12px; border: 2px solid rgb(var(--line)); font-weight: 700; font-size: .86rem; transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease); animation: fade-up .4s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.slot:hover:not([disabled]) { border-color: rgb(var(--brand)); transform: translateY(-2px); }
.slot[disabled] { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.slot.is-selected { background: rgb(var(--brand)); border-color: rgb(var(--brand)); color: rgb(var(--on-brand)); }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgb(var(--line)); }
.summary dl { display: grid; gap: 12px; margin-top: 14px; }
.summary dl > div { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px dashed rgb(var(--line)); }
.summary dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--muted)); }
.summary dd { font-weight: 700; } .summary dd.is-empty { color: rgb(var(--muted)); font-weight: 400; } .summary dd.is-new { animation: fade-up .4s var(--ease); }
.visits { display: grid; gap: 10px; }
.visit { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid rgb(var(--line)); transition: border-color .3s, box-shadow .3s, opacity .3s, transform .3s; }
.visit:hover { border-color: rgb(var(--brand) / .5); box-shadow: var(--shadow); }
.visit.is-removing { opacity: 0; transform: translateX(30px); }
.visit-date { width: 56px; flex: none; text-align: center; border-radius: 12px; background: rgb(var(--brand) / .12); color: rgb(var(--brand)); padding: 6px 0; line-height: 1.15; font-weight: 700; }
.visit-date b { display: block; font: 700 1.3rem 'Sora', sans-serif; } .visit-date small { font-size: .7rem; text-transform: uppercase; }
.visit-info { flex: 1 1 160px; min-width: 0; } .visit-info b { display: block; } .visit-info small { color: rgb(var(--muted)); font-size: .8rem; display: block; }
.visit-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.empty { padding: 20px; text-align: center; color: rgb(var(--muted)); font-size: .9rem; border: 1px dashed rgb(var(--line)); border-radius: 16px; }
/* Jobs */
.job-list { display: grid; gap: 12px; }
.job-card { width: 100%; display: grid; gap: 8px; text-align: start; padding: 16px; border-radius: 18px; background: rgb(var(--surface)); border: 2px solid rgb(var(--line)); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; animation: fade-up .5s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.job-card.is-active { border-color: rgb(var(--brand)); box-shadow: var(--shadow); }
.job-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; } .job-id { font-size: .78rem; font-weight: 700; color: rgb(var(--muted)); }
.job-card b { font-family: 'Sora', sans-serif; } .job-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: rgb(var(--muted)); } .job-meta span { display: inline-flex; gap: 5px; align-items: center; }
.job-prog { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; } .job-prog .bar { flex: 1; }
.stages { position: relative; display: grid; gap: 4px; margin-top: 6px; }
.stages-line { position: absolute; inset-inline-start: 17px; top: 18px; bottom: 18px; width: 3px; background: rgb(var(--line)); border-radius: 3px; }
.stages-line span { display: block; width: 100%; height: 100%; border-radius: inherit; background: rgb(var(--brand)); transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease) .2s; }
.stage { position: relative; display: flex; gap: 14px; align-items: center; padding: 7px 0; animation: fade-up .45s var(--ease) both; animation-delay: calc(var(--i) * 110ms); }
.stage-dot { position: relative; z-index: 1; width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--surface)); border: 3px solid rgb(var(--line)); color: rgb(var(--muted)); font-size: .9rem; font-weight: 700; }
.stage.is-done .stage-dot { background: rgb(var(--brand)); border-color: rgb(var(--brand)); color: rgb(var(--on-brand)); }
.stage.is-active .stage-dot { border-color: rgb(var(--accent)); background: rgb(var(--accent)); color: #0f2a43; }
.stage.is-active .stage-dot::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgb(var(--accent)); animation: pulse-ring 1.8s ease-out infinite; }
.stage b { display: block; font-size: .95rem; } .stage small { font-size: .78rem; color: rgb(var(--muted)); }
.stage.is-todo b { color: rgb(var(--muted)); font-weight: 500; }
.stage.is-active b { color: rgb(var(--ink)); }
.tech-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: rgb(var(--mint)); }
.tech-card img { width: 56px; height: 56px; border-radius: 50%; } .tech-card div { flex: 1 1 140px; } .tech-card b { display: block; font-family: 'Sora', sans-serif; } .tech-card small { color: rgb(var(--muted)); }
.log { display: grid; gap: 0; }
.log li { position: relative; padding: 0 0 16px; padding-inline-start: 22px; border-inline-start: 2px solid rgb(var(--line)); margin-inline-start: 6px; font-size: .9rem; }
.log li:last-child { padding-bottom: 0; border-color: transparent; }
.log li::before { content: ''; position: absolute; inset-inline-start: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: rgb(var(--brand)); box-shadow: 0 0 0 3px rgb(var(--surface)); }
.log time { display: block; font-size: .76rem; font-weight: 700; color: rgb(var(--brand)); }
.sub-h { font: 600 .98rem 'Sora', sans-serif; margin: 22px 0 12px; display: flex; gap: 8px; align-items: center; } .sub-h .ico { color: rgb(var(--brand)); }
/* Reports */
.report-filters { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); align-items: end; margin-bottom: 16px; }
.report-filters .field:first-child { grid-column: 1 / -1; }
@media (min-width: 480px) { .report-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .report-filters { grid-template-columns: 2fr 1fr 1fr 1.3fr 1fr auto; } .report-filters .field:first-child { grid-column: auto; } }
.report-filters .input { padding: 9px 12px; font-size: .88rem; } .report-filters .btn { height: 44px; }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid rgb(var(--line)); border-radius: 16px; }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: start; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--muted)); padding: 12px 14px; background: rgb(var(--mint)); white-space: nowrap; }
.table tbody th { background: none; text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; border-top: 1px solid rgb(var(--line)); }
.table td { padding: 12px 14px; border-top: 1px solid rgb(var(--line)); vertical-align: middle; }
.table tbody tr { transition: background .25s; animation: fade-up .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.table tbody tr:hover, .table tbody tr.is-active { background: rgb(var(--brand) / .07); }
.table td .btn { padding: 6px 12px; font-size: .8rem; } .td-actions { display: flex; gap: 6px; justify-content: flex-end; }
.report-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.report-head .mini-gauge { width: 170px; } .report-head > div:nth-child(2) { flex: 1 1 240px; }
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.room { padding: 14px; border-radius: 16px; border: 1px solid rgb(var(--line)); display: grid; gap: 6px; transition: transform .35s var(--ease), box-shadow .35s; animation: fade-up .45s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
.room:hover { transform: translateY(-4px); box-shadow: var(--shadow); } .room b { font-family: 'Sora', sans-serif; } .room small { color: rgb(var(--muted)); font-size: .8rem; } .room .status { justify-self: start; }
.recs { display: grid; gap: 10px; counter-reset: r; }
.recs li { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgb(var(--mint)); font-size: .92rem; counter-increment: r; }
.recs li::before { content: counter(r); width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--brand)); color: rgb(var(--on-brand)); font-size: .78rem; font-weight: 700; }

/* 13. CHARTS & GAUGES ------------------------------------------------------ */
.gauge { display: block; width: 100%; height: auto; overflow: visible; }
.g-track { fill: none; stroke: rgb(var(--line)); stroke-width: 12; stroke-linecap: round; }
.g-val { fill: none; stroke: rgb(var(--good)); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s var(--ease) .2s, stroke .5s; }
.g-moderate .g-val { stroke: #e0a11b; } .g-poor .g-val { stroke: rgb(var(--poor)); } .g-bad .g-val { stroke: rgb(var(--bad)); }
.g-num { font: 700 26px 'Sora', sans-serif; fill: rgb(var(--ink)); text-anchor: middle; }
.g-lab { font: 700 9px 'DM Sans', sans-serif; fill: rgb(var(--muted)); text-anchor: middle; letter-spacing: .08em; }
.chart { direction: ltr; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.c-grid { stroke: rgb(var(--line)); stroke-width: 1; }
.c-axis { font: 500 11px 'DM Sans', sans-serif; fill: rgb(var(--muted)); }
.c-label { font: 700 11px 'DM Sans', sans-serif; fill: rgb(var(--ink)); }
.c-line { fill: none; stroke: rgb(var(--brand)); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.c-area { fill: rgb(var(--brand) / .12); opacity: 0; transition: opacity 1s .9s; }
.chart.is-in .c-line { stroke-dashoffset: 0; } .chart.is-in .c-area { opacity: 1; }
.c-dot { fill: rgb(var(--surface)); stroke: rgb(var(--brand)); stroke-width: 3; opacity: 0; transition: opacity .4s; transition-delay: calc(var(--i) * 120ms + .5s); cursor: pointer; }
.chart.is-in .c-dot { opacity: 1; } .c-dot:hover, .c-dot:focus { r: 7; outline: none; }
.c-mark { stroke: rgb(var(--poor)); stroke-width: 2; stroke-dasharray: 5 5; } .c-mark-t { font: 700 11px 'DM Sans', sans-serif; fill: rgb(var(--poor)); }
.c-limit { stroke: rgb(var(--bad)); stroke-width: 1.5; stroke-dasharray: 6 5; }
.c-bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.chart.is-in .c-bar { transform: none; }
.c-before { fill: #c98a2b; } .c-after { fill: rgb(var(--brand)); }
.c-tip { position: absolute; pointer-events: none; background: rgb(var(--deep)); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; transform: translate(-50%, -130%); white-space: nowrap; opacity: 0; transition: opacity .2s; z-index: 5; }
.chart { position: relative; } .c-tip.is-on { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .82rem; color: rgb(var(--muted)); direction: inherit; }
.legend span { display: inline-flex; align-items: center; gap: 6px; } .legend i { width: 12px; height: 12px; border-radius: 3px; background: rgb(var(--brand)); }
.legend .l-before { background: #c98a2b; } .legend .l-limit { height: 0; border-top: 2px dashed rgb(var(--bad)); background: none; border-radius: 0; width: 18px; }
.legend .l-mark { height: 0; border-top: 2px dashed rgb(var(--poor)); background: none; border-radius: 0; width: 18px; }

/* 14. MOTION --------------------------------------------------------------- */
/* Scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path 1.1s var(--ease); transition-delay: var(--delay, 0ms); will-change: transform, opacity; }
.js [data-reveal="up"] { transform: translateY(34px); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="scale"] { transform: scale(.9); }
.js [data-reveal="img"] { opacity: 1; clip-path: inset(0 100% 0 0 round 28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0 round 28px); }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dash { to { stroke-dashoffset: -440; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.1); } }
@keyframes sway { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@keyframes floaty { from { transform: translate(0, 0); opacity: .35; } to { transform: translate(18px, -34px); opacity: .9; } }
@keyframes leafy { from { transform: translateY(0) rotate(-12deg); } to { transform: translateY(-26px) rotate(18deg); } }
@keyframes clip-up { from { clip-path: inset(100% 0 0 0 round 280px 280px 30px 30px); } to { clip-path: inset(0 0 0 0 round 280px 280px 30px 30px); } }
@keyframes zoom-out { from { transform: scale(1.25); } to { transform: none; } }
@keyframes slow-zoom { to { transform: scale(1.1); } }
@keyframes slide-from-start { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes slide-from-end { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes pulse-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes pulse-dot { 50% { transform: scale(1.35); } }
@keyframes fill-x { to { transform: none; } }
@keyframes shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
@keyframes step-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-30px); } }
@keyframes tick { from { transform: translateY(-8px); opacity: .3; } }
@keyframes step-glow { 0%, 20% { background: rgb(255 184 77); color: #0f2a43; } 21%, 100% { background: rgb(255 255 255 / .18); color: #fff; } }
@keyframes ba-hint { 0%, 100% { left: 50%; } 35% { left: 34%; } 70% { left: 62%; } }
@keyframes ba-hint-clip { 0%, 100% { clip-path: inset(0 50% 0 0); } 35% { clip-path: inset(0 66% 0 0); } 70% { clip-path: inset(0 38% 0 0); } }
/* Smooth theme switch (class added briefly by script.js) */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .plx { transform: none; }
}

/* Dashboard widgets rise in one after another (--i is set inline) */
.rise { animation: fade-up .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms); }

/* Phones: header icon buttons become equal squares so they fit beside the logo */
@media (max-width: 639px) {
  .navbar .wrap > .flex { gap: 6px; }
  .navbar .icon-btn, .navbar .hamburger { width: 40px; height: 40px; flex: none; }
  .navbar .icon-btn-text { padding-inline: 0; } .navbar .icon-btn-text span { display: none; }
}
/* Small phones: the RTL toggle moves from the header bar into the mobile menu */
.m-rtl { display: none; }
@media (max-width: 479px) {
  .navbar [data-rtl-toggle] { display: none; }
  .m-rtl { display: inline-flex; }
}

/* Very small phones (320–380px): tighten the header and pill tabs */
@media (max-width: 380px) {
  .logo { font-size: 1.08rem; gap: 7px; } .logo-mark { width: 34px; height: 34px; border-radius: 11px; }
  .navbar .icon-btn, .hamburger, .solo-head .icon-btn, .auth-top .icon-btn { width: 38px; height: 38px; }
  .icon-btn-text { padding-inline: 0; } .icon-btn-text span { display: none; }
  .navbar .wrap { padding-inline: 12px; gap: 8px; }
  .navbar .wrap > .flex { gap: 5px; }
  .navbar .icon-btn, .navbar .hamburger { width: 36px; height: 36px; border-radius: 10px; }
  .tab-list button { padding: 10px 12px; font-size: .84rem; }
}

/* Home 2 hero on phones: the enquiry card sits below the slides instead of over them */
@media (max-width: 639px) {
  .hslide { padding-bottom: 110px; }
  .hero-enq-wrap { position: relative; bottom: auto; grid-row: 2; margin-top: -60px; margin-bottom: -50px; }
  .hs-progress { top: 16px; bottom: auto; }
}
.spin-badge { direction: ltr; }

/* Notifications + Profile pages ------------------------------------------- */
.dropdown li > a { display: flex; gap: 10px; flex: 1; min-width: 0; color: inherit; }
.dropdown-foot { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid rgb(var(--line)); text-align: center; font-weight: 700; font-size: .86rem; color: rgb(var(--brand)); }
.dropdown-foot:hover { text-decoration: underline; }
.notif-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.notif-toolbar .filters { margin-top: 0; }
.notif-page { display: grid; gap: 8px; }
.notif-page li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgb(var(--line)); border-radius: 14px; transition: background .25s, border-color .25s; }
.notif-page li:hover { background: rgb(var(--mint)); }
.notif-page li.is-unread { border-color: rgb(var(--brand) / .45); background: rgb(var(--brand) / .05); }
.notif-page li.is-unread .notif-text { font-weight: 700; }
.notif-page .ico-box { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.notif-text { flex: 1 1 220px; min-width: 0; font-size: .92rem; }
.notif-text small { display: block; font-weight: 400; color: rgb(var(--muted)); font-size: .8rem; margin-top: 2px; }
.notif-acts { display: flex; align-items: center; gap: 16px; margin-inline-start: auto; font-size: .86rem; }
.notif-empty { justify-content: center; color: rgb(var(--muted)); }
.profile-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: linear-gradient(135deg, rgb(var(--brand)), rgb(var(--deep))); color: #fff; }
.profile-hero img { border-radius: 50%; border: 4px solid rgb(255 255 255 / .35); flex: none; }
.profile-id { flex: 1 1 200px; min-width: 0; }
.profile-id h2 { font: 700 1.4rem 'Sora', sans-serif; }
.profile-id p { opacity: .85; overflow-wrap: anywhere; }
.profile-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex: 1 1 280px; }
@media (min-width: 640px) { .profile-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.profile-stats li { background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .2); border-radius: 14px; padding: 10px 12px; text-align: center; }
.profile-stats b { display: block; font: 700 1.3rem 'Sora', sans-serif; }
.profile-stats span { font-size: .78rem; opacity: .85; }
.prefs { display: grid; gap: 16px; }
.prefs .switch small { display: block; font-weight: 400; font-size: .8rem; color: rgb(var(--muted)); }
.prop-list { display: grid; gap: 10px; }
.prop-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgb(var(--line)); border-radius: 14px; }
.prop-list img { border-radius: 10px; object-fit: cover; flex: none; }
.prop-list div { flex: 1 1 160px; min-width: 0; }
.prop-list small { display: block; font-size: .8rem; color: rgb(var(--muted)); }
