* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2b4a;
    --dark-green: #1e3a3a;
    --white: #ffffff;
    --gold: #d4af37;
    --copper: #b87333;
    --text-secondary: #6b7280;
    --blue-accent: #0066ff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --surface: #f9fafb;
    --border: #e5e7eb;
    --dark-gray: #333333;
    --accent-green: #10b981;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'IBM Plex Sans', sans-serif;
    --font-body: var(--font-sans);
    --font-display: var(--font-serif);
    --text-primary: var(--navy);

    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(26, 43, 74, 0.06), 0 4px 16px rgba(26, 43, 74, 0.06);
    --shadow-md: 0 4px 24px rgba(26, 43, 74, 0.1);

}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;
}

/* Elegant typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}


.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}


p {
    font-family: var(--font-sans);
}

/* SVG Base Responsiveness Fix */
.phase-icon svg,
.tool-logo svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    width: 80%; /* Default scaling */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--gold);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 1.1rem;
}

.cta-button:hover {
    background: #c49f2a;
    transform: translateX(5px);
}

.target-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ============================================================ PROOF STRIP */
.proof-strip {
    padding: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.proof-strip::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
}

.proof-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.25rem 2.5rem;
    gap: 2rem;
}

.proof-eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.credentials { display: flex; gap: 3rem; flex-wrap: wrap; }

.credential {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: relative;
    padding-left: 1.25rem;
}

.credential::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background: var(--gold);
    opacity: 0.45;
}

.credential-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}

.credential-desc {
    font-size: 0.76rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Section styling */
section {
    margin: 0 auto;
    padding: 6rem 3rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Problem cards - elegant stat presentation */
.problem-grid {
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    margin-left: auto;  
    margin-right: auto;
}

.problem-card {
    padding: 2.75rem 2.25rem;
    background: var(--white);
    position: relative;
    border: 1px solid var(--border);
    transition: background 0.3s ease;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover { background: #fafbff; }

.problem-card h3 {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-accent);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.stat {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-context {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.impact {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.disclaimer {
    font-size: 0.76rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.85;
}

.narrative-text {
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.25rem;
}


/* ============================================================ SOLUTION */
.solution {
    padding: 7rem 3rem;
    background: linear-gradient(155deg, var(--navy) 0%, var(--dark-green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.solution::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 65%);
    pointer-events: none;
}

.solution .section-title { color: var(--white); }
.solution .section-subtitle { color: rgba(255,255,255,0.6); }

.sprint-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    margin-bottom: 3.5rem;
    background: rgba(255,255,255,0.07);
}

.phase {
    background: rgba(255,255,255,0.03);
    padding: 2.5rem 2rem;
    position: relative;
    transition: background 0.3s ease;
}

.phase:hover { background: rgba(255,255,255,0.07); }

.phase::after {
    content: attr(data-num);
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 300;
    color: rgba(212,175,55,0.08);
    line-height: 1;
    pointer-events: none;
}

.phase-timeline {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.4);
    color: var(--gold);
    padding: 0.28rem 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.phase-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.phase-description {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-weight: 300;
}

.deliverable {
    font-size: 0.8rem;
    color: var(--accent-green);
    padding: 0.65rem 1rem;
    background: rgba(16,185,129,0.07);
    border-left: 2px solid var(--accent-green);
    font-weight: 400;
}

.pricing-teaser {
    text-align: center;
    padding: 2.5rem 3rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.22);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.pricing-teaser::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 56px; height: 1.5px;
    background: var(--gold);
}

.pricing-amount {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.pricing-amount strong { font-weight: 600; color: var(--gold); }

.risk-reversal {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    margin-top: 0.25rem;
}

/* Why Clairbase Section */
.why-clairbase {
    padding: 6rem 0;
    background-color: var(--white);
}

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

.why-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.why-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gold);
}

/* ============================================================
   INFRASTRUCTURE - CLEAN EDITORIAL STYLE
   ============================================================ */
/* ============================================================
   INFRASTRUCTURE HYBRID SECTION
   ============================================================ */

.infra-hybrid {
    padding: 10rem 0;
    background-color: var(--white);
    color: var(--navy);
}

.hybrid-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: flex-start;
}

.hybrid-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hybrid-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.standard-seal {
    padding: 1.5rem;
    background: var(--light-gray);
    border-left: 3px solid var(--gold);
    font-size: 0.95rem;
    color: var(--navy);
}

/* Stepper logic */
.hybrid-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 2.5rem;
    padding-bottom: 4rem;
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
    position: relative;
}

.step-item:last-child {
    border-left: 1px solid transparent; /* Usuwamy linię na końcu */
    padding-bottom: 0;
}

.step-index {
    position: absolute;
    left: -13px; /* Pozycjonowanie kropki/numeru na linii */
    top: 0;
    width: 26px;
    height: 26px;
    background: var(--white);
    border: 1px solid var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy);
    z-index: 2;
}

.step-content h3 {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: -4px; /* Wyrównanie do góry numeru */
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 480px;
}

/* Integracja logo wewnątrz kroku 2 */
.active-step {
    background: rgba(26, 43, 74, 0.02);
    padding-top: 2rem;
    margin-top: -2rem;
    border-radius: 0 8px 8px 0;
}

.partner-logos-inline {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mini-logo {
    height: 32px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mini-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.mini-logo-aws {
    height: 70px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}


.mini-logo-aws:hover {
    filter: grayscale(0);
    opacity: 1;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

@media (max-width: 1023px) {
    .hybrid-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}
/* Experience section background */
.experience-section {
    background: #f9fafb;
}

/* Experience cards - premium layout */
.experience-grid {
    position: relative;
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
    justify-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.experience-card {
    max-width: 1000px;
    padding: 4rem;
    background: white;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-accent), var(--accent-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.experience-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.experience-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.experience-category {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-accent);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.experience-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.experience-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.experience-list {
    list-style: none;
    margin-bottom: 2rem;
}

.experience-list li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.experience-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--blue-accent);
    font-weight: bold;
}

.experience-impact {
    padding: 2rem;
    background: var(--surface);
    border-left: 3px solid var(--accent-green);
}

.impact-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.impact-text {
    color: var(--text-primary);
    line-height: 1.8;
}

.experience-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
}
/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-green) 100%);
    color: var(--white);
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-form form {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.contact-button {
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.contact-button:hover {
    background: #c49f2a;
    transform: translateX(3px);
}

.contact-direct {
    margin-top: 2rem;
}

.contact-email {
    display: block;
    color: var(--gold);
    text-decoration: none;
    margin: 0.5rem 0;
    font-weight: 500;
}

.contact-location {
    margin-top: 1rem;
    opacity: 0.8;
}

.cta-benefits {
    list-style: none;
    margin: 2rem 0 3rem;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-benefits li::before {
    content: '→';
    color: var(--accent-green);
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    opacity: 0.65;
}

.footer-text {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    font-weight: 300;
    letter-spacing: 0.04em;
}
/* ===== RESPONSIVE DESIGN ===== */
/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .logo {
        font-size: 2.8rem;
    }

    .problem-card {
        padding: 1.5rem;
    }
    
    .proof-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.75rem 1.5rem;
    }
    
    .credentials {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hybrid-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .infra-hybrid {
        padding: 6rem 0;
    }

    .step-item {
        padding-left: 2rem;
        gap: 1.5rem;
    }
    
    .sprint-phases {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Subtle parallax effect for hero background */
.parallax-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    will-change: transform;
}

/* Mobile: ≤ 767px */
@media (max-width: 767px) {
    .container {
        padding: 0 1.2rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .logo {
        font-size: 2.3rem;
        margin-bottom: 2rem;
    }

    .problem-card {
        padding: 1.2rem;
    }

    .sprint-phases {
        grid-template-columns: 1fr;
    }

    .phase {
        padding: 1.3rem 1.5rem;
    }

    .phase::after {
        font-size: 3.3rem;
        top: 0.8rem;
        right: 1rem;
    }

    .pricing-teaser {
        padding: 1.8rem 1.4rem;
    }

    .step-item {
        padding-left: 1.6rem;
        padding-bottom: 2.5rem;
    }

    .partner-logos-inline {
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .mini-logo-aws {
        height: 56px;
    }

    .mini-logo {
        height: 28px;
    }

    .contact-form {
        margin-bottom: 2.25rem;
    }

    .contact-form form {
        flex-direction: column;
        gap: 0.9rem;
    }

    .contact-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .experience-card {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}

/* Small Mobile: ≤ 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.98rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .problem-card {
        padding: 1rem;
    }
    
    .experience-card {
        padding: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .sprint-phases {
        grid-template-columns: 1fr;
    }

    .phase {
        padding: 1.3rem;
    }

    .phase-timeline {
        font-size: 0.8rem;
        padding: 0.25rem 0.7rem;
    }

    .phase-title {
        font-size: 1.2rem;
    }

    .phase-description {
        font-size: 0.95rem;
    }

    .deliverable {
        font-size: 0.9rem;
    }
    
    .step-item {
        padding-left: 1.3rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }

    .pricing-teaser {
        padding: 1.5rem;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .contact-form form {
        flex-direction: column;
        gap: 0.85rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
}

/* ============================================================
   FOOTER LINKS (Privacy & Cookie settings)
   ============================================================ */
.footer-link {
    margin-left: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.72rem;
    font-weight: 400;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-link-button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 1100;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem 1.3rem;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.cookie-banner-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 58ch;
    line-height: 1.65;
}

.cookie-banner-text a {
    color: var(--blue-accent);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.62rem 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-ghost {
    background: var(--white);
    color: var(--navy);
}

.cookie-btn-ghost:hover {
    background: var(--surface);
}

.cookie-btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.cookie-btn-primary:hover {
    background: #c49f2a;
    border-color: #c49f2a;
}

/* ============================================================
   COOKIE MODAL
   ============================================================ */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 43, 74, 0.52);
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1.2rem;
}

.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal-panel {
    width: min(680px, 100%);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1.7rem;
}

.cookie-modal-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
}

.cookie-modal-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.cookie-option-title {
    font-weight: 600;
    color: var(--navy);
}

.cookie-option-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c8ced8;
    transition: 0.3s;
    border-radius: 999px;
}

.slider:before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: var(--blue-accent);
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
}

.switch input:disabled + .slider {
    background-color: var(--accent-green);
    opacity: 0.65;
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-body {
    background: var(--surface);
    color: var(--navy);
}

.privacy-main {
    max-width: 940px;
    margin: 0 auto;
    padding: 3.5rem 1.2rem 4rem;
}

.privacy-card {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin-bottom: 1.25rem;
}

.privacy-title {
    font-size: clamp(2rem, 4vw, 2.7rem);
    margin-bottom: 0.7rem;
}

.privacy-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.privacy-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.privacy-card p,
.privacy-card li {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.96rem;
}

.privacy-card ul {
    margin-left: 1.3rem;
}

.privacy-home {
    margin-top: 0.6rem;
    display: inline-block;
}

/* ============================================================
   COOKIE / PRIVACY / FOOTER — MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .cookie-banner {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        flex-direction: column;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-modal-panel {
        padding: 1.25rem;
    }

    .cookie-modal-actions {
        flex-direction: column;
    }

    .footer-link,
    .footer-link-button {
        display: inline-block;
        margin-top: 0.4rem;
        margin-left: 0;
    }

    .privacy-card {
        padding: 1.3rem;
    }
}