/* =========================================================
   Bright Ray Corporate Services — main stylesheet
   Theme: brand navy (#275682) + brand orange (#f69052), from the logo
   ========================================================= */

:root {
  --ink: #0f2740;
  --ink-2: #163456;
  --ink-3: #1d3f66;
  --teal: #275682;
  --teal-soft: #e7eef6;
  --sun: #ffa86b;
  --coral: #e8692e;
  --ray: linear-gradient(120deg, #ffb37a 0%, #f69052 50%, #ec6f3a 100%);
  --ray-soft: linear-gradient(120deg, rgba(255, 179, 122, 0.16), rgba(236, 111, 58, 0.16));
  --cream: #fffaf3;
  --sand: #f7f0e6;
  --text: #1c2a33;
  --muted: #5b6a73;
  --line: #ebe3d7;
  --white: #ffffff;
  --green: #1f9d6b;
  --green-soft: #e3f6ee;
  --amber: #b7791f;
  --amber-soft: #fdf1dc;
  --red: #c2413b;
  --red-soft: #fbe6e4;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 50px -24px rgba(15, 39, 64, 0.35);
  --shadow-sm: 0 8px 22px -12px rgba(15, 39, 64, 0.22);
  --shadow-glow: 0 18px 40px -16px rgba(232, 105, 46, 0.55);
  --container: 1200px;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: #ffd9bf; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.text-link { color: var(--teal); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--coral); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 20px;
}

/* ---------- Sections & atmosphere ---------- */
.section { padding-block: 110px; position: relative; }
.section--tight { padding-block: 70px; }
.section--sand {
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255, 179, 122, 0.18), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(39, 86, 130, 0.07), transparent 70%),
    var(--sand);
}
/* Dark sections are inset, rounded "panels" with a sun glow and dot texture */
.section--dark {
  margin-inline: 16px;
  border-radius: 40px;
  color: #c8d4e2;
  background:
    radial-gradient(700px 380px at 90% -10%, rgba(246, 144, 82, 0.28), transparent 65%),
    radial-gradient(600px 400px at -10% 110%, rgba(39, 86, 130, 0.55), transparent 65%),
    linear-gradient(160deg, #12304f 0%, var(--ink) 55%, #0b1e33 100%);
  overflow: hidden;
  isolation: isolate;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.section--dark h2, .section--dark h3 { color: var(--white); }

.text-ray {
  background: var(--ray);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Highlighter stroke behind key words in headings */
.hl {
  background: linear-gradient(transparent 62%, rgba(255, 168, 107, 0.45) 62%, rgba(255, 168, 107, 0.45) 90%, transparent 90%);
  padding-inline: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section--dark .hl { background: linear-gradient(transparent 62%, rgba(246, 144, 82, 0.4) 62%, rgba(246, 144, 82, 0.4) 90%, transparent 90%); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--ray-soft);
  border: 1px solid rgba(232, 105, 46, 0.18);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ray);
  box-shadow: 0 0 0 4px rgba(246, 144, 82, 0.18);
}
.section--dark .eyebrow,
.eyebrow--light { color: var(--sun); background: rgba(255, 168, 107, 0.1); border-color: rgba(255, 168, 107, 0.25); }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #a9b9cc; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
}
.section-head--split h2, .section-head--split p { margin: 0; }
.center-link { text-align: center; margin: 40px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--ray { background: var(--ray); color: var(--ink); box-shadow: var(--shadow-glow); }
/* shine sweep */
.btn--ray::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn--ray:hover::after { transform: translateX(120%); }
.btn--ray:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(232, 105, 46, 0.7); }
.btn--dark { background: var(--ink); color: var(--white); box-shadow: 0 14px 30px -14px rgba(15, 39, 64, 0.6); }
.btn--dark:hover { background: var(--teal); transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--coral);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.3s ease;
}
/* Blur lives on a pseudo-element: backdrop-filter on .header itself would make it
   the containing block for the fixed mobile nav drawer, shrinking it to the header's height. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 250, 243, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(235, 227, 215, 0.8);
}
.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ray);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(15, 39, 64, 0.35); }
.header.is-scrolled::after { transform: scaleX(1); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo { display: inline-flex; align-items: center; }
.logo__img { height: 70px; width: auto; }
.logo__img--footer { height: auto; width: 230px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav > li > a:hover { background: rgba(255, 168, 107, 0.14); }
.nav > li > a.active { background: var(--ink); color: var(--white); }
.nav .chev { width: 14px; height: 14px; transition: transform 0.2s ease; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(15, 39, 64, 0.35);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } /* hover bridge */
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.93rem;
  color: var(--text);
}
.dropdown a:hover { background: var(--sand); color: var(--coral); }
.dropdown--wide {
  left: 50%;
  translate: -50% 0;
  width: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px;
}
.dropdown--wide a { display: flex; gap: 12px; align-items: center; padding: 12px; }
.dropdown__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ray-soft);
  color: var(--coral);
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown--wide a:hover .dropdown__icon { background: var(--ray); color: var(--ink); }
.dropdown__icon svg { width: 20px; height: 20px; }
.dropdown--wide strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.dropdown--wide small { color: var(--muted); font-size: 0.8rem; }
.nav > li:hover .dropdown,
.nav > li:focus-within .dropdown,
.nav > li.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav > li:hover .chev,
.nav > li.is-open .chev { transform: rotate(180deg); }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn { padding: 13px 22px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.burger span { top: 22px; }
.burger span::before { content: ""; left: 0; top: -6px; }
.burger span::after { content: ""; left: 0; top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Home hero + setup finder ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(520px 520px at 78% 45%, rgba(246, 144, 82, 0.35), transparent 70%),
    linear-gradient(105deg, rgba(10, 27, 46, 0.97) 0%, rgba(15, 39, 64, 0.88) 48%, rgba(15, 39, 64, 0.6) 100%);
}
/* subtle grid texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.hero__rays {
  position: absolute;
  left: -220px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  z-index: 1;
  opacity: 0.16;
  pointer-events: none;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-block: 90px 140px;
}
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.15rem; color: #d2dce8; max-width: 560px; margin-bottom: 28px; }
.hero__points { display: grid; gap: 12px; }
.hero__points li { display: flex; gap: 12px; align-items: center; color: #e4ebf3; font-weight: 500; }
.hero__points [data-icon] { flex: none; display: flex; }
.hero__points svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--ray); color: var(--ink); box-shadow: 0 0 0 5px rgba(246, 144, 82, 0.15); }

.finder-wrap { position: relative; }
.finder {
  position: relative;
  background: var(--white);
  color: var(--text);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
/* glowing gradient ring */
.finder::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: 29px;
  background: conic-gradient(from 200deg, #ffb37a, #ec6f3a, rgba(39, 86, 130, 0.4), #ffb37a);
  filter: blur(14px);
  opacity: 0.7;
}
.finder__title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 20px; }
.finder__title [data-icon] { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ray); color: var(--ink); }
.finder__title svg { width: 22px; height: 22px; }
.finder__form { display: grid; gap: 16px; }
.finder .field > span,
.finder .field > legend { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.finder__result {
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
  background:
    radial-gradient(300px 140px at 100% 0%, rgba(255, 179, 122, 0.3), transparent 70%),
    var(--teal-soft);
  border: 1px solid #d6e3f0;
  animation: fadeUp 0.35s ease;
}
.finder__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.finder__pick { display: block; font-family: var(--font-head); font-size: 1.45rem; color: var(--ink); margin: 4px 0 6px; }
.finder__result p { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }
.finder__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.finder__facts span { background: var(--white); border-radius: 12px; padding: 10px 14px; font-family: var(--font-head); font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.finder__facts small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.74rem; color: var(--muted); }
.finder__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.finder__actions .btn { padding: 12px 20px; }

/* floating info chips around the finder */
.hero__chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
  animation: float 6s ease-in-out infinite;
}
.hero__chip [data-icon] { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ray); color: var(--ink); }
.hero__chip svg { width: 18px; height: 18px; }
.hero__chip small { display: block; font-size: 0.7rem; color: #c9d6e4; }
.hero__chip strong { font-family: var(--font-head); font-size: 0.88rem; }
/* sit on the card's edges, clear of its content */
.hero__chip--a { top: -36px; right: 24px; }
.hero__chip--b { bottom: -34px; left: -36px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Segmented control (radio buttons styled as pills) */
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: var(--sand); border: 1px solid var(--line); }
.seg label { flex: 1 1 auto; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 4px 12px -4px rgba(15, 39, 64, 0.25), inset 0 -2px 0 var(--sun); }
.seg input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.seg input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.seg--sm span { padding: 8px 10px; font-size: 0.86rem; }

/* ---------- Trust strip (card overlapping the hero) ---------- */
.trust { position: relative; z-index: 5; margin-top: -78px; }
.trust__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
  padding: 28px 36px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 60px -30px rgba(15, 39, 64, 0.4);
  border: 1px solid var(--line);
}
.trust__stats { display: flex; gap: 34px; }
.trust__stats > div { position: relative; padding-left: 16px; }
.trust__stats > div::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--ray); }
.trust__stats strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.trust__stats span { font-size: 0.8rem; color: var(--muted); max-width: 130px; display: block; line-height: 1.35; }
.trust__auth { border-left: 1px dashed var(--line); padding-left: 40px; }
.trust__auth > span { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.trust__auth ul { display: flex; flex-wrap: wrap; gap: 8px; }
.trust__auth li { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--ink); padding: 7px 14px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); }

/* ---------- Tabs ---------- */
.tabs {
  padding: 14px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tabs__list {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--sand);
  margin: 10px 0 24px 10px;
}
.tabs__list [role="tab"] {
  border: 0;
  background: transparent;
  padding: 11px 26px;
  border-radius: 999px;
  font: 600 0.95rem var(--font-head);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tabs__list [role="tab"]:hover { color: var(--ink); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--ray); color: var(--ink); box-shadow: var(--shadow-glow); }
.tabs__list [role="tab"]:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.tabs__panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 0 24px 14px 0;
  animation: fadeUp 0.4s ease;
}
.tabs__media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.3; position: relative; }
.tabs__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 39, 64, 0.35)); }
.tabs__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.tabs__panel:hover .tabs__media img { transform: scale(1.05); }
.tabs__body h3 { font-size: 1.6rem; }
.tabs__body > p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.facts div { padding: 14px 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.facts div:last-child { background: var(--ink); border-color: var(--ink); }
.facts div:last-child dt { color: #a9b9cc; }
.facts div:last-child dd { color: var(--sun); }
.facts dt { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.3; }
.tabs__watch { font-size: 0.93rem; padding: 14px 16px; border-left: 3px solid var(--coral); background: #fff3ea; border-radius: 0 12px 12px 0; color: var(--text); }

/* ---------- Service tiles (home) ---------- */
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: tile; }
.svc-tile {
  counter-increment: tile;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.svc-tile::after {
  content: "0" counter(tile);
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
}
.svc-tile::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 144, 82, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.svc-tile:hover { transform: translateY(-6px); border-color: rgba(255, 168, 107, 0.5); background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)); }
.svc-tile:hover::before { opacity: 1; }
.svc-tile__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--ray);
  color: var(--ink);
  box-shadow: 0 12px 24px -10px rgba(232, 105, 46, 0.7);
}
.svc-tile__icon svg { width: 26px; height: 26px; }
.svc-tile h3 { font-size: 1.18rem; }
.svc-tile ul { display: grid; gap: 9px; margin-bottom: 24px; flex: 1; }
.svc-tile li { font-size: 0.92rem; color: #b8c6d8; padding-left: 18px; position: relative; }
.svc-tile li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--sun); }

/* ---------- Service groups (services page) ---------- */
.svc-nav {
  position: sticky;
  top: 84px;
  z-index: 20;
  background: rgba(255, 250, 243, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.svc-nav__inner { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.svc-nav__inner::-webkit-scrollbar { display: none; }
.svc-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font: 600 0.88rem var(--font-head);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.svc-nav a svg { width: 16px; height: 16px; color: var(--coral); }
.svc-nav a:hover { border-color: var(--sun); }
.svc-nav a.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.svc-nav a.is-active svg { color: var(--sun); }

.svc-group { padding-block: 90px; position: relative; overflow: hidden; }
.svc-group:nth-of-type(even) { background: var(--sand); }
.svc-group__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.svc-group__head { position: sticky; top: 170px; }
.svc-group__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 5rem;
  line-height: 0.9;
  margin-bottom: -26px;
  background: linear-gradient(180deg, rgba(246, 144, 82, 0.35), rgba(246, 144, 82, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.svc-group__head h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.svc-group__head p { color: var(--muted); font-size: 1.02rem; }
.svc-group__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-item {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.svc-item::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--ray); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.svc-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.svc-item:hover::before { transform: scaleX(1); }
.svc-item:target { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(232, 105, 46, 0.18); }
.svc-item h3 { font-size: 1.06rem; }
.svc-item p { color: var(--muted); font-size: 0.93rem; flex: 1; }

/* ---------- Estimator ---------- */
.estimator {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}
.estimator__inputs {
  display: grid;
  gap: 28px;
  padding: 34px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.estimator legend { display: flex; justify-content: space-between; align-items: center; width: 100%; font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.estimator legend output {
  min-width: 38px;
  text-align: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ray);
  color: var(--ink);
  font-size: 0.95rem;
}
.estimator fieldset:disabled { opacity: 0.4; }
/* custom range slider */
.estimator input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb37a, #ec6f3a) 0 / var(--fill, 10%) 100% no-repeat, var(--sand);
  outline: none;
}
.estimator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--coral);
  box-shadow: 0 4px 12px rgba(232, 105, 46, 0.45);
  cursor: grab;
}
.estimator input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--coral);
  cursor: grab;
}
.est-note { display: block; margin-top: 8px; color: var(--muted); font-size: 0.83rem; }
.est-check {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 0.93rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.est-check:hover { border-color: var(--sun); }
.est-check:has(input:checked) { border-color: var(--coral); background: #fff6ef; }
.est-check input { accent-color: var(--coral); width: 18px; height: 18px; }
.est-check em { font-style: normal; font-weight: 700; color: var(--teal); font-size: 0.88rem; }
.estimator__total {
  position: sticky;
  top: 110px;
  padding: 34px;
  border-radius: 26px;
  color: #c8d4e2;
  overflow: hidden;
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(246, 144, 82, 0.4), transparent 70%),
    linear-gradient(160deg, var(--ink-3), var(--ink));
  box-shadow: 0 30px 60px -30px rgba(15, 39, 64, 0.7);
}
.estimator__total .finder__label { color: var(--sun); }
.estimator__total > strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--white);
  margin: 8px 0 22px;
  line-height: 1.15;
}
#estLines { display: grid; gap: 12px; padding: 20px 0; border-block: 1px dashed rgba(255, 255, 255, 0.18); margin-bottom: 18px; }
#estLines li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9rem; }
#estLines li span:last-child { color: var(--white); font-weight: 600; white-space: nowrap; }
.est-disclaimer { font-size: 0.8rem; color: #8fa2b8; }
.estimator__total .btn { width: 100%; justify-content: center; }

/* ---------- Journey (first 30 days) ---------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: step; }
.journey::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--sun) 0 10px, transparent 10px 18px);
  opacity: 0.6;
}
.journey li {
  counter-increment: step;
  position: relative;
  padding: 78px 22px 24px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.journey li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.journey li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 22px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font: 700 1.3rem var(--font-head);
  color: var(--ink);
  background: var(--ray);
  box-shadow: 0 14px 28px -12px rgba(232, 105, 46, 0.7), 0 0 0 6px var(--cream);
  transform: translateY(-50%);
}
.journey__day { display: inline-block; font-family: var(--font-head); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 3px 10px; border-radius: 999px; }
.journey h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.journey p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.journey { padding-top: 28px; }

/* ---------- Testimonial cards ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  position: relative;
  margin: 0;
  padding: 34px 30px 28px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  right: 18px;
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
  background: var(--ray);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
}
.quote:nth-child(2) { transform: translateY(24px); }
.quote:hover { box-shadow: var(--shadow); }
.quote blockquote { position: relative; margin: 16px 0 26px; flex: 1; color: var(--text); font-size: 1.02rem; line-height: 1.7; }
.quote figcaption { display: flex; gap: 14px; align-items: center; font-size: 0.86rem; color: var(--muted); padding-top: 20px; border-top: 1px dashed var(--line); }
.quote figcaption img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; padding: 2px; background: var(--ray); }
.quote figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.stars { color: var(--coral); letter-spacing: 4px; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; width: 100%; }
.faq details {
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 24px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(232, 105, 46, 0.35); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--coral);
  background: var(--ray-soft);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ray); color: var(--ink); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 60px 64px;
  border-radius: 32px;
  background:
    repeating-conic-gradient(from 0deg at 92% 120%, rgba(255, 255, 255, 0.14) 0deg 5deg, transparent 5deg 14deg),
    var(--ray);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 30px 60px -30px rgba(232, 105, 46, 0.7);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -140px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%);
}
.cta-band h2 { margin-bottom: 8px; max-width: 620px; position: relative; z-index: 1; }
.cta-band p { margin: 0; color: rgba(15, 39, 64, 0.8); font-size: 1.05rem; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: 120px 130px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-conic-gradient(from 180deg at 88% 115%, rgba(255, 168, 107, 0.13) 0deg 4deg, transparent 4deg 13deg),
    radial-gradient(500px 340px at 88% 100%, rgba(246, 144, 82, 0.45), transparent 70%),
    linear-gradient(100deg, rgba(10, 27, 46, 0.96) 10%, rgba(15, 39, 64, 0.85) 55%, rgba(39, 86, 130, 0.7));
}
/* curved bottom edge */
.page-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -60px;
  height: 120px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--cream);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; max-width: 820px; }
.page-hero p { color: #d2dce8; max-width: 640px; font-size: 1.12rem; }
.breadcrumb {
  display: inline-flex;
  gap: 10px;
  font-size: 0.85rem;
  color: #c3cfdd;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.breadcrumb a:hover { color: var(--sun); }
.breadcrumb span:last-child { color: var(--sun); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font: 600 0.9rem var(--font-head);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-chips a:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.hero-chips [data-icon] { display: flex; color: var(--sun); }
.hero-chips svg { width: 16px; height: 16px; }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--fz { background: #ffb37a; box-shadow: 0 0 0 3px rgba(255, 179, 122, 0.3); }
.dot--ml { background: #5b9bd5; box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.3); }
.dot--os { background: #2fc4a1; box-shadow: 0 0 0 3px rgba(47, 196, 161, 0.3); }

/* ---------- Split / media ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.media-stack { position: relative; padding: 0 40px 40px 0; }
.media-stack::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -24px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(var(--sun) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.6;
}
.media-stack__main {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.4;
}
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  border-radius: 22px;
  overflow: hidden;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
}
.media-stack__float img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge {
  position: absolute;
  left: -20px;
  top: 40px;
  padding: 18px 24px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  color: var(--white);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.media-stack__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  line-height: 1;
  background: var(--ray);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.media-stack__badge span { font-size: 0.82rem; color: #a9b9cc; }

/* image with offset gradient frame + floating fact chip (setup page) */
.framed-img { position: relative; padding: 0 0 24px 24px; }
.framed-img::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80%;
  height: 80%;
  border-radius: 28px;
  background: var(--ray);
  opacity: 0.9;
}
.framed-img--left { padding: 0 24px 24px 0; }
.framed-img--left::before { left: auto; right: 0; background: linear-gradient(140deg, var(--teal), var(--ink)); }
.framed-img img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.float-chip {
  position: absolute;
  top: 28px;
  right: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.framed-img--left .float-chip { right: auto; left: -18px; }
.float-chip [data-icon] { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ray); color: var(--ink); }
.float-chip svg { width: 20px; height: 20px; }
.float-chip small { display: block; font-size: 0.74rem; color: var(--muted); }
.float-chip strong { font-family: var(--font-head); color: var(--ink); font-size: 0.95rem; }

.rounded-img { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }

.checklist { display: grid; gap: 12px; margin: 26px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 5px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ray);
  color: var(--ink);
}
.checklist [data-icon] { flex: none; display: flex; }
.checklist--2col { grid-template-columns: 1fr 1fr; }
.checklist--muted svg { background: var(--line); color: var(--muted); }

/* Icon rows (about page) */
.factors { display: grid; gap: 16px; margin: 28px 0 34px; }
.factor {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.factor:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.factor__num {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ray);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
}
.factor__num svg { width: 22px; height: 22px; }
.factor h3 { font-size: 1.04rem; margin-bottom: 4px; }
.factor p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Values / stats (about) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  position: relative;
  padding: 38px 32px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value::after { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 179, 122, 0.25), transparent 70%); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value p { color: var(--muted); margin: 0; }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band > div { padding: 10px; position: relative; }
.stats-band > div + div::before { content: ""; position: absolute; left: -10px; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, 0.12); }
.stats-band strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  background: var(--ray);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-band span { color: #a9b9cc; }

/* ---------- Pricing plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured {
  color: #c8d4e2;
  border: 0;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(246, 144, 82, 0.4), transparent 70%),
    linear-gradient(165deg, var(--ink-3), var(--ink));
  box-shadow: 0 40px 70px -30px rgba(15, 39, 64, 0.7);
  transform: translateY(-14px);
}
.plan--featured:hover { transform: translateY(-20px); }
.plan--featured h3 { color: var(--white); }
.plan--featured .plan__for, .plan--featured .plan__note { color: #a9b9cc; }
.plan--featured .plan__price small { color: #a9b9cc; }
.plan--featured .plan__price strong { color: var(--white); }
.plan--featured .plan__note { border-color: rgba(255, 255, 255, 0.12); }
.plan--featured .plan__icon { background: var(--ray); color: var(--ink); }
.plan__tag {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ray);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-glow);
}
.plan__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ray-soft); color: var(--coral); margin-bottom: 18px; }
.plan__icon svg { width: 26px; height: 26px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan__for { color: var(--muted); font-size: 0.93rem; margin-bottom: 20px; min-height: 4.6em; }
.plan__price { font-family: var(--font-head); margin-bottom: 4px; }
.plan__price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.plan__price strong { font-size: 2.7rem; font-weight: 700; color: var(--ink); line-height: 1; margin-left: 6px; letter-spacing: -0.03em; }
.plan__note { font-size: 0.84rem; color: var(--muted); padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--line); }
.plan .checklist { margin: 0 0 30px; flex: 1; align-content: start; }
.plan .checklist li { font-size: 0.94rem; }
.plan .btn { justify-content: center; }
.plan--featured .btn--outline { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }

/* ---------- Setup page ---------- */
.setup-block { padding-block: 100px; position: relative; }
.setup-block:nth-of-type(odd) {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 179, 122, 0.16), transparent 70%),
    var(--sand);
}
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.feature-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
}
.feature-pills span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

/* comparison table */
.compare-wrap {
  overflow-x: auto;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: middle; font-size: 0.95rem; color: var(--text); border-bottom: 1px solid var(--line); }
.compare thead th {
  background: var(--cream);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 22px;
  border-bottom: 2px solid var(--line);
}
.col-head { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.compare tbody th { font-family: var(--font-head); font-weight: 600; color: var(--ink); white-space: nowrap; width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr { transition: background 0.2s ease; }
.compare tbody tr:hover { background: #fffaf3; }
.compare td small { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
}
.pill--yes { background: var(--green-soft); color: var(--green); }
.pill--yes::before { content: "✓"; background: var(--green); }
.pill--mid { background: var(--amber-soft); color: var(--amber); }
.pill--mid::before { content: "!"; background: #e0a43a; }
.pill--no { background: var(--red-soft); color: var(--red); }
.pill--no::before { content: "✕"; background: var(--red); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: rgba(232, 105, 46, 0.35); }
.contact-card__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ray);
  color: var(--ink);
  box-shadow: 0 10px 20px -10px rgba(232, 105, 46, 0.7);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 0.82rem; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-card p { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 500; }
.contact-card a,
.form-success a,
.prose a { color: var(--teal); text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.contact-card a:hover,
.form-success a:hover,
.prose a:hover { color: var(--coral); }

.form-card {
  position: relative;
  padding: 46px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 40px 80px -40px rgba(15, 39, 64, 0.45);
  border: 1px solid var(--line);
  overflow: hidden;
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--ray); }
.form-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 179, 122, 0.22), transparent 70%); pointer-events: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232, 105, 46, 0.14);
}
.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 500;
}
.form-success.is-visible { display: block; }

.map-wrap {
  margin-top: 70px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 420px;
  border: 8px solid var(--white);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 820px; padding: 46px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  color: #a9b9cc;
  margin-top: 40px;
  background:
    repeating-conic-gradient(from 270deg at 100% 100%, rgba(255, 168, 107, 0.07) 0deg 3deg, transparent 3deg 10deg),
    radial-gradient(600px 400px at 100% 100%, rgba(246, 144, 82, 0.25), transparent 70%),
    linear-gradient(170deg, #12304f, var(--ink) 50%, #0a1a2c);
  border-radius: 40px 40px 0 0;
}
.footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 32px 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__cta h3 { color: var(--white); font-size: 1.45rem; margin-bottom: 4px; }
.footer__cta p { margin: 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 0.8fr 1.3fr;
  gap: 40px;
  padding-block: 64px;
}
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer__about p { margin: 20px 0; font-size: 0.93rem; max-width: 300px; }
.footer__links { display: grid; gap: 11px; font-size: 0.93rem; }
.footer__links a { position: relative; transition: color 0.2s ease; }
.footer__links a:hover { color: var(--sun); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.93rem; }
.footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--sun); }
.footer__contact a:hover { color: var(--sun); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.socials a:hover { background: var(--ray); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px 90px;
  font-size: 0.86rem;
}
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom span:last-child { font-family: var(--font-head); background: var(--ray); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }

/* ---------- Floating widgets (raised to clear the host's corner badge) ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 156px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: var(--ink);
  color: var(--sun);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

.chat { position: fixed; right: 24px; bottom: 84px; z-index: 60; }
.chat__btn {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 20px;
  background: var(--ray);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-glow);
  transition: transform 0.25s ease, border-radius 0.25s ease;
}
.chat__btn:hover { transform: translateY(-3px) rotate(-4deg); }
.chat.is-open .chat__btn { border-radius: 50%; }
.chat__btn svg { width: 26px; height: 26px; }
.chat__panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 310px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 30px 60px -20px rgba(15, 39, 64, 0.45);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transform-origin: bottom right;
  transition: all 0.25s ease;
}
.chat.is-open .chat__panel { opacity: 1; visibility: visible; transform: none; }
.chat__head { padding: 18px 20px; background: linear-gradient(160deg, var(--ink-3), var(--ink)); color: var(--white); display: flex; gap: 12px; align-items: center; }
.chat__head img { width: 40px; height: 40px; }
.chat__head strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.chat__head span { font-size: 0.78rem; color: #a9b9cc; }
.chat__body { padding: 20px; }
.chat__bubble {
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  background: var(--sand);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.chat__body .btn { width: 100%; justify-content: center; padding: 12px; }

/* ---------- Reveal animation (staggered) ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.svc-tiles .reveal:nth-child(3n + 2), .quotes .reveal:nth-child(2), .journey .reveal:nth-child(2), .plans .reveal:nth-child(2), .values .reveal:nth-child(2), .svc-group__list .reveal:nth-child(2) { transition-delay: 0.1s; }
.svc-tiles .reveal:nth-child(3n + 3), .quotes .reveal:nth-child(3), .journey .reveal:nth-child(3), .plans .reveal:nth-child(3), .values .reveal:nth-child(3), .svc-group__list .reveal:nth-child(3) { transition-delay: 0.2s; }
.journey .reveal:nth-child(4), .svc-group__list .reveal:nth-child(4) { transition-delay: 0.3s; }
.journey .reveal:nth-child(5) { transition-delay: 0.4s; }
.quote.reveal.is-in:nth-child(2) { transform: translateY(24px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__cta .btn { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .journey::before { display: none; }
  .trust__inner { grid-template-columns: 1fr; gap: 22px; }
  .trust__auth { border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); padding-top: 20px; }
  .hero__chip--b { left: -10px; }
}

@media (max-width: 960px) {
  .section { padding-block: 80px; }
  .section--dark { margin-inline: 10px; border-radius: 28px; }
  .burger { display: block; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    padding: 100px 24px 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
    z-index: 40;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open .chat,
  .nav-open .to-top { display: none; }
  .burger { z-index: 45; }
  .nav > li > a { justify-content: space-between; width: 100%; padding: 14px 14px; border-radius: 12px; }
  .dropdown, .dropdown--wide {
    position: static;
    translate: none;
    width: auto;
    min-width: 0;
    display: none;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 8px;
  }
  .dropdown--wide small { display: none; }
  .nav > li.is-open .dropdown { display: block; }
  .nav > li:hover .dropdown { display: none; }
  .nav > li.is-open:hover .dropdown { display: block; }

  .hero__grid { grid-template-columns: 1fr; padding-block: 60px 130px; gap: 50px; }
  .split, .contact-grid, .tabs__panel, .estimator, .svc-group__inner, .faq-split, .section-head--split { grid-template-columns: 1fr; gap: 40px; }
  .tabs__panel { padding: 0 10px 10px; }
  .split--reverse .split__media { order: 0; }
  .svc-group__head, .estimator__total { position: static; }
  .svc-group__num { font-size: 3.6rem; margin-bottom: -18px; }
  .svc-tiles, .quotes { grid-template-columns: 1fr 1fr; }
  .quote:nth-child(2), .quote.reveal.is-in:nth-child(2) { transform: none; }
  .plans, .values { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan--featured, .plan--featured:hover { transform: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stats-band > div + div::before { display: none; }
  .page-hero { padding-block: 90px 110px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .section--dark { margin-inline: 6px; border-radius: 22px; }
  .finder { padding: 24px 18px; }
  .hero__chip { display: none; }
  .trust { margin-top: -90px; }
  .trust__inner { padding: 22px; }
  .seg span { white-space: normal; }
  .svc-tiles, .quotes, .svc-group__list, .journey { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .tabs { padding: 10px; border-radius: 22px; }
  .tabs__list { display: flex; margin: 4px 0 18px; }
  .tabs__list [role="tab"] { flex: 1; padding: 11px 8px; }
  .trust__stats { gap: 20px; flex-wrap: wrap; }
  .footer { border-radius: 26px 26px 0 0; }
  .footer__cta { padding: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .checklist--2col, .form-grid { grid-template-columns: 1fr; }
  .form-card, .estimator__inputs, .estimator__total, .prose { padding: 26px 20px; }
  .est-check { grid-template-columns: auto 1fr; }
  .est-check em { grid-column: 2; }
  .cta-band { padding: 40px 26px; }
  .media-stack { padding: 0 20px 20px 0; }
  .media-stack__badge { left: 10px; }
  .framed-img { padding: 0 0 14px 14px; }
  .framed-img--left { padding: 0 14px 14px 0; }
  .float-chip { right: 8px; top: 12px; }
  .framed-img--left .float-chip { left: 8px; }
  .logo__img { height: 56px; }
  .logo__img--footer { width: 200px; }
  .chat { right: 16px; bottom: 76px; }
  .to-top { right: 20px; bottom: 146px; }
}
