/* ==========================================================================
       1. VARIABLES & PALETA DE COLOR DE MARCA
       - Marfil:         60–70% (#F6F1E9) - Fondo principal
       - Berenjena:      15–20% (#55193A) - Textos principales, botones, acentos
       - Verde petróleo: 5–10%  (#133D3A) - Secundarios, hovers, iconos
       - Rosa antiguo:   5–7%   (#CBB7BD) - Fondos de tarjetas, detalles suaves
       - Ciruela carbón: 2–3%   (#391329) - Textos oscuros, contraste profundo
       - Ocre:           ≤1%    (#9C824F) - Acentos puntuales, líneas, separadores
       ========================================================================== */
    :root {
      --ivory: #F6F1E9;
      --ivory-light: #FAF7F2;
      --ivory-card: #FFFFFF;
      --sand: #ECE6DD;
      --sand-dark: #E2DACF;
      --plum: #55193A;
      --plum-dark: #3F112A;
      --plum-light: rgba(85, 25, 58, 0.08);
      --petrol: #133D3A;
      --petrol-dark: #0D2C2A;
      --petrol-light: rgba(19, 61, 58, 0.09);
      --rose: #CBB7BD;
      --rose-light: rgba(203, 183, 189, 0.35);
      --rose-card: rgba(203, 183, 189, 0.2);
      --ink: #2B2426;
      --ink-soft: #5A4E53;
      --ink-muted: #7E7277;
      --ocre: #9C824F;
      --ocre-light: rgba(156, 130, 79, 0.22);
      
      --font-serif: 'Cormorant Garamond', Georgia, serif;
      --font-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 18px;
      --radius-full: 9999px;
      
      --shadow-sm: 0 2px 8px rgba(85, 25, 58, 0.04);
      --shadow-md: 0 8px 24px rgba(85, 25, 58, 0.07);
      --shadow-card: 0 4px 20px rgba(57, 19, 41, 0.035);
      --shadow-card-hover: 0 12px 30px rgba(85, 25, 58, 0.09);
      
      --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      
      --header-height: 84px;
      --header-height-mobile: 70px;
      --container-max-width: 1200px;
    }

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

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--header-height);
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      background-color: var(--ivory);
      color: var(--ink);
      font-family: var(--font-sans);
      font-weight: 400;
      line-height: 1.64;
      overflow-x: hidden;
      width: 100%;
    }

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

    h1 {
      font-size: clamp(34px, 4.5vw, 52px);
      line-height: 1.15;
    }

    h2 {
      font-size: clamp(34px, 4vw, 46px);
      line-height: 1.16;
    }

    h3 {
      font-size: clamp(23px, 2.6vw, 28px);
      line-height: 1.25;
    }

    p {
      margin-bottom: 12px;
      font-size: 15.5px;
      line-height: 1.64;
      color: var(--ink);
      font-weight: 400;
    }

    p:last-child {
      margin-bottom: 0;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color var(--transition-fast), border-color var(--transition-fast);
    }

    img, svg {
      display: block;
      max-width: 100%;
    }

    button, input, textarea {
      font-family: inherit;
      outline: none;
    }

    /* Contenedor Principal Unificado (Mismo margen exacto para Header y Contenido) */
    .wrap {
      width: min(var(--container-max-width), calc(100% - 48px));
      margin-inline: auto;
    }

    @media (max-width: 768px) {
      .wrap {
        width: min(100% - 32px, var(--container-max-width));
      }
    }

    /* ==========================================================================
       3. REUSABLE UI ELEMENTS
       ========================================================================== */
    .section-title {
      font-family: var(--font-serif);
      font-size: clamp(36px, 4.2vw, 48px);
      color: var(--plum);
      font-weight: 600;
      line-height: 1.14;
      margin-bottom: 0;
    }

    .section-lead {
      font-size: 15.5px;
      color: #241D20;
      font-weight: 400;
      line-height: 1.64;
      max-width: 700px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10.5px 22px;
      background-color: var(--plum);
      color: var(--ivory);
      border: 1px solid var(--plum);
      border-radius: var(--radius-sm);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(85, 25, 58, 0.18);
      transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
      text-align: center;
      will-change: transform, box-shadow;
    }

    .btn:hover {
      background-color: var(--plum-dark);
      border-color: var(--plum-dark);
      color: #FFFFFF;
      box-shadow: 0 8px 22px rgba(85, 25, 58, 0.26);
    }

    .btn:active {
      transform: scale(0.99);
      box-shadow: 0 2px 8px rgba(85, 25, 58, 0.2);
    }

    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13.5px;
      font-weight: 500;
      letter-spacing: 0.3px;
      color: var(--petrol);
      border-bottom: 1px solid rgba(19, 61, 58, 0.35);
      padding-bottom: 3px;
      transition: all var(--transition-fast);
    }

    .text-link:hover {
      color: var(--plum);
      border-bottom-color: var(--plum);
      transform: translateX(3px);
    }

    .text-link svg {
      transition: transform var(--transition-fast);
    }

    .text-link:hover svg {
      transform: translateX(4px);
    }

    section {
      padding: 72px 0;
      position: relative;
    }

    .section-border-top {
      border-top: 1px solid var(--ocre-light);
    }

    .section-sand {
      background-color: var(--sand);
    }

    .section-ivory {
      background-color: var(--ivory);
    }

    /* Grid cabecera de secciones (editorial de 2 columnas, balanceado y alineado) */
    .grid-head-layout {
      display: grid;
      grid-template-columns: 1fr 1.25fr;
      gap: 40px;
      margin-bottom: 34px;
      align-items: start;
    }

    .grid-head-layout h2.section-title {
      margin-bottom: 0;
      line-height: 1.15;
    }

    .grid-head-layout p,
    .grid-head-layout .section-lead {
      font-size: 15.5px;
      color: #241D20;
      font-weight: 400;
      line-height: 1.64;
      margin-bottom: 10px;
    }

    .grid-head-layout p:last-child,
    .grid-head-layout .section-lead:last-child {
      margin-bottom: 0;
    }

    /* ==========================================================================
       4. HEADER & STICKY NAVIGATION (OPCIÓN A: ALINEACIÓN PERFECTA DENTRO DEL WRAP)
       ========================================================================== */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      background-color: rgba(246, 241, 233, 0.96);
      border-bottom: 1px solid var(--ocre-light);
      transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    }

    .scroll-progress-bar {
      position: absolute;
      bottom: -1px;
      left: 0;
      height: 2.5px;
      width: 0%;
      background: linear-gradient(90deg, var(--plum), var(--petrol), var(--ocre));
      transition: width 0.08s linear;
      z-index: 1001;
      pointer-events: none;
    }

    /* Estado fijo con scroll: fondo blanco con leve transparencia y blur */
    header.is-scrolled {
      background-color: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(156, 130, 79, 0.18);
      box-shadow: 0 4px 20px rgba(57, 19, 41, 0.05);
    }

    .header-inner {
      height: var(--header-height);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      width: 100%;
    }

    /* Brand Logo & Name */
    .brand {
      display: flex;
      align-items: center;
      gap: 11px;
      flex-shrink: 0;
      text-decoration: none;
    }

    .brand-mark {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--plum), var(--plum-dark));
      color: var(--ivory);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-serif);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 7px rgba(85, 25, 58, 0.16);
      border: 1px solid rgba(156, 130, 79, 0.4);
      flex-shrink: 0;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
    }

    .logo-name {
      font-family: var(--font-serif);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: #350F23;
      line-height: 1.12;
      white-space: nowrap;
    }

    .logo-sub {
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      color: var(--petrol-dark);
      line-height: 1.2;
      margin-top: 2px;
      white-space: nowrap;
    }

    /* Desktop Navigation Links */
    nav.desktop-nav {
      display: flex;
      align-items: center;
      gap: clamp(14px, 1.8vw, 26px);
    }

    nav.desktop-nav a.nav-link {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: var(--ink);
      white-space: nowrap;
      position: relative;
      display: inline-block;
      padding: 6px 0;
      transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    nav.desktop-nav a.nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1.5px;
      background: linear-gradient(90deg, var(--plum) 0%, rgba(85, 25, 58, 0.65) 75%, rgba(156, 130, 79, 0.25) 100%);
      transform: scaleX(0);
      transform-origin: left center;
      opacity: 0;
      transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
      pointer-events: none;
    }

    nav.desktop-nav a.nav-link:hover,
    nav.desktop-nav a.nav-link:focus-visible,
    nav.desktop-nav a.nav-link.active {
      color: var(--plum);
    }

    nav.desktop-nav a.nav-link:hover::after,
    nav.desktop-nav a.nav-link:focus-visible::after,
    nav.desktop-nav a.nav-link.active::after {
      transform: scaleX(1);
      opacity: 1;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    /* Botón Header estilizado y refinado (no invasivo) */
    .header-btn {
      padding: 9px 18px;
      font-size: 11px;
      letter-spacing: 1.1px;
      border-radius: var(--radius-sm);
      box-shadow: 0 2px 8px rgba(85, 25, 58, 0.12);
      white-space: nowrap;
    }

    /* Botón Hamburguesa */
    .hamburger-btn {
      display: none;
      width: 40px;
      height: 40px;
      background: transparent;
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-sm);
      color: var(--plum);
      cursor: pointer;
      align-items: center;
      justify-content: center;
      padding: 0;
      transition: background-color var(--transition-fast);
    }

    .hamburger-btn:hover {
      background-color: var(--rose-light);
    }

    .hamburger-icon {
      width: 19px;
      height: 14px;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .hamburger-btn {
      transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hamburger-btn:active {
      transform: scale(0.92);
    }

    .hamburger-icon span {
      display: block;
      width: 100%;
      height: 2px;
      background-color: var(--plum);
      border-radius: 2px;
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease;
      transform-origin: center;
    }

    .hamburger-btn.is-active .hamburger-icon span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .hamburger-btn.is-active .hamburger-icon span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .hamburger-btn.is-active .hamburger-icon span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    /* Menú Móvil Desplegable con Fondo Blanco y Animación */
    .mobile-menu {
      position: fixed;
      top: var(--header-height);
      left: 0;
      width: 100%;
      height: calc(100vh - var(--header-height));
      max-height: calc(100vh - var(--header-height));
      background-color: rgba(255, 255, 255, 0.86);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      display: flex;
      flex-direction: column;
      padding: 24px 24px 30px;
      transform: translateY(-12px);
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease, visibility 0.4s;
      border-bottom: 1px solid var(--ocre-light);
      box-shadow: 0 20px 40px rgba(57, 19, 41, 0.08);
      z-index: 1050;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .mobile-menu.is-open {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .mobile-menu-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 20px;
    }

    .mobile-menu-links a {
      font-family: var(--font-serif);
      font-size: 23px;
      font-weight: 600;
      color: var(--plum);
      padding: 6px 0;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
      display: inline-block;
      width: fit-content;
      position: relative;
    }

    .mobile-menu-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1.5px;
      background: linear-gradient(90deg, var(--plum) 0%, rgba(85, 25, 58, 0.65) 75%, rgba(156, 130, 79, 0.25) 100%);
      transform: scaleX(0);
      transform-origin: left center;
      opacity: 0;
      transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
      pointer-events: none;
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a:active,
    .mobile-menu-links a.active {
      color: var(--plum-dark);
    }

    .mobile-menu-links a:hover::after,
    .mobile-menu-links a:active::after,
    .mobile-menu-links a.active::after {
      transform: scaleX(1);
      opacity: 1;
    }

    /* Animación en cascada de los elementos al abrir */
    .mobile-menu.is-open .mobile-menu-links a:nth-child(1) { transition-delay: 0.04s; opacity: 1; transform: translateY(0); }
    .mobile-menu.is-open .mobile-menu-links a:nth-child(2) { transition-delay: 0.09s; opacity: 1; transform: translateY(0); }
    .mobile-menu.is-open .mobile-menu-links a:nth-child(3) { transition-delay: 0.14s; opacity: 1; transform: translateY(0); }
    .mobile-menu.is-open .mobile-menu-links a:nth-child(4) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
    .mobile-menu.is-open .mobile-menu-links a:nth-child(5) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
    .mobile-menu.is-open .mobile-menu-links a:nth-child(6) { transition-delay: 0.29s; opacity: 1; transform: translateY(0); }

    .mobile-menu-cta-wrap {
      margin-top: 4px;
      margin-bottom: 20px;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.34s, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.34s;
    }

    .mobile-menu.is-open .mobile-menu-cta-wrap {
      opacity: 1;
      transform: translateY(0);
    }

    .mobile-menu-cta-wrap .btn {
      width: 100%;
      padding: 14px 20px;
      font-size: 12px;
      letter-spacing: 1.2px;
      text-align: center;
      display: flex;
      justify-content: center;
      box-shadow: 0 6px 18px rgba(85, 25, 58, 0.2);
    }

    .mobile-menu-contact {
      padding-top: 18px;
      border-top: 1px dashed rgba(156, 130, 79, 0.28);
      display: flex;
      flex-direction: column;
      gap: 12px;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.38s, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
    }

    .mobile-menu.is-open .mobile-menu-contact {
      opacity: 1;
      transform: translateY(0);
    }

    .mobile-menu-contact .contact-channels-wrap {
      gap: 10px;
    }

    .mobile-menu-contact .contact-meta-box {
      padding: 14px 16px;
      gap: 8px;
    }

    /* Ocultar botón flotante cuando el menú móvil está abierto para evitar solapamientos */
    body.mobile-menu-open .scroll-top-btn {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      transform: translateY(20px) !important;
    }

    /* ==========================================================================
       5. HERO SECTION (#inicio)
       ========================================================================== */
    .hero {
      padding: 60px 0 90px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.3) 100%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .hero h1 {
      margin-bottom: 22px;
      max-width: 660px;
      font-weight: 500;
      line-height: 1.22;
      text-wrap: balance;
    }

    .hero .credentials {
      font-size: 15px;
      color: var(--petrol);
      font-weight: 500;
      margin-bottom: 28px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
    }

    .hero .credentials-text {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .credentials-badges {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.2px;
      color: var(--petrol-dark);
      background: rgba(19, 61, 58, 0.08);
      padding: 6px 13px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(19, 61, 58, 0.2);
      white-space: nowrap;
      line-height: 1;
    }

    .online-indicator {
      display: inline-block;
      width: 7.5px;
      height: 7.5px;
      border-radius: 50%;
      background-color: #2E7D32;
      box-shadow: 0 0 0 2.5px rgba(46, 125, 50, 0.2);
      flex-shrink: 0;
    }

    .hero-cta-wrap {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* Doctoralia Verified Reviews Trust Pill */
    .doctoralia-trust-pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 6px 14px;
      background-color: #FFFFFF;
      border: 1px solid rgba(156, 130, 79, 0.32);
      border-radius: var(--radius-full);
      text-decoration: none;
      color: var(--ink);
      white-space: nowrap;
      line-height: 1;
      box-shadow: 0 2px 10px rgba(57, 19, 41, 0.04);
      transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
      cursor: pointer;
    }

    .doctoralia-trust-pill:hover {
      border-color: var(--plum);
      box-shadow: 0 6px 20px rgba(85, 25, 58, 0.1);
      transform: translateY(-1.5px);
    }

    .doctoralia-stars {
      display: inline-flex;
      gap: 1.5px;
      color: #00A389;
      font-size: 13.5px;
      letter-spacing: -0.5px;
      line-height: 1;
    }

    .doctoralia-score {
      font-size: 13px;
      font-weight: 700;
      color: var(--plum);
      line-height: 1;
    }

    .doctoralia-divider {
      color: rgba(156, 130, 79, 0.5);
      font-size: 12px;
      line-height: 1;
    }

    .doctoralia-text {
      font-size: 12px;
      font-weight: 500;
      color: var(--ink-soft);
      line-height: 1;
    }

    .doctoralia-arrow {
      color: var(--ocre);
      margin-left: 2px;
      transition: transform 0.2s ease, color 0.2s ease;
      flex-shrink: 0;
    }

    .doctoralia-trust-pill:hover .doctoralia-arrow {
      color: var(--plum);
      transform: translate(2px, -2px);
    }

    .hero-visual {
      position: relative;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      max-width: 440px;
      margin-left: auto;
      margin-right: 0;
      justify-self: end;
      width: 100%;
    }

    .hero-card-frame {
      width: 100%;
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-lg);
      padding: 16px 16px 18px;
      box-shadow: var(--shadow-md);
      text-align: center;
      transition: box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .hero-card-frame:hover {
      box-shadow: 0 10px 28px rgba(85, 25, 58, 0.1);
      border-color: rgba(156, 130, 79, 0.45);
    }

    .hero-portrait-wrap {
      width: 100%;
      aspect-ratio: 1/1.18;
      border-radius: var(--radius-md);
      overflow: hidden;
      margin-bottom: 14px;
      border: 1px solid rgba(156, 130, 79, 0.22);
      box-shadow: 0 4px 14px rgba(57, 19, 41, 0.05);
      background-color: var(--ivory-light);
    }

    .hero-portrait-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
      display: block;
    }

    .hero-card-frame .therapist-name {
      font-family: var(--font-serif);
      font-size: 21px;
      font-weight: 600;
      color: var(--plum);
      margin-bottom: 4px;
      line-height: 1.25;
      text-align: center;
    }

    .hero-card-frame .therapist-title {
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--petrol);
      font-weight: 600;
      margin-bottom: 4px;
      line-height: 1.35;
      text-align: center;
    }

    .hero-card-frame .therapist-col {
      font-size: 11.5px;
      color: var(--ink-soft);
      font-weight: 500;
      letter-spacing: 0.4px;
      text-align: center;
    }

    /* ==========================================================================
       6. CON QUÉ TRABAJO (#territorio)
       ========================================================================== */
    .territory-cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 10px;
    }

    .service-card {
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-top: 3.5px solid var(--plum);
      border-radius: var(--radius-md);
      padding: 30px 26px 24px;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-card);
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
      position: relative;
    }

    .service-card:hover {
      box-shadow: var(--shadow-card-hover);
      border-color: rgba(85, 25, 58, 0.3);
      border-top-color: var(--plum);
    }

    .service-card .card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .service-card .row-num {
      font-family: var(--font-sans);
      font-size: 13px;
      font-weight: 700;
      color: var(--petrol);
      line-height: 1;
      letter-spacing: 1.5px;
      font-variant-numeric: tabular-nums;
      background: rgba(19, 61, 58, 0.08);
      padding: 5px 12px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(19, 61, 58, 0.16);
    }

    .service-card .card-icon-pill {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background-color: var(--plum-light);
      color: var(--plum);
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(85, 25, 58, 0.12);
      transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    }

    .service-card:hover .card-icon-pill {
      background-color: var(--plum);
      color: #FFFFFF;
      transform: scale(1.05);
    }

    .service-card h3 {
      font-size: 23px;
      font-weight: 600;
      margin-bottom: 14px;
      color: var(--plum);
      line-height: 1.25;
    }

    .service-card p {
      font-size: 15px;
      color: var(--ink);
      line-height: 1.64;
      margin-bottom: 0;
      font-weight: 400;
    }

    /* ==========================================================================
       7. EN QUÉ PUEDO AYUDARTE (#ayuda)
       - Números en círculo morado (plum) con texto blanco
       - Títulos en negrita
       - Tarjeta "Otros motivos de consulta" con alto contraste y definición
       ========================================================================== */
    .help-articles-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-top: 10px;
    }

    .help-article-card {
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-md);
      padding: 32px 34px;
      box-shadow: var(--shadow-card);
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 24px;
      align-items: start;
      transition: all var(--transition-normal);
    }

    .help-article-card:hover {
      border-color: rgba(85, 25, 58, 0.28);
      box-shadow: var(--shadow-card-hover);
    }

    /* Círculo berenjena con número en blanco, plano y limpio sin sombras */
    .num-circle {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background-color: var(--plum);
      color: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-sans);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.05em;
      font-variant-numeric: tabular-nums;
      box-shadow: none;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .help-article-card h3 {
      font-size: 25px;
      font-weight: 600; /* Negrita */
      margin-bottom: 12px;
      color: var(--plum);
    }

    .help-article-card p {
      font-size: 15.5px;
      color: var(--ink);
      line-height: 1.62;
      margin-bottom: 9px;
      font-weight: 400;
    }

    .help-article-card p:last-child {
      margin-bottom: 0;
    }

    .medical-note-box {
      background: var(--rose-card);
      border-left: 3px solid var(--petrol);
      padding: 10px 14px;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin-top: 12px;
      font-size: 13.5px !important;
      line-height: 1.5;
      color: var(--ink-soft) !important;
    }

    /* Caja "Otros motivos de consulta" con alto contraste */
    .other-reasons-box {
      margin-top: 32px;
      background: #FFFFFF;
      border: 1px solid rgba(85, 25, 58, 0.18);
      border-left: 4px solid var(--plum);
      border-radius: var(--radius-md);
      padding: 24px 28px;
      display: flex;
      align-items: center;
      gap: 20px;
      box-shadow: 0 4px 18px rgba(57, 19, 41, 0.05);
      transition: all var(--transition-normal);
    }

    .other-reasons-box:hover {
      box-shadow: 0 8px 24px rgba(85, 25, 58, 0.08);
      border-color: rgba(85, 25, 58, 0.3);
    }

    .other-reasons-icon {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--plum-light);
      color: var(--plum);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border: 1px solid rgba(85, 25, 58, 0.12);
    }

    .other-reasons-box h3 {
      font-family: var(--font-serif);
      font-size: 22px;
      font-weight: 600;
      color: var(--plum);
      margin-bottom: 4px;
    }

    .other-reasons-box p {
      font-size: 15px;
      color: var(--ink);
      line-height: 1.58;
      margin-bottom: 0;
    }

    /* ==========================================================================
       8. CÓMO TRABAJO (#como-trabajo)
       ========================================================================== */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
      margin-top: 20px;
    }

    .step-card {
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-md);
      padding: 28px 26px;
      box-shadow: var(--shadow-card);
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
      display: flex;
      flex-direction: column;
    }

    .step-card:hover {
      box-shadow: var(--shadow-card-hover);
      border-color: rgba(85, 25, 58, 0.25);
    }

    .step-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 16px;
    }

    .step-card .num-circle {
      width: 40px;
      height: 40px;
      font-size: 14.5px;
      margin-top: 0;
      flex-shrink: 0;
    }

    .step-header h3,
    .step-card h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 0;
      color: var(--plum);
      line-height: 1.25;
    }

    .step-card p {
      font-size: 15px;
      color: var(--ink);
      line-height: 1.62;
      margin-bottom: 9px;
      font-weight: 400;
    }

    .step-card p:last-child {
      margin-bottom: 0;
    }

    /* Tools Banner */
    .tools-banner {
      margin-top: 36px;
      background: linear-gradient(135deg, var(--plum), var(--plum-dark));
      color: var(--ivory);
      border-radius: var(--radius-lg);
      padding: 34px 36px;
      box-shadow: var(--shadow-md);
    }

    .tools-banner h3 {
      color: var(--ivory);
      font-size: 25px;
      margin-bottom: 12px;
    }

    .tools-banner p {
      color: rgba(246, 241, 233, 0.92);
      font-size: 15px;
      line-height: 1.6;
      max-width: 800px;
      margin-bottom: 10px;
    }

    .tools-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 18px 0 16px;
    }

    .tool-tag {
      display: inline-flex;
      align-items: center;
      padding: 7px 14px;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: var(--radius-full);
      font-size: 13px;
      font-weight: 400;
      color: var(--ivory);
      letter-spacing: 0.3px;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      transition: all var(--transition-fast);
    }

    .tool-tag:hover {
      background: rgba(255, 255, 255, 0.2);
      border-color: rgba(255, 255, 255, 0.4);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .clinical-framework-quote {
      border-left: 2px solid var(--ocre);
      padding-left: 16px;
      margin-top: 14px;
      font-family: var(--font-serif);
      font-size: 20px;
      font-style: italic;
      color: var(--ivory);
    }

    /* ==========================================================================
       9. SOBRE MÍ (#sobre-mi)
       ========================================================================== */
    .about-layout {
      display: grid;
      grid-template-columns: 330px 1fr;
      gap: 44px;
      align-items: start;
      margin-top: 20px;
    }

    .about-photo-wrapper {
      position: sticky;
      top: calc(var(--header-height) + 20px);
    }

    .about-photo-card {
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-lg);
      padding: 16px;
      box-shadow: var(--shadow-md);
      text-align: center;
      transition: box-shadow 0.3s ease;
    }

    .about-photo-card:hover {
      box-shadow: 0 10px 28px rgba(85, 25, 58, 0.1);
    }

    .about-portrait-wrap {
      width: 100%;
      aspect-ratio: 1/1.18;
      border-radius: var(--radius-md);
      overflow: hidden;
      margin-bottom: 14px;
      border: 1px solid rgba(156, 130, 79, 0.22);
      box-shadow: 0 4px 14px rgba(57, 19, 41, 0.06);
      background-color: var(--ivory-light);
    }

    .about-portrait-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
      display: block;
    }

    .about-photo-card .therapist-name {
      font-family: var(--font-serif);
      font-size: 21px;
      font-weight: 600;
      color: var(--plum);
      margin-bottom: 4px;
      line-height: 1.25;
      text-align: center;
    }

    .about-photo-card .therapist-title {
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--petrol);
      font-weight: 600;
      margin-bottom: 4px;
      line-height: 1.35;
      text-align: center;
    }

    .about-photo-card .therapist-col {
      font-size: 11.5px;
      color: var(--ink-soft);
      font-weight: 500;
      letter-spacing: 0.4px;
      text-align: center;
    }

    .about-content-body {
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-lg);
      padding: 34px 36px;
      box-shadow: var(--shadow-card);
    }

    .about-content-body p {
      line-height: 1.62;
      margin-bottom: 12px;
    }

    .about-content-body .lead-paragraph {
      font-family: var(--font-sans);
      font-size: 20px;
      font-style: normal;
      font-weight: 500;
      line-height: 1.55;
      color: var(--plum);
      margin-bottom: 22px;
      border-left: 3.5px solid var(--ocre);
      padding-left: 18px;
    }

    .about-subsections {
      margin-top: 32px;
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .about-subsection-card {
      background: var(--rose-card);
      border-radius: var(--radius-md);
      padding: 24px 26px;
      border: 1px solid rgba(156, 130, 79, 0.2);
    }

    .about-subsection-card h3 {
      font-size: 23px;
      font-weight: 600;
      color: var(--plum);
      margin-bottom: 12px;
      letter-spacing: 0.2px;
    }

    .about-subsection-card p {
      font-size: 14.5px;
      line-height: 1.58;
      margin-bottom: 9px;
    }

    .about-subsection-card p:last-child {
      margin-bottom: 0;
    }

    /* ==========================================================================
       10. PREGUNTAS FRECUENTES (#faq)
       - Fondo semi-transparente elegante con efecto cristal (blur)
       - Transición de apertura y cierre fluida y suave
       ========================================================================== */
    .faq-container {
      margin-top: 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    details.faq-item {
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
      overflow: hidden;
      will-change: height;
    }

    details.faq-item:hover {
      border-color: rgba(156, 130, 79, 0.45);
      box-shadow: 0 4px 16px rgba(57, 19, 41, 0.05);
    }

    details.faq-item[open] {
      background: transparent;
      border-color: rgba(85, 25, 58, 0.25);
      box-shadow: 0 4px 18px rgba(57, 19, 41, 0.06);
    }

    summary.faq-summary {
      background: var(--ivory-card);
      cursor: pointer;
      font-family: var(--font-serif);
      font-size: 22px;
      font-weight: 600;
      color: var(--plum);
      list-style: none;
      padding: 18px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      user-select: none;
      transition: color var(--transition-fast);
    }

    summary.faq-summary::-webkit-details-marker {
      display: none;
    }

    summary.faq-summary:hover {
      color: var(--plum-dark);
    }

    .faq-icon-toggle {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--petrol-light);
      color: var(--petrol);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-sans);
      font-size: 17px;
      font-weight: 300;
      flex-shrink: 0;
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
    }

    summary.faq-summary:hover .faq-icon-toggle {
      background: rgba(85, 25, 58, 0.12);
      color: var(--plum);
    }

    details.faq-item[open] .faq-icon-toggle {
      transform: rotate(45deg);
      background-color: var(--plum);
      color: var(--ivory);
    }

    .faq-content {
      padding: 16px 22px 20px;
      border-top: 1px solid rgba(156, 130, 79, 0.14);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .faq-content p {
      font-size: 15px;
      color: var(--ink);
      line-height: 1.58;
      margin-bottom: 8px;
    }

    .faq-content p:last-child {
      margin-bottom: 0;
    }

    /* ==========================================================================
       11. SOLICITAR CONSULTA (#solicitar-consulta)
       ========================================================================== */
    .practical-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin: 24px 0 38px;
    }

    .practical-card {
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-md);
      padding: 20px 22px;
      display: flex;
      align-items: center;
      gap: 14px;
      box-shadow: var(--shadow-card);
      transition: all var(--transition-normal);
    }

    .practical-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-card-hover);
      border-color: rgba(85, 25, 58, 0.25);
    }

    .practical-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--petrol-light);
      color: var(--petrol);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .practical-card-info strong {
      display: block;
      font-size: 10.5px;
      font-weight: 600;
      letter-spacing: 1.3px;
      text-transform: uppercase;
      color: var(--petrol);
      margin-bottom: 2px;
    }

    .practical-card-info span {
      font-family: var(--font-serif);
      font-size: 24px;
      font-weight: 600;
      color: var(--plum);
    }

    .consulta-layout {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 40px;
      align-items: start;
    }

    .contact-info-panel {
      background: linear-gradient(135deg, var(--ivory-light), var(--rose-card));
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-lg);
      padding: 30px 28px;
    }

    .contact-info-panel p {
      font-size: 15.5px;
      color: var(--ink);
      line-height: 1.68;
      margin-bottom: 0;
    }

    .contact-channels-wrap {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin: 20px 0;
    }

    .contact-email-btn {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 13px 16px;
      background: #FFFFFF;
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-md);
      color: var(--ink);
      text-decoration: none;
      box-shadow: var(--shadow-sm);
      transition: border-color 0.25s ease, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform, box-shadow;
    }

    .contact-email-btn:hover {
      border-color: var(--plum);
      box-shadow: 0 6px 18px rgba(85, 25, 58, 0.12);
    }

    .contact-email-icon {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--plum-light);
      color: var(--plum);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: all var(--transition-fast);
    }

    .contact-email-btn:hover .contact-email-icon {
      background: var(--plum);
      color: #FFFFFF;
    }

    .contact-email-icon.icon-whatsapp {
      background: rgba(37, 211, 102, 0.12);
      color: #128C7E;
    }

    .contact-email-btn:hover .contact-email-icon.icon-whatsapp {
      background: #25D366;
      color: #FFFFFF;
    }

    .contact-email-text {
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .contact-email-label {
      font-size: 10.5px;
      font-weight: 600;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      color: var(--petrol);
      margin-bottom: 2px;
    }

    .contact-email-address {
      font-size: 14px;
      font-weight: 500;
      color: var(--plum);
    }

    .contact-email-arrow {
      color: var(--petrol);
      transition: transform var(--transition-fast);
      margin-left: auto;
    }

    .contact-email-btn:hover .contact-email-arrow {
      transform: translateX(4px);
      color: var(--plum);
    }

    .contact-meta-box {
      background: var(--ivory-light);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-md);
      padding: 16px 18px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .contact-meta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 13px;
      border-bottom: 1px dashed rgba(156, 130, 79, 0.25);
      padding-bottom: 8px;
    }

    .contact-meta-row:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .contact-meta-k {
      color: var(--ink-soft);
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .contact-meta-v {
      color: var(--plum);
      font-weight: 600;
      text-align: right;
    }

    .form-card {
      background: var(--ivory-card);
      border: 1px solid var(--ocre-light);
      border-radius: var(--radius-lg);
      padding: 34px 32px;
      box-shadow: var(--shadow-md);
      transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
    }

    .form-card.is-highlighted {
      animation: formCardHighlight 1.8s ease-out;
    }

    @keyframes formCardHighlight {
      0% {
        border-color: var(--plum);
        box-shadow: 0 0 0 4px rgba(85, 25, 58, 0.22), 0 8px 30px rgba(85, 25, 58, 0.12);
        transform: translateY(-2px);
      }
      60% {
        border-color: var(--plum);
        box-shadow: 0 0 0 4px rgba(85, 25, 58, 0.12), 0 8px 26px rgba(85, 25, 58, 0.08);
        transform: translateY(0);
      }
      100% {
        border-color: var(--ocre-light);
        box-shadow: var(--shadow-md);
        transform: translateY(0);
      }
    }

    .form-group {
      margin-bottom: 18px;
    }

    label.form-label {
      display: block;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--petrol);
      margin-bottom: 6px;
    }

    input.form-control,
    textarea.form-control {
      width: 100%;
      border: 1px solid rgba(156, 130, 79, 0.28);
      border-radius: var(--radius-sm);
      background: var(--ivory-light);
      padding: 11px 13px;
      font: 300 15px var(--font-sans);
      color: var(--ink);
      transition: all var(--transition-fast);
    }

    input.form-control:focus,
    textarea.form-control:focus {
      border-color: var(--plum);
      background: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(85, 25, 58, 0.1);
    }

    .phone-input-group {
      display: flex;
      gap: 8px;
      align-items: stretch;
      width: 100%;
    }

    .phone-country-select {
      flex: 0 0 auto;
      max-width: 140px;
      width: 38%;
      border: 1px solid rgba(156, 130, 79, 0.28);
      border-radius: var(--radius-sm);
      background: var(--ivory-light);
      padding: 11px 8px 11px 10px;
      font: 300 14.5px var(--font-sans);
      color: var(--ink);
      cursor: pointer;
      outline: none;
      transition: all var(--transition-fast);
    }

    .phone-country-select:focus {
      border-color: var(--plum);
      background: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(85, 25, 58, 0.1);
    }

    .phone-number-input {
      flex: 1 1 auto;
      min-width: 0;
    }

    textarea.form-control {
      min-height: 110px;
      resize: vertical;
    }

    .consent-label {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 12.5px;
      color: var(--ink-soft);
      cursor: pointer;
      line-height: 1.45;
      margin-bottom: 22px;
    }

    .consent-label input[type="checkbox"] {
      width: 17px;
      height: 17px;
      margin-top: 2px;
      accent-color: var(--plum);
      flex-shrink: 0;
      cursor: pointer;
    }

    input.form-control.is-invalid,
    textarea.form-control.is-invalid,
    select.phone-country-select.is-invalid {
      border-color: #D32F2F !important;
      background-color: #FFF8F8 !important;
      box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1) !important;
    }

    .field-error {
      display: none;
      font-size: 12px;
      color: #D32F2F;
      margin-top: 5px;
      line-height: 1.4;
      font-weight: 400;
    }

    .field-error.is-visible {
      display: block;
    }

    .form-feedback {
      display: none;
      padding: 14px 16px;
      border-radius: var(--radius-sm);
      margin-top: 16px;
      font-size: 14px;
      line-height: 1.5;
    }

    .form-feedback.success {
      display: block;
      background-color: #E8F5E9;
      color: #2E7D32;
      border: 1px solid #A5D6A7;
    }

    .form-feedback.error {
      display: block;
      background-color: #FFEBEE;
      color: #C62828;
      border: 1px solid #FFCDD2;
    }

    .btn:disabled {
      opacity: 0.75;
      cursor: not-allowed;
      transform: none !important;
      box-shadow: none !important;
    }

    /* Enlace a Política de Privacidad */
    .privacy-link {
      color: var(--plum);
      font-weight: 500;
      text-decoration: underline;
      text-underline-offset: 2px;
      cursor: pointer;
      transition: color var(--transition-fast);
    }

    .privacy-link:hover {
      color: var(--petrol);
    }

    /* ==========================================================================
       12. CIERRE & LLAMADA A LA ACCIÓN FINAL (CUADRO TRANSLÚCIDO SUAVE)
       ========================================================================== */
    .closing-section {
      text-align: center;
      padding: 68px 0 76px;
      position: relative;
    }

    .closing-box {
      max-width: 860px;
      margin-inline: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 52px 48px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.42) 100%);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(156, 130, 79, 0.28);
      border-radius: var(--radius-lg);
      box-shadow: 0 8px 24px rgba(85, 25, 58, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
    }

    .closing-box .closing-question {
      font-family: var(--font-serif);
      font-size: clamp(34px, 4.2vw, 44px);
      line-height: 1.18;
      color: var(--plum);
      margin-bottom: 24px;
      font-weight: 600;
      text-align: center;
      max-width: 700px;
    }

    /* ==========================================================================
       13. FOOTER ELEGANTE & DETALLADO (ALTO CONTRASTE)
       ========================================================================== */
    footer {
      border-top: 1.5px solid rgba(156, 130, 79, 0.32);
      padding: 64px 0 32px;
      background: linear-gradient(135deg, #FAF7F2 0%, #EFE8E5 100%);
      color: var(--ink);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.35fr 0.85fr 1fr;
      gap: 44px;
      margin-bottom: 40px;
    }

    .footer-col {
      display: flex;
      flex-direction: column;
    }

    .footer-brand-col .brand {
      margin-bottom: 14px;
      gap: 12px;
    }

    .footer-brand-col .brand-mark {
      width: 40px;
      height: 40px;
      font-size: 14.5px;
    }

    .footer-brand-col .logo-name {
      font-size: 17.5px;
      font-weight: 700;
      color: #350F23;
    }

    .footer-brand-col .logo-sub {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 2px;
    }

    .footer-tagline {
      font-size: 14px;
      color: var(--ink);
      line-height: 1.6;
      max-width: 340px;
      margin-bottom: 18px;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--petrol-dark);
      background: rgba(19, 61, 58, 0.09);
      padding: 6px 14px;
      border-radius: var(--radius-full);
      width: fit-content;
      border: 1px solid rgba(19, 61, 58, 0.22);
    }

    .footer-heading {
      font-family: var(--font-serif);
      font-size: 21px;
      font-weight: 700;
      color: var(--plum);
      margin-bottom: 18px;
      letter-spacing: 0.2px;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-links a {
      font-size: 14.5px;
      font-weight: 500;
      color: var(--ink);
      position: relative;
      display: inline-block;
      padding-bottom: 2px;
      transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .footer-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1.5px;
      background: linear-gradient(90deg, var(--plum) 0%, rgba(85, 25, 58, 0.65) 75%, rgba(156, 130, 79, 0.25) 100%);
      transform: scaleX(0);
      transform-origin: left center;
      opacity: 0;
      transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
      pointer-events: none;
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: var(--plum);
    }

    .footer-links a:hover::after,
    .footer-links a:focus-visible::after {
      transform: scaleX(1);
      opacity: 1;
    }

    .footer-contact-list {
      gap: 12px;
    }

    .footer-links .footer-email-link,
    .footer-email-link {
      display: inline-flex !important;
      flex-direction: row !important;
      align-items: center !important;
      gap: 8px;
      font-size: 14.5px;
      font-weight: 600;
      color: var(--plum) !important;
      text-decoration: none;
      white-space: nowrap;
    }

    .footer-links .footer-email-link::after {
      display: none;
    }

    .footer-email-link:hover {
      text-decoration: underline;
      color: var(--plum-dark) !important;
    }

    .footer-email-link svg {
      flex-shrink: 0;
      display: inline-block;
      vertical-align: middle;
      color: var(--petrol);
    }

    .footer-meta-item {
      font-size: 14px;
      color: var(--ink);
      line-height: 1.5;
    }

    .footer-meta-label {
      font-weight: 700;
      color: var(--petrol);
    }

    .footer-bottom {
      border-top: 1px solid rgba(156, 130, 79, 0.28);
      padding-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      font-size: 13px;
      color: var(--ink);
      flex-wrap: wrap;
    }

    .footer-copyright {
      font-variant-numeric: tabular-nums;
      color: var(--ink);
    }

    .footer-legal-links {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .footer-legal-group {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .footer-legal-links a {
      color: var(--ink);
      font-weight: 500;
      transition: color var(--transition-fast);
    }

    .footer-legal-links a:hover {
      color: var(--plum);
      text-decoration: underline;
    }

    .footer-dot {
      color: var(--ocre);
    }

    /* ==========================================================================
       14. BOTÓN FLOTANTE: VOLVER ARRIBA
       ========================================================================== */
    .scroll-top-btn {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(85, 25, 58, 0.72);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: var(--ivory);
      border: 1.5px solid rgba(246, 241, 233, 0.85);
      box-shadow: 0 4px 14px rgba(57, 19, 41, 0.16);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 998;
      opacity: 0;
      visibility: hidden;
      transform: translateY(12px) scale(0.9);
      transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .scroll-top-btn.is-visible {
      opacity: 0.62;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    .scroll-top-btn:hover,
    .scroll-top-btn:active,
    .scroll-top-btn:focus-visible {
      opacity: 1;
      background: var(--plum);
      border-color: #FFFFFF;
      box-shadow: 0 8px 24px rgba(57, 19, 41, 0.32);
    }

    /* ==========================================================================
       15. RESPONSIVE BREAKPOINTS (100% OPTIMIZADO)
       ========================================================================== */
    @media (min-width: 1081px) {
      .mobile-menu,
      .mobile-menu.is-open {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-12px) !important;
      }
      .hamburger-btn {
        display: none !important;
      }
      body.mobile-menu-open {
        overflow: auto !important;
      }
    }

    @media (max-width: 1080px) {
      nav.desktop-nav {
        display: none;
      }
      .hamburger-btn {
        display: inline-flex;
      }
    }

    @media (max-width: 992px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .hero-content {
        align-items: center;
        text-align: center;
        width: 100%;
      }
      .hero h1 {
        text-align: center;
        margin-inline: auto;
        max-width: 100%;
        text-wrap: pretty;
        font-size: clamp(26px, 5.2vw, 36px);
        line-height: 1.25;
        margin-bottom: 24px;
        color: var(--plum-dark);
        font-weight: 600;
      }
      .hero .credentials {
        font-size: 13.5px;
        align-items: center;
        text-align: center;
        gap: 14px;
        margin-bottom: 26px;
      }
      .hero .credentials-text {
        justify-content: center;
      }
      .hero .credentials svg {
        width: 14px;
        height: 14px;
      }
      .credentials-badges {
        justify-content: center;
        gap: 10px;
      }
      .hero-cta-wrap {
        justify-content: center;
        width: 100%;
        margin-bottom: 0;
      }
      .hero-cta-wrap .btn {
        width: auto;
        min-width: 200px;
        max-width: 260px;
        padding: 10.5px 24px;
        font-size: 11px;
        letter-spacing: 1.1px;
        text-align: center;
        justify-content: center;
        display: inline-flex;
      }
      .hero-visual {
        max-width: 330px;
        margin-inline: auto;
        width: 100%;
      }
      .grid-head-layout {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
        gap: 12px;
      }
      .territory-cards-grid {
        grid-template-columns: 1fr;
      }
      .steps-grid {
        grid-template-columns: 1fr;
      }
      .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .about-photo-wrapper {
        position: static;
        max-width: 340px;
        margin-inline: auto;
      }
      .consulta-layout {
        grid-template-columns: 1fr;
        gap: 28px;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
      }
      .footer-brand-col {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 768px) {
      :root {
        --header-height: var(--header-height-mobile);
      }
      html {
        scroll-padding-top: var(--header-height-mobile);
      }
      header {
        height: var(--header-height);
      }
      .header-inner {
        height: var(--header-height);
      }
      .logo-name {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: #350F23;
      }
      .logo-sub {
        font-size: 8.5px;
        font-weight: 700;
        letter-spacing: 1.5px;
        color: var(--petrol-dark);
      }
      .brand-mark {
        width: 33px;
        height: 33px;
        font-size: 12px;
        font-weight: 700;
      }
      .header-btn {
        display: none;
      }
      section {
        padding: 42px 0;
      }
      h2,
      .section-title {
        font-size: clamp(34px, 6.5vw, 40px);
        line-height: 1.15;
      }
      h3 {
        font-size: 22px;
        line-height: 1.24;
      }
      .grid-head-layout {
        margin-bottom: 22px;
        gap: 12px;
      }
      .hero {
        padding: 34px 0 52px;
      }
      .credentials-badges {
        justify-content: center;
        gap: 13px 10px;
      }
      .hero-cta-wrap {
        justify-content: center;
        width: 100%;
        margin-bottom: 0;
      }
      .hero-cta-wrap .btn {
        width: auto;
        min-width: 190px;
        max-width: 250px;
        padding: 10px 22px;
        font-size: 11px;
        letter-spacing: 1.1px;
        text-align: center;
        justify-content: center;
        display: inline-flex;
      }
      p {
        font-size: 14.5px;
        line-height: 1.56;
        margin-bottom: 10px;
      }
      .grid-head-layout p,
      .grid-head-layout .section-lead,
      .section-lead {
        font-size: 14.5px;
        color: #241D20;
        font-weight: 400;
        line-height: 1.58;
      }
      .practical-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 16px 0 24px;
      }
      .practical-card {
        padding: 14px 18px;
      }
      .service-card {
        padding: 24px 20px;
      }
      .help-article-card {
        grid-template-columns: 38px 1fr;
        gap: 14px;
        padding: 22px 18px;
        align-items: start;
      }
      .help-article-card .num-circle {
        width: 38px;
        height: 38px;
        font-size: 13.5px;
        margin-top: 2px;
      }
      .help-article-card h3 {
        font-size: 21px;
        line-height: 1.25;
        margin-bottom: 10px;
      }
      .other-reasons-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
        gap: 14px;
      }
      .step-card {
        padding: 24px 20px;
      }
      .about-content-body {
        padding: 24px 20px;
      }
      .about-content-body .lead-paragraph {
        font-size: 18px;
        line-height: 1.54;
        margin-bottom: 18px;
        padding-left: 15px;
      }
      .about-subsection-card {
        padding: 20px 18px;
      }
      summary.faq-summary {
        font-size: 19.5px;
        padding: 16px 18px;
      }
      .faq-content {
        padding: 0 18px 18px;
      }
      .contact-info-panel {
        padding: 26px 20px;
      }
      .form-card {
        padding: 26px 20px;
      }
      .tools-banner {
        padding: 26px 20px;
      }
      .scroll-top-btn {
        bottom: 70px;
        right: 18px;
        width: 44px;
        height: 44px;
      }
      .whatsapp-floating {
        bottom: 18px;
        right: 18px;
      }
      .whatsapp-btn {
        width: 44px;
        height: 44px;
      }
      .whatsapp-btn svg {
        width: 21px;
        height: 21px;
      }
      .whatsapp-tooltip {
        display: none;
      }
      .closing-section {
        padding: 44px 0 52px;
      }
      .closing-box {
        padding: 36px 24px;
        border-radius: var(--radius-md);
      }
      .closing-box .closing-question {
        font-size: clamp(32px, 6.5vw, 38px);
        line-height: 1.15;
        margin-bottom: 22px;
      }
      .closing-box .btn {
        width: auto;
        min-width: 190px;
        max-width: 250px;
        padding: 10px 22px;
        font-size: 11px;
        letter-spacing: 1.1px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .footer-brand-col .brand {
        gap: 12px;
      }
      .footer-brand-col .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 14px;
      }
      .footer-brand-col .logo-name {
        font-size: 16.5px;
        font-weight: 700;
        color: #350F23;
      }
      .footer-brand-col .logo-sub {
        font-size: 9.5px;
        font-weight: 700;
        letter-spacing: 1.8px;
      }
      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
      .footer-legal-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
      }
      .footer-dot-sep {
        display: none;
      }
      .footer-legal-group {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
      }
    }

    @media (max-width: 480px) {
      .wrap {
        width: calc(100% - 24px);
      }
      section {
        padding: 34px 0;
      }
      h2,
      .section-title {
        font-size: clamp(32px, 8.2vw, 36px);
        line-height: 1.15;
      }
      h3 {
        font-size: 21px;
        line-height: 1.25;
      }
      .grid-head-layout {
        margin-bottom: 18px;
        gap: 10px;
      }
      .grid-head-layout p,
      .grid-head-layout .section-lead,
      .section-lead {
        font-size: 14.5px;
        color: #241D20;
        font-weight: 400;
        line-height: 1.58;
      }
      .hero {
        padding: 24px 0 42px;
      }
      .hero-grid {
        gap: 36px;
      }
      .hero h1 {
        font-size: clamp(23px, 6.8vw, 29px);
        line-height: 1.25;
        margin-bottom: 18px;
        color: #350F23;
        font-weight: 600;
      }
      .hero .credentials {
        font-size: 12.5px;
        gap: 13px;
        margin-bottom: 24px;
        align-items: center;
        text-align: center;
      }
      .credentials-badges {
        justify-content: center;
        gap: 13px 10px;
      }
      .hero-badge,
      .doctoralia-trust-pill {
        padding: 5px 12px;
        font-size: 11px;
      }
      .hero-cta-wrap {
        justify-content: center;
        width: 100%;
        margin-bottom: 0;
      }
      .hero-cta-wrap .btn {
        width: auto;
        min-width: 180px;
        max-width: 240px;
        padding: 9.5px 20px;
        font-size: 11px;
        letter-spacing: 1px;
        text-align: center;
        justify-content: center;
        display: inline-flex;
      }
      .hero-visual {
        max-width: 290px;
      }
      .hero-cta-wrap .text-link {
        justify-content: center;
      }
      .help-article-card {
        grid-template-columns: 36px 1fr;
        gap: 12px;
        padding: 18px 15px;
      }
      .help-article-card .num-circle {
        width: 36px;
        height: 36px;
        font-size: 13px;
        margin-top: 1px;
      }
      .help-article-card h3 {
        font-size: 20px;
        line-height: 1.25;
        margin-bottom: 8px;
      }
      .closing-section {
        padding: 34px 0 40px;
      }
      .closing-box {
        padding: 28px 18px;
      }
      .closing-box .closing-question {
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.15;
        margin-bottom: 20px;
      }
      .closing-box .btn {
        width: auto;
        min-width: 180px;
        max-width: 240px;
        padding: 9.5px 20px;
        font-size: 11px;
        letter-spacing: 1px;
      }
      .service-card {
        padding: 20px 16px;
      }
      .step-card {
        padding: 20px 16px;
      }
      .about-content-body {
        padding: 20px 16px;
      }
      .about-subsection-card {
        padding: 16px 14px;
      }
      .form-card {
        padding: 20px 16px;
      }
      .contact-info-panel {
        padding: 20px 16px;
      }
      .tools-banner {
        padding: 22px 16px;
      }
      summary.faq-summary {
        font-size: 18px;
        padding: 14px 16px;
      }
      .faq-content {
        padding: 0 16px 16px;
      }
      input.form-control,
      textarea.form-control,
      select.phone-country-select {
        padding: 10px 10px;
        font-size: 14px;
      }
      .phone-country-select {
        max-width: 125px;
      }
    }

    /* Accesibilidad: Indicadores de foco visibles para teclado */
    button:focus-visible,
    a:focus-visible,
    summary:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
      outline: 2px solid var(--plum);
      outline-offset: 3px;
    }

/* ==========================================================================
   PÁGINAS LEGALES & SECUNDARIAS (POLÍTICA DE PRIVACIDAD)
   ========================================================================== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background-color: #FFFFFF;
  color: var(--plum);
  border: 1px solid rgba(85, 25, 58, 0.25);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.back-btn:hover {
  background-color: var(--plum);
  color: #FFFFFF;
  border-color: var(--plum);
  transform: translateY(-1px);
}

.legal-page {
  padding: 34px 0 60px;
}

.legal-header {
  margin-bottom: 22px;
  border-bottom: 1px solid var(--ocre-light);
  padding-bottom: 16px;
}

.legal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--petrol);
  background: var(--petrol-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight: 600;
  color: var(--plum);
  line-height: 1.2;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 13px;
  color: var(--ink-soft);
}

.legal-card {
  background: var(--ivory-card);
  border: 1px solid var(--ocre-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .legal-page {
    padding: 24px 0 44px;
  }
  .legal-card {
    padding: 22px 18px;
  }
}

.legal-summary-box {
  background: var(--ivory-light);
  border: 1px solid rgba(85, 25, 58, 0.2);
  border-left: 4px solid var(--plum);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.legal-summary-box p:last-child {
  margin-bottom: 0;
}

.legal-section {
  padding: 0;
  margin-bottom: 26px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(156, 130, 79, 0.2);
}

.legal-section h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--petrol);
  margin: 18px 0 8px;
}

.legal-section p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.68;
  margin-bottom: 14px;
}

.legal-section ul,
.legal-section ol {
  margin-bottom: 14px;
  padding-left: 24px;
}

.legal-section li {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 6px;
}

.legal-section strong {
  font-weight: 600;
  color: var(--plum);
}

.legal-section a {
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--petrol);
}

.highlight-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 14px;
}

.highlight-table th,
.highlight-table td {
  border: 1px solid rgba(156, 130, 79, 0.25);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.highlight-table th {
  background-color: var(--ivory-light);
  color: var(--plum);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}

.highlight-table td:first-child {
  font-weight: 500;
  color: var(--petrol);
  width: 30%;
}

.legal-footer {
  border-top: 1px solid var(--ocre-light);
  padding: 36px 0;
  background-color: #ECE6DD;
  color: var(--ink-soft);
  font-size: 13px;
}

.legal-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-footer a {
  color: var(--plum);
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   16. ACCESIBILIDAD AVANZADA (PREFERS-REDUCED-MOTION) & IMPRESIÓN
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  header,
  footer,
  .whatsapp-floating,
  .scroll-top-btn,
  #scroll-progress-bar,
  .hamburger-btn,
  .mobile-nav-drawer,
  .cookie-banner {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
}

/* ==========================================================================
   17. BANNER DE COOKIES & CONSENTIMIENTO RGPD / AEPD
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 460px;
  width: calc(100% - 48px);
  background: var(--ivory-card);
  border: 1px solid rgba(156, 130, 79, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(57, 19, 41, 0.16);
  padding: 22px 24px;
  z-index: 10000;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.cookie-title {
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 16px;
}

.cookie-text a {
  color: var(--plum);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  background-color: var(--plum);
  color: #FFFFFF;
  border: 1px solid var(--plum);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  will-change: transform;
}

.cookie-btn-accept:hover {
  background-color: var(--plum-dark);
  border-color: var(--plum-dark);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(85, 25, 58, 0.22);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--ink-soft);
  border: 1px solid rgba(85, 25, 58, 0.25);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cookie-btn-reject:hover {
  background-color: rgba(85, 25, 58, 0.08);
  border-color: var(--plum);
  color: var(--plum);
  transform: translateY(-1.5px);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 14px;
    left: 14px;
    width: calc(100% - 28px);
    padding: 18px 16px;
  }
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-btn-accept, .cookie-btn-reject {
    width: 100%;
    text-align: center;
  }
}