/**
 * G-CERTI Layout — Header, Footer, Navigation
 * Version: 2026.6.1
 * Fondo CLARO + Header/Footer Premium
 */

/* ═══════════════════════════════════════════════════════════════════════════
   BODY — FONDO CLARO
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
    /* Light theme defaults (override core dark tokens) */
    --gc-text-primary: #0F172A;
    --gc-text-secondary: var(--gc-slate-600);
    --gc-text-muted: var(--gc-slate-500);

    /* Header system (aligned to org layout) */
    --q-topbar-h: 36px;
    --q-nav-h: 80px;
    --q-header-h: calc(var(--q-topbar-h) + var(--q-nav-h)); /* 116px total for page padding calculations */
    --q-header-bg: rgba(255, 255, 255, 0.92);
    --q-border: rgba(0, 0, 0, 0.06);
    --q-shadow-xl: var(--gc-shadow-xl);
    --q-transition: var(--ease-smooth);
    --q-spring: var(--ease-bounce);

    /* Glass effect tuned for light backgrounds */
    --glass-bg: rgba(0, 0, 0, 0.02);
    --glass-bg-hover: rgba(230, 57, 53, 0.04);
    --glass-border: rgba(0, 0, 0, 0.06);
}

.q-section-dark {
    /* Restore dark-surface tokens */
    --gc-text-primary: var(--gc-white);
    --gc-text-secondary: var(--gc-slate-300);
    --gc-text-muted: var(--gc-slate-400);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.10);
}

.q-h1,
.q-h2,
.q-h3,
.q-h4 {
    color: var(--gc-text-primary);
}

body {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(15, 23, 42, 0.04), transparent 60%),
        radial-gradient(900px 600px at 90% 10%, rgba(15, 23, 42, 0.05), transparent 60%),
        var(--gc-bg-body);
    color: var(--gc-text-primary);
}

.q-main {
    background: transparent;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOP BAR — Trust & Contact Strip
   ═══════════════════════════════════════════════════════════════════════════ */
.q-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1005;
    height: var(--q-topbar-h);
    background: linear-gradient(90deg, #0a0f1e 0%, #111827 50%, #0a0f1e 100%);
    color: rgba(248, 250, 252, 0.8);
    font-size: 12px;
    display: flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(.22,1,.36,1), opacity 0.4s cubic-bezier(.22,1,.36,1);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.q-topbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.q-topbar .q-container {
    width: 100%;
}

.q-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.q-topbar__trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.q-topbar__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px 2px 7px;
    background: rgba(230, 57, 53, 0.12);
    border: 1px solid rgba(230, 57, 53, 0.25);
    border-radius: 20px;
    color: #f87171;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.q-topbar__badge svg {
    color: #f87171;
    flex-shrink: 0;
}

.q-topbar__sep {
    color: rgba(255, 255, 255, 0.15);
    user-select: none;
}

.q-topbar__item {
    color: rgba(248, 250, 252, 0.6);
    font-size: 11.5px;
}

.q-topbar__item--code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 10.5px;
    padding: 1px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    letter-spacing: 0.06em;
    color: rgba(248, 250, 252, 0.5);
}

.q-topbar__actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.q-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(248, 250, 252, 0.65);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.q-topbar__link:hover {
    color: var(--gc-white);
    background: rgba(255, 255, 255, 0.08);
}

.q-topbar__link svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.q-topbar__link span {
    /* Allows hiding text on small screens */
}

.q-topbar__sep--actions {
    color: rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — Main Navigation (gcerti.org architecture)
   ═══════════════════════════════════════════════════════════════════════════ */
.q-header {
    position: fixed;
    top: var(--q-topbar-h);
    left: 0;
    right: 0;
    z-index: 1004;
    height: var(--q-nav-h);
    background: var(--q-header-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid var(--q-border);
    transition: all 0.5s cubic-bezier(.16,1,.3,1);
    overflow: visible;
}

.q-header.scrolled {
    top: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 25px 60px -12px rgba(0,0,0,0.18);
    border-bottom-color: rgba(0,0,0,0.04);
}

/* Quantum Accent Line */
.q-header__accent {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(230,57,53,0.3) 10%,
        var(--gc-primary, #E63935) 30%,
        #FF6B6B 50%,
        var(--gc-primary, #E63935) 70%,
        rgba(230,57,53,0.3) 90%,
        transparent 100%);
    background-size: 300% 100%;
    animation: q-header-accent-flow 6s ease-in-out infinite;
}

@keyframes q-header-accent-flow {
    0% { background-position: 300% 0; }
    50% { background-position: 0% 0; }
    100% { background-position: -300% 0; }
}

/* Container */
.q-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 1rem;
    max-width: 1600px;
    margin: 0 auto;
    overflow: visible;
}

@media (min-width: 768px) {
    .q-header__container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .q-header__container { padding: 0 3rem; }
}

/* Logo */
.q-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}

.q-header__logo:hover { transform: scale(1.03); }

.q-header__logo img {
    height: 42px;
    width: auto;
    transition: height 0.3s ease;
}

.q-header.scrolled .q-header__logo img { height: 36px; }

@media (max-width: 767px) {
    .q-header__logo img { height: 36px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DESKTOP NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.q-header__nav { display: none; }

@media (min-width: 1024px) {
    .q-header__nav { display: flex; }
}

.q-header__nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.q-header__nav-item { position: relative; }

.q-header__nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    color: rgba(15, 23, 42, 0.92);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.16,1,.3,1);
    position: relative;
    font-family: inherit;
}

.q-header__nav-link:hover,
.q-header__nav-item:hover .q-header__nav-link,
.q-header__nav-item.is-open .q-header__nav-link {
    background: rgba(254, 242, 242, 0.9);
    color: #C62828;
}

.q-header__nav-chevron {
    display: flex;
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
    opacity: 0.5;
}

.q-header__nav-item:hover .q-header__nav-chevron,
.q-header__nav-item.is-open .q-header__nav-chevron {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MEGA PANEL — Data-driven with featured sidebar
   ═══════════════════════════════════════════════════════════════════════════ */
.q-mega-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 900px;
    max-width: calc(100vw - 2rem);
    padding-top: 12px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 120;
}

.q-mega-panel__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 280px;
    min-height: 350px;
    background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(252,253,255,0.98) 100%);
    backdrop-filter: blur(44px) saturate(220%);
    -webkit-backdrop-filter: blur(44px) saturate(220%);
    border: 1px solid rgba(230,57,53,0.08);
    border-radius: 20px;
    box-shadow: 0 25px 60px -12px rgba(0,0,0,0.18), 0 0 60px -20px rgba(230,57,53,0.15);
    overflow: hidden;
}

/* No featured sidebar — single-column layout */
.q-mega-panel__inner:not(:has(.q-mega-panel__featured)) {
    grid-template-columns: 1fr;
}

/* Top accent line */
.q-mega-panel__inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%, rgba(230,57,53,0.4) 10%,
        var(--gc-primary, #E63935) 50%,
        rgba(230,57,53,0.4) 90%, transparent 100%);
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

/* Show on hover / is-open */
.q-header__nav-item:hover .q-mega-panel,
.q-header__nav-item.is-open .q-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 1023px) {
    .q-mega-panel { display: none !important; }
}

/* Main columns area */
.q-mega-panel__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 1.75rem 1.5rem;
    gap: 1.5rem;
}

.q-mega-panel__column {
    padding-right: 1rem;
    border-right: 1px solid rgba(0,0,0,0.04);
}

.q-mega-panel__column:last-child {
    border-right: none;
    padding-right: 0;
}

.q-mega-panel__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--gc-primary, #E63935);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(230,57,53,0.15);
}

.q-mega-panel__title::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gc-primary, #E63935);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(230,57,53,0.5);
}

.q-mega-panel__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

/* Menu Item */
.q-mega-panel__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.75rem 0.875rem;
    margin: 0 -0.875rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
    position: relative;
}

.q-mega-panel__item:hover {
    background: linear-gradient(135deg, rgba(254,242,242,0.95), rgba(254,226,226,0.8));
    transform: translateX(6px);
}

.q-mega-panel__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: linear-gradient(145deg, rgba(254,242,242,1), rgba(254,226,226,0.95));
    border: 1px solid rgba(230,57,53,0.12);
    border-radius: 10px;
    color: var(--gc-primary, #E63935);
    transition: all 0.4s cubic-bezier(.34,1.56,.64,1);
}

.q-mega-panel__item:hover .q-mega-panel__item-icon {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(230,57,53,0.2);
}

.q-mega-panel__item-content {
    flex: 1;
    min-width: 0;
}

.q-mega-panel__item-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.2s;
}

.q-mega-panel__item:hover .q-mega-panel__item-label { color: #C62828; }

.q-mega-panel__item-desc {
    color: #64748b;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Badges */
.q-badge {
    display: inline-flex;
    padding: 0.2rem 0.5rem;
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    white-space: nowrap;
}

.q-badge--gradient {
    background: linear-gradient(135deg, #e63935 0%, #dc2626 50%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(230,57,53,0.4);
}

.q-badge--demanda {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(59,130,246,0.4);
}

.q-badge--nuevo {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(16,185,129,0.4);
}

/* Featured sidebar */
.q-mega-panel__featured {
    background: linear-gradient(165deg, #0c1220 0%, #111827 30%, #1e293b 60%, #0f172a 100%);
    border-left: 1px solid rgba(230,57,53,0.15);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
}

.q-mega-panel__featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(230,57,53,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230,57,53,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
    pointer-events: none;
}

.q-mega-panel__featured::after {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(230,57,53,0.5), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
}

.q-mega-panel__featured-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    background: linear-gradient(145deg, var(--gc-primary, #E63935) 0%, #dc2626 50%, #b91c1c 100%);
    border-radius: 14px;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(230,57,53,0.2), 0 12px 32px rgba(230,57,53,0.5);
}

.q-mega-panel__featured-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.625rem 0;
    position: relative;
    z-index: 1;
}

.q-mega-panel__featured-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 auto 0;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.q-mega-panel__featured-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--gc-primary, #E63935) 0%, #ef4444 50%, #f87171 100%);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 650;
    text-decoration: none;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 6px 24px rgba(230,57,53,0.45);
}

.q-mega-panel__featured-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(230,57,53,0.5);
}

/* Footer */
.q-mega-panel__footer {
    grid-column: 1 / -1;
    padding: 1rem 1.75rem;
    background: #ffffff;
    border-top: 1px solid rgba(230,57,53,0.1);
}

.q-mega-panel__footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gc-primary, #E63935);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}

.q-mega-panel__footer-link:hover {
    gap: 0.875rem;
    color: #C62828;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER ACTIONS (CTA + Hamburger)
   ═══════════════════════════════════════════════════════════════════════════ */
.q-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 101;
    pointer-events: auto;
}

.q-header__cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #C62828 0%, var(--gc-primary, #E63935) 25%, #FF6B6B 50%, var(--gc-primary, #E63935) 75%, #C62828 100%);
    background-size: 400% 400%;
    color: #ffffff !important;
    font-size: 0.9375rem;
    font-weight: 650;
    text-decoration: none;
    border-radius: 14px;
    position: relative;
    z-index: 102;
    pointer-events: auto;
    transition: all 0.5s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 8px 32px rgba(230,57,53,0.35), 0 4px 16px rgba(0,0,0,0.2);
    animation: q-header-cta-gradient 8s ease-in-out infinite;
}

.q-header__cta span,
.q-header__cta svg { color: #ffffff !important; }

@keyframes q-header-cta-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (min-width: 640px) {
    .q-header__cta { display: inline-flex; }
}

.q-header__cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 48px rgba(230,57,53,0.4);
}

/* Hamburger */
.q-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    padding: 0; margin: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(230,57,53,0.15);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    z-index: 201;
    transition: all 0.3s cubic-bezier(.16,1,.3,1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.q-hamburger:hover {
    background: rgba(255,255,255,1);
    border-color: rgba(230,57,53,0.3);
    box-shadow: 0 4px 16px rgba(230,57,53,0.15);
}

.q-hamburger:active { transform: scale(0.95); }

.q-hamburger__lines {
    width: 22px; height: 16px;
    position: relative;
}

.q-hamburger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--gc-primary, #E63935);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
    transform-origin: center;
}

.q-hamburger__line:nth-child(1) { top: 0; }
.q-hamburger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.q-hamburger__line:nth-child(3) { bottom: 0; }

/* Hamburger → X */
.q-hamburger.is-active .q-hamburger__line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.q-hamburger.is-active .q-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.q-hamburger.is-active .q-hamburger__line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (min-width: 1024px) {
    .q-hamburger { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SKIP LINK
   ═══════════════════════════════════════════════════════════════════════════ */
.q-skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem 2rem;
    background: var(--gc-primary, #E63935);
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 8px 0;
    text-decoration: none;
}
.q-skip-link:focus { left: 0; top: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER CTA STRIP
   ═══════════════════════════════════════════════════════════════════════════ */

.q-footer-cta {
    position: relative;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.q-footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 20% 50%, rgba(var(--gc-primary-rgb), 0.12), transparent 70%),
        radial-gradient(400px 200px at 80% 50%, rgba(var(--gc-primary-rgb), 0.08), transparent 60%);
    pointer-events: none;
}

.q-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 56px 0;
    position: relative;
    z-index: 1;
}

.q-footer-cta-content {
    flex: 1;
}

.q-footer-cta-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gc-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.q-footer-cta-heading {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--gc-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.q-footer-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.q-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm, 8px);
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.q-footer-cta-btn--primary {
    background: var(--gc-primary);
    color: var(--gc-white);
    box-shadow: 0 0 0 0 rgba(var(--gc-primary-rgb), 0);
}

.q-footer-cta-btn--primary:hover {
    background: var(--gc-primary-hover);
    color: var(--gc-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(var(--gc-primary-rgb), 0.35);
}

.q-footer-cta-btn--primary svg {
    transition: transform 0.15s ease;
}

.q-footer-cta-btn--primary:hover svg {
    transform: translateX(3px);
}

.q-footer-cta-btn--whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25D366;
}

.q-footer-cta-btn--whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: var(--gc-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.q-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0A0A0A 0%, #111111 60%, #0A0A0A 100%);
    color: var(--gc-white);
    padding: 80px 0 0;
}

.q-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.06), transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.04), transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03), transparent 50%);
    opacity: 0.7;
    animation: footerGlow 28s ease-in-out infinite;
    pointer-events: none;
}

.q-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 140px 140px;
    opacity: 0.12;
    animation: footerGrid 38s linear infinite;
    pointer-events: none;
}

.q-footer .q-container {
    position: relative;
    z-index: 1;
}

/* ── Footer grid: brand + columns wrapper ── */

.q-footer-grid {
    display: flex;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.q-footer-brand {
    flex: 0 0 300px;
    max-width: 320px;
}

.q-footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    transition: opacity 0.2s ease;
}

.q-footer-logo:hover {
    opacity: 0.8;
}

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

.q-footer-tagline {
    font-size: 14px;
    color: var(--gc-gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
}

.q-footer-accreditation {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.q-footer-accreditation img {
    opacity: 0.6;
    transition: all 0.2s ease;
}

.q-footer-accreditation img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.q-footer-social {
    display: flex;
    gap: 10px;
}

.q-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm, 8px);
    color: var(--gc-gray-400);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.q-footer-social a:hover {
    background: rgba(var(--gc-primary-rgb), 0.15);
    border-color: rgba(var(--gc-primary-rgb), 0.35);
    color: var(--gc-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--gc-primary-rgb), 0.2);
}

/* ── Desktop columns container ── */

.q-footer-columns-desktop {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    flex: 1;
}

.q-footer-columns-mobile {
    display: none;
}

/* ── Column styles ── */

.q-footer-section {
    min-width: 0;
}

.q-footer-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(var(--gc-primary-rgb), 0.2);
    display: inline-block;
}

.q-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.q-footer-links a {
    font-size: 14px;
    color: var(--gc-gray-400);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
}

.q-footer-links a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--gc-primary);
    margin-right: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    vertical-align: middle;
}

.q-footer-links a:hover {
    color: var(--gc-white);
}

.q-footer-links a:hover::before {
    width: 12px;
    margin-right: 8px;
}

.q-footer-link-all {
    color: var(--gc-primary) !important;
    font-weight: 600;
    margin-top: 4px;
}

.q-footer-link-all:hover {
    color: var(--gc-primary-light) !important;
}

.q-footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.q-footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gc-gray-400);
}

.q-footer-contact svg {
    color: var(--gc-primary);
    flex-shrink: 0;
}

.q-footer-contact a {
    color: var(--gc-gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.q-footer-contact a:hover {
    color: var(--gc-white);
}

.q-footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gc-white);
    background: rgba(var(--gc-primary-rgb), 0.12);
    border: 1px solid rgba(var(--gc-primary-rgb), 0.25);
    border-radius: var(--radius-sm, 8px);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.q-footer-contact-btn:hover {
    background: var(--gc-primary);
    border-color: var(--gc-primary);
    color: var(--gc-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--gc-primary-rgb), 0.3);
}

.q-footer-contact-btn svg {
    transition: transform 0.15s ease;
}

.q-footer-contact-btn:hover svg {
    transform: translateX(3px);
}

/* ── Mobile accordion ── */

.q-footer-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.q-footer-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-height: 48px;
}

.q-footer-accordion-toggle:active {
    background: rgba(255, 255, 255, 0.03);
}

.q-footer-accordion-chevron {
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.q-footer-accordion-toggle[aria-expanded="true"] .q-footer-accordion-chevron {
    transform: rotate(180deg);
}

.q-footer-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease;
    opacity: 0;
}

.q-footer-accordion-toggle[aria-expanded="true"] + .q-footer-accordion-panel {
    max-height: 500px;
    opacity: 1;
}

.q-footer-accordion-panel .q-footer-links,
.q-footer-accordion-panel .q-footer-contact {
    padding-bottom: 16px;
}

/* ── Footer bottom bar ── */

.q-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.q-footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-footer-bottom p {
    font-size: 13px;
    color: var(--gc-gray-500);
    margin: 0;
}

.q-footer-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 13px;
}

.q-footer-location {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.q-footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.q-footer-legal {
    display: flex;
    gap: 24px;
}

.q-footer-legal a {
    font-size: 13px;
    color: var(--gc-gray-500);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.q-footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gc-primary);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.q-footer-legal a:hover {
    color: var(--gc-white);
}

.q-footer-legal a:hover::after {
    width: 100%;
}

.q-footer-back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm, 8px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.q-footer-back-to-top:hover {
    background: rgba(var(--gc-primary-rgb), 0.15);
    border-color: rgba(var(--gc-primary-rgb), 0.3);
    color: var(--gc-white);
    transform: translateY(-2px);
}

/* ── Footer keyframes ── */

@keyframes footerGlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

@keyframes footerGrid {
    from { background-position: 0 0, 0 0; }
    to { background-position: 140px 140px, 140px 140px; }
}

/* ── Footer focus-visible ── */

.q-footer-links a:focus-visible,
.q-footer-contact a:focus-visible,
.q-footer-legal a:focus-visible,
.q-footer-social a:focus-visible,
.q-footer-cta-btn:focus-visible,
.q-footer-contact-btn:focus-visible,
.q-footer-accordion-toggle:focus-visible,
.q-footer-back-to-top:focus-visible {
    outline: 2px solid var(--gc-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Footer reduced motion ── */

@media (prefers-reduced-motion: reduce) {
    .q-footer::before,
    .q-footer::after,
    .q-footer-social a,
    .q-footer-cta-btn,
    .q-footer-contact-btn,
    .q-footer-back-to-top,
    .q-footer-accordion-panel,
    .q-footer-accordion-chevron,
    .q-footer-links a::before,
    .q-footer-legal a::after {
        animation: none;
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════════════════════════════════ */
.q-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: var(--gc-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: all 0.3s ease;
    text-decoration: none;
}

.q-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: var(--gc-white);
}

.q-whatsapp-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 16px;
    margin-right: 12px;
    background: var(--gc-slate-950);
    color: var(--gc-white);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.q-whatsapp-float:hover .q-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .q-header__nav-link {
        padding: 0.5rem 0.625rem;
        font-size: 0.84rem;
    }
}

@media (max-width: 1024px) {
    .q-topbar__item:not(.q-topbar__item--code) {
        display: none;
    }

    .q-topbar__trust .q-topbar__sep:not(:first-of-type) {
        display: none;
    }

    .q-topbar__link span {
        display: none;
    }

    .q-footer-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 48px 0;
    }

    .q-footer-grid {
        flex-direction: column;
        gap: 40px;
    }

    .q-footer-brand {
        flex: none;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .q-footer-accreditation {
        justify-content: center;
    }

    .q-footer-social {
        justify-content: center;
    }

    .q-footer-columns-desktop {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --q-topbar-h: 0px;
        --q-header-h: var(--q-nav-h);
    }

    .q-topbar {
        display: none;
    }

    .q-header {
        top: 0 !important;
        height: 64px;
    }

    .q-header.scrolled {
        height: 56px;
    }

    .q-header__logo img {
        height: 36px;
    }

    .q-header.scrolled .q-header__logo img {
        height: 32px;
    }

    .q-footer-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        gap: 24px;
    }

    .q-footer-cta-heading {
        font-size: 20px;
    }

    .q-footer-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .q-footer-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 10px;
    }

    .q-footer {
        padding: 56px 0 0;
    }

    .q-footer-grid {
        flex-direction: column;
        gap: 32px;
    }

    .q-footer-brand {
        flex: none;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .q-footer-tagline {
        max-width: 340px;
    }

    .q-footer-accreditation {
        justify-content: center;
    }

    .q-footer-social {
        justify-content: center;
        gap: 12px;
    }

    .q-footer-social a {
        width: 44px;
        height: 44px;
    }

    /* Hide desktop columns, show accordion */
    .q-footer-columns-desktop {
        display: none;
    }

    .q-footer-columns-mobile {
        display: flex;
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .q-footer-links a {
        padding: 6px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .q-footer-links a::before {
        display: none;
    }

    .q-footer-contact li {
        min-height: 44px;
    }

    .q-footer-contact a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .q-footer-grid {
        padding-bottom: 32px;
    }

    /* Bottom bar mobile */
    .q-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .q-footer-bottom-left {
        flex-direction: column;
        gap: 4px;
    }

    .q-footer-dot {
        display: none;
    }

    .q-footer-bottom-right {
        flex-direction: column;
        gap: 16px;
    }

    .q-footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .q-footer-legal a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        font-size: 14px;
    }

    .q-footer-legal a::after {
        display: none;
    }

    .q-footer-back-to-top {
        width: 44px;
        height: 44px;
        margin: 0 auto;
    }

    .q-footer-contact-btn {
        display: none;
    }

    .q-whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 16px;
        right: 16px;
    }

    .q-whatsapp-tooltip {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE OVERLAY + MOBILE MENU (gcerti.org architecture)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Overlay */
.q-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 199;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.q-mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.q-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.q-mobile-menu.is-open {
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .q-mobile-menu,
    .q-mobile-overlay { display: none !important; }
}

/* Mobile Menu Header */
.q-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.q-mobile-menu__logo img {
    height: 36px;
    width: auto;
}

.q-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(230, 57, 53, 0.08);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--gc-primary, #E63935);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.q-mobile-menu__close:hover { background: rgba(230, 57, 53, 0.15); }
.q-mobile-menu__close:active { transform: scale(0.95); }

/* Mobile Menu Content */
.q-mobile-menu__content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.q-mobile-menu__nav {
    padding: 1rem 0;
}

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

/* Mobile Nav Item */
.q-mobile-nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.q-mobile-nav-item:last-child { border-bottom: none; }

.q-mobile-nav-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    font-family: inherit;
}

a.q-mobile-nav-item__trigger {
    text-decoration: none;
    color: #1e293b;
}

.q-mobile-nav-item__trigger:hover {
    background: rgba(230, 57, 53, 0.04);
    color: var(--gc-primary, #E63935);
}

.q-mobile-nav-item__trigger:active {
    background: rgba(230, 57, 53, 0.08);
}

.q-mobile-nav-item__label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.q-mobile-nav-item__chevron {
    color: #94a3b8;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.q-mobile-nav-item.is-open .q-mobile-nav-item__chevron {
    transform: rotate(180deg);
    color: var(--gc-primary, #E63935);
}

/* Mobile Submenu — max-height accordion */
.q-mobile-nav-item__submenu {
    max-height: 0;
    overflow: hidden;
    background: rgba(248, 250, 252, 0.8);
    transition: max-height 0.4s ease;
}

.q-mobile-nav-item.is-open .q-mobile-nav-item__submenu {
    max-height: 1000px;
}

.q-mobile-nav-item__submenu-inner {
    padding: 0.5rem 0 1rem 0;
}

.q-mobile-submenu-section {
    padding: 0.5rem 1.25rem;
}

.q-mobile-submenu-section__title {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--gc-primary, #E63935);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid rgba(230, 57, 53, 0.12);
}

.q-mobile-submenu-section__title::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--gc-primary, #E63935);
    border-radius: 50%;
}

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

.q-mobile-submenu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 44px;
}

.q-mobile-submenu-item:hover,
.q-mobile-submenu-item:active {
    background: rgba(230, 57, 53, 0.06);
    color: var(--gc-primary, #E63935);
}

.q-mobile-submenu-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(230, 57, 53, 0.1);
    border-radius: 6px;
    color: var(--gc-primary, #E63935);
    flex-shrink: 0;
}

/* Mobile Menu Footer */
.q-mobile-menu__footer {
    padding: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.q-mobile-menu__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--gc-primary, #E63935) 0%, #dc2626 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(230, 57, 53, 0.35);
    transition: all 0.3s ease;
}

.q-mobile-menu__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 57, 53, 0.4);
}

.q-mobile-menu__cta:active { transform: translateY(0); }

/* Body lock — iOS Safari needs position:fixed to truly prevent scroll */
body.q-mobile-menu-open,
html.q-mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.q-mobile-menu-open {
    position: fixed;
    width: 100%;
    /* top is set dynamically via JS to preserve scroll position */
}

/* Focus-visible for interactive elements */
.q-header__nav-link:focus-visible,
.q-hamburger:focus-visible,
.q-mobile-menu__close:focus-visible,
.q-mobile-nav-item__trigger:focus-visible,
.q-mobile-submenu-item:focus-visible,
.q-mega-panel__item:focus-visible,
.q-mega-panel__featured-cta:focus-visible,
.q-mega-panel__footer-link:focus-visible,
.q-header__cta:focus-visible,
.q-mobile-menu__cta:focus-visible {
    outline: 2px solid var(--gc-primary, #E63935);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .q-header,
    .q-header__accent,
    .q-header__cta,
    .q-header__logo,
    .q-header__nav-link,
    .q-header__nav-chevron,
    .q-mega-panel,
    .q-mega-panel__item,
    .q-hamburger,
    .q-hamburger__line,
    .q-mobile-menu,
    .q-mobile-overlay,
    .q-mobile-nav-item__submenu,
    .q-mobile-nav-item__chevron,
    .q-topbar {
        transition-duration: 0.01ms !important;
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════════════════════ */
.q-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 0;
    background: var(--gc-slate-950);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    overflow: hidden;
}

.q-cookie-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.08), transparent 45%),
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0.7;
    animation: cookieGlow 24s ease-in-out infinite;
    pointer-events: none;
}

.q-cookie-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 160px 160px;
    opacity: 0.12;
    animation: cookieGrid 34s linear infinite;
    pointer-events: none;
}

.q-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.q-cookie-content p {
    font-size: 14px;
    color: var(--gc-gray-300);
}

.q-cookie-content a {
    color: var(--gc-primary);
}

.q-cookie-actions {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    .q-cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes cookieGlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes cookieGrid {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 160px 160px, 160px 160px;
    }
}
