/* ============================================
   AGENCE SEO ORLÉANS — Stylesheet
   Modern, elegant one-page with micro-animations
   ============================================ */

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

:root {
    --color-bg: #fafaf9;
    --color-bg-dark: #0f172a;
    --color-bg-card: #ffffff;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #dbeafe;
    --color-accent: #0ea5e9;
    --color-green: #059669;
    --color-green-light: #d1fae5;
    --color-gold: #d97706;
    --color-gold-light: #fef3c7;
    --color-border: #e2e8f0;
    --color-border-dark: #334155;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Fade-in animation === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.agencies-grid .fade-in:nth-child(2) { transition-delay: 0.05s; }
.agencies-grid .fade-in:nth-child(3) { transition-delay: 0.1s; }
.agencies-grid .fade-in:nth-child(4) { transition-delay: 0.15s; }
.agencies-grid .fade-in:nth-child(5) { transition-delay: 0.2s; }
.agencies-grid .fade-in:nth-child(6) { transition-delay: 0.25s; }
.agencies-grid .fade-in:nth-child(7) { transition-delay: 0.3s; }

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 249, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
.nav-logo span {
    color: var(--color-primary);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}
.nav-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-menu a:hover {
    color: var(--color-text);
    background: rgba(0,0,0,0.04);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(14, 165, 233, 0.06), transparent),
        var(--color-bg);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 20px;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}
.btn-outline:hover {
    color: var(--color-text);
    border-color: var(--color-text-muted);
    background: rgba(0,0,0,0.02);
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}
.stat {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll a {
    color: var(--color-text-light);
    animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* === Sections === */
.section {
    padding: 96px 0;
}
.section--dark {
    background: var(--color-bg-dark);
    color: #e2e8f0;
}
.section--dark .section-header h2 {
    color: #f1f5f9;
}
.section--dark .section-header p {
    color: #94a3b8;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    margin-bottom: 16px;
}
.section--dark .section-tag {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
}
.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* === Agency Cards (overview) === */
.agencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.agency-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}
.agency-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.agency-card--featured {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(14, 165, 233, 0.02));
    grid-column: 1 / -1;
}
.agency-card--featured:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12);
}
.agency-card__rank {
    display: none;
}
.agency-card__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.agency-card__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: var(--radius-md);
}
.agency-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.agency-card__tagline {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}
.agency-card__desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}
.agency-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--color-bg);
    color: var(--color-text-muted);
    border-radius: 100px;
    border: 1px solid var(--color-border);
}
.tag--green {
    background: var(--color-green-light);
    color: var(--color-green);
    border-color: transparent;
}
.tag--gold {
    background: var(--color-gold-light);
    color: var(--color-gold);
    border-color: transparent;
}
.agency-card__price {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}
.agency-card__price strong {
    color: var(--color-primary);
}

/* === Comparison Table === */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-dark);
}
.comparison-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.comparison-table thead {
    background: rgba(255,255,255,0.05);
}
.comparison-table th {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    text-align: left;
    border-bottom: 1px solid var(--color-border-dark);
    white-space: nowrap;
}
.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #cbd5e1;
    vertical-align: middle;
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table tbody tr {
    transition: background var(--transition);
}
.comparison-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}
.table-row--featured {
    background: rgba(37, 99, 235, 0.08) !important;
}
.table-row--featured td {
    color: #f1f5f9;
}
.check {
    color: #34d399;
    font-weight: 700;
}
.cross {
    color: #475569;
}

/* === Agency Detail === */
.agency-detail {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 24px;
    transition: all var(--transition);
}
.agency-detail:hover {
    box-shadow: var(--shadow-lg);
}
.agency-detail--featured {
    border-color: var(--color-primary);
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}
.agency-detail__header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}
.agency-detail__rank {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}
.agency-detail__header h3 {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.agency-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.agency-detail__meta a {
    font-weight: 600;
}
.agency-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.agency-detail__block h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.agency-detail__block p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.agency-detail__block ul {
    list-style: none;
    padding: 0;
}
.agency-detail__block li {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
}
.agency-detail__block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Results list */
.results-list li {
    padding: 8px 0 8px 18px;
    font-size: 0.9375rem;
}
.results-list li strong {
    color: var(--color-text);
}

/* === Pricing cards (Mission Internet) === */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.pricing-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
}
.pricing-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}
.pricing-card--highlight {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
    position: relative;
}
.pricing-card__name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.pricing-card__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.pricing-card__price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
}
.pricing-card ul {
    list-style: none;
    text-align: left;
}
.pricing-card li {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    padding: 4px 0 4px 20px;
    position: relative;
}
.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: 700;
    font-size: 0.75rem;
}
.pricing-extras {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
    padding-top: 8px;
    border-top: 1px dashed var(--color-border);
}

/* === SEO Guide Cards === */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}
.seo-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.seo-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.seo-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.seo-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.seo-card p {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 14px;
}
.seo-card ul {
    list-style: none;
    padding: 0;
}
.seo-card li {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.7;
    padding: 6px 0 6px 20px;
    position: relative;
}
.seo-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}
.seo-card li strong {
    color: #e2e8f0;
}

/* === FAQ === */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    background: var(--color-bg-card);
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item:hover {
    border-color: #cbd5e1;
}
.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.06);
}
.faq-item summary {
    padding: 18px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-light);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item[open] summary {
    color: var(--color-primary);
}
.faq-answer {
    padding: 0 24px 20px;
    animation: fadeSlide 0.3s ease;
}
.faq-answer p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}
.faq-answer li {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    padding: 4px 0 4px 18px;
    position: relative;
}
.faq-answer li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}
.faq-answer li strong { color: var(--color-text); }

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Contact Form === */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
}
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form__field {
    margin-bottom: 16px;
}
.contact-form__field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-main);
    font-size: 0.9375rem;
    color: #f1f5f9;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition);
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: #475569;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: var(--color-primary);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.contact-form__field textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form__submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }
}

/* === Footer === */
.footer {
    background: var(--color-bg-dark);
    color: #94a3b8;
    padding: 48px 0 24px;
    border-top: 1px solid var(--color-border-dark);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-dark);
    margin-bottom: 24px;
}
.footer-title {
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    font-size: 1rem;
}
.footer-info p {
    font-size: 0.875rem;
    max-width: 400px;
}
.footer-links {
    display: flex;
    gap: 16px;
}
.footer-links a {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
    transition: color var(--transition);
}
.footer-links a:hover { color: #e2e8f0; }
.footer-bottom {
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
}

/* === Back to top === */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .agency-detail__grid {
        grid-template-columns: 1fr;
    }
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .section { padding: 64px 0; }

    .hero-stats {
        gap: 24px;
    }
    .stat-number { font-size: 1.5rem; }

    .agencies-grid {
        grid-template-columns: 1fr;
    }
    .agency-card--featured {
        grid-column: auto;
    }

    .seo-grid {
        grid-template-columns: 1fr;
    }

    .agency-detail {
        padding: 24px;
        border-radius: var(--radius-lg);
    }
    .agency-detail__header {
        flex-direction: column;
        gap: 12px;
    }
    .agency-detail__meta {
        flex-direction: column;
        gap: 6px;
    }

    .footer-content {
        flex-direction: column;
    }
    .footer-links {
        flex-wrap: wrap;
    }

    /* Responsive table */
    .comparison-table {
        min-width: auto;
    }
    .comparison-table thead {
        display: none;
    }
    .comparison-table tbody tr {
        display: block;
        padding: 16px;
        margin-bottom: 8px;
        border: 1px solid var(--color-border-dark);
        border-radius: var(--radius-md);
    }
    .comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        font-size: 0.8125rem;
    }
    .comparison-table td:last-child {
        border-bottom: none;
    }
    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #94a3b8;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        flex-shrink: 0;
        margin-right: 12px;
    }
    .table-wrapper {
        border: none;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
}
