/* ============================================
   CLÍNICA DENTAL GALANA - ESTILOS PRINCIPALES
   ============================================ */

/* Variables CSS */
:root {
    /* Colores Principales — paleta derivada del logo Galana (#00A0C0).
       --primary-color es el teal más claro que aún cumple contraste AA
       con texto blanco; los elementos grandes usan el color exacto del logo. */
    --primary-color: #00809B;
    --primary-dark: #05485A;
    --primary-light: #00A0C0;
    --secondary-color: #52D4EC;
    --accent-color: #00A0C0;
    --accent-hover: #008CA8;
    --tint: #EAF8FB;
    --tint-strong: #CFEEF6;
    
    /* Colores Neutros */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --text-dark: #212529;
    
    /* Colores de Estado */
    --success: #28a745;
    --whatsapp: #25d366;
    --instagram: #e1306c;
    --facebook: #1877f2;
    
    /* Tipografía */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Bordes y Sombras */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    margin-bottom: var(--spacing-sm);
}

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

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


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

.logo-container a {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all var(--transition-normal);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Logo de texto alternativo (si no hay imagen) */
.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}


.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    /* min() evita un hero gigante en pantallas muy altas */
    min-height: min(calc(100vh - 70px), 780px);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
    padding: var(--spacing-lg) 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, var(--primary-dark) 0%, #0090AE 60%, var(--secondary-color) 130%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(79, 207, 230, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(0, 160, 192, 0.25) 0%, transparent 50%);
    animation: pulseHero 10s ease-in-out infinite;
}

@keyframes pulseHero {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-lg);
    align-items: center;
    color: var(--white);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    animation: fadeInUp 1s ease both;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.1;
    margin: var(--spacing-sm) 0;
    animation: fadeInUp 1s ease 0.15s both;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--white), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 520px;
    opacity: 0.92;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin: var(--spacing-md) 0;
    animation: fadeInUp 1s ease 0.45s both;
}

.hero-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-facts svg {
    width: 16px;
    height: 16px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Visual del hero: foto + tarjetas flotantes */
.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-photo {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(2, 30, 38, 0.45);
    aspect-ratio: 1;
    max-width: 460px;
    margin-left: auto;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1.1rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(2, 30, 38, 0.25);
}

.hero-card svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.hero-card-status {
    top: -18px;
    right: 24px;
    animation: floatCard 5s ease-in-out infinite;
}

.hero-card-location {
    bottom: -18px;
    left: 0;
    animation: floatCard 5s ease-in-out 1.2s infinite;
}

.hero-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray);
    flex-shrink: 0;
}

.hero-card-dot.open { background: var(--success); }
.hero-card-dot.closed { background: #d9534f; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 122, 148, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 122, 148, 0.4);
}

/* Botón compacto del header */
.btn-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    font-size: 0.875rem;
    border-radius: 999px;
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
}

/* Botones del hero (sobre fondo teal oscuro) */
.btn-hero-primary {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 8px 30px rgba(2, 30, 38, 0.35);
}

.btn-hero-primary:hover {
    background: var(--tint);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    padding: 1.1rem 2.25rem;
    text-transform: none;
    letter-spacing: 0;
}

.btn-cta svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.btn-cta-wa {
    background: var(--whatsapp);
    /* Texto oscuro sobre verde WhatsApp: el blanco no cumple contraste WCAG AA (2:1) */
    color: var(--primary-dark);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.3);
}

.btn-cta-wa:hover {
    background: #20b858;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.4);
}

.btn-cta-ig {
    background: var(--white);
    color: #C13584;
    box-shadow: 0 6px 30px rgba(2, 30, 38, 0.25);
}

.btn-cta-ig:hover {
    background: #fdf1f8;
    color: #a52c71;
    transform: translateY(-3px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-preview {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.section-title {
    text-align: center;
    /* Color exacto del logo — legal en AA por ser texto grande */
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.service-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.service-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.service-duration {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--tint);
    color: var(--primary-dark);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.cta-center {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    padding: calc(70px + var(--spacing-xl)) 0 var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
}

.page-title {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ============================================
   SERVICE DETAIL
   ============================================ */

.services-detail {
    padding: var(--spacing-xl) 0;
}

.service-detail {
    margin-bottom: var(--spacing-xl);
    scroll-margin-top: 100px;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-detail-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.service-meta .service-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-meta svg {
    width: 20px;
    height: 20px;
}

.service-price {
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.service-detail-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.service-includes {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-includes li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.service-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.service-detail-image {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-detail-content:hover .service-image {
    transform: scale(1.05);
}

.image-placeholder {
    width: 150px;
    height: 150px;
    color: var(--primary-color);
    opacity: 0.3;
}

/* ============================================
   LOCATION SECTION
   ============================================ */

.location-section {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.location-address {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.info-box {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.info-box h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.status.open {
    background: var(--success);
    color: var(--white);
}

.status.closed {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.contact-methods {
    margin-top: var(--spacing-md);
}

.contact-methods h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.contact-link:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-link.whatsapp {
    color: var(--whatsapp);
}

.contact-main {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.contact-sub {
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 400;
}

.contact-link.instagram {
    color: var(--instagram);
}

.contact-link.facebook {
    color: var(--facebook);
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
}

.map-container iframe {
    display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-lg) 0;
}

.footer-content {
    text-align: center;
}

.footer-info {
    margin-bottom: var(--spacing-md);
}

.footer-info p {
    margin-bottom: var(--spacing-xs);
}

.footer-info a {
    color: var(--accent-color);
}

.footer-info a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.footer-copyright {
    /* Gris claro sobre fondo oscuro: --gray no cumplía contraste WCAG AA */
    color: #adb5bd;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-md);
        gap: 0;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-md);
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .service-detail-content,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-content.reverse {
        direction: ltr;
    }

    .nav-list .btn-nav {
        display: inline-block;
        margin-top: var(--spacing-sm);
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-actions,
    .hero-facts {
        justify-content: center;
    }

    .hero-visual {
        max-width: 420px;
        margin: var(--spacing-md) auto 0;
    }

    .hero-photo {
        margin: 0 auto;
    }

    .hero-card-location {
        left: -8px;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .nav-list .btn-nav {
        width: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-card {
        font-size: 0.75rem;
        padding: 0.6rem 0.9rem;
    }

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

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-card-status,
    .hero-card-location {
        animation: none;
    }
}

/* ============================================
   BARRA DE DATOS
   ============================================ */

.stats-bar {
    background: var(--tint);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--tint-strong);
}

.stats-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    text-align: center;
}

.stats-list strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.stats-list span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   POR QUÉ GALANA
   ============================================ */

.why-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.why-card {
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-normal);
}

.why-card:hover {
    background: var(--tint);
    border-color: var(--tint-strong);
    transform: translateY(-6px);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--tint-strong);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.why-icon svg {
    width: 26px;
    height: 26px;
}

.why-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.why-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   EQUIPO
   ============================================ */

.team-section {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
    scroll-margin-top: 90px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.team-specialty {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-days {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   PASOS PARA AGENDAR
   ============================================ */

.steps-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step-card {
    position: relative;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    background: var(--tint);
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.step-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.step-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   PREGUNTAS FRECUENTES
   ============================================ */

.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.faq-list {
    max-width: 760px;
    margin: var(--spacing-lg) auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    position: relative;
    padding-right: 3rem;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray);
    margin: 0;
}

.faq-item a {
    color: var(--primary-color);
    font-weight: 600;
}
