body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}
/* Header base */
header {
    background: #0e1d24;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
    z-index: 1000;
}

/* Logo */
.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Menú desktop */
.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav a:hover {
    color: #00c3ff;
}

/* Botón hamburguesa */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* 🔹 Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav {
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        background: #0e1d24;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
        display: none; /* oculto por defecto */
    }

    .nav.active {
        display: flex; /* se activa con JS */
    }

    .nav a {
        width: 100%;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
    }

    .nav a:hover {
        background: rgba(255,255,255,0.1);
    }
}

/* HERO */
.hero {
    height: 90vh;
    background: url('4.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 40px 30px;
    border-radius: 14px;
    text-align: center;

    /* Layout ordenado */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    /* Efecto moderno */
    
    max-width: 500px;
    margin: auto;
}

/* Texto */
.overlay p {
    font-size: 1rem;
    line-height: 1.6;
    color: #d1d5db;
}

/* Botón */
.overlay button {
    margin-top: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

/* Hover */
.overlay button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.4);
}
.btn {
    background: #032f3f;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* SECCIÓN SERVICIOS MODERNA */
.servicios {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    background: url('3.jpeg') center/cover no-repeat;
    color: white;
    overflow: hidden;
}

/* CAPA OSCURA */
.servicios .overlay {
    position: absolute;
    top:0; left:0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}

/* CONTENIDO RELATIVO */
.servicios .content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: auto;
}
/* Reset básico */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    /* Transición suave para cambios de color, fondo y transformaciones */
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

/* Tipografía moderna y suavizado */
html {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fondo y color base (opcional, moderno) */
body {
    background: #071b1d;
    color: #0f282a;
    line-height: 1.6;
}

/* Elementos interactivos */
a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* Imágenes y medios */
img,
video {
    max-width: 100%;
    display: block;
}

/* Sección contacto */
.contacto {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 80vh;

    /* Imagen de fondo solo en esta sección */
    background: url('tu-imagen.jpg') no-repeat center center;
    background-size: cover;
}

/* Tarjeta */
.contact-card {
    max-width: 450px;
    width: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    color: #e5e7eb;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Título y texto */
.contact-card h2 {
    text-align: center;
    font-size: 1.8rem;
}
.contact-card p {
    text-align: center;
    font-size: 1rem;
    color: #cbd5e1;
}

/* Form */
.contact-card form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card input,
.contact-card textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
    color: #cbd5e1;
}

.contact-card textarea {
    min-height: 100px;
    resize: none;
}

/* Botón */
.contact-card button {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.contact-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.4);
}

/* Responsive */
@media (max-width: 480px) {
    .contact-card {
        padding: 25px;
    }
}
/* Fondo */
body {
    font-family: 'Inter', sans-serif;
    background: #d3d3d3;
    height: 100vh;
}

/* Centrado */
.contacto {
    display: flex;
background-image: url(5.jpg);
    justify-content: center;
    align-items: center;
    height: 100%;
}
/* Footer */
footer {
    background: #0e1d24;
    color: #cbd5f5;
    text-align: center;
    padding: 20px 10px;

    /* Opcional: que siempre quede abajo */
    width: 100%;
}

/* Texto */
footer p {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
/* Tarjeta */
.card {
    width: 100%;
    max-width: 420px;
    padding: 35px 30px;
    border-radius: 18px;
    background: #111827;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.05);
    animation: fadeIn 0.6s ease;
}

/* Título */
.card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: s#e5e7eb;
    font-size: 1.8rem;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Inputs */
input,
textarea {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: 1px solid #1f2933;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.95rem;
    outline: none;
    transition: 0.25s;
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

/* Focus */
input:focus,
textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.25);
}

/* Textarea */
textarea {
    min-height: 120px;
    resize: none;
}

/* Botón */
button {
    padding: 13px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

/* Hover */
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79,70,229,0.4);
}

/* Animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        margin: 20px;
        padding: 25px;
    }
}
.servicios h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

/* TARJETAS */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255,255,255,0.95);
    color: #000000;
    padding: 30px 20px;

    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.6s ease;
}

/* EFECTO AL APARECER */
.card.visible {
    transform: translateY(0);
    opacity: 1;
}

/* HOVER */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* TITULOS TARJETA */
.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* TEXTO TARJETA */
.card p {
    font-size: 16px;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

/* FORM */
form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

input, textarea {
    margin: 10px 0;
    padding: 10px;
}

button {
    background: #0d393f;
    color: white;
    border: none;
    padding: 10px;
}

/* MAPA */
iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
}

/* FOOTER */
footer {
    background: #0d0d0d;
    color: white;
    padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
}
/* SECCIÓN HORARIOS */
.horarios {
    padding: 60px 20px;
    display: flex;
    justify-content: center;

    /* 🔥 IMAGEN DE FONDO */
    background: url("2.jpeg") center/cover no-repeat;

    font-family: 'Segoe UI', sans-serif;
    position: relative;
}
/* Tarjeta */
.horario-card {
    width: 100%;
    max-width: 420px;
    
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.horario-card:hover {
    transform: translateY(-8px);
}

/* Título */
.horario-card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #34586a;
}

/* Lista */
.lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Cada fila */
.item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 12px;
    background: #f7fafc;
    transition: 0.3s;
}

.item:hover {
    background: #eaf2f7;
}



/* Domingo */
.cerrado span:last-child {
    color: #e74c3c;
}

/* Estado */
.estado {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.abierto {
    color: #2ecc71;
}

.cerrado {
    color: #e74c3c;
}
.horarios .content {
    max-width: 700px;
    margin: auto;
}

.horarios h2 {
    font-size: 32px;
    margin-bottom: 30px;
    
}

.horario-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.horario-list .dia {
    display: flex;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.horario-list .dia:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.horario-list .dia span:first-child {
    font-weight: 600;
}

.horario-list .dia span:last-child {
    font-weight: 400;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .horario-list .dia {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
/* FAQ general */
.faq {
    background: #0b1120;
    color: #e5e7eb;
    padding: 50px 20px;
    text-align: center;
}

.faq h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Cada pregunta */
.faq-item {
    max-width: 800px;
    margin: 0 auto 15px auto;
    background: rgba(0,0,0,0.6);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
}

/* Botón de pregunta */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.1rem;
    text-align: left;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.3rem;
    transition: transform 0.3s;
}

/* Respuesta oculta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: rgba(255,255,255,0.05);
    padding: 0 20px;
}

.faq-answer p {
    padding: 10px 0;
}

/* Activar respuesta */
.faq-item.active .faq-answer {
    max-height: 500px; /* suficiente para el contenido */
    padding: 15px 20px;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    content: '−';
}

/* Mobile */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 1.7rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .faq-answer {
        padding: 0 15px;
    }
}