/* Logo a la izquierda en móvil */
@media (max-width: 767px) {
    .header-grid {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .logo-section {
        position: static !important;
        left: unset !important;
        top: unset !important;
        transform: none !important;
        margin-right: auto;
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 48px;
        gap: 10px;
        white-space: nowrap;
    }

    .nav-left,
    .nav-right {
        display: none !important;
    }
}

.video-media-wrapper {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
    border-radius: 28px;
}

.btns-container {
    border: 2px solid var(--tierra-lightest);
    background: #fffefc;
    border-radius: 42px;
    box-shadow: 0 2px 12px rgba(59, 58, 54, 0.06);
    padding: 0.5rem 0.5rem;
    margin: 0 auto 0 auto !important;
    max-width: 442px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

@media (max-width: 576px) {
    .btns-container {
        flex-direction: column;
        gap: 1.0rem;
    }
}

a {
    text-decoration: none;
}


/* Paleta de colores tierra */
:root {
    /* Colores principales de la paleta tierra */
    --tierra-dark: #3b3a36;
    /* Header y botones principales */
    --tierra-medium: #5c4033;
    /* Elementos destacados */
    --tierra-light: #c49e65;
    /* Acentos y elementos interactivos */
    --tierra-lightest: #d5c1a0;
    /* Elementos sutiles */
    --tierra-bg: #faf9f7;
    /* Fondo de páginas */
    --tierra-text: #2c2b28;
    /* Texto principal */
    --tierra-text-light: #6b6a67;
    /* Texto secundario */

    /* Botones con color de header */
    --btn-primary-bg: var(--tierra-dark);
    /* #3b3a36 */
    --btn-primary-hover: var(--tierra-bg);
    /* #faf9f7 */
    --btn-primary-text: var(--tierra-lightest);
    /* Texto en botón */
    --btn-primary-text-hover: var(--tierra-dark);
    /* Texto en hover */

    /* Estados y variantes */
    --btn-secondary-bg: transparent;
    --btn-secondary-border: var(--tierra-dark);
    --btn-secondary-text: var(--tierra-dark);
    --btn-secondary-hover: var(--tierra-bg);
}

/* ======================================
   TIPOGRAFÍA Y FUENTES
   ====================================== */

@import url('fonts/fonts.css');

/* Reglas generales de tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'MidMidSunSun';
}

p,
span,
div {
    font-family: 'Gothic';
}

/* Clases específicas para fuentes */
.font-title {
    font-family: 'MidMidSunSun';
}

.font-body {
    font-family: 'Gothic';
}

.font-nav {
    font-family: 'MidMidSunSun';
    font-weight: 500;
}

/* ======================================
   VARIABLES DE COLOR
   ====================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Gothic', 'Century Gothic', Arial, sans-serif;
    padding-top: 120px;
    background-color: var(--tierra-bg);
    min-height: 100vh;
    overflow-x: hidden;
} 
.mi-footer {
    background-color: #d5c1a0; /* Elige el color que prefieras */
}
/* Enlaces del footer */
.footer-link {
    color: var(--tierra-dark) !important;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #fff8e1 !important;
}

/* Botón tierra dark para el footer */
.btn-tierra-dark {
    background-color: var(--tierra-dark) !important;
    color: #fff !important;
    border: none;
    transition: background 0.2s;
}
.btn-tierra-dark:hover {
    background-color: #a68c6d !important; /* tono más claro al pasar el mouse */
    color: #fff !important;
}

/* HEADER */

.floating-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3b3a36;
    border: 3px solid #c49e65;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(59, 58, 54, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px 40px;
    width: 90vw;
    max-width: 1200px;
    min-width: 320px;
}

.floating-header:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 58, 54, 0.2);
}

.header-grid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    min-height: 50px;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex: 1;
    padding-right: 30px;
    max-width: 400px;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex: 1;
    padding-left: 30px;
    max-width: 400px;
}

.logo-section {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    height: 48px;
    /* Altura fija para mantener el header estable */
    z-index: 1002;
}

.logo-img {
    height: 102px;
    width: auto !important;
    object-fit: contain !important;
    transition: all 0.3s ease;
    z-index: 1003;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #c49e65, #d5c1a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b3a36;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 2px solid #d5c1a0;
    flex-shrink: 0;
}

.logo-icon:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 4px 15px rgba(196, 158, 101, 0.3);
}

.logo-text {
    font-family: 'Century Gothic', sans-serif;
    color: #d5c1a0;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-text:hover {
    color: #c49e65;
}

.nav-link {
    color: #d5c1a0;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 15px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    display: block;
}

/* Aplicar fuente específica a navegación */
.nav-link {
    font-family: 'MidMidSunSun', sans-serif;
}

.nav-link:hover {
    color: var(--tierra-dark) !important;
    background-color: var(--tierra-lightest);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #c49e65;
    background-color: rgba(196, 158, 101, 0.2);
}

.mobile-toggle {
    display: none;
    background: rgba(196, 158, 101, 0.2);
    border: 2px solid #c49e65;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #c49e65;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    justify-self: end;
    grid-column: 4;
    box-shadow: 0 2px 8px rgba(196, 158, 101, 0.3);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 12px;
}

.hamburger-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #c49e65;
    margin: 1px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-toggle:hover {
    background-color: rgba(196, 158, 101, 0.4);
    color: #ffffff;
    border-color: #c49e65;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(196, 158, 101, 0.5);
}

.mobile-toggle:hover .hamburger-icon span {
    background-color: #ffffff;
}

.mobile-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 158, 101, 0.3);
}


.mobile-menu {
    position: fixed;
    top: 70px;
    right: 20px;
    left: auto;
    width: 300px;
    max-width: 90vw;
    background-color: #3b3a36;
    border: 3px solid #c49e65;
    border-radius: 25px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(59, 58, 54, 0.15);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.8s cubic-bezier(.77, 0, .18, 1), opacity 0.5s cubic-bezier(.77, 0, .18, 1);
}

.mobile-menu.show {
    transform: scaleY(1);
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-menu .nav-link {
    text-align: center;
    margin: 5px 0;
    padding: 2px 17px !important;
}

/* Content sections */
.content-section {
    padding: 4rem 0;
    text-align: center;
}

.content-section h1,
.content-section h2 {
    color: #3b3a36;
    margin-bottom: 1rem;
}

.content-section p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Breakpoints */

/* Large Desktop */
@media (min-width: 1200px) {
    .floating-header {
        padding: 12px 50px;
        min-width: 500px;
        max-width: 1000px;
    }

    .header-grid {
        gap: 30px;
    }

    .nav-left {
        padding-right: 40px;
    }

    .nav-right {
        padding-left: 40px;
    }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    .floating-header {
        padding: 10px 35px;
        width: 88vw;
        max-width: 950px;
        min-width: 420px;
    }

    .header-grid {
        gap: 25px;
    }

    .nav-left {
        padding-right: 35px;
    }

    .nav-right {
        padding-left: 35px;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .floating-header {
        padding: 8px 20px;
        width: 85vw;
        max-width: none;
    }

    .header-grid {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 15px;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 6px 12px !important;
    }

    .logo-section {
        height: 45px;
        position: static;
        transform: none;
        justify-self: center;
        grid-column: 2;
    }

    .logo-img {
        height: 80px !important;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: flex !important;
        grid-column: 3;
    }
}

/* Mobile Large */
@media (max-width: 767px) and (min-width: 576px) {
    .floating-header {
        padding: 8px 15px;
        width: 90vw;
        min-width: 280px;
    }

    .header-grid {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .mobile-toggle {
        display: flex !important;
        grid-column: 3;
    }

    .logo-section {
        padding: 0 10px;
        height: 42px;
        position: static;
        transform: none;
        justify-self: center;
        grid-column: 2;
    }

    .logo-img {
        height: 38px !important;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    body {
        padding-top: 100px;
    }

    .floating-header {
        top: 15px;
        padding: 6px 12px;
        width: 92vw;
        min-width: 250px;
    }

    .header-grid {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        min-height: 45px;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .mobile-toggle {
        display: flex !important;
        width: 35px;
        height: 35px;
        font-size: 1rem;
        grid-column: 3;
    }

    .logo-section {
        padding: 0 5px;
        height: 38px;
        position: static;
        transform: none;
        justify-self: center;
        grid-column: 2;
    }

    .logo-img {
        height: 85px !important;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .mobile-menu {
        top: 77px;
        width: 185px;
        padding: 15px;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .floating-header {
        width: 95vw;
        min-width: 220px;
        padding: 5px 10px;
    }

    .logo-section {
        height: 35px;
        position: static;
        transform: none;
        justify-self: center;
    }

    .logo-img {
        height: 30px !important;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .mobile-menu {
        width: 200px;
    }
}

/* Estilos básicos para el panel de administración */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}



/* Botones */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* Formularios */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Tablas */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Alertas */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* ======================================
   HERO SECTION STYLES
   ====================================== */

/* Hero Container */
.hero-container {
    min-height: 996px;
    position: relative;
    background-color: var(--tierra-bg);
    padding-top: 100px;
    /* Espacio para el header flotante */
    padding-left: 5rem;
    /* Padding lateral izquierdo */
    padding-right: 5rem;
    /* Padding lateral derecho */
    overflow: visible;
}


/* Main Title */
.main-title {
    font-size: 3.4rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--tierra-text);
}

.name-highlight {
    color: var(--tierra-medium);
}

/* Testimonial Section */
.testimonial-section {
    position: relative;
    margin-top: 80px;
}

.quote-mark {
    font-size: 8rem;
    color: var(--tierra-lightest);
    font-family: serif;
    position: absolute;
    top: -100px;
    left: -10px;
}

.testimonial-text {
    color: var(--tierra-text);
    font-size: 1.1rem;
    padding-left: 40px;
    line-height: 1.6;
    font-family: 'Gothic', 'Century Gothic', Arial, sans-serif;
}

/* Client Stats */
.client-stat {
    margin-top: 80px;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--tierra-text);
}

.stat-label {
    color: var(--tierra-text-light);
    font-size: 1rem;
    font-family: 'Gothic', 'Century Gothic', Arial, sans-serif;
}

/* Image Container */
.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Nueva clase para imagen con posición absoluta */
.image-absolute {
    position: absolute;
    left: 50%;
    bottom: 0;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    z-index: 1;
    width: 479px;
    height: 659px;
    overflow: visible;
    margin: 0;
}

.person-image-absolute {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    border: none;
    outline: none;
    box-shadow: none;
}

.doctor-circle {
    width: 320px;
    height: 320px;
    background-color: var(--tierra-medium);
    border-radius: 50%;
    position: relative;
    border: 4px solid var(--tierra-light);
}

.person-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Experience Section */
.experience-section {
    text-align: right;
    margin-top: 80px;
}

.stars {
    margin-bottom: 10px;
}

.star {
    color: var(--tierra-light);
    font-size: 1.5rem;
    margin-left: 2px;
}

.experience-number {
    font-size: 2.5rem;
    color: var(--tierra-text);
}

.experience-label {
    color: var(--tierra-text-light);
    font-size: 1rem;
    font-family: 'Gothic', 'Century Gothic', Arial, sans-serif;
}

/* Padding left solo en desktop */
@media (min-width: 769px) {
    .experience-label {
        padding-left: 5rem;
    }
}

.experience-line {
    width: 100px;
    height: 2px;
    background-color: var(--tierra-text);
    margin-top: 10px;
    margin-left: auto;
}

/* Buttons Section */
.buttons-section {
    text-align: center;
    margin-top: 60px;
}

/* Clase para botones sobre la imagen */
.buttons-over-image {
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.btn-portfolio {
    background-color: var(--tierra-dark);
    border: none;
    color: var(--tierra-bg);
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 1.1rem;
    margin-right: 15px;
    text-decoration: none;
    display: inline-block;
    font-family: 'Gothic', 'Century Gothic', Arial, sans-serif;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.btn-portfolio:hover {
    background-color: var(--tierra-dark);
    color: var(--tierra-lightest);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 58, 54, 0.2);
}

.btn-hire {
    background-color: transparent;
    border: 2px solid var(--tierra-dark);
    color: var(--tierra-dark);
    padding: 10px 32px;
    border-radius: 25px;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    font-family: 'Gothic', 'Century Gothic', Arial, sans-serif;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.btn-hire:hover {
    background-color: var(--tierra-light);
    color: var(--tierra-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 58, 54, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .btns-container {
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-width: 100%;
    }

    .hero-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .main-title {
        font-size: 2.5rem;
        margin-bottom: 0px;
    }

    /* Eliminar posición absoluta en móvil */
    .image-absolute {
        position: relative;
        width: 300px;
        height: 400px;
        margin: 40px auto;
        display: flex;
        justify-content: center;
        align-items: end;
        overflow: hidden;
    }
    
    .image-absolute::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 150px;
        background: linear-gradient(to top,
                var(--tierra-bg) 0%,
                var(--tierra-bg) 0%,
                var(--tierra-bg) 0%,
                transparent 100%);
        z-index: 4;
        pointer-events: none;
    }

    .person-image-absolute {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
        z-index: 1;
        -webkit-mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 1) 70%,
                rgba(0, 0, 0, 0.8) 85%,
                rgba(0, 0, 0, 0.3) 95%,
                rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 1) 70%,
                rgba(0, 0, 0, 0.8) 85%,
                rgba(0, 0, 0, 0.3) 95%,
                rgba(0, 0, 0, 0) 100%);
    }

    .person-image-absolute {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .doctor-circle {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .person-image {
        width: 220px;
        height: 220px;
    }

    .experience-section {
        text-align: center;
        margin-top: 40px;
    }

    .experience-line {
        margin: 10px auto 0;
    }

    .testimonial-section {
        margin-top: 40px;
    }

    .client-stat {
        margin-top: 40px;
        text-align: center;
    }

    .buttons-section,
    .buttons-over-image {
        margin-top: 40px;
        position: static;
        z-index: auto;
    }

    .btn-portfolio,
    .btn-hire {
        display: block;
        margin: 10px auto;
        max-width: 200px;
        position: static;
        z-index: auto;
    }

}

@media (max-width: 576px) {
    .hero-container {
        padding-left: 1rem;
        padding-right: 1rem;
        min-height: auto;
        padding-bottom: 2rem;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    /* Eliminar posición absoluta en móvil pequeño */
    .image-absolute {
        position: static;
        transform: none;
        width: 250px;
        height: 350px;
        margin: 30px auto;
        display: block;
    }

    .doctor-circle {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .person-image {
        width: 170px;
        height: 170px;
    }

    .stat-number,
    .experience-number {
        font-size: 2rem;
    }

    .buttons-section,
    .buttons-over-image {
        position: static;
        z-index: auto;
        margin-top: 30px;
    }

    .btn-portfolio,
    .btn-hire {
        position: static;
        z-index: auto;
        margin: 8px auto;
    }

    .btn-text-blanco {
    color: #fff !important;
    border: 2px solid var(--tierra-lightest) !important;
}

    .hello-bubble {
        position: static;
        transform: none;
        margin: 15px auto;
        display: block;
        text-align: center;
        width: fit-content;
    }
}

/* ======================================
   GILY JOCEO PROFESSIONAL PROFILE SECTION
   ====================================== */

.profile-section {
    background-color: var(--tierra-dark);
    color: var(--tierra-text);
    line-height: 1.6;
}

.profile-main-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 4rem;
    color: var(--tierra-lightest);
}

.profile-subtitle {
    color: var(--tierra-medium);
    border-bottom: 2px solid var(--tierra-light);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 5px;
}

.profile-content-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--tierra-text);
}

.profile-signature {
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5rem;
    color: var(--tierra-light);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--tierra-text);
}

.profile-section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--tierra-light);
    padding-bottom: 0.5rem;
    color: var(--tierra-lightest);
}

.profile-description {
    color: var(--tierra-text);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .profile-main-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .profile-signature {
        font-size: 2rem;
    }

    .profile-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .profile-main-title {
        font-size: 2rem;
    }
}

/* ======================================
   ESTILOS DE CURSOS
   ====================================== */

.courses-section {
    background-color: var(--tierra-dark);
    padding: 0 0 2.5rem 0;
}

.courses-main-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 3rem 0;
    color: var(--tierra-lightest);
}

.category-btn {
    background-color: transparent;
    border: 2px solid var(--tierra-lightest);
    color: var(--tierra-lightest);
    border-radius: 25px;
    padding: 12px 24px;
    margin: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--tierra-light);
    border-color: var(--tierra-light);
    color: var(--tierra-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--tierra-light);
}

.category-btn i {
    margin-right: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4rem 0 2rem 0;
}

.courses-section-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: var(--tierra-lightest);
}

.see-all-link {
    color: var(--tierra-light);
    text-decoration: none;
    font-weight: 500;
}

.see-all-link:hover {
    color: var(--tierra-medium);
}

.course-card {
    background-color: var(--tierra-bg);
    border: 2px solid var(--tierra-lightest);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 300px;
    margin-right: 1.5rem;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 158, 101, 0.3);
    border-color: var(--tierra-light);
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.level-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.level-beginner {
    background-color: var(--tierra-light);
    color: var(--tierra-dark);
}

.level-intermediate {
    background-color: var(--tierra-medium);
    color: var(--tierra-bg);
}

.level-advanced {
    background-color: var(--tierra-dark);
    color: var(--tierra-bg);
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--tierra-text);
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tierra-medium);
}

.old-price {
    font-size: 1rem;
    color: var(--tierra-text-light);
    text-decoration: line-through;
}

.duration {
    color: var(--tierra-text-light);
    font-size: 0.9rem;
}

.horizontal-scroll {
    overflow-x: auto;
    padding-bottom: 1rem;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-track {
    background: var(--tierra-lightest);
    border-radius: 4px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--tierra-light);
    border-radius: 4px;
}

.cards-container {
    display: flex;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .courses-main-title {
        font-size: 1.8rem;
        margin: 2rem 0;
    }

    .category-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
        margin: 0.25rem;
    }

    .courses-section-title {
        font-size: 1.5rem;
    }

    .course-card {
        min-width: 280px;
    }
}

/* ======================================
   BUNDLE SECTION STYLES
   ====================================== */
.bundle-section {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.bundle-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.bundle-bg-image .woman-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    filter: brightness(0.7) grayscale(0.3) contrast(1.05);
}

.bundle-section .container-fluid {
    position: relative;
    z-index: 2;
    height: 400px;
}

.bundle-section .row {
    height: 400px;
}

.bundle-section .text-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 4vw;
    height: 400px;
}

.bundle-content-centered {
    max-width: 500px;
    color: white;
    text-align: left;
}

.small-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.bundle-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--tierra-bg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 1px 1px rgba(0, 0, 0, 0.15);
}

.bundle-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--tierra-bg);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.13);
}


.bundle-content-centered .custom-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.custom-btn {
    background-color: var(--tierra-dark);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: none;
}

.custom-btn:hover {
    background-color: var(--tierra-lightest);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--tierra-light);
    color: var(--tierra-dark);
}

/* Responsive Design para Bundle Section */
@media (max-width: 991.98px) {
    .bundle-section .text-content {
        padding-left: 4vw;
        justify-content: center;
    }

    .bundle-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .bundle-section {
        height: 350px;
    }

    .bundle-section .container-fluid,
    .bundle-section .row,
    .bundle-section .text-content {
        height: 350px;
    }

    .bundle-section .text-content {
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .bundle-main-title {
        font-size: 1.8rem;
    }

    .bundle-description {
        font-size: 1rem;
    }

    .custom-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .bundle-section {
        height: 300px;
    }

    .bundle-section .container-fluid,
    .bundle-section .row,
    .bundle-section .text-content {
        height: 300px;
    }

    .bundle-main-title {
        font-size: 1.5rem;
    }

    .small-text {
        font-size: 0.75rem;
    }
}


/* Profile Image */
.profile-image-container {
    display: inline-block;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    padding: 2px;
}

/* Typography */
.instagram-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--tierra-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}



/* ======================================
   TESTIMONIALS SECTION STYLES
   ====================================== */
.testimonials-section {
    background-color: var(--tierra-dark);
    min-height: 700px;
    display: flex;
    align-items: center;
    margin-bottom: -140px;

}

.testimonials-title {
    color: var(--tierra-lightest);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.rating-display {
    color: #ffffff;
    font-size: 1.1rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background-color: #374151;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.avatar-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tierra-light);
    flex-shrink: 0;
}

.user-name {
    color: #1f2937;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.card-stars {
    color: var(--tierra-light);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.testimonials-text {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom Navigation Buttons */
.custom-nav-btn {
    width: 50px;
    height: 50px;
    background-color: var(--tierra-light);
    border-radius: 50%;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-nav-btn:hover {
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23374151'%3e%3cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23374151'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .testimonials-title {
        font-size: 2rem;
    }

    .rating-display {
        font-size: 1rem;
    }

    .testimonials-stars {
        font-size: 1.1rem;
    }

    .custom-nav-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: -20px;
    }

    .carousel-control-next {
        right: -20px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
        background-size: 16px 16px;
    }
}

@media (max-width: 575.98px) {
    .testimonials-section {
        padding: 3rem 0;
        margin-bottom: -1px;
    }

    .testimonials-title {
        font-size: 1.8rem;
    }

    .custom-nav-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-control-prev {
        left: -15px;
    }

    .carousel-control-next {
        right: -15px;
    }
}

/* Carousel Transition */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Additional hover effects */
.testimonial-card .avatar-circle {
    transition: background-color 0.3s ease;
}

.testimonial-card:hover .avatar-circle {
    background-color: #10b981;
}

/* ======================================
   HERO BANNER STYLES
   ====================================== */

.hero-banner {
    position: relative;
    min-height: 800px;
    background: var(--tierra-dark);
    /* background-image: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-69hoU7PVncf1j52Mszlp1j2h2JSPfP.png'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    margin-top: -1px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto 0 150px;
    padding: 0rem 1rem;
}

.hero-title {
    font-weight: 300;
    font-size: 2.4rem;
    line-height: 1.2;
    letter-spacing: 2px;
    color: var(--tierra-text);
    margin-bottom: 2rem;
    margin-top: 20px;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--tierra-text);
    max-width: 700px;
}

.btn-custom {
    background: var(--tierra-dark);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--tierra-light);
    margin-bottom: 20px;
}

.btn-custom:hover {
    background: var(--tierra-light);
    transform: translateY(-2px);
    color: white;
}

.btn-custom:focus {
    box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.5);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 1rem 0.5rem;
        margin-left: 0;
    }

    .btn-custom {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .btn-custom {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Animation for smooth entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* SOBRE MI  */

/* Hero Section */
#hero {
    padding-top: 3rem;
    padding-bottom: 0rem;
    background-color: var(--tierra-bg);
}



/* Buttons */

.btns-containerdos {
    border: 2px solid var(--tierra-lightest);
    background: #fffefc;
    border-radius: 42px;
    box-shadow: 0 2px 12px rgba(59, 58, 54, 0.06);
    padding: 0.5rem 0.5rem;
    margin: 0 auto 0 0 !important;
    max-width: 442px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.btns-containertres {
    border: 2px solid var(--tierra-lightest);
    background: #fffefc;
    border-radius: 42px;
    box-shadow: 0 2px 12px rgba(59, 58, 54, 0.06);
    padding: 0.5rem 0.5rem;
    margin: 0 auto 0 auto !important;
    max-width: 442px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

@media (max-width: 991px) {
  .btns-containertres {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .btns-movil-only {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
@media (min-width: 992px) {
  .btns-movil-only {
    display: none !important;
  }
}

.btn-primary {
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: white;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--tierra-dark);
    border-color: var(--tierra-medium);
    color: var(--tierra-lightest);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--tierra-dark);
    color: var(--tierra-dark);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--tierra-dark);
    color: var(--tierra-lightest);
}

/* Section Styling */
.section-title {
    font-weight: 700;
    color: var(--tierra-light);
    margin-bottom: 0.5rem;
    font-size: 65px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--tierra-light);
    margin-bottom: 2rem;
}

.bg-light {
    background-color: var(--tierra-bg) !important;
}

/* Philosophy Section */
.philosophy-card {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 1.75rem;
    color: var(--tierra-medium);
    margin-right: 1rem;
    min-width: 40px;
    text-align: center;
}

.philosophy-quote {
    font-style: italic;
    font-size: 1.25rem;
    color: var(--tierra-medium);
    margin-top: 2rem;
    padding: 1rem;
    border-left: 3px solid var(--tierra-light);
}

/* Experience Section */
.experience-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.experience-card h3 {
    color: var(--tierra-medium);
    border-bottom: 2px solid var(--tierra-lightest);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.experience-card i {
    color: var(--tierra-light);
}

.award-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--tierra-dark);
    color: white;
    margin-top: 2rem;
}

.award-icon {
    font-size: 2.5rem;
    color: var(--tierra-light);
    margin-bottom: 1rem;
}

/* Differentials Section */
.differential-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.differential-card:hover {
    transform: translateY(-5px);
}

.differential-card .card-icon {
    font-size: 2rem;
    color: var(--tierra-medium);
    margin-bottom: 1rem;
    display: inline-block;
}

.differential-card h3 {
    color: var(--tierra-dark);
    margin-bottom: 1rem;
}

/* CTA Section */
#contacto {
    background-color: white;
}

.social-icons a {
    color: var(--tierra-lightest);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--tierra-light);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--tierra-dark);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    #hero {
        padding-top: 7rem;
        padding-bottom: 0rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }

    .philosophy-quote {
        font-size: 1.1rem;
    }
}

/* Imagen banner responsive para hero-banner final */
.banner-img-responsive {
    max-height: 571px;
    width: auto;
    margin-left: 280px;
    z-index: 1;
    display: block;
}

@media (max-width: 991.98px) {
    .banner-img-responsive {
        margin-left: 0;
        max-height: 350px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 575.98px) {
    .banner-img-responsive {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-height: 220px;
        width: 100%;
        object-fit: contain;
    }
}

/* CURSOS */

.hero-title-cursos {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--tierra-bg);
    margin-bottom: 2rem;
}

.hero-subtitle-cursos {
    font-size: 1.5rem;
    color: var(--tierra-bg);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title-cursos {
        font-size: 2.5rem;
    }

    .hero-subtitle-cursos {
        font-size: 1.25rem;
    }
}

/* Introducción Alternativa */
.intro-section-alt {
    padding: 4rem 0;
    background-color: var(--tierra-bg);
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tierra-dark);
    margin-bottom: 1.5rem;
}

.intro-lead {
    font-size: 1.2rem;
    color: var(--tierra-text-light);
    margin-bottom: 2rem;
}

.intro-section-alt .card {
    background: #fff;
    border-radius: 1rem;
    border: none;
    box-shadow: 0 4px 24px rgba(40, 32, 24, 0.08);
    transition: transform 0.2s;
}

.intro-section-alt .card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(40, 32, 24, 0.14);
}

.intro-section-alt .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tierra-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intro-section-alt .card-text {
    color: var(--tierra-text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .intro-title {
        font-size: 2rem;
    }

    .intro-section-alt .card-title {
        font-size: 1.1rem;
    }
}

/* Beneficios Section V2 */
.beneficios-section-v2 {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--tierra-bg) 0%, #f5f3f0 100%);
    position: relative;
}

.beneficios-section-v2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d5c1a0' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.beneficios-header {
    position: relative;
    z-index: 2;
}

.beneficios-title-v2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--tierra-dark);
    margin-bottom: 1rem;
    position: relative;
}

.beneficios-title-v2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--tierra-light), var(--tierra-medium));
    border-radius: 2px;
}

.beneficios-subtitle-v2 {
    font-size: 1.25rem;
    color: var(--tierra-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.beneficio-card-v2 {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(59, 58, 54, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(196, 158, 101, 0.2);
}

.beneficio-card-v2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.beneficio-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(59, 58, 54, 0.15);
}

.beneficio-content-v2 {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.beneficio-icon-v2 {
    background: linear-gradient(135deg, var(--tierra-light), var(--tierra-medium));
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(196, 158, 101, 0.3);
}

.beneficio-icon-v2 i {
    font-size: 1.5rem;
    color: white;
}

.beneficio-text-v2 {
    flex: 1;
}

.beneficio-titulo-v2 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--tierra-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.beneficio-descripcion-v2 {
    color: var(--tierra-text-light);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

.beneficio-number-v2 {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(196, 158, 101, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--tierra-medium);
    z-index: 1;
}

/* Estadísticas */
.beneficios-stats {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(59, 58, 54, 0.1);
    border: 1px solid rgba(196, 158, 101, 0.2);
    position: relative;
    overflow: hidden;
}

.beneficios-stats::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-item {
    padding: 1rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tierra-medium);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--tierra-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .beneficios-title-v2 {
        font-size: 2.25rem;
    }

    .beneficios-subtitle-v2 {
        font-size: 1.125rem;
    }

    .beneficio-card-v2 {
        padding: 1.5rem;
    }

    .beneficio-content-v2 {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .beneficio-icon-v2 {
        margin: 0 auto;
    }

    .beneficio-number-v2 {
        top: 1rem;
        right: 1rem;
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .beneficios-stats {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .beneficio-titulo-v2 {
        font-size: 1.25rem;
    }

    .beneficio-descripcion-v2 {
        font-size: 0.95rem;
    }
}

/* CTA Section */
.cta-section {
    background-color: var(--tierra-medium);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tierra-bg);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--tierra-bg);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-btn {
    background-color: var(--tierra-lightest);
    color: var(--tierra-text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.cta-btn:hover {
    background-color: var(--tierra-dark);
    color: var(--tierra-lightest);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.125rem;
    }
}

/* Utilidades adicionales */
.flex-grow-1 {
    flex-grow: 1;
}

/* Animaciones suaves */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* videos de instagram */
.video-carousel-section {
    padding: 60px 0;
    background: var(--tierra-bg);
    overflow: hidden;
}

.video-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-carousel-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-carousel-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-carousel-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.video-carousel-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 80px 80px 30px 80px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.video-carousel-scroll::-webkit-scrollbar {
    height: 8px;
}

.video-carousel-scroll::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 10px;
}

.video-carousel-scroll::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

/* Video card con rotaciones ligeras */
.video-card {
    flex: 0 0 300px;
    height: 520px;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center bottom;
}

/* Rotaciones optimizadas */
.video-card:nth-child(2n) {
    transform: rotate(1.5deg);
}

.video-card:nth-child(3n) {
    transform: rotate(-1deg);
}

.video-card:nth-child(4n) {
    transform: rotate(2deg);
}

.video-card:nth-child(5n) {
    transform: rotate(-1.5deg);
}

.video-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.video-card-inner {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.03);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.play-pause-btn {
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 4;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.play-pause-btn:hover {
    transform: scale(1.1);
}

.play-pause-btn svg {
    width: 20px;
    height: 20px;
    fill: #333;
    transition: fill 0.2s ease;
}

.play-pause-btn:hover svg {
    fill: #000;
}

.video-info {
    position: absolute;
    bottom: 90px;
    left: 25px;
    right: 25px;
    z-index: 3;
}

.video-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
    margin-bottom: 8px;
}

.video-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}


/* Estados */
.video-card.playing .play-pause-btn {
    background: rgba(0, 0, 0, 0.85);
}

.video-card.playing .play-pause-btn svg {
    fill: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .video-card {
        flex: 0 0 280px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .video-card {
        flex: 0 0 240px;
        height: 420px;
    }

    .video-carousel-title {
        font-size: 2rem;
    }

    .video-carousel-scroll {
        gap: 20px;
        padding: 20px 0 40px 0;
    }

    .play-pause-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
    }

    .play-pause-btn svg {
        width: 18px;
        height: 18px;
    }

    .video-info {
        bottom: 80px;
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .video-card {
        flex: 0 0 200px;
        height: 360px;
    }

    .video-carousel-container {
        padding: 0 15px;
    }

    .video-carousel-scroll {
        gap: 15px;
    }

    .video-title {
        font-size: 0.9rem;
    }

    .video-description {
        font-size: 0.8rem;
    }
}

/* Estilos para el mensaje de no cursos disponibles */
.no-courses-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 4rem 2rem;
    width: 100%;
    text-align: center;
    background: transparent;
}

.no-courses-icon {
    font-size: 5rem;
    color: var(--tierra-light);
    animation: bounce 2s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

.no-courses-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--tierra-lightest);
    margin-bottom: 1.5rem;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.no-courses-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--tierra-light) 0%, var(--tierra-medium) 100%);
    border-radius: 2px;
}

.no-courses-text {
    font-size: 1.3rem;
    color: var(--tierra-lightest);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-instagram {
    background: linear-gradient(135deg, var(--tierra-dark) 0%, var(--tierra-medium) 100%);
    color: white;
    border: 2px solid var(--tierra-lightest);
    border-radius: 50px;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(59, 58, 54, 0.2);
    margin-top: 20px;
}

.btn-instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-instagram:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--tierra-medium) 0%, var(--tierra-light) 100%);
    border-color: var(--tierra-light);
    box-shadow: 0 12px 35px rgba(59, 58, 54, 0.3);
    color: white;
    text-decoration: none;
}

.btn-instagram:hover::before {
    left: 100%;
}

.btn-instagram:active {
    transform: translateY(-1px);
}

.btn-instagram .fab {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .no-courses-message {
        min-height: 350px;
        padding: 3rem 1.5rem;
    }
    
    .no-courses-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .no-courses-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .no-courses-title::after {
        width: 60px;
        height: 2px;
    }
    
    .no-courses-text {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .btn-instagram {
        padding: 15px 28px;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }
    
    .btn-instagram .fab {
        font-size: 1.2rem;
    }
}
