/* ==========================================================================
   FinoviaPulse — Design System
   Financial coaching & education platform
   Palette: Deep Emerald · Warm Coral · Soft Sand · Cream White · Dark Slate
   ========================================================================== */

:root {
  /* Brand palette */
  --emerald-900: #06251C;
  --emerald-800: #093528;
  --emerald-700: #0C4A3A;
  --emerald-600: #0E5C48;
  --emerald-500: #1B7A5F;
  --coral-600: #E4573D;
  --coral-500: #F0684E;
  --coral-400: #F98A73;
  --coral-100: #FBE4DC;
  --sand-300: #E7DCC7;
  --sand-200: #EFE7D6;
  --cream: #FBF8F1;
  --cream-dim: #F5F0E5;
  --slate-900: #1A2321;
  --slate-700: #24302E;
  --slate-500: #4B5A57;
  --slate-400: #6B7A76;

  /* Semantic */
  --bg: var(--cream);
  --text: var(--slate-700);
  --muted: var(--slate-500);
  --heading: var(--emerald-800);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(9, 53, 40, 0.06);
  --shadow: 0 18px 45px -20px rgba(9, 53, 40, 0.30);
  --shadow-lg: 0 40px 80px -35px rgba(6, 37, 28, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--coral-500);
  border-radius: 2px;
}
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--coral-500);
  border-radius: 2px;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 640px; }
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--coral-500);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(228, 87, 61, 0.7);
}
.btn--primary:hover { background: var(--coral-600); transform: translateY(-3px); }
.btn--ghost {
  background: transparent;
  color: var(--emerald-800);
  border: 1.5px solid rgba(12, 74, 58, 0.28);
}
.btn--ghost:hover { border-color: var(--emerald-700); background: rgba(12, 74, 58, 0.05); transform: translateY(-3px); }
.btn--light {
  background: var(--cream);
  color: var(--emerald-800);
}
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--on-dark.btn--ghost { color: var(--cream); border-color: rgba(251, 248, 241, 0.35); }
.btn--on-dark.btn--ghost:hover { background: rgba(251, 248, 241, 0.1); border-color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: rgba(12, 74, 58, 0.10);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--emerald-800);
  letter-spacing: -0.02em;
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand strong { font-weight: 600; }
.brand span { color: var(--coral-500); }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
}
.nav__links a {
  position: relative;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--slate-700);
  padding-block: 0.4rem;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--coral-500);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--emerald-800); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--emerald-800); }
.nav__cta { display: inline-flex; }
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  color: var(--emerald-800);
}
.nav__toggle svg { width: 26px; height: 26px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--emerald-900);
  color: rgba(251, 248, 241, 0.72);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand .brand { color: var(--cream); }
.footer__brand p { margin-top: 1.1rem; max-width: 32ch; font-size: 0.95rem; }
.footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer__links li { margin-bottom: 0.7rem; }
.footer__links a { transition: color 0.25s var(--ease); font-size: 0.95rem; }
.footer__links a:hover { color: var(--coral-400); }
.footer__socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer__socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(251, 248, 241, 0.08);
  color: var(--cream);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__socials a:hover { background: var(--coral-500); transform: translateY(-3px); }
.footer__socials svg { width: 19px; height: 19px; }
.footer__bottom {
  border-top: 1px solid rgba(251, 248, 241, 0.12);
  padding-block: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer__bottom a:hover { color: var(--coral-400); }
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(251, 248, 241, 0.72); transition: color 0.25s var(--ease); }
.footer__legal button {
  color: rgba(251, 248, 241, 0.72);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.footer__legal button:hover { color: var(--coral-400); }

/* ==========================================================================
   HERO (Homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(6, 37, 28, 0.92) 0%, rgba(9, 53, 40, 0.78) 45%, rgba(6, 37, 28, 0.35) 100%);
}
.hero__inner { max-width: 720px; padding-block: clamp(5rem, 12vw, 8rem); }
.hero .eyebrow { color: var(--coral-400); }
.hero .eyebrow::before { background: var(--coral-400); }
.hero__title {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.03;
  margin-top: 1.4rem;
  letter-spacing: -0.02em;
}
.hero__title em { font-style: italic; color: var(--coral-400); }
.hero__text {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(251, 248, 241, 0.86);
  max-width: 54ch;
}
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(251, 248, 241, 0.7);
}
.hero__scroll span {
  width: 26px; height: 42px;
  border: 2px solid rgba(251, 248, 241, 0.4);
  border-radius: 14px;
  position: relative;
}
.hero__scroll span::after {
  content: "";
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--coral-400);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}

/* Trust strip */
.trust-strip {
  background: var(--emerald-800);
  color: rgba(251, 248, 241, 0.8);
  padding-block: 1.4rem;
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-strip p { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.trust-strip ul { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.trust-strip li { font-family: var(--font-display); font-size: 1.15rem; color: var(--cream); }

/* ==========================================================================
   FEATURE CARDS ("De ce FinoviaPulse?")
   ========================================================================== */
.why { background: var(--cream); }
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}
.feature-card {
  background: #fff;
  border: 1px solid rgba(12, 74, 58, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--emerald-500), var(--coral-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--sand-200);
  color: var(--emerald-700);
  margin-bottom: 1.5rem;
}
.feature-card__icon svg { width: 30px; height: 30px; }
.feature-card:nth-child(2) .feature-card__icon { background: var(--coral-100); color: var(--coral-600); }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.feature-card p { color: var(--muted); font-size: 0.98rem; }
.feature-card__num {
  position: absolute; top: 1.5rem; right: 1.7rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(12, 74, 58, 0.08);
}

/* ==========================================================================
   EDUCATION SPLIT (image + text)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.split__badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--emerald-800);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  box-shadow: var(--shadow-lg);
  max-width: 230px;
}
.split__badge strong { font-family: var(--font-display); font-size: 2rem; display: block; color: var(--coral-400); }
.split__badge span { font-size: 0.85rem; color: rgba(251, 248, 241, 0.82); }
.split__media--right .split__badge { left: auto; right: -24px; }
.split__list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.split__list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.split__list .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--coral-100); color: var(--coral-600);
  display: grid; place-items: center; margin-top: 2px;
}
.split__list .check svg { width: 15px; height: 15px; }
.split__list strong { color: var(--emerald-800); display: block; font-family: var(--font-body); }
.split__list p { color: var(--muted); font-size: 0.94rem; }
.split .btn { margin-top: 2rem; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  background:
    radial-gradient(140% 120% at 80% 0%, var(--emerald-600) 0%, var(--emerald-800) 55%, var(--emerald-900) 100%);
  color: var(--cream);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: center; position: relative; padding: 1rem; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute; right: -1rem; top: 20%; bottom: 20%;
  width: 1px; background: rgba(251, 248, 241, 0.14);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--coral-400);
  line-height: 1;
}
.stat__label { margin-top: 0.7rem; font-size: 0.92rem; color: rgba(251, 248, 241, 0.8); }

/* ==========================================================================
   QUOTE
   ========================================================================== */
.quote { background: var(--sand-200); }
.quote__inner { max-width: 900px; margin-inline: auto; text-align: center; position: relative; }
.quote__mark {
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.6;
  color: var(--coral-500);
  opacity: 0.5;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  line-height: 1.28;
  color: var(--emerald-800);
  margin-top: 1rem;
  font-weight: 400;
}
.quote figcaption { margin-top: 1.8rem; font-weight: 600; color: var(--slate-700); }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   INSIGHTS / ARTICLE CARDS
   ========================================================================== */
.insights__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cards-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}
.article-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(12, 74, 58, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__body { padding: 1.7rem; display: flex; flex-direction: column; flex: 1; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-600);
  background: var(--coral-100);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  align-self: flex-start;
}
.article-card h3 { font-size: 1.3rem; margin-top: 0.9rem; line-height: 1.2; }
.article-card p { color: var(--muted); font-size: 0.95rem; margin-top: 0.7rem; flex: 1; }
.article-card__meta {
  margin-top: 1.2rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; color: var(--slate-400);
}
.article-card__link {
  margin-top: 1.1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--emerald-700);
  font-size: 0.92rem;
}
.article-card__link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.article-card:hover .article-card__link svg { transform: translateX(4px); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { padding-block: clamp(4rem, 8vw, 6rem); }
.cta-banner__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(120deg, rgba(6, 37, 28, 0.94), rgba(12, 74, 58, 0.82)),
    var(--cta-img, none);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  text-align: center;
}
.cta-banner__inner::before {
  content: "";
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,104,78,0.5), transparent 70%);
  top: -120px; right: -80px;
}
.cta-banner h2 { color: var(--cream); font-size: clamp(2rem, 4.5vw, 3rem); max-width: 20ch; margin-inline: auto; position: relative; }
.cta-banner p { margin-top: 1.2rem; color: rgba(251,248,241,0.85); max-width: 52ch; margin-inline: auto; position: relative; }
.cta-banner .btn { margin-top: 2rem; position: relative; }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  color: var(--cream);
  padding-block: clamp(5.5rem, 12vw, 8.5rem);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6,37,28,0.93) 10%, rgba(9,53,40,0.72) 70%, rgba(6,37,28,0.5));
}
.page-hero__inner { max-width: 680px; }
.page-hero .eyebrow { color: var(--coral-400); }
.page-hero .eyebrow::before { background: var(--coral-400); }
.page-hero h1 { color: var(--cream); font-size: clamp(2.4rem, 5.5vw, 4rem); margin-top: 1.2rem; }
.page-hero p { margin-top: 1.3rem; color: rgba(251,248,241,0.86); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 52ch; }
.breadcrumbs { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: rgba(251,248,241,0.7); margin-bottom: 0.5rem; }
.breadcrumbs a:hover { color: var(--coral-400); }
.breadcrumbs span { opacity: 0.6; }

/* ==========================================================================
   ABOUT — mission/vision, values, timeline, team
   ========================================================================== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.mv-card {
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  position: relative;
  overflow: hidden;
}
.mv-card--mission { background: var(--emerald-800); color: var(--cream); }
.mv-card--vision { background: #fff; border: 1px solid rgba(12,74,58,0.1); }
.mv-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.4rem; }
.mv-card--mission .mv-card__icon { background: rgba(251,248,241,0.12); color: var(--coral-400); }
.mv-card--vision .mv-card__icon { background: var(--sand-200); color: var(--emerald-700); }
.mv-card__icon svg { width: 28px; height: 28px; }
.mv-card--mission h3 { color: var(--cream); }
.mv-card h3 { font-size: 1.7rem; margin-bottom: 0.9rem; }
.mv-card--mission p { color: rgba(251,248,241,0.85); }
.mv-card--vision p { color: var(--muted); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.value {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.7rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(12,74,58,0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.value__icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--sand-200); color: var(--emerald-700);
  display: grid; place-items: center;
}
.value__icon svg { width: 24px; height: 24px; }
.value h4 { font-family: var(--font-body); font-weight: 600; color: var(--emerald-800); font-size: 1.08rem; margin-bottom: 0.35rem; }
.value p { font-size: 0.92rem; color: var(--muted); }

/* Timeline */
.timeline { margin-top: 3rem; position: relative; max-width: 820px; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--emerald-500), var(--coral-400));
}
.timeline__step { display: flex; gap: 1.8rem; padding-bottom: 2.6rem; position: relative; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__dot {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--emerald-500);
  color: var(--emerald-700);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  z-index: 1;
}
.timeline__step:nth-child(even) .timeline__dot { border-color: var(--coral-500); color: var(--coral-600); }
.timeline__body h4 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.timeline__body p { color: var(--muted); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 3rem; }
.team-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(12,74,58,0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-card__media { aspect-ratio: 1 / 1; overflow: hidden; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.team-card:hover .team-card__media img { transform: scale(1.05); }
.team-card__body { padding: 1.6rem; }
.team-card h4 { font-size: 1.3rem; }
.team-card .role { color: var(--coral-600); font-weight: 600; font-size: 0.88rem; margin-top: 0.2rem; }
.team-card p { color: var(--muted); font-size: 0.93rem; margin-top: 0.8rem; }
.team-card__socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.team-card__socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sand-200); color: var(--emerald-700);
  display: grid; place-items: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.team-card__socials a:hover { background: var(--emerald-700); color: var(--cream); }
.team-card__socials svg { width: 16px; height: 16px; }

/* ==========================================================================
   ANALIZE — analysis blocks
   ========================================================================== */
.analysis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.analysis:not(:last-child) { border-bottom: 1px solid rgba(12,74,58,0.10); }
.analysis--reverse .analysis__media { order: 2; }
.analysis__media img {
  width: 100%; border-radius: var(--radius-lg);
  aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow);
}
.analysis__tag { margin-bottom: 1rem; }
.analysis h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.analysis__body > p { color: var(--muted); }
.analysis__tips {
  margin-top: 1.6rem;
  background: var(--sand-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
}
.analysis__tips h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald-700); margin-bottom: 0.9rem; }
.analysis__tips li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.6rem; font-size: 0.95rem; }
.analysis__tips li:last-child { margin-bottom: 0; }
.analysis__tips .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--coral-500); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.analysis__tips .dot svg { width: 12px; height: 12px; }
.callout {
  margin-top: 1.6rem;
  border-left: 4px solid var(--coral-500);
  background: #fff;
  padding: 1.3rem 1.6rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.callout p { font-family: var(--font-display); font-size: 1.15rem; color: var(--emerald-800); font-style: italic; }
.takeaways {
  margin-top: 1.6rem;
  display: grid; gap: 0.7rem;
}
.takeaways h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 0.3rem; }
.takeaways li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.takeaways .check { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--emerald-700); color: var(--cream); display: grid; place-items: center; margin-top: 2px; }
.takeaways .check svg { width: 13px; height: 13px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.contact-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2.2rem;
  border: 1px solid rgba(12,74,58,0.08);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--sand-200); color: var(--emerald-700);
  display: grid; place-items: center; margin: 0 auto 1.3rem;
}
.contact-card__icon svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); font-size: 0.95rem; }
.contact-card a { color: var(--emerald-700); font-weight: 600; }
.contact-card a:hover { color: var(--coral-600); }

.office {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem);
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(12,74,58,0.08);
  margin-top: 3rem;
}
.office__media { height: 100%; min-height: 340px; }
.office__media img { width: 100%; height: 100%; object-fit: cover; }
.office__body { padding: clamp(2rem, 4vw, 3.2rem); }
.office__body h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1.2rem; }
.office__row { display: flex; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid rgba(12,74,58,0.08); }
.office__row:last-of-type { border-bottom: none; }
.office__row .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sand-200); color: var(--emerald-700); display: grid; place-items: center; }
.office__row .ic svg { width: 22px; height: 22px; }
.office__row strong { display: block; color: var(--emerald-800); }
.office__row span { color: var(--muted); font-size: 0.94rem; }
.office__socials { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.office__socials a {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--emerald-800); color: var(--cream);
  display: grid; place-items: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.office__socials a:hover { background: var(--coral-500); transform: translateY(-3px); }
.office__socials svg { width: 19px; height: 19px; }

/* ==========================================================================
   LEARNING PILLARS (topic grid)
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.pillar {
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  padding: 1.9rem;
  background: #fff;
  border: 1px solid rgba(12,74,58,0.08);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.pillar__icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--sand-200); color: var(--emerald-700);
  display: grid; place-items: center;
}
.pillar:nth-child(odd) .pillar__icon { background: var(--coral-100); color: var(--coral-600); }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.pillar p { color: var(--muted); font-size: 0.95rem; }
.pillar__meta { margin-top: 0.8rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--emerald-600); }

/* ==========================================================================
   PROSE / RICH TEXT (educational content blocks & legal pages)
   ========================================================================== */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.3rem; margin-top: 2rem; color: var(--emerald-700); }
.prose p { color: var(--slate-700); }
.prose ul { display: grid; gap: 0.7rem; }
.prose ul li { position: relative; padding-left: 1.7rem; color: var(--slate-700); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral-500);
}
.prose strong { color: var(--emerald-800); }
.prose a { color: var(--emerald-600); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--coral-600); }
.prose .updated { font-size: 0.9rem; color: var(--muted); font-style: italic; }
.legal-toc {
  background: #fff;
  border: 1px solid rgba(12,74,58,0.1);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-bottom: 2.4rem;
}
.legal-toc h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 0.9rem; }
.legal-toc ol { list-style: decimal; padding-left: 1.2rem; display: grid; gap: 0.5rem; color: var(--emerald-700); }
.legal-toc a { color: var(--emerald-700); }
.legal-toc a:hover { color: var(--coral-600); text-decoration: underline; }

.info-callout {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--sand-200);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-top: 1.6rem;
}
.info-callout .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--emerald-700); color: var(--cream); display: grid; place-items: center; }
.info-callout .ic svg { width: 22px; height: 22px; }
.info-callout p { font-size: 0.95rem; color: var(--slate-700); margin: 0; }

/* ==========================================================================
   FAQ (native accordion)
   ========================================================================== */
.faq { max-width: 820px; margin: 3rem auto 0; }
.faq__item {
  background: #fff;
  border: 1px solid rgba(12,74,58,0.1);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: rgba(240,104,78,0.4); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--emerald-800);
  font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .chev {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sand-200); color: var(--emerald-700);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq__item summary .chev svg { width: 16px; height: 16px; }
.faq__item[open] summary .chev { transform: rotate(180deg); background: var(--coral-500); color: #fff; }
.faq__item .faq__answer { padding: 0 1.6rem 1.5rem; color: var(--muted); }
.faq__item .faq__answer p + p { margin-top: 0.8rem; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie {
  position: fixed;
  bottom: 1.2rem; left: 50%;
  transform: translate(-50%, 160%);
  z-index: 200;
  width: min(680px, calc(100% - 2rem));
  background: var(--emerald-900);
  color: rgba(251,248,241,0.85);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  transition: transform 0.5s var(--ease);
}
.cookie.is-visible { transform: translate(-50%, 0); }
.cookie__text { flex: 1; min-width: 240px; font-size: 0.9rem; }
.cookie__text strong { color: var(--cream); display: block; margin-bottom: 0.2rem; font-family: var(--font-display); font-size: 1.05rem; }
.cookie__text a { color: var(--coral-400); text-decoration: underline; }
.cookie__actions { display: flex; gap: 0.7rem; }
.cookie .btn { padding: 0.7rem 1.3rem; font-size: 0.9rem; }
.cookie .btn--decline {
  background: transparent; color: rgba(251,248,241,0.8); border: 1.5px solid rgba(251,248,241,0.25);
}
.cookie .btn--decline:hover { border-color: var(--cream); color: var(--cream); }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll span::after { animation: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .cards-3, .cards-articles, .values-grid, .team-grid, .contact-cards, .pillars { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .stat:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* The header keeps only brand + burger below this width — the horizontal
     nav (brand + 4 links + CTA) needs more room than a tablet offers.
     The CTA is intentionally omitted on mobile/tablet — all destinations
     already live in the dropdown links. */
  .nav__cta { display: none; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav { position: relative; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 78px;
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--cream);
    padding: 0.8rem var(--gutter) 1.4rem;
    border-bottom: 1px solid rgba(12,74,58,0.12);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav.is-open .nav__links a {
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(12,74,58,0.07);
  }
  .nav.is-open .nav__links li:last-child a { border-bottom: none; }
  .nav.is-open .nav__links a::after { display: none; }

  .split, .split--reverse .split__media,
  .analysis, .analysis--reverse .analysis__media,
  .mv-grid, .office { grid-template-columns: 1fr; }
  .split--reverse .split__media, .analysis--reverse .analysis__media { order: 0; }
  .split__media { order: -1; }
  .analysis__media { order: -1; margin-bottom: 0.5rem; }
  .office { display: block; }
  .office__media { min-height: 260px; }
  .split__badge, .split__media--right .split__badge { left: 1rem; right: auto; bottom: 1rem; }
  .cards-3, .cards-articles, .values-grid, .team-grid, .contact-cards, .pillars { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .insights__head { flex-direction: column; align-items: flex-start; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 460px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat::after { display: none !important; }
  .trust-strip__inner { justify-content: center; text-align: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}
