@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #004d2c;      /* Verde institucional oscuro */
    --primary-light: #006a3d;
    --accent: #d4af37;       /* Dorado escudo */
    --surface: #ffffff;
    --background: #f4f6f8;
    --text-strong: #111827;
    --text-base: #374151;
    --text-light: #6b7280;
    --border: #e5e7eb;
    
    --font-heading: 'Barlow', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-base);
    background-color: var(--background);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover { color: var(--primary-light); }

ul { list-style: none; }

/* 
========================================
LAYOUT GRID SYSTEM (Like Bootstrap)
========================================
*/
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-9, .col-md-12 {
    padding: 0 1rem;
}

.col-md-3 { width: 25%; }
.col-md-4 { width: 33.333%; }
.col-md-6 { width: 50%; }
.col-md-8 { width: 66.666%; }
.col-md-9 { width: 75%; }
.col-md-12 { width: 100%; }

@media (max-width: 992px) {
    .col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-9 { width: 100%; }
}

/* 
========================================
TOPBAR
========================================
*/
.topbar {
    background-color: #1a1a1a;
    color: #e5e5e5;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1001;
}

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

.topbar a {
    color: #e5e5e5;
    margin-right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar a:hover { color: var(--accent); }
.topbar-right a { margin-right: 0; margin-left: 1.5rem; }

@media (max-width: 1024px) {
    .topbar { display: none; }
    .mobile-only-links { display: block !important; }
}

/* 
========================================
HEADER & MEGA MENU
========================================
*/
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo img { height: 65px; }

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    line-height: 1;
}

.nav {
    display: flex;
    gap: 1.5rem;
    height: 100%;
}

.nav-group {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    color: var(--text-strong);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link i { font-size: 0.8rem; }
.nav-link:hover, .nav-group:hover .nav-link { color: var(--primary); }

.dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border-top: 3px solid var(--primary);
    min-width: 280px;
    padding: 1rem 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-radius: 0 0 6px 6px;
}

.nav-group:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--text-base);
    font-size: 0.95rem;
    font-weight: 500;
}

.dropdown a:hover {
    background: var(--hover-bg);
    color: var(--primary);
    padding-left: 2rem;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.dropdown-header {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* MEGA DROPDOWN para Áreas */
.dropdown-grid {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
    min-width: 500px;
}
.dropdown-col { flex: 1; }
.dropdown-col li a { padding: 0.4rem 1rem; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-strong);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background: var(--surface);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    .nav.open { left: 0; }
    
    .nav-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        border-bottom: 1px solid var(--border);
        padding-bottom: 0.5rem;
    }
    .nav-group:last-child { border-bottom: none; }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0;
        display: none;
        min-width: 100%;
        border-top: none;
    }
    .nav-group.active .dropdown { display: block; }
    
    .dropdown-grid {
        flex-direction: column;
        min-width: 100%;
        gap: 0;
    }
    .dropdown a { padding: 0.5rem 1rem; font-size: 0.9rem; }

    .mobile-menu-btn { display: block; }
}

/* 
========================================
ACCESIBILIDAD Y DROPDOWNS TOPBAR
========================================
*/
.topbar-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    color: var(--text-base);
    min-width: 250px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
    display: none;
    z-index: 2000;
}
.topbar-dropdown.show { display: block; }
.a11y-btn-group { display: flex; flex-direction: column; gap: 0.8rem; }
.a11y-btn {
    background: #f3f4f6; border: 1px solid #d1d5db;
    padding: 0.6rem; border-radius: 4px; cursor: pointer;
    font-size: 0.95rem; font-weight: 500; text-align: left;
    transition: background 0.2s; color: var(--text-strong);
}
.a11y-btn:hover { background: #e5e7eb; }

body.a11y-high-contrast {
    --primary: #ffff00;
    --primary-light: #ffff00;
    --accent: #ffcc00;
    --surface: #000000;
    --background: #111111;
    --text-strong: #ffffff;
    --text-base: #e5e5e5;
    --text-light: #cccccc;
    --border: #444444;
}
body.a11y-high-contrast .header, body.a11y-high-contrast .sidebar, body.a11y-high-contrast .page-content, body.a11y-high-contrast .icon-card, body.a11y-high-contrast .dropdown, body.a11y-high-contrast .news-card {
    background: #000 !important; border: 1px solid #fff;
}
body.a11y-high-contrast .nav-link, body.a11y-high-contrast h1, body.a11y-high-contrast h2, body.a11y-high-contrast h3, body.a11y-high-contrast h4 {
    color: #ffff00 !important;
}
body.a11y-high-contrast a { color: #58a6ff; text-decoration: underline; }

body.a11y-large-text { font-size: 1.25rem; }
body.a11y-large-text h1 { font-size: 4rem; }
body.a11y-large-text h2 { font-size: 3rem; }
body.a11y-large-text p { font-size: 1.35rem; line-height: 1.9; }

body.a11y-small-text { font-size: 0.9rem; }
body.a11y-small-text h1 { font-size: 2.5rem; }
body.a11y-small-text h2 { font-size: 2rem; }
body.a11y-small-text p { font-size: 0.9rem; line-height: 1.4; }

body.a11y-dyslexia * { font-family: 'Comic Sans MS', 'Open Dyslexic', sans-serif !important; letter-spacing: 1px !important; line-height: 1.8 !important; }

body.a11y-highlight-links a { background-color: yellow !important; color: black !important; text-decoration: underline !important; font-weight: bold !important; }

/* Apply grayscale only to content areas so floating buttons don't disappear */
body.a11y-grayscale #mainHeader, 
body.a11y-grayscale #app, 
body.a11y-grayscale .footer, 
body.a11y-grayscale .topbar { 
    filter: grayscale(100%) !important; 
}

/* 
========================================
CAROUSEL / SLIDER PRINCIPAL
========================================
*/
.main-slider {
    position: relative;
    width: 100%;
    height: 95vh;
    min-height: 700px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active { opacity: 1; }

.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,77,44,0.9) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.slide-desc {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    display: flex;
    gap: 1rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* 
========================================
PAGE BANNERS & BREADCRUMBS
========================================
*/
.page-banner {
    background-size: cover;
    background-position: center;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,77,44,0.85);
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: white;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

.breadcrumbs a { color: white; font-weight: 500; }
.breadcrumbs a:hover { color: var(--accent); }

/* 
========================================
SIDEBAR & PAGE LAYOUT
========================================
*/
.sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.sidebar-menu li a {
    display: block;
    padding: 0.8rem 0;
    color: var(--text-base);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    color: var(--primary);
    padding-left: 10px;
    font-weight: 600;
}

.page-content {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    min-height: 500px;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.page-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.page-content img.featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 
========================================
BOTONES
========================================
*/
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,77,44,0.2);
}

/* 
========================================
FOOTER INSTITUCIONAL
========================================
*/
.footer {
    background: #111827;
    color: #e5e7eb;
}

.footer-top {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

.footer-col { flex: 1; min-width: 250px; }

.footer-logo {
    height: 70px;
    margin-bottom: 1.5rem;
    filter: grayscale(100%) brightness(200%);
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-col p { margin-bottom: 0.8rem; display: flex; gap: 0.8rem; align-items: baseline; }
.footer-col i { color: var(--accent); }

.footer-col.links h4, .footer-col.social h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col.links h4::after, .footer-col.social h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--accent);
}

.footer-col.links ul li { margin-bottom: 0.8rem; }
.footer-col.links a { color: #9ca3af; }
.footer-col.links a:hover { color: var(--accent); padding-left: 5px; }

.social-links { display: flex; gap: 1rem; margin-bottom: 2rem; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    color: white; border-radius: 50%;
}
.social-links a:hover { background: var(--accent); }

.newsletter input {
    width: 100%; padding: 0.8rem;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: white; border-radius: 4px; margin-bottom: 0.5rem;
}
.newsletter button {
    width: 100%; padding: 0.8rem; background: var(--primary); border: none;
    color: white; font-weight: 600; border-radius: 4px; cursor: pointer;
}
.newsletter button:hover { background: var(--accent); color: black; }

.footer-bottom { padding: 1.5rem 0; font-size: 0.9rem; color: #9ca3af; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.legal-links a { color: #9ca3af; margin-left: 1.5rem; }
.legal-links a:hover { color: white; }

@media (max-width: 768px) {
    .flex-between { flex-direction: column; align-items: flex-start; text-align: left; }
    .legal-links a { margin-left: 0; margin-right: 1.5rem; margin-top: 1rem; display: inline-block; }
}

/* Grid Cards para Index */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0;
}
@media (max-width: 768px) {
    .grid-cards { grid-template-columns: 1fr; margin-top: 2rem; }
}
.icon-card {
    background: white; padding: 2.5rem; border-radius: 8px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}
.icon-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-bottom-color: var(--primary); }
.icon-card i { font-size: 3rem; color: var(--primary); margin-bottom: 1.5rem; }
.icon-card h4 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-strong); }

/* Cards para Noticias y Eventos */
.news-card {
    background: white; border-radius: 8px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.news-img { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.news-date { color: var(--accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.news-title { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 1rem; color: var(--primary); line-height: 1.3; }

.news-card-horizontal { flex-direction: row; }
.news-img-horizontal { width: 300px; object-fit: cover; }
@media (max-width: 768px) {
    .news-card-horizontal { flex-direction: column; }
    .news-img-horizontal { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr !important; }
}

/* Directorio Cards */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.dir-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.dir-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.dir-header {
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}
.dir-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.dir-body a {
    color: var(--text-base);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}
.dir-body a:hover { color: var(--primary); }
.dir-body i { color: var(--accent); font-size: 1.1rem; width: 20px; text-align: center; }

/* Botones Flotantes */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2000;
}
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.float-btn:hover { transform: scale(1.1); }
.whatsapp-btn { background: #25D366; }
.a11y-toggle-btn { background: var(--primary); }

.floating-buttons-left {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2000;
}
.cookie-float-btn { background: #FF9800; }

.floating-a11y-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 280px;
    display: none;
}
.floating-a11y-menu.show { display: block; }

/* Cookies Banner and Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 31, 63, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cookie-modal.show {
    opacity: 1;
    pointer-events: auto;
}
.cookie-modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #333;
}
.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-modal-header h3 { margin: 0; color: var(--primary); }
.close-modal-btn {
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #888;
}
.cookie-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}
.cookie-category {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fafafa;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.cookie-category-header h4 { margin: 0; font-size: 1rem; color: #333; }
.cookie-category p { margin: 0; font-size: 0.85rem; color: #666; line-height: 1.4; }

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}
.cookie-toggle .slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
.cookie-toggle input:checked + .slider { background-color: var(--primary); }
.cookie-toggle input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }
.cookie-toggle input:checked + .slider:before { transform: translateX(20px); }

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}
@media (max-width: 768px) {
    .cookie-content { flex-direction: column; align-items: flex-start; }
    .cookie-buttons { width: 100%; justify-content: space-between; }
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}
.contact-info p { margin-bottom: 1rem; font-size: 1.1rem; }
.contact-info i { color: var(--primary); margin-right: 10px; width: 25px; text-align: center; }
