:root {
    /* New Primary Palette based on Royal Bordeaux / Burgundy (Wine Red) & Gold Accent */
    --bg-dark: #58111a;      /* Primary Royal Bordeaux / Burgundy requested by Alonso */
    --bg-darker: #3d0c13;    /* Richer/Deeper Bordeaux for alternating backgrounds, Header, and Footer */
    --bg-card: rgba(58, 12, 18, 0.94); /* Deep burgundy glassmorphism card matching logo blend background */
    --bg-card-hover: rgba(65, 14, 21, 0.98);
    --border-color: rgba(232, 190, 21, 0.35);
    --border-highlight: rgba(232, 190, 21, 0.85);
    --gold: #e8be15;
    --gold-hover: #f5cc27;
    --gold-glow: rgba(232, 190, 21, 0.4);
    --text-main: #f8fafc;
    --text-muted: #e2e8f0;   /* Bright muted text for perfect readability on Bordeaux */
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Assistant', sans-serif;
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(232, 190, 21, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(61, 12, 19, 0.6) 0%, transparent 50%);
}

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: #4a5040;
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Utility & Animations */
.gold-gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--gold) 50%, #f5cc27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--gold) 0%, #d4aa0d 100%);
    color: #1a1d17;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--gold-glow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(232, 190, 21, 0.6);
    background: linear-gradient(135deg, #f5cc27 0%, var(--gold) 100%);
    color: #000;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(61, 12, 19, 0.6);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(232, 190, 21, 0.15);
    transform: translateY(-3px);
    color: var(--gold);
}

/* Logo Styling - Transparent Background (No Square Border or Box!) */
.logo-img {
    max-height: 76px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen !important;
    filter: contrast(1.15) brightness(1.05);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 1.8rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 190, 21, 0.15);
    background: var(--bg-card-hover);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Image Container Styling - Natural Aspect Ratio (No Cropping!) */
.placeholder-container {
    position: relative;
    border: 2px solid rgba(232, 190, 21, 0.4);
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: var(--bg-darker);
    transition: all 0.3s ease;
    display: block;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.placeholder-container img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    object-position: center top;
    transition: all 0.5s ease;
}

.placeholder-container:hover img {
    transform: scale(1.03);
}

/* Interactive Carousel Styling */
.carousel-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    max-width: 100%;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 420px;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#location-carousel .carousel-slide {
    background: #2a070c;
    display: flex;
    align-items: center;
    justify-content: center;
}

#location-carousel .carousel-slide img {
    object-fit: contain !important;
    width: 100%;
    height: 100%;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(42, 7, 12, 0.95) 0%, rgba(42, 7, 12, 0.6) 60%, transparent 100%);
    padding: 2.5rem 2rem 1.5rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(61, 12, 19, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 1.5rem; }
.carousel-btn.next { right: 1.5rem; }

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    z-index: 10;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.carousel-dots .dot.active {
    background: var(--gold);
    transform: scale(1.3);
    border-color: #000;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==========================================
   SCISSORS CUT LOADING SCREEN (Barber Theme)
   ========================================== */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: auto;
    overflow: hidden;
}

#loading-screen.hidden-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-half {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: radial-gradient(circle at center, #58111a 0%, #3d0c13 100%);
    z-index: 1;
    transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1);
    will-change: transform;
}

.loader-left {
    left: 0;
    border-right: 1px solid rgba(232, 190, 21, 0.3);
    box-shadow: 10px 0 30px rgba(0,0,0,0.6);
}

.loader-right {
    right: 0;
    border-left: 1px solid rgba(232, 190, 21, 0.3);
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
}

.loader-branding {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    width: 90%;
    max-width: 600px;
}

.loader-cut-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 0%;
    background: linear-gradient(180deg, #fff 0%, var(--gold) 50%, #f5cc27 100%);
    box-shadow: 0 0 15px var(--gold), 0 0 30px #fff, 0 0 45px var(--gold);
    z-index: 3;
    transform: translateX(-50%);
    transition: height 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.loader-scissors-wrapper {
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    z-index: 4;
    transition: top 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.15s ease;
}

/* Scissors Blade Animations */
.blade-upper {
    transform-origin: 25px 50px;
    animation: snipUpper 0.2s infinite alternate ease-in-out;
}

.blade-lower {
    transform-origin: 25px 50px;
    animation: snipLower 0.2s infinite alternate ease-in-out;
}

@keyframes snipUpper {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-22deg); }
}

@keyframes snipLower {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(22deg); }
}

/* When the cut starts revealing the page IN TANDEM with the cut */
#loading-screen.screen-parting .loader-branding {
    opacity: 0;
    transform: translate(-50%, -65%) scale(0.95);
}

#loading-screen.screen-parting .loader-left {
    transform: translateX(-100%);
    border-right-color: transparent !important;
}

#loading-screen.screen-parting .loader-right {
    transform: translateX(100%);
    border-left-color: transparent !important;
}

#loading-screen.screen-cut .loader-scissors-wrapper,
#loading-screen.screen-cut .loader-cut-line {
    opacity: 0 !important;
    transition: opacity 0.15s ease !important;
}

/* Modals (404, Privacy, Accessibility) */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(45, 9, 14, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-dark);
    border: 2px solid var(--gold);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px var(--gold-glow);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gold);
    color: #000;
    transform: rotate(90deg);
}

/* Layout Grid & Responsive Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   SUCCESSFUL WEBSITE PADDING RULES (UI/UX Best Practices)
   ========================================== */
.section-padding {
    padding: 2.75rem 0; /* Compact, ergonomic spacing on desktop screens */
}

@media (max-width: 992px) {
    .section-padding {
        padding: 2rem 0; /* Balanced rhythm on tablets */
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 1.5rem 0; /* Compact, efficient spacing on mobile so each section fits in full! */
    }
    /* Premium Mobile Typography Sizing */
    h1 { font-size: 2.1rem !important; line-height: 1.25 !important; margin-bottom: 1rem !important; }
    h2 { font-size: 1.65rem !important; line-height: 1.25 !important; margin-bottom: 1.2rem !important; }
    h3 { font-size: 1.25rem !important; }
    
    /* Perfect Mobile Button Proportions & Wrapping Protection */
    .btn-gold, .btn-outline {
        padding: 0.75rem 1.2rem !important;
        font-size: 1.05rem !important;
        line-height: 1.35 !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 50px !important;
        white-space: normal;
        word-break: break-word;
    }
    
    /* Perfect Mobile Grid & Image Proportions (Title above, Image below!) */
    .grid-2 {
        gap: 1.25rem !important;
    }
    .placeholder-container {
        max-width: 360px;
        margin: 0 auto;
        border-radius: 1.25rem;
    }
    .placeholder-container img {
        max-height: 260px !important;
        object-fit: cover;
    }
    .carousel-track {
        height: 330px !important;
    }
    #location-carousel {
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 1.25rem 0; /* Optimized for small mobile screen real estate */
    }
    .container {
        padding: 0 1.1rem;
    }
    /* Compact Small-Screen Typography & Proportions */
    h1 { font-size: 1.95rem !important; }
    h2 { font-size: 1.5rem !important; }
    .grid-2 {
        gap: 1rem !important;
    }
    .placeholder-container img {
        max-height: 220px !important;
    }
    .carousel-track {
        height: 300px !important;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
}

.grid-2 > * {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Equipment Chips & Interactive Buttons */
.chip, .kit-chip {
    background: rgba(61, 12, 19, 0.85);
    border: 1px solid rgba(232, 190, 21, 0.3);
    padding: 0.85rem 1.4rem;
    border-radius: 9999px;
    font-size: 1.05rem;
    font-family: inherit;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.chip:hover, .kit-chip:hover {
    border-color: var(--gold);
    background: rgba(232, 190, 21, 0.25);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 25px rgba(232, 190, 21, 0.35);
    color: var(--gold);
}

.kit-chip:active, .kit-chip.active {
    background: linear-gradient(135deg, var(--gold) 0%, #d4aa0d 100%);
    color: #12140f !important;
    border-color: #fff;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(232, 190, 21, 0.7), 0 8px 20px rgba(0,0,0,0.5);
    transform: translateY(-2px) scale(1.05);
}

/* Accordion / Timeline */
.timeline-item {
    border-right: 3px solid var(--gold);
    padding-right: 2rem;
    padding-bottom: 1.75rem;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
    border-right-color: transparent;
}

.timeline-dot {
    position: absolute;
    right: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 10px var(--gold);
}

/* Navigation Responsive & Header Layout */
.nav-links {
    display: none;
    gap: 2rem;
    list-style: none;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
    .mobile-only-btn, .mobile-logo {
        display: none !important;
    }
    .desktop-logo, .desktop-only-nav {
        display: flex !important;
    }
}

@media (max-width: 991px) {
    .desktop-logo, .desktop-only-nav {
        display: none !important;
    }
    .mobile-only-btn {
        display: flex !important;
    }
    .mobile-logo {
        display: flex !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .header-left-sec .btn-gold {
        padding: 0.55rem 1.1rem !important;
        font-size: 0.88rem !important;
    }
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 49;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.mobile-menu.open {
    transform: translateY(0);
}

/* ==========================================
   FLOATING ACTION BUTTONS (WhatsApp & Accessibility)
   ========================================== */
.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 8900;
    background: linear-gradient(135deg, #f5cc27 0%, #e8be15 100%);
    color: #12140f;
    border: 2px solid #fff;
    box-shadow: 0 0 25px rgba(232, 190, 21, 0.6);
    animation: pulseGoldGlow 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 0 35px rgba(232, 190, 21, 0.9);
    color: #000;
    background: linear-gradient(135deg, #fff 0%, #f5cc27 100%);
}

.accessibility-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 8900;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.5);
}

.accessibility-float:hover {
    transform: scale(1.15) translateY(-5px);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 0 35px rgba(37, 99, 235, 0.8);
    color: #fff;
}

.float-tooltip {
    position: absolute;
    bottom: 70px;
    background: var(--bg-darker);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--gold);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    pointer-events: none;
}

.whatsapp-float .float-tooltip { left: 0; }
.accessibility-float .float-tooltip { right: 0; }

.floating-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 65px;
}

@keyframes pulseGoldGlow {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(232, 190, 21, 0.5); }
    50% { transform: scale(1.06); box-shadow: 0 0 30px rgba(232, 190, 21, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 15px rgba(232, 190, 21, 0.5); }
}

/* ==========================================
   SECTION TRANSITIONS & SCROLL EFFECTS
   ========================================== */
@keyframes sectionGlow {
    0% { box-shadow: inset 0 0 0 rgba(232, 190, 21, 0); background-color: transparent; }
    30% { box-shadow: inset 0 0 50px rgba(232, 190, 21, 0.25); background-color: rgba(232, 190, 21, 0.06); }
    100% { box-shadow: inset 0 0 0 rgba(232, 190, 21, 0); background-color: transparent; }
}

.section-highlight-effect {
    animation: sectionGlow 1.8s ease-out;
    border-radius: 1rem;
}

.nav-link.active-nav {
    color: var(--gold);
    text-shadow: 0 0 12px rgba(232, 190, 21, 0.6);
}

.nav-link.active-nav::after {
    width: 100%;
}

.reveal-element {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================
   ACCESSIBILITY MENU & MODIFERS
   ========================================== */
/* ==========================================
   ACCESSIBILITY LAW (STANDARD 5568 / WCAG 2.0 AA) STYLES
   ========================================== */
body.a11y-increase-text {
    font-size: 115% !important;
}
body.a11y-increase-text h1 { font-size: calc(3.5rem * 1.15) !important; }
body.a11y-increase-text h2 { font-size: calc(2.5rem * 1.15) !important; }
body.a11y-increase-text h3 { font-size: calc(1.75rem * 1.15) !important; }
body.a11y-increase-text p, body.a11y-increase-text li, body.a11y-increase-text span, body.a11y-increase-text a { font-size: 1.15em !important; }

body.a11y-decrease-text {
    font-size: 90% !important;
}
body.a11y-decrease-text h1 { font-size: calc(3.5rem * 0.9) !important; }
body.a11y-decrease-text h2 { font-size: calc(2.5rem * 0.9) !important; }
body.a11y-decrease-text h3 { font-size: calc(1.75rem * 0.9) !important; }
body.a11y-decrease-text p, body.a11y-decrease-text li, body.a11y-decrease-text span, body.a11y-decrease-text a { font-size: 0.9em !important; }

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

body.a11y-focus-highlight *:focus,
body.a11y-focus-highlight *:focus-visible,
body.a11y-focus-highlight a:focus,
body.a11y-focus-highlight button:focus,
body.a11y-focus-highlight input:focus {
    outline: 3px solid #ffff00 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 12px rgba(255, 255, 0, 0.9) !important;
}

body.a11y-high-contrast {
    background: #000 !important;
    color: #fff !important;
}
body.a11y-high-contrast * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #ffff00 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
body.a11y-high-contrast a, body.a11y-high-contrast button, body.a11y-high-contrast .btn-gold, body.a11y-high-contrast .btn-outline {
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
    background: #000 !important;
}
body.a11y-high-contrast img {
    filter: contrast(140%);
}

body.a11y-highlight-links a {
    text-decoration: underline !important;
    text-decoration-color: #ffff00 !important;
    text-decoration-thickness: 3px !important;
    background-color: rgba(255, 255, 0, 0.2) !important;
    color: #ffff00 !important;
}

body.a11y-readable-font * {
    font-family: Arial, Helvetica, Tahoma, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

body.a11y-stop-animations * {
    animation: none !important;
    transition: none !important;
}

.a11y-btn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
}

.a11y-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.85rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.a11y-btn:hover, .a11y-btn.active {
    background: var(--gold);
    color: #12140f;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 190, 21, 0.3);
}

.a11y-btn svg {
    display: block;
    margin: 0 auto;
}
