/* QUITA MÁRGENES */
html, body {
    margin: 0;
    padding: 0;
}

.about-strip{
    display:flex;
    width:100%;
    min-height:300px;
    gap:10px;
}
.about-wrap{
    max-width:1200px;
    margin:auto;
}
/* BASE */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    background: #f4f6f8;
    color: #010607;
    overflow-x:hidden;
}

/* VIDEO */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

/* BOTÓN */
.btn {
    display: inline-block;
    background: #005F6A;
    color: white;
    padding: 15px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #031E23;
}

/* TARJETAS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* CONTENEDOR */
.container {
    max-width: 75%;
    margin: auto;
    padding: 40px 20px;
}

.course{
    position:relative;
    cursor:pointer;
    transition:.3s;
}


.course:hover{
    transform:translateY(-5px);
}

.course-img{
    width:100%;
    height:160px;
    object-fit:cover;
    border-radius:10px 10px 0 0;
    margin-bottom:15px;
}

.course-info{
    max-height:0;
    overflow:hidden;
    transition:.5s ease;
    margin-top:10px;
}

/* ACTIVO */
.course.active .course-info,
.intensive-bar.active .course-info{
    max-height:300px;
}
.course-info li{
    font-size:19px;
    margin:8px 0;
}

.course-info ul{
    padding:10px 0 0;
}

.courses-grid{
    grid-template-columns: repeat(3,1fr);
}

.courses-icons{
    display:flex;
    justify-content:center;
    gap:25px;
    margin-bottom:30px;
    font-size:15px;
    opacity:.8;
}
.courses-intro{
    text-align:center;
    font-size:22px;
    font-weight:bold;
    margin:15px 0 5px;
    color:#005F6A;
    min-height:30px;
    transition:.4s;
}

/* ==========================
   FORM DEMO – DEFINITIVO
========================== */

.demo-form{
    max-width:500px;
    margin:40px auto;
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);

    display:flex;
    flex-direction:column;
    gap:15px;
}

.demo-form input,
.demo-form select,
.demo-form textarea,
.demo-form button{
    width:100%;
    box-sizing:border-box;
    font-size:16px;
}

.demo-form input,
.demo-form select,
.demo-form textarea{
    padding:12px;
    border-radius:8px;
    border:1px solid #ccc;
}

.demo-form textarea{
    min-height:90px;
    resize:none;
}

.demo-form button{
    margin-top:10px;
}

.demo-section{
    padding-top:120px;
}

/* COLORES */
.fb{color:#005F6A;}
.ig{color:#005F6A;}
.tt{color:#005F6A;}

.demo-info{
    text-align:center;
    margin:15px auto 30px;
    font-size:16px;
    color:#005F6A;
    line-height:1.6;
    max-width:420px;
}
/* FOOTER */
.footer{
    background:#010607;
    padding:20px 10%;
    color:white;
    text-align:left
}

.footer a{
    color:#c9a227;          /* dorado */
    text-decoration:none;
    transition:color .3s;
}

.footer a:hover{
    color:#ffd966;          /* dorado más claro */
   

}
.footer-box{
    margin-top:15px;
    background:#031E23;
    padding:12px;
    border-radius:8px;
    border-left:4px solid #c9a227;
    font-size:14px;
}

.footer-copy{
    text-align:center;
    margin-top:40px;
    font-size:14px;
    color:#777;
}
.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:8px;
}

.footer h3{
    color:#c9a227;
    margin-bottom:10px;
}

.footer-social{
    display:flex;
    gap:15px;
    font-size:20px;
    margin-bottom:15px;
}

.footer-social i{
    background:#005F6A;   /* fondo se mantiene */
    color:white;          /* ícono blanco */
    padding:10px;
    border-radius:50%;
    cursor:pointer;
    transition:.3s;
}

.footer-social i:hover{
    transform:scale(1.2);
}

.footer ul{
    list-style:none;
    padding:0;
}

.footer ul li{
    margin:8px 0;
}

.footer-whatsapp{
    background:#005F6A;
    padding:10px;
    border-radius:8px;
    font-size:14px;
    color:white;
}



/* HERO */
.hero {
    position: relative;
    min-height: calc(100vh + 1px); /* fuerza cobertura total */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top:80;
    margin-top:-1px;
}

/* CAPA OSCURA */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(1deg, #020B0D, #031E23);
    opacity: 0.75;
    z-index: -1;
}

/* CONTENIDO */
.hero-content {
    max-width: 1500px;
    animation: fadeUp 2.5s ease;
    width:100%;
    padding:0 5%;
    display:flex;
    flex-direction:column;
    align-items:center;
}
.hero-content p {
    font-size: 20px;
    margin: 20px 0;
    line-height: 1.4;
}

.hero-cta{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;   /* controla TODA la separación */
}

.hero-logo{
    width: min(90vw, 1500px); /* responsive */
    max-width: 1500px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
    object-fit: contain;
}
html{
    scroll-behavior: smooth;
}



/* RECTANGULO INFERIOR */
.intensive{
    background:#005F6A;
    color:white;
    text-align:center;
    padding:10px;
    border-radius:0 0 10px 10px;
    font-weight:bold;
    margin-top:15px;
}

.intensive-banner{
    width:100%;
    height:180px;      /* ajusta si quieres */
    object-fit:cover;
    border-radius:12px;
    margin-bottom:15px;
}

/* ==========================
   INTENSIVE BAR
========================== */

.intensive-bar{
    background:#005F6A;
    color:white;
    text-align:center;
    padding:20px;
    border-radius:12px;
    font-weight:bold;

    cursor:pointer;
    transition:.3s;

    max-width:1100px;
    margin:40px auto;
}

.intensive-bar:hover{
    background:#031E23;
}

/* ANIMACIÓN */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ANIMACIÓN FLOTANTE */
@keyframes float{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-8px);}
}
/* 1️⃣ ESTILO BASE (desktop) */
.menu-btn{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:white;
    transition:.3s;
}
/* ==========================
   📱 RESPONSIVE MOBILE
========================== */
@media (max-width: 768px){

/* NAVBAR */
.navbar{
    padding:0 15px;
    height:65px;
    display:flex;
    align-items:center;
}

.nav-logo{
    height:28px;
    max-width:150px;
    object-fit:contain;
}

/* MENÚ LATERAL */
.nav-links{
        position:fixed;
        top:0;
        right:-100%;
        width:70%;
        height:100vh;
        background:/*#3A7F8F;*/rgba(255,255,255,0.9);
        backdrop-filter:blur(12px);
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:25px;
        transition:.4s ease;
        z-index:9999;
}

.nav-links.active{
        right:0;
}

.nav-links a{
        color:#005F6A;
        font-size:20px;
        text-decoration:none;
}

/* BOTÓN MENÚ */
.menu-btn{
        display:block;
        z-index:10000;
}

/* HERO */
.hero{
    min-height:100vh;
}

.hero-logo{
    width:90%;
}

/* CONTENEDOR */
.container{
    max-width:100%;
    padding:20px 10px;
}

/* FILOSOFÍA */
.panel-item{
    flex-direction:column;
    text-align:center;
}

.panel img{
    width:100%;
}

/* STRIP */
.strip{
    flex-wrap:wrap;
}

.strip button{
    font-size:14px;
    padding:10px;
}

/* CARDS */
.cards{
    grid-template-columns:1fr;
}

/* CURSOS */
.course-img{
    height:140px;
}


/* ICONOS */
.online-icons{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    text-align:center;
}

/* SOCIAL */
.social-wrap{
    flex-direction:column;
    align-items:center;
    gap: 14px;   /* ↓ menos espacio entre botones */
}

.social-card{
        width: 100%;
        max-width: 210px;     /* 🔹 MÁS ANGOSTOS */
        min-width: unset;     /* 🔹 evita que se agranden */

        padding: 8px 14px;    /* 🔹 menos alto */
        font-size: 14px;      /* 🔹 texto más chico */
        gap: 8px;             /* 🔹 ícono más cerca del texto */

        border-radius: 28px;  /* 🔹 proporción correcta */

        /* ❗ NO tocamos animation → siguen respirando */
}

.social-card i{
        font-size:15px;       /* 🔹 ícono más pequeño */
}
.social-inner{
        margin:0 24px;
}
/* FOOTER */
.footer{
    padding:20px;
}

.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-social{
    justify-content:center;
}

/* WHATSAPP */
.whatsapp-msg{
    max-width:230px;
    font-size:13px;
}

/* FORM DEMO */
.demo-form{
    max-width:500px;
    margin:0 auto;
}
.demo-section{
        padding-top:160px;
    }
.intensive-bar{
        padding:15px;
        font-size:14px;
}

.course.active .course-info{
        max-height:500px;
}
}


.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    background:rgba(200,181,106,0.30);
    backdrop-filter:blur(8px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
    box-sizing:border-box; /* CLAVE */
    z-index:1000;
    transition:0.5s ease;
}


/* ESTADO SCROLL */
.navbar.scrolled{
    background:#ffffff;
    box-shadow:0 8px 30px rgba(0,0,0,.2);
}

/* Cuando la barra se vuelve blanca */
.navbar.scrolled .menu-btn{
    color:#005F6A; /* oscuro */
}
/* ANIMACIÓN */
.navbar.scrolled .nav-logo{
    transform:scale(1.5);
}


/* LOGO */
.nav-logo{
    height:35px;
    transition:0.5s ease;
    cursor:pointer;
}

.nav-logo:hover{
    opacity:0.85;
}
/* contenedor links */
.nav-links{
    display:flex;
    gap:25px;
    max-width:60%;
}
/* NAV LINKS */
.nav-links a{
    color:#fcfcfc;
    text-decoration:none;
    font-weight:600;

    margin:0 15px;
    white-space:nowrap;

    transition:.3s;
}
.nav-links a:hover{
    color:#c9a227;
}

/* scroll */
.navbar.scrolled .nav-links a{
    color:#005F6A;
}

.online-dynamic{
    font-size: clamp(20px,3vw,32px);
    font-weight:bold;
    margin:25px 0 10px;
    color:#c9a227;
    min-height:40px;
    transition:opacity .5s ease;
    text-align:center;   /* ← CENTRAR TEXTO */
}

.online-icons{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
    justify-content:center;
    font-size:16px;
    opacity:.9;
}
.panel{
    margin-top:25px;
    background:#3A7F8F;
    padding:20px;
    border-radius:12px;
}

.panel img{
    width: 250px;
    border-radius:5px;
}

.panel-item{
    display:none;
    gap:20px;
    align-items:center;
}

.panel-item.active{
    display:flex;
}

.panel p{
    color:white;
    font-size:18px;
    line-height:1.6;
    text-align:justify;
}

/* SECCIONES */
.section {
    margin-bottom: 0px;
    scroll-margin-top: 90px; /* ajusta según altura de tu navbar */
}
.section h2 {
    font-size: 30px;
    color: #005F6A;
    text-align: center; /* ← CENTRADO */
    margin-top: 100px; /* baja la palabra Talleres */
}
.section-subtitle{
    text-align:center;
    font-size:18px;
    color:#555;
    margin-top:8px;
    font-style:italic;
}

/* CARDS */
.social-card{
    background:rgba(255,255,255,0.85);
    color:#005F6A;
    padding:16px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    display:flex;
    align-items:center;
    gap:12px;
    min-width:190px;
    justify-content:center;
    transition:.3s;
    animation:float 4s ease-in-out infinite;
}

/* retraso animación */
.social-card:nth-child(2){animation-delay:.5s;}
.social-card:nth-child(3){animation-delay:1s;}
.social-card:nth-child(4){animation-delay:1.5s;}

.social-card i{
    font-size:20px;
}

/* hover */
.social-card:hover{
    transform:translateY(-8px) scale(1.05);
    box-shadow:0 15px 30px rgba(0,0,0,.25);
}

.social-wrap{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
}

.social-glass{
    background:#ffffff;
    border-radius:20px;

    padding:18px 24px;
    margin:40px auto;

    width:100%;
    max-width:1100px;

    box-sizing:border-box;   /* 🔑 ESTA ES LA CLAVE */

    text-align:center;
    color:#005F6A;

    box-shadow:0 10px 25px rgba(201,162,39,.4);

}

/* CAJA REAL (la que debe comportarse como las de arriba) */
.social-inner{
    max-width:1100px;
    margin:0 auto;
    padding:24px 32px;

    background:#c9a227; /* mismo color para continuidad */
    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);
}


.social-glass h2{
    font-size:24px;
    margin-bottom:10px;
    margin-top:0;
    line-height: 1.2; 
   
}

/* SECCIÓN (solo fondo) */
.social-section{
    background:#c9a227;
    padding:50px 0;
}

.strip{
    display:flex;
    justify-content:space-between;
    gap:10px;
}

.strip button{
    flex:1;
    background:#031E23;
    color:#FFFFFF;
    border:none;
    padding:15px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
    border-radius:12px;
    font-size:16px;
}

.strip button:hover{
    background:#005F6A;
}


.strip button.active{
    background:#18B7C2;
    color:#031E23;
}

.tab{
    flex:1;
    background:#031E23;
    color:white;
    padding:25px;
    cursor:pointer;
    transition:0.4s;
    overflow:hidden;
}

.tab.active{
    flex:3;
    background:#005F6A;
}

.tab.active p{
    opacity:1;
    max-height:300px;
}

.tab h3{
    color:#6FE7EA;
    margin-bottom:15px;
}

.tab p{
    opacity:0;
    max-height:0;
    transition:0.4s;
}

.thanks-box{
max-width:600px;
margin:40px auto;
background:white;
padding:40px 30px;
border-radius:18px;
text-align:center;
box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.thanks-box h2{
color:#005F6A;
margin-bottom:15px;
}

.thanks-box p{
font-size:18px;
margin-bottom:15px;
color:#444;
}

.titulo-cn {
    font-size:clamp(36px, 5vw, 72px);
    font-weight: normal;
    letter-spacing: 60px;
    opacity: 0.9;
    margin-bottom: 20px;
    /*color: #A8E6CF;  jade suave */
}
.titulo-es {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: bold;
    margin-bottom: 5px;
}
/* ==========================
   WHATSAPP FLOAT
========================== */

.whatsapp-box{
    position:fixed;
    bottom:20px;
    right:20px;
    z-index:99999;
}

/* BOTÓN */
.whatsapp-float{
    background:#005F6A;
    color:white;

    width:60px;
    height:60px;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;
    text-decoration:none;

    box-shadow:0 5px 15px rgba(0,0,0,.3);
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

/* MENSAJE */
.whatsapp-msg{
    position:absolute;
    bottom:70px;
    right:0;

    background:#005F6A;
    color:white;

    padding:10px 16px;
    border-radius:12px;

    font-size:14px;
    max-width:260px;
    line-height:1.4;
    text-align:left;

    box-shadow:0 8px 20px rgba(0,0,0,.3);

    opacity:0;
    transform:translateY(10px);
    transition:.5s;
    pointer-events:none;
}

/* MENSAJE VISIBLE */
.whatsapp-msg.show{
    opacity:1;
    transform:translateY(0);
}

/* PICO DEL GLOBO */
.whatsapp-msg::after{
    content:"";
    position:absolute;
    bottom:-6px;
    right:18px;
    border-width:6px;
    border-style:solid;
    border-color:#005F6A transparent transparent transparent;
}

#inicio{
    scroll-margin-top: 80px;
}

#filosofia{
    scroll-margin-top: 100px;
}

#talleres{
    scroll-margin-top: 270px;
}

#contacto{
    scroll-margin-top: 90px;
}

/*Aqui empieza el cambio ************************************************************************/
/* ==========================
   MENU HAMBURGUESA – MOBILE
========================== */
@media (max-width: 768px){

  /* Fondo del menú desplegable */
  .nav-links{
    background: rgba(255,255,255,0.95);
  }

  /* Links del menú */
  .nav-links a{
    color: #005F6A;
    font-weight: 700;
  }

  .nav-links a:hover{
    color: #031E23;
  }

  /* Ícono hamburguesa */
  .menu-btn{
    color: #005F6A;
  }

  /* Navbar cuando se abre el menú */
  .navbar{
    background: rgba(255,255,255,0.95);
  }
}