/* ==========================================================================
   ESTILOS PRINCIPALES - DR. DANIEL MARTÍNEZ-URIBE (PSIQUIATRÍA & ONCOPSIQUIATRÍA)
   Estética serena, cálida y orgánica
   Cero dependencias externas · 100% Compatible con RGPD · Rendimiento Móvil Óptimo
   ========================================================================== */

/* ==========================================================================
   TIPOGRAFÍA Y FUENTES DEL SISTEMA
   Pila tipográfica sin llamadas a terceros para proteger la privacidad IP
   ========================================================================== */

:root {
    /* Paleta cálida, serena y orgánica */
    --primary: #223a30;           /* Verde bosque / salvia profundo y editorial */
    --primary-light: #325446;
    --primary-dark: #15261f;
    --accent: #876543;            /* Tono tierra cálido / ocre siena sutil */
    --accent-hover: #705133;
    --accent-soft: #f4eee7;       /* Fondo tierra suave */
    
    --bg-main: #fbf9f5;           /* Papel lino suave, libre de destellos */
    --bg-alt: #f3efe9;            /* Arena piedra caliza serena */
    --bg-card: #ffffff;
    
    --text-main: #1c2822;         /* Pizarra vegetal oscuro, alta legibilidad */
    --text-muted: #57675f;        /* Salvia neutro apagado */
    --text-light: #7e8f86;
    
    --border-color: #e5dfd5;      /* Borde orgánico lino */
    --border-focus: #223a30;
    
    --wa-green: #128c7e;          /* WhatsApp teal accesible WCAG AA */
    --wa-hover: #0e6e63;
    --doctoralia: #00a3a6;        /* Doctoralia oficial */
    --doctoralia-hover: #00878a;
    
    --shadow-sm: 0 1px 3px rgba(34, 58, 48, 0.05);
    --shadow-md: 0 6px 18px rgba(34, 58, 48, 0.07);
    --shadow-lg: 0 12px 30px rgba(34, 58, 48, 0.1);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", "Playfair Display", serif;

    --crisis-bg: #fdf3f2;
    --crisis-border: #dc2626;
    --crisis-text: #7f1d1d;
}

/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: 820px;
}

/* Tipografía Editorial */
h1, h2, h3, h4 {
    color: var(--primary-dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    letter-spacing: -0.01em;
    margin-bottom: 0.85rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 1.5rem; }

/* ==========================================================================
   ACCESIBILIDAD
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0.5rem;
    z-index: 999;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   BOTONES Y LLAMADAS A LA ACCIÓN
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn--primary:hover {
    background-color: var(--primary-light);
    color: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn--whatsapp {
    background-color: var(--wa-green);
    color: #ffffff;
}

.btn--whatsapp:hover {
    background-color: var(--wa-hover);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn--doctoralia {
    background-color: var(--doctoralia);
    color: #ffffff;
}

.btn--doctoralia:hover {
    background-color: var(--doctoralia-hover);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 163, 166, 0.35);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--primary);
}

.btn--outline:hover {
    border-color: var(--primary);
    background-color: #ffffff;
}

.btn--block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   CABECERA Y NAVEGACIÓN
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(251, 249, 245, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

.brand__text {
    display: flex;
    flex-direction: column;
}

.brand__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: var(--font-serif);
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.brand__subtitle {
    font-size: 0.76rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.nav__link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav__link:hover {
    color: var(--accent);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    background-color: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.lang-switch span.active {
    color: var(--primary-dark);
    text-decoration: underline;
}

.lang-switch a {
    color: var(--text-muted);
}

.lang-switch a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION (MANIFIESTO Y BRÚJULA)
   ========================================================================== */
.hero {
    padding: 4.5rem 0 3.5rem;
    background: linear-gradient(180deg, #f3efe9 0%, #fbf9f5 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.compass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 1rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.compass-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.22;
    margin-bottom: 1.35rem;
    letter-spacing: -0.015em;
}

.hero__manifesto {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.45;
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--accent);
}

.hero__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

/* Aviso de privacidad visible antes de pulsar WhatsApp (entrevista 9.1). */
.hero__actions + .hero__privacy-note {
    margin-top: -1.6rem;
}

.hero__privacy-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 2rem;
}

/* Nota de idiomas de la versión inglesa: fija expectativas antes de reservar. */
.lang-note {
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    max-width: 620px;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.hero__trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-color);
}

.trust-item strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.trust-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
    display: block;
}

/* Tarjeta del Doctor con Foto Real */
.doctor-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.doctor-card__image-wrap {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f3efe9;
    box-shadow: var(--shadow-md);
}

.doctor-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.doctor-card__name {
    font-size: 1.35rem;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.doctor-card__sub {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.doctor-card__bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.doctor-card__tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.tag-pill {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--primary-dark);
    font-weight: 500;
}

/* ==========================================================================
   SECCIONES Y COMPONENTES
   ========================================================================== */
.section {
    padding: 5rem 0;
}

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

.section__kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.section__subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 3rem;
}

.grid {
    display: grid;
    gap: 1.85rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.card--featured {
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
}

/* Cajas de Especialidades */
.feature-box {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-box--highlight {
    border: 2px solid var(--accent);
    background-color: #ffffff;
}

.feature-box__badge {
    display: inline-block;
    background-color: var(--accent-soft);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
}

.feature-box__title {
    font-size: 1.18rem;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}

.feature-box__text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Galería de la Consulta Real */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    background-color: #ffffff;
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-caption {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
}

/* Tarifas Transparentes */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pricing-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card--highlight {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-md);
}

.pricing-card__badge {
    align-self: flex-start;
    background-color: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.pricing-card__title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.pricing-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-card__rates {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
}

.rate-row:last-child { margin-bottom: 0; }

.rate-label {
    font-size: 0.95rem;
    color: var(--text-main);
}

.rate-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.rate-dur {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ==========================================================================
   PANEL DE CONTACTO (4 VÍAS DIRECTAS - DECISIÓN DANIEL)
   ========================================================================== */
.contact-panel {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.channel-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.2s ease;
}

.channel-card:hover {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.channel-card--wa {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
}

.channel-card--wa:hover {
    border-color: var(--wa-green);
}

.channel-card--doctoralia {
    background-color: #f0fdfa;
    border-color: #99f6e4;
}

.channel-card--doctoralia:hover {
    border-color: var(--doctoralia);
}

.channel-card__badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.channel-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.channel-card__sub {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.channel-card__action {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.channel-card--wa .channel-card__action { color: var(--wa-green); }
.channel-card--doctoralia .channel-card__action { color: var(--doctoralia); }

.clinic-location-box {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.clinic-hours-table {
    width: 100%;
    font-size: 0.88rem;
    border-collapse: collapse;
}

.clinic-hours-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.clinic-hours-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Acordeón FAQ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item__question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-family: var(--font-serif);
    font-size: 1.08rem;
    color: var(--primary-dark);
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-item__question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--accent);
    font-family: var(--font-sans);
    font-weight: 400;
}

.faq-item[open] .faq-item__question::after { content: "−"; }

.faq-item__answer {
    padding: 0 1.5rem 1.35rem;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* ==========================================================================
   BLOQUE DE URGENCIAS OBLIGATORIO
   ========================================================================== */
.crisis-banner {
    background-color: var(--crisis-bg);
    border-top: 2px solid var(--crisis-border);
    border-bottom: 2px solid var(--crisis-border);
    padding: 1.75rem 0;
    color: var(--crisis-text);
}

.crisis-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.crisis-banner__lead {
    font-weight: 700;
    font-size: 1.05rem;
    color: #991b1b;
}

.crisis-banner__numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    font-weight: 600;
}

.crisis-banner__numbers a {
    color: #b91c1c;
    font-size: 1.15rem;
    text-decoration: underline;
}

.crisis-banner__note {
    font-size: 0.85rem;
    color: #7f1d1d;
    margin-bottom: 0;
}

/* ==========================================================================
   PIE DE PÁGINA Y CRÉDITOS
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: #d1ded8;
    padding: 4rem 0 2.5rem;
    font-size: 0.9rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand__title {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer__text {
    font-size: 0.86rem;
    color: #a8beb4;
    line-height: 1.6;
}

.footer h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: #a8beb4;
    font-size: 0.85rem;
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__bottom {
    padding-top: 2rem;
    font-size: 0.82rem;
    color: #768d83;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--wa-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE (MÓVIL / TABLET)
   ========================================================================== */
@media (max-width: 990px) {
    .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero__trust { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .grid--3, .grid--4, .pricing-grid, .gallery-grid, .contact-channels-grid { grid-template-columns: 1fr; }
    .grid--2 { grid-template-columns: 1fr; }
    .clinic-location-box { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .nav-toggle { display: flex; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-main);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        gap: 1.25rem;
    }
    
    .nav.nav--open { display: flex; }
    .nav__btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   UTILIDADES (sustituyen a los antiguos atributos style="")
   --------------------------------------------------------------------------
   La Content-Security-Policy del Nginx declara style-src 'self', que bloquea
   los estilos en línea. Todo estilo debe vivir en esta hoja. Van al final del
   archivo para ganar en cascada a las reglas de componente de igual
   especificidad que antes sobrescribía el style="" en línea.
   ========================================================================== */
.text-sm { font-size: 0.88rem; }
.text-xs { font-size: 0.85rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.info-heading {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}
.info-heading-sm {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}
.info-text { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.info-text-sm { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }
.info-note { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0; }

.divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.card--plain { background-color: #ffffff; padding: 1.5rem 2rem; }

.not-found__actions { justify-content: center; margin-top: 2rem; }
.not-found__links { margin-top: 3rem; text-align: left; }
