@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --color-primary: #001326;
    --color-secondary: #004A8F;
    --color-tertiary: #33A1FD;
    --color-quaternary: #DE2A13;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif !important;
    background-color: #f5f5f5;
    color: #303030;
}

button {
    cursor: pointer;
    font-family: 'Montserrat', sans-serif !important;
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1150px;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background-image: url('/website_esen_landing/static/src/lp-aire-industrial/assets/img/bg-hero-movil.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    padding-top: 60px;
    padding-bottom: 400px;
    color: #ffffff;
    text-align: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-logo {
    max-width: 180px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-blue {
    color: var(--color-tertiary);
}

.hero-description {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-quaternary);
}

.btn-primary:hover {
    background-color: #b5220f;
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero {
        background-image: url('/website_esen_landing/static/src/lp-aire-industrial/assets/img/bg-hero.webp');
        background-position: center right;
        align-items: center;
        padding-bottom: 80px;
        text-align: left;
    }

    .hero-container {
        justify-content: flex-start;
    }

    .hero-content {
        align-items: flex-start;
        max-width: 55%;
    }

    .hero-logo {
        max-width: 220px;
        margin: 40px 0;
    }

    .hero-title {
        font-size: 52px;
        margin-bottom: 30px;
        line-height: 1em;
    }

    .hero-description {
        font-size: 22px;
        max-width: 600px;
        line-height: 1.2em;
    }

    .btn {
        font-size: 20px;
    }
}

/* ==========================================================================
   Helpers & Typography
   ========================================================================== */
.text-center {
    text-align: center;
}

.padding-py {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .padding-py {
        padding: 40px 0;
    }
}

.section-subtitle {
    display: block;
    color: var(--color-tertiary);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
}

.section-title {
    color: var(--color-primary);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-description {
    font-size: 22px;
    font-weight: 500;
    margin: 0 auto 50px auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 20px;
    }

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

/* ==========================================================================
   Carousel Línea Industrial
   ========================================================================== */
.industrial-line {
    background-color: #f5f5f5;
    /* Matches body bg */
}

.carousel-container {
    width: 100%;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px;
    /* Space for box-shadow */
    padding-bottom: 30px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.carousel-slide {
    flex: 0 0 calc(100% - 20px);
    scroll-snap-align: start;
}

/* Responsive carousel sizing */
@media (min-width: 768px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Pagination */
.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #cccccc;
    border: none;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    background-color: var(--color-secondary);
}

.dot.active {
    background-color: var(--color-quaternary);
    transform: scale(1.2);
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 0 0 40px 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 150%);
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: #ffffff;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.3;
}

.product-subtitle {
    color: var(--color-tertiary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
}

.product-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ==========================================================================
   Climatización Section
   ========================================================================== */
.climatizacion-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.climatizacion-image {
    order: 2;
}

.climatizacion-content {
    order: 1;
    text-align: center;
}

.climatizacion-image img {
    width: 100%;
    border-radius: 0 0 40px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    height: 370px;
}

.section-subtitle-blue {
    color: var(--color-secondary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.checks-carousel-container {
    margin-bottom: 30px;
}

.check-slide {
    flex: 0 0 100%;
}

.check-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 0 20px;
}

.check-item p {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.mobile-only-pagination {
    display: flex;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
}

.mt-30 {
    margin-top: 30px;
}

/* Desktop Climatización */
@media (min-width: 1024px) {
    .climatizacion-grid {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .climatizacion-image {
        flex: 1;
        order: 1;
    }

    .climatizacion-image img {
        width: 100%;
        border-radius: 0 0 40px 0;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        object-fit: cover;
        height: 100%;
    }


    .climatizacion-content {
        flex: 1;
        order: 2;
        text-align: left;
    }

    .checks-carousel-container .carousel-track {
        flex-direction: column;
        overflow-x: visible;
        gap: 20px;
        padding-bottom: 0;
    }

    .check-slide {
        flex: 1 1 auto;
    }

    .check-item {
        flex-direction: row;
        text-align: left;
        padding: 0;
    }

    .check-item p {
        font-size: 18px;
    }

    .mobile-only-pagination {
        display: none !important;
    }

    .btn-wrapper {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   ¿Por qué ESEN? Section
   ========================================================================== */
.why-esen {
    background-image: url('/website_esen_landing/static/src/lp-aire-industrial/assets/img/bg-seccion-3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-esen-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    border: 2px solid #ffffff;
    border-radius: 0 0 60px 0;
    background-color: rgba(0, 19, 38, 0.3); /* Capa oscura tenue para legibilidad */
    backdrop-filter: blur(4px); /* Efecto cristal */
    -webkit-backdrop-filter: blur(4px);
    text-align: center;
}

.why-esen-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.text-red {
    color: var(--color-quaternary);
}

.why-esen-text {
    font-size: 18px;
    font-weight: 500;
    margin: 0 auto 25px auto;
    line-height: 1.5;
    max-width: 700px;
}

.why-esen-text:last-child {
    margin-bottom: 0;
}

.desktop-br {
    display: none;
}

@media (min-width: 768px) {
    .why-esen-box {
        padding: 60px 40px;
    }

    .why-esen-title {
        font-size: 45px;
    }

    .why-esen-text {
        font-size: 22px;
    }
    
    .desktop-br {
        display: block;
    }
}

/* ==========================================================================
   Confianza Section
   ========================================================================== */
.trust-section {
    background-color: #ffffff; /* Fondo blanco para crear contraste con la seccion anterior */
}

.trust-section .section-title {
    margin-bottom: 50px;
}

.trust-track {
    padding-left: 0;
    padding-right: 0;
    gap: 0;
}

.trust-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
}

@media (min-width: 576px) {
    .trust-slide {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (min-width: 1024px) {
    .trust-carousel-container .carousel-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        overflow-x: visible;
        padding-bottom: 0;
    }
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.trust-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
    object-fit: contain;
}

.trust-text {
    color: var(--color-secondary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .trust-text {
        font-size: 20px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background-image: url('/website_esen_landing/static/src/lp-aire-industrial/assets/img/bg-seccion-5.webp');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.text-white {
    color: #ffffff !important;
}

.contact-subtitle {
    margin-bottom: 40px;
    font-weight: 400;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 20px;
    }
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.mt-30 {
    margin-top: 30px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background-color: #ffffff;
    border: none;
    font-family: inherit;
    font-size: 16px;
    color: #111111;
    outline: none;
}

.form-input::placeholder {
    color: #111111;
    font-style: italic;
}

.select-wrapper {
    position: relative;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    font-style: italic;
}

.select-wrapper::after {
    content: "▼";
    font-size: 12px;
    color: #111111;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-label {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.radio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .radio-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        row-gap: 15px;
    }
}

.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.custom-radio input {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
}

.custom-radio input:checked + .checkmark {
    background-color: transparent;
}

.custom-radio input:checked + .checkmark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-quaternary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .form-submit {
        text-align: left;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-top {
    background-color: var(--color-primary); /* #001326 */
    padding: 60px 20px 40px 20px;
}

.footer-logo {
    display: block;
    margin: 0 auto 30px auto;
    width: 160px;
}

@media (min-width: 768px) {
    .footer-logo {
        width: 220px;
        margin-bottom: 40px;
    }
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .footer-social {
        margin-bottom: 40px;
        gap: 20px;
    }
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.footer-copyright {
    color: var(--color-tertiary);
    font-size: 14px;
    margin: 0;
}

@media (min-width: 768px) {
    .footer-copyright {
        font-size: 16px;
    }
}

.footer-bottom {
    background-color: #ffffff;
    padding: 20px;
}

.footer-credit {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.footer-credit a {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-credit a:hover {
    color: var(--color-quaternary);
}