/* ==========================================================================
   Kris Kereluk Real Estate — callkris.ca
   Static site stylesheet. Light refresh of the original WordPress site.
   ========================================================================== */

:root {
  --ink:        #092352;   /* callkris.ca navy — dark sections, headings */
  --ink-2:      #0a2f6e;
  --bg:         #ffffff;
  --cream:      #f2f2f2;   /* callkris.ca light section background */
  --sand:       #dce4ef;
  --accent:     #e37b48;   /* callkris.ca coral orange */
  --accent-dk:  #c86532;
  --text:       #171616;   /* body text */
  --muted:      #54595f;   /* secondary text */
  --line:       #e5e3df;   /* hairline borders */
  --line-dk:    #1a3a6e;   /* borders on dark bg */
  --radius:     8px;
  --radius-lg:  16px;
  --maxw:       1180px;
  --shadow:     0 18px 40px -24px rgba(9, 35, 82, 0.45);
  --shadow-sm:  0 8px 24px -16px rgba(9, 35, 82, 0.55);
  --serif:      "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { color: var(--text); }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #c3c9d4; }
.center { text-align: center; }
.measure { max-width: 680px; }
.center .measure,
.measure.center,
.section-head.center .measure {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 14px;
}
.section--ink .eyebrow { color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--ink .lead { color: #c3c9d4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-ink { background: #fff; color: var(--ink); }
.btn--on-ink:hover { background: var(--cream); color: var(--ink); }
.btn--outline-ink { background: transparent; color: #fff; border-color: var(--line-dk); }
.btn--outline-ink:hover { border-color: var(--accent); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row,
.btn-row.center { justify-content: center; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(9,35,82,.7); }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }

/* Text wordmark — primary brand mark across the site */
.wordmark {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.wordmark:hover { text-decoration: none; }
.wordmark > span {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
}
.wordmark--light {
  font-size: 1.25rem;
  color: var(--ink);
}
.wordmark--light > span {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  margin-top: 3px;
}
.wordmark--dark {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 14px;
}
.wordmark--dark:hover { color: #fff; }
.wordmark--dark > span {
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  margin-top: 5px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__item { position: relative; }
.nav__link {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav__link:hover { text-decoration: none; color: var(--accent-dk); background: var(--cream); }

/* Dropdowns */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 234px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown a {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  padding: 9px 12px;
  border-radius: 6px;
}
.nav__dropdown a:hover { background: var(--cream); color: var(--accent-dk); text-decoration: none; }
.nav__dropdown .nav__dd-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px 4px;
}
.nav__cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav__phone {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}
.nav__phone:hover { color: var(--accent-dk); text-decoration: none; }

/* Hamburger */
.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before { content: ""; position: absolute; top: -6px; }
.nav__toggle span::after  { content: ""; position: absolute; top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__bg,
.hero__bg-wrap {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__bg {
  object-fit: cover;
  opacity: 0.32;
}
.hero__bg-wrap { display: block; pointer-events: none; }
.hero__bg-wrap .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg--vancouver { object-position: center 18%; }
@media (min-width: 980px) {
  .hero:has(.hero__bg--vancouver) { min-height: clamp(500px, 36vw, 640px); }
  .hero:has(.hero__bg--vancouver) .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .hero__bg--vancouver { object-position: center 22%; }
}
@media (min-width: 1400px) {
  .hero__bg--vancouver { object-position: center top; }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,35,82,.55) 0%, rgba(9,35,82,.82) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 116px 24px 124px;
}
.hero__inner .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero__sub {
  font-size: 1.16rem;
  color: #d4d9e2;
  max-width: 54ch;
  margin-top: 20px;
}
.hero .btn-row { margin-top: 32px; }

/* page hero — shorter, for interior pages */
.pagehero { background: var(--ink); color: #fff; }
.pagehero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 78px 24px 84px;
}
.pagehero h1 { color: #fff; }
.pagehero p { color: #d4d9e2; margin-top: 16px; max-width: 60ch; }

/* Legal / policy pages */
.policy {
  max-width: 760px;
  margin: 0 auto;
}
.policy > * + * { margin-top: 1.25em; }
.policy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-top: 2.4em;
  margin-bottom: 0.6em;
}
.policy h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.policy p,
.policy li { color: var(--muted); font-size: 0.98rem; }
.policy ul,
.policy ol {
  padding-left: 1.35em;
  list-style: disc;
}
.policy ol { list-style: decimal; }
.policy li + li { margin-top: 0.45em; }
.policy a { color: var(--accent-dk); }
.policy__meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}
.policy__callout {
  margin-top: 0;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--line);
}
.policy__callout p { color: var(--text); margin-top: 0; }
.policy__callout p + p { margin-top: 0.75em; }
.policy__callout .btn { margin-top: 14px; }

/* ==========================================================================
   Generic content blocks
   ========================================================================== */
.section-head { margin-bottom: 48px; }
.section-head h2 { max-width: 22ch; }
.section-head.center {
  text-align: center;
}
.section-head.center .eyebrow {
  display: inline-block;
}
.section-head.center h2 {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}
.section-head.center .lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Split (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.split__body h2 { margin-bottom: 16px; }
.split__body p + p { margin-top: 14px; }
.split__body .btn-row { margin-top: 26px; }

/* Search type cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.search-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.search-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sand);
}
.search-card h3 { margin-bottom: 8px; }
.search-card p { color: var(--muted); font-size: 0.96rem; }
.search-card .arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent-dk);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Numbered feature grid (Why buy / Why sell / Values) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.section--cream .feature { background: #fff; }
.feature__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(9, 35, 82, 0.14);
  line-height: 1;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 4.8em;
}
.feature p { color: var(--muted); font-size: 0.97rem; flex-grow: 1; }

/* Process / stages — alternating rows */
.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 30px 0;
}
.stage + .stage { border-top: 1px solid var(--line); }
.stage--reverse .stage__media { order: 2; }
.stage__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  width: 100%;
}
.stage__step {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 8px;
}
.stage h3 { margin-bottom: 12px; }
.stage p { color: var(--muted); }

/* Instagram reel row */
.instagram-row {
  overflow: hidden;
}
.instagram-row__track {
  display: grid;
  grid-template-columns: repeat(var(--instagram-cols, 4), minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}
.instagram-row__track--empty {
  display: flex;
  justify-content: center;
}
.instagram-reel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.instagram-reel:hover,
.instagram-reel:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  outline: none;
}
.instagram-reel:focus-visible {
  box-shadow: var(--shadow), 0 0 0 3px rgba(227, 123, 72, 0.45);
}
.instagram-reel img,
.instagram-reel__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.instagram-reel__placeholder {
  background: linear-gradient(145deg, var(--ink) 0%, var(--ink-2) 100%);
}
.instagram-reel__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(9, 35, 82, 0.05) 40%, rgba(9, 35, 82, 0.55) 100%);
  color: #fff;
  pointer-events: none;
}
.instagram-reel__play svg {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(9, 35, 82, 0.35);
}
.instagram-reel--skeleton {
  background: linear-gradient(90deg, #e8ebf0 25%, #f4f6f9 50%, #e8ebf0 75%);
  background-size: 200% 100%;
  animation: instagram-shimmer 1.4s ease infinite;
}
@keyframes instagram-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.instagram-row__empty {
  min-width: min(100%, 640px);
  padding: 36px 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
}
.instagram-row__empty p {
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.instagram-row__empty .btn {
  display: inline-flex;
  width: auto;
}

/* Instagram reel modal player */
body.instagram-modal-open { overflow: hidden; }
.instagram-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.instagram-modal[hidden] { display: none; }
.instagram-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 35, 82, 0.72);
  backdrop-filter: blur(4px);
}
.instagram-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 16px 20px;
  box-shadow: var(--shadow);
}
.instagram-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(9, 35, 82, 0.08);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.instagram-modal__close:hover { background: rgba(9, 35, 82, 0.14); }
.instagram-modal__frame-wrap {
  aspect-ratio: 9 / 16;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: #000;
}
.instagram-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.instagram-modal__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-dk);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.reviews-grid--2 { grid-template-columns: repeat(2, 1fr); }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.section--cream .review { background: #fff; }
.review__stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 14px; }
.review h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}
.review p { color: var(--muted); font-size: 0.97rem; flex-grow: 1; }
.review__name {
  margin-top: 18px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

/* Big single quote */
.quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  color: #fff;
  max-width: 24ch;
}
.quote__author { margin-top: 22px; font-family: var(--sans); font-size: .9rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--accent); }
.stat__label { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.section--ink .stat__label { color: #c3c9d4; }

/* FAQ — native accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 44px 18px 4px;
  font-family: var(--serif);
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-dk);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 4px 22px; color: var(--muted); }
.faq__answer p + p { margin-top: 12px; }

/* Network of professionals */
.network-group { margin-top: 44px; }
.network-group__title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dk);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.network-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.network-card h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.network-card .nc-person { font-size: 0.93rem; color: var(--text); }
.network-card .nc-role { font-size: 0.83rem; color: var(--muted); margin-bottom: 12px; }
.network-card .nc-links { display: flex; gap: 14px; font-size: 0.82rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.section--ink .form-card { box-shadow: none; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 0.97rem;
  color: var(--text);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: #fff;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227,123,72,.15);
}
.form-field--full fieldset {
  border: none; padding: 0;
}
.form-field--full legend {
  font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 8px;
}
.choice-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.93rem; color: var(--text); cursor: pointer;
}
.choice input { width: auto; }
.form-submit { grid-column: 1 / -1; margin-top: 6px; }
.form-submit .btn { width: 100%; justify-content: center; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-status.is-success { display: block; background: #e8f3ec; color: #1f6b3f; border: 1px solid #bfe0cc; }
.form-status.is-error   { display: block; background: #fbeaea; color: #9a2c2c; border: 1px solid #f0c8c8; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 14px; }

/* CTA contact section layout */
.contact-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { color: #fff; margin-bottom: 16px; }
.contact-info p { color: #c3c9d4; }
.contact-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.contact-list a, .contact-list span { color: #d4d9e2; font-size: 0.98rem; }
.contact-list .ci-label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #b9c0cc;
  padding: 64px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand p { color: #9aa2b1; font-size: 0.94rem; max-width: 30ch; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line-dk);
  border-radius: 50%;
  color: #c3c9d4;
}
.footer-social a:hover { border-color: var(--accent); color: #fff; text-decoration: none; }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 {
  color: #fff; font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b9c0cc; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-contact p { font-size: 0.95rem; color: #b9c0cc; margin-bottom: 10px; }
.footer-contact a { color: #b9c0cc; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dk);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.84rem; color: #828a98; }
.footer-bottom p a { color: #a8b0bd; }
.footer-bottom p a:hover { color: #fff; }
.footer-bottom img { height: 38px; width: auto; opacity: .9; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .network-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .nav__toggle { display: flex; }
  .nav__menu, .nav__cta { display: none; }

  /* Mobile drawer */
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 16px 20px;
    gap: 2px;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }
  .nav__menu.is-open .nav__item { width: 100%; }
  .nav__menu.is-open .nav__link { padding: 12px 8px; font-size: 1rem; }
  .nav__dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    padding: 0 0 8px 16px;
    min-width: 0;
  }
  .nav__menu.is-open .nav__cta-mobile {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line);
  }
  .nav__cta-mobile .btn { justify-content: center; }

  .split, .stage, .contact-split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media,
  .stage--reverse .stage__media { order: 0; }
  .cards-3, .feature-grid, .reviews-grid, .reviews-grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .hero__inner { padding: 84px 24px 90px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .network-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { width: 100%; }
}

/* Default desktop: hide mobile-only CTA block inside menu */
.nav__cta-mobile { display: none; }

.auth-panel {
  padding: 40px 24px 64px;
  background: #f5f6fa;
}
.auth-panel__shell {
  width: min(100%, 420px);
  margin-inline: auto;
}
.auth-panel__card {
  width: 100%;
  padding: 28px 28px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}
.auth-panel__card h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  text-align: center;
}
.auth-panel__lead {
  margin: 0 0 20px;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}
.auth-panel__benefits {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.auth-panel__benefits li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 10px;
  color: #334155;
  font-size: 0.95rem;
}
.auth-panel__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dk);
  font-weight: 700;
}
.auth-panel iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  overflow: hidden;
  background: #fff;
}
.auth-panel__note {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
}
.auth-panel__note + .auth-panel__note {
  margin-top: 12px;
}
.auth-panel__note a {
  color: var(--accent-dk);
  font-weight: 600;
}
