/* ── Font Face ── */

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-400-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ── Reset ── */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: var(--clr-dark);
    background-color: var(--clr-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}


/* ── Typography ── */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
}

strong {
    font-weight: var(--fw-semibold);
}


/* ── Container ── */

.container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}

@media (max-width: 1024px) {
    :root {
        --container-px: 24px;
    }
}

@media (max-width: 767px) {
    :root {
        --container-px: 20px;
    }
}


/* ── Section Label ── */

.section-label {
    font-size: var(--fs-label);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    margin-bottom: 16px;
}


/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.04em;
    padding: 14px 28px;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn--primary {
    background-color: var(--clr-green);
    color: var(--clr-white);
}

.btn--primary:hover {
    background-color: var(--clr-green-hover);
}

.btn--white {
    background-color: var(--clr-white);
    color: var(--clr-green);
}

.btn--white:hover {
    background-color: var(--clr-neutral);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--border-white-25);
    color: var(--clr-white);
    font-weight: var(--fw-medium);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn--link {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-weight: var(--fw-medium);
    text-decoration: underline;
    text-underline-offset: 4px;
    padding-left: 16px;
    padding-right: 16px;
}

.btn--link:hover {
    color: var(--clr-white);
}

.btn--sm {
    font-size: 12px;
    font-weight: var(--fw-semibold);
    padding: 10px 20px;
}

.btn--outline-red {
    background: transparent;
    border: 1px solid var(--clr-red);
    color: var(--clr-red);
    font-size: 12px;
}

.btn--outline-red:hover {
    background-color: var(--clr-red);
    color: var(--clr-white);
}

.btn--red {
    background-color: var(--clr-red);
    border: 1px solid var(--clr-red);
    color: var(--clr-white);
    font-size: 14px;
    padding: 14px 28px;
}

.btn--red:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.btn--dark {
    background-color: var(--clr-dark);
    border: 1px solid var(--clr-dark);
    color: var(--clr-white);
}

.btn--dark:hover {
    background-color: #3a3d3b;
    border-color: #3a3d3b;
}


/* ── Announcement Bar ── */

.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px var(--container-px);
    font-size: 14px;
    font-weight: var(--fw-medium);
    position: sticky;
    top: 0;
    z-index: 51;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

/* Slide-up transition state */
.announcement-bar.is-dismissing {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

/* Fully hidden after transition */
.announcement-bar.is-dismissed,
.ann-dismissed .announcement-bar {
    display: none !important;
}

.announcement-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.announcement-bar-text {
    line-height: 1.4;
}

.announcement-bar-link {
    font-weight: var(--fw-semibold);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.announcement-bar-link:hover {
    opacity: 0.85;
}

.announcement-bar-close {
    position: absolute;
    right: var(--container-px);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: opacity var(--transition-fast);
}

.announcement-bar-close:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .announcement-bar {
        font-size: 12px;
        padding: 8px 40px 8px var(--container-px);
    }

    .announcement-bar-inner {
        flex-direction: column;
        gap: 4px;
    }
}


/* ── Header ── */

#site-header {
    z-index: 50;
}

/* Row 1: Top strip */
.header-top {
    background: var(--clr-green);
    padding: 14px 0;
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
#site-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

#site-header .logo-bars {
    display: flex;
    gap: 2px;
}

#site-header .logo-bar {
    width: 4px;
    height: 24px;
}

#site-header .logo-bar--green {
    background-color: var(--clr-white);
}

#site-header .logo-bar--red {
    background-color: var(--clr-red);
}

#site-header .logo-text {
    font-size: 18px;
    font-weight: var(--fw-bold);
    color: var(--clr-white);
    letter-spacing: -0.03em;
}

#site-header .logo img {
    max-height: 44px;
    width: auto;
}

/* Header actions (CTA + hamburger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

#site-header .header-cta {
    display: none;
    background: var(--clr-dark);
    color: var(--clr-white);
    border: none;
}

#site-header .header-cta:hover {
    background: var(--clr-white);
    color: var(--clr-dark);
}

#site-header .menu-toggle {
    padding: 8px;
    color: var(--clr-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

#site-header .menu-toggle i {
    font-size: 18px;
}

/* Nav — hidden on mobile, shown inline on desktop */
.header-nav {
    display: none;
    align-items: center;
    gap: 28px;
}

.header-nav > li {
    list-style: none;
    position: relative;
}

.header-nav > li > a {
    display: block;
    font-size: 15px;
    font-weight: var(--fw-medium);
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 0;
    transition: color var(--transition-fast);
}

.header-nav > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 5px;
    vertical-align: 2px;
    transition: transform 0.2s ease;
}

.header-nav > li.menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
}

.header-nav > li > a:hover,
.header-nav > li.current-menu-item > a {
    color: var(--clr-white);
}

/* Dropdown */
.header-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;
    background-color: var(--clr-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 100;
    list-style: none;
    box-shadow: 0 12px 36px rgba(0,0,0,.1);
}

.header-nav > li:hover > .sub-menu {
    display: block;
}

.header-nav .sub-menu li {
    list-style: none;
}

.header-nav .sub-menu a {
    display: block;
    padding: 8px 20px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--clr-secondary);
    white-space: nowrap;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.header-nav .sub-menu a:hover {
    color: var(--clr-green);
    background: var(--clr-neutral);
}

/* Mobile overlay menu */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--clr-white);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition-base), visibility var(--transition-base);
}

.mobile-overlay.is-open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-px);
    height: 64px;
    background: var(--clr-green);
    flex-shrink: 0;
}

.mobile-overlay-logo-text {
    font-size: 22px;
    font-weight: var(--fw-bold);
    color: var(--clr-white);
    text-decoration: none;
}

#mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--clr-dark);
}

.mobile-overlay-nav {
    flex: 1;
    padding: 16px 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list > li {
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list > li > a {
    display: block;
    padding: 16px 28px;
    font-family: var(--ff-body);
    font-size: 16px;
    font-weight: var(--fw-semibold);
    color: var(--clr-dark);
    text-decoration: none;
}

.mobile-nav-list > li > a:hover {
    color: var(--clr-green);
}

/* Parent item — link + toggle side by side */
.mobile-nav-list > li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
}

.mobile-nav-list > li.menu-item-has-children > a {
    flex: 1;
}

.mobile-submenu-toggle {
    width: 52px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border-light);
    color: var(--clr-secondary);
    font-size: 14px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-submenu-toggle:hover {
    background: var(--clr-neutral);
}

.mobile-submenu-toggle svg {
    transition: transform var(--transition-base);
}

.mobile-nav-list li.accordion-open > .mobile-submenu-toggle {
    background: var(--clr-green);
    border-color: var(--clr-green);
    color: var(--clr-white);
}

.mobile-nav-list li.accordion-open > .mobile-submenu-toggle svg {
    transform: rotate(180deg);
}

/* Sub-menu accordion */
.mobile-nav-list .sub-menu {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: var(--clr-neutral);
}

.mobile-nav-list li.accordion-open > .sub-menu {
    max-height: 500px;
}

.mobile-nav-list .sub-menu li a {
    display: block;
    padding: 12px 28px 12px 44px;
    font-family: var(--ff-body);
    font-size: 15px;
    font-weight: var(--fw-medium);
    color: var(--clr-secondary);
    text-decoration: none;
    border-top: 1px solid var(--border-light);
}

.mobile-nav-list .sub-menu li a:hover {
    color: var(--clr-green);
}

/* Hide dropdown arrow in mobile */
.mobile-nav-list .menu-item-has-children > a::after {
    display: none;
}

/* Mobile CTA */
.mobile-overlay-footer {
    padding: 20px 28px 32px;
}

.mobile-overlay-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: var(--fw-semibold);
}


/* ── Footer ── */

#site-footer {
    background-color: var(--clr-red);
    border-top: none;
    padding: 48px 0 0;
    color: var(--clr-white);
}

#site-footer .container {
    max-width: none;
}

#site-footer .footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

#site-footer .footer-brand {
    max-width: 280px;
}

#site-footer .footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

#site-footer .footer-brand .footer-logo img {
    height: 54px;
    width: auto;
}

#site-footer .footer-contact-info {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#site-footer .footer-contact-info a,
#site-footer .footer-contact-info .footer-address {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

#site-footer .footer-contact-info a:hover {
    color: var(--clr-white);
}

#site-footer .footer-brand p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-xs);
    line-height: 1.65;
    max-width: 260px;
    margin-bottom: 24px;
}

#site-footer .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

#site-footer .footer-social {
    display: flex;
    gap: 12px;
}

#site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--clr-white);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

#site-footer .footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

#site-footer .footer-col h4 {
    font-size: 12px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--clr-white);
    margin-bottom: 16px;
}

#site-footer .footer-col ul,
#site-footer .footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#site-footer .footer-col a {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.8);
}

#site-footer .footer-col a:hover {
    color: var(--clr-white);
}

#site-footer .footer-col a svg,
#site-footer .footer-address svg {
    flex-shrink: 0;
    margin-right: 8px;
    vertical-align: -2px;
}

#site-footer .footer-address {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

#site-footer .footer-address svg {
    margin-top: 3px;
}

#site-footer .footer-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--clr-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
}

#site-footer .footer-reviews-link:hover {
    border-bottom-color: var(--clr-white);
}

#site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

#site-footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}


/* ── Animations ── */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

/* ── 768px — Tablet ── */

@media (min-width: 768px) {

    /* Header */
    /*#site-header {*/
    /*    padding: 18px 0;*/
    /*}*/

    #site-header.scrolled {
        padding: 12px 0;
    }

    #site-header .logo-bar {
        height: 28px;
    }

    #site-header .logo-text {
        font-size: 20px;
    }

    #site-header .logo img {
        max-height: 48px;
    }

    #site-header .header-cta {
        display: inline-flex;
    }

    /* Footer */
    #site-footer {
        padding: 56px 0 0;
    }

    #site-footer .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    #site-footer .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}


/* ── 1024px — Desktop ── */

@media (min-width: 1024px) {

    /* Header */
    /*.header-top {*/
    /*    padding: 18px 0;*/
    /*}*/

    #site-header .logo img {
        max-height: 52px;
    }

    #site-header .header-cta {
        display: inline-flex;
    }

    .header-nav {
        display: flex;
    }

    #site-header .menu-toggle {
        display: none;
    }

    /* Footer */
    #site-footer {
        padding: 64px 0 0;
    }

    #site-footer .footer-grid {
        grid-template-columns: 3fr 9fr;
        margin-bottom: 56px;
    }

    #site-footer .footer-bottom {
        padding: 24px 0;
    }
}


/* ── Scroll to Top FAB ── */

.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--clr-green);
    color: var(--clr-white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, bottom 0.3s ease;
}

.scroll-to-top:hover {
    background: var(--clr-green-hover);
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
