/* ==========================================================================
   RUPINDER KALSI — FINANCIAL ADVISOR
   Premium Design System & Bespoke Animations
   ========================================================================== */

:root {
  /* Color Palette - WCAG AA & AAA verified */
  --ink: #132a26;
  --ink-secondary: #243b37;
  --muted: #435b54;
  --muted-light: #526b63;
  
  --green: #143e3a;
  --green-hover: #1c524d;
  --green-deep: #0a2421;
  --green-tint: #eaf1ed;
  --green-accent: #143e3a;
  
  --gold: #bfa060;
  --gold-text: #826022;
  --gold-text-hover: #694c16;
  --gold-hover: #a88949;
  --gold-light: #f8f3e7;
  --gold-gradient: linear-gradient(135deg, #c9ad72 0%, #ab8b4b 100%);
  
  --cream: #f6f8f7;
  --cream-soft: #edf2f0;
  --cream-warm: #e3ebe8;
  --surface: #ffffff;
  
  --line: #d8e2de;
  --line-light: #e4ece9;
  
  /* Typography */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --heading-font: 'Manrope', var(--sans);
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 22px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  /* Transitions - Exponential smooth without bounce */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-base: 0.35s var(--ease-spring);
  --transition-slow: 0.7s var(--ease-spring);
  
  /* Header & Navigation Surfaces */
  --header-bg: rgba(250, 248, 243, 0.88);
  --header-bg-scrolled: rgba(250, 248, 243, 0.95);
  --header-border: rgba(227, 222, 210, 0.7);
  --mobile-nav-bg: rgba(250, 248, 243, 0.98);
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #091614;
    --cream-soft: #0e1e1b;
    --cream-warm: #142824;
    --surface: #122421;
    --ink: #f0f7f4;
    --ink-secondary: #cde0d9;
    --muted: #a0c2b7;
    --muted-light: #83a89d;
    --line: #1c3832;
    --line-light: #24463f;
    --green: #1b5247;
    --green-hover: #23695b;
    --green-deep: #081a17;
    --green-tint: rgba(77, 182, 162, 0.15);
    --green-accent: #6ee7c8;
    --gold: #dfc285;
    --gold-text: #dfc285;
    --gold-text-hover: #fae4ad;
    --gold-light: rgba(223, 194, 133, 0.12);
    --header-bg: rgba(9, 22, 20, 0.88);
    --header-bg-scrolled: rgba(9, 22, 20, 0.95);
    --header-border: rgba(28, 56, 50, 0.7);
    --mobile-nav-bg: rgba(14, 30, 27, 0.98);
  }
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100vw;
  width: 100%;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: #d8e5dc;
  color: var(--green-deep);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.35;
  margin-bottom: 12px;
}

h1 em, h2 em, h3 em, h4 em {
  font-family: inherit;
  font-style: normal;
  color: var(--gold-text);
  font-weight: inherit;
}

em {
  font-style: normal;
  color: var(--gold-text);
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  max-width: 50ch;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: fixed;
  left: 20px;
  top: -80px;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 20px;
}

/* Scroll Progress Bar at very top */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
  z-index: 100;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  height: 90px;
  padding: 0 max(5%, calc((100vw - 1380px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  z-index: 40;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  height: 74px;
  background: var(--header-bg-scrolled);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--heading-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink);
}

.monogram {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -2px;
}

.monogram span { color: var(--gold-text); }

.brand small { display: block; font-size: 12px; letter-spacing: 0.03em; font-weight: 600; color: var(--muted); margin-top: 2px; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-secondary);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-text);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-spring);
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--ink);
}

.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--green);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  box-shadow: 0 4px 14px rgba(10, 36, 33, 0.18);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--green-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 36, 33, 0.26);
}

.button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(10, 36, 33, 0.15);
}

.button span {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover span {
  transform: translate(3px, -2px);
}

.button.small {
  padding: 9px 18px;
  font-size: 12px;
  gap: 10px;
}

.button.outline {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-weight: 600;
}

.button.outline:hover {
  background: var(--cream-soft);
  border-color: var(--gold-text);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.button.gold {
  background-color: #dfc285;
  background-image: linear-gradient(135deg, #dfc285 0%, #ba954e 100%);
  color: #0c2621;
  font-weight: 650;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.button.gold:hover {
  background-color: #e4c990;
  background-image: linear-gradient(135deg, #e4c990 0%, #c6a258 100%);
  color: #0c2621;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 8px;
  background: var(--cream-soft);
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: none !important;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--mobile-nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 6% 32px;
  flex-direction: column;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
  z-index: 99;
  animation: slideDown 0.25s ease-out;
}

.mobile-nav.is-open {
  display: flex !important;
}

.mobile-nav[hidden],
.mobile-nav:not(.is-open) {
  display: none !important;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
}

.mobile-nav button {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

/* Eyebrow Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-text);
  margin-bottom: 16px;
}

.eyebrow .line { display: inline-block; width: 24px; height: 1.5px; background: var(--gold-text); border-radius: 2px; }

/* Sections Global */
.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 32px;
  position: relative;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(32px, 4vw, 52px);
  max-width: 1080px;
  margin-bottom: 36px;
}

.section-top > div {
  max-width: 580px;
}

.section-top h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.section-top > p {
  width: 100%;
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 5% 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: center;
  min-height: calc(88vh - 90px);
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 3px;
  color: var(--ink);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.text-link:hover {
  color: var(--gold-text);
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 540px;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
}

.hero-proof-item strong {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}

.hero-proof-item strong span {
  color: var(--gold-text);
}

.hero-proof-item span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow { display: none; }

@keyframes pulseGlow {
  0% { transform: scale(0.9) translate(-10px, -10px); opacity: 0.6; }
  100% { transform: scale(1.1) translate(10px, 10px); opacity: 0.9; }
}

.portrait-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  background-color: #0a2421;
  border-radius: 200px 200px var(--radius-md) var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--surface), var(--shadow-lg);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.portrait-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 4px var(--surface), var(--shadow-hover);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transition: transform 0.8s ease;
}

.portrait-frame:hover img {
  transform: scale(1.03);
}

.portrait-caption {
  margin-top: 18px;
  text-align: center;
}

.portrait-caption span {
  font-family: var(--serif);
  font-size: 24px;
  display: block;
  line-height: 1.2;
  color: var(--ink);
}

.portrait-caption small {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold-text);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.floating-care-badge {
  position: absolute;
  right: -24px;
  bottom: 64px;
  z-index: 3;
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 13px;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-care-badge svg {
  width: 30px;
  height: 30px;
  color: var(--gold-text);
  flex-shrink: 0;
}

.floating-care-badge span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.floating-care-badge strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* Values Strip / Ticker */
.values-strip {
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  overflow: hidden;
}

.values-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.values-strip-item i {
  color: var(--gold-text);
  font-style: normal;
  font-size: 16px;
}

/* ==========================================================================
   SERVICES SECTION (6 EXPANDED CARDS)
   ========================================================================== */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 30px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-text);
  box-shadow: var(--shadow-hover);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-light);
  letter-spacing: 0.02em;
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: 1px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-fast), transform var(--transition-fast);
}

.service-card:hover .service-icon svg {
  stroke: var(--gold);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 21px;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}

.service-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  flex-grow: 1;
  margin-top: 14px;
  margin-bottom: 24px;
  max-width: 62ch;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-accent);
  transition: color var(--transition-fast);
}

.service-card:hover .card-link {
  color: var(--gold-text);
}

.card-link b {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.service-card:hover .card-link b {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   LIFE STAGES & MILESTONES (NEW INTERACTIVE HUB)
   ========================================================================== */
.lifestages {
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lifestages-tabs {
  display: flex;
  background: var(--cream-soft);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  gap: 6px;
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lifestages-tabs::-webkit-scrollbar {
  display: none;
}

.stage-tab-btn {
  flex: 1;
  min-width: 170px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-secondary);
  text-align: center;
  white-space: nowrap;
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-tab-btn.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(10, 36, 33, 0.2);
}

.stage-tab-btn:hover:not(.active) {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.stage-tab-btn:active {
  transform: scale(0.98);
}

.stage-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.4s ease;
}

.stage-panel.active {
  display: grid;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.stage-panel-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
}

.stage-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.stage-panel:hover .stage-panel-media img {
  transform: scale(1.03);
}

.stage-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(20, 62, 58, 0.9);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.stage-panel-content h3 {
  font-size: 30px;
  margin-bottom: 14px;
}

.stage-panel-content .lead-text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 50ch;
}

.stage-checklist {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.stage-checklist li svg {
  width: 18px;
  height: 18px;
  color: var(--gold-text);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   ABOUT RUPINDER
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.about-visual {
  position: relative;
}

.about-image-card {
  position: relative;
}

.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--line);
}

.about-photo-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 50% 20%;
}

.about-stamp {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--surface);
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.1);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  z-index: 2;
}

.about-stamp em {
  font-size: 19px;
  display: block;
  color: var(--ink);
  font-style: italic;
  font-family: var(--serif);
  margin-top: 2px;
}

.about-copy h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.about-copy .lead {
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 16px;
  max-width: 50ch;
  line-height: 1.65;
}

.about-copy p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 50ch;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 36px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item strong {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--ink);
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.signature-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.signature-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--ink);
  line-height: 1.1;
}

.signature-role {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--gold-text);
  font-weight: 600;
}

/* ==========================================================================
   PHILOSOPHY PILLARS
   ========================================================================== */
.philosophy {
  background: var(--green-deep);
  color: #f5f4ed;
  padding: 100px 32px;
}

.philosophy-container {
  max-width: 1320px;
  margin: 0 auto;
}

.philosophy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-text);
  margin-bottom: 16px;
}

.philosophy h2 {
  color: #ffffff;
}

.philosophy .section-top > p {
  color: #b5c7bf;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.philosophy-card {
  background: #0f302b;
  border: 1px solid rgba(110, 231, 200, 0.16);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}

.philosophy-card:hover {
  transform: translateY(-6px);
  background: #133c36;
  border-color: var(--gold-text);
}

.pillar-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold-text);
  margin-bottom: 18px;
  display: block;
}

.philosophy-card h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #d6e5df;
  margin: 0;
  max-width: 60ch;
}

/* ==========================================================================
   APPROACH / CLIENT ROADMAP
   ========================================================================== */
.approach-section {
  background: var(--cream);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin: 40px 0;
}

.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.roadmap-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-text);
  box-shadow: var(--shadow-md);
}

.step-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-soft);
  color: var(--green-accent, var(--green));
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.roadmap-card:hover .step-indicator {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold-text);
}

.roadmap-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.roadmap-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}

.approach-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-top: 30px;
}

.approach-footer span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
}

/* ==========================================================================
   CLIENT TESTIMONIALS & REVIEWS SECTION
   ========================================================================== */
.testimonials-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  position: relative;
}

/* ==========================================================================
   CASE STUDIES / REAL-WORLD SCENARIOS
   ========================================================================== */
.cases-section {
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   FEATURED TESTIMONIAL REVIEW CAROUSEL
   ========================================================================== */
.testimonial-carousel-container {
  max-width: 640px;
  margin: 0 auto 12px;
  position: relative;
}

.testimonial-card-deck {
  position: relative;
  width: 100%;
}

.testimonial-card {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 32px 28px;
  box-shadow: 0 10px 32px -4px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: testFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes testFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.star-rating .stars {
  color: #f59e0b;
  font-size: 17px;
  letter-spacing: 2.5px;
  line-height: 1;
}

.rating-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.testimonial-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.review-tag {
  display: inline-block;
  padding: 5px 13px;
  background: #edf3ef;
  color: #243d35;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

.quote-glyph {
  color: rgba(28, 43, 37, 0.18);
  display: inline-flex;
  align-items: center;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 24px;
  font-family: var(--sans);
  font-weight: 400;
}

.testimonial-divider {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0 0 20px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream-soft);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.author-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.slide-counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-right: 4px;
}

/* Testimonial Navigation Controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.t-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.t-btn:hover {
  background: var(--cream-soft);
  border-color: var(--gold-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.t-btn:active {
  transform: scale(0.95);
}

.t-btn.t-playpause {
  width: 38px;
  height: 38px;
  color: var(--muted);
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

.t-btn.t-playpause:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}

.t-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d3d1;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.t-dot.active {
  width: 26px;
  border-radius: 4px;
  background: #18221f;
}

.cases-intro-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px auto 32px;
  position: relative;
  max-width: 640px;
}

.cases-intro-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.cases-intro-divider span {
  position: relative;
  background: var(--cream-soft);
  padding: 4px 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid var(--line-light);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.case-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--cream-soft);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-accent, var(--green));
  margin-bottom: 18px;
}

.case-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.case-block {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
}

.case-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.case-block strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.case-block p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}

.case-highlight {
  background: var(--gold-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(191, 160, 96, 0.4);
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}

/* ==========================================================================
   INTERACTIVE CLARITY CHECK (3-MINUTE QUIZ WIDGET)
   ========================================================================== */
.clarity-widget-container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.clarity-intro h3 {
  font-size: 28px;
  margin-bottom: 14px;
}

.clarity-intro p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 50ch;
}

.quiz-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.quiz-step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.quiz-progress-dots {
  display: flex;
  gap: 6px;
}

.quiz-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.3s ease;
}

.quiz-dot.active {
  background: var(--green);
}

.quiz-question-title {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 20px;
  color: var(--ink);
}

.quiz-options {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover {
  border-color: var(--gold-text);
  background: var(--gold-light);
}

.quiz-option-btn.selected {
  border-color: var(--green);
  background: var(--green-tint);
  font-weight: 600;
}

.quiz-option-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--muted-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-option-btn.selected .quiz-option-radio {
  border-color: var(--green);
  background: var(--green);
}

.quiz-option-btn.selected .quiz-option-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.quiz-nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Quiz Result Card */
.quiz-result-view {
  display: none;
  animation: fadeIn 0.4s ease;
}

.quiz-result-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.quiz-result-heading {
  font-size: 24px;
  margin-bottom: 12px;
}

.quiz-result-summary {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.quiz-talking-points {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.quiz-talking-points strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 8px;
}

.quiz-talking-points ul {
  padding-left: 20px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   INSIGHTS & DUAL CALCULATOR
   ========================================================================== */
.insights-section {
  background: var(--cream);
  padding: 100px 32px;
}

.insights-container {
  max-width: 1320px;
  margin: 0 auto;
}

#insights .section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  max-width: 100%;
  margin-bottom: 44px;
}

#insights .section-top > div {
  max-width: 600px;
  width: 100%;
}

#insights .section-top > p {
  max-width: 520px;
  width: 100%;
  margin-bottom: 4px;
}

.insights-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 36px;
  align-items: stretch;
}

.calculator-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: var(--gold-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 16px;
}

.calculator-sidebar h3 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--ink);
}

.sidebar-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.calc-key-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.calc-key-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.calc-key-icon {
  color: var(--gold-text);
  font-size: 14px;
  line-height: 1.4;
  flex-shrink: 0;
}

.calc-key-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

.calc-key-text span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}

.calc-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: auto;
}

.calc-disclaimer-box {
  background: var(--cream-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.calc-disclaimer-box strong {
  color: var(--ink-secondary);
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}

.calc-disclaimer-box span {
  font-size: 12px;
}

.calculator-sidebar .button {
  width: 100%;
  justify-content: center;
}

.calc-tabs-bar {
  display: flex;
  gap: 10px;
  background: var(--cream-soft);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.calc-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-secondary);
  background: transparent;
  border: 1.5px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.calc-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--cream-warm);
  color: var(--ink-secondary);
  line-height: 1;
  transition: all 0.2s ease;
}

.calc-tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--line-light);
}

.calc-tab-btn.active {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  font-weight: 650;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calc-tab-btn.active .calc-tab-badge {
  background: var(--green);
  color: #ffffff;
}

.calculator-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.calculator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.calculator-header span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.currency-select-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.currency-select-label select {
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 12px;
  font-weight: 600;
}

.calc-control {
  margin-bottom: 20px;
}

.calc-control-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
}

.calc-control-head output {
  font-weight: 700;
  color: var(--green-accent, var(--green));
  font-size: 14px;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--cream-warm);
  border-radius: 3px;
  outline: none;
  accent-color: var(--green);
  cursor: pointer;
}

.calc-result-box {
  margin-top: 28px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.calc-result-box span.metric-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--muted);
  display: block;
}

.calc-result-box strong.metric-value {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 6px 0 16px;
}

.result-breakdown-bar {
  height: 8px;
  background: var(--gold);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  margin-bottom: 16px;
}

.result-breakdown-bar span { background: var(--green); height: 100%; will-change: width; }

.calc-legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.calc-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.calc-legend-item.principal i {
  background: var(--green);
}

.calc-legend-item.growth i {
  background: var(--gold);
}

.calc-legend-item b {
  color: var(--ink);
}

/* ==========================================================================
   EDITORIAL PERSPECTIVES / ARTICLES
   ========================================================================== */
.articles-section {
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted-light);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.article-meta span.tag {
  background: var(--cream-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--green-accent, var(--green));
}

.article-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.35;
}

.article-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 22px;
  max-width: 62ch;
}

.read-article-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-text);
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
  transition: color var(--transition-fast);
}

.read-article-btn:hover {
  color: var(--gold-hover);
}

/* ==========================================================================
   FAQ SECTION WITH CATEGORY FILTER
   ========================================================================== */
.faq-section {
  background: var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 70px;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.faq-cat-btn {
  text-align: left;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.faq-cat-btn.active {
  background: var(--surface);
  color: var(--green-accent, var(--green));
  border-color: var(--line);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.faq-cat-btn:hover:not(.active) {
  color: var(--ink);
  background: var(--cream-soft);
}

.faq-list {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

details[open] {
  background: var(--cream-soft);
}

summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.45;
}

summary .faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

details[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

details p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 24px;
  max-width: 50ch;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.contact-banner {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: #ffffff;
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-banner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-text);
  margin-bottom: 16px;
}

.contact-banner h2 {
  color: #ffffff;
  font-size: clamp(34px, 3.8vw, 54px);
  max-width: 760px;
  margin: 0 auto 20px;
}

.contact-banner h2 em {
  color: #f3deaa;
}

.contact-banner p {
  color: #b5ccc2;
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 36px;
}

.contact-banner-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-banner .button.outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.contact-banner .button.outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.contact-watermark {
  position: absolute;
  right: -5%;
  bottom: -60px;
  font-family: var(--serif);
  font-size: 340px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  line-height: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 60px 5% 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  max-width: 280px;
}

.footer-links-group {
  display: flex;
  gap: 50px;
}

.footer-col strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--gold-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 16px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom button {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
}

.footer-bottom button:hover {
  color: var(--ink);
}

.compliance-notice {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-light);
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
  margin-top: 10px;
}

/* ==========================================================================
   DIALOGS / MODALS
   ========================================================================== */
dialog {
  border: none;
  background: var(--cream);
  color: var(--ink);
  width: min(620px, calc(100% - 36px));
  max-height: 90vh;
  max-height: 90dvh;
  padding: 44px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 28px -6px rgba(0, 0, 0, 0.22), 0 6px 12px -2px rgba(0, 0, 0, 0.1);
  margin: auto;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

dialog::backdrop {
  background: rgba(10, 36, 33, 0.7);
  backdrop-filter: blur(6px);
}

.close-dialog {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 26px;
  line-height: 1;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  color: var(--muted);
  transition: all var(--transition-fast);
}

.close-dialog:hover {
  background: var(--cream-soft);
  color: var(--ink);
}

/* ==========================================================================
   QUICK CONSULTATION BOOKING FORM (COMPACT & INSTANTLY FILLABLE)
   ========================================================================== */
.quick-booking-dialog {
  width: min(470px, calc(100% - 28px));
  padding: 32px 28px 24px;
  border-radius: 24px;
}

.quick-form-header {
  margin-bottom: 16px;
}

.quick-form-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-text);
  margin-bottom: 6px;
}

#booking-dialog h2 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--ink);
}

#booking-dialog .dialog-description {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0;
}

.quick-booking-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 14px;
}

.quick-booking-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-booking-form .form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.input-with-icon input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 42px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-with-icon input:focus {
  outline: none;
  border-color: var(--gold-text);
  box-shadow: 0 0 0 3px rgba(191, 160, 96, 0.2);
}

.quick-meeting-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pill-radio {
  display: block;
  cursor: pointer;
  margin: 0;
}

.pill-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s ease;
}

.pill-radio input:checked + span {
  background: #18221f;
  color: #ffffff;
  border-color: #18221f;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.quick-submit-btn {
  width: 100%;
  height: 48px;
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quick-form-trust {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.success-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-weight: bold;
}

.meeting-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.meeting-type-btn { padding: 12px 10px; min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-fast);
}

.meeting-type-btn.active {
  border-color: var(--green-accent, var(--green));
  background: var(--green-tint);
  font-weight: 600;
  color: var(--green-accent, var(--green));
}

form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink-secondary);
}

form label span {
  font-weight: 400;
  color: var(--muted);
}

form input, form select, form textarea {
  display: block;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  transition: border-color var(--transition-fast);
}

form input:focus, form select:focus, form textarea:focus {
  border-color: var(--gold-text);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.preview-note-box {
  padding: 14px 18px;
  background: var(--cream-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0 22px;
  border: 1px solid rgba(191, 160, 96, 0.4);
  max-width: 50ch;
}

/* Floating Back to Top with Scroll Progress */
.floating-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.floating-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-top-btn:hover {
  background: var(--cream-soft);
}

.floating-top-btn svg {
  width: 20px;
  height: 20px;
  color: var(--green-accent, var(--green));
}

/* ==========================================================================
   STICKY BOTTOM CONSULTATION BAR
   ========================================================================== */
.sticky-bottom-bar {
  display: none !important;
}

@media (max-width: 768px) {
  .sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 95;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    display: flex !important;
    justify-content: center;
  }

  body {
    padding-bottom: 72px;
  }

  body.modal-open .sticky-bottom-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
  }
}

.sticky-bottom-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 460px;
}

.sticky-email-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  color: var(--ink, #141c19);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.sticky-email-btn:hover {
  transform: translateY(-2px);
  background: var(--cream-soft, #f7f6f0);
  border-color: var(--gold-text, #bfa060);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sticky-email-btn:active {
  transform: scale(0.95);
}

.sticky-email-btn svg {
  width: 20px;
  height: 20px;
}

.sticky-consult-btn {
  flex: 1;
  height: 48px;
  border-radius: 9999px;
  background: #151d1a;
  color: #ffffff;
  border: none;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.sticky-consult-btn:hover {
  background: #080d0c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.sticky-consult-btn:active {
  transform: scale(0.98);
}

.sticky-consult-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (prefers-color-scheme: dark) {
  .sticky-bottom-bar {
    background: rgba(14, 30, 27, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  }

  .sticky-email-btn {
    background: #183832;
    border-color: rgba(255, 255, 255, 0.16);
    color: #f5f4ed;
  }

  .sticky-email-btn:hover {
    background: #1f453e;
  }

  .sticky-consult-btn {
    background: var(--gold, #d4af37);
    color: #0b1a17;
  }

  .sticky-consult-btn:hover {
    background: #e2c050;
  }

  .testimonials-section {
    background: #0d1e1a;
  }

  .testimonial-card {
    background: #112822;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 32px -4px rgba(0, 0, 0, 0.4);
  }

  .review-tag {
    background: #1c3b33;
    color: #b5c7bf;
  }

  .quote-glyph {
    color: rgba(255, 255, 255, 0.15);
  }

  .testimonial-divider {
    background: rgba(255, 255, 255, 0.1);
  }

  .t-btn {
    background: #142e27;
    border-color: rgba(255, 255, 255, 0.12);
    color: #f5f4ed;
  }

  .t-btn:hover {
    background: #1a3a32;
    border-color: var(--gold);
  }

  .t-dot {
    background: #39544c;
  }

  .t-dot.active {
    background: var(--gold, #d4af37);
  }

  .cases-intro-divider span {
    background: #0e201b;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .pill-radio input:checked + span {
    background: var(--gold, #d4af37);
    color: #0b1a17;
    border-color: var(--gold, #d4af37);
  }

  .success-icon-badge {
    background: #19382b;
    color: #4ade80;
  }
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEALS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* --- TABLETS & MEDIUM SCREENS (<= 1024px) --- */
@media (max-width: 1024px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 44px 5% 56px;
    gap: 36px;
    min-height: auto;
  }
  
  .hero-copy {
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gold-text);
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(34px, 6vw, 50px);
    line-height: 1.15;
    margin-bottom: 20px;
  }
  
  .hero-description {
    margin: 0 auto 26px;
    text-align: center;
    max-width: 520px;
    font-size: 16px;
  }
  
  .hero-actions {
    justify-content: center;
    width: 100%;
    margin-bottom: 32px;
    gap: 18px;
  }

  .hero-proof-grid {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .hero-proof-item {
    align-items: center;
  }

  .hero-proof-item strong {
    font-size: 28px;
  }

  .hero-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }

  .portrait-container {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .portrait-frame {
    width: 100%;
    max-width: 340px;
    height: 410px;
    border-radius: 170px 170px var(--radius-md) var(--radius-md);
    margin: 0 auto;
  }

  .portrait-caption {
    margin-top: 14px;
    text-align: center;
  }

  .portrait-caption span {
    font-size: 22px;
  }

  .portrait-caption small {
    font-size: 12.5px;
  }

  .floating-care-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 14px auto 0;
    width: calc(100% - 20px);
    max-width: 300px;
    z-index: 4;
    background: var(--surface);
    box-shadow: 0 8px 20px -2px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--line);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    animation: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 12px;
  }

  .floating-care-badge svg {
    width: 28px;
    height: 28px;
  }

  .floating-care-badge span {
    font-size: 12px;
    line-height: 1.45;
  }

  .services-grid, 
  .philosophy-grid, 
  .cases-grid, 
  .articles-grid, 
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .about {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-visual {
    max-width: 440px;
    margin: 0 auto;
  }
  
  .about-photo-wrapper img {
    height: 440px;
  }
  
  .clarity-widget-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }
  
  .insights-wrapper, 
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .insights-wrapper > *,
  .faq-layout > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

/* --- SMALL TABLETS & LARGE PHONES (<= 768px) --- */
@media (max-width: 768px) {
  .header {
    height: 76px;
    padding: 0 5%;
  }

  .header.scrolled {
    height: 66px;
  }

  .desktop-nav, 
  .header-cta {
    display: none !important;
  }
  
  .menu-button {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  .monogram {
    font-size: 34px;
  }

  .brand {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  
  .mobile-nav {
    display: none !important;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px 6% 32px;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }

  .mobile-nav.is-open {
    display: flex !important;
  }

  .mobile-nav[hidden],
  .mobile-nav:not(.is-open) {
    display: none !important;
  }

  .mobile-nav a {
    font-size: 15px;
    padding: 10px 0;
    color: var(--ink);
    font-weight: 550;
  }

  .mobile-nav button {
    margin-top: 14px;
    min-height: 48px;
    font-size: 13.5px;
  }

  .section {
    padding: 48px 20px;
  }

  .section-top,
  #insights .section-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .section-top > div,
  #insights .section-top > div {
    width: 100%;
    max-width: 100%;
  }

  .section-top h2 {
    font-size: clamp(26px, 5.5vw, 36px);
    margin-bottom: 0;
  }

  .section-top > p,
  #insights .section-top > p {
    flex: initial;
    width: 100%;
    max-width: 100%;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 0;
  }

  .values-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 16px;
    background: var(--cream-soft);
  }

  .values-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .values-strip-item i {
    display: inline-block;
    color: var(--gold-text);
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0;
  }

  .values-strip-item:last-child {
    grid-column: auto;
  }

  .lifestages-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    overflow-x: visible;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  }

  .stage-tab-btn {
    min-width: 0;
    width: 100%;
    padding: 14px 12px;
    font-size: 12.5px;
    font-weight: 550;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    border-radius: var(--radius-sm);
    flex: none;
    background: var(--surface);
    color: var(--ink);
    border: 1.5px solid var(--line);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .stage-tab-btn:hover:not(.active) {
    background: var(--cream-soft);
    border-color: var(--gold-text);
    color: var(--ink);
  }

  .stage-tab-btn.active {
    background: var(--green);
    color: #ffffff;
    border-color: var(--green);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(10, 36, 33, 0.25);
    transform: translateY(-1px);
  }

  .stage-tab-btn:active {
    transform: scale(0.97);
  }

  .stage-panel {
    grid-template-columns: 1fr;
    padding: 30px 22px;
    gap: 24px;
  }
  
  .stage-panel-media {
    height: 220px;
  }

  .stage-panel-content h3 {
    font-size: 24px;
  }

  .approach-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
    padding: 20px;
  }

  .approach-footer .button {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    width: 100%;
  }

  .footer-links-group .footer-col:last-child {
    grid-column: 1 / -1;
  }

  dialog {
    width: calc(100% - 24px);
    max-width: 500px;
    padding: 32px 20px 28px;
    border-radius: var(--radius-md);
  }

  .quick-booking-dialog {
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .quick-booking-dialog h2 {
    font-size: 22px;
  }

  dialog h2 {
    font-size: 28px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .meeting-type-selector {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .testimonial-card {
    padding: 24px 20px 20px;
    border-radius: 22px;
  }

  .testimonial-quote {
    font-size: 14.5px;
    line-height: 1.62;
    margin-bottom: 20px;
  }

  .author-avatar {
    width: 46px;
    height: 46px;
  }

  .author-name {
    font-size: 16px;
  }

  .author-meta {
    font-size: 11.5px;
  }

  .t-btn {
    width: 40px;
    height: 40px;
  }

  .cases-intro-divider {
    margin: 36px auto 24px;
  }

  .meeting-type-btn {
    min-height: 42px;
    font-size: 13px;
  }
}

/* --- STANDARD SMARTPHONES (<= 640px) --- */
@media (max-width: 640px) {
  .section {
    padding: 38px 18px;
  }

  .section-top,
  #insights .section-top {
    gap: 10px;
    margin-bottom: 20px;
  }

  .section-top > p,
  #insights .section-top > p {
    font-size: 14px;
    line-height: 1.55;
  }

  .hero {
    padding: 32px 18px 46px;
    gap: 32px;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gold-text);
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 340px;
    margin: 0 auto 28px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    font-size: 13px;
  }

  .hero-actions .text-link {
    justify-content: center;
    align-self: center;
    padding: 6px 0;
  }

  .hero-proof-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
    padding-top: 18px;
  }

  .hero-proof-item strong {
    font-size: 24px;
  }

  .hero-proof-item span {
    font-size: 12px;
    line-height: 1.35;
  }

  .portrait-container {
    max-width: 300px;
  }

  .portrait-frame {
    max-width: 300px;
    height: 360px;
    border-radius: 150px 150px var(--radius-md) var(--radius-md);
  }

  .portrait-caption {
    margin-top: 14px;
    text-align: center;
  }

  .portrait-caption span {
    font-size: 22px;
  }

  .portrait-caption small {
    font-size: 12.5px;
  }

  .floating-care-badge {
    margin: 14px auto 0;
    max-width: 275px;
    padding: 11px 14px;
  }

  .floating-care-badge svg {
    width: 24px;
    height: 24px;
  }

  .floating-care-badge span {
    font-size: 12px;
    line-height: 1.45;
  }

  .services-grid, 
  .philosophy-grid, 
  .cases-grid, 
  .articles-grid, 
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 26px 20px 20px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .about-photo-wrapper img {
    height: 340px;
  }

  .about-stamp {
    position: relative;
    bottom: auto;
    left: auto;
    margin: -16px auto 0;
    width: 92%;
    max-width: 300px;
    padding: 14px 18px;
    font-size: 12.5px;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .about-stamp em {
    font-size: 17px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 0;
    margin: 24px 0 0;
  }

  .stat-item strong {
    font-size: 28px;
  }

  .stat-item span {
    font-size: 12px;
  }

  .clarity-widget-container {
    padding: 20px 16px;
    margin-top: 24px;
    border-radius: var(--radius-md);
  }

  .clarity-intro h3 {
    font-size: 22px;
  }

  .clarity-intro p {
    font-size: 13px;
    line-height: 1.6;
  }

  .quiz-card {
    padding: 20px 16px;
    border-radius: var(--radius-sm);
  }

  .quiz-question-title {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .quiz-options {
    gap: 8px;
    margin-bottom: 20px;
  }

  .quiz-option-btn {
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.45;
  }

  .quiz-nav-actions {
    gap: 10px;
  }

  .quiz-nav-actions button {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }

  .calculator-sidebar,
  .calculator-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .calculator-sidebar h3 {
    font-size: 22px;
  }

  .calc-tabs-bar {
    flex-direction: column;
    gap: 10px;
    padding: 8px;
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
  }

  .calc-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    background: var(--surface);
    border: 1.5px solid var(--line);
    color: var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    min-height: 48px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .calc-tab-btn.active {
    background: var(--green);
    color: #ffffff;
    border-color: var(--green);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(10, 36, 33, 0.2);
  }

  .calc-tab-btn.active .calc-tab-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .calc-tab-btn:active {
    transform: scale(0.98);
  }

  .calc-control-head {
    font-size: 12px;
  }

  .calc-control-head output {
    font-size: 13px;
  }

  form input, 
  form select, 
  form textarea,
  .currency-select-label select {
    font-size: 16px !important;
  }

  input[type="range"] {
    height: 8px;
    margin: 10px 0;
  }

  .calc-result-box {
    padding: 18px 14px;
    margin-top: 20px;
  }

  .calc-result-box strong.metric-value {
    font-size: clamp(26px, 7vw, 34px);
    margin: 6px 0 12px;
  }

  .calc-legend {
    flex-direction: column;
    gap: 10px;
    font-size: 12.5px;
  }

  .calc-legend-item {
    justify-content: space-between;
    width: 100%;
  }

  .faq-layout,
  .insights-wrapper {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .faq-layout > *,
  .insights-wrapper > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .faq-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 18px;
    max-width: 100%;
    width: 100%;
  }

  .faq-categories::-webkit-scrollbar {
    display: none;
  }

  .faq-cat-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 12.5px;
    font-weight: 550;
    white-space: nowrap;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    cursor: pointer;
  }

  .faq-cat-btn.active {
    background: var(--green);
    color: #ffffff;
    border-color: var(--green);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(10, 36, 33, 0.2);
  }

  .faq-list {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  details {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  summary {
    font-size: 14.5px;
    padding: 18px 4px 18px 0;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .faq-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.45;
    padding-right: 4px;
  }

  summary .faq-icon {
    width: 22px;
    height: 22px;
    font-size: 14px;
    flex-shrink: 0;
  }

  details p {
    font-size: 13px;
    padding-bottom: 18px;
    padding-right: 14px;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
  }

  .contact-banner {
    padding: 56px 6%;
  }

  .contact-banner h2 {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .contact-banner p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .contact-banner-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-banner-actions .button {
    width: 100%;
    justify-content: center;
    min-height: 50px;
  }

  .contact-watermark {
    display: none;
  }

  .floating-top-btn {
    display: none !important;
  }
}

/* --- ULTRA COMPACT SCREENS (<= 380px, e.g. iPhone SE) --- */
@media (max-width: 380px) {
  .section {
    padding: 32px 14px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  .hero-proof-item {
    border: 1px solid var(--line);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .portrait-container {
    max-width: 260px;
  }

  .portrait-frame {
    height: 310px;
    max-width: 260px;
  }

  .floating-care-badge {
    max-width: 240px;
    padding: 10px 12px;
  }

  .lifestages-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
  }

  .stage-tab-btn {
    font-size: 12.5px;
    padding: 11px 6px;
    line-height: 1.35;
  }

  .stage-panel {
    padding: 20px 14px;
  }

  .stage-panel-media {
    height: 180px;
  }

  dialog {
    padding: 24px 14px;
    width: calc(100% - 16px);
  }

  .calculator-card {
    padding: 16px 12px;
  }

  .floating-top-btn {
    display: none !important;
  }

  .sticky-consult-btn {
    padding: 0 14px;
    font-size: 13.5px;
    gap: 8px;
  }

  .sticky-email-btn {
    width: 44px;
    height: 44px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.2s ease !important;
  }

  .button, a, input, select, textarea, button {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important;
    transform: none !important;
  }
}






/* Step Badge Layout */
.step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-text);
  margin-bottom: 12px;
}