/* --- VARIABLES Y CONFIGURACIÓN BASE --- */
:root {
    --gold: #d8b26a;
    --text-light: #f7f7f7;
    --text-dark: #333333;
    --text-grey: #666666;
    --bg-cream: #faf9f6; 
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Jost', sans-serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: var(--font-sans); 
    background-color: #1a1a1a; 
    overflow-x: hidden; 
    color: var(--text-dark);
}

/* --- NAVEGACIÓN --- */
header {
    position: absolute;
    top: 0; 
    width: 100%; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 30px 8%; 
    z-index: 10;
}

.nav-left { display: flex; gap: 30px; }
.nav-left a { 
    color: var(--text-light); 
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: color 0.3s; 
}
.nav-left a:hover { color: var(--gold); }

.logo-center { 
    font-weight: 500; 
    letter-spacing: 2px; 
    color: var(--text-light); 
    padding: 10px 20px; 
    border: 1px solid rgba(255,255,255,0.2); 
    text-transform: uppercase; 
}

.btn-contacto-top { 
    background-color: var(--gold); 
    color: #fff; 
    padding: 10px 25px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: background 0.3s;
}
.btn-contacto-top:hover { background-color: #fff; color: var(--gold); }

/* --- HERO --- */
.hero {
    height: 100vh; 
    display: flex; 
    align-items: center; 
    padding: 0 8%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url('imgprancipal.png') center/cover;
}
.hero-content { max-width: 650px; color: var(--text-light); }
.main-title { font-family: var(--font-serif); font-size: 4rem; margin-bottom: 20px; font-weight: 400; line-height: 1.2; }
.main-title i { font-style: italic; font-weight: 400; }
.subtitle { font-size: 1.2rem; font-weight: 300; opacity: 0.8; }

/* --- SOBRE NOSOTROS & FOTOS CON MOVIMIENTO --- */
.about-section { 
    background-color: var(--bg-cream); 
    padding: 100px 8%; 
    display: flex; 
    align-items: center; 
    gap: 60px; 
}
.about-text { flex: 1; }
.about-text h2 { font-family: var(--font-serif); font-size: 3rem; margin-bottom: 20px; font-weight: 400; }
.about-text h2 span { font-style: italic; color: var(--text-grey); display: block; }
.about-text p { line-height: 1.8; color: var(--text-grey); font-size: 1.05rem; }

.about-visuals { flex: 1; position: relative; }
.stats-container { display: flex; gap: 30px; margin-bottom: 30px; }
.stat-item { text-align: left; }
.stat-number { font-family: var(--font-serif); font-size: 3.5rem; color: var(--gold); display: block; line-height: 1; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; color: var(--text-grey); letter-spacing: 1px; }

.image-stack { position: relative; height: 450px; cursor: pointer; }
.img-top, .img-bottom { border-radius: 40px; transition: 0.8s cubic-bezier(0.2, 1, 0.3, 1); object-fit: cover; }
.img-top { width: 80%; height: 350px; position: absolute; top: 0; left: 0; z-index: 1; }
.img-bottom { width: 70%; height: 350px; position: absolute; bottom: 0; right: 0; z-index: 2; box-shadow: -15px 15px 40px rgba(0,0,0,0.1); }

/* Efecto Hover en las imágenes */
.image-stack:hover .img-top { transform: translate(-20px, -15px) rotate(-1deg); }
.image-stack:hover .img-bottom { transform: translate(20px, 20px) scale(1.02); box-shadow: -30px 30px 60px rgba(0,0,0,0.15); }

/* --- SECCIÓN INSTALACIONES (FOTO COMPLETA) --- */
.instalaciones-section {
    width: 100%;
    height: 65vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('instalaciones.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.instalaciones-section h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}
.btn-entrar {
    background-color: #111;
    color: #fff;
    padding: 14px 50px;
    text-decoration: none;
    border-radius: 40px;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: 0.3s;
    text-transform: uppercase;
}
.btn-entrar:hover { background-color: var(--gold); transform: scale(1.05); }

/* --- RECONOCIMIENTOS (Dentro de Centros) --- */
.reconocimientos-section { 
    background-color: #fff; 
    padding: 80px 8% 0; 
    text-align: center; 
    margin-top: 80px;
    border-radius: 20px;
}
.reconocimientos-section h2 { font-family: var(--font-serif); font-size: 2.5rem; text-decoration: underline; margin-bottom: 40px; font-weight: 400;}
.reconocimientos-list { list-style: none; display: inline-block; text-align: left; }
.reconocimientos-list li { font-size: 1.1rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: var(--text-grey); }
.reconocimientos-list li::before { content: '✓'; color: var(--gold); font-weight: bold; }

/* --- CTA MIMARTE --- */
.cta-mimarte { padding: 80px 8%; text-align: center; background-color: var(--bg-cream); border-top: 1px solid #eee; }
.cta-mimarte h3 { font-family: var(--font-serif); font-style: italic; font-size: 2.5rem; margin-bottom: 15px; font-weight: 400; color: var(--text-dark); }
.cta-mimarte p { color: var(--text-grey); font-size: 1.1rem; letter-spacing: 1px;}

/* --- SECCIÓN NUESTROS CENTROS (Vista Premium) --- */
.nuestros-centros {
    padding: 100px 8%;
    background-color: var(--bg-cream);
    animation: fadeIn 0.8s ease-in-out;
}

.centros-header { text-align: center; margin-bottom: 60px; }
.centros-header h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--text-dark);
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 400;
}
.centros-header p {
    color: var(--text-grey);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.centros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.centro-card {
    position: relative;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.centro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}
.centro-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.centro-card:hover img { transform: scale(1.08); }

/* Degradado oscuro inferior */
.centro-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.centro-info {
    position: absolute;
    bottom: 30px; left: 30px; right: 30px;
    text-align: left;
    color: #fff;
    z-index: 2;
    transition: transform 0.4s ease;
}
.centro-card:hover .centro-info { transform: translateY(-10px); }

.centro-info h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 5px;
    font-weight: 400;
}
.centro-info span {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.4;
    display: block;
}

.centro-hover-line {
    height: 2px;
    width: 0;
    background-color: var(--gold);
    margin-top: 15px;
    transition: width 0.4s ease;
}
.centro-card:hover .centro-hover-line { width: 60px; }

/* --- DETALLE DE CADA CENTRO --- */
.detalle-centro {
    padding: 60px 0;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 40px;
}
.container-detalle { width: 90%; margin: 0 auto; }

.btn-volver {
    display: inline-block;
    text-decoration: none;
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 40px;
    transition: color 0.3s;
}
.btn-volver:hover { color: #000; }

.detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.location-tag {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.detalle-titulo {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.detalle-item { margin-bottom: 35px; }
.detalle-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    color: var(--text-dark);
}
.detalle-item p { color: var(--text-grey); line-height: 1.6; }

.map-link {
    color: var(--text-grey);
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: all 0.3s;
}
.map-link:hover { border-bottom-color: var(--gold); color: var(--gold); }

.horarios-grid p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-grey);
}
.horarios-grid span { color: var(--text-dark); font-weight: 400; }

.detalle-footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.f-item { font-size: 0.95rem; line-height: 1.5; color: var(--text-grey); }
.f-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 5px;
}

.detalle-mapa {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 40px;
}

/* --- GALERÍA DE FOTOS EN DETALLE --- */
.galeria-experiencia { margin-top: 80px; text-align: center; }
.titulo-galeria {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
}
.grid-fotos-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-fotos-galeria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}
.grid-fotos-galeria img:hover { transform: scale(1.03); }

/* --- ESTILOS FOOTER PREMIUM --- */
.main-footer {
    background-color: #0c0c0c;
    color: #ffffff;
    padding: 80px 8% 40px;
    font-family: var(--font-sans);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 30px;
    font-weight: 400;
}

.brand-col .footer-logo {
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #fff;
}

.brand-tagline {
    color: #888;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-location {
    margin-bottom: 25px;
}

.footer-location strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 500;
}

.footer-location p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-col p {
    color: #888;
    margin-bottom: 15px;
}

.footer-col strong {
    color: #fff;
    font-weight: 500;
}

.social-icons-footer {
    display: flex;
    gap: 20px;
}
.social-icons-footer a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.social-icons-footer a:hover { color: #fff; }

.footer-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.4s;
    text-transform: uppercase;
}
.footer-cta:hover {
    background-color: var(--gold);
    color: #000;
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #444;
}
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: #444; text-decoration: none; transition: 0.3s; }
.legal-links a:hover { color: #888; }

/* --- NUEVA SECCIÓN MAPA (con placeholder) --- */
.section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.section h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-dark);
    border-left: 6px solid var(--gold);
    padding-left: 1.5rem;
}
.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gold);
    margin-bottom: 2rem;
}
#map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--gold);
}
.map-placeholder p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    max-width: 400px;
    font-family: var(--font-serif);
}
.map-placeholder button {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--text-dark);
    padding: 12px 45px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}
.map-placeholder button:hover {
    background: var(--gold);
    color: #fff;
}
.open-settings {
    background: transparent;
    border: 2px solid var(--gold);      /* Borde dorado destacado */
    color: var(--gold);                 /* Texto dorado sobre fondo oscuro */
    padding: 12px 45px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 2rem auto 0;
    display: block;
    width: fit-content;
    transition: all 0.3s ease;
}
.open-settings:hover {
    background: var(--gold);            /* Fondo dorado al pasar el ratón */
    color: #000;                        /* Texto negro para contraste */
    border-color: var(--gold);
}

/* --- BANNER DE COOKIES (estilo Lola Torrente) --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: #000;
    border: 2px solid #d4af37;
    border-radius: 0;
    padding: 1.8rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    margin: 0 auto;
    color: #f0f0f0;
    font-family: var(--font-sans);
}
.cookie-banner p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}
.cookie-banner a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted #d4af37;
}
.cookie-banner a:hover {
    color: #fff;
    border-bottom-color: #fff;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cookie-btn {
    flex: 1;
    padding: 12px 1rem;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    border-radius: 30px;
}
.cookie-btn:hover {
    background: #333;
}
.cookie-btn.accept {
    background: #d4af37;
    color: #000;
    border: 1px solid #d4af37;
}
.cookie-btn.accept:hover {
    background: transparent;
    color: #d4af37;
}
.cookie-btn.reject {
    background: transparent;
    border: 1px solid #444;
}
.cookie-btn.reject:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
}

/* --- MODAL CONFIGURACIÓN (estilo IONOS) --- */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    font-family: var(--font-sans);
}
.cookie-modal.active {
    visibility: visible;
    opacity: 1;
}
.modal-content {
    background: #000;
    border: 2px solid #d4af37;
    max-width: 550px;
    width: 90%;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-content h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #fff;
}
.modal-content > p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Selector "Seleccione todos los servicios" */
.select-all {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4af37;
}
.select-all label:first-child {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

/* Cada servicio */
.cookie-service {
    margin: 20px 0;
    padding: 15px;
    background: #111;
    border: 1px solid #2a2a2a;
    transition: border 0.3s;
}
.cookie-service:hover {
    border-color: #d4af37;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.service-name {
    font-family: var(--font-serif);
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.service-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Botón "Más" */
.btn-more {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 6px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s;
}
.btn-more:hover {
    background: #d4af37;
    color: #000;
}

/* Información desplegable */
.more-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #2a2a2a;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

/* Ajuste del switch (manteniendo el diseño anterior) */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .2s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #888;
    transition: .2s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #d4af37;
}
input:checked + .slider:before {
    background-color: #000;
    transform: translateX(26px);
}
input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Botones del modal */
.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.modal-buttons button {
    flex: 1;
    padding: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    border-radius: 30px;
}
.btn-save {
    background: #d4af37;
    color: #000;
    border: 1px solid #d4af37;
}
.btn-save:hover {
    background: transparent;
    color: #d4af37;
}
.btn-cancel {
    background: #222;
    color: #fff;
    border: 1px solid #444;
}
.btn-cancel:hover {
    background: #333;
}

/* Responsive para el modal */
@media (max-width: 600px) {
    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .service-controls {
        width: 100%;
        justify-content: space-between;
    }
    .btn-more {
        padding: 6px 15px;
    }
    .modal-content {
        padding: 1.5rem;
    }
}

/* --- RESPONSIVE MEDIA QUERIES (generales) --- */
/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .main-title { font-size: 3rem; }
    .about-section { gap: 30px; padding: 80px 5%; }
    .detalle-titulo { font-size: 2.8rem; }
    .footer-top { gap: 40px; }
}

/* Móviles grandes y Tablets vertical */
@media (max-width: 900px) {
    header { padding: 20px 5%; }
    .nav-left { display: none; } /* Ocultar menú en móvil grande */
    
    .hero-content { text-align: center; margin: 0 auto; }
    .main-title { font-size: 2.5rem; }

    .about-section { flex-direction: column; text-align: center; }
    .stats-container { justify-content: center; }
    .image-stack { height: 380px; max-width: 500px; margin: 0 auto; }

    .instalaciones-section h2 { font-size: 2.2rem; letter-spacing: 3px; }

    .detalle-grid { grid-template-columns: 1fr; gap: 40px; }
    .detalle-titulo { font-size: 2.5rem; }
    .detalle-mapa { position: relative; top: 0; height: 300px; }
    .detalle-mapa iframe { height: 100%; }
    .detalle-footer-info { grid-template-columns: 1fr; text-align: center; gap: 15px;}

    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .brand-tagline { margin: 0 auto 30px; }
    .social-icons-footer { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

    /* Ajustes mapa en móvil */
    .section h2 { font-size: 2rem; }
    .map-container { height: 350px; }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .logo-center { font-size: 0.8rem; letter-spacing: 1px; padding: 8px 15px; }
    .btn-contacto-top { padding: 8px 15px; font-size: 0.8rem; }
    
    .main-title { font-size: 2rem; }
    .about-text h2 { font-size: 2.2rem; }
    .stat-number { font-size: 2.8rem; }
    
    .centros-header h2 { font-size: 2.2rem; }
    .centro-card { height: 400px; }
    .detalle-titulo { font-size: 2rem; }

    .cookie-banner { left: 10px; right: 10px; padding: 1.5rem; }
    .cookie-btn { font-size: 0.7rem; padding: 10px; }
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

