/* Layout General del Hero */
.hero {
    background-color: var(--col-cream);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 60px; /* Padding superior para compensar el navbar fijo */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas */
    gap: 4rem;
    align-items: center;
}

/* Columna Texto */
.hero-greeting {
    font-size: 1.8rem;
    color: var(--col-olive);
    margin-bottom: 1rem;
}

.hero-brand-block h1 {
    font-size: 4rem; /* Ajustar según logo */
    color: var(--col-red);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 90%;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Columna Visual */
.image-wrapper {
    position: relative;
    border-radius: 30px; /* Bordes redondeados como en la foto */
    overflow: visible; /* Importante para que la tarjeta flote "afuera" */
}

.main-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 30px 30px 30px 0; /* Forma orgánica */
    box-shadow: 20px 20px 0px var(--col-beige); /* Sombra sólida decorativa */
}

/* LA TARJETA FLOTANTE (Dinámica) */
.floating-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background-color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-width: 280px;
    min-width: 250px;
    z-index: 10;
    border-left: 5px solid var(--col-red);
}

.floating-card h4 {
    font-family: var(--font-script);
    color: var(--col-red);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.floating-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--col-dark);
    margin-bottom: 10px;
}

.floating-card .date {
    font-size: 0.9rem;
    color: var(--col-olive);
    font-weight: 600;
}
/*Programación*/
.bg-cream-soft{
    background-color: #FAF8F2;
}

.prog-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.prog-header .subtitle{
    font-size: 1.5rem;
    color:var(--col-olive);
    margin-bottom: -10px;
}

.prog-header .section-title{
    margin-bottom: 0;
    text-align: left;
    font-size: 3rem;
    color: var(--color-dark);
}

.nav-arrow{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--col-olive);
    background: transparent;
    color: var(--col-olive);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-arrow:hover{
    background-color: var(--col-olive);
    color: var(--col-cream);
}

.prog-nav{
    display: flex;
    gap: 1rem;
}

/* --- CARRUSEL Y TARJETAS --- */

.prog-window {
    overflow-x: auto; /* Permite scroll horizontal */
    padding-bottom: 2rem; /* Espacio para la sombra */
    /* Ocultar barra de scroll estandar */
    scrollbar-width: none; 
}
.prog-window::-webkit-scrollbar { display: none; }

.prog-track {
    display: flex;
    gap: 2rem;
    width: max-content; /* Asegura que las cards queden en fila */
}

/* ESTILO DE LA TARJETA (CARD) */
.prog-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    width: 380px; /* TAMAÑO MÁS GRANDE */
    min-width: 380px; /* Evita que se encojan */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.prog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Imagen de la card */
.card-img-container {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prog-card:hover .card-img-container img {
    transform: scale(1.05); /* Zoom suave al pasar mouse */
}

/* Etiqueta (Badge) Rosa */
.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--col-pink);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* Contenido de texto */
.card-content {
    padding: 24px;
    flex-grow: 1; /* Empuja el footer hacia abajo */
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--col-red);
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Footer de la card (Duración y Link) */
.card-footer {
    margin-top: auto; /* Se pega al fondo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.duration {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.details-link {
    text-decoration: none;
    color: var(--col-olive);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.details-link:hover {
    color: var(--col-dark);
}

/* --- ESTILOS SECCIÓN CURSOS --- */
.bg-white { background-color: #ffffff; }
.mb-5 { margin-bottom: 3rem; }

.courses-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Lista de beneficios personalizada */
.benefit-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.benefit-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.05rem;
}

.benefit-list li span {
    color: var(--col-gold);
    font-size: 1.2rem;
}

/* Nota de materiales (efecto post-it) */
.material-note {
    background-color: var(--col-cream);
    border-left: 4px solid var(--col-olive);
    padding: 1rem 1.5rem;
    border-radius: 0 10px 10px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Imagen decorativa derecha */
.image-frame {
    position: relative;
    padding: 15px;
    border: 2px dashed var(--col-beige);
    border-radius: 30px;
    transform: rotate(2deg); /* Un toque "imperfecto" artístico */
}

.image-frame img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.sticker-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--col-pink);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-script);
    font-size: 1.2rem;
    transform: rotate(-10deg);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
    z-index: 2;
}


/* --- ESTILOS SECCIÓN PERSONALIZADOS (PRECIOS) --- */
.section-desc {
    text-align: center;
    max-width: 600px;
    margin: -20px auto 40px;
    color: #666;
}

.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.price-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    width: 350px;
    position: relative;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.price-card:hover { transform: translateY(-10px); }

/* Estilos tarjeta destacada (Grupal) */
.price-card.highlight {
    border: 2px solid var(--col-olive);
    background-color: #fffff8; /* Un crema muy sutil */
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--col-olive);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--col-dark);
    margin-bottom: 0.2rem;
}

.card-header .subtitle {
    font-family: var(--font-script);
    color: var(--col-red);
    font-size: 1.2rem;
}

.price-tag {
    margin: 1.5rem 0;
    color: var(--col-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.price-tag .currency { font-size: 1.5rem; vertical-align: top; }
.price-tag { font-size: 3.5rem; font-family: var(--font-serif); }
.price-tag .thousand { font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.price-tag .per-person { font-size: 0.9rem; color: #888; font-weight: normal; margin-left: 5px;}

.discount-alert {
    background: var(--col-pink);
    color: white;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 0.8rem;
    text-align: center;
    color: #555;
    font-size: 0.95rem;
}

.full-width {
    width: 100%;
    text-align: center;
}


/* --- TEMAS (GRID DE ICONOS) --- */
.topics-section {
    text-align: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 3rem;
}

.topics-title {
    font-size: 2rem;
    color: var(--col-olive);
    margin-bottom: 2rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.topic-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.2s;
}

.topic-box:hover {
    background: var(--col-beige);
    transform: scale(1.05);
}

.topic-box .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.topic-box h4 { color: var(--col-dark); font-size: 1.1rem; margin-bottom: 5px; }
.topic-box p { font-size: 0.85rem; color: #666; }

/* --- SECCIÓN CONTACTO (Refinado) --- */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem; /* Reducimos un poco el gap */
    align-items: start;
    max-width: 1000px; /* Limitamos el ancho para que no se estire tanto */
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 2.5rem;
}

/* Títulos más elegantes */
.form-title {
    font-family: var(--font-serif); /* Usamos la serif elegante */
    font-size: 1.5rem; /* Tamaño más discreto */
    margin-bottom: 1.5rem;
    color: var(--col-dark);
    font-weight: 700;
}

/* --- ESTILOS DEL FORMULARIO --- */
.contact-form-container {
    background: white;
    padding: 2rem; /* Menos padding */
    border-radius: 20px;
    border: 1px solid #f0f0f0; /* Borde más sutil */
    box-shadow: 0 5px 20px rgba(0,0,0,0.02); /* Sombra muy suave */
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem; /* Texto pequeño */
    color: #666;
    font-weight: 500; /* Menos peso visual (antes estaba en 600) */
    font-family: var(--font-main);
}

/* Inputs más finos y estilizados */
.main-form input, 
.main-form select, 
.main-form textarea {
    width: 100%;
    padding: 10px 15px; /* Menos relleno interno */
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    font-family: var(--font-main);
    font-size: 0.9rem; /* Letra más pequeña dentro del input */
    color: var(--col-dark);
    transition: all 0.3s ease;
    background-color: #fafafa;
    font-weight: 300; /* Fuente fina */
}

.main-form input::placeholder,
.main-form textarea::placeholder {
    color: #aaa; /* Placeholder más suave */
    font-weight: 300;
}

.main-form input:focus, 
.main-form select:focus, 
.main-form textarea:focus {
    outline: none;
    border-color: var(--col-pink); /* Foco rosa */
    background-color: white;
    box-shadow: 0 0 0 3px rgba(248, 126, 169, 0.1);
}

/* Botón más delicado */
.btn-pink {
    background-color: var(--col-pink);
    color: white;
    border: none;
    font-size: 0.95rem;
    padding: 10px 25px;
    border-radius: 50px;
    margin-top: 0.5rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-pink:hover {
    background-color: #e06b94;
    transform: translateY(-2px);
}

/* --- COLUMNA INFORMACIÓN --- */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-item {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #f5f5f5;
    transition: transform 0.2s;
}

.icon-circle {
    width: 40px; /* Iconos más pequeños */
    height: 40px;
    min-width: 40px; /* Evita que se aplaste */
    background-color: #FFF0F5;
    color: var(--col-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.info-text h4 {
    margin: 0;
    font-size: 0.75rem; /* Título pequeño (EMAIL, WHATSAPP) */
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
}

.info-text a, .info-text p {
    margin: 0;
    color: var(--col-dark);
    font-weight: 500; /* Letra normal, no bold */
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.3;
}

/* Mapa */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.btn-small {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--col-dark);
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-small::before { content: "🗺️"; }

/* --- FOOTER --- */
.main-footer {
    background-color: var(--col-olive); /* Fondo verde oscuro */
    color: var(--col-cream); /* Texto crema suave */
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* La primera columna un poco más ancha */
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Columna Identidad */
.footer-logo {
    font-size: 2.5rem;
    color: var(--col-cream); /* Crema */
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

.brand-phrase {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Títulos de columnas */
.footer-col h4 {
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--col-beige); /* Un tono más dorado/beige */
    opacity: 0.6;
}

/* Listas de enlaces */
.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: var(--col-cream);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--col-pink); /* Hover Rosa */
    padding-left: 5px; /* Pequeño movimiento a la derecha */
}

/* Links Sociales */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--col-cream);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.social-link span {
    font-size: 1.2rem; /* La flechita un poco más grande */
}

.social-link:hover {
    color: var(--col-pink);
}

.address-small {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Barra inferior (Copyright) */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); /* Línea muy sutil */
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-menu a:hover {
        padding-left: 0; /* Sin animación lateral en móvil */
    }
}

/* Responsive Móvil */
@media (max-width: 600px) {
    .prog-card {
        width: 300px;
        min-width: 300px;
    }
    .section-title { font-size: 2.2rem; }
    .nav-arrow { width: 40px; height: 40px; }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .image-wrapper {
        margin-top: 3rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .floating-card {
        right: 0;
        bottom: -20px;
    }
    .courses-layout { grid-template-columns: 1fr; }
    .courses-visual { order: -1; margin-bottom: 2rem; max-width: 400px; margin-left: auto; margin-right: auto;}
    .image-frame { transform: rotate(0); }
    .sticker-badge { right: -10px; left: auto; }
     .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr; /* Nombres y email uno debajo del otro en móvil */
    }
}