
/* ==========================================
   VAILON LABS - HERO SECTION
========================================== */

.vailon-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 12 / 5;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #c9c9cb;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* ==========================================
   BACKGROUND IMAGE
========================================== */

.vailon-hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* ==========================================
   OVERLAY
========================================== */

.vailon-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
    pointer-events: none;
}

/* ==========================================
   HERO CONTENT
========================================== */

.vailon-hero-content {
    position: relative;
    z-index: 2;
    width: calc(100% - 120px);
    max-width: 1520px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
}

/* ==========================================
   EYEBROW
========================================== */

.vailon-hero-eyebrow {
    color: #5685a0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 32px;
}

/* ==========================================
   MAIN HEADING
========================================== */

.vailon-hero-heading {
    max-width: 780px;
    color: #222222 !important;
      font-size: clamp(38px, 3vw, 56px) !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
    letter-spacing: -1.5px;
    margin: 0 !important;
}

/* ==========================================
   DECORATIVE DIVIDER
========================================== */

.vailon-hero-divider {
    position: relative;
    width: 405px;
    max-width: 100%;
    height: 15px;
    margin: 14px 0 28px;
    display: flex;
    align-items: center;
}

.vailon-hero-divider::before {
    content: "";
    width: 100%;
    height: 2px;
    background: #7da3b9;
}

.vailon-hero-divider span {
    position: absolute;
    width: 13px;
    height: 13px;
    left: 50%;
    top: 1px;
    background: #4d87a8;
    transform: rotate(45deg);
}

/* ==========================================
   DESCRIPTION
========================================== */

.vailon-hero-description {
    max-width: 750px;
    color: #555555 !important;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 28px !important;
}

/* ==========================================
   BUTTON
========================================== */

.vailon-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 270px;
    min-height: 64px;
    padding: 18px 35px;
    box-sizing: border-box;
    background: #171717;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.vailon-hero-button:hover {
    background: #4d87a8;
    color: #ffffff !important;
}

.vailon-hero-button span {
    font-size: 19px;
    line-height: 1;
}

/* ==========================================
   TABLET
========================================== */

@media (min-width: 701px) and (max-width: 1100px) {

    .vailon-hero {
        aspect-ratio: auto;
        min-height: 520px;
    }

    .vailon-hero-content {
        width: calc(100% - 80px);
        padding: 60px 0;
    }

    .vailon-hero-eyebrow {
        font-size: 14px;
        letter-spacing: 3px;
        margin-bottom: 25px;
    }

    .vailon-hero-heading {
        font-size: 48px !important;
        max-width: 570px;
    }

    .vailon-hero-description {
        font-size: 17px;
        max-width: 500px;
    }

    .vailon-hero-button {
        min-width: 230px;
        min-height: 56px;
    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .vailon-hero {
        aspect-ratio: auto;
        min-height: 480px;
        align-items: center;
    }

    .vailon-hero-background {
        background-size: cover;
        background-position: center center;
    }

    .vailon-hero-content {
        width: calc(100% - 40px);
        padding: 50px 0;
    }

    .vailon-hero-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 22px;
    }

    .vailon-hero-heading {
        max-width: 100%;
        font-size: 34px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.5px;
    }

    .vailon-hero-divider {
        width: 240px;
        margin: 12px 0 22px;
    }

    .vailon-hero-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 22px !important;
    }

    .vailon-hero-button {
        min-width: 210px;
        min-height: 52px;
        padding: 14px 24px;
        font-size: 13px;
    }

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .vailon-hero {
        min-height: 450px;
    }

    .vailon-hero-content {
        width: calc(100% - 32px);
        padding: 40px 0;
    }

    .vailon-hero-heading {
        font-size: 30px !important;
    }

}

/* ==========================================
   REMOVE THEME MAIN SPACING
========================================== */

.site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

.site-main > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* =================================
   VAILON HERO - VISIBILITY FIX
================================= */

.vailon-hero {
    position: relative;
    height: 600px;
    min-height: 600px;
    overflow: hidden;
}

/* Improve background visibility */
.vailon-hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(255, 255, 255, 0.65) 42%,
        rgba(255, 255, 255, 0.12) 75%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* Content positioning */
.vailon-hero-content {
    max-width: 1500px;
    width: calc(100% - 140px);
    margin: 0 auto;
}

/* Eyebrow */
.vailon-hero-eyebrow {
    color: #397fa5;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 32px;
}

/* Main heading */
.vailon-hero-heading {
    color: #171717;
    font-size: clamp(46px, 3.5vw, 64px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -1.8px;
    max-width: 760px;
}

/* Description */
.vailon-hero-description {
    color: #414141;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 38px;
}

/* Button */
.vailon-hero-button {
    background: #111111;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    min-width: 270px;
    min-height: 64px;
    margin-top: 28px;
}

/* Mobile */
@media (max-width: 767px) {
    .vailon-hero {
        height: 550px;
        min-height: 550px;
    }

    .vailon-hero-content {
        width: calc(100% - 40px);
    }

    .vailon-hero-heading {
        font-size: 38px;
        line-height: 1.2;
    }

    .vailon-hero-description {
        font-size: 16px;
    }
}
.vailon-hero-heading {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 400;
}

.vailon-hero-eyebrow {
    font-size: 14px;
    letter-spacing: 3px;
}

.vailon-hero-description {
    font-size: 17px;
    line-height: 1.5;
}

.vailon-hero-button {
    min-width: 230px;
    min-height: 56px;
    font-size: 14px;
}
.vailon-hero-content {
    width: min(1200px, calc(100% - 40px));
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.vailon-hero-background {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.vailon-hero {
    position: relative;
    width: 100%;
    height: 500px !important;
    min-height: 500px !important;
    aspect-ratio: auto !important;
    overflow: hidden;
}

.vailon-hero-background {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 767px) {
    .vailon-hero {
        height: 420px !important;
        min-height: 420px !important;
    }
}
/* ==========================================
   VAILON MOBILE HERO BACKGROUND
========================================== */

@media (max-width: 767px) {

    .vailon-hero-background {
        background-image: var(--vailon-mobile-hero-image) !important;
    }

}

/* ==========================================
   VAILON MOBILE HERO - CONTENT FIRST
========================================== */

@media (max-width: 767px) {

    .vailon-hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        background: #eeeeef;
        overflow: hidden;
    }

    /* Hide overlay */
    .vailon-hero-overlay {
        display: none !important;
    }

    /* CONTENT FIRST */
    .vailon-hero-content {
        order: 1;
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 45px 20px 25px;
        margin: 0;
        text-align: center;
        box-sizing: border-box;
    }

    /* EYEBROW */
    .vailon-hero-eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
        line-height: 1.6;
        margin: 0 0 30px;
    }

    /* HEADING */
    .vailon-hero-heading {
        max-width: 100%;
        font-size: 34px !important;
        line-height: 1.15 !important;
        letter-spacing: -1px;
        font-weight: 300 !important;
        margin: 0 !important;
    }

    /* DIVIDER */
    .vailon-hero-divider {
        width: 220px;
        max-width: 80%;
        margin: 15px auto 25px;
    }

    /* DESCRIPTION */
    .vailon-hero-description {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.5;
        margin: 0 0 25px !important;
    }

    /* BUTTON */
    .vailon-hero-button {
        display: inline-flex;
        min-width: 250px;
        min-height: 58px;
        justify-content: center;
        margin: 0;
        font-size: 13px;
    }

    /* PRODUCT IMAGE BELOW CONTENT */
    .vailon-hero-background {
        order: 2;
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 2 / 3;
        background-image: var(--vailon-mobile-hero-image) !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        z-index: 0;
    }

}

/* SMALL MOBILE */

@media (max-width: 480px) {

    .vailon-hero-content {
        padding: 35px 16px 20px;
    }

    .vailon-hero-heading {
        font-size: 30px !important;
    }

    .vailon-hero-description {
        font-size: 15px;
    }

    .vailon-hero-background {
        aspect-ratio: 2 / 3;
    }

}
