/* ----------------------------------------------------
   SERAVIA BIENESTAR & TERAPIA
   SISTEMA DE DISEÑO Y HOJA DE ESTILOS DE MADEROTERAPIA
   Diseño e Ingeniería por Antigravity
   ---------------------------------------------------- */

/* 1. Variables Globales & Reset */
:root {
    /* Paleta Oficial del Manual de Identidad de Marca */
    --brand-olive: #4C5943;          /* Verde Oliva Corporativo */
    --brand-olive-hover: #3B4633;
    --brand-olive-light: #F0F3EF;    
    
    --brand-gold: #BFAF7E;           /* Oro Latón / Suave */
    --brand-gold-hover: #A69769;
    --brand-gold-light: #F9F7F1;
    
    --brand-cream: #F8F6F1;          /* Blanco Crema (Fondo de Papelería) */
    --bg-pure: #ffffff;
    
    /* Colores de Texto Adaptados para Legibilidad Ultra Premium */
    --text-primary: #1E251B;         /* Carbón con matiz Oliva */
    --text-secondary: #485143;       /* Slate con matiz Oliva */
    --text-muted: #7E8679;
    --text-light: #ffffff;
    
    /* Configuración de Layout y Bordes (Minimalistas) */
    --border-color: #E2E6E0;
    --border-gold: #BFAF7E;
    --border-active: #4C5943;
    --border-radius: 6px;            /* Flat Design - Bordes sutiles */
    --border-radius-sm: 3px;
    
    /* Tipografía Institucional Dual */
    --font-serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --font-headings: 'Montserrat', Arial, sans-serif;
    --font-body: 'Inter', Arial, sans-serif;
    
    /* Animación Suave Premium */
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max-width: 1140px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--brand-cream);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. Tipografía & Estilos Básicos */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
}

h1 {
    font-family: var(--font-serif);
}

h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* 3. Utilidades de Estructura */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 5.5rem 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-olive);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* 4. Botones y CTA */
.btn-primary {
    background-color: var(--brand-olive);
    color: var(--brand-cream);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    border: 1px solid var(--brand-olive);
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--brand-olive-hover);
    border-color: var(--brand-olive-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-cream);
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    border: 1px solid rgba(248, 246, 241, 0.4);
    text-align: center;
}

.btn-secondary:hover {
    border-color: var(--brand-cream);
    background-color: rgba(248, 246, 241, 0.08);
}

/* 5. Header / Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0.2rem 1.5rem; /* Padding reducido para encuadrar un logotipo de gran escala (95px) de forma premium */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 95px; /* Logotipo a escala maximizada de 95px para visibilidad y legibilidad del texto */
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--brand-olive);
    border-bottom-color: var(--brand-olive);
}

.nav-link-cta {
    background-color: var(--brand-olive);
    color: var(--brand-cream);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-sm);
    letter-spacing: 0.5px;
}

.nav-link-cta:hover {
    background-color: var(--brand-olive-hover);
    transform: translateY(-1px);
}

/* Menú Móvil responsive */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 25px;
    height: 20px;
    justify-content: center;
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--brand-olive);
    transition: var(--transition-smooth);
}

/* 6. Hero Section (Aesthetics de Alta Gama) */
.hero-section {
    position: relative;
    padding-top: 120px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-image: url('./assets/maderoterapia-bg.png'); /* Nueva imagen de maderoterapia estética */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--brand-cream);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 89, 67, 0.96) 20%, rgba(191, 175, 126, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 680px;
}

.hero-tagline {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-gold);
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(191, 175, 126, 0.2);
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    color: var(--brand-cream);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(248, 246, 241, 0.85);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--brand-gold);
    max-width: 580px;
}

.badge-icon {
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.5rem;
    border-radius: 50%;
}

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

.badge-text strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-cream);
}

.badge-text span {
    font-size: 0.75rem;
    color: rgba(248, 246, 241, 0.65);
}

/* 7. Sección Servicio & Explicación */
.about-section {
    background-color: var(--brand-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-paragraph {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.commitment-card {
    background-color: var(--bg-pure);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--brand-olive);
    padding: 1.75rem;
    border-radius: var(--border-radius-sm);
    margin-top: 2rem;
}

.commitment-title {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-olive);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.commitment-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Visual Card Premium (Estilo Relicario) */
.about-visual-card {
    background-color: var(--brand-olive);
    color: var(--brand-cream);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(191, 175, 126, 0.2);
    box-shadow: 0 10px 30px rgba(76, 89, 67, 0.15);
    position: relative;
    overflow: hidden;
}

.visual-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--brand-gold);
    color: var(--brand-olive-hover);
    font-family: var(--font-headings);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.isotipo-watermark {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
}

.isotipo-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.85);
}

.visual-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--brand-cream);
    margin-bottom: 0.75rem;
}

.visual-subtitle {
    font-size: 0.95rem;
    color: rgba(248, 246, 241, 0.75);
    margin-bottom: 2rem;
}

.visual-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-list li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(248, 246, 241, 0.85);
}

.visual-list-icon {
    color: var(--brand-gold);
}

/* 8. Sección de Beneficios */
.benefits-section {
    background-color: var(--bg-pure);
    border-top: 1px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--bg-pure);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.benefit-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-olive-light);
    color: var(--brand-olive);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.benefit-title {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.benefit-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.benefit-card:hover {
    border-color: var(--brand-gold);
    transform: translateY(-3px);
}

.benefit-card:hover .benefit-icon-wrapper {
    background-color: var(--brand-gold-light);
    color: var(--brand-gold);
}

/* 9. Sección Especialistas (Lookbook Scrubs Negros Premium) */
.specialists-section {
    background-color: var(--brand-cream);
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 860px;
    margin: 0 auto;
}

/* Estilo a medida: Scrubs Negros Sólidos */
.specialist-card {
    background-color: #1A1A1A;       /* Negro mate sólido de los scrubs */
    border: 1px solid #333333;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.specialist-card:hover {
    border-color: var(--brand-gold);
}

.specialist-photo-box {
    height: 440px;
    background-color: #222222;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--brand-gold);
}

.specialist-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.95);
}

.specialist-photo.photo-allison {
    object-position: center 20%; /* Encuentra el balance perfecto para Allison */
}

.specialist-photo.photo-josue {
    object-position: center 18%; /* Ajusta el encuadre vertical para Josué, que posee una foto más alta */
}

.specialist-card:hover .specialist-photo {
    transform: scale(1.02);
}

.scrubs-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--brand-gold);
    font-family: var(--font-headings);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 0;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(191, 175, 126, 0.3);
}

.specialist-info {
    padding: 2.2rem 2rem;
    color: var(--brand-cream);
}

.badge-msp-left {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(76, 89, 67, 0.25);
    color: var(--brand-gold);
    border: 1px solid rgba(191, 175, 126, 0.3);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.specialist-name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--brand-cream);
    margin-bottom: 0.25rem;
}

.specialist-role {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-gold);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.specialist-bio {
    font-size: 0.88rem;
    color: rgba(248, 246, 241, 0.75);
    margin-bottom: 1.75rem;
    line-height: 1.55;
}

.senesyt-code {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    border-top: 1px dashed rgba(248, 246, 241, 0.15);
    padding-top: 1rem;
    color: rgba(248, 246, 241, 0.65);
}

.senesyt-code strong {
    color: var(--brand-gold);
    font-weight: 600;
}

/* Nota Especificación Uniformidad */
.uniform-specification {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-pure);
    border: 1px solid var(--border-color);
    padding: 1.75rem 2rem;
    border-radius: var(--border-radius-sm);
    max-width: 860px;
    margin: 3.5rem auto 0 auto;
    align-items: center;
}

.uniform-icon {
    color: var(--brand-olive);
    flex-shrink: 0;
}

.uniform-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.uniform-text strong {
    font-family: var(--font-headings);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.uniform-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* 10. Ficha Técnica */
.details-section {
    background-color: var(--bg-pure);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.details-box {
    background-color: var(--brand-cream);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 4rem 3rem;
}

.details-header-box {
    text-align: center;
    margin-bottom: 3.5rem;
}

.details-box-title {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

.details-box-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.details-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.detail-item {
    background-color: var(--bg-pure);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.detail-item:hover {
    border-color: var(--brand-gold);
    transform: translateY(-2px);
}

.detail-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--brand-olive-light);
    color: var(--brand-olive);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-content strong {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-content span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* 11. Caja de Agendamiento Simplificada (CTA a WhatsApp) */
.cta-wellness-box {
    background-color: var(--brand-olive);
    color: var(--brand-cream);
    border: 1px solid rgba(191, 175, 126, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 4.5rem 3.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(76, 89, 67, 0.12);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-wellness-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(191, 175, 126, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-wellness-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--brand-cream);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-wellness-subtitle {
    font-size: 1.05rem;
    color: rgba(248, 246, 241, 0.8);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.cta-actions-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-whatsapp-cta-direct {
    background-color: #25D366;
    border: 1px solid #20BA5A;
    color: var(--bg-pure);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    padding: 1.1rem 2.5rem;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: var(--transition-smooth);
}

.btn-whatsapp-cta-direct:hover {
    background-color: #1ebd56;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.cta-benefits-bullets {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-family: var(--font-headings);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 12. Footer de Marca */
.main-footer {
    background-color: #1E251B;       /* Footer en base de oliva-negro */
    color: rgba(248, 246, 241, 0.7);
    border-top: 1px solid rgba(248, 246, 241, 0.05);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(248, 246, 241, 0.65);
}

.footer-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.72rem;
    color: var(--brand-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-col-title {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-cream);
    letter-spacing: 1px;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.footer-link-list a:hover {
    color: var(--brand-gold);
    transform: translateX(2px);
}

.footer-contact-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.f-contact-icon {
    color: var(--brand-gold);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    background-color: #171D15;
    border-top: 1px solid rgba(248, 246, 241, 0.05);
    padding: 1.75rem 1.5rem;
}

.footer-bottom-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(248, 246, 241, 0.45);
}

.developer a {
    color: var(--brand-gold);
    font-weight: 600;
}

/* 13. Botón Flotante de WhatsApp */
.whatsapp-floating-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: var(--bg-pure);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.whatsapp-floating-widget:hover {
    transform: scale(1.05);
    background-color: #1ebd56;
}

.wa-widget-icon {
    width: 24px;
    height: 24px;
}

.wa-pulse-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background-color: #E74C3C;
    border-radius: 50%;
    border: 2px solid var(--bg-pure);
    animation: waPulse 1.8s infinite;
}

@keyframes waPulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* 14. Responsive Layout (Mobile and Tablets) */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .footer-contact-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    /* Header Menu Toggle */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-pure);
        border-bottom: 0 solid var(--border-color);
        overflow: hidden;
        transition: var(--transition-smooth);
        z-index: 998;
    }
    
    .main-nav.active {
        height: auto;
        padding: 2rem 1.5rem;
        border-bottom-width: 1px;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
        display: block;
    }
    
    .nav-link-cta {
        display: block;
        text-align: center;
    }
    
    /* Responsive grids */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .specialists-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .details-list-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-wizard-container {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid-container {
        grid-template-columns: 1fr;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .patient-form-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .details-box {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* 15. Modal de Servicios (Overlay Premium con Efecto Glassmorphism) */
.services-overlay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-overlay-modal.active {
    opacity: 1;
    visibility: visible;
}

.services-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 37, 27, 0.65); /* Carbón oliva traslúcido */
}

.services-modal-content {
    background-color: var(--brand-cream);
    border: 1px solid rgba(191, 175, 126, 0.3);
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 2;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(76, 89, 67, 0.15);
}

.services-overlay-modal.active .services-modal-content {
    transform: translateY(0) scale(1);
}

.services-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--brand-olive);
    background-color: var(--brand-olive-light);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.services-modal-close:hover {
    background-color: var(--brand-olive);
    color: var(--brand-cream);
    transform: rotate(90deg);
}

.services-modal-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.services-modal-tag {
    font-family: var(--font-headings);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-modal-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--brand-olive);
    margin-top: 0.25rem;
}

.services-modal-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.services-modal-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    background-color: var(--bg-pure);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

.services-modal-item:hover {
    border-color: var(--brand-gold);
    background-color: var(--brand-gold-light);
    transform: translateX(4px);
}

.services-modal-item.active {
    border-color: var(--brand-olive);
    background-color: var(--brand-olive-light);
}

.services-modal-item.active .services-modal-num {
    color: var(--brand-olive);
}

.services-modal-item.active .services-modal-name {
    font-weight: 600;
    color: var(--brand-olive);
}

.services-modal-num {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.services-modal-name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
}

/* 16. Zona de Cobertura Exclusiva (Cartas Flipping 3D) */
.coverage-section {
    background-color: var(--brand-cream);
    border-bottom: 1px solid var(--border-color);
}

.coverage-box {
    background-color: var(--bg-pure);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 4rem 3rem;
    box-shadow: 0 10px 25px rgba(76, 89, 67, 0.04);
}

.coverage-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.coverage-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.coverage-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.coverage-cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* 3D Card Flip Container */
.city-card-wrapper {
    perspective: 1000px;
    height: 250px; /* Altura uniforme para todas las cartas */
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-card-wrapper:hover {
    transform: translateY(-4px);
}

.city-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Clase de giro al darle clic */
.city-card.flipped {
    transform: rotateY(180deg);
}

/* Lados Frontal y Trasero */
.city-card-front, .city-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transform-style: preserve-3d;
}

/* Lado Frontal */
.city-card-front {
    background-color: var(--brand-cream);
    border-top: 3px solid var(--brand-gold);
    transform: rotateY(0deg);
    transition: var(--transition-smooth);
}

.city-card-wrapper:hover .city-card-front {
    border-top-color: var(--brand-olive);
    box-shadow: 0 6px 15px rgba(76, 89, 67, 0.06);
}

.city-name {
    display: block;
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-olive);
    margin-bottom: 0.5rem;
    text-align: center;
}

.city-status {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    text-align: center;
}

.city-click-hint {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px dashed var(--brand-gold);
    padding-bottom: 2px;
    text-align: center;
}

/* Lado Trasero (Precios) */
.city-card-back {
    background-color: #1A1A1A; /* Negro mate sólido premium (coincide con scrubs y especialistas) */
    border: 1px solid #333333;
    border-top: 3px solid var(--brand-gold);
    color: var(--brand-cream);
    transform: rotateY(180deg);
}

.city-back-title {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.price-item {
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}

.price-action-link {
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    color: inherit;
    transition: var(--transition-smooth);
}

.price-action-link:hover {
    border-color: rgba(191, 175, 126, 0.4);
    background-color: rgba(255, 255, 255, 0.05);
    transform: scale(1.03);
}

.price-action-link:active {
    transform: scale(0.95);
    background-color: rgba(191, 175, 126, 0.18);
    border-color: var(--brand-gold);
    box-shadow: 0 0 10px rgba(191, 175, 126, 0.3);
    transition: transform 0.05s ease, background-color 0.05s ease, box-shadow 0.05s ease;
}

.price-label {
    font-size: 0.75rem;
    color: rgba(248, 246, 241, 0.6);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brand-cream);
    display: block;
}

.plus-mov {
    font-size: 0.75rem;
    color: var(--brand-gold);
    font-family: var(--font-body);
    font-weight: 500;
    margin-left: 2px;
}

.price-notes {
    font-size: 0.7rem;
    color: rgba(248, 246, 241, 0.45);
    display: block;
    margin-top: -2px;
}

.city-click-hint-back {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .coverage-cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .coverage-box {
        padding: 2.5rem 1.5rem;
    }
    
    .coverage-cities-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .city-card-wrapper {
        height: 320px;
    }
    
    .city-card-front, .city-card-back {
        padding: 1.25rem 1rem;
    }
    
    .city-back-title {
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
    }
    
    .price-item {
        margin-bottom: 0.4rem;
    }
    
    .price-action-link {
        padding: 0.4rem 0.75rem;
    }
    
    .price-value {
        font-size: 1.25rem;
    }
    
    .price-label {
        font-size: 0.7rem;
    }
    
    .price-notes {
        font-size: 0.65rem;
    }
    
    .city-click-hint-back {
        margin-top: 0.25rem;
        font-size: 0.6rem;
    }
}
