/*
Theme Name: Quality SEO
Theme URI: https://www.qualityseo.org/
Description: Child of Divi. Editorial European B2B layout for Quality SEO. Do not edit the Divi parent.
Author: Quality SEO
Template: Divi
Version: 1.2.0
Text Domain: qualityseo
*/

:root {
    --white: #FFFFFF;
    --warm-white: #FFF7F0;
    --orange: #FF5A1F;
    --orange-bright: #FF7A00;
    --orange-deep: #E54100;
    --ink: #121318;
    --dark: #171A21;
    --blue: #2764FF;
    --text: #3A3D47;
    --muted: #6B7080;
    --glass: rgba(255,255,255,0.7);
    --glass-border: rgba(255,255,255,0.3);
    --shadow-soft: 0 8px 32px rgba(18,19,24,0.08);
    --shadow-glow: 0 0 40px rgba(255,90,31,0.15);
    --radius: 16px;
    --radius-lg: 24px;
    --max: 1140px;
    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Base & Reset */
html {
    -webkit-text-size-adjust: 100%;
}

body.qseo {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.65;
    font-size: 1.05rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.qseo * {
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.qseo h1, .qseo h2, .qseo h3, .qseo h4, .qseo h5, .qseo h6 {
    color: var(--ink);
    font-family: var(--font);
    margin: 0;
}

.qseo a {
    color: var(--orange);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* WordPress skip-link is visible if Divi screen-reader CSS is dequeued */
.skip-link,
.screen-reader-text,
.qseo-skip {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link:focus,
.skip-link:focus-visible,
.qseo-skip:focus,
.qseo-skip:focus-visible {
    position: fixed !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 100000 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    padding: 0.75rem 1.1rem !important;
    background: var(--ink) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
}

.qseo a:hover {
    color: var(--orange-bright);
}

.qseo img {
    max-width: 100%;
    height: auto;
}

.qseo :focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

/* Utilities */
.qseo-skip {
    position: absolute;
    left: -9999px;
    top: auto;
}

.qseo-skip:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: var(--orange);
    color: var(--white);
    padding: 1rem;
    text-decoration: none;
}

.qseo-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.qseo-wrap {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}

/* Header */
.qseo-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 3px rgba(18,19,24,0.05);
}

.qseo-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}

.qseo-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    font-family: var(--font);
}

.qseo-logo::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    margin-left: 4px;
}

.qseo-logo span {
    display: none;
}

.qseo-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.qseo-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.qseo-nav a:hover,
.qseo-nav a:focus {
    color: var(--orange);
}

/* Mobile Button */
.qseo-mobile-btn {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    background: transparent;
    border: none;
    color: var(--ink);
    cursor: pointer;
    position: relative;
}

.qseo-mobile-btn::before,
.qseo-mobile-btn::after,
.qseo-mobile-btn span {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.qseo-mobile-btn::before { top: 16px; }
.qseo-mobile-btn span { top: 23px; }
.qseo-mobile-btn::after { top: 30px; }

/* Overlay for Mobile */
.qseo-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(18,19,24,0.4);
    backdrop-filter: blur(4px);
    z-index: 98;
    display: none;
    opacity: 0;
}
.qseo-nav.open + .qseo-overlay,
.qseo-overlay.open {
    display: block;
    opacity: 1;
}

/* Breadcrumbs */
.qseo-breadcrumb {
    font-size: 0.85rem;
    color: var(--muted);
    padding-top: 1rem;
}
.qseo-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}
.qseo-breadcrumb a:hover {
    color: var(--orange);
}
.qseo-breadcrumb span:not(:first-child)::before {
    content: "/";
    margin: 0 0.5rem;
    color: var(--orange);
    opacity: 0.6;
}

/* Hero */
.qseo-hero {
    padding: 6rem 0 5rem;
}
.qseo-hero-split > .qseo-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 801px) {
    .qseo-hero-split > .qseo-wrap {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3.5rem;
    }
}
.qseo-hero-img {
    max-width: 100%;
    object-fit: contain;
}

.qseo-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 1rem;
}
.qseo-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-family: var(--font);
}
.qseo-hero h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--ink);
    margin: 0 0 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.qseo-hero .lede {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 40rem;
    margin: 0 0 2rem;
    line-height: 1.6;
}

/* Buttons */
.qseo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.qseo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}
body.qseo a.qseo-btn-primary,
body.qseo a.qseo-btn-primary:visited,
.qseo-btn-primary {
    background: #1a3c32;
    background: linear-gradient(135deg, #1a3c32, #24564a);
    color: #ffffff !important;
    box-shadow: var(--shadow-glow);
    border: none;
    position: relative;
    overflow: hidden;
}
.qseo-btn-primary::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2);
    border-radius: 14px;
    pointer-events: none;
}
body.qseo a.qseo-btn-primary:hover,
body.qseo a.qseo-btn-primary:focus,
.qseo-btn-primary:hover,
.qseo-btn-primary:focus {
    background: #24564a;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26,60,50,0.28);
    color: #ffffff !important;
}
.qseo-btn-primary:active {
    transform: translateY(0);
}

.qseo-btn-ghost {
    background: transparent;
    border: 2px solid var(--ink);
    color: var(--ink) !important;
}
.qseo-btn-ghost:hover,
.qseo-btn-ghost:focus {
    background: var(--ink);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.qseo-btn-ghost:active {
    transform: translateY(0);
}

/* Sections */
.qseo-section {
    padding: 5rem 0;
}
.qseo-section-alt {
    background: var(--warm-white);
}
.qseo-section-dark {
    background: var(--dark);
    color: var(--white);
}
.qseo-section-dark h1,
.qseo-section-dark h2,
.qseo-section-dark h3,
.qseo-section-dark h4,
.qseo-section-dark h5,
.qseo-section-dark h6,
.qseo-section-dark .lede {
    color: var(--white);
}

/* Grids & Cards */
.qseo-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.qseo-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
a.qseo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(18,19,24,0.12);
    border-color: rgba(255,90,31,0.4);
}
.qseo-card h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--ink);
    font-weight: 700;
}
.qseo-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Steps */
.qseo-steps {
    counter-reset: step;
    display: grid;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
}
.qseo-steps li {
    list-style: none;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    position: relative;
    box-shadow: var(--shadow-soft);
}
.qseo-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 1.25rem;
    top: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--orange);
    line-height: 1;
}

/* Forms */
.qseo-form {
    display: grid;
    gap: 1rem;
    max-width: 32rem;
}
.qseo-form label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
}
.qseo-form input,
.qseo-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font: inherit;
    background: var(--white);
    color: var(--ink);
    box-shadow: inset 0 2px 4px rgba(18,19,24,0.02);
}
.qseo-form input:focus,
.qseo-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,90,31,0.2);
}
.qseo-form textarea,
.qseo-form select {
    min-height: 3rem;
    resize: vertical;
}
.qseo-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font: inherit;
    background: var(--white);
    color: var(--ink);
}
.qseo-form-grid {
    display: grid;
    gap: 0.85rem 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 700px) {
    .qseo-form-grid { grid-template-columns: 1fr 1fr; }
    .qseo-form-span { grid-column: 1 / -1; }
}
.qseo-form-agency { max-width: 40rem; }
.qseo-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.4rem;
    list-style: none;
    padding: 1.25rem 0 0;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.qseo-proof strong { color: var(--ink); display: block; font-size: 0.95rem; }
.qseo-hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    background: #ece7df;
}
.qseo-form button[type="submit"] {
    background: linear-gradient(135deg, var(--orange), var(--orange-bright));
    color: var(--white);
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}
.qseo-form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--orange-bright), #FFA04D);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255,90,31,0.25);
}
.qseo-hp { position: absolute; left: -9999px; }

/* Alerts */
.qseo-alert, .qseo-alert-err {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-weight: 500;
    margin-bottom: 1rem;
}
.qseo-alert {
    background: #E8F5E9;
    color: #1B5E20;
    border-left: 4px solid #4CAF50;
}
.qseo-alert-err {
    background: #FFEBEE;
    color: #B71C1C;
    border-left: 4px solid #F44336;
}

/* FAQ */
.qseo-faq {
    margin: 2rem 0;
}
.qseo-faq details {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}
.qseo-faq summary {
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
}
.qseo-faq summary::-webkit-details-marker {
    display: none;
}
.qseo-faq summary::after {
    content: "▼";
    font-size: 0.8rem;
    color: var(--orange);
    transition: transform 0.3s ease;
}
.qseo-faq details[open] summary::after {
    transform: rotate(180deg);
}
.qseo-faq details[open] {
    border-top: 3px solid var(--orange);
    padding-top: 1rem;
}
.qseo-faq-answer {
    padding-top: 1rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Timeline */
.qseo-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--orange);
    margin: 2rem 0;
}
.qseo-timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.qseo-timeline-item::before {
    content: "";
    position: absolute;
    left: calc(-2rem - 6px);
    top: 0.25rem;
    width: 10px;
    height: 10px;
    background: var(--white);
    border: 2px solid var(--orange);
    border-radius: 50%;
}
.qseo-timeline-year {
    display: block;
    font-weight: 700;
    color: var(--orange);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Band */
.qseo-cta-band {
    background: linear-gradient(135deg, var(--orange), var(--orange-bright));
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
}
.qseo-cta-band h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}
.qseo-cta-band .qseo-btn-primary {
    background: var(--white);
    color: var(--orange) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.qseo-cta-band .qseo-btn-primary:hover {
    background: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.qseo-cta-band .qseo-btn-ghost {
    border-color: var(--white);
    color: var(--white) !important;
}
.qseo-cta-band .qseo-btn-ghost:hover {
    background: var(--white);
    color: var(--orange) !important;
}

/* Tags */
.qseo-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--orange);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
}

/* Notes */
.qseo-note {
    font-size: 0.95rem;
    color: var(--text);
    border-left: 4px solid var(--orange);
    background: var(--warm-white);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

/* Prose */
.qseo-prose {
    max-width: 42rem;
}
.qseo-prose h2 {
    margin-top: 2.5rem;
}
.qseo-prose p, .qseo-prose li {
    color: var(--text);
    margin-bottom: 1rem;
}
.qseo-prose ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

/* Two Column */
.qseo-two-col {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 801px) {
    .qseo-two-col {
        grid-template-columns: 1fr 1fr;
    }
}

/* Check List */
.qseo-check-list {
    list-style: none;
    padding-left: 1.5rem;
}
.qseo-check-list li {
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.qseo-check-list li::before {
    content: "✓";
    position: absolute;
    left: -1.5rem;
    color: var(--orange);
    font-weight: bold;
    font-size: 1.1em;
}

/* Glass Panel Utility */
.qseo-glass {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

/* Cookie Bar */
.qseo-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: var(--white);
    padding: 1.25rem;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.qseo-cookie.hidden {
    display: none;
}
.qseo-cookie-btn {
    background: linear-gradient(135deg, var(--orange), var(--orange-bright));
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: var(--shadow-glow);
}
.qseo-cookie-btn:hover {
    background: linear-gradient(135deg, var(--orange-bright), #FFA04D);
    transform: translateY(-1px);
}

/* Footer */
.qseo-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 3rem;
    font-size: 0.95rem;
}
.qseo-footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 2fr 1fr 1fr;
}
.qseo-footer h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.qseo-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}
.qseo-footer a:hover {
    color: var(--orange);
}

/* Insights / blog cards */
.qseo-blog-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
a.qseo-card.qseo-card-post,
a.qseo-card.qseo-card-post:visited,
a.qseo-card.qseo-card-post:hover {
    padding: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
}
a.qseo-card.qseo-card-post h3 {
    color: var(--ink);
}
a.qseo-card.qseo-card-post p {
    color: var(--muted);
}
.qseo-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #171A21 0%, #2764FF 55%, #FF5A1F 100%);
}
.qseo-card-img,
.qseo-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.qseo-card-ph {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 42%),
        linear-gradient(135deg, #171A21 0%, #2764FF 50%, #FF5A1F 100%);
}
.qseo-card-body {
    display: block;
    padding: 1.15rem 1.25rem 1.4rem;
}
.qseo-card-meta {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--orange) !important;
    margin: 0 0 0.4rem !important;
}
.qseo-pager {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}
.qseo-pager .nav-links,
.qseo-pager .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.qseo-pager .page-numbers,
.qseo-pager a,
.qseo-pager .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: #fff;
    color: var(--ink) !important;
    text-decoration: none;
    font-weight: 600;
}
.qseo-pager .current,
.qseo-pager .page-numbers.current {
    background: var(--ink);
    color: #fff !important;
    border-color: var(--ink);
}
.qseo-post-hero-img {
    margin: -2rem auto 0;
    padding-bottom: 0;
}
.qseo-feature-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}
@media (min-width: 900px) {
    .qseo-blog-grid .qseo-card-post:first-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        align-items: stretch;
    }
    .qseo-blog-grid .qseo-card-post:first-child .qseo-card-media {
        aspect-ratio: auto;
        min-height: 280px;
    }
    .qseo-blog-grid .qseo-card-post:first-child .qseo-card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem 2.2rem;
    }
    .qseo-blog-grid .qseo-card-post:first-child h3 {
        font-size: 1.75rem;
    }
}

/* Responsive & Print */
@media (max-width: 800px) {
    .qseo-mobile-btn { display: flex; }
    .qseo-nav { display: none; }
    .qseo-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 73px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        z-index: 99;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow-soft);
    }
    .qseo-footer-grid { grid-template-columns: 1fr; }
    .qseo-hero-split { grid-template-columns: 1fr; }
}

@media (min-width: 801px) {
    .qseo-mobile-btn { display: none; }
    .qseo-nav { display: flex; }
}

@media (max-width: 480px) {
    .qseo-hero { padding: 3rem 0 2rem; }
    .qseo-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
}

@media print {
    .qseo-header, .qseo-footer, .qseo-cookie, .qseo-skip, .qseo-mobile-btn, .qseo-overlay {
        display: none !important;
    }
    body.qseo {
        background: #fff;
        color: #000;
    }
    .qseo-wrap {
        width: 100%;
        margin: 0;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qseo * { transition: none !important; }
    .qseo-btn, .qseo-card, .qseo-form button { transform: none !important; }
    .qseo-faq details[open] summary::after { transition: none !important; }
}
