/* index.css */
:root {
    --primary-color: #00bcd4;
    --accent-color: #fd8831;
    --bg-color: #0d0d0d;
    --footer-bg: #050505;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --transition: all 0.3s ease;

    /* Premium Typography */
    --font-heading: 'Century Gothic', CenturyGothic, AppleGothic, 'URW Gothic', 'Avenir Next', Avenir, 'Trebuchet MS', 'Segoe UI', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        overflow-y: auto;
        scrollbar-gutter: auto;
    }
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-color);
}

body {
    color: var(--text-color);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Plays Navigation Section */
.plays-nav-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-color);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    /* Slightly larger for H1 */
    margin-bottom: 50px;
    line-height: 1.2;
    color: var(--text-color);
    text-shadow: none;
    /* Clear any unintended shadows */
}

.section-title .stagger {
    display: inline-block;
    color: var(--accent-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    transition-delay: calc(var(--i) * 0.3s + 0.5s);
    /* Delay starts after section reveal */
}

.reveal-on-scroll.active .stagger {
    opacity: 1;
    transform: translateY(0);
}

/* Booking Section */
.booking-section {
    padding: 120px 0;
    text-align: center;
    background-color: #151515;
    /* Deep Charcoal for subtle contrast */
    border-top: 1px solid rgba(253, 136, 49, 0.1);
    /* Subtle orange tinted separator */
}

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 2rem;
    /* Enlarge once more */
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0px;
    /* Zero margin bottom */
}

/* Tighten gap between subtitle and title */
.section-subtitle+.section-title {
    margin-top: 5px;
}

.helper-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: -30px;
    margin-bottom: 50px;
}

.calendar-container {
    width: 100%;
    max-width: 1000px;
    min-height: 450px;
    margin: 0 auto 50px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 80px 0;
}

.calendar-loading i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.calendar-loading p {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: var(--text-muted);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--footer-bg);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-5px);
}

.btns-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 35px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 44px;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--text-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--footer-bg);
    transform: translateY(-5px);
    box-shadow: none !important;
    /* Force no glow */
}

@media (max-width: 1150px) {
    .btns-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .plays-nav-section {
        padding: 50px 0;
    }

    .btn {
        padding: 15px 20px;
    }
}

/* Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
    will-change: opacity, transform;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: scale(1);
}

/* Posters Gallery Section */
.posters-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--bg-color);
}

.posters-track {
    overflow: hidden;
    width: 100%;
}

.posters-belt {
    display: flex;
    width: max-content;
    animation: scroll-posters 28s linear infinite;
}

.posters-belt:hover {
    animation-play-state: paused;
}

@keyframes scroll-posters {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .posters-belt {
        animation: none;
    }
}

.poster-item {
    flex-shrink: 0;
    width: 200px;
    margin-right: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    aspect-ratio: 2 / 3;
    background: #1a1a1a;
}

.poster-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.poster-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.poster-item:hover img {
    transform: scale(1.05);
}


.no-scroll {
    overflow: hidden;
}

.text-accent {
    color: var(--accent-color);
    font-style: italic;
}

.history-title {
    font-style: italic;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(253, 136, 49, 0.2);
}

/* === Home header variant === */
.main-header.header-home {
    background: transparent;
    padding: 0;
}

.main-header.header-home.scrolled {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
}

.main-header.header-home .header-container {
    align-items: flex-start;
    padding-right: 0;
}

.main-header.header-home .nav-menu {
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(10px);
    padding: 8px 28px;
    margin-top: 10px;
    border-radius: 6px 0 0 6px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 130px;
    width: auto;
    transition: var(--transition);
}

.main-header.scrolled .header-logo img {
    height: 100px;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Burger toggle animation */
.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Header */
@media (max-width: 1200px) {
    .nav-list {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 1050px) {
    .main-header {
        padding: 8px 0 !important;
        /* Force smaller height */
    }

    .main-header.scrolled {
        padding: 5px 0 !important;
    }

    .header-container {
        padding: 0 15px;
    }

    .header-logo img {
        height: 70px !important;
    }

    .main-header.scrolled .header-logo img {
        height: 60px !important;
    }

    .burger-menu {
        display: flex;
    }

    .header-home .burger-menu {
        background: rgba(5, 5, 5, 0.88);
        backdrop-filter: blur(10px);
        padding: 10px 12px;
        border-radius: 6px 0 0 6px;
        margin-top: 10px;
        margin-right: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 90%;
        max-width: 420px;
        height: 100vh;
        height: 100svh;
        background-color: var(--footer-bg);
        padding: 60px 25px 40px;
        padding-bottom: max(40px, env(safe-area-inset-bottom));
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        /* Tighter gap for better vertical fit */
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 5px 0;
    }

    .mobile-nav-footer {
        margin-top: auto;
        padding-top: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-contact p {
        color: var(--accent-color);
        font-family: var(--font-heading);
        font-size: 0.8rem;
        letter-spacing: 1px;
        margin: 0;
        text-transform: uppercase;
    }

    .mobile-phones {
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        color: var(--text-color);
        font-size: 0.95rem;
    }

    .mobile-phones a,
    .mobile-email,
    .mobile-socials a {
        color: var(--text-color);
        text-decoration: none;
        transition: var(--transition);
        display: inline-block;
    }

    .mobile-email {
        color: var(--accent-color) !important;
        font-size: 0.85rem !important;
        word-break: break-all;
    }

    .mobile-phones a:hover,
    .mobile-email:hover {
        filter: brightness(1.2);
        transform: none;
        /* Removed translateX */
    }

    .mobile-socials {
        display: flex;
        gap: 20px;
    }

    .mobile-socials a {
        font-size: 1.4rem;
    }

    .mobile-socials a:hover {
        color: var(--accent-color);
        transform: translateY(-3px);
    }
}

.mobile-nav-footer {
    display: none;
}

@media (max-width: 1050px) {
    .mobile-nav-footer {
        display: flex;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 1200px;
}

.sequence-text {
    font-family: 'Futura Medium', Futura, 'Century Gothic', 'URW Gothic', 'Avenir Next', Avenir, 'Trebuchet MS', sans-serif;
    color: var(--text-color);
    font-size: clamp(1.5rem, 6vw, 4rem);
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    transition: opacity 1s ease-in-out;
}

.hero-logo-container {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-logo {
    width: 100%;
    max-width: 700px;
    /* Increased size as requested */
    height: auto;
    filter: drop-shadow(0 0 15px rgba(253, 136, 49, 0.4));
    margin: 0 auto;
}

.visible {
    opacity: 1 !important;
}

.hidden {
    display: none;
}

main {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
}

h1 {
    color: var(--primary-color);
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
    text-align: center;
    margin-bottom: 30px;
}

/* Footer Styles */
.main-footer {
    background-color: var(--footer-bg);
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(253, 136, 49, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 8px 0;
    font-weight: 300;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-column a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-link-accent {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.footer-link-accent:hover {
    filter: brightness(1.2);
    transform: none !important;
}

.footer-phones {
    white-space: nowrap;
    display: block;
}

.footer-brand .footer-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
    display: block;
    /* Extremely subtle definition */
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.2));
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    font-size: 1.4rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-socials a:hover {
    background: var(--accent-color);
    color: var(--footer-bg);
    transform: translateY(-5px) !important;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .glass-morphism {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* --- Responsive Adjustments --- */

/* Tablets */
@media (max-width: 1024px) {
    .footer-container {
        justify-content: center;
        text-align: center;
    }

    .footer-column {
        flex: 1 1 40%;
        /* Two columns on tablets */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand {
        flex: 1 1 100%;
        /* Brand takes full width and centers */
        margin-bottom: 20px;
    }

    .footer-brand .footer-logo img {
        margin: 0 auto 25px;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .main-footer {
        padding: 60px 20px 30px;
    }

    .footer-column {
        flex: 1 1 100%;
        /* Single column */
    }

    .footer-container {
        gap: 40px;
    }
}

/* History Section */
.history-section {
    padding: 100px 0 80px;
    text-align: center;
    background-color: var(--bg-color);
    overflow: hidden;
    border-top: 1px solid rgba(253, 136, 49, 0.05);
}

.history-section .section-title {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

.history-content {
    max-width: 850px;
    margin: 40px auto 0;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

.history-content p {
    margin-bottom: 25px;
}

.no-transition {
    transition: none !important;
}

.van-track {
    width: 220px;
    margin: 40px auto;
    pointer-events: none;
    transform: translateX(150vw);
    transition: transform 3.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.van-track.arrived {
    transform: translateX(0);
}

.van-track.exiting {
    transform: translateX(150vw);
    transition: transform 2.5s cubic-bezier(0.4, 0, 1, 1);
}

.pinguneta-van {
    width: 220px;
    height: auto;
    animation: bounce 0.4s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
    cursor: pointer;
    pointer-events: auto;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 80px 0 60px;
    }

    .history-content {
        font-size: 1.05rem;
        padding: 0 15px;
    }

    .pinguneta-van {
        width: 160px;
    }
}

/* --- Hero compartido: Primaria, Secundaria, Familiar --- */

.page-hero {
    height: 100vh;
    height: 100svh;
    display: flex;
    overflow: hidden;
}

.page-hero .hero-image-panel {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
}

.page-hero .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.88) saturate(0.85);
    transition: transform 9s ease;
}

.page-hero:hover .hero-bg-img {
    transform: scale(1.04);
}

.page-hero .hero-text-panel {
    flex: 1;
    background: #020202;
    border-left: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    padding: 80px 70px;
}

.page-hero .hero-text {
    width: 100%;
    max-width: 400px;
}

.page-hero .hero-text::before {
    content: '';
    display: block;
    width: 44px;
    height: 2px;
    background: var(--accent-color);
    margin-bottom: 24px;
}

.page-hero .hero-eyebrow {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-hero .hero-title {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: clamp(2.2rem, 3.2vw, 4rem);
    line-height: 1.05;
    margin-bottom: 22px;
}

.page-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 38px;
}

.page-hero .hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    text-decoration: none;
    animation: pageHeroBounce 2s ease-in-out infinite;
    transition: color 0.3s ease;
}

.page-hero .hero-scroll-hint:hover {
    color: var(--accent-color);
}

@keyframes pageHeroBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@media (max-width: 900px) {
    .page-hero .hero-text-panel {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        flex-direction: column;
    }

    .page-hero .hero-image-panel {
        flex: 0 0 48%;
    }

    .page-hero .hero-text-panel {
        flex: 1;
        border-left: none;
        border-top: 3px solid var(--accent-color);
        padding: 28px 24px 50px;
        align-items: flex-start;
    }

    .page-hero .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    .page-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .page-hero .hero-scroll-hint {
        bottom: 14px;
    }
}

/* Lightbox Modal */
.poster-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.poster-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(253, 136, 49, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.poster-modal.active .modal-content img {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .close-modal {
        top: -40px;
        font-size: 2rem;
    }
}

/* ── Accesibilidad: focus visible global ── */
:focus {
    outline: 2px solid var(--accent-color, #c4a35a);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--accent-color, #c4a35a);
    outline-offset: 2px;
}

/* ── Skip link ── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1.25rem;
    background: #fff;
    color: #000;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ── Respeta prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}