/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: "Times New Roman", Georgia, serif;
    background:#f4f4f4;
    color:#222;
    line-height:1.7;
}

/* ================= HEADER ================= */

header{
    background:#0d1b2a;
    color: #ffffff;
    padding:18px 40px;
    position:fixed;
    width:100%;
    top:0;
    left: 0;
    z-index:1000;
    box-shadow:0 2px 8px rgba(0,0,0,0.3);
    font-family:"Times New Roman", Georgia, serif;
}

.header-centro{
    text-align:center;

}

header h1{
    font-family:"Times New Roman", Georgia, serif;
    font-size:18px;
    letter-spacing:1px;
    font-weight:500;
    text-align: center;

}

.menu-btn{
    position:absolute;
    left:30px;
    top: 20px;
    background:none;
    border:none;
    font-size:24px;
    color:white;
    cursor:pointer;
}

.menu-btn:hover{
    color:#c9a227;
}

.side-menu{
    position:fixed;
    top:0;
    left:-260px;
    width:250px;
    height:100%;
    background:#0d1b2a;
    padding-top:80px;
    transition:0.4s ease;
    z-index:1200;
    font-family:"Times New Roman", Georgia, serif;
}

.side-menu.active{
    left:0;
}

.side-menu ul{
    list-style:none;
    padding:0 20px;
}

.side-menu ul li{
    margin:20px 0;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.side-menu ul li a{
    color:#fff;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
}

.side-menu ul li a:hover{
    color:#c9a646;
}

.close-btn{
    position:absolute;
    top:15px;
    right:20px;
    background:none;
    border:none;
    color:#fff;
    font-size:26px;
    cursor:pointer;
}

.close-btn:hover {
    color: gold;
}

.menu-header{
    margin-top:5px;   /* separación debajo del nombre */
    font-family:"Times New Roman", Georgia, serif;
}

.menu-header ul{
    display:flex;
    justify-content: center;
    gap:40px;
    list-style:none;
    padding: 0;
}

.menu-header ul li a{
    text-decoration:none;
    color:white;
    font-size:15px;
    letter-spacing:1px;
    transition:color 0.3s ease;
}

/* 🔥 HOVER GOLD */
.menu-header ul li a:hover{
    color:#c9a227;
}


/* =========================
   ESPACIO GENERAL
========================= */

main{
    margin-top:120px;
}

section{
    padding:80px 8%;
}



/* ================= PRESENTACIÓN ================= */

.presentacion{
    background-image:url("img/fondo.png");
    background-size: cover;               /* se adapta a la pantalla */
    background-position: left; 
    background-repeat: no-repeat;
    height:500px;
    display:flex;
    align-items:left;
    justify-content:left;
    text-align:left;
    color: white;
    position:relative;
    padding-top:80px;
}

.contenido{
    position:relative;
    color:#fff;
    max-width:800px;
    margin-top: -30px;
    padding:20px;
    margin-left: 100px; 
    animation: fadeIn 1.5s ease-in-out;
    text-align: center;
}

.contenido h1{
    font-size: 50px;
    margin-bottom:10px;
    letter-spacing:2px;
    color: #c9a227;
}

.contenido p{
    margin-bottom:10px;
    font-size:23px;
}

.especialista{
    font-weight:bold;
    color:#c9a646;
}

/* ================= REDES ================= */

.redes-sociales{
    background-position: left;
    margin-top:40px;
}

.redes-titulo{
    margin: bottom 40px;
    font-size:16px;
   
}

.boton{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:45px;
    height:45px;
    border-radius:50%;

    color:#fff;
    font-size:18px;
    transition:0.3s;
}

.instagram{background:#e1306c;
 }
.tiktok{background:#000;}
.facebook{background:#1877f2;
}
.linkedin{background:#0077b5;
}

.boton:hover{
    transform:scale(1.1);
}

/* ================= CARRUSEL ================= */

.carrusel{
    position:relative;
    overflow:hidden;
    background: white;
    padding: 20px 0;
    height: 600px;
}

.carrusel-contenedor{
    display:flex;
    align-items: center;
    width:max-content;
    animation:scroll 40s linear infinite;
    
}

.carrusel-contenedor img{
    width:320px;
    height:400px;
    object-fit:contain;
    margin:10px 15px;
    border-radius:6px;
}

.tooltip-carrusel {
    position: relative;      /* clave: tooltip relativo al carrusel */
    overflow: visible;       /* permite que el tooltip se vea completo */
    z-index: 1;              /* carrusel debajo del tooltip */
}

/* Tooltip grande sobre el carrusel */
.tooltip-carrusel .tooltip-text {
    position: absolute;
    top: 10px;               /* desde arriba del carrusel */
    left: 50%;
    transform: translateX(-50%);

    background-color: #093f79; /* dorado institucional */
    color: white;               /* letra negra para contraste */
    padding: 15px 25px;        /* más grande que antes */
    border-radius: 10px;
    font-size: 18px;           /* letra más grande */
    font-weight: bold;
    text-align: center;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 9999;             /* encima de todo, incluso menú */
}

/* Mostrar tooltip al pasar el cursor */
.tooltip-carrusel:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* efecto suave de subida */
}

.carrusel-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.6);
    border:none;
    color:#fff;
    font-size:28px;
    padding:8px 12px;
    cursor:pointer;
}

.prev{ left:10px; }
.next{ right:10px; }

/* ================= INFO ================= */

.info{
    padding:80px 20px;
    text-align:center;
    background:#0d1b2a;
}

.info h1{
    margin-bottom:30px;
    font-size:28px;
    color: white;
}

.info h2{
    margin-bottom:30px;
    font-size:25px;
    color: white;
}


.info h3{
    margin-bottom:30px;
    font-size:28px;
    color: white;
}

.info .linea-dorada {
    width: 1000px;              /* ancho de la línea */
    height: 4px;               /* grosor */
    background-color: #c9a227; /* color dorado */
    margin: 15px auto 40px;    /* centrado y espacio arriba/abajo */
    border-radius: 2px;        /* bordes redondeados */
}


.info p{
    margin-bottom:15px;
    font-size:25px;
    color: white;
}

/* ================= TRAYECTORIA ================= */

.trayectoria{
    
      width: 100%;
    padding: 80px 8%;
    text-align: center;
}

.trayectoria h2{
    margin-bottom:30px;
    font-size:28px;
}

.trayectoria .linea-dorada {
    width: 1000px;              /* ancho de la línea */
    height: 4px;               /* grosor */
    background-color: #c9a227; /* color dorado */
    margin: 15px auto 40px;    /* centrado y espacio arriba/abajo */
    border-radius: 2px;        /* bordes redondeados */
}

.contenedor{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:nowrap;
    
}

.bloque{
    background:#fff;
    padding:20px;
    width:500px;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s ease;   /* 🔥 activa animación suave */
    cursor:pointer;
}

.bloque:hover{
    transform: translateY(-10px);   /* se eleva */
    box-shadow:0 15px 30px rgba(0,0,0,0.18);  /* sombra más profunda */
    border-bottom:4px solid #c9a646;
}

.bloque h2{
    
    margin-bottom:15px;
}

.bloque ul{
    list-style:none;
    text-align:left;
    padding-left: 0;
}

.bloque ul li{
    position: relative;
    padding-left: 22px;     /* espacio para la viñeta */
    margin-bottom: 10px;
    font-size: 20px;
}

.bloque ul li::before{
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #c9a227;         /* mismo dorado */
    font-size: 18px;
    font-weight: bold;
}

/* ================= CONTACTO ================= */

.contacto{
    background:#111;
    color:#fff;
    padding:80px 20px;
    text-align: center;
}

.contacto h2 {
    font-size: 38px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: bold;
}

.rojo {
    color: #c0392b;   /* rojo elegante */
}

.verde {
    color: #27ae60;   /* verde sobrio */
}

.btn-whatsapp a{
    display:inline-block;
    margin:20px 0;
    padding:12px 25px;
    background:#25d366;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    transition:0.3s;
}

.btn-whatsapp a:hover{
    background:#1ebe5d;
}

.direccion{
    margin:20px 0;
    list-style:none;
}

.contacto-contenedor{
    display:flex;
    justify-content:left;
    margin:30px 0;
}


.mapa{
    width:100%;
}

.mapa iframe{
    width:100%;
    height:400px;  /* 🔥 puedes subirlo más si quieres */
    border-radius:8px;
}

/* ================= HORARIO ================= */

.horario{
    margin-top:30px;
}

#btn-horario{
    margin-top:10px;
    padding:8px 20px;
    background:#c9a646;
    border:none;
    cursor:pointer;
    font-weight:bold;
}

#lista-horario{
    margin-top:15px;
    list-style:none;
}

.oculto{
    display:none;
}

/* ================= FOOTER ================= */

footer{
    background:#0d1b2a;
    color:white;
    text-align:center;
    padding:25px;
      font-family: "Times New Roman", Times, serif;
}

.footer-contenido {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-botones {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-botones a {
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 16px;
}

/* 🔥 EFECTO HOVER GOLD */
.footer-botones a:hover {
    background-color: gold;
    color: #000;
    border-color: gold;
}


h1, h2, h3, h4, h5, h6{
    font-family: "Times New Roman", Times, serif;
}

/* ================= ANIMACIONES ================= */

@keyframes fadeIn{
    from{opacity:0; transform:translateY(20px);}
    to{opacity:1; transform:translateY(0);}
}

@keyframes scroll{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

    .contenedor{
    flex-wrap:wrap;
        align-items:center;
    }

    .carrusel-contenedor img{
        width:250px;
        height:160px;
    }

    header h1{
        font-size:16px;
    }
}