/* ==========================================================================
   MIGRIZO — UNIFIED DESIGN SYSTEM
   Single source of truth for all pages
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Color palette */
  --mint: #DFF3EB;
  --mint-soft: #EAF7F1;
  --mint-tint: #F4FBF7;
  --emerald: #00A96E;
  --emerald-bright: #00C281;
  --emerald-dark: #008557;
  --emerald-darker: #006B46;
  --ink: #0E1F1A;
  --ink-soft: #2A3F38;
  --ink-muted: #4A5E57;
  --muted: #6B7F78;
  --border: #E6EEE9;
  --border-soft: #F0F5F2;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --amber: #F59E0B;
  --rose: #E11D48;
  --blue: #2563EB;
  --purple: #7C3AED;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14, 31, 26, 0.04), 0 2px 4px rgba(14, 31, 26, 0.04);
  --shadow-md: 0 4px 12px rgba(14, 31, 26, 0.06), 0 2px 4px rgba(14, 31, 26, 0.04);
  --shadow-lg: 0 20px 40px rgba(14, 31, 26, 0.08), 0 8px 16px rgba(14, 31, 26, 0.04);
  --shadow-xl: 0 30px 60px rgba(14, 31, 26, 0.1), 0 12px 20px rgba(14, 31, 26, 0.05);

  /* Radii */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Layout */
  --max-width: 1200px;
  --max-width-sm: 820px;
  --nav-height: 72px;
}

/* ==========================================================================
   2. BASE RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--max-width-sm); margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', monospace; }

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.375rem); line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-size: 1.375rem; line-height: 1.25; }
h4 { font-size: 1.0625rem; line-height: 1.3; }
p { color: var(--ink-muted); }
em { font-style: normal; background: linear-gradient(180deg, transparent 62%, rgba(0, 169, 110, 0.28) 62%); padding: 0 4px; color: var(--emerald-dark); }

a { color: var(--emerald-dark); text-decoration: none; transition: color 0.2s; }

/* ==========================================================================
   3. COMPONENTS — BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-emerald { background: var(--emerald); color: var(--white); position: relative; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 169, 110, 0.2); }
.btn-emerald::before {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: btnShine 3.5s ease-in-out infinite;
}
@keyframes btnShine { 0%, 100% { left: -100%; } 50% { left: 100%; } }
.btn-emerald:hover { background: var(--emerald-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 169, 110, 0.35); color: white; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-soft); transform: translateY(-2px); color: white; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--border); }
.btn-light:hover { border-color: var(--emerald); color: var(--emerald-dark); transform: translateY(-1px); }
.btn-glass { background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); color: var(--ink); border-color: rgba(14,31,26,0.08); }
.btn-glass:hover { background: var(--white); border-color: var(--emerald); color: var(--emerald-dark); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); color: white; }
.btn-arrow::after { content: "→"; font-size: 1.125rem; transition: transform 0.2s ease; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   4. COMPONENTS — PILLS & BADGES
   ========================================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald-dark);
  background: var(--mint);
  border: 1px solid rgba(0, 169, 110, 0.15);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.pill-dark { background: rgba(255,255,255,0.08); color: var(--mint); border-color: rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.pill-dark .dot { background: var(--emerald-bright); }

/* ==========================================================================
   5. NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo em { background: none; color: var(--emerald); padding: 0; font-style: normal; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--mint-tint); color: var(--emerald-dark); }
.nav-links a.active { color: var(--emerald-dark); font-weight: 700; }
.nav-links a.nav-cta {
  background: var(--emerald);
  color: var(--white);
  padding: 10px 20px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,169,110,0.2);
}
.nav-links a.nav-cta:hover { background: var(--emerald-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,169,110,0.3); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  min-width: 360px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  border: 1px solid var(--border);
  margin-top: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; }
.nav-dropdown-menu a:hover { background: var(--mint-tint); }
.flag-xs { width: 24px; height: 18px; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.flag-xs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Mobile menu */
.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-mobile-btn:hover { background: var(--mint-tint); }
.nav-mobile-btn svg { width: 24px; height: 24px; display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(14,31,26,0.15);
  padding: 24px;
  z-index: 200;
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,31,26,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 150;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  background: var(--mint-tint);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s;
}
.mobile-menu-close:hover { background: var(--mint); }
.mobile-menu-close svg { width: 18px; height: 18px; }
.mobile-menu-section { margin-bottom: 24px; }
.mobile-menu-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  padding: 0 12px;
}
.mobile-menu-list { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 0; }
.mobile-menu-list a {
  display: block;
  padding: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 10px;
  transition: all 0.2s;
}
.mobile-menu-list a:hover { background: var(--mint-tint); color: var(--emerald-dark); }
.mobile-menu-list a.active { background: var(--mint); color: var(--emerald-dark); }
.mobile-menu-cta {
  display: block;
  background: var(--emerald);
  color: var(--white) !important;
  text-align: center;
  padding: 14px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  margin-top: 12px;
}
.mobile-menu-cta:hover { background: var(--emerald-dark) !important; color: white !important; }

/* ==========================================================================
   6. SECTIONS
   ========================================================================== */
section { padding: 88px 0; position: relative; }
section.tight { padding: 56px 0; }
section.alt { background: linear-gradient(180deg, var(--mint-tint) 0%, var(--white) 100%); }
section.dark { background: var(--ink); color: var(--white); }
.section-header { margin-bottom: 48px; max-width: 720px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .pill { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--ink-muted); font-size: 1.0625rem; line-height: 1.6; }
section.dark .section-header p { color: rgba(255,255,255,0.72); }
section.dark h2, section.dark h3 { color: var(--white); }

/* ==========================================================================
   7. HERO — shared
   ========================================================================== */
.hero {
  background: radial-gradient(ellipse at top left, rgba(0,169,110,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(0,194,129,0.08) 0%, transparent 50%),
              linear-gradient(180deg, var(--mint-tint) 0%, var(--white) 100%);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,169,110,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-centered { text-align: center; }
.hero-centered .pill { margin-bottom: 24px; }
.hero-centered h1 { max-width: 900px; margin: 0 auto 24px; }
.hero-sub {
  font-size: 1.1875rem;
  color: var(--ink-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas.center { justify-content: center; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand h4 { color: white; font-size: 1.5rem; margin-bottom: 12px; font-weight: 800; }
.footer-brand em { font-style: normal; color: var(--emerald); background: none; padding: 0; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 0.8125rem; color: rgba(255,255,255,0.7); }
footer h5 { color: white; font-size: 0.8125rem; margin-bottom: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
footer ul a:hover { color: white; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ==========================================================================
   9. FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ==========================================================================
   10. FORMS — shared
   ========================================================================== */
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.form-field label .req { color: var(--emerald); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: all 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--mint-tint);
}
.form-textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7F78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-submit-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.form-submit-wrap .note { font-size: 0.8125rem; color: var(--muted); font-weight: 500; }

/* Form inside dark sections */
.dark-form { background: rgba(255,255,255,0.04); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 36px; text-align: left; }
.dark-form .form-field label { color: rgba(255,255,255,0.9); }
.dark-form .form-field label .req { color: var(--emerald-bright); }
.dark-form .form-input,
.dark-form .form-select,
.dark-form .form-textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}
.dark-form .form-input::placeholder,
.dark-form .form-textarea::placeholder { color: rgba(255,255,255,0.4); }
.dark-form .form-input:focus,
.dark-form .form-select:focus,
.dark-form .form-textarea:focus {
  border-color: var(--emerald-bright);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(0,194,129,0.15);
}
.dark-form .form-select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-opacity='0.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dark-form .form-select option { background: var(--ink); color: var(--white); }
.dark-form .form-submit-wrap { border-top-color: rgba(255,255,255,0.1); }
.dark-form .form-submit-wrap .note { color: rgba(255,255,255,0.6); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 18px; }
.form-success {
  background: var(--mint);
  border: 1px solid rgba(0,169,110,0.25);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--emerald-darker);
  font-weight: 600;
  display: none;
}
.form-success.visible { display: block; }
.form-success svg { width: 40px; height: 40px; color: var(--emerald); margin-bottom: 10px; }
.form-success h4 { color: var(--emerald-darker); margin-bottom: 6px; }

/* ==========================================================================
   11. BREADCRUMB
   ========================================================================== */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 0.875rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--emerald-dark); }
.breadcrumb .sep { margin: 0 8px; color: var(--border); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   12. GENERAL CTA / DARK SECTION
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(0,169,110,0.25) 0%, transparent 50%),
              radial-gradient(circle at 85% 80%, rgba(0,194,129,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; text-align: center; }
.cta-wrap .pill { margin-bottom: 20px; }
.cta-wrap h2 { color: var(--white); margin-bottom: 14px; }
.cta-wrap > p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.125rem; max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.55; }

/* ==========================================================================
   13. ANIMATIONS
   ========================================================================== */
.fade-up { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   14. LEGAL-PAGES LAYOUT (privacy/terms)
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--mint-tint) 0%, var(--white) 100%);
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.page-hero .pill { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero > .page-hero-inner > p { color: var(--ink-muted); font-size: 1rem; margin-bottom: 0; max-width: 720px; }
.page-hero-meta {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 600;
  margin-top: 16px;
  flex-wrap: wrap;
}
.page-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero-meta svg { width: 14px; height: 14px; color: var(--emerald); }

.legal-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  max-width: var(--max-width);
  margin: 56px auto;
  padding: 0 24px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 104px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.legal-toc-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; padding: 0; }
.legal-toc a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 7px;
  transition: all 0.2s;
  display: block;
}
.legal-toc a:hover { background: var(--mint-tint); color: var(--emerald-dark); }

.legal-content { max-width: 760px; }
.legal-intro {
  background: var(--mint-tint);
  border: 1px solid rgba(0, 169, 110, 0.15);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.legal-intro p { font-size: 0.9375rem; color: var(--ink); margin-bottom: 0; font-weight: 500; line-height: 1.7; }
.legal-intro p:not(:last-child) { margin-bottom: 10px; }
.legal-content h2 {
  font-size: 1.375rem;
  line-height: 1.25;
  margin-top: 36px;
  margin-bottom: 14px;
  scroll-margin-top: 88px;
}
.legal-content h3 { font-size: 1.0625rem; margin-top: 24px; margin-bottom: 10px; }
.legal-content p { font-size: 0.9375rem; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 12px 0 18px 22px; color: var(--ink-soft); }
.legal-content ul li, .legal-content ol li { font-size: 0.9375rem; line-height: 1.75; margin-bottom: 8px; padding-left: 4px; }
.legal-content ul li::marker { color: var(--emerald); }
.legal-content strong { color: var(--ink); font-weight: 700; }
.legal-content a { color: var(--emerald-dark); text-decoration: none; font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-section { padding-bottom: 24px; border-bottom: 1px solid var(--border-soft); margin-bottom: 8px; }
.legal-section:last-child { border-bottom: none; }
.legal-callout {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-left: 4px solid #F97316;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}
.legal-callout-label {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #9A3412;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.legal-callout-label svg { width: 14px; height: 14px; }
.legal-callout p { color: #7C2D12; font-size: 0.9375rem; font-weight: 500; margin-bottom: 0; line-height: 1.65; }
.legal-callout p:not(:last-child) { margin-bottom: 10px; }
.legal-table,
.definition-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0 20px;
  box-shadow: var(--shadow-sm);
}
.legal-table-row,
.definition-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 14px 18px;
  font-size: 0.875rem;
  line-height: 1.55;
}
.definition-row { grid-template-columns: 180px 1fr; }
.legal-table-row:not(:last-child),
.definition-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.legal-table-row .k,
.definition-row .k { font-weight: 700; color: var(--ink); }
.legal-table-row .v,
.definition-row .v { color: var(--ink-soft); }
.contact-block {
  background: var(--mint-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 32px;
}
.contact-block h3 { margin-top: 0; margin-bottom: 12px; font-size: 1.0625rem; }
.contact-block p { margin-bottom: 8px; font-size: 0.9375rem; }

/* ==========================================================================
   15. COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  z-index: 60;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.8125rem; color: var(--ink-soft); margin-bottom: 12px; line-height: 1.5; }
.cookie-banner p a { color: var(--emerald-dark); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  transition: all 0.2s;
}
.cookie-btn-primary { background: var(--emerald); color: white; }
.cookie-btn-primary:hover { background: var(--emerald-dark); }
.cookie-btn-secondary { background: transparent; color: var(--ink-soft); border-color: var(--border); }
.cookie-btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

/* ==========================================================================
   16. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; align-items: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-submit-wrap { flex-direction: column; align-items: stretch; }
  .form-submit-wrap .note { text-align: center; }
  .cta-section { padding: 72px 0; }
  .page-hero { padding: 48px 0 32px; }
  .legal-intro, .legal-callout { padding: 18px 20px; }
  .legal-table-row, .definition-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-block { padding: 20px 22px; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; }
}
