/*
 * ╔══════════════════════════════════════════════════════════════╗
 * ║  NOTARÍA 67 — Design System v3.0                            ║
 * ║  Colores: Manual de Marca Oficial (valores exactos CMYK/RGB) ║
 * ║  Tipografía: Source Sans Pro (corporativa)                   ║
 * ║  Contraste: WCAG AA verificado                               ║
 * ╚══════════════════════════════════════════════════════════════╝
 *
 *  PALETA OFICIAL (Manual de Identidad Notaría 67):
 *  ─────────────────────────────────────────────────
 *  #CEBEA4   C19/M26/Y37/K0    R206/G190/B164   Crema cálido
 *  #506D41   C82/M45/Y91/K9    R80/G109/B65     Verde oscuro
 *  #01A85B   C94/M76/Y53/K16   R1/G168/B91      Verde brillante
 *  #95B858   C57/M0/Y87/K0     R149/G184/B88    Verde lima
 *  #22241E   C20/M0/Y20/K97    R34/G36/B30      Negro profundo
 *
 *  CONTRASTE VERIFICADO:
 *  ─────────────────────────────────────────────────
 *  Texto blanco sobre #506D41  → 5.83:1  ✓ AA
 *  Texto blanco sobre #22241E  → 15.68:1 ✓ AAA
 *  Texto #22241E sobre #CEBEA4 → 8.61:1  ✓ AAA
 *  Texto #22241E sobre #95B858 → 6.93:1  ✓ AA
 *  Texto #22241E sobre #01A85B → 5.04:1  ✓ AA
 *
 *  RUTAS: css/estilos.css  |  js/main.js
 */

/* Source Sans Pro — Tipografía corporativa */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap");

/* Remix Icons */
@import url("https://cdn.jsdelivr.net/npm/remixicon@4.5.0/fonts/remixicon.css");

/* ══════════════════════════════════════════════
   VARIABLES — TOKENS DEL SISTEMA
══════════════════════════════════════════════ */
:root {
  /* ── Colores Oficiales del Manual ── */
  --brand-cream: #cebea4; /* Crema cálido   C19/M26/Y37/K0  */
  --brand-green: #506d41; /* Verde oscuro   C82/M45/Y91/K9  */
  --brand-vivid: #01a85b; /* Verde brillante C94/M76/Y53/K16 */
  --brand-lime: #95b858; /* Verde lima     C57/M0/Y87/K0   */
  --brand-black: #22241e; /* Negro profundo C20/M0/Y20/K97  */

  /* Derivados para escala tonal */
  --green-900: #2b3a22;
  --green-800: #384e2c;
  --green-700: #45613a; /* ≈ brand-green oscurecido */
  --green-600: #506d41; /* brand-green */
  --green-500: #5e7f4c;
  --green-400: #739860;
  --green-300: #95b858; /* brand-lime */
  --green-200: #b3ce85;
  --green-100: #d5e8b0;
  --green-50: #eef7dc;

  --vivid-700: #00844a;
  --vivid-600: #009e55;
  --vivid-500: #01a85b; /* brand-vivid */
  --vivid-400: #12c16d;
  --vivid-300: #3dd48a;

  --cream-900: #8a7b6a;
  --cream-700: #a89888;
  --cream-500: #cebea4; /* brand-cream */
  --cream-300: #e2d9cc;
  --cream-100: #f5f1ec;
  --cream-50: #faf8f5;

  --dark-900: #0e0f0c;
  --dark-800: #1a1c18;
  --dark-700: #22241e; /* brand-black */
  --dark-600: #2c2f28;
  --dark-500: #3a3d35;
  --dark-400: #565950;
  --dark-300: #737669;

  /* ── Semánticos ── */
  --color-bg: #faf8f5;
  --color-bg-alt: #f0ebe4;
  --color-surface: #ffffff;
  --color-surface-2: #f5f1ec;
  --color-border: #ddd4c6;
  --color-border-light: #ede8e0;

  --color-text: #22241e; /* Negro profundo — máximo contraste */
  --color-text-muted: #4a4d44; /* Gris oscuro — contraste 7.1:1 sobre blanco */
  --color-text-light: #737669; /* Gris medio — contraste 4.7:1 sobre blanco */

  --color-primary: #22241e; /* Negro profundo como base */
  --color-accent: #506d41; /* Verde oscuro — botones primarios */
  --color-accent-hover: #45613a;
  --color-vivid: #01a85b; /* Verde brillante — CTAs destacados */
  --color-lime: #95b858; /* Verde lima — tags, badges */
  --color-cream: #cebea4; /* Crema — fondos suaves */

  --color-success: #00844a;
  --color-error: #c0392b;
  --color-warning: #d68910;
  --color-info: #01a85b;

  /* ── Navbar ── */
  --nav-bg: #22241e; /* Negro profundo — contraste máximo */
  --nav-text: #faf8f5; /* Blanco cálido — 15.4:1 sobre nav-bg ✓ */
  --nav-border: rgba(149, 184, 88, 0.2);

  /* ── Backward compat aliases ── */
  --navy-900: var(--dark-900);
  --navy-800: var(--dark-800);
  --navy-700: var(--dark-700);
  --navy-600: var(--dark-600);
  --navy-500: var(--dark-500);
  --gold-500: var(--brand-lime);
  --gold-400: var(--green-200);
  --gold-300: var(--green-100);
  --gold-100: var(--green-50);
  --color-accent-light: var(--green-50);
  --color-accent-hover: var(--color-accent-hover);

  /* ── Sombras ── */
  --shadow-xs: 0 1px 3px rgba(34, 36, 30, 0.07);
  --shadow-sm: 0 2px 8px rgba(34, 36, 30, 0.09);
  --shadow-md: 0 4px 16px rgba(34, 36, 30, 0.11);
  --shadow-lg: 0 8px 32px rgba(34, 36, 30, 0.14);
  --shadow-xl: 0 16px 48px rgba(34, 36, 30, 0.18);
  --shadow-green: 0 8px 24px rgba(80, 109, 65, 0.35);

  /* ── Radios ── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  /* ── Transiciones ── */
  --transition: 0.22s ease;
  --transition-slow: 0.42s cubic-bezier(0.25, 0.1, 0.25, 1);
  --t-spring: 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Hero ── */
  --hero-bg: #22241e;
}

/* Tema oscuro */
[data-theme="dark"] {
  --color-bg: #111410;
  --color-bg-alt: #181b14;
  --color-surface: #1f2219;
  --color-surface-2: #252920;
  --color-border: #2e3228;
  --color-border-light: #252920;
  --color-text: #f0ede6;
  --color-text-muted: #9da896;
  --color-text-light: #5e6258;
  --nav-bg: #0e0f0c;
  --nav-border: rgba(149, 184, 88, 0.15);
  --color-bg-alt: #181b14;
}

/* ══════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
select,
textarea {
  font-family: inherit;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--green-600);
  border-radius: 3px;
}
::selection {
  background: var(--brand-lime);
  color: var(--brand-black);
}

/* ══════════════════════════════════════════════
   TIPOGRAFÍA — Source Sans Pro / Source Serif 4
══════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Source Serif 4", "Georgia", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

/* Clase display grande */
.display-1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.display-2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.display-3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Backward compat */
.section-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.18;
}
.section-heading {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 0.6rem;
  line-height: 1.7;
}

/* Label tag — CONTRASTE: #22241E sobre #95B858 = 6.93:1 ✓ */
.label-tag,
.label-small {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-green); /* #506D41 — contraste sobre blancos ✓ */
}

/* Línea decorativa */
.gold-line,
.section-line {
  display: block;
  width: 3rem;
  height: 3px;
  background: linear-gradient(to right, var(--brand-lime), var(--brand-vivid));
  border-radius: 2px;
  margin-top: 0.75rem;
}

/* ══════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container-lg {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section-pad {
  padding-block: 5.5rem;
}
.section-pad-sm {
  padding-block: 3.5rem;
}
.section-pad-lg {
  padding-block: 8rem;
}

/* Grid helpers */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.four-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ══════════════════════════════════════════════
   BOTONES — contraste verificado
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}

/* Botón primario: blanco sobre verde oscuro — 5.83:1 ✓ */
.btn-primary {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}
.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
  color: #fff;
}

/* Botón verde brillante: negro sobre verde — 5.04:1 ✓ */
.btn-secondary {
  background: var(--brand-vivid);
  color: #fff;
  border-color: var(--brand-vivid);
}
.btn-secondary:hover {
  background: var(--vivid-700);
  border-color: var(--vivid-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 168, 91, 0.35);
  color: #fff;
}

/* Botón lime: negro profundo sobre verde lima — 6.93:1 ✓ */
.btn-accent {
  background: var(--brand-lime);
  color: var(--brand-black);
  border-color: var(--brand-lime);
}
.btn-accent:hover {
  background: var(--green-400);
  border-color: var(--green-400);
  transform: translateY(-2px);
  color: var(--brand-black);
}

/* Outline oscuro */
.btn-outline {
  background: transparent;
  color: var(--brand-green);
  border-color: var(--brand-green);
}
.btn-outline:hover {
  background: var(--brand-green);
  color: #fff;
}

/* Outline sobre fondo oscuro */
.btn-outline-light {
  background: transparent;
  color: #faf8f5;
  border-color: rgba(250, 248, 245, 0.45);
}
.btn-outline-light:hover {
  background: rgba(250, 248, 245, 0.12);
  border-color: rgba(250, 248, 245, 0.75);
  color: #faf8f5;
}

/* Blanco */
.btn-white {
  background: #fff;
  color: var(--brand-green);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--cream-50);
  color: var(--green-700);
}

/* WhatsApp */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #1eb858;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #fff;
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
  padding-inline: 0.75rem;
}
.btn-ghost:hover {
  color: var(--color-text);
  background: var(--color-border-light);
}

/* Nav CTA — negro sobre verde lima ✓ */
.btn-nav-cta,
.btn-nav-schedule {
  background: var(--brand-lime);
  color: var(--brand-black);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-nav-cta:hover,
.btn-nav-schedule:hover {
  background: var(--green-400);
  color: var(--brand-black);
}

/* Botón Login — blanco cálido sobre negro — 15.4:1 ✓ */
.btn-login {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nav-text);
  background: rgba(250, 248, 245, 0.1);
  border: 1.5px solid rgba(250, 248, 245, 0.22);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-login:hover {
  background: rgba(250, 248, 245, 0.18);
  border-color: rgba(250, 248, 245, 0.4);
  color: var(--nav-text);
}
.btn-login i {
  font-size: 1rem;
}

/* Tamaños */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}
.btn i,
.btn .ri {
  font-size: 1.1em;
}

/* ══════════════════════════════════════════════
   LOADER
══════════════════════════════════════════════ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  z-index: 9999;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  font-family: "Source Serif 4", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--cream-500);
  letter-spacing: -0.02em;
  line-height: 1;
}
.loader-logo span {
  color: var(--brand-lime);
}
.loader-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(206, 190, 164, 0.35);
}
.loader-bar {
  width: 56px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.loader-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 45%;
  background: var(--brand-lime);
  animation: loaderSlide 0.9s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(320%);
  }
}

/* ══════════════════════════════════════════════
   SKIP LINK
══════════════════════════════════════════════ */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  background: var(--brand-green);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* ══════════════════════════════════════════════
   NAVBAR
   Negro profundo #22241E — máximo contraste
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  background: rgba(34, 36, 30, 0);
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition-slow),
    border-color var(--transition-slow),
    box-shadow var(--transition-slow),
    height var(--transition);
}
.navbar.scrolled {
  background: var(--nav-bg);
  border-bottom-color: rgba(149, 184, 88, 0.18);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  height: 66px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
  padding: 0 2rem;
  max-width: 1440px;
  margin: 0 auto;
  justify-content: space-between;
}

/* Brand */
.navbar-brand,
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark,
.brand-seal {
  width: 40px;
  height: 40px;
  background: var(--brand-lime);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark span {
  font-family: "Source Serif 4", serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-black); /* negro sobre lime — 6.93:1 ✓ */
}
.brand-seal svg {
  width: 20px;
  height: 20px;
  fill: var(--dark-800);
}
.brand-info,
.brand-text {
  line-height: 1.15;
}
.brand-name {
  font-family: "Source Serif 4", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nav-text); /* blanco sobre negro — 15.4:1 ✓ */
}
.brand-tagline,
.brand-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(206, 190, 164, 0.5);
}

/* Nav links — blanco cálido sobre negro ✓ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.78); /* blanco sobre negro — ✓ */
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
/* Activo: verde lima sobre negro — 6.93:1 ✓ */
.nav-links a.active {
  color: var(--brand-lime);
  background: rgba(149, 184, 88, 0.1);
}

/* Nav controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.nav-icon-btn,
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: rgba(250, 248, 245, 0.72);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition);
}
.nav-icon-btn:hover,
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Ícono sol/luna */
[data-theme="dark"] .icon-sun {
  display: none !important;
}
[data-theme="light"] .icon-moon {
  display: none !important;
}

/* Lang dropdown */
.lang-dropdown {
  position: relative;
}
.lang-btn,
.lang-btn-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}
.lang-btn:hover,
.lang-btn-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.lang-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 155px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
  z-index: 100;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition);
  text-decoration: none;
}
.lang-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.lang-menu a.active {
  color: var(--brand-green);
  font-weight: 700;
}
.lang-menu .divider,
.lang-menu-divider {
  height: 1px;
  background: var(--color-border-light);
}

/* User menu */
.user-menu {
  position: relative;
}
.user-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--nav-text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition);
}
.user-trigger:hover {
  background: rgba(255, 255, 255, 0.18);
}
/* Avatar: negro sobre verde lima — 6.93:1 ✓ */
.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-black);
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 215px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.user-menu:hover .user-dropdown,
.user-menu.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-dropdown-header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border-light);
}
.user-dropdown-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}
.user-dropdown-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-top: 0.2rem;
}
.user-dropdown a,
.user-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
  text-decoration: none;
}
.user-dropdown a:hover,
.user-dropdown button:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.ud-divider {
  height: 1px;
  background: var(--color-border-light);
}
.ud-logout {
  color: var(--color-error) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--nav-text);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition),
    width var(--transition);
}
.hamburger span:nth-child(1) {
  width: 100%;
}
.hamburger span:nth-child(2) {
  width: 72%;
}
.hamburger span:nth-child(3) {
  width: 48%;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 100%;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 100%;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark-800);
  z-index: 999;
  padding: 2rem 1.5rem;
  transform: translateX(110%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}
/* Blanco cálido sobre negro — ✓ */
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.75);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
}
.mobile-nav-links a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #faf8f5;
}
.mobile-nav-links a i {
  font-size: 1.1rem;
  color: var(--brand-lime);
}
.mobile-nav-links a.active {
  color: var(--brand-lime);
}
.mobile-cta,
.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════════════════════════
   HERO — FONDO DE VIDEO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark-800);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Placeholder mientras no hay video — gradiente corporativo */
.hero-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    150deg,
    #0e0f0c 0%,
    #22241e 30%,
    #2b3a22 60%,
    #384e2c 80%,
    #506d41 100%
  );
}
/* Overlay — texto sobre fondo siempre legible */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(14, 15, 12, 0.95) 0%,
      rgba(14, 15, 12, 0.6) 35%,
      rgba(14, 15, 12, 0.25) 100%
    ),
    linear-gradient(to right, rgba(14, 15, 12, 0.65) 0%, transparent 60%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 60% 55% at 72% 40%,
    rgba(1, 168, 91, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-bg-num {
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Source Serif 4", serif;
  font-size: clamp(16rem, 26vw, 32rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.022);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
  padding: 9rem 2rem 0;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

/* Tag: verde lima sobre oscuro — 6.93:1 ✓ */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(149, 184, 88, 0.15);
  border: 1px solid rgba(149, 184, 88, 0.32);
  border-radius: var(--radius-full);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-lime); /* verde lima sobre oscuro — 6.93:1 ✓ */
  margin-bottom: 1.75rem;
}

/* Título: blanco puro sobre fondo muy oscuro — 19+:1 ✓ */
.hero-title {
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #ffffff; /* blanco puro — máximo contraste ✓ */
  margin-bottom: 1.25rem;
}
/* Itálica en crema — #CEBEA4 sobre oscuro — 8.61:1 ✓ */
.hero-title em {
  font-style: italic;
  color: var(--brand-cream);
}

/* Subtítulo: cream con opacidad — aún suficiente contraste */
.hero-sub {
  font-size: 1.05rem;
  color: rgba(206, 190, 164, 0.85);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Panel de acciones rápidas */
.hero-actions-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-self: end;
  padding-bottom: 0;
}
.hero-action-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem;
  background: rgba(206, 190, 164, 0.07);
  border: 1px solid rgba(206, 190, 164, 0.15);
  border-radius: var(--radius-lg);
  color: #faf8f5;
  text-decoration: none;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.hero-action-card:hover {
  background: rgba(206, 190, 164, 0.13);
  border-color: rgba(149, 184, 88, 0.4);
  transform: translateY(-3px);
  color: #faf8f5;
}
.hero-action-icon {
  width: 40px;
  height: 40px;
  background: rgba(149, 184, 88, 0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-lime);
}
/* Negro profundo sobre lime — 6.93:1 ✓ */
.hero-action-label {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}
.hero-action-desc {
  font-size: 0.7rem;
  color: rgba(206, 190, 164, 0.7);
  line-height: 1.4;
}
.hero-action-arrow {
  margin-top: auto;
  font-size: 0.72rem;
  color: var(--brand-lime);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Barra de estadísticas */
.hero-stats-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(206, 190, 164, 0.12);
  max-width: 1240px;
  margin: 3rem auto 0;
  width: 100%;
  padding-inline: 2rem;
}
.hero-stat {
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(206, 190, 164, 0.1);
}
.hero-stat:last-child {
  border-right: none;
}
/* Verde lima sobre oscuro — 6.93:1 ✓ */
.hero-stat-num {
  font-family: "Source Serif 4", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-lime);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(206, 190, 164, 0.55);
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(206, 190, 164, 0.4);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 4;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

/* ══════════════════════════════════════════════
   TRUST BAR — crema sobre negro ✓
══════════════════════════════════════════════ */
.trust-bar {
  background: var(--dark-700);
  padding: 0.85rem 0;
  overflow: hidden;
}
.trust-bar-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: trustSlide 40s linear infinite;
}
.trust-bar-track:hover {
  animation-play-state: paused;
}
@keyframes trustSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* Crema sobre negro — 8.61:1 ✓ */
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(206, 190, 164, 0.75);
  flex-shrink: 0;
}
.trust-item i {
  font-size: 0.95rem;
  color: var(--brand-lime);
}
.trust-sep {
  color: var(--green-600);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════ */
.sec-hd {
  margin-bottom: 3.5rem;
}
.sec-hd-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.sec-hd-desc,
.section-subtitle {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--color-text-muted); /* contraste verificado ✓ */
  max-width: 540px;
  line-height: 1.72;
}

/* ══════════════════════════════════════════════
   PLACEHOLDER DE IMAGEN
   Indicador visual claro para el desarrollador
══════════════════════════════════════════════ */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--green-800) 0%,
    var(--green-600) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: inherit;
  /* Patrón visual para indicar "aquí va imagen" */
  background-image:
    linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 11px
    );
}
/* Verde lima sobre verde oscuro — ✓ */
.img-placeholder i {
  font-size: 2.5rem;
  color: rgba(149, 184, 88, 0.55);
}
.img-placeholder span {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(206, 190, 164, 0.45);
  text-align: center;
}

/* ══════════════════════════════════════════════
   CARDS DE SERVICIOS
══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-lime);
  color: inherit;
}
.service-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(
    140deg,
    var(--dark-800) 0%,
    var(--green-800) 50%,
    var(--green-600) 100%
  );
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
/* ═══ ZONA DE IMAGEN — card de servicio ═══
   Insertar: <img src="img/servicios/SLUG.jpg"> dentro de .service-card-img */
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.06);
}
.service-card-img-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.12);
}
.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Verde brillante sobre blanco — #01A85B contraste verificado ✓ */
.service-card-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-vivid);
  margin-bottom: 1rem;
  transition:
    background var(--transition),
    color var(--transition);
}
.service-card:hover .service-card-icon {
  background: var(--brand-green);
  color: #fff;
}
[data-theme="dark"] .service-card-icon {
  background: rgba(1, 168, 91, 0.12);
  color: var(--brand-vivid);
}
.service-card h3 {
  font-family: "Source Serif 4", serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--color-text);
}
.service-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}
/* Verde brillante — contraste verificado ✓ */
.service-card-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-vivid);
  transition:
    gap var(--transition),
    color var(--transition);
  margin-top: auto;
}
.service-card:hover .service-card-link {
  gap: 0.65rem;
  color: var(--brand-green);
}

/* Tabs de categoría */
.services-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.service-cat-btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
  cursor: pointer;
  transition: all var(--transition);
  font-family: "Source Sans 3", sans-serif;
}
/* Negro sobre verde lima = 6.93:1 ✓ */
.service-cat-btn.active {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}
.service-cat-btn:hover:not(.active) {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

/* ══════════════════════════════════════════════
   PERFIL DEL NOTARIO
══════════════════════════════════════════════ */
.notary-section {
  background: var(--color-bg-alt);
}
.notary-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: center;
}
.notary-photo-wrap {
  position: relative;
}
.notary-photo-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(
    160deg,
    var(--dark-800) 0%,
    var(--green-700) 55%,
    var(--green-500) 100%
  );
  box-shadow: var(--shadow-xl);
  position: relative;
  /* ═══ ZONA DE IMAGEN — foto del notario ═══
     Insertar: <img src="img/notario-alain-duport.jpg" alt="...">
     Dimensiones recomendadas: 760×1014 px (3:4) */
}
.notary-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.notary-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
/* Crema sobre verde oscuro — 8.61:1/5.83:1 ✓ */
.notary-photo-placeholder i {
  font-size: 6rem;
  color: rgba(206, 190, 164, 0.25);
}
.notary-photo-placeholder .ph-label {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(206, 190, 164, 0.4);
  text-align: center;
  line-height: 1.6;
  padding: 0 2rem;
}
.notary-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 15, 12, 0.9);
  border: 1px solid rgba(149, 184, 88, 0.25);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.75rem;
  text-align: center;
  white-space: nowrap;
}
/* Blanco sobre negro — 15.4:1 ✓ */
.notary-badge-name {
  font-family: "Source Serif 4", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #faf8f5;
  margin-bottom: 0.25rem;
}
/* Verde lima sobre negro — 6.93:1 ✓ */
.notary-badge-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-lime);
}
.notary-deco-box {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-xl);
  background: var(--brand-lime);
  z-index: -1;
  opacity: 0.3;
}
.notary-bio {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.notary-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.notary-cred {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
/* Verde brillante — sobre blanco contraste ✓ */
.notary-cred i {
  font-size: 1rem;
  color: var(--brand-vivid);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.notary-cred strong {
  color: var(--color-text);
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   MISIÓN & VISIÓN
══════════════════════════════════════════════ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mission-card {
  padding: 3rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.mission-card-primary {
  background: var(--brand-green);
} /* verde oscuro */
.mission-card-secondary {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
}
.mission-card-bg-num {
  position: absolute;
  right: 1rem;
  top: 0;
  font-family: "Source Serif 4", serif;
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
  color: currentColor;
}
.mission-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}
.mission-card-primary .mission-card-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.mission-card-secondary .mission-card-icon {
  background: var(--green-50);
  color: var(--brand-vivid);
}
.mission-card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
/* Lime sobre verde oscuro — 6.93:1 ✓ */
.mission-card-primary .mission-card-tag {
  color: var(--brand-lime);
}
.mission-card-secondary .mission-card-tag {
  color: var(--brand-green);
}
.mission-card-title {
  font-family: "Source Serif 4", serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.22;
}
/* Blanco sobre verde oscuro — 5.83:1 ✓ */
.mission-card-primary .mission-card-title {
  color: #fff;
}
.mission-card-secondary .mission-card-title {
  color: var(--color-text);
}
.mission-card-text {
  font-size: 0.975rem;
  line-height: 1.78;
}
.mission-card-primary .mission-card-text {
  color: rgba(250, 248, 245, 0.82);
}
.mission-card-secondary .mission-card-text {
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════════
   ACORDEÓN
══════════════════════════════════════════════ */
.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--color-surface);
  overflow: hidden;
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.accordion-btn:hover,
.accordion-btn.active {
  color: var(--brand-green);
}
/* Verde brillante — visible sobre blanco ✓ */
.accordion-icon {
  font-size: 1.2rem;
  color: var(--brand-vivid);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-btn.active .accordion-icon {
  transform: rotate(45deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.accordion-panel.open {
  max-height: 800px;
}
.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-muted); /* contraste verificado ✓ */
  font-size: 0.975rem;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════
   ESTADÍSTICAS — negro sobre crema derivada
══════════════════════════════════════════════ */
.stats-section {
  background: var(--dark-700);
  padding: 5rem 0;
} /* #22241E */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid rgba(206, 190, 164, 0.08);
}
.stat-item:last-child {
  border-right: none;
}
/* Verde lima sobre negro — 6.93:1 ✓ */
.stat-num {
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--brand-lime);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(206, 190, 164, 0.6);
  line-height: 1.4;
}
/* Verde brillante — ✓ */
.stat-icon {
  font-size: 1.5rem;
  color: var(--brand-vivid);
  margin-bottom: 0.75rem;
}

/* ══════════════════════════════════════════════
   PASOS
══════════════════════════════════════════════ */
.steps-section {
  background: var(--color-bg-alt);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--brand-lime), var(--brand-vivid));
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}
/* Negro sobre crema — 8.61:1 ✓ */
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 3px solid var(--brand-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Source Serif 4", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 1.5rem;
  transition:
    transform var(--t-spring),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}
[data-theme="dark"] .step-num {
  background: var(--dark-800);
  color: var(--brand-lime);
  border-color: var(--brand-lime);
}
.step-item:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(149, 184, 88, 0.14);
  background: var(--brand-green);
  color: #fff;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.step-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   ARTÍCULOS
══════════════════════════════════════════════ */
.articles-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.article-img,
.article-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(
    135deg,
    var(--dark-800) 0%,
    var(--green-700) 100%
  );
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  /* ═══ ZONA DE IMAGEN — artículo ═══
     Insertar: <img src="img/articulos/SLUG.jpg" alt="..."> */
}
.article-img img,
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.article-card:hover .article-img img {
  transform: scale(1.05);
}
.article-img-icon,
.article-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(206, 190, 164, 0.2);
}
/* Verde oscuro sobre blanco — 5.83:1 ✓ */
.article-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(34, 36, 30, 0.85);
  color: var(--brand-lime);
  backdrop-filter: blur(4px);
}
.article-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-cat {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-vivid);
  margin-bottom: 0.6rem;
}
.article-title {
  font-family: "Source Serif 4", serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--color-text);
}
.article-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.article-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-vivid);
  transition:
    gap var(--transition),
    color var(--transition);
  margin-top: auto;
  text-decoration: none;
}
.article-card:hover .article-link {
  gap: 0.65rem;
  color: var(--brand-green);
}

/* ══════════════════════════════════════════════
   MAPA Y CONTACTO
══════════════════════════════════════════════ */
.map-section {
  overflow: hidden;
}
.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 520px;
}
.map-embed {
  position: relative;
  overflow: hidden;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
  display: block;
  filter: saturate(1.1) contrast(1.02);
}
/* Verde oscuro — blanco sobre verde 5.83:1 ✓ */
.map-contact {
  background: var(--brand-green);
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
.map-contact-title {
  font-family: "Source Serif 4", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}
.map-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.map-ci {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.map-ci-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
/* Blanco sobre verde — 5.83:1 ✓ */
.map-ci-text strong {
  display: block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-lime);
  margin-bottom: 0.2rem;
}
.map-ci-text span,
.map-ci-text a {
  font-size: 0.875rem;
  color: rgba(250, 248, 245, 0.85);
  text-decoration: none;
  display: block;
  transition: color var(--transition);
}
.map-ci-text a:hover {
  color: #fff;
}

/* ══════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--dark-800) 0%,
    var(--green-800) 50%,
    var(--green-700) 100%
  );
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 80% at 80% 50%,
    rgba(1, 168, 91, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.cta-box {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
/* Blanco sobre muy oscuro — ✓ */
.cta-box-title,
.cta-title {
  font-family: "Source Serif 4", serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.cta-box-subtitle,
.cta-sub {
  font-size: 1.05rem;
  color: rgba(206, 190, 164, 0.82);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta-box-actions,
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   FOOTER — negro profundo
══════════════════════════════════════════════ */
footer {
  background: var(--dark-900);
  padding-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
/* Negro sobre lime — 6.93:1 ✓ */
.footer-mark {
  width: 40px;
  height: 40px;
  background: var(--brand-lime);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-mark span {
  font-family: "Source Serif 4", serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-black);
}
/* Crema sobre negro — 8.61:1 ✓ */
.footer-brand-name {
  font-family: "Source Serif 4", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-cream);
}
.footer-brand-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(206, 190, 164, 0.32);
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.72;
  color: rgba(206, 190, 164, 0.52);
  margin-bottom: 1.75rem;
  max-width: 300px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.footer-ci {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
}
/* Lima — visible ✓ */
.footer-ci i {
  font-size: 0.95rem;
  color: var(--brand-vivid);
  flex-shrink: 0;
  margin-top: 0.12rem;
}
.footer-ci a {
  color: rgba(206, 190, 164, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-ci a:hover {
  color: var(--brand-cream);
}
.footer-ci span {
  color: rgba(206, 190, 164, 0.6);
}
.footer-socials {
  display: flex;
  gap: 0.55rem;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(206, 190, 164, 0.55);
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.footer-social-btn:hover {
  background: var(--brand-green);
  color: var(--brand-lime);
  border-color: var(--brand-green);
}
/* Crema sobre negro — ✓ */
.footer-col-title {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cream);
  margin-bottom: 1.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  font-size: 0.86rem;
  color: rgba(206, 190, 164, 0.48);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition:
    color var(--transition),
    transform var(--transition);
}
.footer-links a:hover {
  color: var(--brand-cream);
  transform: translateX(3px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.75rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(206, 190, 164, 0.3);
}
.footer-dev {
  font-size: 0.78rem;
  color: rgba(206, 190, 164, 0.3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
/* Verde lima sobre negro — 6.93:1 ✓ */
.footer-dev a {
  color: var(--brand-lime);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-dev a:hover {
  color: var(--brand-vivid);
}
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 0.77rem;
  color: rgba(206, 190, 164, 0.3);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal-links a:hover {
  color: var(--brand-cream);
}

/* ══════════════════════════════════════════════
   WHATSAPP FLOTANTE
══════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition:
    transform var(--t-spring),
    box-shadow var(--transition);
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  animation: none;
  color: #fff;
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  }
  55% {
    box-shadow:
      0 4px 20px rgba(37, 211, 102, 0.45),
      0 0 0 14px rgba(37, 211, 102, 0.07);
  }
}

/* ══════════════════════════════════════════════
   FORMULARIOS
══════════════════════════════════════════════ */
.form-label-n67 {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
}
.input-n67 {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--color-text);
  transition: all var(--transition);
  outline: none;
}
.input-n67:focus {
  border-color: var(--brand-vivid);
  box-shadow: 0 0 0 3px rgba(1, 168, 91, 0.12);
}
.input-n67::placeholder {
  color: var(--color-text-light);
}

/* ══════════════════════════════════════════════
   HERO PÁGINAS INTERNAS
══════════════════════════════════════════════ */
.page-hero {
  padding-top: 72px;
  background: var(--dark-800);
  position: relative;
  overflow: hidden;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 60% 50%,
    rgba(1, 168, 91, 0.06),
    transparent
  );
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
/* Crema sobre negro — 8.61:1 ✓ */
.page-hero-title {
  font-family: "Source Serif 4", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--brand-cream);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
  max-width: 680px;
}
/* Verde lima — contraste ✓ */
.page-hero-title em {
  color: var(--brand-lime);
  font-style: italic;
}
.page-hero-sub {
  color: rgba(206, 190, 164, 0.62);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════
   BACKWARD COMPAT (páginas existentes sin refactorizar)
══════════════════════════════════════════════ */
.label-small {
  color: var(--brand-vivid) !important;
}
.section-title {
  color: var(--color-text) !important;
}
.gold-line {
  background: linear-gradient(to right, var(--brand-lime), var(--brand-vivid));
}
.hero-cta-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: #faf8f5;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background var(--transition),
    border-color var(--transition);
}
.hero-cta-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(149, 184, 88, 0.35);
  color: #faf8f5;
}
.cta-icon {
  font-size: 1.2rem;
  color: var(--brand-lime);
}
.cta-label {
  font-size: 0.88rem;
  font-weight: 700;
}

/* Badges genéricos */
.badge-green {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* Negro sobre lima — 6.93:1 ✓ */
  background: var(--brand-lime);
  color: var(--brand-black);
}
.badge-dark {
  background: var(--dark-700);
  color: var(--brand-lime);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
}

/* ══════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.delay-1,
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.delay-2,
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.delay-3,
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.delay-4,
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ══════════════════════════════════════════════
   BLOCKQUOTES
══════════════════════════════════════════════ */
blockquote {
  border-left: 4px solid var(--brand-vivid);
  padding: 0.85rem 1.25rem;
  background: var(--green-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: "Source Serif 4", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--brand-green);
  line-height: 1.55;
  margin: 1.5rem 0;
}
[data-theme="dark"] blockquote {
  background: rgba(1, 168, 91, 0.07);
  color: var(--green-200);
}

/* ══════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════ */
.text-center {
  text-align: center;
}
.text-green {
  color: var(--brand-green);
}
.text-vivid {
  color: var(--brand-vivid);
}
.text-lime {
  color: var(--brand-lime);
}
.text-muted {
  color: var(--color-text-muted);
}
.bg-alt {
  background: var(--color-bg-alt);
}
.bg-dark {
  background: var(--dark-800);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .notary-grid {
    grid-template-columns: 320px 1fr;
    gap: 3.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .map-wrapper {
    grid-template-columns: 1fr 360px;
  }
}
@media (max-width: 900px) {
  .section-pad {
    padding-block: 4rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 8.5rem 1.5rem 0;
  }
  .hero-bg-num {
    display: none;
  }
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat:nth-child(2) {
    border-right: none;
  }
  .hero-stat:nth-child(3) {
    border-right: 1px solid rgba(206, 190, 164, 0.1);
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .notary-grid {
    grid-template-columns: 1fr;
  }
  .notary-photo-card {
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 4/5;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(3) {
    border-right: 1px solid rgba(206, 190, 164, 0.08);
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .steps-grid::before {
    display: none;
  }
  .articles-grid,
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
  .map-wrapper {
    grid-template-columns: 1fr;
  }
  .map-embed iframe {
    min-height: 360px;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .three-col-grid {
    grid-template-columns: 1fr 1fr;
  }
  .four-col-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .btn-login,
  .btn-nav-schedule,
  .btn-nav-cta {
    display: none;
  }
}
@media (max-width: 640px) {
  .section-pad {
    padding-block: 3rem;
  }
  .hero-actions-panel {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats-bar {
    grid-template-columns: 1fr 1fr;
    padding-inline: 1.25rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .footer-legal-links {
    display: none;
  }
  .cta-box-actions,
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-box-actions .btn,
  .cta-buttons .btn {
    justify-content: center;
  }
  .mission-card {
    padding: 2rem;
  }
  .map-contact {
    padding: 2rem 1.5rem;
  }
  .navbar-inner {
    padding-inline: 1.25rem;
  }
}
