/* RIGHT */
.site-header,
.site-header *{
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================
        BANNER / HERO
    ========================= */
.hero-section {
    position: relative;
    padding: 6rem 0 0;
    overflow: hidden;
    isolation: isolate;
    height: auto;
    display: flex;
    align-items: stretch;
    background-color: var(--navy-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
}

.hero-content {
    min-width: 0;
    max-width: 720px;
    /* keeps the text spacing from the bottom as before */
    padding-bottom: 7rem;
}

.hero-visual {
    /* pinned to the right and bottom edges of the banner (no gap on either side) */
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(46%, 820px);
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    line-height: 0;
}

.hero-visual img {
    width: 100%;
    max-width: 780px;
    height: auto;
    object-fit: contain;
    display: block;
    vertical-align: bottom;
}

.hero-tag {
    display: inline-block;
    background: rgba(192, 39, 45, .18);
    color: #f08083;
    border: 1px solid rgba(240, 128, 131, .3);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-section h1 {
    font-weight: 400;
    font-size: 4.2rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

.hero-section h1 em {
    color: #f08083;
    font-style: normal;
}

.hero-section h2 {
    color: rgba(255, 255, 255, .82);
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1.45;
    margin-bottom: 20px;
    max-width: 570px;
}

.hero-text {
    color: rgba(255, 255, 255, .68);
    font-size: 1.6rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 21px;
    border-radius: 0px;
    border: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all .2s ease;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: #a92025;
    color: #fff;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .25);
    color: rgba(255, 255, 255, .8);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

/* =========================
        STATS
    ========================= */
.stats {
    background: var(--grey-bg);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    min-height: 90px;
    padding: 17px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 27px;
    line-height: 1;
    color: var(--navy);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

/* =========================
        COMMON SECTION
    ========================= */
.section {
    padding: 65px 0;
}

.section-heading {
    /* text-align: center; */
    margin-bottom: 35px;
}

.eyebrow {
    color: var(--red);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    color: var(--navy);
    font-weight: 400;
    font-size: 3.75rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.section-description {
    /* max-width: 680px; */
    margin: 0;
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1.75;
}

/* =========================
        INTRO
    ========================= */
.intro-section {
    padding-bottom: 60px;
}

.intro-section h2 {
    margin-bottom: 0px;
}

.intro-box {
    /* width: 80%; */
    margin: 0 auto;
    background: #fff;
    padding: 0 0 3rem;
    /* text-align: center; */
}

.intro-box p {
    color: #374151;
    font-size: 1.75rem;
    line-height: 1.6;
}

.intro-box p+p {
    margin-top: 10px;
}


/* AEO answer highlights */
.answer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 25px;
}

.answer-card {
    border: 1px solid #C0272D;
    background: #fff;
    padding: 18px;
}

.answer-card h3 {
    color: var(--navy);
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
}

.answer-card p {
    color: var(--muted);
    font-size: 1.4rem;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .answer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
        PRODUCTS
    ========================= */
.products-section {
    background: var(--grey-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.product-card {
    background: #fff;
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #b8c0ce;
    box-shadow: 0 8px 22px rgba(26, 43, 74, .07);
}

.product-image {
    border: 1px solid var(--border);
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 13px;
}

.product-image img {
    width: auto;
}

.product-card h3 {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 5px;
}

.product-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

/* =========================
    TESTIMONIAL CAROUSEL
========================= */
.testimonials-section {
    padding: 55px 0;
}

.testimonial-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform .45s ease;
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 5px 2px 10px;
}

.testimonial-card {
    min-height: 145px;
    border: 1px solid var(--border);
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
}

.testimonial-picture {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.testimonial-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card p {
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1.45;
}

.testimonial-name {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 8px;
}

.testimonial-role {
    color: var(--muted);
    font-size: 1.5rem;
    margin-top: 2px;
}

.testimonial-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    border-radius: 50%;
}

.carousel-btn:hover {
    border-color: var(--navy);
}

.carousel-dots {
    display: flex;
    gap: 5px;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd0d9;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.carousel-dot.active {
    background: var(--red);
}

/* =========================
        PRINCIPALS
    ========================= */
.principals-section {
    background: var(--grey-bg);
}

.principals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.principal-card {
    /* min-height: 95px; */
    border: 1px solid var(--border);
    background: #fff;
    padding: 14px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.principal-logo {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 7px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
}

/* =========================
        CONTACT
    ========================= */
.contact-section {
    padding: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 8rem;
    align-items: stretch;
}

.contact-info {
    padding: 7rem 0;
}

.contact-info h2 {
    color: var(--navy);
    font-weight: 400;
    font-size: 3.75rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1.5;
}

.contact-details {
    margin-top: 22px;
}

.contact-block {
    margin-bottom: 16px;
}

.contact-block:last-child {
    margin-bottom: 0;
}

.contact-label {
    color: var(--navy);
    font-size: 1.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.contact-value {
    color: #374151;
    font-size: 1.55rem;
    line-height: 1.7;
}

.contact-value a {
    color: #374151;
    transition: color .2s ease;
}

.contact-value a:hover {
    color: var(--red);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 30px 0;
}

.contact-actions .btn {
    width: 100%;
    text-align: center;
}

/* FAQ */
.faq-section {
    background: var(--navy);
}

.faq-section .section-title {
    color: #fff;
}

.faq-section .section-description {
    color: rgba(255, 255, 255, .62);
}

.faq-list {
    /* width: min(900px, 100%); */
    margin: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 19px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: 500;
}

.faq-question:hover {
    color: #f08083;
}

.faq-arrow {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    transition: transform .25s ease, border-color .25s ease;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    border-color: var(--red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-answer p {
    color: rgba(255, 255, 255, .62);
    font-size: 1.6rem;
    line-height: 1.75;
    padding: 0 45px 19px 4px;
}

@media (max-width:767px) {
    .faq-question {
        padding: 17px 0;
        font-size: 13px;
        gap: 12px;
    }

    .faq-answer p {
        padding: 0 36px 17px 0;
        font-size: 12px;
    }
}

/* =========================
        RESPONSIVE
    ========================= */
@media (max-width: 1199px) {
    .hero-grid {
        gap: 2.5rem;
    }

    .hero-section h1 {
        font-size: 3.6rem;
    }
}

@media (max-width: 991px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .main-nav {
        gap: 17px;
    }

    .hero-section {
        padding: 5rem 0 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .hero-content {
        max-width: 100%;
        padding-bottom: 0;
    }

    .hero-visual {
        position: static;
        width: 100%;
        justify-content: center;
        align-self: auto;
    }

    .hero-visual img {
        max-width: 640px;
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principals-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 260px;
    }

}

@media (max-width: 767px) {
    .container {
        width: calc(100% - 28px);
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(100% + 1px);
        background: #fff;
        border: 1px solid var(--border);
        box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        display: block;
        padding: 12px 16px;
    }

    .main-nav a:hover {
        background: var(--grey-bg);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-section {
        min-height: 0;
        padding: 3rem 0 0;
    }

    .hero-grid {
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: 3.4rem;
    }

    .hero-section h2 {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .hero-visual img {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .section {
        padding: 48px 0;
    }

    .intro-box {
        padding: 0 0 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-card {
        min-height: 190px;
    }

    .testimonial-wrap {
        width: 100%;
        overflow: hidden;
    }

    .testimonial-track {
        width: 100%;
    }

    /*
    JavaScript converts each testimonial into
    its own slide on mobile.
*/
    .testimonial-slide {
        flex: 0 0 100%;
        width: 100%;
        display: block;
        padding: 5px 0 10px;
    }

    .testimonial-card {
        width: 100%;
        min-height: 255px;
        padding: 28px 22px;
    }

    .testimonial-picture {
        width: 95px;
        height: 95px;
        margin-bottom: 12px;
    }

    .testimonial-card p {
        font-size: 15px;
        line-height: 1.45;
        max-width: 310px;
    }

    .testimonial-name {
        font-size: 15px;
        margin-top: 10px;
    }

    .testimonial-role {
        font-size: 15px;
        margin-top: 2px;
    }

    .testimonial-carousel-controls {
        margin-top: 14px;
    }

    .principals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info {
        padding: 42px 0 20px;
    }

    .contact-actions {
        padding: 10px 0 42px;
    }

}

@media (max-width: 420px) {
    .brand-name {
        font-size: 13px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 24px;
    }

    .principals-grid {
        gap: 9px;
    }

    .principal-card {
        min-height: 88px;
    }
}