/* ============================================================
   iGuides Canada - Main Stylesheet
   Palette: Slate North #1C2B3A | Questy Red #C8202E
            Birch White #F7F4EE | Verified Gold #B8962E
            Topo Amber #D4824A | Boreal Green #2D5A3D
   ============================================================ */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
    --slate: #1C2B3A;
    --red: #C8202E;
    --red-dark: #a01820;
    --red-light: #f7e4e6;
    --birch: #F7F4EE;
    --gold: #B8962E;
    --amber: #D4824A;
    --boreal: #2D5A3D;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --white: #ffffff;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 2px 12px rgba(28, 43, 58, .08);
    --shadow-lg: 0 8px 40px rgba(28, 43, 58, .12);
    --transition: 0.22s cubic-bezier(.4, 0, .2, 1);

    /* Accessibility overrides */
    --a11y-font-scale: 1;
    --a11y-line-height: normal;
    --a11y-letter-spacing: normal;
}

/* ─── Accessibility CSS Classes ─────────────────────────── */
.a11y-high-contrast {
    filter: contrast(1.5) !important;
}

.a11y-invert {
    filter: invert(100%) hue-rotate(180deg) !important;
}

.a11y-grayscale {
    filter: grayscale(100%) !important;
}

.a11y-low-sat {
    filter: saturate(0.3) !important;
}

.a11y-light-bg {
    background: #ffffff !important;
    color: #000 !important;
}

.a11y-dark-bg {
    background: #111 !important;
    color: #eee !important;
}

.a11y-dyslexia body,
.a11y-dyslexia p,
.a11y-dyslexia li {
    font-family: 'Comic Sans MS', 'OpenDyslexic', cursive !important;
}

.a11y-readable-font body,
.a11y-readable-font p {
    font-family: Georgia, 'Times New Roman', serif !important;
}

.a11y-underline-links a {
    text-decoration: underline !important;
}

.a11y-highlight-links a {
    background: #ffeb3b !important;
    color: #000 !important;
    padding: 0 2px;
}

.a11y-focus-highlight *:focus {
    outline: 3px solid #ffeb3b !important;
    outline-offset: 2px !important;
}

.a11y-big-cursor,
.a11y-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M8 0 L8 26 L13 20 L18 32 L22 30 L17 18 L25 18 Z' fill='black' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 0 0, auto !important;
}

.a11y-pause-anims *,
.a11y-pause-anims *::before,
.a11y-pause-anims *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

.a11y-keyboard-nav *:focus {
    outline: 3px solid var(--red) !important;
    outline-offset: 3px !important;
}

html {
    font-size: calc(16px * var(--a11y-font-scale));
}

body {
    line-height: var(--a11y-line-height, 1.6) !important;
    letter-spacing: var(--a11y-letter-spacing) !important;
}

/* ─── Base ───────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--slate);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--red);
    color: var(--white);
    padding: 8px 16px;
    z-index: 99999;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate);
}

.text-red {
    color: var(--red) !important;
}

.text-slate {
    color: var(--slate) !important;
}

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

/* ─── Navbar ─────────────────────────────────────────────── */
.ig-navbar {
    background: var(--red) !important;
    padding: 14px 0;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}

.ig-navbar.scrolled {
    padding: 8px 0;
    background: var(--red-dark) !important;
    backdrop-filter: blur(12px);
}

.ig-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}

.brand-accent {
    color: var(--red);
}

.brand-canada {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-top: 2px;
}

.ig-navbar .nav-link {
    color: rgba(255, 255, 255, .8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px !important;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.ig-navbar .nav-link:hover,
.ig-navbar .nav-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, .1);
}

.ig-dropdown {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 8px;
    background: var(--white);
    animation: dropIn 0.15s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ig-dropdown .dropdown-item {
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background var(--transition);
}

.ig-dropdown .dropdown-item:hover {
    background: var(--birch);
    color: var(--slate);
}

/* ─── Buttons ────────────────────────────────────────────── */
.ig-btn-primary {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    font-family: var(--font-display);
    letter-spacing: 0.3px;
}

.ig-btn-primary:hover {
    background: var(--red-dark) !important;
    border-color: var(--red-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200, 32, 46, .3);
}

.ig-btn-primary--inverse-hover:hover {
    background: transparent !important;
    color: var(--red) !important;
    border: 2px solid var(--red) !important;
    box-shadow: none !important;
}

.ig-btn-outline {
    background: transparent !important;
    border: 2px solid var(--red) !important;
    color: var(--red) !important;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    font-family: var(--font-display);
}

.ig-btn-outline:hover {
    background: var(--red) !important;
    color: var(--white) !important;
}

.ig-btn-slate {
    background: var(--slate) !important;
    border-color: var(--slate) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    font-family: var(--font-display);
}

.ig-btn-slate:hover {
    opacity: .88;
    transform: translateY(-1px);
}

/* ─── Hero ───────────────────────────────────────────────── */
.ig-hero {
    background: var(--slate);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.ig-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 130%;
    background: radial-gradient(ellipse, rgba(200, 32, 46, .15) 0%, transparent 70%);
    pointer-events: none;
}

.ig-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 32, 46, .5), transparent);
}

/* Topographic pattern overlay */
.ig-hero .topo-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.44;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23fff' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23fff' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%23fff' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='10' fill='none' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    border: 1px solid var(--red);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-heading .highlight {
    color: var(--red);
    position: relative;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .7);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-stat__num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero-stat__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ─── Sections ───────────────────────────────────────────── */
.ig-section {
    padding: 80px 0;
}

.ig-section-sm {
    padding: 48px 0;
}

.ig-post-content {
    color: var(--red);
    line-height: 1.8;
}

.ig-post-content p {
    margin-bottom: 1.5rem;
}

.ig-post-content h2,
.ig-post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--slate);
}

.ig-section-alt {
    background: var(--birch);
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.9rem);
    font-weight: 800;
    color: var(--slate);
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 580px;
    line-height: 1.7;
}

/* ─── Cards ──────────────────────────────────────────────── */
.ig-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    height: 100%;
}

.ig-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 32, 46, .2);
}

.ig-card .card-body {
    padding: 24px;
}

.ig-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-meta .tag {
    background: var(--red-light);
    color: var(--red);
    padding: 2px 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.75rem;
}

.card-title-link {
    color: var(--slate);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    display: block;
    margin: 10px 0 8px;
    transition: color var(--transition);
}

.card-title-link:hover {
    color: var(--red);
}

/* ─── Service Cards ──────────────────────────────────────── */
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--red-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--red);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
}

/* ─── Project Cards ──────────────────────────────────────── */
.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--slate);
    position: relative;
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(28, 43, 58, .25);
}

.project-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.project-card:hover .project-card__img {
    opacity: 1;
}

.project-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, var(--slate) 60%, transparent);
    padding: 24px;
}

.project-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
}

.status-live {
    background: rgba(45, 90, 61, .8);
    color: #6ee7b7;
}

.status-beta {
    background: rgba(184, 150, 46, .3);
    color: #fbbf24;
}

.status-development {
    background: rgba(200, 32, 46, .3);
    color: #fca5a5;
}

/* ─── Testimonials ───────────────────────────────────────── */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--red);
    opacity: 0.15;
    position: absolute;
    top: 8px;
    left: 20px;
    line-height: 1;
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--red);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ─── CTA Section ────────────────────────────────────────── */
.ig-cta-section {
    background: var(--slate);
    position: relative;
    overflow: hidden;
}

.ig-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L60 0' stroke='rgba(255,255,255,.03)' stroke-width='1'/%3E%3C/svg%3E");
}

/* ─── Blog ───────────────────────────────────────────────── */
.blog-hero {
    background: var(--birch);
    padding: 64px 0;
    border-bottom: 1px solid var(--gray-200);
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
}

.post-content h2,
.post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content img {
    max-width: 100%;
    border-radius: var(--radius);
}

.post-content blockquote {
    border-left: 4px solid var(--red);
    padding: 16px 24px;
    background: var(--birch);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--slate);
}

.post-content code {
    background: var(--birch);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .9em;
}

.post-content pre {
    background: var(--slate);
    color: #e2e8f0;
    padding: 24px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
}

/* ─── Location Pages ─────────────────────────────────────── */
.location-hero {
    background: linear-gradient(135deg, var(--slate) 0%, #263d52 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav .breadcrumb-item a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: rgba(255, 255, 255, .9);
}

.breadcrumb-nav .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .4);
}

/* ─── Forms ──────────────────────────────────────────────── */
.ig-form .form-control,
.ig-form .form-select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}

.ig-form .form-control:focus,
.ig-form .form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200, 32, 46, .1);
    outline: none;
}

.ig-form label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 6px;
}

/* ─── Contact Form ───────────────────────────────────────── */
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    margin-bottom: 2px;
}

.contact-info-value {
    color: var(--red) !important;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color var(--transition);
}

a.contact-info-value:hover {
    color: var(--slate) !important;
}

/* ─── Admin & Auth ───────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    background: var(--birch);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.auth-brand {
    text-align: center;
    margin-bottom: 32px;
}

/* ─── CTA Section ────────────────────────────────────────── */
.ig-cta-section {
    padding: 3rem 0;
    background: var(--slate);
    overflow: hidden;
    position: relative;
}

/* ─── Footer ─────────────────────────────────────────────── */
.ig-footer {
    background: #111922;
    color: rgba(255, 255, 255, .9);
}

.ig-footer-brand .brand-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    color: rgba(255, 255, 255, .35);
}

.footer-bottom p {
    font-size: 0.82rem;
}

.ig-social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition);
}

.ig-social-btn:hover {
    background: var(--slate);
    border-color: var(--slate);
    color: var(--white);
}

.footer-newsletter-form .form-control {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .1);
    color: var(--white);
    font-size: 0.85rem;
}

.footer-newsletter-form .btn:hover {
    background: var(--slate) !important;
    border-color: var(--slate) !important;
}

.footer-link-secondary {
    color: var(--slate) !important;
    text-decoration: none !important;
}

.footer-link-secondary:hover {
    color: var(--white) !important;
}

.footer-newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, .35);
}

.footer-newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, .12);
    border-color: var(--red);
    box-shadow: none;
}

.footer-newsletter-form .form-check-input {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .25);
}

.footer-newsletter-form .form-check-input:checked {
    background-color: var(--red);
    border-color: var(--red);
}

.ig-badge-city {
    background: var(--slate);
    color: var(--white);
    border: 1px solid var(--slate);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 6px 12px;
    text-decoration: none;
    transition: all var(--transition);
}

.ig-badge-city:hover {
    background: var(--gold);
    color: var(--slate);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ─── Cookie Banner ──────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    z-index: 99998;
    padding: 0 16px 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner--bottom {
    bottom: 0;
    left: 0;
    right: 0;
}

.cookie-banner--top {
    top: 0;
    left: 0;
    right: 0;
}

.cookie-banner--bottom-left {
    bottom: 16px;
    left: 16px;
    max-width: 480px;
}

.cookie-banner--bottom-right {
    bottom: 16px;
    right: 16px;
    max-width: 480px;
}

.cookie-banner__inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 60px rgba(0, 0, 0, .18);
    border: 1px solid var(--gray-200);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner--branded .cookie-banner__inner {
    border-top: 3px solid var(--red);
}

.cookie-banner__content {
    display: flex;
    gap: 16px;
    flex: 1;
    min-width: 280px;
    align-items: flex-start;
}

.cookie-banner__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-banner__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate);
    margin: 0 0 4px;
}

.cookie-banner__message {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.cookie-link {
    color: var(--red);
}

.cookie-banner__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    border-radius: var(--radius);
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: var(--font-body);
}

.cookie-btn--primary {
    background: var(--red);
    color: var(--white);
}

.cookie-btn--primary:hover {
    background: var(--red-dark);
}

.cookie-btn--outline {
    background: transparent;
    border: 1.5px solid var(--red);
    color: var(--red);
}

.cookie-btn--outline:hover {
    background: var(--red-light);
}

.cookie-btn--secondary {
    background: var(--gray-100);
    color: var(--gray-600);
}

.cookie-btn--secondary:hover {
    background: var(--gray-200);
}

.cookie-link {
    color: var(--slate) !important;
    text-decoration: underline;
    font-weight: 500;
    transition: color var(--transition);
}

.cookie-link:hover {
    color: var(--gold) !important;
    text-decoration: none;
}

.cookie-toggle:checked {
    background-color: var(--slate) !important;
    border-color: var(--slate) !important;
}

.cookie-settings-trigger {
    position: fixed;
    bottom: 84px;
    right: 24px;
    z-index: 99990;
    background: var(--slate);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.cookie-settings-trigger:hover {
    background: var(--gold);
    transform: scale(1.1);
}

.cookie-category-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 10px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cookie-prefs-modal {
    border-radius: var(--radius-lg);
    border: none;
}

/* ─── Accessibility Widget ───────────────────────────────── */
.a11y-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99990;
}

.a11y-trigger {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--slate);
    color: var(--white);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.a11y-trigger:hover {
    transform: scale(1.1);
    background: var(--gold);
}

.a11y-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 60px rgba(0, 0, 0, .2);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    animation: a11yOpen 0.2s ease;
}

@keyframes a11yOpen {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.a11y-panel__header {
    background: var(--slate);
    color: var(--white);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.a11y-panel__title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.a11y-btn-icon {
    background: rgba(255, 255, 255, .1);
    border: none;
    color: var(--white);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: background var(--transition);
}

.a11y-btn-icon:hover {
    background: rgba(255, 255, 255, .2);
}

.a11y-panel__body {
    max-height: 440px;
    overflow-y: auto;
    padding: 12px;
}

.a11y-section {
    margin-bottom: 16px;
}

.a11y-section__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-600);
    padding: 0 4px;
    margin-bottom: 8px;
}

.a11y-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.a11y-toggle {
    background: var(--gray-100);
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    padding: 10px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--slate);
    text-align: center;
}

.a11y-toggle i {
    font-size: 1rem;
}

.a11y-toggle:hover {
    background: var(--red-light);
    border-color: var(--red);
    color: var(--red);
}

.a11y-toggle.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.a11y-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.a11y-counter__btn {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    width: 30px;
    height: 28px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all var(--transition);
}

.a11y-counter__btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.a11y-counter__val {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate);
    min-width: 50px;
    text-align: center;
}

.a11y-tool {
    grid-column: 1 / -1;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.a11y-tool__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--slate);
}

.a11y-panel__footer {
    background: var(--birch);
    padding: 10px 14px;
    border-top: 1px solid var(--gray-200);
}

.a11y-disclaimer {
    font-size: 0.72rem;
    color: var(--gray-600);
    margin: 0 0 4px;
}

.a11y-more-link {
    font-size: 0.75rem;
    color: var(--red);
    text-decoration: none;
}

.reading-guide {
    position: fixed;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(255, 235, 59, .25);
    border-top: 1px solid rgba(255, 235, 59, .5);
    border-bottom: 1px solid rgba(255, 235, 59, .5);
    pointer-events: none;
    z-index: 99985;
}

/* ─── Utilities ──────────────────────────────────────────── */
.divider-red {
    height: 3px;
    width: 48px;
    background: var(--red);
    border-radius: 2px;
    margin: 16px 0 24px;
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* ─── Blog Sidebar ───────────────────────────────────────── */
.sidebar-widget {
    margin-bottom: 32px;
}

.sidebar-widget h3 {
    color: var(--red);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--red);
}

.ig-tag {
    display: inline-block;
    background: var(--red-light);
    color: var(--red);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.ig-tag:hover {
    background: var(--red);
    color: var(--white);
}

.ig-badge-city {
    border-radius: 100px;
}

/* Spinner */
.ig-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .ig-hero {
        padding: 60px 0 50px;
        min-height: 70vh;
    }

    .hero-stats {
        gap: 20px;
    }

    .ig-section {
        padding: 56px 0;
    }

    .contact-card {
        padding: 24px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .a11y-panel {
        width: 290px;
        right: -56px;
    }

    .cookie-banner--bottom-left,
    .cookie-banner--bottom-right {
        left: 8px;
        right: 8px;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .ig-hero {
        min-height: auto;
    }
}