/* ---------- Header ---------- */
header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.logo-mark span {
    width: 8px;
    border-radius: 2px 2px 0 0;
}

.logo-mark span:nth-child(1) {
    height: 14px;
    background: var(--yellow);
}

.logo-mark span:nth-child(2) {
    height: 22px;
    background: var(--navy);
}

.logo-mark span:nth-child(3) {
    height: 18px;
    background: var(--yellow-deep);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -.01em;
}

.logo-text em {
    font-style: normal;
    color: var(--yellow-deep);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 34px;
}

nav a {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy);
    position: relative;
    padding: 6px 0;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width .2s ease;
}

nav a:hover::after {
    width: 100%;
}

.hw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    transition: transform .15s ease, box-shadow .15s ease;
}

.hw-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.hw-btn-primary {
    background: var(--yellow);
    color: var(--navy);
}

.hw-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(232, 164, 0, 0.55);
}

.hw-btn-outline {
    border: 2px solid var(--navy);
    color: var(--navy);
    background: transparent;
    padding: 11px 24px;
}

.hw-btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* ---------- Hero ---------- */
/* =========================================================
   HERO SLIDER
========================================================= */

.hero {
    background:
        radial-gradient(
            1100px 500px at 85% -10%,
            rgba(255, 199, 44, 0.16),
            transparent 60%
        ),
        linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--navy-2) 60%,
            var(--navy-soft) 100%
        );

    position: relative;
    overflow: hidden;
    padding: 76px 0 150px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;

    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.035) 0 42px,
            transparent 42px 84px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0 90px,
            transparent 90px 180px
        );

    pointer-events: none;
}


/* Slider wrapper */

.hero-slides {
    position: relative;
    min-height: 520px;
}


/* Individual slide */

.hero-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;

    pointer-events: none;
}


/* Active slide */

.hero-slide.active {
    position: relative;

    opacity: 1;
    visibility: visible;

    pointer-events: auto;
    z-index: 2;
}


/* =========================================================
   CONTENT ANIMATION
========================================================= */

.hero-slide .hero-copy {
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.active .hero-copy {
    animation: heroTextIn 0.8s ease forwards;
    animation-delay: 0.15s;
}


.hero-slide .hero-visual {
    opacity: 0;
    transform: translateX(35px) scale(0.97);
}

.hero-slide.active .hero-visual {
    animation: heroImageIn 0.9s ease forwards;
    animation-delay: 0.25s;
}


@keyframes heroTextIn {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes heroImageIn {

    from {
        opacity: 0;
        transform: translateX(35px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

}


/* =========================================================
   HERO CONTAINER
========================================================= */

.hero .container {
    position: relative;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 40px;
    align-items: center;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-copy .eyebrow {
    color: var(--yellow);
}

.hero-copy .eyebrow::before {
    background: var(--yellow);
}

.hero-copy h1 {
    color: var(--white);

    font-size: 44px;
    font-weight: 700;

    margin: 16px 0 18px;

    max-width: 560px;
}

.hero-copy h1 span {
    color: var(--yellow);
}

.hero-copy p {
    color: #C9D6EC;

    font-size: 17px;

    max-width: 480px;

    margin-bottom: 28px;
}


/* =========================================================
   BADGE
========================================================= */

.hero-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-chip {
    display: flex;
    align-items: center;

    gap: 10px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 199, 44, 0.35);

    padding: 12px 18px;

    border-radius: 10px;

    color: var(--white);

    font-weight: 600;
    font-size: 14.5px;
}

.badge-chip .dot {
    width: 32px;
    height: 32px;

    border-radius: 8px;

    background: var(--yellow);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.badge-chip .dot i {
    font-size: 17px;
    color: var(--navy);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-visual {
    position: relative;
}

.hero-visual .frame {
    background:
        linear-gradient(
            160deg,
            var(--yellow),
            var(--yellow-deep)
        );

    border-radius: 20px;

    padding: 8px;

    box-shadow: var(--shadow);
}

.hero-visual img {
    display: block;

    border-radius: 14px;

    width: 100%;

    aspect-ratio: 4 / 3.1;

    object-fit: cover;
}


/* =========================================================
   FLOATING RATING
========================================================= */

.hero-visual .float-tag {
    position: absolute;

    bottom: -18px;
    left: -22px;

    background: var(--white);

    border-radius: 12px;

    padding: 14px 18px;

    box-shadow: var(--shadow);

    display: flex;
    align-items: center;

    gap: 10px;
}

.hero-visual .float-tag .num {
    font-family: 'Poppins';

    font-weight: 800;

    font-size: 22px;

    color: var(--yellow-deep);

    white-space: nowrap;
}

.hero-visual .float-tag .lbl {
    font-size: 12px;

    color: var(--text-muted);

    max-width: 110px;

    line-height: 1.3;
}


/* =========================================================
   SLIDER CONTROLS
========================================================= */

.hero-slider-controls {
    position: absolute;

    left: 50%;
    bottom: 120px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 14px;

    z-index: 10;
}

.hero-prev,
.hero-next {
    width: 38px;
    height: 38px;

    border: 1px solid rgba(255, 199, 44, 0.4);

    background: rgba(255, 255, 255, 0.08);

    color: var(--white);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--yellow);
    color: var(--navy);
}


.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.4);

    cursor: pointer;

    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 26px;
    border-radius: 10px;

    background: var(--yellow);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .hero {
        padding: 60px 0 120px;
    }

    .hero-slides {
        min-height: 850px;
    }

    .hero .container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1 {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy p {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-visual {
        max-width: 650px;
        width: 100%;

        margin: 0 auto;
    }

    .hero-slider-controls {
        bottom: 120px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .hero {
        padding: 45px 0 105px;
    }

    .hero-slides {
        min-height: 750px;
    }

    .hero .container {
        padding-left: 20px;
        padding-right: 20px;

        gap: 35px;
    }

    .hero-copy h1 {
        font-size: 32px;
        line-height: 1.15;

        margin-top: 12px;
    }

    .hero-copy p {
        font-size: 15px;
        line-height: 1.6;

        margin-bottom: 22px;
    }

    .hero-copy .eyebrow {
        font-size: 12px;
    }

    .badge-chip {
        padding: 9px 13px;
        font-size: 13px;
    }

    .badge-chip .dot {
        width: 28px;
        height: 28px;
    }

    .hero-visual .frame {
        padding: 6px;
        border-radius: 15px;
    }

    .hero-visual img {
        border-radius: 10px;
        aspect-ratio: 4 / 3;
    }

    .hero-visual .float-tag {
        left: 10px;
        bottom: -18px;

        padding: 10px 12px;
    }

    .hero-visual .float-tag .num {
        font-size: 18px;
    }

    .hero-visual .float-tag .lbl {
        font-size: 10px;
    }

    .hero-slider-controls {
        bottom: 120px;
    }

}

/* ---------- Lead form card ---------- */
.lead-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 46px 50px;
    margin-top: -96px;
    position: relative;
    z-index: 5;
    border-top: 6px solid var(--yellow);
}

.lead-card-head {
    text-align: center;
    margin-bottom: 30px;
}

.lead-card-head h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.lead-card-head p {
    color: var(--text-muted);
    font-size: 15.5px;
}

.lead-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    border: 1.5px solid #E4DCC4;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14.5px;
    font-family: inherit;
    background: var(--cream);
    transition: border-color .15s ease;
}

.field:focus {
    outline: none;
    border-color: var(--yellow-deep);
    background: var(--white);
}

.lead-form .submit-cell {
    display: flex;
}

.lead-form .submit-cell .hw-btn {
    width: 100%;
}

.consent {
    grid-column: 1/-1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.consent input {
    margin-top: 3px;
    accent-color: var(--yellow-deep);
}

.consent a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- Sections generic ---------- */
section {
    padding: 88px 0;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 54px;
}

.section-head h2 {
    font-size: 34px;
    margin: 14px 0 12px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ---------- Why choose grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14.5px;
}

/* ---------- Services carousel ---------- */
.services {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 46px, transparent 46px 92px);
}

.services .section-head p {
    color: #C9D6EC;
}

.services .section-head h2 {
    color: var(--white);
}

.services .eyebrow {
    color: var(--yellow);
}

.service-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card .tag {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    background: linear-gradient(0deg, rgba(14, 42, 82, 0.92), transparent 90%);
    color: var(--white);
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 17px;
}

.service-card .tag span {
    display: block;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 13px;
    color: var(--yellow);
    margin-top: 4px;
}

/* ---------- Testimonials ---------- */
.testimonials .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.story-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.story-media {
    /* height: 340px; */
    aspect-ratio: 16/10;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-media iframe,
.story-media video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
}

.story-media .play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-media .play span {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-media .play svg {
    width: 20px;
    height: 20px;
    fill: var(--navy);
    margin-left: 3px;
}

.story-body {
    padding: 22px 26px;
}

.story-body h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.story-body p {
    color: var(--text-muted);
    font-size: 14.5px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--yellow-deep), var(--yellow));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(14, 42, 82, 0.05) 0 40px, transparent 40px 80px);
}

.cta-banner .container {
    position: relative;
}

.cta-banner h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-banner p {
    color: #4B3A00;
    font-size: 16px;
    margin-bottom: 28px;
    opacity: .85;
}

.cta-banner .hw-btn-primary {
    background: var(--navy);
    color: var(--white);
}

.cta-banner .hw-btn-primary:hover {
    box-shadow: 0 10px 22px -8px rgba(14, 42, 82, 0.5);
}

/* ---------- FAQ ---------- */
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 16.5px;
    color: var(--navy);
}

.faq-q .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--yellow-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .25s ease;
}

.faq-q .icon svg {
    width: 13px;
    height: 13px;
    stroke: var(--navy-2);
}

.faq-item.open .icon {
    transform: rotate(45deg);
    background: var(--yellow);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-a p {
    padding-top: 14px;
    color: var(--text-muted);
    font-size: 15px;
    max-width: 800px;
}

.faq-item.open .faq-a {
    max-height: 200px;
}

/* ---------- Newsletter ---------- */
.newsletter {
    background: var(--white);
}

.newsletter-card {
    background: linear-gradient(120deg, var(--navy), var(--navy-2));
    border-radius: 20px;
    padding: 44px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 199, 44, 0.25), transparent 70%);
}

.newsletter-copy {
    position: relative;
    max-width: 380px;
}

.newsletter-copy h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 8px;
}

.newsletter-copy p {
    color: #C9D6EC;
    font-size: 14.5px;
}

.newsletter-form {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 14px 18px;
    border-radius: 9px;
    border: none;
    min-width: 260px;
    font-size: 14.5px;
    font-family: inherit;
}

/* ---------- Footer ---------- */
footer {
    background: var(--navy);
    color: #B9C6DE;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-grid h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 18px;
    font-family: 'Poppins';
    font-weight: 600;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 11px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--yellow);
}

.footer-about p {
    font-size: 14px;
    margin: 16px 0 20px;
    max-width: 280px;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-link {
    display: none;
}

.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-row a:hover {
    background: var(--yellow);
    color: var(--navy);
}

.social-row svg {
    width: 16px;
    height: 16px;
}

.social-link {
    display: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #8FA0C0;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width:960px) {
    nav {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .lead-form {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials .container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .story-media {
        height: 250px;
    }
}

@media (max-width:600px) {

    .feature-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .lead-card {
        padding: 32px 22px;
    }

    .newsletter-card {
        padding: 32px 26px;
    }

    .hero {
        padding-bottom: 190px;
    }
}


/* ================================
   SCROLL TO TOP BUTTON
================================ */

.scroll-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: var(--yellow);
    color: var(--navy);

    font-size: 20px;

    cursor: pointer;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: all 0.3s ease;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--yellow-deep);
    transform: translateY(-4px);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}


/* Mobile */

@media (max-width: 575.98px) {

    .scroll-to-top {
        right: 15px;
        bottom: 15px;

        width: 44px;
        height: 44px;

        font-size: 18px;
    }

}