/* ============================================================
   ADDITIONS.CSS  ·  Estilos nuevos para Fisio-DS
   Complementa a style.css y usa SU paleta:
     --accent-green   #00d4aa
     --sunset-orange  #ff6b35
     --black          #1d1d1f
     --light-gray     #f5f5f7
     --whatsapp-green #25D366
     --facebook-blue  #1877F2
   ============================================================ */

/* ============================================================
   1. BOTÓN FIJO DE WHATSAPP
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 62px;
    height: 62px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2.4s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70%  { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Cuando el menú móvil está abierto, ocultamos el botón flotante
   para que no choque visualmente con los iconos sociales del menú. */
body.no-scroll .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.7);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* ============================================================
   2. ICONOS SOCIALES EN LA NAV (escritorio)
   ============================================================ */
.nav-social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Logo clickeable que vuelve al inicio */
.logo-space {
    text-decoration: none;
    cursor: pointer;
    gap: 12px;
}

/* Nombre de marca al lado del logo */
.brand-name {
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav.scrolled .brand-name {
    color: var(--white);
}

.social-icon-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.social-icon-nav svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.social-icon-nav.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon-nav.facebook {
    background-color: var(--facebook-blue);
}

.social-icon-nav.whatsapp {
    background-color: var(--whatsapp-green);
}

.social-icon-nav:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* ============================================================
   3. HAMBURGUESA + MENÚ MÓVIL DESLIZANTE
   - Botón hamburguesa: oculto en escritorio, visible en mobile
   - Nav-links + nav-social-icons: visibles en escritorio,
     ocultos en mobile
   ============================================================ */

/* Botón hamburguesa */
.fa-bars-container {
    display: none; /* oculto por defecto (escritorio) */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    color: var(--black);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.fa-bars-container:hover {
    color: var(--accent-green);
}

nav.scrolled .fa-bars-container {
    color: var(--white);
}

/* Overlay oscuro detrás del menú */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9000;
}

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

/* Menú deslizante */
.menu-bar {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 290px;
    background: var(--white);
    box-shadow: -6px 0 28px rgba(0, 0, 0, 0.18);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9500;
    display: flex;
    flex-direction: column;
    padding: 30px 24px 45px;
    overflow-y: auto;
}

.menu-bar.open {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--black);
    cursor: pointer;
    padding: 6px 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu-close:hover {
    color: var(--accent-green);
    transform: rotate(90deg);
}

.menu-bar-logo {
    text-align: center;
    margin: 1rem 0 1.5rem;
}

.menu-bar-logo img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 212, 170, 0.3);
}

.menu-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.menu-bar li {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.25s ease;
}

.menu-bar li:last-child {
    border-bottom: none;
}

.menu-bar li:hover {
    background: rgba(0, 212, 170, 0.06);
}

.menu-bar a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.6rem;
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    font-family: "Inter", sans-serif;
    transition: color 0.25s ease;
}

.menu-bar a i {
    color: var(--accent-green);
    font-size: 1rem;
    width: 22px;
    text-align: center;
    transition: transform 0.25s ease;
}

.menu-bar a:hover {
    color: var(--accent-green);
}

.menu-bar a:hover i {
    transform: scale(1.15);
}

.menu-bar-socials {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.menu-socials-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin: 0 0 1rem 0;
    font-family: "Inter", sans-serif;
}

.menu-socials-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.menu-socials-icons .social-icon-nav {
    width: 44px;
    height: 44px;
}

.menu-socials-icons .social-icon-nav svg {
    width: 20px;
    height: 20px;
}

/* Bloquea el scroll del body cuando el menú está abierto */
.no-scroll {
    overflow: hidden;
}

/* ============================================================
   4. HERO: Logo grande con HALO PULSANTE
   ============================================================ */
.hero-logo-large {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* Dos halos verdes que se expanden y desvanecen
   creando un efecto de pulso continuo (como un latido) */
.hero-logo-large::before,
.hero-logo-large::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-green);
    opacity: 0;
    animation: hero-logo-pulse 2.6s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* El segundo halo va desfasado medio ciclo, así nunca queda silencio */
.hero-logo-large::after {
    animation-delay: 1.3s;
}

@keyframes hero-logo-pulse {
    0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.45; }
    100% { transform: translate(-50%, -50%) scale(1.65); opacity: 0; }
}

/* Respeto a quien tenga movimiento reducido en el sistema */
@media (prefers-reduced-motion: reduce) {
    .hero-logo-large::before,
    .hero-logo-large::after {
        animation: none;
    }
}

.hero-logo-large img {
    max-width: 320px;
    width: 65vw;
    height: auto;
    display: block;
    border-radius: 50%;
    box-shadow: 0 14px 40px rgba(0, 212, 170, 0.35);
    border: 5px solid #fff;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    max-width: 650px;
    font-size: 1.1rem;
    color: #666;
    margin: 0.5rem auto 2rem;
    line-height: 1.6;
}

/* Línea de ubicación bajo el tagline */
.hero-location {
    font-size: 1.1rem;
    color: var(--accent-green);
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0.5rem 0 1.5rem;
    font-family: "Inter", sans-serif;
}

/* ============================================================
   5. CARRUSEL AUTOMÁTICO (Hero + Sobre Mí)
   ============================================================ */
.hero-carousel,
.about-carousel {
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
    margin: 2rem 0;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-left 35s linear infinite;
}

.carousel-track.reverse {
    animation: scroll-right 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 360px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.22);
    transition: box-shadow 0.3s ease;
}

.carousel-slide:hover {
    box-shadow: 0 14px 34px rgba(0, 212, 170, 0.35);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 0;
    box-shadow: none;
}

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

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

@keyframes scroll-right {
    0%   { transform: translateX(calc(-50% - 10px)); }
    100% { transform: translateX(0); }
}

/* ============================================================
   6. SELECTOR DE IDIOMAS
   ============================================================ */
.language-selector {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.5rem 0 2rem;
}

.lang-btn {
    padding: 9px 20px;
    border: 2px solid var(--accent-green);
    background: var(--white);
    color: var(--accent-green);
    border-radius: 28px;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.25);
}

.lang-btn.active {
    background: var(--accent-green);
    color: var(--white);
}

/* Banderas como imagen (compatibles con todos los dispositivos,
   incluidos Windows y navegadores sin emojis de bandera) */
.lang-btn .flag-img {
    width: 20px;
    height: auto;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 6px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ============================================================
   7. SECCIÓN RESEÑAS
   ============================================================ */
.reviews-section {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--black);
}

.reviews-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    padding: 2rem 1.8rem;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 212, 170, 0.2);
}

/* Header con avatar + nombre + fecha */
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.review-avatar,
.review-avatar-fallback {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.review-avatar {
    box-shadow: none;
}

.review-avatar-fallback {
    background: var(--accent-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    font-family: "Playfair Display", serif;
}

.review-author {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.review-author .reviewer {
    font-weight: 600;
    color: var(--black);
    font-size: 0.98rem;
}

.review-date {
    font-size: 0.82rem;
    color: #999;
    margin-top: 2px;
}

.stars {
    color: var(--sunset-orange);
    font-size: 1.15rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.review-text {
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 0;
    color: #444;
    flex-grow: 1;
}

.reviewer {
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
}

.reviews-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.reviews-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 3px;
    transition: opacity 0.3s ease;
}

.reviews-link:hover {
    opacity: 0.7;
}

/* ============================================================
   8. SECCIÓN CERTIFICADO
   ============================================================ */
.certificate-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.certificate-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--black);
}

.certificate-content {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.certificate-content img {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    box-shadow: none;
    border-radius: 12px;
}

.certificate-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================================
   9. RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .carousel-slide {
        width: 260px;
        height: 310px;
    }
}

@media (max-width: 768px) {
    /* === Cambio clave: oculto los enlaces y iconos del nav,
           y muestro la hamburguesa === */
    .nav-links {
        display: none !important;
    }
    .nav-social-icons {
        display: none !important;
    }
    .fa-bars-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-logo-large img {
        max-width: 220px;
        width: 60vw;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

    .carousel-slide {
        width: 220px;
        height: 270px;
        border-radius: 14px;
    }

    .hero-carousel,
    .about-carousel {
        margin: 1.5rem 0;
    }

    .language-selector { gap: 6px; }
    .lang-btn {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 18px;
        right: 18px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }

    .reviews-section,
    .certificate-section {
        padding: 4rem 1rem;
    }
    .reviews-section h2,
    .certificate-section h2 {
        font-size: 2rem;
    }
    .review-card { padding: 1.6rem 1.4rem; }
    .certificate-content { padding: 1rem; }
    .certificate-content img { max-width: 260px; }
}

@media (max-width: 480px) {
    .carousel-slide {
        width: 180px;
        height: 220px;
    }
    .menu-bar {
        width: 260px;
    }
    .brand-name {
        font-size: 1.15rem;
    }
}


/* ============================================================
   10. SECCIONES CON ESPACIADO CONSISTENTE
   Todas las secciones al mismo padding, alternando blanco/gris
   ============================================================ */

/* Padding base uniforme */
.about,
.services,
.reviews-section,
.collaborators-section {
    padding: 6rem 0;
}

/* Alternancia: blanco → gris → OSCURO (events) → blanco → gris → oscuro (footer) */
.about                 { background: var(--white); }
.services              { background: var(--light-gray); }
.reviews-section       { background: var(--white); }
.collaborators-section { background: var(--light-gray); }

/* Subtítulos de secciones (consistente) */
.section-subtitle {
    text-align: center;
    color: #777;
    font-size: 1.05rem;
    margin: -1rem auto 2.5rem;
    max-width: 620px;
    padding: 0 1rem;
}

/* Títulos consistentes */
.location-section h2,
.collaborators-section h2 {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 0.6rem;
}


/* ============================================================
   11. SECCIÓN UBICACIÓN
   ============================================================ */
.location-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 212, 170, 0.18);
    min-height: 380px;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-info {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h3 {
    font-family: "Playfair Display", serif;
    color: var(--accent-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.location-info p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.areas-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
    margin: 0.5rem 0 1.5rem;
}

.areas-list li {
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
}

.location-note {
    font-style: italic;
    color: #777;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    padding: 1rem 1.2rem;
    background: var(--white);
    border-left: 3px solid var(--accent-green);
    border-radius: 0 8px 8px 0;
}


/* ============================================================
   12. SECCIÓN COLABORADORES
   ============================================================ */
.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.collaborator-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collaborator-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 212, 170, 0.25);
}

.collaborator-photo {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent-green);
    box-shadow: 0 6px 18px rgba(0, 212, 170, 0.3);
}

.collaborator-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

/* Fallback letra dentro del círculo verde (por si no carga la foto) */
.photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    font-weight: 700;
    z-index: 1;
}

.collaborator-card h3 {
    font-family: "Playfair Display", serif;
    color: var(--black);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.collaborator-role {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.collaborator-desc {
    color: #555;
    line-height: 1.6;
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.collaborator-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: auto;
}

.collaborator-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.collaborator-links a:hover {
    transform: translateY(-2px) scale(1.1);
}

.collaborator-placeholder {
    opacity: 0.6;
    border: 2px dashed rgba(0, 212, 170, 0.3);
    box-shadow: none;
}

.collaborator-placeholder .photo-fallback {
    font-size: 2.5rem;
    background: transparent;
    color: var(--accent-green);
}

.collaborator-placeholder .collaborator-photo {
    background: rgba(0, 212, 170, 0.1);
    box-shadow: none;
}


/* ============================================================
   13. RESPONSIVE — secciones nuevas
   ============================================================ */
@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .location-map { min-height: 280px; }
    .areas-list {
        grid-template-columns: 1fr;
    }
    .location-section h2,
    .collaborators-section h2 {
        font-size: 2rem;
    }
    .about,
    .location-section,
    .services,
    .videos-section,
    .reviews-section,
    .collaborators-section,
    .certificate-section,
    .contact {
        padding: 4rem 0;
    }
}


/* ============================================================
   14. SERVICIOS (grid simple de 10 con iconos)
   ============================================================ */
.services-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    background: var(--white);
    border-radius: 16px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 212, 170, 0.13);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 212, 170, 0.22);
    border-color: rgba(0, 212, 170, 0.3);
}

.service-icon {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.service-item h3 {
    font-family: "Inter", sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
    line-height: 1.3;
}

/* Los servicios están en fondo blanco ahora — la sección alterna */
.services { background: var(--white); }

/* ============================================================
   15. COLABORADORES CON LOGO
   ============================================================ */
.collaborator-logo {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 1.2rem;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.collaborator-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    padding: 10px;
}

.collaborator-logo .photo-fallback {
    background: var(--accent-green);
    border-radius: 16px;
}

.collaborators-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ============================================================
   16. FOOTER OSCURO ELEGANTE
   ============================================================ */
.site-footer {
    background: #16181d;
    color: #a0aec0;
    padding: 5rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 3.5rem;
}

.footer-logo {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 24px rgba(0, 212, 170, 0.3);
}

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

.footer-brand-name {
    font-family: "Playfair Display", serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1.1;
}

.footer-brand-sub {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-green);
    font-weight: 500;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
}

.footer-col h4 {
    color: var(--accent-green);
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.2rem;
}

.footer-col p {
    margin-bottom: 0.9rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #a0aec0;
}

.footer-col strong {
    color: #d3dce6;
    font-weight: 600;
}

.footer-col a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-green);
}

.footer-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 1.2rem;
}

/* Logo del certificado — caja blanca para que resalte sobre fondo oscuro */
.footer-cert-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    background: var(--white);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 auto 0.8rem;
    display: block;
}

.footer-cert-number {
    color: var(--accent-green) !important;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 0.9rem !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3340;
}

.footer-bottom a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

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

.footer-copy {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #5f6b7a;
}

/* ============================================================
   17. TEXTO "CONÓCEME" — saludo y cierre destacados
   ============================================================ */
.about-greeting {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem !important;
    color: var(--accent-green) !important;
    font-weight: 600;
    margin-bottom: 1.2rem !important;
}

.about-closing {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 1.25rem !important;
    color: var(--accent-green) !important;
    text-align: center;
    margin: 1.8rem 0 !important;
}

/* ============================================================
   18. RESPONSIVE — footer y servicios
   ============================================================ */
@media (max-width: 768px) {
    .services-grid-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .service-item {
        padding: 1.3rem 0.8rem;
    }
    .service-icon { font-size: 1.8rem; }
    .service-item h3 { font-size: 0.9rem; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    .footer-brand {
        flex-direction: column;
        gap: 12px;
    }
    .footer-brand-text {
        text-align: center;
        align-items: center;
    }
    .footer-logo {
        width: 75px;
        height: 75px;
    }
    .site-footer {
        padding: 3.5rem 0 1.5rem;
    }
}


/* ============================================================
   19. SERVICIOS REINVENTADOS — badges circulares premium
   ============================================================ */
.services { background: var(--light-gray) !important; }

.service-item {
    background: var(--white);
    border-radius: 18px;
    padding: 1.8rem 1rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 212, 170, 0.08);
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 212, 170, 0.25);
    border-color: rgba(0, 212, 170, 0.4);
}

/* Badge circular con gradiente teal */
.service-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15) 0%, rgba(0, 212, 170, 0.35) 100%);
    border: 2px solid rgba(0, 212, 170, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-item:hover .service-badge {
    transform: scale(1.12) rotate(-4deg);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.3) 0%, rgba(0, 212, 170, 0.55) 100%);
}

/* CTA debajo del grid de servicios */
.services-cta {
    text-align: center;
    margin-top: 3rem;
}

.services-cta p {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.2rem;
}

/* ============================================================
   20. EVENTOS DEPORTIVOS — sección oscura showcase
   ============================================================ */
.events-section {
    background: #16181d;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Sutil resplandor teal de fondo */
.events-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 212, 170, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.events-eyebrow {
    display: inline-block;
    color: var(--accent-green);
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 0.8rem;
}

.events-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.events-subtitle {
    color: #8b95a5;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.videos-showcase {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.video-frame {
    border-radius: 26px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 212, 170, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 212, 170, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    line-height: 0;
}

.video-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(0, 212, 170, 0.5),
        0 18px 44px rgba(0, 0, 0, 0.6),
        0 0 90px rgba(0, 212, 170, 0.3);
}

.video-frame video {
    width: 300px;
    height: 460px;
    object-fit: cover;
    display: block;
    background: #000;
}

/* ============================================================
   21. RESPONSIVE — servicios y eventos
   ============================================================ */
@media (max-width: 768px) {
    .service-badge {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
    .services-cta p {
        font-size: 1.1rem;
    }

    .events-section {
        padding: 4rem 0;
    }
    .events-section h2 {
        font-size: 1.9rem;
        padding: 0 1rem;
    }
    .events-subtitle {
        font-size: 0.95rem;
        padding: 0 1.5rem;
    }
    .videos-showcase {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .video-frame video {
        width: 260px;
        height: 400px;
    }
}