/* === HEADER & NAVIGATION === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: #232467;
    color: #ffffff;
    font-size: 10px;
    padding: 8px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}
.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}
.top-bar .uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- MAIN HEADER --- */
.main-header {
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.4s ease, padding 0.4s ease;
    padding: 16px 0;
    position: relative;
    z-index: 1000;
}

/* Divider strictly matching container width (1200px) */
.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 1240px) {
    .main-header::after {
        width: calc(100% - 40px);
    }
}

/* CLASS FOR FIXED STATE */
.main-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    /* Slide-down animation */
    animation: slideDown 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Logo */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* Main menu */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.main-nav a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: #0b3d91;
}
.main-nav .btn-primary {
    background: linear-gradient(135deg, #232467 0%, #232467 100%);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(6, 118, 71, 0.25);
    width: 120px;
    text-align: center;
}
.main-nav .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(6, 118, 71, 0.35);
}

/* Mobile menu (hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #0b3d91;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Header responsiveness */
@media (max-width: 768px) {
    .top-bar-right { display: none; }
    .top-bar .container { justify-content: center; text-align: center; }
    
    .mobile-menu-toggle { display: flex; }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: 100vw;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        box-sizing: border-box;
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-nav a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
        box-sizing: border-box;
    }
    
    .main-nav .btn-primary {
        text-align: center;
        margin-top: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* === BASE STYLES === */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    background-color: #ffffff;
}
a { text-decoration: none; color: inherit; }

/* === HERO BLOCK (FULL WIDTH) === */
.teletom-hero-features {
    display: grid;
    grid-template-columns: 6.7fr 3.3fr; /* 70% / 30% */
    gap: 0;
    align-items: stretch;
    
    /* Full screen width */
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    
    min-height: 500px;
}

/* LEFT PART: Dark blue background with a concave arc */
.teletom-hero-left {
    background: #232467;
    padding: 120px 80px 60px 80px; /* Increased horizontal padding */
    
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q600,120 1200,0 L1200,800 L0,800 Z' fill='white'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q600,120 1200,0 L1200,800 L0,800 Z' fill='white'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Horizontal centering */
    text-align: center; /* Text centering */
}

.teletom-hero-left h1 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 8px 0;
    color: #ffffff;
    letter-spacing: 0.08em;
}
.teletom-hero-left .accent {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #12b76a;
    margin-top: 8px;
    letter-spacing: 0.05em;
}
.teletom-hero-left .subtitle {
    font-size: 20px;
    font-weight: 300; /* Light weight */
    color: #e6efff;
    margin: 16px 0 28px 0;
    line-height: 1.5;
    letter-spacing: 0.05em; /* Slightly less than the heading */
}
.teletom-hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #F4F8F7 0%, #F4F8F7 100%);
    color: #202121 !important;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 42px;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(6, 118, 71, 0.35);
    letter-spacing: 0.05em;
    width: 220px;
}
.teletom-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 118, 71, 0.45);
}

/* RIGHT PART: Light card */
.teletom-hero-right {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.teletom-hero-right h3 {
    font-size: 18px;
    color: #0b3d91;
    margin: 0 0 20px 0;
    font-weight: 700;
}
.teletom-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.teletom-feature-item:last-child {
    margin-bottom: 0;
}
.teletom-feature-item .ico {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}
.teletom-feature-item .text {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.5;
    margin: 0;
}
.teletom-feature-item .text strong {
    color: #0b3d91;
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
}

/* Responsiveness */
@media (max-width: 900px) {
    .teletom-hero-features {
        grid-template-columns: 1fr; /* Single column on mobile */
        min-height: auto;
    }
    .teletom-hero-left {
        padding: 100px 40px 40px;
    }
    .teletom-hero-right {
        padding: 40px 30px;
    }
    .teletom-hero-left h1 {
        font-size: 36px;
        text-align: center;
    }
    .teletom-hero-left .accent {
        font-size: 24px;
        text-align: center;
    }
    .teletom-hero-left .subtitle {
        text-align: center;
    }
    .teletom-hero-btn {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/* === 6 FEATURES GRID === */
.teletom-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.teletom-feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.teletom-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.12);
    border-color: #0b3d91;
}
.teletom-feature-card .ico { font-size: 36px; margin-bottom: 16px; display: block; }
.teletom-feature-card h3 { font-size: 18px; font-weight: 700; color: #0b3d91; margin: 0 0 10px 0; line-height: 1.3; }
.teletom-feature-card p { font-size: 15px; color: #4b5563; line-height: 1.6; margin: 0; }

/* === ALTERNATING BLOCKS === */
.teletom-alt-blocks {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.teletom-alt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}
.teletom-alt-row:nth-child(even) .teletom-alt-image { order: 2; }
.teletom-alt-row:nth-child(even) .teletom-alt-content { order: 1; }
.teletom-alt-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(11, 61, 145, 0.12);
}
.teletom-alt-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: #0b3d91;
    margin: 0 0 16px 0;
    line-height: 1.25;
}
.teletom-alt-content p {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 24px 0;
}
.teletom-alt-btn {
    display: inline-block;
    background: transparent;
    color: #0b3d91 !important;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 28px;
    border: 2px solid #0b3d91;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.teletom-alt-btn:hover {
    background: #0b3d91;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* === FINAL CTA === */
.teletom-final-cta {
    background: linear-gradient(135deg, #0b3d91 0%, #1e6fd9 100%);
    border-radius: 18px;
    padding: 48px 32px;
    text-align: center;
    color: #ffffff;
    margin: 40px auto;
    max-width: 860px;
    box-shadow: 0 12px 32px rgba(11, 61, 145, 0.2);
}
.teletom-final-cta h2 { 
    font-size: 32px; 
    margin: 0 0 12px 0; 
    color: #ffffff !important; 
    line-height: 1.2; 
    font-weight: 700;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.teletom-final-cta .subtitle { 
    font-size: 18px; 
    color: #e6efff; 
    margin: 0 0 32px 0; 
    font-weight: 400;
    text-rendering: optimizeLegibility;
}
.teletom-cta-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
    text-align: left;
}
.teletom-cta-step {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    /* Removing backdrop-filter, which causes text blurring in Chrome */
    transition: transform 0.2s ease, background 0.2s ease;
}
.teletom-cta-step:hover { 
    transform: translateY(-2px); 
    background: rgba(255, 255, 255, 0.15); 
}
.teletom-cta-step .icon { 
    font-size: 28px; 
    flex-shrink: 0; 
    line-height: 1; 
}
.teletom-cta-step .text { 
    font-size: 16px; 
    line-height: 1.5; 
    color: #ffffff; 
    margin: 0;
    font-weight: 500;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.teletom-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #067647 0%, #12b76a 100%);
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700; /* Was 300 — this is the main reason for blurring */
    padding: 16px 48px;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(6, 118, 71, 0.4);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.teletom-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 118, 71, 0.5);
}

/* === RESPONSIVENESS (MOBILE) === */
@media (max-width: 900px) {
    .teletom-hero-features, .teletom-alt-row { grid-template-columns: 1fr; gap: 24px; }
    .teletom-features-grid { grid-template-columns: repeat(2, 1fr); }
    .teletom-hero-left h1 { font-size: 36px; text-align: center; }
    .teletom-hero-left .accent { font-size: 24px; text-align: center; }
    .teletom-hero-left .subtitle { text-align: center; }
    .teletom-hero-btn { display: block; text-align: center; width: 100%; box-sizing: border-box; }
    .teletom-alt-row:nth-child(even) .teletom-alt-image,
    .teletom-alt-row:nth-child(even) .teletom-alt-content { order: unset; }
}
@media (max-width: 600px) {
    .teletom-features-grid { grid-template-columns: 1fr; }
    .teletom-cta-steps { grid-template-columns: 1fr; }
    .teletom-final-cta { padding: 32px 20px; margin: 24px 16px; }
    .teletom-final-cta h2 { font-size: 26px; }
}

/* === KNOWLEDGE BASE BLOCK === */
.kb-section {
    background: #f9fafb;
    padding: 60px 0;
    margin-top: 80px;
}

.kb-header {
    text-align: center;
    margin-bottom: 48px;
}

.kb-title {
    font-size: 32px;
    font-weight: 800;
    color: #0b3d91;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.kb-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #067647 0%, #12b76a 100%);
    border-radius: 2px;
    margin: 0 auto;
}

/* === CAROUSEL === */
.kb-carousel {
    position: relative;
    padding: 0 60px; /* Padding for arrows */
}

.kb-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.kb-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Card: exactly 1/4 of the visible area minus gap */
.kb-post {
    flex: 0 0 calc((100% - 72px) / 4); /* 72px = 3 gaps of 24px */
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kb-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(11, 61, 145, 0.15);
}

.kb-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.kb-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #e5e7eb;
}

.kb-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kb-post:hover .kb-post-image img {
    transform: scale(1.05);
}

.kb-post-title {
    font-size: 16px;
    font-weight: 700;
    color: #0b3d91;
    margin: 16px 20px 12px;
    line-height: 1.3;
}

.kb-post-divider {
    width: 40px;
    height: 2px;
    background: #12b76a;
    margin: 0 20px 12px;
    border-radius: 1px;
}

.kb-post-excerpt {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 20px 20px;
}

/* === ARROWS === */
.kb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0b3d91;
    color: #0b3d91;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(11, 61, 145, 0.15);
    z-index: 10;
}

.kb-arrow:hover:not(:disabled) {
    background: #0b3d91;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(11, 61, 145, 0.3);
}

.kb-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #9ca3af;
    color: #9ca3af;
}

.kb-arrow-left {
    left: 0;
}

.kb-arrow-right {
    right: 0;
}

/* === RESPONSIVE === */

/* Tablet: 3 cards */
@media (max-width: 1024px) {
    .kb-post {
        flex: 0 0 calc((100% - 48px) / 3); /* 48px = 2 gaps */
    }
    .kb-carousel {
        padding: 0 50px;
    }
}

/* Mobile: swipe without arrows */
@media (max-width: 768px) {
    .kb-section {
        padding: 40px 0;
        margin-top: 60px;
    }
    
    .kb-title {
        font-size: 26px;
    }
    
    .kb-header {
        margin-bottom: 32px;
    }
    
    /* Remove padding for arrows */
    .kb-carousel {
        padding: 0;
    }
    
    /* Hide arrows */
    .kb-arrow {
        display: none;
    }
    
    /* Enable horizontal scrolling */
    .kb-carousel-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        
        /* Scrollbar */
        scrollbar-width: thin;
        scrollbar-color: #0b3d91 #e5e7eb;
    }
    
    .kb-carousel-viewport::-webkit-scrollbar {
        height: 6px;
    }
    
    .kb-carousel-viewport::-webkit-scrollbar-track {
        background: #e5e7eb;
        border-radius: 3px;
    }
    
    .kb-carousel-viewport::-webkit-scrollbar-thumb {
        background: #0b3d91;
        border-radius: 3px;
    }
    
    /* Disable JS track transformation */
    .kb-carousel-track {
        transition: none;
        transform: none !important;
    }
    
    /* Full-width card with snapping */
    .kb-post {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
    
    .kb-post-image {
        height: 160px;
    }
}

/* === FOOTER === */
.site-footer {
    margin-top: 80px;
    background-color: #2B3D5B;
    color: #ffffff;
}

/* Main Footer Content */
.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.footer-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #466191 0%, #466191 100%);
    border-radius: 2px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Footer Navigation Links */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Footer Language Switcher */
.footer-lang-switcher {
    margin-top: 4px;
}

.footer-lang-switcher select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 200px;
}

.footer-lang-switcher select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-lang-switcher select:focus {
    outline: none;
    border-color: #12b76a;
    box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.2);
}

.footer-lang-switcher select option {
    background: #0b3d91;
    color: #ffffff;
}

/* Bottom Bar (Copyright) */
.footer-bottom {
    background-color: #3D5681; /* Slightly lighter than the main color */
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: center;
}

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1; /* First column full width */
    }
}

@media (max-width: 600px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-col:first-child {
        grid-column: auto;
    }
    
    .footer-title {
        font-size: 14px;
    }
    
    .footer-text,
    .footer-nav a {
        font-size: 14px;
    }
    
    .footer-lang-switcher select {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(11, 61, 145, 0.15);
  z-index: 9999;
  animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
  padding: 24px;
}

.cookie-banner-text strong {
  display: block;
  font-size: 17px;
  color: #0b3d91;
  margin-bottom: 8px;
  font-weight: 700;
}

.cookie-banner-text p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

.cookie-banner-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cookie-btn {
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #067647 0%, #12b76a 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 118, 71, 0.25);
}

.cookie-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(6, 118, 71, 0.35);
}

.cookie-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.cookie-btn-secondary:hover {
  background: #e5e7eb;
}

.cookie-banner-footer {
  font-size: 13px;
  color: #6b7280;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.cookie-banner-footer a {
  color: #0b3d91;
  text-decoration: none;
  font-weight: 500;
}

.cookie-banner-footer a:hover {
  text-decoration: underline;
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: cookieFadeIn 0.2s ease;
}

@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 61, 145, 0.5);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  animation: cookieModalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookieModalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-modal-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.cookie-modal-header h3 {
  margin: 0;
  font-size: 20px;
  color: #0b3d91;
  font-weight: 700;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.cookie-modal-close:hover {
  background: #f3f4f6;
  color: #0b3d91;
}

.cookie-modal-intro {
  padding: 12px 24px 0;
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

.cookie-category {
  padding: 16px 24px;
  border-bottom: 1px solid #f3f4f6;
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cookie-category-header label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
}

.cookie-category-header input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #067647;
}

.cookie-category-header input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #067647;
  background: #f0faf4;
  padding: 3px 8px;
  border-radius: 4px;
}

.cookie-category-desc {
  margin: 0;
  padding-left: 28px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.cookie-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: flex-end;
}

/* === MOBILE === */
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    max-width: none;
    border-radius: 16px 16px 0 0;
  }
  
  .cookie-banner-content {
    padding: 20px;
  }
  
  .cookie-banner-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-modal-content {
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
    align-self: flex-end;
  }
}