/* ===== CSS CUSTOM PROPERTIES (Design Tokens) ===== */
:root {
    /* Colors */
    --color-primary: #003834;
    --color-primary-light: #004d47;
    --color-primary-dark: #002825;
    --color-accent: #82a387;
    --color-accent-light: #a3bfa7;
    --color-accent-hover: #6b8c70;
    --color-secondary: #ffffff;
    --color-text: #797979;
    --color-text-dark: #333333;
    --color-text-light: #999999;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-card: rgba(133, 166, 166, 0.11);
    --color-border: #e0e0e0;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --color-gold: #82a387;
    --color-gold-hover: #6b8c70;
    --color-info: #17a2b8;

    /* Typography */
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;
    --line-height: 1.7;
    --line-height-tight: 1.3;

    /* Layout */
    --container-max: 1170px;
    --content-width: 760px;
    --sidebar-width: 380px;
    --gap: 30px;
    --header-height: 80px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-section: 64px;

    /* Cards */
    --card-radius: 15px;
    --card-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    --card-shadow-hover: 0 4px 15px rgba(0, 0, 0, 0.2);
    --card-padding: 24px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;

    /* Z-index */
    --z-header: 100;
    --z-dropdown: 200;
    --z-modal: 300;
    --z-overlay: 400;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: var(--line-height);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p { margin-bottom: var(--space-md); }

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.text-primary {
    color: var(--color-primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.section {
    padding: var(--space-section) 0;
}

.section-alt {
    background-color: var(--color-bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    margin-bottom: 0;
}

.section-link {
    color: var(--color-accent);
    font-weight: 500;
}

.section-title-center {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.no-results {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-text-light);
    font-size: var(--font-size-lg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-weight: 500;
    font-size: var(--font-size-sm);
    border-radius: 8px;
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.4;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    color: #fff;
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--color-accent-hover);
    color: #fff;
}

.btn-cta {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 24px;
}

.btn-cta:hover {
    background: var(--color-primary-light);
    color: #fff;
}

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(0, 56, 52, 0.4);
    backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
    background: rgba(0, 56, 52, 0.7);
    color: #fff;
    border-color: #fff;
}

.btn-gold {
    background: rgba(0, 56, 52, 0.6);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.btn-gold:hover {
    background: rgba(0, 56, 52, 0.85);
    color: #fff;
    border-color: #fff;
}

.text-gold {
    color: var(--color-accent);
}

.btn-sm {
    padding: 6px 16px;
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: 14px 32px;
    font-size: var(--font-size-base);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===== FORMS ===== */
.form-styled .form-group {
    margin-bottom: var(--space-lg);
}

.form-styled label {
    display: block;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

.form-styled .required {
    color: var(--color-danger);
}

.form-styled input[type="text"],
.form-styled input[type="email"],
.form-styled input[type="password"],
.form-styled input[type="number"],
.form-styled input[type="url"],
.form-styled input[type="date"],
.form-styled input[type="datetime-local"],
.form-styled textarea,
.form-styled select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
    background: #fff;
}

.form-styled input:focus,
.form-styled textarea:focus,
.form-styled select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 56, 52, 0.1);
}

.form-styled textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== ALERTS ===== */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== PROSE (Article Content) ===== */
.prose {
    font-size: var(--font-size-md);
    line-height: 1.8;
    color: var(--color-text-dark);
}

.prose h2 {
    margin-top: var(--space-2xl);
    font-size: var(--font-size-xl);
}

.prose h3 {
    margin-top: var(--space-xl);
    font-size: var(--font-size-lg);
}

.prose p {
    margin-bottom: var(--space-lg);
}

.prose ul,
.prose ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: var(--space-sm);
}

.prose img {
    border-radius: var(--card-radius);
    margin: var(--space-xl) 0;
}

.prose blockquote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-xl) 0;
    background: var(--color-bg-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.prose code {
    background: var(--color-bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.prose pre {
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-lg);
    border-radius: 8px;
    overflow-x: auto;
    margin: var(--space-xl) 0;
}

.prose a {
    color: var(--color-accent);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--color-primary);
}

.prose table {
    margin: var(--space-xl) 0;
}

.prose th,
.prose td {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    text-align: left;
}

.prose th {
    background: var(--color-bg-light);
    font-weight: 700;
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/*
 * Layout: [Logo ←]  [spacer]  [nav + | + actions →]
 *
 * Key rules:
 *  - header-inner uses align-items:center (vertically centers all zones)
 *  - main-nav gets margin-left:auto  → pushes it right toward actions
 *  - nav-list uses align-items:center so all <li>s share same midline
 *  - nav-link / nav-link-btn use PADDING (not height) for size,
 *    plus a full button/anchor reset, so both element types render identically
 */
.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-height);
}

/* Logo — left anchor */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 0;        /* removes inline baseline gap under the img */
}
.site-logo .logo-img {
    height: 34px;
    width: auto;
    display: block;
    vertical-align: middle;
}
.site-logo:hover .logo-img { opacity: 0.8; }

/* Nav — pushed right via margin-left:auto */
.main-nav {
    margin-left: auto;
    flex-shrink: 0;
}

/* Nav list — one horizontal row */
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

/* Each <li> is just a position anchor */
.nav-item { position: relative; }

/*
 * THE ONE NAV TOKEN — applied to both <a> and <button>.
 *
 * Why padding not height:
 *   height:36px on a <button> still allows the browser's UA stylesheet
 *   to add vertical padding/margin on top of it.  Symmetric padding
 *   forces the same computed height on every element type.
 *
 * Why -webkit-appearance + all margin/padding resets:
 *   <button> has UA-stylesheet padding/border we must zero out first.
 */
.nav-link,
.nav-link-btn {
    /* Reset — critical for <button> */
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    padding: 9px 13px;    /* ← padding-based height, not height: */
    border: none;
    outline: none;
    box-sizing: border-box;

    /* Layout */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;

    /* Typography */
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    color: #444;
    text-decoration: none;

    /* Visual */
    background: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    -webkit-font-smoothing: antialiased;
}
.nav-link:hover,
.nav-link-btn:hover,
.nav-link.active,
.nav-link-btn.active {
    background: #f0f2f1;
    color: var(--color-primary);
}

/* "Start Here" — bold, primary color, NO background by default */
.nav-link-start {
    font-weight: 600;
    color: var(--color-primary);
}
.nav-link-start:hover,
.nav-link-start.active {
    background: rgba(0,56,52,0.08);
    color: var(--color-primary);
}

/* "🔥 Deals" — warm accent, same padding as everything else */
.nav-link-deals {
    font-weight: 600;
    color: #b84f00;
}
.nav-link-deals:hover,
.nav-link-deals.active {
    background: #fff4ec;
    color: #b84f00;
}

/* Chevron inside mega-menu triggers */
.nav-chevron {
    flex-shrink: 0;
    color: #bbb;
    transition: transform 0.18s ease, color 0.18s;
}
.nav-mega-item.mega-open > .nav-link-btn .nav-chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

/* Actions zone — sits right after nav, with a separator */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid #e8e8e8;
}

/* Icon button (search) */
.header-icon-btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 6px;
    background: none;
    color: #555;
    cursor: pointer;
    flex-shrink: 0;
    vertical-align: middle;
    box-sizing: border-box;
    transition: background 0.14s, color 0.14s;
}
.header-icon-btn:hover { background: #f0f2f1; color: var(--color-primary); }

.header-cta-btn { white-space: nowrap; }

/* Hamburger — hidden on desktop */
.nav-hamburger {
    -webkit-appearance: none;
    appearance: none;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    padding: 7px;
    margin: 0;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
}
.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #444;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-hamburger.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   MEGA MENU PANELS
   ================================================ */
.mega-panel {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--color-primary);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    z-index: calc(var(--z-dropdown) + 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    pointer-events: none;
}
.nav-mega-item.mega-open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Grid layouts */
.mega-grid {
    display: grid;
    padding: 28px 0 30px;
}
.mega-grid-reviews { grid-template-columns: 2fr 1.2fr 1.2fr; }
.mega-grid-tools   { grid-template-columns: 1fr 1fr 1fr 0.75fr; }

/* Column */
.mega-col {
    padding: 0 24px;
}
.mega-col-sep {
    border-left: 1px solid #eee;
}
.mega-col-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #aaa;
    margin: 0 0 12px;
}

/* Category rows (icon + name + subtitle) */
.mega-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
}
.mega-cat-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.12s;
}
.mega-cat-link:hover { background: #f1f3f2; }
.mci { font-size: 1.15rem; flex-shrink: 0; }
.mct strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1c1c1c;
    line-height: 1.25;
}
.mct small {
    display: block;
    font-size: 0.7rem;
    color: #aaa;
    line-height: 1.3;
}

/* Rated/list links (shared style) */
.mega-rated-list,
.mega-list,
.mega-tools-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.mega-rated-link,
.mega-list a,
.mega-tools-list a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    transition: background 0.12s, color 0.12s;
}
.mega-rated-link:hover,
.mega-list a:hover,
.mega-tools-list a:hover {
    background: #f1f3f2;
    color: var(--color-primary);
}

/* Score badge */
.mega-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 20px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

/* "View all" footer link */
.mega-view-all {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.12s;
}
.mega-view-all:hover { background: #f1f3f2; }

/* Promo box (tools mega, last col) */
.mega-promo-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7faf8;
    border-radius: 0 0 0 0;
}
.mega-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px 20px;
}
.mega-promo-icon { font-size: 2.2rem; }
.mega-promo strong { font-size: 0.95rem; color: var(--color-primary); display: block; }
.mega-promo p {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
    max-width: 150px;
}

/* Backdrop */
.mega-backdrop {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: rgba(0,0,0,0.28);
    z-index: var(--z-dropdown);
    pointer-events: none;
}
.mega-backdrop.active {
    display: block;
    pointer-events: auto;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: var(--space-2xl) 0 var(--space-xl);
    margin-top: var(--space-section);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    grid-column: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
    transition: color var(--transition-fast);
}

.footer-logo:hover {
    color: var(--color-accent);
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-secondary);
}

.contact-item svg {
    color: #555;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: #444;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: #003834;
}

.contact-item span {
    color: #444;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #e8ebe8;
    border-radius: 50%;
    color: #1a1a1a;
    transition: all 0.25s ease;
    border: 1px solid #d0d0d0;
}
.social-link svg,
.social-link svg path,
.social-link svg rect {
    fill: #1a1a1a;
    transition: fill 0.25s ease;
}

.social-link:hover {
    background-color: #003834;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 56, 52, 0.3);
    border-color: #003834;
}
.social-link:hover svg,
.social-link:hover svg path,
.social-link:hover svg rect {
    fill: #ffffff;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-links {
    grid-column: span 1;
}

.footer-links h4 {
    color: var(--color-secondary);
    font-size: var(--font-size-md);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-newsletter {
    grid-column: 4;
}

.footer-newsletter h4 {
    color: var(--color-secondary);
    font-size: var(--font-size-md);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
}

.newsletter-form-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.newsletter-form-footer input {
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-size: var(--font-size-sm);
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
}

.newsletter-form-footer input::placeholder {
    color: var(--color-text-light);
}

.newsletter-form-footer button {
    padding: 10px 14px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form-footer button:hover {
    background-color: var(--color-accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    .footer-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer-brand, .footer-newsletter { grid-column: 1; }
    .header-inner { height: 60px; }
}

/* ================================================
   MOBILE NAV  (≤ 960px)
   ================================================ */
@media (max-width: 960px) {

    /* Slide-down full-screen overlay */
    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0; bottom: 0;
        background: #002e2a;  /* slightly lighter than primary for readability */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: calc(var(--z-header) - 1);
    }
    .main-nav.active { display: block; }

    /* Show hamburger, hide desktop CTA */
    .nav-hamburger { display: flex; }
    .header-cta-btn { display: none; }

    /* Remove the border separator on actions since it's just search + hamburger */
    .header-actions {
        border-left: none;
        padding-left: 0;
        margin-left: auto;
        gap: 8px;
    }

    /* Vertical stacked list */
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin: 0;
    }

    /* Each item: full-width, divider on bottom */
    .nav-item {
        display: block;  /* override flex from desktop */
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-item:last-child { border-bottom: none; }

    /* All link/button tokens reset for mobile */
    .nav-link,
    .nav-link-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
        padding: 16px 24px;
        border-radius: 0;
        font-size: 1rem;
        font-weight: 500;
        color: rgba(255,255,255,0.82);
        background: none !important;
        box-sizing: border-box;
    }
    .nav-link:hover, .nav-link-btn:hover,
    .nav-link.active, .nav-link-btn.active {
        color: #fff;
        background: rgba(255,255,255,0.04) !important;
    }

    /* Coloured overrides on mobile */
    .nav-link-start {
        color: #6dba77 !important;
        font-weight: 600;
        background: none !important;
    }
    .nav-link-deals {
        color: #f0a050 !important;
        background: none !important;
    }
    .nav-chevron { color: rgba(255,255,255,0.3); }

    /* Mega panel → accordion on mobile */
    .mega-panel {
        position: static !important;
        top: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border: none !important;
        border-top: 1px solid rgba(255,255,255,0.06) !important;
        box-shadow: none !important;
        background: rgba(0,0,0,0.2) !important;
        pointer-events: auto !important;
        display: none;
    }
    .nav-mega-item.mega-open .mega-panel { display: block; }

    /* Grid columns → single column */
    .mega-grid {
        display: block !important;
        padding: 0 !important;
    }
    .mega-col {
        padding: 12px 24px;
        border-left: none !important;
        background: none !important;
    }
    .mega-col-sep { border-top: 1px solid rgba(255,255,255,0.05); }
    .mega-col-label {
        color: rgba(255,255,255,0.35);
        font-size: 0.65rem;
        margin-bottom: 6px;
    }

    /* Flatten 2-col category grid to 1-col */
    .mega-cat-list { display: block !important; }

    /* All mega links: simple rows */
    .mega-cat-link,
    .mega-rated-link,
    .mega-list a,
    .mega-tools-list a {
        display: flex !important;
        align-items: center;
        padding: 11px 0 !important;
        border-radius: 0 !important;
        background: none !important;
        color: rgba(255,255,255,0.72) !important;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        font-size: 0.9rem;
    }
    .mega-cat-link:last-child,
    .mega-tools-list li:last-child a { border-bottom: none; }
    .mega-cat-link:hover, .mega-rated-link:hover,
    .mega-list a:hover, .mega-tools-list a:hover {
        color: #fff !important;
        background: none !important;
    }
    .mct strong { color: rgba(255,255,255,0.85); font-size: 0.875rem; }
    .mct small  { color: rgba(255,255,255,0.38); font-size: 0.72rem; }
    .mega-score { background: rgba(255,255,255,0.15); color: #fff; }
    .mega-view-all { color: #6dba77; margin-top: 8px; padding: 0; }

    /* Hide promo box and backdrop on mobile */
    .mega-promo-col,
    .mega-backdrop { display: none !important; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .site-logo .logo-name {
        display: none;
    }

    .header-actions {
        gap: var(--space-sm);
    }

    .footer-grid {
        gap: var(--space-lg);
    }

    .footer-links h4,
    .footer-newsletter h4,
    .footer-social {
        font-size: var(--font-size-sm);
    }
}

/* ===== IMAGE FALLBACK STYLES ===== */
.card-image,
.post-thumbnail,
.article-thumbnail {
    background: linear-gradient(135deg, #1a2332 0%, #2d5016 70%, #1a2332 100%);
}
