/* ============================================
   VARIABLES GLOBALES
   ============================================ */
:root {
    --primary: #FC8A3F;
    --primary-dark: #e07a2e;
    --text-dark: #000;
    --text-light: #4a4a4a;
    --bg-light: #ffdfbb;
    --white: #ffffff;
    --success: #28a745;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('/static/font/inter/inter-v20-latin-200.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 200;
  src: url('/static/font/inter/inter-v20-latin-200italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('/static/font/inter/inter-v20-latin-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  src: url('/static/font/inter/inter-v20-latin-300italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/static/font/inter/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('/static/font/inter/inter-v20-latin-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/static/font/inter/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  src: url('/static/font/inter/inter-v20-latin-500italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/static/font/inter/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  src: url('/static/font/inter/inter-v20-latin-600italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/static/font/inter/inter-v20-latin-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  src: url('/static/font/inter/inter-v20-latin-700italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('/static/font/inter/inter-v20-latin-800.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 800;
  src: url('/static/font/inter/inter-v20-latin-800italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('/static/font/inter/inter-v20-latin-900.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 900;
  src: url('/static/font/inter/inter-v20-latin-900italic.woff2') format('woff2');
}

.btn-primary-custom {
    scroll-margin-top: 80px;
}

/* ============================================
   ESTILOS BASE
   ============================================ */
.bg_course {
    background-image: url('/static/img/bg_course.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.modal-backdrop.show {
    display: none;
}

/* Navbar */
nav.navbar.navbar-expand-lg.fixed-top.bg-body-tertiary {
    top: 0px!important;
}

/* Header */
.hero-section {
    padding: 8.5rem 0 8rem 0;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-description {
    font-size: 19px;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
}

/* Bullets */
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Botón */
.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 40px;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 1.8rem;
}

.btn-primary-custom:hover {
    background-color: #c7341f;
    transform: scale(0.98);
}

/* Social proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 30px;
    height: 30px;
    background-color: #ddd;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-placeholder {
    background: linear-gradient(135deg, #ffedd3, #dcc496);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

.students-count {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ffff;
    padding: 5px 12px;
    border-radius: 30px;
}

.rating svg {
    color: #FFB800;
    font-size: 14px;
}

.rating span {
    font-weight: 700;
    font-size: 15px;
}

.bullet-icon {
    background-color: #fff;
    padding: 6px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tarjeta superpuesta - solo mobile */
.image-container {
    position: relative;
    margin-top: 1rem;
}

.main-image {
    width: 100%;
    height: 300px;
    border-radius: 24px;
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: 5px;
    background: white;
    padding: 12px 18px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: auto;
    max-width: 85%;
    border-left: 4px solid var(--primary);
}

.certified {
    display: flex;
    align-items: center;
    gap: 10px;
}

.certified-logo {
    background-color: #c6e8b8;
    padding: 6px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certified-logo svg {
    color: #28a745;
}

.floating-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.floating-card small {
    font-size: 16px;
    color: #666;
}

/* Desktop ajustes */
@media (min-width: 768px) {
    .hero-section {
        padding: 9rem 0;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-description {
        font-size: 20px;
    }
    .bullet-list {
        gap: 1.2rem;
    }
    .bullet-item {
        font-size: 20px;
    }
    .btn-primary-custom {
        width: auto;
        padding: 12px 32px;
    }
    .social-proof {
        flex-wrap: nowrap;
    }
    .main-image {
        height: 445px;
    }
    .floating-card {
        bottom: -30px;
        left: 30px;
        padding: 15px 24px;
    }
    .floating-card p {
        font-size: 15px;
    }
}

/* Sección Formulario - con superposición negativa */
.form-section {
    position: relative;
    margin-top: -60px;
    padding-bottom: 4rem;
    z-index: 2;
}

.form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 5px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem 1.5rem;
}

/* Eyebrow */
.eyebrow {
    color: #FC8A3F;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Títulos */
.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.form-description {
    font-size: 16px;
    color: #4a4a4a;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

/* Check list con íconos verdes */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 18px;
    color: #000;
}

.check-container {
    background-color: #e9f4e5;
    padding: 6px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-group-custom {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-field {
    width: 100%;
    padding: 16px 14px 8px 14px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: white;
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226, 65, 42, 0.1);
}

.input-field::placeholder {
    color: transparent;
}

/* Label flotante DENTRO del borde superior */
.input-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9ca3af;
    transition: all 0.2s ease;
    pointer-events: none;
    background-color: transparent;
    padding: 0 2px;
}

.input-field:focus ~ .input-label,
.input-field:not(:placeholder-shown) ~ .input-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--primary);
    background-color: white;
}

/* Para selects - mismo estilo */
.input-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.input-select:valid ~ .input-label,
.input-select:focus ~ .input-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--primary);
    background-color: white;
}

/* Botón submit */
.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 40px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: var(--primary);
    transform: scale(0.98);
}

/* Checkbox personalizado */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    font-size: 13px;
    color: #6c757d;
}

/* Asegurar que el contenedor relativo funcione correctamente */
.input-group-custom {
    position: relative;
}

.input-group-custom .input-field {
    width: 100%;
    padding: 16px 14px 8px 14px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: white;
    transition: all 0.2s ease;
    color: #737373;
}

.input-group-custom .input-field:focus {
    outline: none;
    border-color: #E2412A;
    box-shadow: 0 0 0 3px rgba(226, 65, 42, 0.1);
}

/* Estilo específico para el select del prefijo */
#whatsapp_prefix {
    padding: 16px 14px 8px 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Label flotante dentro del input del número */
.input-group-custom .input-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9ca3af;
    transition: all 0.2s ease;
    pointer-events: none;
    background-color: transparent;
    padding: 0 2px;
}

.input-group-custom .input-field:focus ~ .input-label,
.input-group-custom .input-field:not(:placeholder-shown) ~ .input-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 11px;
    color: #000000;
    background-color: white;
}
/* Estilos para radio buttons */
.input-group-custom-radio {
    margin-bottom: 1.5rem;
    position: relative;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 12px 14px 8px 14px;
    transition: all 0.2s ease;
}

.input-group-custom-radio:focus-within {
    border-color: #E2412A;
    box-shadow: 0 0 0 3px rgba(226, 65, 42, 0.1);
}

.input-label-radio {
    font-size: 11px;
    color: #E2412A;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #E2412A;
}

.radio-option span {
    cursor: pointer;
}

/* Desktop ajustes */
@media (min-width: 992px) {
    .form-wrapper {
        padding: 3rem 2.5rem;
    }
    .form-section {
        margin-top: -80px;
    }
    .form-title {
        font-size: 32px;
    }
    .check-item {
        font-size: 18px;
        margin-bottom: 1rem;
    }
}

/* Sección del curso */
.course-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffdfbb 0%, transparent 100%);
    z-index: 1;
}

.course-content {
    max-width: 1200px;
    margin: 0 auto;
}

.course-section .eyebrow {
    text-align: left;
}

.course-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.course-description {
    font-size: 18px;
    color: #4a4a4a;
    text-align: left;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid de cards - 2x3 en mobile */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* Card individual */
.course-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Icono */
.card-icon-course {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(226, 65, 42, 0.1);
    border-radius: 50%;
}

.card-icon-course svg {
    font-size: 28px;
    color: #E2412A;
}

/* Título de la card (MAYÚSCULA) */
.card-title-course {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Texto de la card (BOLD) */
.card-text-course {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

/* Desktop - Grid 3x2 */
@media (min-width: 768px) {
    .course-section {
        padding: 5rem 0;
    }
    .course-section .eyebrow {
        text-align: center;
    }
    .course-title {
        font-size: 36px;
        text-align: center;
    }
    .course-description {
        font-size: 18px;
        margin-bottom: 3rem;
        text-align: center;
    }
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .course-card {
        padding: 2rem 1.5rem;
    }
    .card-icon-course {
        width: 50px;
        height: 50px;
    }
    .card-icon-course svg {
        font-size: 32px;
    }
    .card-title-course {
        font-size: 21px;
    }
    .card-text-course {
        font-size: 21px;
    }
}

/* Ajuste para pantallas muy pequeñas */
@media (max-width: 480px) {
    .cards-grid {
        gap: 1rem;
    }
    .course-card {
        padding: 1.25rem 0.75rem;
    }
}

/* Sección: Por qué este curso */
.why-section {
    padding: 4rem 0;
    background-color: #ffdfbb;
    position: relative;
    z-index: 1;
}

.why-content {
    max-width: 1200px;
    margin: 0 auto;
}

.why-section .eyebrow {
    text-align: center;
}

.why-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Contenedor del carrusel con scrollbar personalizada */
.carousel-with-scrollbar {
    position: relative;
    width: 100%;
}

/* Ocultar scrollbar nativa */
.cards-carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cards-carousel-container::-webkit-scrollbar {
    display: none;
}

.cards-wrapper {
    display: flex;
    gap: 1.25rem;
    width: max-content;
}

/* Cards del carrusel - estilo mobile */
.why-card {
    width: 85vw;
    max-width: 320px;
    flex-shrink: 0;
    background: white;
    border-radius: 15px;
    padding: 1.8rem 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Icono rojo */
.card-icon-red {
    margin-bottom: 1rem;
}

.card-icon-red svg {
    color: #FC8A3F;
}

.why-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
    text-align: left;
    line-height: 1.3;
}

.why-card-description {
    font-size: 18px;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

/* Scrollbar personalizada - SIEMPRE VISIBLE */
.custom-scrollbar {
    margin-top: 1.5rem;
    width: 100%;
}

.custom-scrollbar-track {
    background: #ffff;
    border-radius: 4px;
    height: 4px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.custom-scrollbar-thumb {
    background: #838383;
    border-radius: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 30px;
}

.custom-scrollbar-thumb:hover {
    background: #c7341f;
}

/* ========== DESKTOP ========== */
@media (min-width: 768px) {
    .why-section {
        padding: 5rem 0;
    }
    .why-title {
        font-size: 36px;
        margin-bottom: 3rem;
    }
    .cards-carousel-container {
        overflow-x: visible;
    }
    .cards-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        width: 100%;
    }
    .why-card {
        width: 100%;
        max-width: none;
        padding: 2rem 1.2rem;
    }
    .why-card-title {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .why-card-description {
        font-size: 16px;
    }
    .custom-scrollbar {
        display: none;
    }
}

/* Tablets pequeñas */
@media (min-width: 576px) and (max-width: 767px) {
    .why-card {
        width: 70vw;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .why-card {
        padding: 1.5rem 1rem;
        width: 85vw;
    }
    .why-card-title,
    .why-card-description {
        font-size: 18px;
    }
}

/* Sección: Student Advisor */
.advisor-section {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    z-index: 1;
}

.advisor-card {
    background: linear-gradient(180deg, #FBDEAF 0%, #FFC9B7 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 5px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem 1.5rem;
}

/* Estilo para youtube-facade */
.youtube-facade {
    position: relative;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
}

.youtube-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.youtube-facade:hover img {
    transform: scale(1.02);
}

/* Botón de play para youtube-facade */
.youtube-facade .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: #E2412A;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(226, 65, 42, 0.4);
}

.youtube-facade .play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

.youtube-facade:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(226, 65, 42, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(226, 65, 42, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 65, 42, 0); }
}

/* Información del advisor */
.advisor-info {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.advisor-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.advisor-description {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.advisor-subdescription {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Bullets */
.advisor-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.advisor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
    font-size: 18px;
    color: #000;
}

.advisor-item i {
    color: #28a745;
    font-size: 18px;
}

/* Botones */
.advisor-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-agendar,
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-agendar {
    background-color: #FC8A3F;
    color: white;
}

.btn-agendar:hover {
    background-color: #e07a2e;
    transform: scale(0.98);
}

.btn-whatsapp {
    background-color: white;
    color: #000;
    border: 1px solid #e0e0e0;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #f5f5f5;
    transform: scale(0.98);
    text-decoration: none;
    color: #000;
}

.btn-whatsapp i {
    font-size: 18px;
    color: #25D366;
}

/* Modal de video */
#videoModalCourse {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.49);
}

.modal-video-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.modal-video-content .modal-header {
    border: none;
    padding: 1rem 1rem 0 1rem;
}

.modal-video-content .btn-close {
    background-color: white;
    border-radius: 50%;
    opacity: 1;
    padding: 10px;
    margin-right: 0;
}

.modal-video-content .btn-close:hover {
    background-color: #f0f0f0;
}

/* ========== DESKTOP ========== */
@media (min-width: 992px) {
    .advisor-section {
        padding: 5rem 0;
    }
    .advisor-card {
        padding: 3rem;
    }
    .advisor-title {
        font-size: 38px;
    }
    .youtube-facade {
        aspect-ratio: 10 / 8;
    }
    .advisor-item {
        margin-bottom: 1rem;
    }
    .advisor-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    .btn-agendar,
    .btn-whatsapp {
        flex: 1;
        padding: 14px 24px;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .advisor-card {
        padding: 2rem;
    }
    .advisor-title {
        font-size: 32px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .advisor-card {
        padding: 1rem;
    }
    .advisor-title {
        font-size: 28px;
    }
    .youtube-facade .play-button {
        width: 55px;
        height: 55px;
    }
    .youtube-facade .play-button::after {
        border-left: 14px solid white;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }
}

/* ============================================
   MODAL CALENDAR
   ============================================ */
.calendar-modal {
    max-width: 80vw;
}

.calendar-modal .modal-content {
    height: 80vh;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.calendar-modal .modal-body {
    padding: 0;
    height: 100%;
    flex-grow: 1;
    overflow: hidden;
}

.modal-header {
    z-index: 1030;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
}

.educator-photo {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    width: 60px;
    height: 60px;
}

.educator-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.educator-name {
    font-size: 1rem;
    font-weight: 600;
}

/* Calendario */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    min-height: 300px;
}

.calendar-day-header {
    text-align: center;
    padding: 10px 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 4px;
    height: 42px;
}

.calendar-day {
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: white;
    font-size: 0.9rem;
    min-height: 40px;
    max-height: 50px;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.calendar-day.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    font-weight: 600;
    transform: scale(1.05);
}

.calendar-day.disabled {
    cursor: not-allowed;
}

.calendar-day.empty {
    visibility: hidden;
}

/* Horarios */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 1rem;
}

.time-slot {
    padding: 8px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 38px;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.time-slot.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    font-weight: 600;
}

.time-slot.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Botones del modal */
.btn-next {
    background: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 4px;
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-next:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alertas */
.alert-info {
    padding: 10px 15px;
    border-radius: 10px;
}

/* Scroll personalizado */
.steps-content::-webkit-scrollbar,
.time-slots-container::-webkit-scrollbar,
.form-container::-webkit-scrollbar {
    width: 6px;
}

.steps-content::-webkit-scrollbar-track,
.time-slots-container::-webkit-scrollbar-track,
.form-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.steps-content::-webkit-scrollbar-thumb,
.time-slots-container::-webkit-scrollbar-thumb,
.form-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

#phone_prefix {
    width: 30% !important;
    padding-left: 20px !important;
}

/* Sección: Detalles del Programa */
.details-section {
    padding: 4rem 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.details-content {
    max-width: 800px;
    margin: 0 auto;
}

.details-section .eyebrow {
    text-align: center;
}

.details-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

/* Contenedor de items - todos en una columna */
.items-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cada item individual */
.detail-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: #fffaf7;
}

.detail-header:hover {
    background-color: #f9f9f9;
}

.detail-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    transition: color 0.2s ease;
}

.detail-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.detail-header[aria-expanded="true"] .detail-icon {
    transform: rotate(180deg);
    color: #E2412A;
}

.detail-header[aria-expanded="true"] .detail-title {
    color: #E2412A;
}

/* Contenido desplegable */
.detail-content {
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.detail-content p {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .details-section {
        padding: 5rem 0;
    }
    .details-title {
        font-size: 36px;
    }
    .detail-header {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .details-section {
        padding: 3rem 0;
    }
    .details-title {
        font-size: 24px;
    }
    .detail-header {
        padding: 1rem 1.25rem;
    }
    .detail-title {
        font-size: 16px;
    }
    .detail-icon {
        width: 18px;
        height: 18px;
    }
    .detail-content {
        padding: 1rem 1.25rem;
    }
}

/* Sección: Alojamientos */
.accommodation-section {
    padding: 4rem 0;
    background: linear-gradient(360deg, #ffdfbb 0%, transparent 100%);
    position: relative;
    z-index: 1;
}

.accommodation-section .eyebrow {
    text-align: left;
}

.accommodation-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.accommodation-subtitle {
    font-size: 16px;
    color: #4a4a4a;
    text-align: left;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Grid para cuando hay menos de 4 cards */
.accommodation-grid-wrapper .accommodation-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    align-items: stretch;
}

/* Carrusel con scrollbar personalizada */
.accommodation-carousel-wrapper {
    position: relative;
    width: 100%;
}

.accommodation-carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.accommodation-carousel-container::-webkit-scrollbar {
    display: none;
}

.accommodation-carousel-wrapper .accommodation-cards-wrapper {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    padding: 1rem;
    align-items: stretch;
}

/* Card individual */
.accommodation-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.accommodation-card:hover .accommodation-link {
    text-decoration: underline;
}

.accommodation-carousel-wrapper .accommodation-card {
    width: 280px;
    flex-shrink: 0;
}

.grid-layout .accommodation-card {
    width: 100%;
}

.accommodation-card-image {
    width: 100%;
    aspect-ratio: 2 / 1.5;
    overflow: hidden;
    flex-shrink: 0;
}

.accommodation-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.accommodation-card:hover .accommodation-card-image img {
    transform: scale(1.05);
}

.accommodation-card-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.accommodation-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.accommodation-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.detail-point {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.3;
    min-height: 48px;
}

.detail-point i {
    font-size: 18px;
    color: #E2412A;
    flex-shrink: 0;
    margin-top: 2px;
}

.accommodation-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #FC8A3F !important;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    margin-top: auto;
    padding-top: 0.5rem;
}

.accommodation-link:hover {
    color: #c7341f;
    text-decoration: underline;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #000;
    border-radius: 50px;
}

/* Scrollbar personalizada para alojamientos */
.accommodation-scrollbar {
    margin-top: 1.5rem;
    width: 100%;
}

.accommodation-scrollbar-track {
    background: #fff;
    border-radius: 4px;
    height: 6px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.accommodation-scrollbar-thumb {
    background: #E2412A;
    border-radius: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 40px;
}

.accommodation-scrollbar-thumb:hover {
    background: #c7341f;
}

/* Modal estilos */
.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.info-accommodation h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 1.5rem 0 1rem 0;
}

.info-accommodation h3:first-of-type {
    margin-top: 0;
}

.info-accommodation p {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.5;
}

/* Mejoras visuales del modal */
.modal-content {
    border-radius: 20px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 1.5rem;
}

.bg-light {
    background-color: #f8f9fa !important;
    transition: transform 0.2s ease;
}

.bg-light:hover {
    transform: translateY(-2px);
}

.carousel-item img {
    height: 300px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 200px;
    }
}

@media (min-width: 768px) {
    .accommodation-section {
        padding: 5rem 0;
    }
    .accommodation-title {
        font-size: 36px;
    }
    .accommodation-subtitle {
        font-size: 18px;
        margin-bottom: 3rem;
    }
    .accommodation-carousel-wrapper .accommodation-card {
        width: 340px;
    }
    .accommodation-card-title {
        font-size: 20px;
        min-height: 52px;
    }
    .detail-point {
        font-size: 18px;
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    .accommodation-section {
        padding: 3rem 0;
    }
    .accommodation-title {
        font-size: 24px;
    }
    .accommodation-subtitle {
        font-size: 14px;
    }
    .accommodation-carousel-wrapper .accommodation-card {
        width: 300px;
    }
    .accommodation-card-info {
        padding: 1rem;
    }
    .accommodation-card-title {
        font-size: 18px;
        min-height: 44px;
    }
    .detail-point {
        font-size: 16px;
        min-height: 44px;
    }
    .accommodation-link {
        font-size: 16px;
    }
}

.accommodation-summer-camp-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: #f0fdf4;
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #22c55e;
}

.compact-icon svg {
    font-size: 28px;
    color: #159143;
}

.compact-text {
    flex: 1;
}

.compact-text strong {
    display: block;
    font-size: 18px;
    color: #000;
    margin-bottom: 4px;
}

.compact-text p {
    margin: 0;
    font-size: 16px;
    color: #4a4a4a;
}

.compact-btn {
    background: transparent;
    border: none;
    color: #159143;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.compact-btn:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .accommodation-summer-camp-compact {
        flex-direction: column;
        text-align: center;
    }
    .compact-icon {
        margin-bottom: 0.5rem;
    }
}

/* Reviews */
/* Reviews - Solo la parte del scroll, respetando tus estilos originales */
#video-section {
    background-color: #ffdfbb;
    padding: 5rem 0;
}

.reviews-title {
    font-size: 36px !important;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.3;
}

#video-section .eyebrow {
    text-align: center;
}

/* ============================================
   SOLO ESTO ES NUEVO - LO DEMÁS ES TU CSS ORIGINAL
   ============================================ */

/* Contenedor con scroll horizontal */
.carousel-container-reviews-scroll {
    position: relative;
    width: 100%;
}

.carousel-reviews-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    width: 100%;
}

/* Ocultar scrollbar nativa */
.carousel-reviews-scroll::-webkit-scrollbar {
    display: none;
}

/* Forzar que las cards NO se rompan - SOLO ESTO es nuevo */
.carousel-reviews-scroll .parent-card-review {
    flex-shrink: 0;
    width: auto;
    min-width: 280px;
}

/* Scrollbar personalizada */
.reviews-scrollbar {
    margin-top: 2rem;
    width: 100%;
}

.reviews-scrollbar-track {
    background: #fff;
    border-radius: 4px;
    height: 6px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.reviews-scrollbar-thumb {
    background: #E2412A;
    border-radius: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 40px;
}

.reviews-scrollbar-thumb:hover {
    background: #c7341f;
}

/* Ajustes responsive - solo ancho de cards */
@media (max-width: 480px) {
    #video-section {
        padding: 3rem 0;
    }
    .reviews-title {
        font-size: 24px !important;
    }
    .carousel-reviews-scroll .parent-card-review {
        min-width: 260px;
    }
}

@media (min-width: 769px) {
    .carousel-reviews-scroll .parent-card-review {
        width: 27%;
    }
}

/* Sección: Preguntas Frecuentes */
.faq-section {
    padding: 4rem 0;
    background-color: #ffdfbb;
    position: relative;
    z-index: 1;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section .eyebrow {
    color: #FC8A3F;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
}

.faq-title {
    font-size: 32px;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.faq-subtitle {
    text-align: center;
    color: #4a4a4a;
    font-size: 16px;
    margin-bottom: 3rem;
}

/* Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.24);
}

.faq-item:hover {
    transform: translateX(4px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.faq-question:hover {
    background-color: #fef7f5;
    border-left-color: #FC8A3F;
}

.faq-question[aria-expanded="true"] {
    background-color: #fef7f5;
    border-left-color: #FC8A3F;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
    background-color: #FC8A3F;
    color: white;
}

/* Icono circular */
.faq-item svg {
    padding: 3px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
    color: #666;
}

/* Respuesta */
.faq-answer {
    padding: 1.25rem 1.5rem;
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    border-top: 1px dashed #f0d5c8;
}

.faq-answer p {
    margin: 0;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 5rem 0;
    }
    .faq-title {
        font-size: 36px;
    }
    .faq-subtitle {
        font-size: 18px;
        margin-bottom: 3.5rem;
    }
    .faq-question {
        padding: 1.5rem 2rem;
        font-size: 18px;
    }
    .faq-answer {
        padding: 1.5rem 2rem;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 3rem 0;
    }
    .faq-title {
        font-size: 28px;
    }
    .faq-subtitle {
        font-size: 14px;
        margin-bottom: 2rem;
    }
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 15px;
    }
    .faq-answer {
        padding: 0 1.25rem 1rem 1.25rem;
        font-size: 14px;
    }
    .faq-item svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   CONFIGURADOR CURSO
   ============================================ */

.parent_configurador {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.div2_config h3 {
    font-size: 20px !important;
}

.container_configurador {
    order: 1;
}

.container_configurador, .container_resume_configurador {
    order: 2;
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
}

@media (min-width: 992px) {
    .parent_configurador {
        flex-direction: row;
        gap: 2.5rem;
    }
    .container_configurador {
        flex: 1.4;
        order: 1;
    }
    .container_resume_configurador {
        flex: 1;
        order: 2;
        position: sticky;
        top: 100px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
}

/* ============================================
   INDICADOR DE PASOS
   ============================================ */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.step-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.step-circle {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    display: block;
}

.step-item.active .step-circle {
    background: #FC8A3F;
    border-color: #FC8A3F;
    color: white;
    box-shadow: 0 0 0 3px rgba(252, 138, 63, 0.2);
}

.step-item.active .step-label {
    color: #FC8A3F;
    font-weight: 600;
}

.step-item.completed .step-circle {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

/* ============================================
   PASOS DEL FORMULARIO
   ============================================ */
.paso {
    display: none;
    animation: fadeIn 0.3s ease;
}

.paso.activo {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.paso h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #FC8A3F;
    display: inline-block;
}

/* ============================================
   INPUTS Y SELECTORES DEL CONFIGURADOR
   ============================================ */
.input-box {
    margin-bottom: 1.25rem;
}

.input-box.active-grey {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.2rem 1rem;
    transition: all 0.2s ease;
}

.input-box.active-grey:hover {
    border-color: #cbd5e1;
    background: #fafcff;
}

.input-box.active-grey:focus-within {
    border-color: #FC8A3F;
    box-shadow: 0 0 0 3px rgba(252, 138, 63, 0.1);
    background: #ffffff;
}

.input-label {
    display: block;
    font-weight: 600;
    font-size: 0.7rem;
    color: #475569;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-1,
.general_class_input {
    width: 100%;
    border: none !important;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #0f172a !important;
    font-weight: 600;
    outline: none;
}

select.input-1 {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 18px;
}

/* ============================================
   EXTRAS - VISTA EN CUADRÍCULA (GRID)
   ============================================ */
.container_classes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.extra_course {
    list-style: none;
    padding: 0;
    margin: 0;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    padding: 0.85rem 1rem;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 100%;
}

.extra-item:hover {
    background: #f1f5f9;
    border-color: #FC8A3F;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.extra-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FC8A3F;
    flex-shrink: 0;
}

.extra-title {
    font-weight: 500;
    color: #0f172a;
    font-size: 0.9rem;
    flex: 1;
}

.extra-item:has(.extra-checkbox:checked) {
    background: #fef7f5;
    border-color: #FC8A3F;
}

.extra-item:has(.extra-checkbox:checked) .extra-title {
    color: #FC8A3F;
    font-weight: 600;
}

@media (max-width: 768px) {
    .container_classes {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.6rem;
    }
    .extra-item {
        padding: 0.7rem 0.8rem;
    }
    .extra-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container_classes {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ============================================
   BOTONES DE NAVEGACIÓN
   ============================================ */
.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef2f6;
}

.btn-back, .btn-next {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-back {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-back:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-back:hover:not(:disabled) {
    background: #e2e8f0;
}

.btn-next {
    background: #FC8A3F;
    color: white;
    flex: 1;
    box-shadow: 0 2px 6px rgba(252, 138, 63, 0.3);
}

.btn-next:hover {
    background: #e07a2e;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(252, 138, 63, 0.4);
}

/* ============================================
   RESUMEN - DOS COLUMNAS
   ============================================ */
.div2_config h3 {
    font-size: 18px !important;
}

.resume-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #FC8A3F;
}

.resume-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.resume-header h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: #FC8A3F;
    margin: 0;
}

.resumen-scroll-area {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 1rem;
}

.resumen-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.resumen-scroll-area::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.resumen-scroll-area::-webkit-scrollbar-thumb {
    background: #FC8A3F;
    border-radius: 10px;
}

.resume_container_course {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resume-block {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1rem;
}

.block-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e2e8f0;
}

.resume-block .row-item,
.resume_first_section div,
.resume_second_section,
.resume_third_section div,
.resume_fourth_section div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}

.resume-block label,
.resume_first_section label,
.resume_second_section label,
.resume_third_section label,
.resume_fourth_section label {
    color: #475569;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
    flex: 1;
}

.resume-block input,
.resume_first_section input,
.resume_second_section input,
.resume_third_section input,
.resume_fourth_section input,
.resume_first_section p,
.resume_first_section span {
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    text-align: right;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

input:disabled {
    background: transparent;
    color: #0f172a;
    opacity: 1;
    -webkit-text-fill-color: #0f172a;
}

.line_space_configurador {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.resume_total_course {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.resume_total_course label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.resume_total_course input {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FC8A3F;
    background: transparent;
    border: none;
    text-align: right;
    width: auto;
}

.action-btn {
    background: #22c55e;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.action-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

#extra-list-header h6 {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

#extra-list-header ul {
    margin: 0;
    padding-left: 1rem;
}

#extra-list-header li {
    font-size: 0.8rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

/* Ocultar botón del resumen por defecto en desktop */
@media (min-width: 992px) {
    .action-btn {
        display: none;
    }

    /* Mostrar cuando se active la clase */
    .action-btn.visible-on-last-step {
        display: block;
    }
}

/* En mobile siempre visible */
@media (max-width: 991px) {
    .action-btn {
        display: block;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE CONFIGURADOR
   ============================================ */
@media (min-width: 768px) {
    .resume_total_course input {
        font-size: 1.5rem;
    }
    .resume-block label,
    .resume-block input,
    .resume-block span {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container_resume_configurador {
        padding: 1rem;
    }
    .resume-block {
        padding: 0.75rem;
    }
    .resume_total_course input {
        font-size: 1.2rem;
    }
    .action-btn {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
    .resume-block label,
    .resume-block input,
    .resume-block span {
        font-size: 0.75rem;
    }
    .parent_configurador {
        padding-right: 0;
    }
    #configurador_ficha_curso .eyebrow, #configurador_ficha_curso h2.accommodation-title {
        padding: 0 10px;
    }
}

/* ============================================
   STICKY ACTION BAR - ESTILO CAPTURA
   ============================================ */
.sticky-action-bar {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    z-index: 1000;
    transform: translateY(115%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid #f0f0f0;
    border-radius: 50px;
    width: 95%;
    margin: auto;
}

.sticky-action-bar.visible {
    transform: translateY(0);
}

.sticky-action-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

/* Botón redondo de WhatsApp */
.sticky-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #ffdfbb;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgb(76 76 76 / 0.3);
}

.sticky-whatsapp-btn svg {
    font-size: 24px;
    color: #FC8A3F;
}

.sticky-whatsapp-btn:hover {
    transform: scale(1.05);
    background-color: #1da15a;
}

/* Botón de plan personalizado */
.sticky-action-btn {
    flex: 1;
    background-color: #FC8A3F;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(252, 138, 63, 0.3);
}

.sticky-action-btn:hover {
    background-color: #e07a2e;
    transform: scale(0.98);
}

/* Ocultar en desktop */
@media (min-width: 768px) {
    .sticky-action-bar {
        display: none;
    }
}

/* Ajuste para móviles muy pequeños */
@media (max-width: 480px) {
    .sticky-action-bar {
        padding: 10px 16px;
    }

    .sticky-whatsapp-btn {
        width: 44px;
        height: 44px;
    }

    .sticky-whatsapp-btn i {
        font-size: 22px;
    }

    .sticky-action-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}