/* =========================================================
   LAVENDER COUNSELING CENTER
   CONTACT HERO
========================================================= */

.lavContactHero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 360px;
    max-height: 50vh;

    display: flex;
    align-items: center;

    padding: clamp(5.5rem, 9vw, 7rem) 0
        clamp(3.5rem, 6vw, 5rem);

    background:
        linear-gradient(
            135deg,
            #fbf9fd 0%,
            #f6f0fa 48%,
            #eee4f5 100%
        );

    border-bottom: 1px solid
        rgba(103, 75, 120, 0.1);
}


/* =========================================================
   CONTAINER
========================================================= */

.lavContactHero .container {
    position: relative;
    z-index: 4;

    width: min(
        calc(100% - 2rem),
        1200px
    );

    margin-inline: auto;
}


/* =========================================================
   INNER GRID
========================================================= */

.lavContactHeroInner {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(270px, 0.65fr);

    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}


/* =========================================================
   CONTENT
========================================================= */

.lavContactHeroContent {
    position: relative;
    z-index: 3;

    max-width: 720px;
}


/* =========================================================
   EYEBROW
========================================================= */

.lavContactHeroEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;

    margin-bottom: 1rem;
}

.lavContactHeroEyebrow > span {
    width: 2.25rem;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #8e6ca7,
            #b99cca
        );
}

.lavContactHeroEyebrow p {
    margin: 0;

    color: #745987;

    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* =========================================================
   TITLE
========================================================= */

.lavContactHero h1 {
    max-width: 720px;

    margin: 0;

    color: #31263a;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.5rem
        );

    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.lavContactHero h1 span {
    display: inline;

    color: #84639a;
}


/* =========================================================
   LEAD
========================================================= */

.lavContactHeroLead {
    max-width: 650px;

    margin:
        clamp(1rem, 2vw, 1.35rem)
        0
        0;

    color: #665b6c;

    font-size:
        clamp(
            1rem,
            1.35vw,
            1.12rem
        );

    line-height: 1.75;
}

.lavContactHeroLead strong {
    color: #4f3d5c;
    font-weight: 700;
}


/* =========================================================
   ACTIONS
========================================================= */

.lavContactHeroActions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;

    margin-top:
        clamp(
            1.4rem,
            3vw,
            2rem
        );
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.lavContactHero .lavPrimaryButton {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.85rem 1.45rem;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #705487,
            #9270a8
        );

    border: 1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 999px;

    box-shadow:
        0 14px 30px
        rgba(84, 56, 103, 0.22);

    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.lavContactHero .lavPrimaryButton::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            135deg,
            #8b6ba1,
            #684c7e
        );

    opacity: 0;

    transition: opacity 0.3s ease;
}

.lavContactHero .lavPrimaryButton:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 38px
        rgba(84, 56, 103, 0.28);
}

.lavContactHero .lavPrimaryButton:hover::before {
    opacity: 1;
}


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.lavContactHero .lavSecondaryButton {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.85rem 1.4rem;

    color: #5d486c;
    background:
        rgba(255, 255, 255, 0.62);

    border: 1px solid
        rgba(111, 81, 128, 0.18);

    border-radius: 999px;

    box-shadow:
        0 10px 24px
        rgba(73, 52, 88, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.lavContactHero .lavSecondaryButton:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 255, 255, 0.9);

    border-color:
        rgba(111, 81, 128, 0.35);

    box-shadow:
        0 14px 28px
        rgba(73, 52, 88, 0.12);
}


/* =========================================================
   SIDE CARD
========================================================= */

.lavContactHeroCard {
    position: relative;

    max-width: 380px;

    margin-left: auto;

    padding:
        clamp(1.4rem, 3vw, 2rem);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.78),
            rgba(255, 255, 255, 0.5)
        );

    border: 1px solid
        rgba(111, 81, 128, 0.15);

    border-radius: 28px;

    box-shadow:
        0 24px 60px
        rgba(71, 48, 87, 0.12);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lavContactHeroCard::before {
    content: "";

    position: absolute;
    top: 1rem;
    right: 1rem;

    width: 52px;
    height: 52px;

    border:
        1px solid
        rgba(133, 99, 154, 0.15);

    border-radius:
        58% 42% 62% 38% /
        44% 57% 43% 56%;

    transform: rotate(14deg);
}

.lavContactHeroCardIcon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 1rem;

    color: #795a8f;

    background:
        rgba(143, 109, 162, 0.11);

    border: 1px solid
        rgba(126, 91, 147, 0.15);

    border-radius: 16px;
}

.lavContactHeroCardIcon svg {
    width: 24px;
    height: 24px;
}

.lavContactHeroCard h2 {
    max-width: 260px;

    margin: 0;

    color: #3a2d43;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size:
        clamp(
            1.6rem,
            2.5vw,
            2rem
        );

    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.lavContactHeroCard p {
    margin: 0.85rem 0 0;

    color: #716677;

    font-size: 0.94rem;
    line-height: 1.65;
}


/* =========================================================
   AMBIENT GLOWS
========================================================= */

.lavContactHeroGlow {
    position: absolute;

    z-index: 0;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(10px);
}

.lavContactHeroGlowOne {
    top: -130px;
    left: -90px;

    width: 360px;
    height: 360px;

    background:
        radial-gradient(
            circle,
            rgba(184, 151, 203, 0.25),
            rgba(184, 151, 203, 0)
            70%
        );
}

.lavContactHeroGlowTwo {
    right: -100px;
    bottom: -190px;

    width: 450px;
    height: 450px;

    background:
        radial-gradient(
            circle,
            rgba(151, 115, 173, 0.2),
            rgba(151, 115, 173, 0)
            72%
        );
}


/* =========================================================
   TEXTURE
========================================================= */

.lavContactHeroTexture {
    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    opacity: 0.28;

    background-image:
        radial-gradient(
            rgba(87, 62, 101, 0.12)
            0.7px,
            transparent 0.7px
        );

    background-size: 18px 18px;

    mask-image:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7),
            transparent 90%
        );

    -webkit-mask-image:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7),
            transparent 90%
        );
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.lavContactHero .reveal-soft {
    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity 0.8s ease,
        transform 0.8s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}

.lavContactHero.is-visible
.reveal-soft {
    opacity: 1;

    transform: translateY(0);
}

.lavContactHero .delay-1 {
    transition-delay: 0.08s;
}

.lavContactHero .delay-2 {
    transition-delay: 0.16s;
}

.lavContactHero .delay-3 {
    transition-delay: 0.24s;
}

.lavContactHero .delay-4 {
    transition-delay: 0.32s;
}


/* =========================================================
   LARGE SCREENS
========================================================= */

@media (
    min-width: 1400px
) {

    .lavContactHero {
        min-height: 390px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (
    max-width: 900px
) {

    .lavContactHero {
        max-height: none;
        min-height: auto;

        padding:
            7rem 0
            4rem;
    }

    .lavContactHeroInner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lavContactHeroCard {
        max-width: 100%;
        margin-left: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 640px
) {

    .lavContactHero {
        padding:
            6.5rem 0
            3rem;
    }

    .lavContactHero .container {
        width: min(
            calc(100% - 1.4rem),
            1200px
        );
    }

    .lavContactHero h1 {
        font-size:
            clamp(
                2.35rem,
                12vw,
                3.4rem
            );

        line-height: 0.98;
    }

    .lavContactHeroLead {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .lavContactHeroActions {
        align-items: stretch;
        flex-direction: column;
    }

    .lavContactHero .lavPrimaryButton,
    .lavContactHero .lavSecondaryButton {
        width: 100%;
    }

    .lavContactHeroCard {
        padding: 1.35rem;

        border-radius: 22px;
    }

}


/* =========================================================
   SHORT VIEWPORTS
========================================================= */

@media (
    min-width: 901px
) and (
    max-height: 760px
) {

    .lavContactHero {
        min-height: 320px;
        max-height: 50vh;

        padding:
            5.25rem 0
            2.5rem;
    }

    .lavContactHero h1 {
        font-size:
            clamp(
                2.4rem,
                4vw,
                3.7rem
            );
    }

    .lavContactHeroLead {
        margin-top: 0.85rem;

        line-height: 1.55;
    }

    .lavContactHeroActions {
        margin-top: 1.2rem;
    }

    .lavContactHeroCard {
        padding: 1.4rem;
    }

}


/* =========================================================
   FOCUS STATES
========================================================= */

.lavContactHero a:focus-visible {
    outline: 3px solid
        rgba(104, 76, 126, 0.38);

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    .lavContactHero *,
    .lavContactHero *::before,
    .lavContactHero *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .lavContactHero .reveal-soft {
        opacity: 1;
        transform: none;
    }

}