/* ApexFinova — Financial Education Platform
   Palette: Deep Plum, Warm Terracotta, Champagne Gold, Light Ivory, Dark Charcoal */

:root {
  --plum: #3D1E3A;
  --plum-dark: #281327;
  --plum-light: #5A2E55;
  --terracotta: #C26A4A;
  --terracotta-light: #D88766;
  --terracotta-soft: #E8B59C;
  --gold: #C9A66B;
  --gold-light: #DBC093;
  --gold-soft: #EFE2C8;
  --ivory: #FAF6EE;
  --ivory-warm: #F2EBDD;
  --ivory-deep: #ECE3D0;
  --charcoal: #1F1B19;
  --charcoal-soft: #3A3531;
  --text: #2C2826;
  --text-muted: #6B6560;
  --line: rgba(61, 30, 58, 0.12);
  --shadow-sm: 0 2px 10px rgba(31, 27, 25, 0.06);
  --shadow-md: 0 10px 30px rgba(61, 30, 58, 0.10);
  --shadow-lg: 0 20px 60px rgba(61, 30, 58, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --serif: "Playfair Display", "DM Serif Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--plum); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); margin-bottom: 0.6rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 0.4rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }

p { color: var(--text); margin-bottom: 1rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 38px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 1.5px;
  background: var(--terracotta);
}

.eyebrow.center { padding-left: 0; }
.eyebrow.center::before { display: none; }

/* ============== HEADER ============== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--plum); }
.brand svg { width: 38px; height: 38px; }
.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--charcoal-soft);
  font-weight: 500;
  font-size: 0.96rem;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--plum);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--plum);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--plum);
  transition: transform 0.2s;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--plum);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--terracotta);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--plum);
  border: 1.5px solid var(--plum);
}
.btn-secondary:hover {
  background: var(--plum);
  color: var(--ivory);
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(201, 166, 107, 0.18), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(194, 106, 74, 0.10), transparent 55%),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-warm) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.4rem;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.4rem; }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--plum);
  display: block;
  line-height: 1.1;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.hero-visual {
  position: relative;
}
.hero-visual .img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual .float-card {
  position: absolute;
  background: var(--ivory);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-visual .float-card.tl {
  top: 30px;
  left: -30px;
}
.hero-visual .float-card.br {
  bottom: 40px;
  right: -25px;
}
.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  font-size: 1.3rem;
}
.float-icon.t { background: var(--terracotta-soft); color: var(--terracotta); }
.float-card .ft { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--plum); display: block; line-height: 1.1; }
.float-card .fl { font-size: 0.78rem; color: var(--text-muted); }

/* ============== SECTIONS ============== */
.section {
  padding: 100px 0;
}
.section.tight { padding: 70px 0; }
.section-ivory { background: var(--ivory-warm); }
.section-plum {
  background: var(--plum);
  color: var(--ivory);
}
.section-plum h1, .section-plum h2, .section-plum h3, .section-plum h4 { color: var(--ivory); }
.section-plum p { color: rgba(250, 246, 238, 0.85); }

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin-top: 14px; }

/* ============== GRIDS / CARDS ============== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.benefit-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-soft), var(--ivory-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--plum);
}
.benefit-icon svg { width: 28px; height: 28px; }

.benefit-card h3 { color: var(--plum); margin-bottom: 12px; }
.benefit-card p { font-size: 0.97rem; color: var(--text-muted); margin-bottom: 0; }

/* ============== EDUCATION BLOCKS ============== */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.edu-grid.reverse .edu-text { order: 2; }

.edu-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4;
}
.edu-img img { width: 100%; height: 100%; object-fit: cover; }

.edu-list { list-style: none; margin-top: 1.6rem; }
.edu-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.edu-list li:last-child { border-bottom: none; }
.edu-list .num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.edu-list strong { color: var(--plum); display: block; margin-bottom: 4px; }
.edu-list span { font-size: 0.94rem; color: var(--text-muted); }

/* ============== QUOTE ============== */
.quote-block {
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: "“";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 18rem;
  color: rgba(201, 166, 107, 0.12);
  line-height: 1;
  pointer-events: none;
}
.quote-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.quote-content blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: italic;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: 1.6rem;
}
.quote-attr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}
.quote-attr::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

/* ============== INFO STRIPS ============== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.25s ease;
}
.pillar:hover {
  background: var(--plum);
  border-color: var(--plum);
  transform: translateY(-4px);
}
.pillar:hover h4, .pillar:hover p, .pillar:hover .p-num { color: var(--ivory); }
.pillar:hover .p-num { color: var(--gold); }
.p-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--terracotta);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
  transition: color 0.25s;
}
.pillar h4 { color: var(--plum); margin-bottom: 10px; transition: color 0.25s; }
.pillar p { font-size: 0.9rem; color: var(--text-muted); margin: 0; transition: color 0.25s; }

/* ============== ABOUT ============== */
.about-hero {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 166, 107, 0.15), transparent 50%),
    var(--ivory);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: linear-gradient(180deg, var(--ivory), var(--ivory-warm));
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border-top: 3px solid var(--terracotta);
  transition: transform 0.3s ease;
}
.value-card:nth-child(2) { border-top-color: var(--gold); }
.value-card:nth-child(3) { border-top-color: var(--plum); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card h3 { color: var(--plum); margin-bottom: 14px; }
.value-card p { font-size: 0.97rem; color: var(--text-muted); margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  background: var(--ivory);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 26px 28px 30px; }
.team-info h3 { color: var(--plum); margin-bottom: 6px; }
.team-role {
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-info p { font-size: 0.94rem; color: var(--text-muted); margin: 0; }

/* ============== METHODOLOGY ============== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.method-step {
  background: rgba(250, 246, 238, 0.06);
  border: 1px solid rgba(250, 246, 238, 0.14);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  transition: all 0.3s;
}
.method-step:hover {
  background: rgba(201, 166, 107, 0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.method-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 18px;
  opacity: 0.85;
}
.method-step h3 { color: var(--ivory); margin-bottom: 10px; font-size: 1.18rem; }
.method-step p { font-size: 0.92rem; color: rgba(250, 246, 238, 0.78); margin: 0; }

/* ============== ANALIZE ============== */
.article {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.article:last-of-type { border-bottom: none; }

.article-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}
.article-head.reverse .article-head-text { order: 2; }
.article-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-md);
}
.article-img img { width: 100%; height: 100%; object-fit: cover; }

.article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.tag {
  background: var(--gold-soft);
  color: var(--plum);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.article-body { max-width: 900px; margin: 0 auto; }
.article-body p { font-size: 1.02rem; color: var(--text); line-height: 1.8; margin-bottom: 1.2rem; }
.article-body h3 {
  color: var(--plum);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 20px;
  border-left: 4px solid var(--terracotta);
}

.tips-box {
  background: linear-gradient(135deg, var(--ivory-warm), var(--gold-soft));
  border-radius: var(--radius-md);
  padding: 36px 38px;
  margin: 2.4rem 0;
  border-left: 5px solid var(--terracotta);
}
.tips-box h4 {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tips-box ul { list-style: none; }
.tips-box li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.98rem;
}
.tips-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--terracotta);
  color: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.example-box {
  background: var(--plum);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 36px 38px;
  margin: 2.4rem 0;
}
.example-box h4 {
  font-family: var(--sans);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.example-box p { color: rgba(250, 246, 238, 0.92); margin-bottom: 0; }
.example-box strong { color: var(--gold-light); }

.budget-table {
  background: var(--ivory);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.budget-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  padding: 16px 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.budget-row:last-child { border-bottom: none; }
.budget-row.header {
  background: var(--plum);
  color: var(--ivory);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.budget-row .pct {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--terracotta);
}
.budget-row.header .pct { color: var(--gold); font-size: 0.85rem; font-family: var(--sans); }
.budget-row .amt {
  font-weight: 600;
  color: var(--plum);
}
.budget-row.header .amt { color: var(--ivory); font-weight: 600; }

/* ============== CONTACT ============== */
.contact-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at 90% 30%, rgba(201, 166, 107, 0.18), transparent 50%),
    var(--ivory);
  text-align: center;
}
.contact-hero p { max-width: 640px; margin: 18px auto 0; color: var(--text-muted); font-size: 1.08rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}
.contact-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--terracotta-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
}
.contact-icon svg { width: 28px; height: 28px; }
.contact-card h3 { color: var(--plum); margin-bottom: 8px; font-size: 1.15rem; }
.contact-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.contact-card a {
  display: inline-block;
  color: var(--terracotta);
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
}
.contact-card a:hover { border-color: var(--terracotta); }

.social-section {
  background: var(--plum);
  padding: 80px 0;
  text-align: center;
  color: var(--ivory);
}
.social-section h2 { color: var(--ivory); margin-bottom: 14px; }
.social-section p { color: rgba(250, 246, 238, 0.82); max-width: 580px; margin: 0 auto 40px; }
.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.social-link {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(250, 246, 238, 0.08);
  border: 1px solid rgba(250, 246, 238, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  transition: all 0.3s;
}
.social-link:hover {
  background: var(--gold);
  color: var(--plum);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.social-link svg { width: 24px; height: 24px; }

.hours-block {
  background: var(--ivory-warm);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  max-width: 720px;
  margin: 0 auto;
}
.hours-block h3 { color: var(--plum); text-align: center; margin-bottom: 24px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--text); font-weight: 500; }
.hours-row span:last-child { color: var(--text-muted); }

/* ============== LEGAL PAGES ============== */
.legal-hero {
  padding: 70px 0 40px;
  background: var(--ivory-warm);
}
.legal-hero h1 { max-width: 800px; }
.legal-hero p { color: var(--text-muted); max-width: 720px; margin-top: 16px; }

.legal-content { padding: 60px 0 100px; }
.legal-content .container { max-width: 880px; }
.legal-content h2 {
  color: var(--plum);
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-soft);
}
.legal-content h3 {
  color: var(--charcoal);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}
.legal-content p { font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; color: var(--text); }
.legal-content ul { margin: 1rem 0 1.4rem 1.4rem; }
.legal-content li { margin-bottom: 0.5rem; color: var(--text); }

/* ============== FOOTER ============== */
.footer {
  background: var(--charcoal);
  color: rgba(250, 246, 238, 0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-brand svg { width: 38px; height: 38px; }
.footer-about { font-size: 0.94rem; line-height: 1.7; color: rgba(250, 246, 238, 0.65); max-width: 320px; }
.footer h4 {
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(250, 246, 238, 0.7);
  font-size: 0.94rem;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 246, 238, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--terracotta); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: rgba(250, 246, 238, 0.55);
}

/* ============== COOKIE BANNER ============== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  background: var(--plum);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  border: 1px solid rgba(201, 166, 107, 0.3);
}
.cookie-banner.visible {
  display: block;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner h4 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.cookie-banner p {
  color: rgba(250, 246, 238, 0.82);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cookie-accept {
  background: var(--gold);
  color: var(--plum);
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.btn-cookie-accept:hover { background: var(--gold-light); }
.btn-cookie-decline {
  background: transparent;
  color: var(--ivory);
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(250, 246, 238, 0.3);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.btn-cookie-decline:hover { background: rgba(250, 246, 238, 0.1); }

/* ============== PAGE HEADER ============== */
.page-header {
  padding: 90px 0 60px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 166, 107, 0.18), transparent 50%),
    var(--ivory);
  text-align: center;
}
.page-header .eyebrow { margin-bottom: 1.2rem; }
.page-header h1 { max-width: 800px; margin: 0 auto 18px; }
.page-header p { max-width: 700px; margin: 0 auto; color: var(--text-muted); font-size: 1.1rem; }

/* ============== UTILITIES ============== */
.center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-visual .float-card.tl { left: -10px; }
  .hero-visual .float-card.br { right: -10px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .edu-grid { grid-template-columns: 1fr; gap: 40px; }
  .edu-grid.reverse .edu-text { order: 0; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { max-width: 480px; margin: 0 auto; }
  .article-head { grid-template-columns: 1fr; gap: 32px; }
  .article-head.reverse .article-head-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 78px;
    right: 20px;
    left: 20px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    flex-direction: column;
    gap: 0;
    padding: 14px 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 50px 0 70px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat { display: flex; align-items: baseline; gap: 14px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .hero-visual .float-card { padding: 12px 16px; }
  .hero-visual .float-card.tl { top: 16px; left: -8px; }
  .hero-visual .float-card.br { bottom: 16px; right: -8px; }
  .float-icon { width: 36px; height: 36px; font-size: 1.05rem; }

  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }

  .benefit-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer { padding: 60px 0 24px; }

  .quote-block { padding: 60px 0; }
  .quote-block::before { font-size: 14rem; top: -20px; }

  .budget-row { grid-template-columns: 60px 1fr auto; padding: 12px 16px; gap: 10px; }
  .budget-row .pct { font-size: 1.1rem; }
  .tips-box, .example-box { padding: 28px 24px; }

  .legal-content h2 { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .brand-text small { font-size: 0.55rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 20px; }
  .cookie-actions .btn-cookie-accept, .cookie-actions .btn-cookie-decline { flex: 1; }
}
