/**
 * Estilos del Hero Section de Ruta Maya Travel
 * Ubicación sugerida: css/hero.css
 * 
 * Estos estilos son específicos para la página de inicio
 */

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--color-secondary-500);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 112px;
    /* Espacio para el navbar fijo */
}

/* Background decorativo con imagen mesh */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    background-image: url('../assets/img/hero_bg_mesh.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Contenido principal del hero */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 200px;
}

/* Título principal */
.hero-title {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 7vh;
    line-height: 1.15;
    color: var(--color-neutral-white);
    margin-bottom: 36px;
}

.hero-title .highlight {
    color: var(--color-tertiary-500);
}

/* Descripción */
.hero-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-neutral-white);
    max-width: 762px;
}

/* Sección de marcas */
.brands-section {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 3;
}

.brands-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.brand-logo {
    max-width: 150px;
    max-height: 60px;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
}

/* ========== SECCIÓN: SERVICIOS ========== */
.services-section {
    padding: 80px 0;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    width: 48px;
    height: 48px;
}


/**
 * Estilos de la sección "Conviértete en socio"
 * Ubicación sugerida: css/become-partner.css
 * 
 * Sección con información para agencias y hoteles
 * con ilustración del personaje maya
 */

/* ========== SECCIÓN: CONVIÉRTETE EN SOCIO ========== */
.become-partner-section {
    position: relative;
    padding: 80px 0;
    background: var(--color-neutral-white);
    overflow: hidden;
}

/* Fondos con gradientes */
.gradient-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.gradient-layer-1,
.gradient-layer-2 {
    position: absolute;
    background: var(--color-bg-light);
    opacity: 0.5;
    overflow: hidden;
}

.gradient-layer-1 {
    width: 1214px;
    height: 719px;
    top: 0;
    left: 0;
    transform: scaleY(-1);
}

.gradient-layer-2 {
    width: 1512px;
    height: 882px;
    top: 0;
    right: 0;
    transform: rotate(180deg) scaleY(-1);
}

/* Efecto de blobs/manchas */
.gradient-layer-1::before,
.gradient-layer-2::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(ellipse at 30% 40%,
            rgba(165, 194, 48, 0.15) 0%,
            transparent 50%),
        radial-gradient(ellipse at 70% 60%,
            rgba(42, 52, 129, 0.12) 0%,
            transparent 50%);
    filter: blur(40px);
}

/* Textura de ruido */
.noise-texture {
    position: absolute;
    width: 910px;
    height: 607px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: soft-light;
    opacity: 0.3;
    pointer-events: none;
}

/* Contenedor principal */
.partner-content {
    position: relative;
    z-index: 2;
    max-width: 1096px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 536px 1fr;
    gap: 40px;
    align-items: center;
}

/* ========== COLUMNA IZQUIERDA: CONTENIDO ========== */
.partner-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Título y descripción principal */
.partner-header {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.partner-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 1.175;
    color: var(--color-heading);
    margin: 0;
}

.partner-title .highlight {
    color: var(--color-primary-500);
}

.partner-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-subtext);
    margin: 0;
}

/* Tarjetas de información */
.partner-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.partner-card {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.partner-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-heading);
    margin: 0;
}

.partner-card-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-subtext);
    margin: 0;
}

/* Botón de registro */
.btn-partner {
    background: linear-gradient(90deg, #2A3481 0%, #4756B8 50.48%, #4756B8 72.41%, #2A3481 100%);
    color: var(--color-neutral-white);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow:
        0px 1px 3px 0px rgba(0, 0, 0, 0.3),
        0px 4px 8px 3px rgba(0, 0, 0, 0.15);
    align-self: flex-start;
}

.btn-partner:hover {
    transform: translateY(-2px);
}

.btn-partner svg {
    width: 20px;
    height: 20px;
}

/* ========== COLUMNA DERECHA: ILUSTRACIÓN ========== */
.partner-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

/* Círculo de fondo borroso */
.blur-circle {
    position: absolute;
    width: 450px;
    height: 450px;
    background: #b7b7b7;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
    top: 51px;
    right: 0;
}

/* Decoración superior izquierda */
.decoration-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 25px;
    left: -35px;
    z-index: 2;
}

/* Círculo principal con imagen */
.main-circle {
    position: absolute;
    width: 450px;
    height: 480px;
    border-radius: 1000px;
    background: var(--color-primary-500);
    overflow: hidden;
    box-shadow:
        0px 4px 4px -4px rgba(12, 12, 13, 0.05),
        0px 16px 32px -4px rgba(12, 12, 13, 0.1);
    z-index: 3;
    top: 0;
    right: 54px;
}

.main-circle-image {
    width: 100%;
    height: 164%;
    object-fit: cover;
    object-position: center top;
    padding-top: 80px;
}

/* Etiqueta flotante */
.floating-label {
    position: absolute;
    top: 68px;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 16px 12px;
    border-radius: 20px;
    z-index: 4;
    max-width: 208px;
}

.floating-label-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.35;
    color: var(--color-neutral-white);
    text-align: center;
    margin: 0;
}

.floating-label-text .highlight {
    font-weight: 600;
    color: var(--color-tertiary-500);
}

/**
 * Estilos de la sección "Lo que te ofrecemos"
 * Ubicación sugerida: css/services.css
 * 
 * Sección con 6 tarjetas glassmorphism mostrando servicios
 */

/* ========== SECCIÓN: LO QUE TE OFRECEMOS ========== */
.services-section {
    position: relative;
    background: var(--color-secondary-500);
    padding: 80px 0;
    overflow: hidden;
}

/* Vectores decorativos de fondo */
.background-vectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.4;
}

.vector-left {
    position: absolute;
    width: 1196px;
    height: 1118px;
    top: 33px;
    left: -684px;
    transform: rotate(183.934deg);
}

.vector-right {
    position: absolute;
    width: 1196px;
    height: 1118px;
    top: -68px;
    left: 158px;
}

/* Contenedor principal */
.services-content {
    position: relative;
    z-index: 2;
    max-width: 1096px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
}

/* Título de la sección */
.services-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 1.35;
    color: var(--color-neutral-white);
    text-align: center;
    margin: 0;
}

.services-title .highlight {
    color: var(--color-tertiary-500);
}

/* Grid de tarjetas */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.services-row {
    display: flex;
    justify-content: space-between;
    gap: 36px;
}

/* Tarjeta con efecto glassmorphism */
.service-card {
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 312px;
    min-height: 260px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Título de la tarjeta */
.service-card-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.35;
    color: var(--color-neutral-white);
    margin: 0;
}

/* Descripción de la tarjeta */
.service-card-description {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.35;
    color: var(--color-neutral-white);
    margin: 0;
}

/* ========== SECCIÓN: LLAMADA A LA ACCIÓN ========== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden; /* opcional pero recomendado */
}

.cta-content {
    max-width: 962px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--neutral-black, #1F1F1F);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 135%;
    margin-bottom: 20px;
    /* 64.8px */
}

.cta-section h2>span {
    color: var(--color-primary-500);
}

.cta-description {
    color: #757575;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    margin-bottom: 48px;
    /* 21.6px */
}

.cta-button {
    padding: 16px 20px;
    border-radius: var(--Sizes-Border-Radius-BR-3, 8px);
    background: var(--btn-bg, linear-gradient(90deg, #2A3481 0%, #4756B8 50.48%, #4756B8 72.41%, #2A3481 100%));

    /* M3/Elevation Light/3 */
    box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px 0 rgba(0, 0, 0, 0.30);
}

.cta-background-vector {
    position: absolute;
    z-index: 1;
    pointer-events: none; /* para que no estorbe */
}


.cta-background-vector.top-right {
    top: 40px;
    right: 150px;
    transform: rotate(-160deg);
}

.cta-background-vector.bottom-left {
    bottom: 50px;
    left: 250px;
}

/* ========== RESPONSIVIDAD ========== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-content {
        padding: 40px 0 180px;
    }

    .section-title {
        font-size: 36px;
    }

    .partner-content {
        max-width: 960px;
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .partner-illustration {
        height: 400px;
    }

    .main-circle {
        width: 380px;
        height: 400px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .blur-circle {
        width: 380px;
        height: 380px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .decoration-circle {
        left: 20%;
    }

    .floating-label {
        left: 15%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 700px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-content {
        padding: 40px 0 150px;
    }

    .brands-section {
        bottom: 40px;
    }

    .brands-container {
        justify-content: center;
        gap: 20px;
    }

    .brand-logo {
        max-height: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 16px;
    }

    .become-partner-section,
    .services-section,
    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section .lead {
        font-size: 18px;
    }

    .become-partner-section {
        padding: 60px 20px;
    }

    .partner-content {
        gap: 40px;
    }

    .partner-title {
        font-size: 36px;
    }

    .partner-description {
        font-size: 15px;
    }

    .partner-card-title {
        font-size: 16px;
    }

    .partner-card-text {
        font-size: 15px;
    }

    .partner-illustration {
        height: 350px;
    }

    .main-circle {
        width: 320px;
        height: 340px;
    }

    .blur-circle {
        width: 320px;
        height: 320px;
    }

    .decoration-circle {
        width: 120px;
        height: 120px;
    }

    .floating-label {
        max-width: 180px;
        padding: 12px 10px;
    }

    .floating-label-text {
        font-size: 13px;
    }

    .btn-partner {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 13px;
    }

    .brands-container {
        gap: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section .lead {
        font-size: 16px;
    }

    .partner-title {
        font-size: 28px;
    }

    .partner-description {
        font-size: 14px;
    }

    .main-circle {
        width: 280px;
        height: 300px;
    }

    .blur-circle {
        width: 280px;
        height: 280px;
    }
}