/* ============================================================
   VIREON CAPITAL — Page-specific layouts
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 2rem + 3vw, 5rem));
  padding-bottom: clamp(3rem, 2.5rem + 3vw, 6rem);
  background: var(--hero-grad);
  color: #E7EEF9;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero .eyebrow { color: var(--emerald-400); }
.hero h1 {
  font-size: var(--step-hero);
  color: #fff;
  margin: 1.1rem 0 1.25rem;
  letter-spacing: -0.03em;
}
.hero h1 .accent-text {
  background: linear-gradient(120deg, #4fd8a0, #6b9bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: var(--step-lede);
  color: rgba(231,238,249,0.82);
  line-height: 1.55;
  max-width: 52ch;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 2.25rem;
}
.hero__trust { margin-top: 0.5rem; }

/* Hero visual — dashboard mock */
.hero__visual { position: relative; }
.hero-dash {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.hero-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.hero-dash__title { font-size: var(--step-xs); color: rgba(231,238,249,0.7); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-dash__badge {
  font-size: var(--step-xs);
  font-weight: 600;
  color: var(--emerald-400);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-dash__value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.hero-dash__sub { font-size: var(--step-xs); color: rgba(231,238,249,0.6); margin-bottom: 1.25rem; }
.hero-dash__chart { width: 100%; height: 120px; }
.hero-dash__legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-dash__legend-item { flex: 1; }
.hero-dash__legend-item span { display: block; font-size: 0.7rem; color: rgba(231,238,249,0.55); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-dash__legend-item strong { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }

.hero-chip {
  position: absolute;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--step-xs);
  font-weight: 600;
}
.hero-chip svg { width: 20px; height: 20px; }
.hero-chip__icon { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; }
.hero-chip--1 { top: -18px; left: -26px; animation: float-a 6s var(--ease-in-out) infinite; }
.hero-chip--1 .hero-chip__icon { background: rgba(15,169,104,0.15); color: var(--emerald-500); }
.hero-chip--2 { bottom: -20px; right: -18px; animation: float-b 7s var(--ease-in-out) infinite; }
.hero-chip--2 .hero-chip__icon { background: rgba(30,79,216,0.15); color: var(--royal-600); }
.hero-chip small { display: block; font-weight: 500; color: var(--text-muted); font-size: 0.68rem; }

@keyframes float-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-chip--1, .hero-chip--2 { animation: none; }
}

/* Page hero (interior pages) */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 2rem + 3vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
  background: var(--hero-grad);
  color: #E7EEF9;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--emerald-400); }
.page-hero h1 { font-size: var(--step-h1); color: #fff; margin: 1rem 0 1rem; max-width: 18ch; }
.page-hero p { font-size: var(--step-lede); color: rgba(231,238,249,0.8); max-width: 60ch; line-height: 1.55; }
.breadcrumb { display: flex; gap: 0.4rem; align-items: center; font-size: var(--step-xs); color: rgba(231,238,249,0.6); margin-bottom: 0.5rem; }
.breadcrumb a { color: rgba(231,238,249,0.75); }
.breadcrumb a:hover { color: var(--emerald-400); }
.breadcrumb svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.6; }

/* ---------- Partners strip ---------- */
.partners { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--border); }
.partners__label { text-align: center; font-size: var(--step-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}
.partner-logo {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  opacity: 0.65;
  filter: grayscale(1);
  transition: opacity var(--dur-fast) var(--ease-out);
}
.partner-logo:hover { opacity: 1; }
.partner-logo svg { width: 26px; height: 26px; }

/* ---------- Investment plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
/* subtle gradient edge highlight (premium depth) */
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.5), rgba(255,255,255,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
[data-theme="dark"] .plan-card::before { background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 42%); }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Alternating surface system — rotating tints so no two adjacent cards match.
   Cycle of 4: neutral -> royal tint -> emerald/teal tint -> deeper navy tint. */
.plans-grid .plan-card:nth-child(4n+1) { background: var(--surface); }
.plans-grid .plan-card:nth-child(4n+2) {
  background: linear-gradient(165deg, rgba(30,79,216,0.07), var(--surface) 62%);
}
.plans-grid .plan-card:nth-child(4n+3) {
  background: linear-gradient(165deg, rgba(15,169,104,0.08), var(--surface) 62%);
}
.plans-grid .plan-card:nth-child(4n+4) {
  background: linear-gradient(165deg, rgba(20,37,66,0.06), var(--surface) 60%);
}
[data-theme="dark"] .plans-grid .plan-card:nth-child(4n+1) { background: var(--surface); }
[data-theme="dark"] .plans-grid .plan-card:nth-child(4n+2) { background: linear-gradient(165deg, rgba(30,79,216,0.16), var(--surface) 60%); }
[data-theme="dark"] .plans-grid .plan-card:nth-child(4n+3) { background: linear-gradient(165deg, rgba(15,169,104,0.15), var(--surface) 60%); }
[data-theme="dark"] .plans-grid .plan-card:nth-child(4n+4) { background: linear-gradient(165deg, rgba(91,130,240,0.12), var(--surface) 58%); }

/* Featured plan keeps its own emphasis regardless of position */
.plan-card--featured {
  border-color: rgba(15,169,104,0.45);
  box-shadow: 0 24px 48px -18px rgba(15,169,104,0.4), var(--shadow-md);
}
.plans-grid .plan-card--featured {
  background: linear-gradient(165deg, rgba(15,169,104,0.14), var(--surface) 58%) !important;
}
[data-theme="dark"] .plans-grid .plan-card--featured {
  background: linear-gradient(165deg, rgba(15,169,104,0.22), var(--surface) 55%) !important;
}
@media (prefers-reduced-motion: reduce) {
  .plan-card:hover { transform: none; }
}
.plan-card__head { margin-bottom: 1.25rem; }
.plan-card__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.plan-card__desc { font-size: var(--step-sm); color: var(--text-soft); line-height: 1.55; }
.plan-card__meta { display: grid; gap: 0.9rem; padding: 1.25rem 0; border-block: 1px solid var(--border); margin-bottom: 1.25rem; }
.plan-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plan-meta-row dt { font-size: var(--step-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.plan-meta-row dd { font-family: var(--font-display); font-weight: 600; font-size: var(--step-sm); color: var(--text); text-align: right; }
.plan-card__benefits { list-style: none; margin-bottom: 1.5rem; display: grid; gap: 0.65rem; }
.plan-card__benefits li { display: flex; gap: 0.6rem; font-size: var(--step-sm); color: var(--text-soft); }
.plan-card__benefits svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.plan-card__foot { margin-top: auto; }
.plan-card__consult {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step-xs);
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.plan-card__consult svg { width: 14px; height: 14px; color: var(--royal-600); }
.plan-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
.step {
  position: relative;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.step__num::before {
  content: "";
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, rgba(30,79,216,0.12), rgba(15,169,104,0.12));
  display: grid; place-items: center;
}
.step__icon {
  position: absolute;
  top: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  left: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--accent);
}
.step__icon svg { width: 20px; height: 20px; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: var(--step-sm); color: var(--text-soft); line-height: 1.55; }
.step__connector {
  position: absolute;
  top: 50%; right: -0.75rem;
  width: 1.5rem; height: 2px;
  z-index: 2;
  color: var(--border-strong);
}
.step:last-child .step__connector { display: none; }

/* ---------- Stats counters ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.stat__value .suffix { color: var(--emerald-400); }
.stat__label { margin-top: 0.6rem; font-size: var(--step-sm); color: rgba(231,238,249,0.7); }
.stat__note { font-size: var(--step-xs); color: rgba(231,238,249,0.4); margin-top: 0.25rem; }

/* ---------- About: mission/vision, values, timeline, meaning ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}
.split__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-800), var(--royal-600));
  position: relative;
}
.media-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.5);
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(15,169,104,0.35), transparent 55%),
    linear-gradient(145deg, var(--navy-800), var(--royal-600));
  text-align: center;
  padding: 1rem;
}
.media-placeholder svg { width: 48px; height: 48px; margin-bottom: 0.5rem; }
.media-placeholder span { font-size: var(--step-xs); letter-spacing: 0.06em; }

.mv-card { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); height: 100%; }
.mv-card__icon { width: 48px; height: 48px; border-radius: var(--r-md); background: linear-gradient(145deg, rgba(30,79,216,0.12), rgba(15,169,104,0.12)); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.25rem; }
.mv-card__icon svg { width: 24px; height: 24px; }
.mv-card h3 { font-size: var(--step-h3); margin-bottom: 0.75rem; }
.mv-card p { color: var(--text-soft); font-size: var(--step-sm); }

/* Meaning of Vireon — signature section */
.meaning {
  background: var(--navy-900);
  color: #E7EEF9;
  position: relative;
  overflow: hidden;
}
.meaning::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 50% 0%, rgba(30,79,216,0.25), transparent 60%);
  pointer-events: none;
}
.meaning__inner { position: relative; text-align: center; max-width: 860px; margin-inline: auto; }
.meaning h2 { color: #fff; font-size: var(--step-h2); margin: 1rem 0 1.5rem; }
.meaning__roots {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.5rem 0;
}
.root-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
}
.root-card__word { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--emerald-400); letter-spacing: -0.01em; }
.root-card__gloss { font-size: var(--step-xs); text-transform: uppercase; letter-spacing: 0.1em; color: rgba(231,238,249,0.55); margin-top: 0.4rem; }
.root-card__meaning { font-size: var(--step-sm); color: rgba(231,238,249,0.82); margin-top: 0.75rem; line-height: 1.5; }
.meaning__plus { font-family: var(--font-display); font-size: 1.75rem; color: rgba(231,238,249,0.4); font-weight: 300; }
.meaning__statement { font-size: var(--step-lede); color: #fff; line-height: 1.55; max-width: 46ch; margin: 0 auto; }
.meaning__statement strong { color: var(--emerald-400); font-weight: 600; }
.meaning__short {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(231,238,249,0.7);
}

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.value-card { padding: 1.75rem 1.5rem; }
.value-card__num { font-family: var(--font-display); font-size: 0.8rem; color: var(--accent); font-weight: 700; letter-spacing: 0.08em; }
.value-card h3 { font-size: 1.15rem; margin: 0.75rem 0 0.5rem; }
.value-card p { font-size: var(--step-sm); color: var(--text-soft); }

/* Timeline */
.timeline { position: relative; max-width: 780px; margin-inline: auto; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--royal-500), var(--emerald-500));
}
.timeline__item { position: relative; padding-bottom: 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -2rem; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline__year { font-family: var(--font-display); font-weight: 700; color: var(--royal-600); font-size: var(--step-sm); }
[data-theme="dark"] .timeline__year { color: var(--royal-400); }
.timeline__item h3 { font-size: 1.15rem; margin: 0.35rem 0 0.4rem; }
.timeline__item p { font-size: var(--step-sm); color: var(--text-soft); max-width: 56ch; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  width: 100%;
}
.team-card__photo {
  aspect-ratio: 4 / 5;
  position: relative;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(30,79,216,0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-700));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.team-card__monogram {
  width: 84px; height: 84px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: rgba(255,255,255,0.8);
}
.team-card__ph-note {
  position: absolute;
  bottom: 0.75rem; left: 0.75rem; right: 0.75rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  color: rgba(255,255,255,0.5);
  background: rgba(10,22,40,0.55);
  border-radius: var(--r-sm);
  padding: 0.3rem;
}
.team-card__body { padding: 1.25rem; }
.team-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-card__role { font-size: var(--step-sm); color: var(--royal-600); font-weight: 600; margin-bottom: 0.6rem; }
[data-theme="dark"] .team-card__role { color: var(--royal-400); }
.team-card__email { font-size: var(--step-xs); color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem; }
.team-card__email svg { width: 14px; height: 14px; }
.team-card__view {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: var(--step-xs);
  font-weight: 600;
  color: var(--accent);
}
.team-card__view svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease-out); }
.team-card:hover .team-card__view svg { transform: translateX(3px); }

/* Team modal content */
.team-modal__head { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; padding-right: 2.5rem; }
.team-modal__avatar {
  width: 76px; height: 76px;
  border-radius: var(--r-lg);
  flex-shrink: 0;
  background: linear-gradient(160deg, var(--navy-800), var(--royal-600));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem;
  color: #fff;
}
.team-modal__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.team-modal__role { color: var(--royal-600); font-weight: 600; font-size: var(--step-sm); }
[data-theme="dark"] .team-modal__role { color: var(--royal-400); }
.team-modal__section { margin-bottom: 1.5rem; }
.team-modal__section h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.team-modal__section p { font-size: var(--step-sm); color: var(--text-soft); line-height: 1.6; }
.team-modal__achievements { display: grid; gap: 0.6rem; }
.team-modal__achievements li { display: flex; gap: 0.6rem; font-size: var(--step-sm); color: var(--text-soft); }
.team-modal__achievements svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.tpl-hint {
  display: inline-block;
  font-size: var(--step-xs);
  color: var(--text-muted);
  font-style: italic;
  background: var(--surface-inset);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
  padding: 0.15rem 0.5rem;
}

/* ---------- Team photos (added via data-photo) ---------- */
.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.testimonial__quote-mark {
  display: block;
  height: 2rem;
  line-height: 1;
  margin: 0 0 0.5rem;
  color: var(--accent);
  opacity: 0.4;
}
.testimonial__quote-mark svg {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  margin: 0 auto;
}
.testimonial__text { font-size: var(--step-lede); line-height: 1.6; color: var(--text); margin: 1rem 0 1.75rem; font-weight: 500; }
.testimonial__stars { display: flex; gap: 0.2rem; justify-content: center; margin-bottom: 1.25rem; color: #E0A215; }
.testimonial__stars svg { width: 18px; height: 18px; }
.testimonial__author { display: flex; align-items: center; justify-content: center; gap: 0.85rem; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: var(--r-pill); background: linear-gradient(160deg, var(--navy-800), var(--royal-600)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.testimonial__name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-sm); }
.testimonial__meta { font-size: var(--step-xs); color: var(--text-muted); }
.testimonial--placeholder { border-style: dashed; border-color: var(--border-strong); background: var(--surface-inset); }
.testimonial--placeholder .testimonial__text { color: var(--text-muted); font-style: italic; font-weight: 400; }

/* ---------- Blog ---------- */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.blog-search { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.blog-search input { width: 100%; padding-left: 2.6rem; }
.blog-search svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); }
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-cat {
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  font-size: var(--step-xs);
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-soft);
  background: var(--surface);
  transition: all var(--dur-fast) var(--ease-out);
}
.blog-cat:hover { border-color: var(--accent); color: var(--accent); }
.blog-cat.is-active { background: var(--accent); color: #04160E; border-color: var(--accent); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; }
.blog-card__media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.blog-card__media .media-placeholder { border-radius: 0; }
.blog-card__cat {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__date { font-size: var(--step-xs); color: var(--text-muted); margin-bottom: 0.6rem; }
.blog-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.65rem; }
.blog-card__excerpt { font-size: var(--step-sm); color: var(--text-soft); line-height: 1.55; margin-bottom: 1.25rem; flex: 1; }
.blog-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; }
.blog-card__more { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-size: var(--step-xs); font-weight: 600; color: var(--accent); }
.blog-card__more svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease-out); }
.blog-card:hover .blog-card__more svg { transform: translateX(3px); }
.blog-card--featured { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .blog-card--featured { display: grid; grid-template-columns: 1.2fr 1fr; }
  .blog-card--featured .blog-card__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .blog-card--featured .blog-card__title { font-size: 1.6rem; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--hero-grad);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: var(--step-h2); max-width: 20ch; margin: 0.75rem auto 1rem; }
.cta-band p { color: rgba(231,238,249,0.82); max-width: 52ch; margin: 0 auto 2rem; font-size: var(--step-lede); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.cta-band .micro-note { color: rgba(231,238,249,0.6); margin-top: 1.5rem; }
.cta-band .micro-note svg { color: var(--emerald-400); }

/* ---------- How it works (concierge flow) ---------- */
.flow { display: grid; gap: 1.25rem; max-width: 780px; margin-inline: auto; }
.flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  align-items: start;
}
.flow__badge {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, var(--royal-600), var(--emerald-500));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.flow__step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.flow__step p { font-size: var(--step-sm); color: var(--text-soft); }
.flow__arrow { text-align: center; color: var(--border-strong); }
.flow__arrow svg { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
.contact-info__item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.contact-info__item:last-child { border-bottom: none; }
.contact-info__icon { width: 44px; height: 44px; border-radius: var(--r-md); background: linear-gradient(145deg, rgba(30,79,216,0.12), rgba(15,169,104,0.12)); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.contact-info__icon svg { width: 21px; height: 21px; }
.contact-info__label { font-size: var(--step-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-info__value { font-family: var(--font-display); font-weight: 600; font-size: var(--step-sm); color: var(--text); }
.contact-info__value a { color: var(--text); }
.contact-info__value a:hover { color: var(--accent); }
.map-placeholder {
  margin-top: 1.5rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 12px, var(--surface-inset) 12px, var(--surface-inset) 24px);
  display: grid; place-items: center;
  color: var(--text-muted);
  text-align: center;
}
.map-placeholder svg { width: 34px; height: 34px; margin-bottom: 0.5rem; }
.map-placeholder span { font-size: var(--step-xs); }

/* ---------- Thank you ---------- */
.thankyou {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem;
  background: var(--hero-grad);
  color: #fff;
  text-align: center;
}
.thankyou__inner { max-width: 560px; }
.check-anim {
  width: 96px; height: 96px;
  margin: 0 auto 1.75rem;
}
.check-anim circle { stroke: var(--emerald-400); stroke-width: 4; fill: none; stroke-dasharray: 276; stroke-dashoffset: 276; animation: draw-circle 0.7s var(--ease-out) forwards; }
.check-anim path { stroke: var(--emerald-400); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-check 0.4s var(--ease-out) 0.6s forwards; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .check-anim circle, .check-anim path { animation: none; stroke-dashoffset: 0; }
}
.thankyou h1 { color: #fff; font-size: var(--step-h1); margin-bottom: 1rem; }
.thankyou p { color: rgba(231,238,249,0.82); font-size: var(--step-lede); margin-bottom: 0.75rem; }
.thankyou__note { font-size: var(--step-sm); color: rgba(231,238,249,0.6); margin-bottom: 2rem; }
.thankyou__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.legal-toc h4 { font-family: var(--font-display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; }
.legal-toc a { display: block; padding: 0.4rem 0; font-size: var(--step-sm); color: var(--text-soft); border-left: 2px solid var(--border); padding-left: 0.85rem; transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--accent); border-color: var(--accent); }
.legal-content { max-width: 68ch; }
.legal-content h2 { font-size: var(--step-h3); margin: 2.5rem 0 1rem; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.legal-content p, .legal-content li { color: var(--text-soft); font-size: var(--step-body); margin-bottom: 1rem; line-height: 1.7; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 0.5rem; }
.legal-content strong { color: var(--text); }
.legal-updated { font-size: var(--step-sm); color: var(--text-muted); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.callout {
  background: var(--surface-inset);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout p { margin-bottom: 0; font-size: var(--step-sm); }
.callout strong { color: var(--text); }
.tpl-slot {
  background: rgba(224, 162, 21, 0.08);
  border: 1px dashed rgba(224, 162, 21, 0.5);
  border-radius: var(--r-sm);
  padding: 0.1rem 0.4rem;
  color: var(--risk-medium);
  font-weight: 600;
  font-size: 0.95em;
}

/* ---------- Risk disclaimer strip ---------- */
.risk-strip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
}
.risk-strip svg { width: 24px; height: 24px; color: var(--risk-medium); flex-shrink: 0; margin-top: 2px; }
.risk-strip p { font-size: var(--step-sm); color: var(--text-soft); line-height: 1.6; }
.risk-strip strong { color: var(--text); }

/* ---------- Newsletter block ---------- */
.newsletter-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.newsletter-block h2 { font-size: var(--step-h3); margin-bottom: 0.75rem; }
.newsletter-block p { color: var(--text-soft); font-size: var(--step-sm); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; order: -1; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step__connector { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .meaning__roots { grid-template-columns: 1fr; }
  .meaning__plus { transform: rotate(90deg); }
  .flow__step { grid-template-columns: auto 1fr; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 1.5rem; }
  .footer__col { border-top: 1px solid rgba(255,255,255,0.08); }
  .footer__brand { border-top: none; padding-bottom: 1.5rem; }
  .footer__col-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .footer__col h4 { display: none; }
  .footer__col-toggle .accordion__icon { color: #7C8AA3; }
  .footer__col-content {
    overflow: hidden;
    height: 0;
    transition: height var(--dur-mid) var(--ease-out);
  }
  .footer__col-content-inner { padding-bottom: 1.25rem; }
  .mobile-cta-bar { display: flex; }
  /* Reserve space so page content is never hidden behind the fixed CTA bar */
  body { padding-bottom: calc(4.8rem + env(safe-area-inset-bottom)); }
  /* Lift floating buttons clearly ABOVE the CTA bar so they don't overlap it */
  .float-stack { bottom: calc(5.6rem + env(safe-area-inset-bottom)); }
  .hero__ctas .btn { flex: 1; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-search { max-width: none; }
  .testimonial__text { font-size: var(--step-body); }
}

/* Ensure footer accordion open on desktop regardless of JS */
@media (min-width: 641px) {
  .footer__col-content { height: auto !important; }
}

/* ---------- Long-Term Growth Insight ---------- */
.growth-insight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 3rem);
  position: relative;
  overflow: hidden;
}
.growth-insight::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(90% 80% at 100% 0%, rgba(15,169,104,0.08), transparent 70%);
  pointer-events: none;
}
.growth-insight__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 1.4rem + 2vw, 3.5rem);
  align-items: center;
  position: relative;
}
.growth-insight__points { display: grid; gap: 1rem; margin: 1.5rem 0; }
.growth-insight__point { display: flex; gap: 0.7rem; align-items: flex-start; }
.growth-insight__point svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.growth-insight__point span { font-size: var(--step-sm); color: var(--text-soft); line-height: 1.5; }
.growth-insight__point strong { color: var(--text); font-weight: 600; }

.growth-chart {
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.growth-chart__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem;
}
.growth-chart__title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-sm); color: var(--text); }
.growth-chart__badge {
  font-size: var(--step-xs); font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(15,169,104,0.1); padding: 0.25rem 0.6rem; border-radius: var(--r-pill);
}
.growth-chart__svg { width: 100%; height: auto; display: block; }

/* animated draw-in on reveal */
.growth-line {
  fill: none;
  stroke: var(--emerald-500);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}
.growth-insight.is-visible .growth-line { stroke-dashoffset: 0; }
.growth-area { fill: url(#growthFill); opacity: 0; transition: opacity 1.2s var(--ease-out) 0.5s; }
.growth-insight.is-visible .growth-area { opacity: 1; }
.growth-dot { opacity: 0; transition: opacity 0.4s var(--ease-out); }
.growth-insight.is-visible .growth-dot { opacity: 1; }
.growth-insight.is-visible .growth-dot--end { transition-delay: 1.6s; }
.growth-insight.is-visible .growth-dot--start { transition-delay: 0.3s; }
.growth-chart__axis { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 3 3; }
.growth-chart__label { font-size: 10px; fill: var(--text-muted); font-family: var(--font-body); }
.growth-chart__footnote {
  font-size: var(--step-xs); color: var(--text-muted);
  margin-top: 1rem; display: flex; gap: 0.4rem; align-items: flex-start;
}
.growth-chart__footnote svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--risk-medium); }
@media (prefers-reduced-motion: reduce) {
  .growth-line { stroke-dashoffset: 0; transition: none; }
  .growth-area, .growth-dot { opacity: 1; transition: none; }
}
@media (max-width: 820px) {
  .growth-insight__grid { grid-template-columns: 1fr; }
}

/* ---------- Live map embed (replaces placeholder) ---------- */
.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  height: 100%;
}
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 320px; }

/* Office/company imagery */
.split__media .media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
  min-height: 320px;
}

/* Blog post banner images */
.blog-card__media { position: relative; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 12 / 5; }
.blog-card--featured .blog-card__img { aspect-ratio: 12 / 4.5; }
@media (max-width: 640px) { .blog-card__img { aspect-ratio: 12 / 6; } }

/* ---------- Mobile overflow safeguards ---------- */
.contact-grid > * { min-width: 0; }           /* let grid children shrink below content size */
.map-embed, .map-embed iframe { max-width: 100%; }
.contact-info__value { word-break: break-word; overflow-wrap: anywhere; }  /* long emails/phones wrap */

/* ---------- Very small screens (<=360px) fine-tuning ---------- */
@media (max-width: 360px) {
  .plans-grid .plan-card { width: 100%; }
  .hero-chip { display: none; }          /* floating decorative chips off on tiny screens */
  .container { overflow: hidden; }
}

/* ---------- Small-screen card padding fix ----------
   On narrow phones the large card padding left inputs spilling past the
   card edge. Tighten inner padding so fields sit fully inside. */
@media (max-width: 480px) {
  .contact-grid .card,
  .newsletter-block {
    padding: 1.5rem !important;
  }
  .field { min-width: 0; }
  .field input,
  .field select,
  .field textarea,
  .newsletter-form input {
    max-width: 100%;
    width: 100%;
  }
}
