/* ============================================
   KENMORE ADVISOR LTD. — MASTER STYLESHEET
   Corporate Premium · Midnight Rose · Newspaper-Broadsheet
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --color-primary: #F06292;
  --color-secondary: #F48FB1;
  --color-accent: #80CBC4;
  --color-bg: #140A10;
  --color-surface: #1E1218;
  --color-text: #F0E0E8;
  --color-text-light: #A88898;
  --color-dark: #0D0609;

  --font-heading: Didot, 'Bodoni MT', 'Playfair Display', serif;
  --font-body: system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --shadow-subtle: 0 1px 3px rgba(0,0,0,0.05);
  --section-padding: 100px;
  --grid-gap: 32px;
  --max-width: 1100px;

  --transition-base: 0.3s ease;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  /* Paper texture overlay */
  background-image:
    linear-gradient(180deg, rgba(240,224,232,0.01) 0%, transparent 40%, transparent 60%, rgba(240,224,232,0.01) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(240,98,146,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(128,203,196,0.02) 0%, transparent 50%);
}

/* Page transition */
body.page-loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.page-visible {
  opacity: 1;
  transition: opacity 0.3s ease;
}

body.page-exiting {
  opacity: 0.3;
  transition: opacity 0.2s ease;
}

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--color-secondary); }

::selection {
  background: rgba(240,98,146,0.3);
  color: var(--color-text);
}

/* ---------- TYPOGRAPHY SCALE ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.caption, .label-sm {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
}

/* ---------- LEFT VERTICAL BAR HEADINGS ---------- */
.section-heading {
  padding-left: 1.2rem;
  border-left: 4px solid var(--color-accent);
  margin-bottom: 2rem;
  position: relative;
}

.section-heading.bar-primary {
  border-left-color: var(--color-primary);
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ---------- NAVIGATION ---------- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(20,10,16,0.95) 0%, rgba(20,10,16,0) 100%);
  pointer-events: none;
}

.nav-header > * {
  pointer-events: auto;
}

.nav-wordmark {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-decoration: none;
}

.nav-wordmark:hover { color: var(--color-accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.advisor-login-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius);
  transition: all var(--transition-base);
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
}

.advisor-login-link:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Hamburger */
.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10000;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Full-screen overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.23,1,0.32,1), visibility 0s 0.5s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.23,1,0.32,1), visibility 0s;
}

.nav-overlay__links {
  list-style: none;
  text-align: center;
}

.nav-overlay__links li {
  overflow: hidden;
}

.nav-overlay__links a {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.8;
  text-decoration: none;
  transition: color var(--transition-base), transform 0.4s ease;
  transform: translateY(100%);
}

.nav-overlay.active .nav-overlay__links a {
  transform: translateY(0);
}

.nav-overlay__links a:hover {
  color: var(--color-accent);
}

.nav-overlay__links li:nth-child(1) a { transition-delay: 0.05s; }
.nav-overlay__links li:nth-child(2) a { transition-delay: 0.1s; }
.nav-overlay__links li:nth-child(3) a { transition-delay: 0.15s; }
.nav-overlay__links li:nth-child(4) a { transition-delay: 0.2s; }
.nav-overlay__links li:nth-child(5) a { transition-delay: 0.25s; }
.nav-overlay__links li:nth-child(6) a { transition-delay: 0.3s; }
.nav-overlay__links li:nth-child(7) a { transition-delay: 0.35s; }

.nav-overlay__contact {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.nav-overlay__contact a {
  color: var(--color-text-light);
}
.nav-overlay__contact a:hover {
  color: var(--color-accent);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 50vh;
  padding-top: 120px;
  padding-bottom: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* Newspaper masthead */
.hero__masthead {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  padding-bottom: 1rem;
  font-weight: 700;
}

.hero__double-line {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 0.5rem;
  border-top: 2px solid var(--color-text-light);
  padding-top: 6px;
  border-bottom: 2px solid var(--color-text-light);
  height: 0;
  opacity: 0.3;
}

.hero__dateline {
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

/* Off-center content */
.hero__content {
  margin-left: 8vw;
  max-width: 55%;
  position: relative;
  z-index: 2;
}

.hero__content h1 {
  margin-bottom: 1.5rem;
}

.hero__content h1 .light { font-weight: 300; }
.hero__content h1 .bold { font-weight: 700; }

.hero__accent-rule {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.75;
}

/* Vertical text */
.hero__vertical-text {
  position: absolute;
  right: 3vw;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.15em;
  color: var(--color-text);
  opacity: 0.12;
  font-weight: 700;
  z-index: 1;
}

/* ---------- HORIZONTAL RULE RHYTHM MOTIF ---------- */
.hr-rhythm {
  display: block;
  width: 80px;
  height: 18px;
  background: repeating-linear-gradient(
    to bottom,
    var(--color-accent) 0px,
    var(--color-accent) 2px,
    transparent 2px,
    transparent 6px,
    var(--color-primary) 6px,
    var(--color-primary) 7px,
    transparent 7px,
    transparent 11px,
    var(--color-text-light) 11px,
    var(--color-text-light) 12px,
    transparent 12px
  );
  opacity: 0.6;
  margin-bottom: 2rem;
}

/* Multi-line card top border */
.card-hr-top {
  border-top: 3px solid var(--color-accent);
  box-shadow:
    0 4px 0 0 var(--color-surface),
    0 5px 0 0 rgba(240,98,146,0.3),
    0 8px 0 0 var(--color-surface),
    0 9px 0 0 rgba(128,203,196,0.2);
}

/* Footer progressive lines */
.footer-lines {
  height: 24px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(240,224,232,0.15) 0px,
    rgba(240,224,232,0.15) 1px,
    transparent 1px,
    transparent 4px,
    rgba(240,224,232,0.08) 4px,
    rgba(240,224,232,0.08) 5px,
    transparent 5px,
    transparent 8px,
    rgba(240,224,232,0.04) 8px,
    rgba(240,224,232,0.04) 9px,
    transparent 9px
  );
  margin-bottom: 2rem;
}

/* ---------- SECTION STYLES ---------- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* Dot grid background for alternating sections */
.section--dotgrid {
  background-image: radial-gradient(circle, rgba(240,224,232,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.section--surface {
  background-color: var(--color-surface);
}

.section--accent {
  background-color: var(--color-accent);
  color: var(--color-dark);
}

.section--accent h2,
.section--accent h3,
.section--accent p,
.section--accent a {
  color: var(--color-dark);
}

.section--accent .section-heading {
  border-left-color: var(--color-dark);
}

.section--accent .btn--ghost {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.section--accent .btn--ghost:hover {
  background: var(--color-dark);
  color: var(--color-accent);
}

.section--dark {
  background-color: var(--color-dark);
}

/* ---------- DOUBLE-LINE SECTION DIVIDER ---------- */
.section-divider {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid rgba(240,224,232,0.1);
  border-bottom: 1px solid rgba(240,224,232,0.1);
  height: 8px;
  position: relative;
}

.section-divider__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-bg);
  padding: 0 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  white-space: nowrap;
}

.section--surface .section-divider__label {
  background: var(--color-surface);
}

/* ---------- NEWSPAPER COLUMNS ---------- */
.columns-2 {
  column-count: 2;
  column-gap: 3rem;
}

.columns-2 h2,
.columns-2 h3,
.columns-2 .pull-quote {
  column-span: all;
}

/* ---------- PULL QUOTE ---------- */
.pull-quote {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-family: var(--font-heading);
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  color: var(--color-text);
  line-height: 1.4;
  /* Blockquote multi-border motif */
  box-shadow:
    -8px 0 0 0 transparent,
    -12px 0 0 0 rgba(128,203,196,0.2);
}

.pull-quote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  font-family: var(--font-body);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;
}

/* Ghost button (default) */
.btn--ghost {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn--ghost:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Bold CTA button */
.btn--cta {
  background: var(--color-accent);
  color: var(--color-dark);
  border: 2px solid var(--color-accent);
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
  font-weight: 700;
}

.btn--cta:hover {
  background: #6BB8B0;
  border-color: #6BB8B0;
  color: var(--color-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(128,203,196,0.3);
}

/* CTA on accent bg */
.section--accent .btn--cta {
  background: var(--color-dark);
  color: var(--color-accent);
  border-color: var(--color-dark);
}

.section--accent .btn--cta:hover {
  background: var(--color-bg);
  border-color: var(--color-bg);
}

.btn--lg {
  font-size: 1.1rem;
  padding: 1.1rem 3rem;
}

.btn--full {
  display: block;
  width: 100%;
}

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---------- CARDS ---------- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  border-bottom: 3px solid var(--color-accent);
  box-shadow: 0 -1px 3px rgba(0,0,0,0.05);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  border-bottom-color: var(--color-primary);
}

.card h3, .card h4 {
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* Classified ad grid (newspaper) */
.grid-classified {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid rgba(240,224,232,0.12);
}

.grid-classified__cell {
  border: 1px solid rgba(240,224,232,0.12);
  padding: 1.5rem;
  border-radius: 0;
  background: var(--color-surface);
  transition: background var(--transition-base);
}

.grid-classified__cell:hover {
  background: rgba(240,224,232,0.03);
}

.grid-classified__cell h3,
.grid-classified__cell h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.grid-classified__cell p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Standard card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--grid-gap);
}

/* ---------- GRADIENT ART BLOCKS (Image Placeholders) ---------- */
.art-block {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.art-block--hero {
  background: radial-gradient(ellipse at 30% 50%, rgba(240,98,146,0.3) 0%, rgba(128,203,196,0.15) 50%, var(--color-bg) 90%);
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  z-index: 0;
}

.art-block--wide {
  aspect-ratio: 16/9;
}

.art-block--1 {
  background: linear-gradient(135deg, #F06292 0%, #80CBC4 50%, #1E1218 100%);
}

.art-block--2 {
  background: linear-gradient(135deg, #F48FB1 0%, #F06292 60%, #140A10 100%);
}

.art-block--3 {
  background: radial-gradient(circle at 30% 40%, #80CBC4 0%, #4DB6AC 30%, #1E1218 80%);
}

.art-block--4 {
  background: linear-gradient(160deg, #F06292 0%, #CE93D8 40%, #80CBC4 80%, #140A10 100%);
}

.art-block--5 {
  background: radial-gradient(ellipse at 70% 30%, #F48FB1 0%, #F06292 40%, #140A10 90%);
}

.art-block--6 {
  background: linear-gradient(135deg, #80CBC4 0%, #F0E0E8 50%, #1E1218 100%);
}

.art-block--circle {
  aspect-ratio: 1/1;
  border-radius: 50%;
  width: 120px;
  height: 120px;
}

/* ---------- SPEECH BUBBLE TESTIMONIALS ---------- */
.testimonial-bubble {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(240,224,232,0.08);
}

.testimonial-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 2rem;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--color-surface);
}

.testimonial-bubble p {
  font-style: italic;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonial-bubble p::before { content: '\201C'; }
.testimonial-bubble p::after { content: '\201D'; }

.testimonial-attribution {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 600;
}

.testimonial-attribution span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-light);
  opacity: 0.7;
}

/* ---------- TESTIMONIAL CAROUSEL ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}

.carousel__slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 0 1rem;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-light);
  opacity: 0.3;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.carousel__dot.active {
  opacity: 1;
  background: var(--color-accent);
  transform: scale(1.2);
}

/* ---------- CIRCULAR PROGRESS STATS ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--grid-gap);
  text-align: center;
}

.stat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-circle__ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 1rem;
}

.stat-circle__ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--color-accent) var(--progress, 0%),
    rgba(240,224,232,0.08) var(--progress, 0%)
  );
}

.stat-circle__ring::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--color-surface);
}

.stat-circle__value {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.stat-circle__label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  max-width: 160px;
  line-height: 1.4;
}

/* ---------- COMPARISON TABLE (services.php) ---------- */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(240,224,232,0.08);
  vertical-align: top;
}

.comparison-table thead th {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(240,224,232,0.15);
}

.comparison-table th:first-child {
  width: 30%;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.comparison-table td:first-child {
  color: var(--color-text-light);
  font-weight: 500;
}

/* Highlighted recommended column */
.col-recommended {
  background: rgba(128,203,196,0.06);
  position: relative;
}

.col-recommended::before {
  content: '★ RECOMMENDED';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 700;
  white-space: nowrap;
}

thead .col-recommended {
  color: var(--color-accent) !important;
}

.comparison-table .check {
  color: var(--color-accent);
  font-weight: 700;
}

.comparison-table .dash {
  color: var(--color-text-light);
  opacity: 0.3;
}

.comparison-table .price-row td {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  padding-top: 1.5rem;
  border-top: 2px solid rgba(240,224,232,0.15);
  border-bottom: none;
}

/* ---------- FAQ ---------- */
.faq-index {
  list-style: none;
  counter-reset: faq-counter;
  margin-bottom: 3rem;
}

.faq-index li {
  counter-increment: faq-counter;
  margin-bottom: 0.5rem;
}

.faq-index li::before {
  content: counter(faq-counter) '. ';
  color: var(--color-accent);
  font-weight: 700;
  font-family: var(--font-heading);
}

.faq-index a {
  color: var(--color-text);
  transition: color var(--transition-base);
}

.faq-index a:hover {
  color: var(--color-accent);
}

.faq-item {
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(240,224,232,0.08);
}

.faq-item__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.faq-item__takeaway {
  background: rgba(128,203,196,0.08);
  border-left: 3px solid var(--color-accent);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent);
}

.faq-item p {
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ---------- CONTACT SPLIT SCREEN ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 80vh;
}

.contact-info-panel {
  background: var(--color-accent);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-dark);
  border-radius: var(--radius) 0 0 var(--radius);
}

.contact-info-panel h1,
.contact-info-panel h2,
.contact-info-panel p,
.contact-info-panel a {
  color: var(--color-dark);
}

.contact-info-panel .contact-detail {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-info-panel .contact-detail a {
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-panel {
  background: var(--color-surface);
  padding: 4rem 3rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- BOXED FORM SECTIONS ---------- */
.form-box {
  border: 1px solid rgba(240,224,232,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-box__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1px solid rgba(240,224,232,0.12);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(128,203,196,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A88898' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.5;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  cursor: pointer;
  margin-bottom: 0;
}

/* Password toggle */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.25rem;
  transition: color var(--transition-base);
}

.password-toggle:hover {
  color: var(--color-accent);
}

/* ---------- LOGIN PAGE SIDEBAR LAYOUT ---------- */
.login-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 100vh;
}

.login-sidebar {
  background: var(--color-surface);
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(240,224,232,0.06);
  position: relative;
  z-index: 2;
}

.login-sidebar h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.login-sidebar .login-subtitle {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.login-sidebar .login-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.6;
  opacity: 0.7;
}

.login-decorative {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem;
}

.login-decorative__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(240,98,146,0.25) 0%, rgba(128,203,196,0.1) 40%, var(--color-bg) 90%);
  z-index: 0;
}

.login-decorative__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 500px;
}

.login-decorative__wordmark {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 2rem;
  font-weight: 700;
}

.login-decorative__testimonial {
  font-style: italic;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 2rem 0;
}

.login-decorative__badges {
  font-size: 0.8rem;
  color: var(--color-text-light);
  opacity: 0.5;
  letter-spacing: 0.06em;
  margin-top: 2rem;
}

.forgot-link {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: right;
  display: block;
  margin-top: 0.75rem;
  transition: color var(--transition-base);
}

.forgot-link:hover {
  color: var(--color-accent);
}

/* ---------- BEFORE / AFTER COLUMNS ---------- */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
}

.transform-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.transform-col--before h3 { color: var(--color-text-light); }
.transform-col--after h3 { color: var(--color-accent); }

.transform-col ul {
  list-style: none;
}

.transform-col ul li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(240,224,232,0.06);
  font-size: 0.95rem;
  line-height: 1.6;
}

.transform-col--before ul li { color: var(--color-text-light); }
.transform-col--after ul li { color: var(--color-text); }

/* ---------- NUMBERED STEPS ---------- */
.steps {
  counter-reset: step-counter;
}

.step {
  counter-increment: step-counter;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  text-align: center;
}

.step h3 {
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.step p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- TEAM INTERACTIVE ROSTER ---------- */
.team-roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--grid-gap);
  text-align: center;
}

.team-member {
  cursor: pointer;
  transition: transform var(--transition-base);
}

.team-member:hover {
  transform: translateY(-4px);
}

.team-member.active .team-member__portrait {
  box-shadow: 0 0 0 3px var(--color-accent);
}

.team-member__portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.1);
  transition: box-shadow var(--transition-base);
}

.team-member__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.team-member__title {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Expanded detail panel */
.team-detail {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-top: 2rem;
  border-bottom: 3px solid var(--color-accent);
  display: none;
  animation: fadeUp 0.4s ease;
}

.team-detail.visible {
  display: block;
}

.team-detail__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.team-detail__tag {
  background: rgba(128,203,196,0.1);
  color: var(--color-accent);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.team-detail__experience {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-detail__bio {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- PERSONA CARDS ---------- */
.persona-card {
  background: var(--color-surface);
  padding: 2rem;
  border-bottom: 3px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  transition: border-color var(--transition-base);
}

.persona-card:hover {
  border-bottom-color: var(--color-primary);
}

.persona-card__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.persona-card h3 {
  margin-bottom: 0.5rem;
}

.persona-card__meta {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-style: italic;
}

.persona-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- DISCLOSURES ---------- */
.disclosures {
  background: #1A0E14;
  padding: 3rem 0;
  border-top: 1px solid rgba(240,224,232,0.06);
}

.disclosures h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.disclosures p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: 4rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0;
  color: var(--color-text-light);
  opacity: 0.7;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social a {
  color: var(--color-text-light);
  font-size: 0.85rem;
  transition: color var(--transition-base);
}

.footer__social a:hover { color: var(--color-accent); }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer__col ul {
  list-style: none;
}

.footer__col ul li {
  margin-bottom: 0.5rem;
}

.footer__col ul a {
  color: var(--color-text-light);
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity var(--transition-base), color var(--transition-base);
}

.footer__col ul a:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* Footer accordion toggle (mobile) */
.footer__col-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px solid rgba(240,224,232,0.06);
  position: relative;
}

.footer__col-toggle::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  color: var(--color-text-light);
  transition: transform var(--transition-base);
}

.footer__col-toggle.active::after {
  content: '−';
}

/* Trust badges */
.footer-badges {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.footer-badges span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  opacity: 0.4;
}

/* Footer bottom bar */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8rem;
  color: var(--color-text-light);
  opacity: 0.6;
}

.footer-bottom a {
  color: var(--color-text-light);
  margin-left: 1.5rem;
}

.footer-bottom a:hover { color: var(--color-accent); }

/* ---------- COOKIE CONSENT ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(240,224,232,0.1);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 10002;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
  flex: 1;
}

.cookie-banner__actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-banner__decline {
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color var(--transition-base);
}

.cookie-banner__decline:hover { color: var(--color-text); }

/* ---------- ANIMATIONS ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- ABOUT PAGE: SIDE-BY-SIDE STORY ---------- */
.story-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.story-columns p {
  color: var(--color-text-light);
  line-height: 1.75;
}

/* About page values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
}

.value-card {
  background: rgba(240,224,232,0.03);
  border: 1px solid rgba(240,224,232,0.06);
  border-radius: var(--radius);
  padding: 2rem;
}

.value-card h4 {
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- CASE STUDY SPOTLIGHT ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: start;
}

.spotlight__content h3 {
  color: var(--color-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.spotlight__content h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.spotlight__content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.spotlight__result {
  background: rgba(128,203,196,0.08);
  border-left: 3px solid var(--color-accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.spotlight__result strong {
  color: var(--color-accent);
}

/* ---------- SERVICE DETAIL CARDS ---------- */
.service-detail {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(240,224,232,0.06);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail h3 {
  padding-left: 1.2rem;
  border-left: 4px solid var(--color-accent);
  margin-bottom: 1rem;
}

.service-detail p {
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.service-detail__deliverables {
  font-size: 0.9rem;
  color: var(--color-text-light);
  opacity: 0.8;
}

.service-detail__deliverables strong {
  color: var(--color-text);
}

/* ---------- GUARANTEE BOX ---------- */
.guarantee-box {
  background: rgba(128,203,196,0.06);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin-top: 3rem;
}

.guarantee-box h2 {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.guarantee-box p {
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---------- PRIVACY & TERMS ---------- */
.legal-page {
  padding-top: 140px;
  padding-bottom: var(--section-padding);
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal-summary {
  background: rgba(128,203,196,0.06);
  border: 1px solid rgba(128,203,196,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
}

.legal-summary h3 {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-summary p {
  color: var(--color-text-light);
  line-height: 1.75;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
  border-left: 4px solid var(--color-accent);
}

.legal-section p,
.legal-section li {
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ---------- UTILITY CLASSES ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-light); }
.text-dark { color: var(--color-dark); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.pt-page { padding-top: 120px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 70px;
  }

  .hero__content {
    margin-left: 4vw;
    max-width: 70%;
  }

  .hero__vertical-text {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-grid .footer__brand {
    grid-column: 1 / -1;
  }

  .login-split {
    grid-template-columns: 1fr;
  }

  .login-decorative {
    display: none;
  }

  .login-sidebar {
    max-width: 500px;
    margin: 0 auto;
    border-right: none;
    min-height: 100vh;
  }

  .comparison-table {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --grid-gap: 24px;
  }

  .hero__content {
    margin-left: 2rem;
    max-width: 90%;
  }

  .hero__masthead {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }

  .columns-2 {
    column-count: 1;
  }

  .transform-grid,
  .story-columns,
  .spotlight {
    grid-template-columns: 1fr;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 3rem 2rem;
  }

  .contact-form-panel {
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 3rem 2rem;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .step__number {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .team-roster {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .team-member__portrait {
    width: 90px;
    height: 90px;
  }

  /* Footer mobile accordion */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__col h4 {
    display: none;
  }

  .footer__col-toggle {
    display: block;
  }

  .footer__col ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .footer__col ul.expanded {
    max-height: 500px;
  }

  .footer__col.footer__brand h4 {
    display: block;
  }

  .footer__brand .footer__col-toggle {
    display: none;
  }

  .footer__brand ul {
    max-height: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-bottom a {
    margin-left: 0.75rem;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .advisor-login-link {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }

  .nav-overlay__links a {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    line-height: 1.6;
  }

  .footer-badges {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 48px;
  }

  .hero__content {
    margin-left: 1.5rem;
    max-width: 95%;
  }

  .team-roster {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-circle__ring {
    width: 110px;
    height: 110px;
  }

  .grid-classified {
    grid-template-columns: 1fr;
  }

  .persona-card {
    padding: 1.5rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}

/* ---------- PRINT ---------- */
@media print {
  .nav-header,
  .scroll-progress,
  .cookie-banner,
  .nav-overlay,
  .hamburger {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}