/* Colors and fonts are set from config/site.config.js (theme). */
:root {
  --primary: #0046A0;
  --secondary: #0084CB;
  --light: #A3CFF2;
  --soft: #E8F2FC;
  --text: #595959;
  --dark: #100739;
  --white: #FFFFFF;
  --danger: #C62828;
  --grad: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  --font-head: 'Nunito Sans', system-ui, sans-serif;
  --font-body: 'Noto Sans', system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(64px, 8vw, 110px);
  --img-waves: none; --img-waves-top: none; --img-layered: none; --img-watermark: none;
  /* Built-in wave drawing, used under the original wave images (shows if they can't load) */
  --wave-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='none'%3E%3Cpath fill='%23EAF3FC' d='M0 120 C 360 40 720 200 1080 120 S 1440 60 1440 60 V900 H0Z'/%3E%3Cpath fill='%23DCEBFA' d='M0 330 C 300 250 760 420 1100 320 S 1440 280 1440 280 V900 H0Z'/%3E%3Cpath fill='%23CDE3F7' d='M0 560 C 400 480 800 640 1140 540 S 1440 500 1440 500 V900 H0Z'/%3E%3Cpath fill='%23BCD9F4' d='M0 760 C 380 700 820 840 1160 750 S 1440 720 1440 720 V900 H0Z'/%3E%3C/svg%3E");
  --layered-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Crect width='600' height='600' fill='%23ffffff'/%3E%3Cpath fill='%23A3CFF2' d='M0 330 C 150 270 300 380 600 300 V600 H0Z'/%3E%3Cpath fill='%230084CB' d='M0 420 C 180 360 360 470 600 400 V600 H0Z'/%3E%3Cpath fill='%230046A0' d='M0 510 C 200 460 380 560 600 500 V600 H0Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--secondary); }
a:hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; line-height: 1.15; margin: 0 0 .5em; text-transform: capitalize; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.5rem); color: var(--secondary); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--light); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: #777; }
.ico { width: 20px; height: 20px; flex: none; }
.section { padding: var(--space) 0; position: relative; }
.title-center { text-align: center; max-width: 24ch; margin-left: auto; margin-right: auto; }
.intro-center { text-align: center; max-width: 60ch; margin: -6px auto 40px; font-size: 1.06rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1.2 var(--font-head); text-transform: capitalize; padding: 12px 24px;
  border: 0; border-radius: 12px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter .2s, transform .2s, background .2s;
}
.btn .ico { width: 18px; height: 18px; }
.btn-grad, .btn-primary { background: var(--grad); color: #fff; }
.btn-grad:hover, .btn-primary:hover { color: #fff; filter: brightness(1.12); }
.btn-ghost { background: #fff; color: var(--secondary); border: 2px solid var(--secondary); }
.btn-ghost:hover { background: var(--soft); color: var(--primary); }
.btn-pill { background: var(--secondary); color: #fff; border: 3px solid #fff; border-radius: 100px; font-size: 1.2rem; padding: 12px 26px; }
.btn-pill:hover { background: var(--primary); color: #fff; }
.btn-pill.solid { border: 0; font-size: 1rem; padding: 15px 34px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--light); background: #fff; color: var(--primary); font-size: 1.5rem; line-height: 1; cursor: pointer; display: inline-grid; place-items: center; padding: 0 0 3px; }
.icon-btn:hover:not(:disabled) { border-color: var(--secondary); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.icon-btn.light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.linkish { background: none; border: 0; padding: 0; color: var(--secondary); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 2px solid var(--secondary); transition: box-shadow .25s, background .25s; }
.site-header.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 10px 30px rgba(0,40,100,.12); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.header-row { display: flex; align-items: center; gap: 20px; height: 90px; max-width: 1340px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--secondary); font: 900 1.35rem var(--font-head); white-space: nowrap; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 8px 11px; color: var(--secondary); text-decoration: none; font: 900 1.06rem var(--font-head); text-transform: capitalize; }
@media (min-width: 1241px) { .main-nav > ul > li > a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; } .main-nav > ul > li > a:hover::after { transform: scaleX(1); } }
.main-nav a:hover { color: var(--primary); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; color: var(--secondary); padding: 4px; margin-left: -10px; cursor: pointer; display: grid; place-items: center; }
.sub-toggle .ico { width: 16px; height: 16px; }
.sub { position: absolute; top: 100%; left: 0; min-width: 190px; list-style: none; margin: 0; padding: 8px 0; background: #fff; border-top: 3px solid var(--secondary); box-shadow: 0 12px 24px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-size: 1rem; padding: 8px 18px; }
.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta { font-size: 1rem; padding: 10px 20px; }
.client-login { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font: 700 1rem var(--font-head); text-decoration: none; white-space: nowrap; }
.client-login .ico { width: 16px; height: 16px; }
.client-login:hover { color: var(--secondary); }
.menu-toggle { display: none; width: 46px; height: 42px; border: 0; border-radius: 10px; background: var(--grad); cursor: pointer; padding: 12px 13px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

@media (max-width: 1240px) {
  .main-nav { position: fixed; inset: 92px 0 auto 0; background: #fff; display: none; margin: 0; padding: 8px var(--gutter) 20px; max-height: calc(100vh - 92px); overflow-y: auto; box-shadow: 0 16px 24px rgba(0,0,0,.12); }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid var(--soft); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { margin: 0; width: 44px; height: 44px; }
  .sub { position: static; display: none; width: 100%; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 16px; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .nav-mobile-only { display: block; }
  .menu-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
}
@media (max-width: 520px) { .brand { font-size: 1.1rem; } .brand img { width: 42px; height: 42px; } .client-login { font-size: .9rem; } .header-row { gap: 10px; height: 76px; } .main-nav { inset: 78px 0 auto 0; } }
@media (max-width: 400px) { .client-login { display: none; } }

/* ---------- hero (video background) ---------- */
.hero { position: relative; min-height: clamp(560px, calc(100vh - 92px), 940px); min-height: clamp(560px, calc(100svh - 92px), 940px); display: grid; grid-template-rows: 1fr auto; align-items: center; overflow: hidden; background: var(--primary); color: #fff; text-align: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-video { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1.18); border: 0; opacity: 0; transition: opacity 1.2s; }
.hero-video.ready, video.hero-video { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; }
.hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 48px; max-width: 980px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.1; text-shadow: 0 2px 18px rgba(0,40,90,.35); }
.hero-text { font: 700 clamp(1rem, 1.4vw, 1.15rem)/1.8 var(--font-body); max-width: 760px; margin: 18px auto; text-shadow: 0 1px 8px rgba(0,40,90,.35); }
.hero-sub { font: 700 1.1rem var(--font-body); margin-top: 26px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 28px; }

/* ---------- product cards (watermark background) ---------- */
.product { overflow: hidden; }
.product::before { content: ''; position: absolute; inset: 0; background: var(--img-watermark) center 70% / min(1100px, 95%) no-repeat; opacity: .14; pointer-events: none; }
.product .title-center { margin-bottom: 56px; }
.product-cards { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); max-width: 1340px; margin: 0 auto; }
.p-card {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: rgba(255,255,255,.88); width: min(88%, 1100px); padding: clamp(28px, 5vw, 70px);
  border: 3px solid var(--secondary); box-shadow: -25px 15px 40px -6px rgba(0,0,0,.15);
}
.p-left { margin-left: auto; border-right: 0; border-radius: 20px 0 0 20px; }
.p-right { margin-right: auto; border-left: 0; border-radius: 0 20px 20px 0; box-shadow: 25px 15px 40px -6px rgba(0,0,0,.15); }
.p-right .p-img { order: 2; }
.p-img { border-radius: 15px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-text h3 { color: var(--primary); font-size: clamp(1.7rem, 2.8vw, 2.1rem); }
.p-text p { font: 700 1rem/1.8 var(--font-head); text-transform: none; }
.p-left .p-text { text-align: right; }
@media (max-width: 820px) {
  .p-card { grid-template-columns: 1fr; width: calc(100% - var(--gutter)); }
  .p-right .p-img { order: 0; }
  .p-left .p-text { text-align: left; }
}

/* ---------- DTrackAll ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dtrack h2 { color: var(--secondary); font-size: clamp(2.2rem, 4vw, 3rem); }
.kicker { font: 900 1.2rem var(--font-head); color: var(--text); text-transform: capitalize; margin-bottom: 14px; }
.strong-text { font-weight: 500; font-size: 1.06rem; }
.dtrack .btn { margin-top: 10px; }
.dtrack-media { padding: 50px; border-radius: 15px; background: var(--img-layered) 100% 50% / cover no-repeat, var(--layered-svg) center / cover no-repeat; box-shadow: 0 40px 30px -15px rgba(0,0,0,.25); }
.dtrack-media img { border-radius: 15px; width: 100%; background: #fff; aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .dtrack-media { padding: 28px; } }

/* ---------- wave backgrounds ---------- */
.waves-bg { background: var(--img-waves) center / cover no-repeat, var(--wave-svg) center bottom / 100% 100% no-repeat, #fff; }

/* ---------- why us ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-side { position: sticky; top: 120px; display: grid; gap: 22px; }
.why-side h2 { color: var(--primary); font-size: clamp(2.2rem, 4vw, 3rem); margin: 0; }
.why-side img { border-radius: 15px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.why-side img + img { width: 70%; justify-self: end; margin-top: -60px; box-shadow: 0 10px 20px -4px rgba(0,0,0,.5); border: 6px solid #fff; }
.toggles { border-top: 3px solid var(--primary); }
.toggle { border-bottom: 3px solid var(--primary); }
.toggle h3 { margin: 0; font-size: 1rem; }
.toggle button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 30px 0;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--dark);
  font: 700 clamp(1.25rem, 2vw, 1.6rem)/1.3 var(--font-head); text-transform: capitalize;
}
.toggle button:hover { color: var(--primary); }
.tg-ico { position: relative; width: 22px; height: 22px; flex: none; }
.tg-ico::before, .tg-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 4px; margin: -2px 0 0 -10px; background: var(--primary); border-radius: 2px; transition: transform .2s; }
.tg-ico::after { transform: rotate(90deg); }
.toggle button[aria-expanded="true"] .tg-ico::after { transform: rotate(0); }
.toggle-body { padding: 0 0 26px; font-size: 1.02rem; }
.toggle-body p { margin: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } .why-side { position: static; } }

/* ---------- videos ---------- */
.videos { background: var(--img-waves-top) center top / cover no-repeat, var(--soft); }
.video-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.video-list { display: grid; gap: 14px; align-content: start; }
.video-card { display: grid; gap: 10px; text-align: left; background: #fff; border: 0; padding: 10px; border-radius: 15px; color: var(--dark); cursor: pointer; font: inherit; box-shadow: 0 10px 24px -10px rgba(0,70,160,.35); transition: transform .2s; }
.video-card:not(:disabled):hover { transform: translateY(-2px); }
.video-list .video-card { grid-template-columns: 150px 1fr; align-items: center; }
.video-card:disabled { cursor: default; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--grad); background-size: cover; background-position: center; overflow: hidden; }
.video-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,70,160,.5), rgba(0,132,203,.1)); }
.video-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; border: 3px solid #fff; transition: transform .15s; }
.video-play:empty { display: none; }
.video-play .ico { width: 24px; height: 24px; margin-left: 3px; }
.video-card.big .video-play { width: 82px; height: 82px; }
.video-card.big .video-play .ico { width: 32px; height: 32px; }
.video-list .video-play { width: 38px; height: 38px; border-width: 2px; }
.video-list .video-play .ico { width: 15px; height: 15px; }
.video-card:not(:disabled):hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-dur, .video-soon { position: absolute; z-index: 1; right: 8px; bottom: 8px; background: rgba(0,40,90,.8); color: #fff; font-size: .78rem; padding: 2px 8px; border-radius: 6px; }
.video-soon { left: 8px; right: auto; background: #fff; color: var(--primary); font-weight: 700; }
.video-title { font: 900 1.05rem/1.3 var(--font-head); text-transform: capitalize; padding: 0 4px 4px; }
.video-card.big .video-title { font-size: 1.35rem; color: var(--primary); }
@media (max-width: 860px) { .video-layout { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .video-list .video-card { grid-template-columns: 110px 1fr; } }

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,25,60,.82); }
.modal-box { position: relative; width: min(1000px, 100%); background: var(--primary); border-radius: 15px; padding: 14px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 12px; }
.modal-title { color: #fff; font-size: 1.1rem; margin: 0; }
.modal .icon-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.video-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- testimonials ---------- */
.testimonials { background: var(--img-waves-top) center / cover no-repeat, var(--wave-svg) center / 100% 100% no-repeat, #fff; }
.t-slider { position: relative; margin-top: 36px; }
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 20px; background: #fff; border-radius: 15px; box-shadow: 0 12px 30px -14px rgba(0,70,160,.35); }
.quote blockquote { margin: 0; padding: 20px; background: #F9FAFA; text-align: center; font-size: .98rem; line-height: 1.8; }
.quote figcaption { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font: 700 .9rem/1.4 var(--font-head); color: var(--text); }
.quote figcaption strong { color: var(--dark); }
.quote img, .initials { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.initials { display: grid; place-items: center; background: var(--grad); color: #fff; font: 900 1.2rem var(--font-head); }
.t-arrow { position: absolute; top: 45%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 1.8rem; line-height: 1; padding-bottom: 4px; cursor: pointer; box-shadow: 0 6px 14px rgba(0,70,160,.35); }
.t-arrow.prev { left: -20px; }
.t-arrow.next { right: -20px; }
@media (max-width: 960px) { .quotes { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .quotes { grid-auto-columns: 88%; } .t-arrow.prev { left: -8px; } .t-arrow.next { right: -8px; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-imgs { position: relative; min-height: 520px; }
.about-imgs img { position: absolute; border-radius: 12px; box-shadow: 0 10px 20px -4px rgba(0,0,0,.5); object-fit: cover; background: var(--soft); }
.about-imgs .ai-0 { left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; }
.about-imgs .ai-1 { right: 0; top: 0; width: 66%; aspect-ratio: 4 / 3; }
.about-card { background: #fff; border-radius: 15px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 20px 40px -20px rgba(0,70,160,.3); }
.about-card h2 { color: var(--primary); font-size: clamp(2.2rem, 4vw, 3rem); }
.about-card p { font-size: .98rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-imgs { min-height: 0; aspect-ratio: 1 / .8; } }

/* ---------- news ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.news-item { background: #fff; border-radius: 15px; padding: 26px; box-shadow: 0 12px 30px -14px rgba(0,70,160,.35); border-top: 5px solid var(--secondary); display: flex; flex-direction: column; }
.news-item time { color: #888; font-size: .9rem; }
.news-item h3 { margin: 6px 0 10px; font-size: 1.25rem; text-transform: none; }
.news-item h3 a { color: var(--primary); text-decoration: none; }
.news-item h3 a:hover { color: var(--secondary); }
.news-item p { font-size: .95rem; flex: 1; }
.read-more { align-self: flex-start; font: 700 .95rem var(--font-head); color: #fff; background: var(--grad); padding: 8px 18px; border-radius: 12px; text-decoration: none; }
.read-more:hover { color: #fff; filter: brightness(1.12); }
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr; } }

/* ---------- forms (shared) ---------- */
.form { display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; font-size: .95rem; font-weight: 700; color: var(--dark); }
.field em { font-style: normal; font-weight: 400; color: #888; }
.field input, .field select, .field textarea { font: 400 1rem var(--font-body); color: #222; background: #fff; width: 100%; border: 1px solid #b9c7d6; border-radius: 6px; padding: 11px 12px; min-height: 46px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(0,132,203,.2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.err { color: var(--danger); font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row:empty { display: none; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { font-size: .82rem; margin: 0; line-height: 1.6; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--primary); font-weight: 700; }
.form-status.bad { color: var(--danger); }
.hint { font-size: .88rem; color: #777; margin: 0; }

/* ---------- contact (blue gradient, like the original footer) ---------- */
.contact-sec { background: var(--grad); color: #fff; padding: clamp(56px, 7vw, 90px) 0 40px; }
.contact-sec a { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr .6fr 1.5fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-sec h3 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.c-about p { font-size: .95rem; }
.map { width: 100%; height: 190px; border: 0; border-radius: 4px; margin: 6px 0 18px; background: rgba(255,255,255,.15); }
.c-info { font: 700 .92rem/1.7 var(--font-head); font-style: italic; }
.c-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.c-links a { font: 700 .95rem var(--font-head); text-decoration: none; }
.c-links a:hover { text-decoration: underline; }
.c-form h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 8px; }
.c-form .field input, .c-form .field select, .c-form .field textarea { border: 0; border-radius: 4px; }
.c-form .btn-pill.solid { justify-self: end; background: var(--secondary); box-shadow: 0 6px 16px rgba(0,30,80,.3); }
.c-form .btn-pill.solid:hover { background: #fff; color: var(--primary); }
.c-form .form-status.ok, .c-form .form-status.bad { color: #fff; }
.c-form .err { color: #FFE0E0; }
.c-form .fineprint a { text-decoration: underline; }
/* On tablets and phones the form comes first, so "Contact Us" opens straight on the form */
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } .c-form { grid-column: 1 / -1; order: -1; } }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

.site-footer { background: var(--grad); color: #fff; font-size: .85rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.35); padding: 16px var(--gutter); text-align: center; max-width: calc(var(--wrap) - 2 * var(--gutter)); }

/* ---------- booking ---------- */
.booking-sec { background: var(--img-waves) center / cover no-repeat, var(--wave-svg) center bottom / 100% 100% no-repeat, #fff; }
.booker { display: grid; grid-template-columns: 300px 1fr 280px; background: #fff; border-radius: 20px; border: 3px solid var(--secondary); overflow: hidden; min-height: 470px; box-shadow: 0 25px 50px -20px rgba(0,70,160,.35); }
.booker-col { padding: 26px; }
.booker-col + .booker-col { border-left: 1px solid #DCE7F2; }
.types { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.types legend { font: 900 1.05rem var(--font-head); color: var(--primary); margin-bottom: 8px; }
.type-opt { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border: 2px solid #DCE7F2; border-radius: 12px; cursor: pointer; }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt:hover { border-color: var(--light); }
.type-opt.sel { border-color: var(--secondary); background: var(--soft); }
.type-opt:focus-within { outline: 3px solid var(--light); outline-offset: 2px; }
.type-name { font: 900 1rem var(--font-head); color: var(--dark); }
.type-dur { font-size: .85rem; color: var(--secondary); font-weight: 700; }
.type-desc { grid-column: 1 / -1; font-size: .85rem; line-height: 1.45; }
.tz-field select { font-size: .9rem; }
.fmt-toggle { display: inline-flex; justify-self: start; width: max-content; border: 2px solid #DCE7F2; border-radius: 10px; margin: 12px 0 8px; overflow: hidden; }
.fmt-toggle button { background: #fff; border: 0; padding: 7px 12px; font: 700 .85rem var(--font-head); cursor: pointer; color: var(--text); }
.fmt-toggle button[aria-pressed="true"] { background: var(--grad); color: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h3 { margin: 0; color: var(--primary); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; transition: opacity .2s; }
.cal-grid.loading { opacity: .4; pointer-events: none; }
.cal-wd { text-align: center; font: 700 .8rem var(--font-head); color: #888; padding-bottom: 6px; }
.cal-day { aspect-ratio: 1; min-height: 40px; border-radius: 50%; border: 0; background: none; font: 400 1rem var(--font-body); color: #bbb; cursor: default; position: relative; }
.cal-day.has { color: var(--primary); background: var(--soft); font-weight: 700; cursor: pointer; }
.cal-day.has:hover { background: var(--light); }
.cal-day.sel { background: var(--grad); color: #fff; }
.cal-day.today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.booker-times h3 { margin-bottom: 2px; font-size: 1.15rem; color: var(--dark); }
.slots { display: grid; gap: 8px; margin: 16px 0; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.slot { border: 2px solid var(--secondary); color: var(--secondary); background: #fff; border-radius: 10px; padding: 10px; font: 700 1rem var(--font-head); cursor: pointer; }
.slot:hover { background: var(--soft); }
.slot.sel { background: var(--grad); border-color: transparent; color: #fff; }
.booker:has(.booker-form) { grid-template-columns: 340px 1fr; }
.booker-form h3 { margin: 0; color: var(--primary); }
.back { margin-bottom: 22px; text-decoration: none; font-weight: 700; }
.summary { display: grid; gap: 4px; }
.summary p { margin: 0; }
.summary-type { font: 900 1rem var(--font-head); color: var(--secondary); }
.summary-when { font-size: 1.1rem; line-height: 1.4; color: var(--dark); }
.summary-when strong { display: block; font: 900 2rem/1.15 var(--font-head); color: var(--primary); }
.booker:has(.booker-done) { display: block; }
.booker-done { padding: clamp(28px, 5vw, 56px); max-width: 700px; }
.booker-done h3 { color: var(--primary); font-size: 1.8rem; }
.booker-done .summary { margin: 16px 0 20px; padding: 18px 20px; background: var(--soft); border-radius: 12px; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.done-mark .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.booker-done .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (max-width: 1080px) {
  .booker { grid-template-columns: 1fr 1fr; }
  .booker-setup { grid-column: 1 / -1; border-bottom: 1px solid #DCE7F2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 28px; align-items: start; }
  .booker-setup .types { grid-row: span 3; margin: 0; }
  .booker-cal { border-left: 0 !important; }
}
@media (max-width: 720px) {
  .booker, .booker:has(.booker-form) { grid-template-columns: 1fr; }
  .booker-setup { grid-template-columns: 1fr; }
  .booker-col + .booker-col { border-left: 0; border-top: 1px solid #DCE7F2; }
  .booker-col { padding: 20px 16px; }
  .slots { grid-template-columns: repeat(3, 1fr); max-height: none; }
}
@media (max-width: 380px) { .slots { grid-template-columns: 1fr 1fr; } }

/* ---------- chatbot ---------- */
.chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px; background: var(--grad); color: #fff; border: 3px solid #fff; border-radius: 999px; padding: 12px 20px 12px 14px; font: 900 1rem var(--font-head); cursor: pointer; box-shadow: 0 10px 26px -6px rgba(0,70,160,.6); }
.chat-launch svg { width: 24px; height: 24px; }
.chat-launch:hover { filter: brightness(1.1); }
.chat-launch.hide { display: none; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 85; width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 110px)); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -16px rgba(0,40,100,.5); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--grad); color: #fff; }
.chat-head strong { display: block; font: 900 1.05rem var(--font-head); }
.chat-head span { font-size: .8rem; opacity: .9; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.5; }
.msg.bot { background: #fff; border-bottom-left-radius: 4px; align-self: flex-start; color: #333; }
.msg.user { background: var(--secondary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg-actions button, .chat-quick button { border: 2px solid var(--secondary); background: #fff; color: var(--secondary); border-radius: 999px; padding: 5px 12px; font: 700 .84rem var(--font-head); cursor: pointer; }
.msg-actions button:hover, .chat-quick button:hover { background: var(--secondary); color: #fff; }
.chat-quick { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; background: #fff; border-top: 1px solid #DCE7F2; }
.chat-quick:empty { display: none; }
.chat-quick button { white-space: nowrap; }
.chat-input { display: flex; gap: 8px; padding: 12px; background: #fff; }
.chat-input input { flex: 1; min-width: 0; border: 1px solid #b9c7d6; border-radius: 8px; padding: 10px 12px; font: 1rem var(--font-body); }
.chat-input input:focus { outline: none; border-color: var(--secondary); }
.chat-input .btn { padding: 10px 16px; }
@media (max-width: 480px) {
  .chat-launch span { display: none; }
  .chat-launch { padding: 13px; }
  .chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 90px); }
}


/* ======================================================================
   Motion: page-load entrance + scroll reveal (slides in like the original)
   ====================================================================== */
.js [data-reveal] { opacity: 0; transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translateX(-110px); }
.js [data-reveal="right"] { transform: translateX(110px); }
.js [data-reveal="up"] { transform: translateY(46px); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero-anim { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0ms) + 150ms); }
.js.loaded .hero-anim { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal], .js .hero-anim { opacity: 1 !important; transform: none !important; } }
@media (max-width: 820px) { .js [data-reveal="left"] { transform: translateX(-48px); } .js [data-reveal="right"] { transform: translateX(48px); } }
.product, .dtrack, #whyus, .about, .demo-video { overflow-x: clip; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 1; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.85); border-radius: 16px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- demo video (booking page) ---------- */
.dv-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.dv-text h2 { color: var(--primary); }
.lead { font-size: 1.12rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--grad); color: #fff; stroke-width: 3; margin-top: 2px; }
.checks.light .ico { background: #fff; color: var(--secondary); }
.lite-video, .lite-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 60px -30px rgba(0,40,100,.55); }
.lite-video { position: relative; border: 0; cursor: pointer; background: var(--grad) center / cover no-repeat; padding: 0; }
.lite-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,70,160,.45), rgba(0,132,203,.05)); }
.lite-video .video-play { width: 90px; height: 90px; }
.lite-video .video-play .ico { width: 34px; height: 34px; }
.lite-video .video-play::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 3px solid rgba(255,255,255,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.lite-frame iframe, .lite-frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
@media (max-width: 860px) { .dv-grid { grid-template-columns: 1fr; } }

/* ---------- 3 steps ---------- */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 16%; right: 16%; height: 3px; background: linear-gradient(90deg, var(--light), var(--secondary), var(--primary)); border-radius: 2px; }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.step-n { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad); color: #fff; font: 900 1.7rem var(--font-head); border: 5px solid #fff; box-shadow: 0 12px 24px -10px rgba(0,70,160,.6); }
.steps h3 { color: var(--primary); }
.steps p { max-width: 32ch; margin: 0 auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* ---------- home demo banner ---------- */
.demo-cta { padding: 0 0 clamp(56px, 7vw, 90px); background: #fff; }
.demo-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--grad); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); box-shadow: 0 30px 60px -30px rgba(0,40,100,.6); position: relative; overflow: hidden; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.demo-cta-inner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: var(--img-watermark) center / contain no-repeat; opacity: .12; pointer-events: none; }
.demo-cta h2 { color: #fff; margin-bottom: 6px; }
.demo-cta p { margin: 0; max-width: 56ch; opacity: .95; }

/* ---------- cookie banner ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 95; max-width: 420px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 20px 50px -14px rgba(0,30,80,.45); font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent div { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn { padding: 8px 16px; }

/* ---------- hero stats (sit on the video, bottom of the hero) ---------- */
.hero-stats-band { position: relative; z-index: 1; align-self: end; border-top: 1px solid rgba(255,255,255,.35); background: linear-gradient(180deg, rgba(0,50,120,0) 0%, rgba(0,50,120,.35) 100%); }
.hero-stats { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 26px; text-align: left; }
.hero-stats li { display: grid; gap: 2px; padding: 0 22px; }
.hero-stats li + li { border-left: 1px solid rgba(255,255,255,.35); }
.hero-stats strong { font: 900 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats span:not(.num) { font: 600 .88rem/1.4 var(--font-body); color: rgba(255,255,255,.92); }
@media (max-width: 860px) { .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; } .hero-stats li:nth-child(3) { border-left: 0; } .hero-stats li { padding: 0 14px; } }
.hero .scroll-cue { display: none; }

/* ---------- features explorer (same language as "Why choose") ---------- */
.features { overflow-x: clip; }
.features::before { content: ''; position: absolute; right: -12%; top: 8%; width: 60%; height: 84%; background: var(--img-watermark) center / contain no-repeat; opacity: .07; pointer-events: none; }
.fx { position: relative; margin-top: 44px; }
.fx-list { position: relative; display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; grid-auto-flow: dense; column-gap: clamp(32px, 5vw, 72px); align-items: start; border-top: 3px solid var(--primary); }
.fx-tab { grid-column: 1; display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 6px 20px 0; background: none; border: 0; border-bottom: 3px solid var(--primary); cursor: pointer; text-align: left; color: var(--dark); font: 700 clamp(1.05rem, 1.5vw, 1.25rem)/1.3 var(--font-head); position: relative; transition: color .2s, padding .25s; }
.fx-tab:hover { color: var(--secondary); }
.fx-tab .fx-ico { width: 30px; height: 30px; color: var(--secondary); flex: none; }
.fx-tab.active { color: var(--primary); padding-left: 16px; }
.fx-tab.active::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 3px; background: var(--grad); }
.fx-tab::after { content: ''; position: absolute; left: 0; bottom: -3px; height: 3px; width: 0; background: var(--secondary); }
.fx-tab.active.timing::after { animation: fxbar 6s linear forwards; }
@keyframes fxbar { to { width: 100%; } }
.fx-panel { grid-column: 2; grid-row: 1 / span 9; position: sticky; top: 120px; }
.fx-panel[hidden] { display: none; }
.fx-media { padding: 34px; border-radius: 15px; background: var(--img-layered) 100% 50% / cover no-repeat, var(--layered-svg) center / cover no-repeat; box-shadow: 0 40px 30px -15px rgba(0,0,0,.22); }
.fx-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: #fff; animation: fxin .6s cubic-bezier(.2,.7,.2,1); }
.fx-body { padding: 26px 6px 0; animation: fxin .6s .08s cubic-bezier(.2,.7,.2,1) both; }
.fx-body h3 { color: var(--primary); font-size: clamp(1.5rem, 2.4vw, 2rem); text-transform: none; }
.fx-body p { font-size: 1.06rem; font-weight: 500; max-width: 56ch; }
@keyframes fxin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .fx-list { grid-template-columns: 1fr; }
  .fx-panel { grid-column: 1; grid-row: auto; position: static; padding: 6px 0 26px; border-bottom: 3px solid var(--primary); }
  .fx-media { padding: 18px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side h2 { color: var(--primary); font-size: clamp(2.2rem, 4vw, 3rem); }
.faq-side > p { font-size: 1.06rem; font-weight: 500; }
.faq-help { margin-top: 28px; background: #fff; border-radius: 20px 0 0 20px; border: 3px solid var(--secondary); border-right: 0; padding: 26px 28px; box-shadow: -25px 15px 40px -6px rgba(0,0,0,.12); }
.faq-help h3 { color: var(--primary); font-size: 1.35rem; margin-bottom: 4px; text-transform: none; }
.faq-help p { margin: 0 0 16px; }
.faq-help-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-help .faq-phone { margin: 14px 0 0; font-weight: 700; font-family: var(--font-head); }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: rgba(255,255,255,.94); border-radius: 15px; box-shadow: 0 12px 30px -18px rgba(0,50,120,.45); border-left: 5px solid transparent; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-left-color: var(--secondary); box-shadow: 0 20px 40px -20px rgba(0,50,120,.55); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; color: var(--dark); font: 800 clamp(1.05rem, 1.5vw, 1.2rem)/1.35 var(--font-head); text-transform: none; }
.faq-item summary:hover h3, .faq-item[open] summary h3 { color: var(--primary); }
.faq-ico { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); transition: background .25s, transform .3s; }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 3px; margin: -1.5px 0 0 -7px; background: var(--secondary); border-radius: 2px; transition: transform .3s, background .25s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open] .faq-ico { background: var(--grad); transform: rotate(180deg); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: #fff; }
.faq-item[open] .faq-ico::after { transform: rotate(0); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; font-size: 1rem; line-height: 1.8; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } .faq-help { border-radius: 20px; border-right: 3px solid var(--secondary); } }

/* ---------- Book a Demo page ---------- */
.book-hero { min-height: 0; padding: clamp(70px, 9vw, 120px) 0 clamp(150px, 15vw, 190px); grid-template-rows: auto; }
.book-hero .hero-inner { padding-top: 0; padding-bottom: 0; }
.book-hero h1 { margin: 10px 0 14px; }
.crumbs { display: flex; justify-content: center; gap: 10px; font: 700 .92rem var(--font-head); color: rgba(255,255,255,.9); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 9px 12px; border: 2px solid rgba(255,255,255,.85); border-radius: 100px; font: 800 .98rem var(--font-head); background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.hero-points .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #fff; color: var(--secondary); stroke-width: 3.2; }
.booking-sec { position: relative; z-index: 2; margin-top: clamp(-130px, -11vw, -96px); padding-bottom: clamp(56px, 7vw, 90px); }
body[data-page="book"] .booking-sec { background: none; }
.booker-note { text-align: center; margin: 18px 0 0; font-size: .95rem; }
body[data-page="book"] .features { background: var(--img-waves-top) center bottom / cover no-repeat; }

.video-layout.single { grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
.video-layout.single .video-card.big .video-title { text-align: center; font-size: 1.4rem; padding: 6px 4px 8px; }

/* ---------- vertical (Shorts) players ---------- */
.dv-player.vertical { display: flex; justify-content: center; }
.dv-player.vertical .lite-video, .dv-player.vertical .lite-frame { width: min(340px, 100%); aspect-ratio: 9 / 16; border-radius: 28px; border: 8px solid #fff; box-shadow: 0 40px 70px -30px rgba(0,40,100,.6), 0 0 0 1px rgba(0,70,160,.12); }
.dv-player.vertical .lite-video { background-color: var(--primary); }
.modal.vertical .modal-box { width: min(420px, 100%); }
.modal.vertical .video-frame { aspect-ratio: 9 / 16; max-height: 80vh; margin: 0 auto; }
@media (max-width: 860px) { .dv-player.vertical .lite-video, .dv-player.vertical .lite-frame { width: min(300px, 82vw); } }

/* ---------- news cards with images ---------- */
.news-item { padding: 0; overflow: hidden; }
.news-img { display: block; aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.news-item:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body h2 { font-size: 1.3rem; margin: 6px 0 10px; text-transform: none; }
.news-body h2 a { color: var(--primary); text-decoration: none; }
.news-all { text-align: center; margin: 36px 0 0; }

/* ---------- content pages: news posts, news list, legal ---------- */
.page-head { position: relative; background: var(--grad); color: #fff; padding: clamp(48px, 7vw, 84px) 0 clamp(70px, 9vw, 110px); overflow: hidden; }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.35' d='M0 30 C 360 0 720 60 1080 30 S 1440 14 1440 14 V70 H0Z'/%3E%3Cpath fill='%23ffffff' d='M0 52 C 400 22 820 76 1160 44 S 1440 36 1440 36 V70 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.page-head::before { content: ''; position: absolute; right: -60px; top: -20px; width: 340px; height: 340px; background: var(--img-watermark) center / contain no-repeat; opacity: .1; }
.page-head .wrap { position: relative; z-index: 1; max-width: 900px; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 12px 0 6px; }
.page-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 700 .9rem var(--font-head); color: rgba(255,255,255,.9); }
.page-crumbs a { color: #fff; text-decoration: none; }
.page-crumbs a:hover { text-decoration: underline; }
.page-date { margin: 0; font-weight: 600; opacity: .95; }
.page-body { padding-top: clamp(36px, 5vw, 56px); }
.prose-wrap { max-width: 900px; }
.article-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 15px; margin: clamp(-90px, -8vw, -60px) 0 36px; position: relative; z-index: 2; box-shadow: 0 30px 50px -28px rgba(0,40,100,.55); background: var(--soft); }
.prose { font-size: 1.06rem; line-height: 1.85; color: #4a4a4a; }
.prose > :first-child { margin-top: 0; }
.prose h2 { color: var(--primary); font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 1.8em 0 .6em; text-transform: none; }
.prose h3, .prose h4 { color: var(--dark); font-size: 1.2rem; margin: 1.6em 0 .5em; text-transform: none; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; }
.prose ol { counter-reset: step; }
.prose ol > li { counter-increment: step; padding-left: 40px; }
.prose ol > li::before { content: counter(step); width: 26px; height: 26px; top: .15em; left: 0; display: grid; place-items: center; color: #fff; font: 800 .85rem var(--font-head); }
.prose li { position: relative; padding-left: 28px; margin-bottom: .6em; }
.prose li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.prose strong { color: var(--dark); }
.prose a { color: var(--secondary); font-weight: 700; }
.prose img { border-radius: 12px; margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--secondary); background: var(--soft); border-radius: 0 12px 12px 0; }
body[data-page="page"] .prose { font-size: 1rem; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 48px 0 0; padding: 28px 32px; background: var(--grad); color: #fff; border-radius: 20px; box-shadow: 0 24px 50px -28px rgba(0,40,100,.6); }
.article-cta h2 { color: #fff; font-size: 1.6rem; margin: 0 0 4px; }
.article-cta p { margin: 0; }
.more-news { margin-top: 48px; border-top: 3px solid var(--primary); }
.more-news h2 { font-size: 1.4rem; color: var(--primary); margin: 24px 0 8px; }
.more-news ul { list-style: none; margin: 0; padding: 0; }
.more-news li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #DCE7F2; }
.more-news a { font: 800 1.05rem var(--font-head); color: var(--dark); text-decoration: none; }
.more-news a:hover { color: var(--secondary); }
.more-news time { color: #888; font-size: .9rem; white-space: nowrap; }
@media (max-width: 600px) { .more-news li { flex-direction: column; gap: 2px; } }
.news-index .news-list { margin-top: 0; }

/* ---------- directions link (replaces the embedded map) ---------- */
.directions { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 16px; padding: 9px 18px; border: 2px solid #fff; border-radius: 100px; font: 800 .95rem var(--font-head); text-decoration: none; }
.directions::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.directions:hover { background: #fff; color: var(--primary); }

/* ---------- section subtitles (same style as the original site's "Get to know your new best friend") ---------- */
.intro-center { font: 800 clamp(1.05rem, 1.6vw, 1.22rem)/1.55 var(--font-head); color: var(--text); text-transform: capitalize; max-width: 44ch; margin: -4px auto 0; }
.intro-center::after { content: ''; display: block; width: 72px; height: 4px; border-radius: 2px; background: var(--grad); margin: 22px auto 0; }
.intro-center + * { margin-top: 44px; }
.features .fx { margin-top: 48px; }

/* ---------- booked times: shown greyed out, can't be picked ---------- */
.slot.booked { border-color: #E1E7EE; background: #F1F4F8; color: #A7B3C0; cursor: not-allowed; box-shadow: none; }
.slot.booked:hover { background: #F1F4F8; }
.cal-day.full { color: #9AA8B6; background: #F1F4F8; cursor: pointer; text-decoration: line-through; }
.cal-day.full.sel { background: #9AA8B6; color: #fff; }
.slots-full { margin: 12px 0 0; font-weight: 700; color: var(--text); font-size: .95rem; }

/* ---------- status pages (confirm / cancel / not found) ---------- */
.notice-card { max-width: 620px; margin: 0 auto; background: #fff; border: 3px solid var(--secondary); border-radius: 20px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 24px 50px -28px rgba(0,40,100,.45); text-align: center; }
.notice-card h2 { color: var(--primary); margin: 0 0 10px; }
.notice-card p { margin: 0 0 16px; }
.notice-card form { margin: 18px 0 0; }
.captcha-slot { min-height: 0; }
.captcha-slot:not(:empty) { margin: 4px 0; }

/* ---------- office review page ---------- */
.review-table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; text-align: left; font-size: .97rem; }
.review-table th { width: 34%; padding: 9px 12px 9px 0; color: #777; font: 700 .9rem var(--font-head); vertical-align: top; }
.review-table td { padding: 9px 0; border-bottom: 1px solid #E3EEF8; }
.review-actions { text-align: left; display: grid; gap: 14px; }
.review-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.notice-card:has(.review-table) { max-width: 680px; }

/* ---------- vertical (Shorts) video in the video section ---------- */
.video-short { display: grid; justify-items: center; gap: 14px; }
.video-short .lite-video, .video-short .lite-frame { width: min(340px, 82vw); aspect-ratio: 9 / 16; border-radius: 28px; border: 8px solid #fff; box-shadow: 0 40px 70px -30px rgba(0,40,100,.6); background-color: var(--primary); }
.video-short .video-title { font: 900 1.3rem var(--font-head); color: var(--primary); text-align: center; }

/* A paragraph that is only bold text (e.g. a formula) is shown as a highlighted box */
.prose p:has(> strong:only-child):not(:has(a)) { background: var(--soft); border-left: 4px solid var(--secondary); border-radius: 0 12px 12px 0; padding: 14px 18px; font-size: 1.08rem; }

/* ---------- hero: small line above the slogan (part of the H1) ---------- */
.hero-kicker { display: block; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 700; line-height: 1.3; margin-bottom: .45em; opacity: .95; letter-spacing: .01em; }

/* ---------- footer guide links ---------- */
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 48px; padding-top: 36px; padding-bottom: 28px; }
.footer-links h2 { color: #fff; font-size: 1rem; margin: 0 0 10px; text-transform: none; letter-spacing: 0; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-links a { color: #fff; opacity: .9; text-decoration: none; font-size: .92rem; }
.footer-links a:hover, .footer-links a:focus-visible { opacity: 1; text-decoration: underline; }

/* ---------- tables in guides ---------- */
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid #DCE7F2; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid #E6EEF6; }
.prose thead th { background: var(--soft); color: var(--dark); font-size: .88rem; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose tbody th { color: var(--dark); }
.prose h3 { color: var(--dark); font-size: 1.15rem; margin: 1.4em 0 .4em; }
.prose :is(h2, h3)[id] { scroll-margin-top: 96px; }
.faq-guide { margin-top: 8px; }
.faq-guide a { font-weight: 700; }
/* phones: each table row becomes a small labelled block */
@media (max-width: 640px) {
  .prose .table-wrap { overflow: visible; border: 0; }
  .prose table { min-width: 0; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose table, .prose tbody, .prose tr, .prose tbody th, .prose tbody td { display: block; width: auto; }
  .prose tbody tr { border: 1px solid #DCE7F2; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
  .prose tbody th { padding: 0 0 6px; border: 0; font-size: 1.05rem; }
  .prose tbody td { padding: 4px 0; border: 0; }
  .prose tbody td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; color: #6B7A8C; }
}
/* comparison tables: the last column (DTrackAll) stands out */
@media (min-width: 641px) {
  .prose table td:last-child, .prose thead th:last-child { background: #F2F8FF; color: var(--dark); font-weight: 600; }
  .prose thead th:last-child { background: var(--primary); color: #fff; }
}
