/**
 * Teatre Lloseta - Estils principals
 * Disseny elegant en negre i granat
 */

/* ==========================================================================
   Variables i Reset
   ========================================================================== */

:root {
    /* Colors principals */
    --color-primario: #8a2425;
    --color-secundario: #7a1f20;
    --color-terciario: #c94344;
    --color-oscuro: #0d0d0d;
    --color-negro: #000000;
    --color-claro: #f8f9fa;
    --color-gris: #e9ecef;
    --color-gris-oscuro: #1a1a1a;
    --color-texto: #333333;
    --color-texto-claro: #ffffff;

    /* Textos millorats WCAG AA/AAA (contrast mínim 4.5:1) */
    --color-texto-primary: #2d2d2d;      /* Contrast 13.5:1 sobre blanc */
    --color-texto-secondary: #3d3d3d;    /* Contrast 10:1 sobre blanc (era #4a4a4a) */
    --color-texto-muted: #5a5a5a;        /* Contrast 7:1 sobre blanc (era #777777) */
    --color-texto-light: rgba(255, 255, 255, 0.95); /* Millorat de 0.85 */

    /* Backgrounds */
    --bg-dark: #000000;
    --bg-dark-secondary: #0d0d0d;
    --bg-light: #ffffff;
    --bg-light-secondary: #f8f9fa;

    --font-principal: 'Lato', sans-serif;
    --font-titulos: 'Playfair Display', serif;

    --transicion: all 0.3s ease;
    --transicion-larga: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --sombra: 0 10px 40px rgba(0, 0, 0, 0.2);
    --sombra-hover: 0 20px 60px rgba(0, 0, 0, 0.3);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

/* ==========================================================================
   Reduced Motion (Accessibilitat)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Mantenir transforms basics sense animacio */
    .hero-content-center,
    .event-card,
    .news-card,
    .btn {
        transition: none !important;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-principal);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 400;
    color: #2d2d2d;
    background-color: var(--color-claro);
    overflow-x: hidden;
}

::selection {
    background: var(--color-primario);
    color: white;
}

p {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Tipografia refinada
   ========================================================================== */

/* Titols mes impactants */
h1, h2, h3 {
    font-family: var(--font-titulos);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-oscuro);
}

h4, h5, h6 {
    font-family: var(--font-titulos);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-oscuro);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.3;
}

h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* Lead text */
.lead {
    font-size: 1.35rem;
    line-height: 1.75;
    color: var(--color-texto-secondary); /* Millorat contrast (era #444444) */
}

/* Pesos consistents */
strong, b {
    font-weight: 700;
}

.text-light {
    font-weight: 300;
}

a {
    color: var(--color-primario);
    text-decoration: none;
    transition: var(--transicion);
}

a:hover {
    color: var(--color-secundario);
}

/* ==========================================================================
   Focus Visible - Accessibilitat (Navegació per teclat)
   ========================================================================== */

/* Focus visible per a tots els elements interactius */
*:focus-visible {
    outline: 3px solid var(--color-primario);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Focus específic per a links */
a:focus-visible {
    outline: 3px solid var(--color-primario);
    outline-offset: 4px;
    text-decoration: underline;
}

/* Focus per a botons */
.btn:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-primario);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(138, 36, 37, 0.2);
}

/* Focus per a nav links (contrast alt sobre fons fosc) */
.navbar-nav .nav-link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.1);
}

/* Focus per a inputs i formularis */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-primario);
    outline-offset: 2px;
    border-color: var(--color-primario);
}

/* Focus per a cards clicables */
.event-card:focus-within,
.news-card:focus-within {
    outline: 3px solid var(--color-primario);
    outline-offset: 4px;
    transform: translateY(-5px);
}

/* Skip to content link (accessibilitat) */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--color-primario);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 20px;
    outline: 3px solid white;
    outline-offset: 3px;
}

/* ==========================================================================
   Touch Targets - Accessibilitat Tàctil (Mínim 44x44px)
   ========================================================================== */

/* Assegurar touch targets mínims en dispositius tàctils */
@media (hover: none) and (pointer: coarse) {
    /* Botons */
    .btn,
    button,
    .filter-btn,
    .social-link,
    .back-to-top {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 24px;
    }

    /* Nav links */
    .navbar-nav .nav-link {
        min-height: 44px;
        padding: 12px 20px !important;
    }

    /* Enllaços en cards */
    .event-card-link-stretched,
    .news-card-link-stretched {
        min-height: 44px;
    }

    /* Paginació */
    .pagination-custom li a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Dropdown items */
    .dropdown-item {
        min-height: 44px;
        padding: 12px 18px;
    }

    /* Filtres */
    .filter-btn {
        min-height: 44px;
        padding: 12px 20px;
    }

    /* Breadcrumb links */
    .breadcrumb-item a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* ==========================================================================
   Navbar - Elegant Dark
   ========================================================================== */

.navbar {
    background: rgba(0, 0, 0, 0.95);
    padding: 18px 0;
    transition: var(--transicion-larga);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Línia animada inferior navbar */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-primario);
    z-index: 1;
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 3s infinite;
    z-index: 2;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    padding: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transicion);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.brand-text {
    font-family: var(--font-titulos);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-texto-claro);
    letter-spacing: 0.5px;
    transition: var(--transicion);
}

.navbar.scrolled .brand-text {
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 20px !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: var(--transicion);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primario);
    transition: var(--transicion);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 50%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-texto-claro) !important;
}

.navbar-nav .nav-link i {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Dropdown */
.dropdown-menu-dark {
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    padding: 12px;
    margin-top: 15px !important;
    backdrop-filter: blur(10px);
}

.dropdown-menu-dark::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(10, 10, 10, 0.98);
}

.dropdown-item {
    border-radius: 6px;
    padding: 12px 18px;
    transition: var(--transicion);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-item:hover {
    background: var(--color-primario);
    color: white;
    transform: translateX(5px);
}

.dropdown-item i.fa-external-link-alt {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-left: 8px;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(138, 36, 37, 0.1);
    transition: var(--transicion);
}

.navbar-toggler:hover {
    background: rgba(138, 36, 37, 0.3);
    border-color: var(--color-primario);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(138, 36, 37, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Hero Section - CENTRAT ESPECTACULAR
   ========================================================================== */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--color-negro);
    overflow: hidden;
    padding: 120px 0 80px 0;
}

/* Animacions de fons */
.hero-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

/* Contingut centrat */
.hero-content-center {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Linia decorativa animada */
.hero-line {
    width: 60px;
    height: 3px;
    background: var(--color-primario);
    margin: 0 auto 25px;
    position: relative;
    overflow: hidden;
}

.hero-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Titol mes gran i dramatic */
.hero-title {
    color: var(--color-texto-claro);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

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

/* Gradient mes vibrant */
.hero-title .text-gradient {
    background: linear-gradient(135deg, #8a2425 0%, #e14d43 30%, #8a2425 60%, #c94344 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9); /* Millorat contrast (era 0.7) */
    font-size: 1.15rem;
    margin: 0 auto 35px;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-subtitle strong {
    color: var(--color-texto-claro);
    font-weight: 600;
}

.hero-buttons {
    margin-bottom: 60px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats grid horizontal - 4 columnes */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 2px solid rgba(138, 36, 37, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-stats-grid::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--color-primario);
    animation: statsLineExpand 2s ease-out 0.5s both;
}

@keyframes statsLineExpand {
    from { width: 0; }
    to { width: 100px; }
}

.hero-stat {
    text-align: center;
    position: relative;
    padding: 20px 15px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(138, 36, 37, 0.15), rgba(138, 36, 37, 0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 36, 37, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stat:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, rgba(138, 36, 37, 0.1), rgba(138, 36, 37, 0.15));
    border-color: var(--color-primario);
    box-shadow: 0 15px 40px rgba(138, 36, 37, 0.4);
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primario), #e14d43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-family: var(--font-titulos);
    line-height: 1;
    margin-bottom: 12px;
    animation: countUp 1s ease-out 0.8s both, statNumberGlow 3s ease-in-out infinite;
}

@keyframes statNumberGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

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

.hero-stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* ============================================
   Animacions espectaculars de fons
   ============================================ */

/* Cercles orbitals amb pulsacio */
.orbit {
    position: absolute;
    border: 1px solid rgba(158, 40, 41, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-origin: center;
    animation: orbitPulse 20s linear infinite;
}

.orbit-1 {
    width: 300px;
    height: 300px;
    margin-top: -150px;
    margin-left: -150px;
    animation-duration: 25s;
}

.orbit-2 {
    width: 450px;
    height: 450px;
    margin-top: -225px;
    margin-left: -225px;
    animation-duration: 35s;
    animation-direction: reverse;
    border-style: dashed;
}

.orbit-3 {
    width: 600px;
    height: 600px;
    margin-top: -300px;
    margin-left: -300px;
    animation-duration: 45s;
}

@keyframes orbitPulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: rotate(180deg) scale(1.05);
        opacity: 0.4;
    }
}

/* Punts orbitals */
.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-primario);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-primario), 0 0 40px var(--color-primario);
}

.orbit-1 .orbit-dot { top: -6px; left: 50%; transform: translateX(-50%); }
.orbit-2 .orbit-dot { bottom: -6px; left: 50%; transform: translateX(-50%); }
.orbit-3 .orbit-dot { top: 50%; right: -6px; transform: translateY(-50%); }

/* Particules flotants mes dramatiques */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primario);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(158, 40, 41, 0.5);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; animation-duration: 9s; }
.particle:nth-child(3) { left: 70%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: 3s; animation-duration: 8s; }
.particle:nth-child(5) { left: 50%; top: 80%; animation-delay: 4s; animation-duration: 10s; }
.particle:nth-child(6) { left: 30%; top: 40%; animation-delay: 2s; animation-duration: 7s; }
.particle:nth-child(7) { left: 60%; top: 50%; animation-delay: 1s; animation-duration: 9s; }
.particle:nth-child(8) { left: 90%; top: 20%; animation-delay: 3s; animation-duration: 6s; }

/* Animacio mes dramatica amb mes moviment */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(20px, -40px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-15px, -80px) scale(1.8);
        opacity: 1;
    }
    75% {
        transform: translate(25px, -120px) scale(1.4);
        opacity: 0.6;
    }
}

/* Linies radials mes intenses */
.radial-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.radial-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(158, 40, 41, 0.3), transparent);
    transform-origin: left center;
    animation: radialBurst 4s ease-in-out infinite;
}

.radial-line:nth-child(1) { transform: rotate(0deg); animation-delay: 0s; }
.radial-line:nth-child(2) { transform: rotate(45deg); animation-delay: 0.5s; }
.radial-line:nth-child(3) { transform: rotate(90deg); animation-delay: 1s; }
.radial-line:nth-child(4) { transform: rotate(135deg); animation-delay: 1.5s; }
.radial-line:nth-child(5) { transform: rotate(180deg); animation-delay: 2s; }
.radial-line:nth-child(6) { transform: rotate(225deg); animation-delay: 2.5s; }
.radial-line:nth-child(7) { transform: rotate(270deg); animation-delay: 3s; }
.radial-line:nth-child(8) { transform: rotate(315deg); animation-delay: 3.5s; }

@keyframes radialBurst {
    0%, 100% {
        opacity: 0.2;
        width: 100px;
    }
    50% {
        opacity: 1;
        width: 500px;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.scroll-indicator span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.scroll-indicator i {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ==========================================================================
   Botons
   ========================================================================== */

.btn-primary-custom {
    background: var(--color-primario);
    color: var(--color-texto-claro);
    border: none;
    padding: 18px 45px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transicion-larga);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(158, 40, 41, 0.4);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transicion-larga);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(158, 40, 41, 0.5);
    color: var(--color-texto-claro);
    background: var(--color-secundario);
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-secondary-custom {
    background: transparent;
    color: var(--color-texto-claro);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 43px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transicion);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-secondary-custom:hover {
    background: var(--color-texto-claro);
    color: var(--color-negro);
    border-color: var(--color-texto-claro);
    transform: translateY(-3px);
}

.btn-dark-custom {
    background: var(--color-negro);
    color: var(--color-texto-claro);
    border: none;
    padding: 18px 45px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transicion-larga);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-dark-custom:hover {
    background: var(--color-primario);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-dark-custom {
    background: transparent;
    color: var(--color-negro);
    border: 2px solid var(--color-negro);
    padding: 16px 43px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transicion);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-outline-dark-custom:hover {
    background: var(--color-negro);
    color: var(--color-texto-claro);
}

/* ==========================================================================
   Seccions
   ========================================================================== */

section {
    padding: 100px 0;
}

.section-dark {
    background: var(--color-negro);
    color: var(--color-texto-claro);
    padding: 80px 0;
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-texto-claro);
}

/* Secció de contacte amb fons granate */
.contact-section {
    background: linear-gradient(135deg, #7a1f20 0%, #8a2425 50%, #7a1f20 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-subtitle {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-left-color: white;
}

.contact-section h2 {
    color: white;
    font-weight: 700;
}

.contact-section .btn-light {
    background: white;
    color: var(--color-primario);
    border: none;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: var(--transicion);
}

.contact-section .btn-light:hover {
    background: var(--color-negro);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-section .btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: var(--transicion);
}

.contact-section .btn-outline-light:hover {
    background: white;
    color: var(--color-primario);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--color-primario);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    line-height: 1.2;
    height: 40px;
    margin-bottom: 20px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(138, 36, 37, 0.1);
    padding: 0 30px 0 24px;
    border-radius: 50px;
    border-left: 4px solid var(--color-primario);
    position: relative;
    top: -8px;
}

/* Versió per a seccions fosques */
.section-dark .section-subtitle,
.about-section .section-subtitle,
.cta-section .section-subtitle {
    background: rgba(138, 36, 37, 0.15);
    color: var(--color-primario);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primario), transparent);
}

.section-desc {
    max-width: 650px;
    margin: 40px auto 0;
    color: #4a4a4a;
    font-size: 1.15rem;
    line-height: 1.9;
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Cards d'esdeveniments - Elegant
   ========================================================================== */

.events-section {
    background: var(--color-claro);
    padding: 80px 0;
}

/* Carrusel d'esdeveniments personalitzat */
.events-carousel-custom {
    position: relative;
    padding: 0 60px 60px;
}

.events-carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.events-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-carousel-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

.events-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-primario);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    opacity: 1;
    transition: var(--transicion);
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-carousel-control:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.events-carousel-prev {
    left: 0;
}

.events-carousel-next {
    right: 0;
}

.events-carousel-control:hover:not(:disabled) {
    background: var(--color-secundario);
    transform: translateY(-50%) scale(1.1);
}

.events-carousel-control .carousel-control-prev-icon,
.events-carousel-control .carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.events-carousel-control .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.events-carousel-control .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.events-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.events-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-primario);
    opacity: 0.4;
    border: none;
    cursor: pointer;
    transition: var(--transicion);
    padding: 0;
}

.events-carousel-dot.active {
    opacity: 1;
    transform: scale(1.3);
}

.events-carousel-dot:hover {
    opacity: 0.7;
}

/* Responsive carrusel */
@media (max-width: 991px) {
    .events-carousel-custom {
        padding: 0 50px 60px;
    }

    .events-carousel-control {
        width: 40px;
        height: 40px;
    }

    .events-carousel-item {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 767px) {
    .events-carousel-custom {
        padding: 0 0 100px;
    }

    .events-carousel-control {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .events-carousel-control:hover:not(:disabled) {
        transform: scale(1.1);
    }

    .events-carousel-prev {
        left: 50%;
        margin-left: -60px;
    }

    .events-carousel-next {
        right: 50%;
        margin-right: -60px;
    }

    .events-carousel-item {
        flex: 0 0 100%;
    }

    .events-carousel-track {
        gap: 0;
    }

    .events-carousel-indicators {
        margin-top: 25px;
    }

    .events-carousel-dot {
        width: 8px;
        height: 8px;
    }

    .events-carousel-dot.active {
        transform: scale(1.3);
    }

    .event-card-body {
        padding: 20px;
    }
}

.event-card {
    background: var(--color-texto-claro);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transicion-larga);
    height: 100%;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.8);
    outline: 1px solid rgba(0, 0, 0, 0.1);
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 1);
}

.event-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicion-larga);
}

.event-card:hover .event-card-img img {
    transform: scale(1.08);
}

.event-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    pointer-events: none;
}

.event-card-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-negro);
    color: var(--color-texto-claro);
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.9);
    outline: 2px solid rgba(0, 0, 0, 0.4);
    outline-offset: -4px;
}

.event-card-date .day {
    font-size: 1.8rem;
    line-height: 1;
    display: block;
    font-family: var(--font-titulos);
}

.event-card-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.event-card-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primario);
    color: var(--color-texto-claro);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.event-card-body {
    padding: 28px;
}

.event-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-oscuro);
    transition: var(--transicion);
    line-height: 1.4;
}

.event-card:hover .event-card-title {
    color: var(--color-primario);
}

.event-card-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888;
}

.event-card-info i {
    color: var(--color-primario);
    margin-right: 6px;
}

.event-card-desc {
    display: none;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.7;
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.event-card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primario);
    font-family: var(--font-titulos);
}

.event-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-oscuro);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transicion);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-link:hover {
    color: var(--color-primario);
    gap: 12px;
}

/* ==========================================================================
   Cards de noticies
   ========================================================================== */

.news-section {
    background: var(--color-claro);
    padding: 80px 0;
}

.news-card {
    background: var(--color-texto-claro);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transicion-larga);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.news-card-img {
    height: 220px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicion-larga);
}

.news-card:hover .news-card-img img {
    transform: scale(1.08);
}

.news-card-body {
    padding: 28px;
}

.news-card-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--color-texto-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-meta i {
    color: var(--color-primario);
    margin-right: 5px;
}

.news-card-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: var(--transicion);
    line-height: 1.4;
}

.news-card-title a {
    color: var(--color-oscuro);
}

.news-card:hover .news-card-title a {
    color: var(--color-primario);
}

.news-card-excerpt {
    color: #555555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background: var(--color-negro);
    position: relative;
    overflow: hidden;
    color: var(--color-texto-claro);
    padding: 80px 0;
}

.about-section h2,
.about-section h3 {
    color: var(--color-texto-claro);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--color-gris);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-text-lead {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

.about-text {
    color: rgba(255, 255, 255, 0.7);
}

.about-image {
    position: relative;
    z-index: 2;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--sombra);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-primario);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primario);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(138, 36, 37, 0.3);
}

.about-feature:hover .about-feature-icon {
    background: var(--color-primario);
    color: var(--color-texto-claro);
    transform: translateY(-5px) rotate(5deg);
    border-color: var(--color-primario);
}

.about-feature-text strong {
    display: block;
    color: var(--color-texto-claro);
    margin-bottom: 2px;
}

.about-feature-text small {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 80px 0;
    background: var(--color-negro);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(158, 40, 41, 0.3) 0%, transparent 70%);
    animation: ctaGlow 10s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.5;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.btn-light {
    background: var(--color-texto-claro);
    color: var(--color-negro);
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

/* CTA specific classes */
.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}

.cta-text {
    font-size: 1.1rem;
}

.text-accent {
    color: var(--color-primario);
}

.btn-rounded {
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
}

/* ==========================================================================
   Page Hero - Compacte i optimitzat
   ========================================================================== */

.page-hero {
    padding: 110px 0 30px;
    min-height: auto;
    display: flex;
    align-items: center;
    background: var(--color-negro);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 800px 600px at 20% 80%, rgba(158, 40, 41, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 20%, rgba(158, 40, 41, 0.15) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-texto-claro);
    text-align: center;
}

.page-hero-title {
    color: var(--color-texto-claro);
    margin-bottom: 15px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.breadcrumb-custom {
    background: transparent;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom .breadcrumb-item,
.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--color-texto-claro);
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Feature Cards
   ========================================================================== */

.feature-card {
    background: var(--color-texto-claro);
    padding: 45px 35px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transicion-larga);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-card-icon {
    width: 85px;
    height: 85px;
    background: var(--color-negro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2rem;
    color: var(--color-primario);
    transition: var(--transicion);
}

.feature-card:hover .feature-card-icon {
    background: var(--color-primario);
    color: white;
}

.feature-card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card-desc {
    color: var(--color-texto-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Calendari Filters
   ========================================================================== */

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--color-texto-claro);
    border: 2px solid var(--color-gris);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--color-texto);
    transition: var(--transicion);
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-negro);
    border-color: var(--color-negro);
    color: var(--color-texto-claro);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-info-card {
    background: var(--color-texto-claro);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card h5 {
    color: var(--color-oscuro);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-info-card h5 i {
    color: var(--color-primario);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--color-primario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-texto-primary);
}

.contact-info-item p,
.contact-info-item a {
    color: var(--color-texto-muted);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--color-texto-claro);
    padding: 45px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form .form-label {
    color: var(--color-texto-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form h4 {
    color: var(--color-texto-primary);
}

.contact-form .text-muted,
.contact-form small {
    color: var(--color-texto-muted) !important;
}

.contact-form .form-control {
    border: 2px solid var(--color-gris);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    font-size: 1rem;
    transition: var(--transicion);
    background: #fafafa;
}

.contact-form .form-control:focus {
    border-color: var(--color-primario);
    box-shadow: 0 0 0 4px rgba(158, 40, 41, 0.1);
    background: white;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--sombra);
}

.map-container iframe,
.map-container #map {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Footer - Elegant Dark
   ========================================================================== */

.footer {
    background: var(--color-negro);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 100px 0 70px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-logo-ajuntament {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .footer-logo-ajuntament {
        justify-content: flex-start;
    }
}

.footer-logo-main {
    max-width: 180px;
    height: auto;
    width: 100%;
}

.footer-brand-text {
    font-family: var(--font-titulos);
    font-size: 1.3rem;
    color: var(--color-texto-claro);
    font-weight: 600;
}

.footer-desc {
    margin-bottom: 25px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-texto-claro);
    transition: var(--transicion);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--color-primario);
    border-color: var(--color-primario);
    color: var(--color-texto-claro);
    transform: translateY(-4px);
}

.footer-title {
    color: var(--color-texto-claro);
    font-size: 1.15rem;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 15px;
    font-family: var(--font-titulos);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--color-primario);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transicion);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
    width: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
    color: var(--color-primario);
}

.footer-events {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-events li {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-events li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-events a {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.6);
}

.footer-events a:hover {
    color: var(--color-texto-claro);
}

.footer-events .event-date {
    font-size: 0.8rem;
    color: var(--color-primario);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-events .event-title {
    font-size: 0.95rem;
    margin-top: 4px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: flex-end;
    font-size: 0.9rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--color-primario);
}

.footer-legal .developer {
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Back to Top
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: var(--color-negro);
    color: var(--color-texto-claro);
    border: 2px solid var(--color-primario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transicion);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primario);
    transform: translateY(-5px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .orbit-3 {
        width: 500px;
        height: 500px;
    }

    .orbit-2 {
        width: 380px;
        height: 380px;
    }

    .orbit-1 {
        width: 250px;
        height: 250px;
    }

    .hero-icon {
        font-size: 6rem;
    }
}

/* Tablets */
@media (max-width: 1024px) and (min-width: 768px) {
    .hero {
        padding: 100px 0 80px;
    }

    .scroll-indicator {
        bottom: 25px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--color-negro);
        padding: 25px;
        border-radius: var(--border-radius);
        margin-top: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-nav .nav-link {
        padding: 14px 18px !important;
        margin: 5px 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav .nav-link:hover {
        background: rgba(138, 36, 37, 0.2);
        border-color: rgba(138, 36, 37, 0.3);
    }

    /* Dropdown mobile */
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
        transition: transform 0.3s ease;
    }

    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    .navbar-nav .dropdown-toggle[aria-expanded="true"] {
        background: rgba(138, 36, 37, 0.25);
        border-color: rgba(138, 36, 37, 0.4);
    }

    .navbar-nav .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 10px;
        margin: 10px 0 10px 15px !important;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
        animation: dropdownSlide 0.3s ease-out;
    }

    @keyframes dropdownSlide {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-nav .dropdown-menu::before {
        display: none; /* Amagar la fletxa en mobile */
    }

    .navbar-nav .dropdown-item {
        padding: 12px 15px;
        margin: 4px 0;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.9rem;
    }

    .navbar-nav .dropdown-item:hover {
        background: var(--color-primario);
        border-color: var(--color-primario);
        transform: translateX(3px);
    }

    .navbar-nav .dropdown-item i.fa-external-link-alt {
        font-size: 0.75rem;
        opacity: 0.6;
        margin-left: 5px;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    /* Hero responsive */
    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .hero-content-center {
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
        margin-top: 40px;
        padding-top: 30px;
    }

    .hero-stat {
        background: linear-gradient(135deg, rgba(138, 36, 37, 0.25), rgba(138, 36, 37, 0.35));
        border: 1px solid rgba(138, 36, 37, 0.5);
    }

    .hero-stat-number {
        font-size: 2.5rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }

    .hero-animation-bg {
        opacity: 0.6;
    }

    section {
        padding: 80px 0;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 20px;
    }

    .about-section::before {
        display: none;
    }

    .page-hero {
        padding: 100px 0 30px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
        max-width: 500px;
    }

    .hero-stat {
        padding: 18px 12px;
        background: linear-gradient(135deg, rgba(138, 36, 37, 0.3), rgba(138, 36, 37, 0.4));
        border: 1px solid rgba(138, 36, 37, 0.6);
    }

    .hero-stat-number {
        font-size: 2.2rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .hero-animation-bg {
        opacity: 0.4;
    }

    /* Fix text-gradient en mobile */
    .hero-title .text-gradient {
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        background-clip: unset;
        color: #e14d43;
        text-shadow: 0 2px 20px rgba(225, 77, 67, 0.5);
    }

    /* Footer responsive centrat en mobile */
    .footer-widget {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-widget .d-flex {
        justify-content: center !important;
    }

    .footer-desc {
        text-align: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links,
    .footer-contact {
        text-align: center;
        list-style: none;
    }

    .footer-links li,
    .footer-contact li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-legal {
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Cards responsive */
    .event-card,
    .news-card {
        margin-bottom: 20px;
    }

    .event-card-img,
    .news-card-img {
        height: 200px;
    }

    .event-card-title,
    .news-card-title {
        font-size: 1.15rem;
    }

    .event-card-desc,
    .news-card-excerpt {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
    }

    /* Botons responsive */
    .btn {
        padding: 14px 30px;
        font-size: 0.85rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 14px 30px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .contact-form {
        padding: 30px;
    }

    .about-image::before {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .page-hero {
        padding: 110px 0 25px;
    }

    .page-hero-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Animacions
   ========================================================================== */

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================================================
   Utilitats
   ========================================================================== */

.text-primary-custom {
    color: var(--color-primario) !important;
}

.bg-primary-custom {
    background-color: var(--color-primario) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-negro), var(--color-oscuro)) !important;
}

.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.img-placeholder {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-texto-muted);
    font-size: 3rem;
}

/* ==========================================================================
   Focus States (Accessibilitat)
   ========================================================================== */

/* Botons */
.btn:focus,
.btn:focus-visible,
.btn-primary-custom:focus,
.btn-primary-custom:focus-visible,
.btn-secondary-custom:focus,
.btn-secondary-custom:focus-visible,
.btn-dark-custom:focus,
.btn-dark-custom:focus-visible {
    outline: 3px solid var(--color-primario);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(158, 40, 41, 0.2);
}

/* Enllacos */
a:focus-visible {
    outline: 2px solid var(--color-primario);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
    border-color: var(--color-primario);
    box-shadow: 0 0 0 4px rgba(158, 40, 41, 0.15);
}

/* Navegacio */
.nav-link:focus-visible {
    outline: 2px solid var(--color-primario);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Filter buttons */
.filter-btn:focus-visible {
    outline: 2px solid var(--color-negro);
    outline-offset: 2px;
}

/* Screen reader only (per a anuncis d'accessibilitat) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   NOVES MILLORES - Calendari, Paginacio, Tarjetes Clicables, Placeholders
   ========================================================================== */

/* Vista toggle (calendari.php) */
/* Millorat disseny toggle de vistes */
.view-toggle {
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    gap: 8px;
}

.view-toggle .btn {
    margin: 0;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.view-toggle .btn-outline-dark {
    background: transparent;
    color: var(--color-texto);
    border: none;
}

.view-toggle .btn-outline-dark:hover {
    background: rgba(158, 40, 41, 0.1);
    color: var(--color-primario);
    transform: translateY(-2px);
}

.view-toggle .btn-dark {
    background: var(--color-primario);
    color: white;
    box-shadow: 0 4px 15px rgba(158, 40, 41, 0.3);
}

.view-toggle .btn i {
    font-size: 1rem;
    margin-right: 6px;
}

/* Paginacio custom */
.pagination-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-custom li a {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--color-gris);
    border-radius: var(--border-radius-sm);
    transition: var(--transicion);
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 500;
}

.pagination-custom li a:hover {
    background: var(--color-primario);
    color: white;
    border-color: var(--color-primario);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(158, 40, 41, 0.3);
}

.pagination-custom li.active {
    background: var(--color-negro);
    color: white;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

/* Calendari grid */
.calendar-navigation h3 {
    margin: 0;
    font-size: 1.8rem;
    font-family: var(--font-titulos);
    color: var(--color-primario);
}

.calendar-navigation .btn {
    min-width: 140px;
}

/* Navegació del calendari millorada */
.calendar-navigation {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.calendar-navigation h3 {
    color: var(--color-primario);
    font-weight: 700;
    font-family: var(--font-titulos);
}

.calendar-navigation .btn {
    border: 2px solid var(--color-primario);
    color: var(--color-primario);
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-sm);
}

.calendar-navigation .btn:hover {
    background: var(--color-primario);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(158, 40, 41, 0.3);
}

.calendar-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    color: var(--color-texto-claro);
    text-align: center;
    padding: 15px 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-day {
    background: white;
    min-height: 100px;
    max-height: 150px;
    padding: 10px;
    position: relative;
    transition: all 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background: #fafafa;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-color: var(--color-primario);
}

.calendar-day.empty {
    background: #f8f8f8;
    opacity: 0.5;
}

.calendar-day.today {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 2px solid var(--color-primario);
    box-shadow: 0 0 0 3px rgba(158, 40, 41, 0.1);
}

.calendar-day-number {
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 10px;
    font-size: 1.2rem;
    flex-shrink: 0;
    font-family: var(--font-titulos);
    text-align: center;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(158, 40, 41, 0.05);
}

.calendar-day.today .calendar-day-number {
    background: var(--color-primario);
    color: white;
}

.calendar-event-mini {
    font-size: 0.75rem;
    padding: 6px 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 3px solid var(--color-primario);
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.calendar-event-mini:hover {
    background: var(--color-primario);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(158, 40, 41, 0.3);
    border-left-color: var(--color-secundario);
}

.calendar-event-mini .event-time {
    display: block;
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 0.7rem;
    opacity: 0.9;
}

.calendar-event-mini:hover .event-time {
    opacity: 1;
}

.calendar-event-mini .event-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    line-height: 1.3;
}

/* Scroll personalitzat per calendar-day */
.calendar-day::-webkit-scrollbar {
    width: 4px;
}

.calendar-day::-webkit-scrollbar-track {
    background: transparent;
}

.calendar-day::-webkit-scrollbar-thumb {
    background: rgba(158, 40, 41, 0.3);
    border-radius: 2px;
}

.calendar-day::-webkit-scrollbar-thumb:hover {
    background: rgba(158, 40, 41, 0.5);
}

/* Tooltip per esdeveniments calendari */
.calendar-event-mini {
    position: relative;
}

.calendar-event-mini[data-bs-toggle="tooltip"] {
    cursor: pointer;
}

.event-tooltip.tooltip .tooltip-inner {
    background: var(--color-negro);
    color: var(--color-texto-claro);
    padding: 12px 16px;
    font-size: 0.9rem;
    text-align: left;
    white-space: pre-line;
    max-width: 300px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.event-tooltip.tooltip .tooltip-arrow::before {
    border-top-color: var(--color-negro);
}

/* Vista Llista Horitzontal */
.month-title {
    color: var(--color-primario);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primario);
    font-family: var(--font-titulos);
}

.events-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transicion);
    border-left: 4px solid var(--color-primario);
}

.event-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.event-list-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    padding: 10px;
    background: var(--color-primario);
    border-radius: var(--border-radius-sm);
    color: white;
}

.event-list-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-list-month {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-list-image {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.event-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-list-content {
    flex: 1;
    min-width: 0;
}

.event-list-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-titulos);
}

.event-list-title a {
    color: var(--color-texto);
    text-decoration: none;
    transition: var(--transicion);
}

.event-list-title a:hover {
    color: var(--color-primario);
}

.event-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
}

.event-list-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-list-category {
    padding: 4px 12px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.event-list-price {
    flex-shrink: 0;
    text-align: center;
    padding: 0 20px;
    border-left: 1px solid var(--color-gris);
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-texto-secundario);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.price-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primario);
}

.event-list-action {
    flex-shrink: 0;
}

/* Calendari responsive */
@media (max-width: 991px) {
    .event-list-item {
        flex-wrap: wrap;
    }

    .event-list-price {
        border-left: none;
        border-top: 1px solid var(--color-gris);
        padding: 15px 0 0 0;
        width: 100%;
        text-align: left;
    }

    .event-list-action {
        width: 100%;
    }

    .event-list-action .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .calendar-grid {
        font-size: 0.85rem;
    }

    .calendar-day {
        min-height: 80px;
        max-height: 120px;
        padding: 4px;
    }

    .calendar-day-number {
        font-size: 0.95rem;
    }

    .calendar-event-mini {
        font-size: 0.65rem;
        padding: 2px 4px;
    }

    .calendar-navigation h3 {
        font-size: 1.4rem;
    }

    .calendar-navigation .btn {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .month-title {
        font-size: 1.5rem;
    }

    .event-list-item {
        padding: 15px;
        gap: 15px;
    }

    .event-list-date {
        width: 60px;
    }

    .event-list-day {
        font-size: 1.5rem;
    }

    .event-list-image {
        width: 100%;
        height: 150px;
    }

    .event-list-title {
        font-size: 1.1rem;
    }

    .event-list-meta {
        flex-direction: column;
        gap: 8px;
    }

    /* View toggle responsive */
    .view-toggle {
        flex-direction: column;
        padding: 10px;
        gap: 6px;
        width: 100%;
    }

    .view-toggle .btn {
        width: 100%;
        padding: 12px 20px;
    }

    /* Calendar responsive millores */
    .calendar-container {
        padding: 15px;
    }

    .calendar-day-number {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }

    .calendar-event-mini {
        padding: 4px 6px;
        font-size: 0.65rem;
    }
}

/* Placeholders amb logo */
.img-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(158, 40, 41, 0.1), transparent);
    animation: shimmerPlaceholder 3s infinite;
}

@keyframes shimmerPlaceholder {
    0% { left: -100%; }
    100% { left: 100%; }
}

.placeholder-logo {
    width: auto;
    height: 40%;
    max-width: 80%;
    opacity: 0.3;
    filter: grayscale(100%);
    position: relative;
    z-index: 1;
    transition: var(--transicion);
}

.event-card:hover .placeholder-logo,
.news-card:hover .placeholder-logo {
    opacity: 0.5;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Targetes completament clicables (stretched links) */
.event-card,
.news-card {
    position: relative;
}

.event-card-link-stretched::after,
.news-card-link-stretched::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.event-card-link-overlay,
.event-card-link {
    position: relative;
    z-index: 2;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-oscuro);
    font-weight: 600;
    font-size: 0.9rem;
}

.event-card:hover {
    cursor: pointer;
}

.event-card:hover .event-card-title a,
.news-card:hover .news-card-title a {
    color: var(--color-primario);
}

/* Hero 50/50 layout */
@media (min-width: 992px) {
    .hero-layout-split {
        display: flex;
        align-items: center;
        gap: 60px;
        width: 100%;
        padding: 40px 0;
    }

    .hero-content-left {
        flex: 1;
        max-width: 600px;
        text-align: left;
        position: relative;
        z-index: 10;
    }

    .hero-animation-right {
        flex: 1;
        position: relative;
        height: 550px;
        z-index: 5;
    }

    .hero-line {
        margin: 0 0 25px 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-stats-grid {
        margin-left: 0;
        margin-right: auto;
    }

    /* Hero Visual Container - ESPECTACULAR */
    .hero-visual-container {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Logo central amb glow - ANIMACIÓ ESPECTACULAR */
    .hero-visual-logo {
        position: relative;
        z-index: 10;
        animation: heroLogoFloat 5s ease-in-out infinite, heroLogoPulse 2s ease-in-out infinite;
    }

    @keyframes heroLogoFloat {
        0%, 100% {
            transform: translateY(0px) scale(1) rotate(0deg);
        }
        50% {
            transform: translateY(-25px) scale(1.08) rotate(2deg);
        }
    }

    @keyframes heroLogoPulse {
        0%, 100% { filter: drop-shadow(0 10px 40px rgba(138, 36, 37, 0.5)); }
        50% { filter: drop-shadow(0 15px 60px rgba(138, 36, 37, 0.8)); }
    }

    .hero-logo-main {
        width: 260px;
        height: auto;
        position: relative;
        z-index: 2;
        transition: filter 0.3s ease;
    }

    .hero-logo-main:hover {
        filter: brightness(1.2);
    }

    .hero-logo-glow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(138, 36, 37, 0.4) 0%, rgba(122, 31, 32, 0.2) 40%, transparent 70%);
        border-radius: 50%;
        animation: heroGlowPulse 4s ease-in-out infinite, heroGlowRotate 20s linear infinite;
        z-index: 1;
    }

    @keyframes heroGlowPulse {
        0%, 100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.6;
        }
        50% {
            transform: translate(-50%, -50%) scale(1.3);
            opacity: 0.9;
        }
    }

    @keyframes heroGlowRotate {
        from { filter: hue-rotate(0deg); }
        to { filter: hue-rotate(360deg); }
    }

    /* Cercles decoratius - ANIMACIONS ESPECTACULARS */
    .hero-circle {
        position: absolute;
        border: 2px solid rgba(138, 36, 37, 0.25);
        border-radius: 50%;
        animation: heroCircleRotate 20s linear infinite, heroCirclePulse 4s ease-in-out infinite;
    }

    .hero-circle-1 {
        width: 380px;
        height: 380px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-style: dashed;
        border-width: 2px;
    }

    .hero-circle-2 {
        width: 480px;
        height: 480px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation-duration: 25s, 5s;
        animation-direction: reverse, normal;
        border-color: rgba(138, 36, 37, 0.2);
    }

    .hero-circle-3 {
        width: 290px;
        height: 290px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-width: 3px;
        border-color: rgba(138, 36, 37, 0.35);
        animation-duration: 15s, 3s;
        box-shadow: 0 0 30px rgba(138, 36, 37, 0.2);
    }

    @keyframes heroCircleRotate {
        from { transform: translate(-50%, -50%) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg); }
    }

    @keyframes heroCirclePulse {
        0%, 100% {
            border-color: rgba(138, 36, 37, 0.25);
            box-shadow: 0 0 0 rgba(138, 36, 37, 0);
        }
        50% {
            border-color: rgba(138, 36, 37, 0.5);
            box-shadow: 0 0 40px rgba(138, 36, 37, 0.3);
        }
    }

    /* SVG Connexions */
    .hero-connections {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 500px;
        height: 500px;
        opacity: 0.3;
    }

    .connection-line {
        stroke: var(--color-primario);
        stroke-width: 2;
        stroke-dasharray: 10 5;
        animation: heroLineDash 3s linear infinite;
    }

    @keyframes heroLineDash {
        to { stroke-dashoffset: -30; }
    }

    .connection-dot {
        fill: var(--color-primario);
        animation: heroDotPulse 2s ease-in-out infinite;
    }

    @keyframes heroDotPulse {
        0%, 100% { r: 8; opacity: 1; }
        50% { r: 12; opacity: 0.6; }
    }

    /* Icones flotants - ANIMACIONS ESPECTACULARS */
    .hero-floating-icon {
        position: absolute;
        width: 75px;
        height: 75px;
        background: linear-gradient(135deg, rgba(138, 36, 37, 0.95), rgba(122, 31, 32, 0.95));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.9rem;
        color: white;
        box-shadow: 0 10px 35px rgba(138, 36, 37, 0.4);
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 15;
        border: 2px solid rgba(255, 255, 255, 0.1);
    }

    .hero-floating-icon::after {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 50%;
        border: 2px solid var(--color-primario);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .hero-floating-icon:hover {
        transform: scale(1.25) rotate(10deg);
        box-shadow: 0 15px 50px rgba(138, 36, 37, 0.6);
        background: linear-gradient(135deg, rgba(138, 36, 37, 1), rgba(225, 77, 67, 0.9));
    }

    .hero-floating-icon:hover::after {
        opacity: 1;
        animation: iconRing 1s ease-out infinite;
    }

    @keyframes iconRing {
        0% { transform: scale(1); opacity: 1; }
        100% { transform: scale(1.4); opacity: 0; }
    }

    .hero-icon-1 {
        top: 12%;
        left: 8%;
        animation: heroIconFloat1 4s ease-in-out infinite, heroIconGlow 3s ease-in-out infinite;
    }

    .hero-icon-2 {
        top: 12%;
        right: 8%;
        animation: heroIconFloat2 5s ease-in-out infinite, heroIconGlow 3.5s ease-in-out infinite;
        animation-delay: 0s, 0.5s;
    }

    .hero-icon-3 {
        bottom: 12%;
        left: 8%;
        animation: heroIconFloat3 4.5s ease-in-out infinite, heroIconGlow 3.2s ease-in-out infinite;
        animation-delay: 0s, 1s;
    }

    .hero-icon-4 {
        bottom: 12%;
        right: 8%;
        animation: heroIconFloat4 5.5s ease-in-out infinite, heroIconGlow 3.8s ease-in-out infinite;
        animation-delay: 0s, 1.5s;
    }

    @keyframes heroIconFloat1 {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        25% { transform: translateY(-12px) rotate(5deg); }
        50% { transform: translateY(-20px) rotate(10deg); }
        75% { transform: translateY(-12px) rotate(5deg); }
    }

    @keyframes heroIconFloat2 {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        25% { transform: translateY(-15px) rotate(-5deg); }
        50% { transform: translateY(-25px) rotate(-12deg); }
        75% { transform: translateY(-15px) rotate(-5deg); }
    }

    @keyframes heroIconGlow {
        0%, 100% { box-shadow: 0 10px 35px rgba(138, 36, 37, 0.4); }
        50% { box-shadow: 0 10px 45px rgba(138, 36, 37, 0.7), 0 0 30px rgba(138, 36, 37, 0.5); }
    }

    @keyframes heroIconFloat3 {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        25% { transform: translateY(-14px) rotate(4deg); }
        50% { transform: translateY(-22px) rotate(8deg); }
        75% { transform: translateY(-14px) rotate(4deg); }
    }

    @keyframes heroIconFloat4 {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        25% { transform: translateY(-17px) rotate(-6deg); }
        50% { transform: translateY(-28px) rotate(-10deg); }
        75% { transform: translateY(-17px) rotate(-6deg); }
    }
}

/* Hero centrat en mobile */
@media (max-width: 991px) {
    .hero-layout-split {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    .hero-content-left {
        text-align: center;
        padding: 0 20px;
        position: relative;
        z-index: 10;
    }

    .hero-line {
        margin: 0 auto 25px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 0 auto 40px;
    }

    .hero-animation-right {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .page-hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .page-hero-title {
        text-align: center;
    }

    .breadcrumb-custom {
        justify-content: center;
    }
}

/* Pagines legals */
.legal-content {
    background: #fff;
}

.legal-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.legal-text h3 {
    color: var(--color-primario);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: var(--font-titulos);
}

.legal-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-text ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.legal-text ul li::before {
    content: '▸';
    color: var(--color-primario);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legal-meta {
    border-top: 1px solid var(--color-gris);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transicion);
}

.footer-legal a:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .footer-legal {
        justify-content: center;
        gap: 10px;
    }
}

/* ==========================================================================
   Pagina El Teatre - Estils personalitzats
   ========================================================================== */

/* Hero del Teatre */
.teatre-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-negro) 0%, #1a1a1a 100%),
                url('../img/teatre-hero.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
    overflow: hidden;
}

.teatre-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(138, 36, 37, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(138, 36, 37, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.teatre-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 60px 20px;
}

.teatre-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 20px 0;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.teatre-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.teatre-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Stats Section */
.teatre-stats-section {
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 100;
}

.teatre-stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.teatre-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(138, 36, 37, 0.2);
    border-color: var(--color-primario);
}

.teatre-stat-icon {
    font-size: 3rem;
    color: var(--color-primario);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.teatre-stat-card:hover .teatre-stat-icon {
    transform: scale(1.2) rotate(10deg);
}

.teatre-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primario), #e14d43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.teatre-stat-label {
    color: var(--color-texto-muted);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Imatge amb badge */
.teatre-image-container {
    position: relative;
}

.teatre-image-container img {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

.teatre-image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-primario), #e14d43);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(138, 36, 37, 0.4);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.teatre-image-badge i {
    font-size: 1.5rem;
}

.teatre-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.teatre-content p {
    margin-bottom: 15px;
}

/* Features Section */
.teatre-features-section {
    background: var(--color-claro);
    padding: 80px 0;
}

.teatre-feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.teatre-feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primario);
    box-shadow: 0 15px 40px rgba(138, 36, 37, 0.15);
}

.teatre-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(138, 36, 37, 0.1), rgba(138, 36, 37, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primario);
    transition: all 0.4s ease;
}

.teatre-feature-card:hover .teatre-feature-icon {
    background: var(--color-primario);
    color: white;
    transform: rotate(360deg) scale(1.1);
}

.teatre-feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-negro);
    margin-bottom: 15px;
}

.teatre-feature-desc {
    color: var(--color-texto-muted);
    line-height: 1.6;
    margin: 0;
}

/* Timeline */
.teatre-timeline-section {
    padding: 80px 0;
    background: white;
}

.teatre-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.teatre-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primario), rgba(138, 36, 37, 0.3));
}

.teatre-timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.teatre-timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: calc(50% + 40px);
}

.teatre-timeline-marker {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 10px);
    width: 20px;
    height: 20px;
    background: var(--color-primario);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(138, 36, 37, 0.2);
    z-index: 10;
}

.teatre-timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--color-gris);
    max-width: 400px;
    transition: all 0.4s ease;
}

.teatre-timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--color-primario);
    box-shadow: 0 15px 40px rgba(138, 36, 37, 0.15);
}

.teatre-timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primario), #e14d43);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.teatre-timeline-content h4 {
    font-size: 1.4rem;
    color: var(--color-negro);
    margin-bottom: 10px;
}

.teatre-timeline-content p {
    color: var(--color-texto-muted);
    margin: 0;
    line-height: 1.6;
}

/* Info Section */
.teatre-info-section {
    padding: 80px 0;
    background: var(--color-claro);
}

.teatre-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.teatre-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primario);
    box-shadow: 0 15px 40px rgba(138, 36, 37, 0.15);
}

.teatre-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primario), #e14d43);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 25px;
}

.teatre-info-card h4 {
    font-size: 1.5rem;
    color: var(--color-negro);
    margin-bottom: 15px;
}

.teatre-info-card p {
    color: var(--color-texto-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.teatre-info-link {
    color: var(--color-primario);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.teatre-info-link:hover {
    color: #e14d43;
    gap: 10px;
}

/* Mobile Timeline */
@media (max-width: 767px) {
    .teatre-timeline::before {
        left: 20px;
    }

    .teatre-timeline-item {
        padding-left: 60px !important;
        padding-right: 0 !important;
    }

    .teatre-timeline-marker {
        left: 20px;
    }

    .teatre-timeline-content {
        max-width: 100%;
    }

    .teatre-hero-title {
        font-size: 2rem;
    }

    .teatre-stat-number {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Optimitzacions per Mòbil - Hero Animations
   ========================================================================== */

@media (max-width: 768px) {
    /* Simplificar animacions del hero per millorar rendiment */
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    /* Desactivar particules en mòbil (massa pesat) */
    .particles,
    .radial-lines {
        display: none;
    }

    /* Simplificar òrbites (només 1 en lloc de 3) */
    .orbit-2,
    .orbit-3 {
        display: none;
    }

    .orbit-1 {
        opacity: 0.3;
        animation-duration: 40s; /* Més lent per estalviar recursos */
    }

    /* Stats grid: 1 columna en mòbil */
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 300px;
    }

    .hero-stat {
        padding: 15px 20px;
    }

    .hero-stat-number {
        font-size: 2.2rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    /* Simplificar animacions de gradient */
    .hero-title .text-gradient {
        animation: none; /* Desactivar gradient flow en mòbil */
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        background-clip: unset;
        color: #e14d43;
        text-shadow: 0 2px 20px rgba(225, 77, 67, 0.5);
    }

    /* Hero layout 50/50 a columna única */
    .hero-layout-split {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .hero-animation-right {
        display: none; /* Amagar visualització dreta en mòbil */
    }

    /* Botons més compactes */
    .hero-buttons {
        margin-bottom: 30px;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 14px 30px;
        font-size: 0.85rem;
    }

    /* Navbar més compacte */
    .logo-img {
        height: 40px;
    }

    .brand-text {
        font-size: 1.1rem;
    }
}

/* Optimitzacions per pantalles molt petites (<400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }
}
