/* =========================================================
   Global stylesheet
   Shared by header.php / footer.php and every page under
   /marketplace/module/*. Keep this file to reset + shared
   chrome (header, footer, banner, generic trust sections)
   only. Anything specific to a single module's markup
   belongs in that module's own index.php, not here.
   ========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: #1F2937;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

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

/* ---------- Header ---------- */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid #E5E7EB;
    max-width: 1200px;
    margin: 0 auto;
}

.site-header__logo img {
    display: block;
    height: 36px;
    width: auto;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-header__home {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
}

.site-header__home:hover {
    color: #E8610A;
}

.mega-menu {
    position: relative;
}

.mega-menu__trigger {
    background: none;
    border: none;
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

.mega-menu__trigger:hover,
.mega-menu__trigger:focus-visible {
    color: #E8610A;
}

.mega-menu__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
    z-index: 100;
}

.mega-menu:hover .mega-menu__dropdown,
.mega-menu__trigger:focus-visible + .mega-menu__dropdown {
    opacity: 1;
    visibility: visible;
}

.mega-menu__dropdown a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: #374151;
    white-space: nowrap;
    text-decoration: none;
}

.mega-menu__dropdown a:hover {
    background: #F9FAFB;
    color: #E8610A;
}

.mega-menu__soon {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    color: #9CA3AF;
    font-style: italic;
}

.site-header__cta {
    background: #E8610A;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.module-switch {
    text-align: center;
    background: #EAF1F8;
    border-bottom: 1px solid #D9E2EC;
    padding: 8px 16px;
}

.module-switch__link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1B4F72;
    text-decoration: none;
}

.module-switch__link:hover {
    color: #E8610A;
}

@media (max-width: 767px) {
    .site-header__nav {
        display: none;
    }
}

/* ---------- Generic logo strip ---------- */
.logo-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid #E5E7EB;
}

.logo-strip__label {
    font-size: 12px;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

.logo-strip__marks {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.logo-strip__marks span {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #9CA3AF;
}

/* ---------- Testimonial ---------- */
.testimonial {
    background: #0B1F33;
    color: #FFFFFF;
    padding: 64px 32px;
}

.testimonial__wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial__quote {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 24px;
}

.testimonial__author {
    font-size: 14px;
    color: #9CB4C9;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: #E8610A;
    padding: 56px 32px;
    text-align: center;
}

.cta-band__heading {
    font-family: 'Barlow Condensed', sans-serif;
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 20px;
}

.cta-band__btn {
    display: inline-flex;
    background: #FFFFFF;
    color: #E8610A;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 40px 32px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid #E5E7EB;
}

.site-footer__copy {
    font-size: 13px;
    color: #9CA3AF;
}

.site-footer__links {
    display: flex;
    gap: 20px;
}

.site-footer__links a {
    font-size: 13px;
    color: #6B7280;
}

/* ---------- Module preview option labels ----------
   Used on marketplace/module/* pages to caption each
   style variant being showcased. Not part of any
   module's own markup/CSS. */
.option-label {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B7280;
}

.option-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #E8610A;
    transform: rotate(45deg);
}

.option-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.option-label:first-of-type {
    padding-top: 56px;
}