* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    color-scheme: light;
    padding-bottom: 0;
}

::selection {
    background: rgba(124, 177, 77, 0.20);
    color: var(--verd-fosc);
}

/* Espai superior per seccions sota header fix */
.besties,
.quisom,
.calendar-section {
    padding: 72px 20px 100px;
}


/* --------------------------------------------------
   TIPOGRAFIA GENERAL
-------------------------------------------------- */

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    font-size: 18px;
    color: #222;
    padding-top: 0;
    background: linear-gradient(180deg, #ebf3e4 0%, #f9fdf7 100%);
}

/* Títols */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

/* Títols principals unificats */
.page-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 2.2rem;
    text-align: center;
    letter-spacing: 0.4px;
    color: var(--verd-fosc);
    margin-bottom: 1.4rem;
    text-shadow: 0 4px 12px rgba(47, 93, 58, 0.12);
}


/* --------------------------------------------------
   PALETA CORPORATIVA
-------------------------------------------------- */
:root {
    --verd-drac: #2f5d3a;
    --verd-fosc: #1f3f26;
    --verd-brillant: #7cb14d;
    --verd-oliva: #6b6a3a;
    --blanc: #ffffff;
    --negre: #000000;
    --roig-foc: #c62828;
    --fons-clar: #f4f8ef;
    --footer-fixed-height: 98px;
}

/* --------------------------------------------------
   HEADER MODERN
-------------------------------------------------- */
#header.header-modern {
    position: fixed;
    top: 0;
    width: 100%;
    height: 84px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;

    backdrop-filter: blur(22px);
    background: linear-gradient(180deg, rgba(24, 52, 26, 0.98), rgba(47, 93, 58, 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(47, 93, 58, 0.18);

    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

header + * {
    margin-top: 94px;
}


/* LOGO */
#header .logo {
    display: flex;
    align-items: center;
}

#header .logo img {
    height: 102px;
    width: auto;
    display: block;
    transform: translateY(6px);
}

header, .site-header {
    padding-bottom: .2rem !important; /* redueix aire del menú */
}


/* --------------------------------------------------
   MENÚ MODERN
-------------------------------------------------- */
nav .menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

nav .menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--verd-fosc);
    transition: 0.3s;
    border-radius: 2px;
}

nav .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

nav .menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

nav .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

nav .menu a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.25px;
    color: rgba(247, 245, 232, 0.95);
    text-decoration: none;

    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
}

/* Evitar que els enllaços visitats canviïn de color */
nav .menu a:visited {
    color: rgba(247, 245, 232, 0.95);
}


/* Aparició quan el header té loaded */
#header.header-modern.loaded nav .menu a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay */
nav .menu li:nth-child(1) a { transition-delay: 0.05s; }
nav .menu li:nth-child(2) a { transition-delay: 0.10s; }
nav .menu li:nth-child(3) a { transition-delay: 0.15s; }
nav .menu li:nth-child(4) a { transition-delay: 0.20s; }
nav .menu li:nth-child(5) a { transition-delay: 0.25s; }
nav .menu li:nth-child(6) a { transition-delay: 0.30s; }
nav .menu li:nth-child(7) a { transition-delay: 0.35s; }

/* Hover */
nav .menu a:hover {
    color: var(--verd-brillant);
    filter: drop-shadow(0 0 6px rgba(124, 177, 77, 0.35));
}

/* Actiu */
/* Actiu — Modern, subtil i elegant */
nav .menu a.active {
    color: var(--verd-brillant);
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 2px solid var(--verd-brillant);
    padding-bottom: 4px;
}


@keyframes underline {
    from { width: 0; }
    to { width: 100%; }
}

/* --------------------------------------------------
   ICONES SOCIALS MODERNES
-------------------------------------------------- */
.social-icons {
    display: flex;
    gap: 18px;
}

.social-icons .icon {
    width: 22px;
    height: 22px;
    fill: white;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icons a:hover .icon {
    transform: scale(1.12);
    filter: drop-shadow(0 0 6px rgba(198, 40, 40, 0.35));
}

/* --------------------------------------------------
   EFECTE SCROLL
-------------------------------------------------- */
#header.scrolled {
    background: linear-gradient(180deg, rgba(4, 10, 6, 0.98), rgba(13, 30, 19, 0.96));
    border-bottom-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    margin-top: 0;
    color: #f4f8ef;
    background: linear-gradient(180deg, rgba(63, 122, 73, 0.86) 0%, rgba(47, 93, 58, 0.94) 55%, rgba(24, 52, 26, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 24px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-brand h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.1;
    color: #ffffff;
}

.footer-brand p {
    margin: 0;
    font-size: 14px;
    color: rgba(244, 248, 239, 0.92);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px 24px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(244, 248, 239, 0.9);
}

.footer-bottom-brand {
    font-size: 12px;
    color: rgba(244, 248, 239, 0.75);
}

.footer-bottom-copy {
    font-size: 11px;
    color: rgba(244, 248, 239, 0.75);
    white-space: nowrap;
}

.footer-mail-link {
    color: rgba(214, 240, 185, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-mail-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ── Footer carousel ────────────────────────────────── */
.footer-carousel {
    overflow: hidden;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 2px;
}

.footer-carousel-track {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4px 16px;
}

.footer-carousel-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 102px;
    height: 46px;
    flex-shrink: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    text-decoration: none;
}

.footer-carousel-item:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.footer-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.footer-carousel-item--large {
    width: 126px;
    height: 56px;
}

.footer-carousel-item--generalitat {
    width: 146px;
    height: 62px;
}

/* ── /Footer carousel ───────────────────────────────── */

.footer-sponsors {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 18px;
}

.footer-sponsors-title {
    margin: 0 0 10px;
    color: rgba(244, 248, 239, 0.95);
    font-weight: 700;
    letter-spacing: 0.4px;
}

.footer-sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sponsor-logo-link {
    position: relative;
    width: 120px;
    height: 62px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-logo-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
}

.sponsor-hover-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
    background: rgba(22, 57, 34, 0.78);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sponsor-logo-link:hover {
    transform: translateY(-2px);
    border-color: rgba(214, 240, 185, 0.85);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.sponsor-logo-link:hover .sponsor-hover-text {
    opacity: 1;
}

.sponsor-pill-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: #f4f8ef;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sponsor-pill-fallback:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
}

.contacte-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 132px 24px 70px;
    position: relative;
}

.contacte-card {
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 244, 229, 0.92));
    border: 1px solid rgba(47, 93, 58, 0.12);
    box-shadow: 0 16px 34px rgba(47, 93, 58, 0.1);
    padding: 28px 24px;
    margin-bottom: 28px;
}

.contacte-card-main {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(124, 177, 77, 0.24), transparent 34%),
        linear-gradient(135deg, rgba(47, 93, 58, 0.96), rgba(124, 177, 77, 0.82));
    border: 1px solid rgba(124, 177, 77, 0.28);
    box-shadow: 0 24px 56px rgba(31, 63, 38, 0.22);
}

.contacte-card-main::after {
    content: '';
    position: absolute;
    inset: auto -50px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
    pointer-events: none;
}

.contacte-card h1,
.contacte-card h2 {
    margin-top: 0;
    color: var(--verd-drac);
}

.contacte-card-main h1,
.contacte-card-main p,
.contacte-card-main .contacte-eyebrow {
    position: relative;
    z-index: 1;
}

.contacte-heading-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.contacte-card-main h1 {
    color: #ffffff;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    margin: 0 0 0 auto;
    text-align: right;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.contacte-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f4f8ef;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.contacte-lead {
    max-width: 760px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.94);
}

.contacte-card-main p {
    color: rgba(244, 248, 239, 0.92);
}

.merxan-page .contacte-heading-row {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.merxan-page {
    min-height: calc(100vh - 84px - var(--footer-fixed-height));
    padding-top: 112px;
    padding-bottom: calc(var(--footer-fixed-height) + 16px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.merxan-page .contacte-card {
    width: 100%;
    margin-bottom: 0;
    padding: 22px 22px 18px;
    max-width: 1080px;
}

.merxan-page .contacte-card-main h1 {
    margin: 0;
    text-align: center;
}

.merxan-page .contacte-card-main,
.merxan-page .contacte-lead,
.merxan-page .contacte-card-main p {
    text-align: center;
}

.merxan-page .contacte-lead,
.merxan-page .contacte-card-main p {
    margin-left: auto;
    margin-right: auto;
}

.merxan-page .contacte-lead {
    max-width: 780px;
    margin-bottom: 14px;
}

.merxan-page .contacte-card-main p {
    margin-top: 0;
    margin-bottom: 0;
}

.merxan-page .coming-soon-figure {
    margin-top: 18px;
    padding: 16px 16px 12px;
    gap: 10px;
}

.merxan-page .coming-soon-figure img {
    width: min(170px, 36vw);
}

.merxan-page .coming-soon-figure figcaption {
    max-width: 480px;
    font-size: 0.94rem;
}

.contacte-mail-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    margin: 10px 0 16px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--verd-fosc);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(22, 57, 34, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contacte-mail-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(22, 57, 34, 0.24);
    background: #ffffff;
}

.coming-soon-figure {
    position: relative;
    z-index: 1;
    margin: 26px 0 0;
    padding: 22px 22px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    justify-items: center;
    gap: 14px;
    backdrop-filter: blur(8px);
}

.coming-soon-figure img {
    width: min(240px, 60vw);
    height: auto;
    filter: drop-shadow(0 16px 24px rgba(12, 28, 16, 0.18));
}

.coming-soon-figure figcaption {
    margin: 0;
    max-width: 520px;
    text-align: center;
    color: rgba(244, 248, 239, 0.92);
    font-size: 0.98rem;
}

.contacte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.sponsor-card {
    border-radius: 14px;
    border: 1px solid rgba(47, 93, 58, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(228, 239, 217, 0.92));
    padding: 16px;
    box-shadow: 0 12px 26px rgba(47, 93, 58, 0.08);
}

.sponsor-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--verd-fosc);
}

.sponsor-logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sponsor-logo-link-light {
    border: 1px solid rgba(47, 93, 58, 0.2);
    background: #ffffff;
}

.sponsor-pill-fallback-light {
    border-color: rgba(47, 93, 58, 0.25);
    background: rgba(240, 246, 235, 0.95);
    color: var(--verd-fosc);
}

.mobile-fixed-footer {
    display: none;
}

.mobile-fixed-handle {
    display: none;
}

.scroll-top-bottom-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(22, 57, 34, 0.92);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-top-bottom-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-bottom-btn:hover {
    background: rgba(13, 30, 19, 0.96);
}

@media (max-width: 768px) {
    :root {
        --footer-fixed-height: 108px;
    }

    .site-footer {
        bottom: 74px;
    }

    .footer-carousel {
        display: none;
    }

    .footer-carousel-track {
        max-width: none;
        margin: 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 6px 14px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .footer-carousel-track::-webkit-scrollbar {
        display: none;
    }

    .footer-carousel-item {
        width: 92px;
        height: 42px;
    }

    .footer-carousel-item--large {
        width: 112px;
        height: 50px;
    }

    .footer-carousel-item--generalitat {
        width: 128px;
        height: 56px;
    }

    .footer-bottom {
        display: none;
    }

    .footer-inner {
        padding: 18px 20px 10px;
    }

    .footer-brand h3 {
        font-size: 22px;
    }

    .footer-sponsors {
        padding: 0 20px 16px;
    }

    .contacte-page {
        padding: 116px 16px 60px;
    }

    .merxan-page {
        min-height: auto;
        padding-top: 108px;
        padding-bottom: calc(var(--footer-fixed-height) + 18px);
        align-items: center;
    }

    .merxan-page .contacte-card {
        padding: 18px 16px 14px;
    }

    .contacte-card-main h1 {
        font-size: 2.4rem;
    }

    .contacte-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contacte-card-main h1 {
        margin-left: 0;
        text-align: left;
    }

    .contacte-mail-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .coming-soon-figure {
        padding: 18px 16px 16px;
    }

    .mobile-fixed-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 22px;
        z-index: 1201;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: linear-gradient(180deg, rgba(22, 57, 34, 0.97), rgba(47, 93, 58, 0.98));
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
    }

    .mobile-fixed-footer a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        color: #f4f8ef;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-fixed-footer a:last-child {
        border-right: none;
    }

    .mobile-fixed-handle {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 22px;
        padding: 2px 10px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.4px;
        color: rgba(244, 248, 239, 0.92);
        background: linear-gradient(180deg, rgba(13, 30, 19, 0.98), rgba(22, 57, 34, 0.99));
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .scroll-top-bottom-btn {
        bottom: 182px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    body {
        padding-bottom: 0;
    }

    .side-drac-logo {
        display: none;
    }
}

/* --------------------------------------------------
   INICI — GALERIA DE DESTACATS
-------------------------------------------------- */

.inici-gallery {
    padding-top: 104px;
    padding-bottom: 140px;
    padding-left: 32px;
    padding-right: 32px;
    background: linear-gradient(180deg, #ebf3e4 0%, #f9fdf7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-height: 100%;
}

.gallery-container img {
    width: 100%;
    max-height: calc(100vh - 244px);
    object-fit: contain;
    display: block;
    opacity: 0;
    transform: translateY(24px) scale(0.97);
        animation: galleryFadeIn 1.15s ease forwards;
}

.gallery-container img:nth-child(1) {
        animation-delay: 0.2s;
}

.gallery-container img:nth-child(2) {
        animation-delay: 0.75s;
}

@keyframes galleryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 900px) {
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-container img {
        max-height: calc(50vh - 100px);
    }
}

@media (max-width: 600px) {
    .inici-gallery {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gallery-container img {
        max-height: calc(45vh - 80px);
    }
}

/* --------------------------------------------------
   QUI SOM — DISSENY MODERN 2.0
-------------------------------------------------- */

.quisom {
    background: linear-gradient(
        135deg,
        rgba(74, 90, 58, 0.20),
        rgba(255, 255, 240, 0.90)
    );
    padding-top: 72px;
    padding-bottom: 28px;
}

/* HERO */
.quisom-hero {
    text-align: center;
    margin: 0 auto 20px;
    max-width: 1200px;
    padding: 0 24px;
}

.quisom-hero p {
    font-size: 20px;
    color: #444;
    opacity: 0.9;
}

/* CONTINGUT */
.quisom-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TEXT */
.quisom-text p {
    font-size: 17px;
    line-height: 1.62;
    color: #333;
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-word;
}

/* IMATGE */
.quisom-image {
    position: sticky;
    top: 118px;
    align-self: start;
    display: grid;
    gap: 12px;
}

.quisom-image img {
    width: 100%;
    height: clamp(210px, 22vw, 290px);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

.quisom-image-placeholder {
    min-height: clamp(140px, 14vw, 190px);
    border-radius: 18px;
    border: 1px dashed rgba(47, 93, 58, 0.35);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(244, 248, 239, 0.86));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(47, 93, 58, 0.08);
}

.quisom-image-placeholder span {
    font-size: 14px;
    letter-spacing: 0.6px;
    font-weight: 700;
    color: rgba(31, 63, 38, 0.72);
    text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .quisom-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .quisom-image {
        position: static;
    }

    .quisom-image img {
        height: auto;
    }

    .quisom-image-placeholder {
        min-height: 180px;
    }

    .quisom-hero p {
        font-size: 18px;
    }

    .quisom-text p {
        font-size: 17px;
    }

    /* Besties Grid */
    .besties-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .bestia-card img {
        height: 200px;
    }

    /* Bestia Page */
    .bestia-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .bestia-hero {
        min-height: 400px;
    }

    .bestia-summary h1 {
        font-size: 40px;
    }

    .bestia-summary p {
        font-size: 18px;
    }

    .music-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}



/* --------------------------------------------------
   PÀGINA: LES NOSTRES BÈSTIES — ESTIL MODERN
-------------------------------------------------- */
/* --------------------------------------------------
   PÀGINA: LES NOSTRES BÈSTIES — DISSENY MODERN 2.0
-------------------------------------------------- */

.besties {
    text-align: center;

    background: linear-gradient(
        135deg,
        rgba(47, 93, 58, 0.16),
        rgba(121, 161, 97, 0.08),
        rgba(255, 255, 255, 0.95)
    );
    backdrop-filter: blur(4px);
    padding-bottom: 26px;
    min-height: calc(100vh - 94px);
}


/* GRID MODERN */
.besties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 36px auto 0;
    max-width: 1280px;
    padding: 0 20px;
    align-items: stretch;
}

/* TARGETES GLASSMORPHISM */
.bestia-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    border: 1px solid rgba(47, 93, 58, 0.08);

    box-shadow: 0 22px 60px rgba(47, 93, 58, 0.12);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                background 0.3s ease;
    position: relative;
    display: grid;
    grid-template-rows: 240px auto 1fr;
    height: 100%;
}

.bestia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--verd-drac), var(--verd-brillant));
    z-index: 10;
}

.bestia-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.bestia-card:hover img {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* TÍTOL DE LA TARGETA */
.bestia-card h2 {
    margin: 18px 22px 8px;
    font-size: clamp(1.75rem, 1.9vw, 2.35rem);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.4px;
    font-weight: 700;
    text-align: center;

    background: linear-gradient(90deg, var(--verd-drac), var(--verd-brillant));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

/* TEXT */
.bestia-card p {
    padding: 0 22px 18px;
    margin: 0 auto;
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.65;
    color: #444;
    font-weight: 500;
    text-align: center;
    width: 100%;
    display: grid;
    align-content: start;
}

/* HOVER MODERN */
.bestia-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(47, 93, 58, 0.16);
    border-color: rgba(47, 93, 58, 0.18);
    background: rgba(255, 255, 255, 1);
}

.bestia-card:hover h2 {
    text-shadow: 0 6px 12px rgba(47, 93, 58, 0.1);
}



/* --------------------------------------------------
   PÀGINES INDIVIDUALS DE BÈSTIES (MINIMALISTA)
-------------------------------------------------- */
.bestia-page {
    padding: 130px 40px calc(36px + var(--footer-fixed-height));
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, rgba(246, 250, 238, 0.96), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(47, 93, 58, 0.08);
}

.bestia-top {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 1.5fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}

.bestia-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(47, 93, 58, 0.15);
    height: clamp(320px, 42vw, 460px);
    display: block;
    background: transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bestia-hero.hero-loaded {
    opacity: 1;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-slides img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.5s ease;
}

.hero-slides img.active {
    opacity: 1;
}

.bestia-page-dracgran .hero-slides img {
    object-fit: cover;
    object-position: center 35%;
}

.bestia-page-dracpetit .hero-slides img {
    object-fit: cover;
    object-position: center 18%;
}

.bestia-page-granota .hero-slides img {
    object-fit: cover;
    object-position: center 32%;
}

.bestia-hero:hover .hero-slides img.active {
    transform: scale(1.02);
    filter: brightness(1.04);
}

.bestia-summary {
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 244, 229, 0.9));
    border-radius: 18px;
    border: 1px solid rgba(47, 93, 58, 0.16);
    min-height: 420px;
    box-shadow: 0 18px 40px rgba(47, 93, 58, 0.08);

    box-shadow: 0 8px 30px rgba(47, 93, 58, 0.08);
}

.bestia-summary h1 {
    margin: 0 0 22px 0;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -0.8px;
    color: var(--verd-drac);
    line-height: 1.05;
    font-family: 'Playfair Display', serif;
}

.bestia-summary p {
    margin: 0;
    font-size: 17px;
    line-height: 1.9;
    color: #3a3a3a;
}

.bestia-meta {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 18px;
}

.bestia-meta .meta-item {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(47, 93, 58, 0.06);
    border: 1px solid rgba(47, 93, 58, 0.1);
}

.bestia-meta .meta-item strong {
    display: block;
    color: var(--verd-drac);
    margin-bottom: 6px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bestia-meta .meta-item span {
    display: block;
    font-size: 16px;
    color: #2f2f2f;
}

.bestia-tabs {
    background: linear-gradient(160deg, rgba(233, 243, 226, 0.98), rgba(210, 230, 198, 0.92));
    border-radius: 24px;
    border: 1px solid rgba(47, 93, 58, 0.24);
    box-shadow: 0 14px 34px rgba(47, 93, 58, 0.14);
    overflow: hidden;
    padding: 14px;
}

.tab-buttons {
    display: flex;
    gap: 1px;
    background: linear-gradient(135deg, rgba(47, 93, 58, 0.22), rgba(124, 177, 77, 0.22));
    border-radius: 0;
    overflow: hidden;
    padding: 4px;
}

.tab-buttons button {
    flex: 1;
    padding: 18px 24px;
    border: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(225, 239, 214, 0.72));
    color: #35523a;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-buttons button.active,
.tab-buttons button:hover {
    background: linear-gradient(135deg, #2b6a36, #79b04b);
    color: var(--blanc);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.14), 0 8px 18px rgba(47, 93, 58, 0.18);
    transform: translateY(-1px);
}

.tab-panel {
    display: none;
    padding: 24px 20px 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(205, 229, 188, 0.34));
    border-top: 1px solid rgba(47, 93, 58, 0.20);
}

.tab-panel.active {
    display: block;
}

.tab-panel h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 30px;
    color: var(--verd-drac);
}

.tab-panel p,
.tab-panel li {
    color: #2d2d2d;
    font-size: 17px;
    line-height: 1.9;
}

#anecdota.tab-panel p {
    text-align: justify;
}

.tab-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-panel li {
    margin-bottom: 16px;
    padding-left: 1rem;
    position: relative;
}

.tab-panel li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2f7a42;
}

.music-grid {
    display: grid;
    gap: 20px;
}

.music-section h2 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 12px;
}

.music-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(47, 93, 58, 0.12);
    background: rgba(247, 251, 248, 0.95);
}

.music-banner {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 18px;
    display: flex;
    justify-content: center;
}

.music-banner img {
    width: 70%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(47, 93, 58, 0.15);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.music-card h3 {
    margin: 0 0 10px 0;
    color: #1f4f35;
}

.music-card audio {
    width: 100%;
    margin: 15px 0;
    border-radius: 8px;
}

.score-button {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: var(--verd-fosc);
    text-decoration: none;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #f8fbf2);
    box-shadow: inset 0 0 0 1px rgba(47, 93, 58, 0.16);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.score-button:hover {
    background: linear-gradient(135deg, var(--verd-drac), var(--verd-brillant));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(47, 93, 58, 0.18);
}

.score-button.disabled {
    opacity: 0.6;
    pointer-events: none;
    border-color: rgba(47, 93, 58, 0.3);
    color: rgba(47, 93, 58, 0.7);
}

.score-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.score-gallery img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.bestia-info {
    margin: 60px 0;
    list-style: none;
    padding: 40px 0;
    border-top: 1px solid rgba(47, 93, 58, 0.12);
    border-bottom: 1px solid rgba(47, 93, 58, 0.12);
}

.bestia-info li {
    font-size: 16px;
    line-height: 2.5;
    color: #1a1a1a;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.bestia-info li strong {
    font-weight: 700;
    color: var(--verd-drac);
    min-width: 180px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--verd-fosc);
    border: 1px solid rgba(47, 93, 58, 0.25);
    background: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    letter-spacing: 0.3px;
}

.back-button:hover {
    background: linear-gradient(135deg, var(--verd-drac), var(--verd-brillant));
    color: white;
    border-color: transparent;
    transform: translateX(-4px);
    box-shadow: 0 18px 30px rgba(64, 115, 61, 0.18);
}




/* --------------------------------------------------
   CALENDARI — ESTIL CARTELL SUPER COMPACTE
-------------------------------------------------- */

.calendar-section {
    background: linear-gradient(
        135deg,
        rgba(47, 93, 58, 0.28),
        rgba(74, 90, 58, 0.18),
        rgba(255, 255, 240, 0.92)
    );
    backdrop-filter: blur(4px);
    padding-top: 88px;
    padding-bottom: 136px;
}

.calendar-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.calendar-page .calendar-section {
    flex: 1 0 auto;
}


/* Resaltar mes actual */
.month-cartell.current-month {
    background: none;
    border: none;
    box-shadow: none;
}

.month-cartell.current-month .month-cartell-header {
    background: rgba(47, 93, 58, 0.95);
}

.month-cartell.current-month .month-cartell-body {
    background: rgba(255, 255, 255, 0.92);
}

/* GRID */
.calendar-scroll-wrap {
    position: relative;
    padding: 0 44px;
}

.calendar-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1rem 0.6rem;
    align-items: stretch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.calendar-grid::-webkit-scrollbar {
    display: none;
}

.calendar-arrow {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(47, 93, 58, 0.35);
    background: rgba(255, 255, 255, 0.88);
    color: var(--verd-fosc);
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    z-index: 5;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.calendar-arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.06);
}

.calendar-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    transform: translateY(-50%);
}

.calendar-arrow-left {
    left: 2px;
}

.calendar-arrow-right {
    right: 2px;
}

.calendar-memory {
    margin: 26px auto 10px;
    max-width: 1200px;
    padding: 0 20px;
}

.calendar-memory-title {
    margin: 0 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--verd-fosc);
    text-transform: uppercase;
}

.calendar-memory-viewport {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(47, 93, 58, 0.22);
    background: linear-gradient(135deg, rgba(47, 93, 58, 0.16), rgba(255, 255, 255, 0.12));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 24px rgba(47, 93, 58, 0.08);
    backdrop-filter: blur(2px);
}

.calendar-memory-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding: 12px;
    animation: calendar-memory-scroll 34s linear infinite;
}

.calendar-memory-viewport:hover .calendar-memory-track {
    animation-play-state: paused;
}

.calendar-memory-item {
    margin: 0;
    width: 220px;
    flex: 0 0 220px;
}

.calendar-memory-item img {
    width: 100%;
    height: 132px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
}

.calendar-memory-item figcaption {
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.25;
    color: rgba(31, 63, 38, 0.84);
    text-align: center;
}

.calendar-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(9, 18, 12, 0.86);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2200;
    padding: 104px 24px 160px;
}

.calendar-lightbox.open {
    display: flex;
}

.calendar-lightbox-content {
    margin: 0;
    max-width: min(92vw, 980px);
    max-height: calc(100vh - 280px);
    display: grid;
    gap: 10px;
}

.calendar-lightbox-content img {
    width: 100%;
    max-height: calc(100vh - 340px);
    object-fit: contain;
    border-radius: 12px;
    background: transparent;
}

.calendar-lightbox-content figcaption {
    color: #f4f8ef;
    font-size: 0.92rem;
    text-align: center;
}

.calendar-lightbox-close {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.26);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 768px) {
    .calendar-lightbox {
        padding: 84px 14px 130px;
    }

    .calendar-lightbox-content {
        max-width: 96vw;
        max-height: calc(100vh - 230px);
    }

    .calendar-lightbox-content img {
        max-height: calc(100vh - 280px);
    }

    .calendar-lightbox-close {
        top: 20px;
        right: 12px;
    }
}

@keyframes calendar-memory-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* TARGETA DEL MES — SENSE RECUADRES */
.month-cartell {
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    overflow: visible;
    flex: 0 0 260px;
    min-width: 260px;
    scroll-snap-align: start;
}

/* Capçalera del mes */
.month-cartell-header {
    background: linear-gradient(
        90deg,
        var(--verd-fosc) 0%,
        var(--verd-drac) 35%,
        #5f7f40 65%,
        var(--verd-oliva) 100%
    );
    padding: .25rem .6rem;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .4px;
    color: white;
    text-transform: uppercase;
    margin-bottom: .1rem; /* apropa el primer event */
}

/* Cos del mes */
.month-cartell-body {
    padding: .25rem .6rem;
    background: rgba(255,255,255,0.74);
    border-radius: 0 0 6px 6px;
}

.event-cartell.event-hidden {
    display: none;
}

.month-cartell-body.expanded .event-cartell.event-hidden {
    display: grid;
}

.month-toggle-btn {
    margin-top: 0.5rem;
    width: 100%;
    border: 1px solid rgba(47, 93, 58, 0.25);
    background: rgba(255, 255, 255, 0.92);
    color: var(--verd-fosc);
    border-radius: 999px;
    padding: 0.48rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.25px;
}

.month-toggle-btn:hover {
    background: linear-gradient(135deg, var(--verd-drac), var(--verd-brillant));
    color: #fff;
    border-color: transparent;
    transform: translateX(-3px);
    box-shadow: 0 12px 24px rgba(64, 115, 61, 0.16);
}

.month-toggle-sign {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.month-toggle-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* EVENT ULTRA PREMIUM — SENSE RECUADRES */
.event-cartell {
    position: relative; /* necessari per al pseudo-element */
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: .35rem;
    padding: .15rem 0;
    align-items: center;
    min-height: 34px;
    background: none !important;
    border: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* La línia vertical */
.event-cartell::before {
    content: "";
    position: absolute;
    left: 17px; /* alineada amb el centre de la rodona */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--verd-fosc) 0%,
        var(--verd-drac) 35%,
        #5f7f40 65%,
        var(--verd-oliva) 100%
    );
    opacity: .65; /* subtil, elegant */
    z-index: 0;
}

.event-cartell:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Eliminem alternança i separadors — línia vertical fa tota la feina */
.event-cartell:nth-child(even),
.event-cartell:not(:last-child) {
    background: none !important;
    border: none !important;
}


/* Assignació de columnes */
.event-date { grid-column: 1; }
.event-info { grid-column: 2; }
.event-icons { grid-column: 3; }


/* Rodona */
.event-date {
    position: relative;
    z-index: 2; /* per sobre de la línia */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--verd-fosc) 0%,
        var(--verd-drac) 30%,
        #5f7f40 60%,
        var(--verd-oliva) 100%
    );
    color: white;
    font-size: .9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    border: 2px solid rgba(255,255,255,0.55);
}

/* Text */
.event-info {
    margin-left: -4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.event-title {
    font-size: .95rem;
    font-weight: 700;
    color: #111;
    letter-spacing: .2px; /* toc editorial */
}

.event-location {
    font-size: .78rem;
    opacity: .55;
    margin-top: 1px;
}


/* Icones premium */
.event-icons {
    display: flex;
    gap: 6px;
    font-size: 1.2rem;
    align-items: center;
    justify-content: flex-end;
    padding-right: 2px;
    position: relative;
    z-index: 2;
}


/* Colors corporatius */
.event-icons span {
    margin-right: 0.35rem;
    font-size: 1rem;
}


.event-icons .rose {color: #c62828;}
.event-icons .fire {color: var(--roig-foc);}
.event-icons .water {color: #1e88e5;}
.event-icons .drac {color: var(--verd-drac);}
.event-icons .music {color: var(--verd-oliva);}




/* --------------------------------------------------
   RESPONSIVE besties
-------------------------------------------------- */
@media (max-width: 600px) {
    /* Header */
    #header.header-modern {
        padding: 0 20px;
        height: 72px;
    }

    #header .logo img {
        height: 90px;
    }

    nav .menu {
        gap: 18px;
    }

    nav .menu a {
        font-size: 14px;
    }

    .social-icons {
        gap: 15px;
    }

    .calendar-scroll-wrap {
        padding: 0;
    }

    .calendar-arrow {
        display: none;
    }

    .calendar-memory-item {
        width: 190px;
        flex-basis: 190px;
    }

    .calendar-memory-item img {
        height: 112px;
    }

    /* Qui Som */
    .quisom-hero h1 {
        font-size: 40px;
    }

    .quisom-hero p {
        font-size: 17px;
    }

    .quisom-text p {
        font-size: 16px;
    }

    /* Besties */
    .besties h1 {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .besties-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 0 15px;
    }

    .bestia-card {
        border-radius: 18px;
        padding-bottom: 25px;
    }

    .bestia-card img {
        height: 200px;
    }

    .bestia-card h2 {
        font-size: 24px;
    }

    .bestia-card p {
        font-size: 15px;
        padding: 0 18px;
    }

    /* Bestia Page */
    .bestia-page {
        padding: 35px 20px;
    }

    .bestia-top {
        display: block;
    }

    .bestia-hero {
        min-height: 320px;
        margin-bottom: 30px;
    }

    .bestia-summary {
        padding: 25px 20px;
    }

    .bestia-summary h1 {
        font-size: 36px;
    }

    .bestia-summary p {
        font-size: 17px;
    }

    .bestia-meta {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .meta-item {
        padding: 15px;
    }

    .tab-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-buttons button {
        flex: 1 1 48%;
        padding: 15px 12px;
        font-size: 15px;
    }

    .tab-panel {
        padding: 25px 0;
    }

    .bestia-content p {
        font-size: 16px;
    }

    .music-section h2 {
        font-size: 20px;
    }

    .music-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .music-card {
        padding: 20px;
    }

    .music-banner img {
        width: 85%;
    }

    .back-button {
        padding: 14px 22px;
        font-size: 16px;
    }
}

/* --------------------------------------------------
   RESPONSIVE DESIGN — TABLETS (768px)
-------------------------------------------------- */
@media (max-width: 768px) {
    /* Header */
    #header.header-modern {
        padding: 0 20px;
        height: 76px;
    }

    #header .logo img {
        height: 94px;
    }

    nav .menu {
        gap: 20px;
    }

    nav .menu a {
        font-size: 14px;
    }

    /* Qui Som */
    .quisom-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .quisom-hero p {
        font-size: 18px;
    }

    .quisom-text p {
        font-size: 16px;
    }

    /* Besties Grid */
    .besties-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        padding: 0 15px;
    }

    .bestia-card {
        padding-bottom: 25px;
    }

    .bestia-card img {
        height: 200px;
    }

    .bestia-card h2 {
        font-size: 24px;
    }

    .bestia-card p {
        font-size: 15px;
        padding: 0 20px;
    }

    /* Bestia Page */
    .bestia-page {
        padding: 40px 20px;
    }

    .bestia-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bestia-hero {
        min-height: 350px;
    }

    .bestia-summary h1 {
        font-size: 36px;
    }

    .bestia-summary p {
        font-size: 17px;
    }

    .bestia-meta {
        grid-template-columns: 1fr;
    }

    .tab-buttons button {
        padding: 16px 14px;
        font-size: 15px;
    }

    .music-grid {
        grid-template-columns: 1fr;
    }

    .music-banner img {
        width: 80%;
    }
}

/* --------------------------------------------------
   RESPONSIVE DESIGN — MÓVILES GRANDES (480px)
-------------------------------------------------- */
@media (max-width: 480px) {
    /* Header */
    #header.header-modern {
        padding: 0 15px;
        height: 66px;
    }

    #header .logo img {
        height: 82px;
    }

    nav .menu-toggle {
        display: flex;
    }

    nav .menu {
        position: absolute;
        top: 66px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(74, 90, 58, 0.95);
        backdrop-filter: blur(14px);
        padding: 20px 0;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }

    nav .menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav .menu li {
        width: 100%;
        text-align: center;
    }

    nav .menu a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav .menu a:last-child {
        border-bottom: none;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icons .icon {
        width: 18px;
        height: 18px;
    }

    /* Qui Som */
    .quisom-hero h1 {
        font-size: 36px;
    }

    .quisom-hero p {
        font-size: 16px;
    }

    .quisom-text p {
        font-size: 15px;
    }

    /* Besties */
    .besties h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .besties-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }

    .bestia-card {
        border-radius: 16px;
        padding-bottom: 20px;
    }

    .bestia-card img {
        height: 180px;
    }

    .bestia-card h2 {
        font-size: 22px;
    }

    .bestia-card p {
        font-size: 14px;
        padding: 0 15px;
    }

    /* Bestia Page */
    .bestia-page {
        padding: 30px 15px;
    }

    .bestia-hero {
        min-height: 280px;
        margin-bottom: 25px;
    }

    .bestia-summary {
        padding: 20px 15px;
    }

    .bestia-summary h1 {
        font-size: 30px;
    }

    .bestia-summary p {
        font-size: 16px;
    }

    .bestia-meta {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .meta-item {
        padding: 12px;
    }

    .tab-buttons {
        gap: 8px;
    }

    .tab-buttons button {
        padding: 12px 10px;
        font-size: 14px;
    }

    .tab-panel {
        padding: 20px 0;
    }

    .music-section h2 {
        font-size: 18px;
    }

    .music-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .music-card {
        padding: 15px;
    }

    .music-banner img {
        width: 90%;
    }

    .back-button {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* --------------------------------------------------
   RESPONSIVE DESIGN — MÓVILES PEQUEÑOS (360px)
-------------------------------------------------- */
@media (max-width: 360px) {
    /* Header */
    #header.header-modern {
        padding: 0 10px;
        height: 61px;
    }

    #header .logo img {
        height: 72px;
    }

    nav .menu-toggle {
        display: flex;
        width: 25px;
        height: 20px;
    }

    nav .menu-toggle span {
        height: 2px;
    }

    nav .menu {
        top: 61px;
        padding: 15px 0;
    }

    nav .menu a {
        padding: 12px 15px;
        font-size: 15px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons .icon {
        width: 16px;
        height: 16px;
    }

    /* Qui Som */
    .quisom-hero h1 {
        font-size: 32px;
    }

    .quisom-hero p {
        font-size: 15px;
    }

    .quisom-text p {
        font-size: 14px;
    }

    /* Besties */
    .besties h1 {
        font-size: 26px;
    }

    .besties-grid {
        gap: 20px;
        padding: 0 5px;
    }

    .bestia-card img {
        height: 160px;
    }

    .bestia-card h2 {
        font-size: 20px;
    }

    .bestia-card p {
        font-size: 13px;
        padding: 0 10px;
    }

    /* Bestia Page */
    .bestia-page {
        padding: 25px 10px;
    }

    .bestia-hero {
        min-height: 240px;
    }

    .bestia-summary h1 {
        font-size: 28px;
    }

    .bestia-summary p {
        font-size: 15px;
    }

    .meta-item {
        padding: 10px;
    }

    .tab-buttons button {
        padding: 10px 8px;
        font-size: 13px;
    }

    .music-section h2 {
        font-size: 16px;
    }

    .music-card h3 {
        font-size: 16px;
    }

    .music-banner img {
        width: 95%;
    }

    .back-button {
        padding: 10px 15px;
        font-size: 14px;
    }
}
