/* ==========================================================================
   ROVI-SUB — Full d'estils global
   Botiga especialitzada en busseig, pesca submarina i apnea
   ========================================================================== */

/* ==========================================================================
   1. RESET I VARIABLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Seguretat global: cap imatge desborda el contenidor */
img {
    max-width: 100%;
    height: auto;
}

:root {
    --primary: #0077be;
    --primary-dark: #005a8e;
    --secondary: #00a8cc;
    --secondary-light: #b6edfa;
    --accent: #ff6b35;
    --dark: #0a2540;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;

    /* Degradat lliscant del títol del hero d'ofertes */
    --title-flow-light: linear-gradient(90deg, #eaf7ff 0%, #9adcff 25%, #ffffff 50%, #ffd166 58%, #9adcff 75%, #eaf7ff 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ==========================================================================
   1B. LANGUAGE SWITCHER (dins la navbar)
   ========================================================================== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.75rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.3);
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lang-btn:hover {
    background: #ff8c42;
    color: #ffffff;
    border-color: #ff8c42;
}

.lang-btn.active {
    background: var(--dark);
    color: #ffffff;
    border-color: var(--dark);
}


/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.navbar {
    background: linear-gradient(135deg, #fdfaf5 0%, #ffe2c2 45%, #fe8f1f 100%);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Navbar transparent a la pàgina principal — completament transparent */
.navbar.navbar-transparent {
    background: transparent;
    box-shadow: none;
}

.navbar.navbar-transparent .nav-links a,
.navbar.navbar-transparent .menu-toggle,
.navbar.navbar-transparent .lang-btn {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.navbar.navbar-transparent .nav-links a {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.navbar.navbar-transparent .nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.navbar.navbar-transparent .nav-links a.active {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.navbar.navbar-transparent .menu-toggle {
    color: #ffffff;
}

.navbar.navbar-transparent .lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.navbar.navbar-transparent .lang-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar.navbar-transparent .lang-btn.active {
    background: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar.navbar-transparent .logo-title {
    background: linear-gradient(90deg, #ffffff 0%, #ffe2c2 60%, #ffb06a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.navbar.navbar-transparent .logo-tagline {
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.navbar.navbar-transparent .logo-img {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* ← alçada total que tindrà la navbar */
    padding: 0 20px;
    /* ← 0 vertical: tot l'espai és per al logo */
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* El logo omple tota l'alçada disponible */
.logo-img {
    height: 100%;
    /* màxim de gran dins la navbar */
    max-height: 80px;
    width: auto;
    border-radius: 50%;
}

/* Text del logotip: ROVI-SUB + subtítol */
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 1.08;
    text-align: left;
}

.logo-title {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 700;
    font-size: 1.95rem;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #0a2540 0%, #0077be 52%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.logo-tagline {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    color: #0a2540;
    opacity: 0.7;
}

/* Navbar nav: contenidor flex d'enllaços + idioma */
.navbar nav {
    display: flex;
    align-items: center;
}

/* Nav-dropdown: a dalt de tot, amaga el padding del nav-links */
.nav-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Enllaços */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    transition: background 0.1s ease, color 0.1s ease;
}

/* Hover: taronja mitjà amb text blanc */
.nav-links a:hover {
    background: #ff8c42;
    color: #ffffff;
}

/* Enllaç actiu: taronja una mica més fosc */
.nav-links a.active {
    background: #f4711f;
    color: #ffffff;
}

/* ===== BOTÓ CTA "OFERTES" — cridaner amb gradient + pulsació + brillantor ===== */
.nav-links .nav-cta {
    background: linear-gradient(90deg, #ff6b35, #e85d26);
    color: #ffffff;
    box-shadow: none;
    animation: navCtaPulse 1.6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.nav-links .nav-cta:hover {
    background: linear-gradient(90deg, #e85d26, #d14e1c);
    box-shadow: 0 4px 14px rgba(232, 93, 38, 0.45);
}

.nav-links .nav-cta.active {
    background: linear-gradient(90deg, #d14e1c, #b8400f);
    box-shadow: 0 4px 14px rgba(209, 78, 28, 0.45);
}

/* Brillantor que escombra el botó */
.nav-links .nav-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: navCtaShine 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navCtaPulse {

    0%,
    100% {
        box-shadow: none;
    }

    50% {
        box-shadow: 0 0 12px rgba(232, 93, 38, 0.5);
    }
}

@keyframes navCtaShine {
    0% {
        left: -75%;
    }

    60%,
    100% {
        left: 125%;
    }
}

/* Variants per navbar transparent (pàgina principal) */
.navbar.navbar-transparent .nav-links .nav-cta {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    text-shadow: none;
}

.navbar.navbar-transparent .nav-links .nav-cta:hover {
    background: linear-gradient(90deg, #ff6b35, #e85d26);
    border-color: #ffffff;
}

.navbar.navbar-transparent .nav-links .nav-cta.active {
    background: linear-gradient(90deg, #e85d26, #d14e1c);
    border-color: #ffffff;
}

/* Botó menú mòbil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ==========================================================================
   3. HERO D'OFERTES (grid de productes + filtre · primera secció de la pàgina)
   ========================================================================== */
.offers-hero {
    position: relative;
    background: linear-gradient(160deg, #0a2540 0%, #005a8e 55%, #00456e 100%);
    color: var(--white);
    padding: 6rem 0 4.5rem;
    overflow: hidden;
}

/* Fons: capes d'imatge amb crossfade lent (7s per imatge, fade de 2.5s) */
.offers-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.offers-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: offersHeroFade 28s linear infinite both;
}

.offers-hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.offers-hero-slide:nth-child(2) {
    animation-delay: 7s;
}

.offers-hero-slide:nth-child(3) {
    animation-delay: 14s;
}

.offers-hero-slide:nth-child(4) {
    animation-delay: 21s;
}

@keyframes offersHeroFade {
    0% {
        opacity: 0;
    }

    8.93% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33.93% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Capa de tons sobre les imatges: fosca a dalt (navbar) i a baix (targetes) */
.offers-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(10, 37, 64, 0.8) 0px,
            rgba(10, 37, 64, 0.5) 140px,
            rgba(10, 37, 64, 0.4) 55%,
            rgba(10, 37, 64, 0.74) 100%);
}

/* Contingut del hero per sobre del fons */
.offers-hero>.container {
    position: relative;
    z-index: 2;
}

.offers-hero-head {
    text-align: center;
    margin: 2.5rem 0 3rem;
}

.offers-hero-head h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--title-flow-light);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 25, 50, 0.6));
    animation: heroTitleFlow 5s linear infinite, heroTitleShake 6s ease-in-out infinite;
}

.offers-hero-sub {
    max-width: 640px;
    margin: 0.75rem auto 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Llucent mòbil al títol de les ofertes: el degradat llisca per les lletres */
@keyframes heroTitleFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 250% 50%;
    }
}

/* Tremolor suau i breu, cada ~6s, per cridar l'atenció sense semblar un error */
@keyframes heroTitleShake {
    0%, 78%, 100% {
        transform: translateX(0);
    }
    82% {
        transform: translateX(-3px);
    }
    85% {
        transform: translateX(3px);
    }
    88% {
        transform: translateX(-2px);
    }
    91% {
        transform: translateX(2px);
    }
    94% {
        transform: translateX(0);
    }
}

/* --- Filtre per tipus de producte (chips) --- */
.outlet-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.outlet-filter-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.outlet-filter-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.outlet-filter-btn.active {
    background: linear-gradient(90deg, #ff6b35, #e85d26);
    border-color: #ff6b35;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(232, 93, 38, 0.45);
}

/* --- Marquesina horitzontal de missatges (barra d'ample complet) --- */
.ticker {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    padding: 1rem 1.4rem;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ticker-track {
    display: flex;
    transition: transform 0.4s ease;
}

.ticker-item {
    flex: 0 0 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    text-align: center;
}

.ticker-item strong {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #eaf7ff 0%, #4db2ff 45%, #ff8c42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 1px 6px rgba(0, 25, 50, 0.5));
    white-space: nowrap;
}

.ticker-item span {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}


/* ==========================================================================
   4. BOTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* ===== BOTÓ PRIMARI: blau fosc ===== */
.btn-primary {
    background: #005a8e;
    color: var(--white);
    border: 2px solid #005a8e;
}

.btn-primary:hover {
    background: transparent;
    color: #005a8e;
}

/* ===== BOTÓ SECUNDARI: turquesa clar ===== */
.btn-secondary {
    background: #00a8cc;
    color: var(--white);
    border: 2px solid #00a8cc;
}

.btn-secondary:hover {
    background: transparent;
    color: #00a8cc;
}


/* ==========================================================================
   5. SECCIONS (estils base)
   ========================================================================== */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}


/* ==========================================================================
   6. CAPÇALERA DE SECCIÓ (logotip + títol, sense marc de fons)
   ========================================================================== */
.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 3rem;
}

/* Logotip a l'esquerra */
.section-logo {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.25);
}

/* Text a la dreta. Títol pla, sense efectes: només el color i l'enfosacament
   que demana el fons de cada secció. */
.section-header-text h2 {
    text-align: left;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.section-header-text .section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

/* sense caixa: es manté només el to del subtítol */
.section-header--dark {
    background: transparent;
    box-shadow: none;
}

.section-header--dark .section-subtitle {
    color: #cfd8e3;
}

.section-header--dark .section-logo {
    border-color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}


/* ==========================================================================
   7. SERVEIS
   ========================================================================== */
/* Fons: foto de posidònia, sense cap vel a sobre. El degradat pla es manté com a
   reserva per si la imatge no carregués. */
.services {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0a2540 0%, #005a8e 55%, #00456e 100%);
    color: var(--white);
}

/* La imatge ve pre-processada amb gblur sigma 1.0 + unsharp, no amb filter: blur()
   aquí. Motius:
   1) Amb filter el navegador rasteritza tota la capa a cada resize i a mòbil va a
      judes; un AVIF estàtic s'escala sense cost.
   2) El Gaussian sol es menja la definició (sigma 2.5 deixava només el 36% de
      l'energia de vora, mesurat). El unsharp després del blur la torna a pujar al
      ~92%, de manera que la foto queda només suauixida, no esborrada.
   Sense blur aquí no cal inset negatiu: amb cover les vores quadren exactament. */
.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/serveis/fons-posidonia-serveis-fons.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* El contingut ha de quedar per damunt de la foto difuminada */
.services>.container {
    position: relative;
    z-index: 1;
}

/* El logotip RoviSub ja apareix a cada targeta: aquí sobra */
.services .section-logo {
    display: none;
}

/* Sense logotip, la capçalera no té res a l'esquerra: queda centrada.
   El subtítol es limita a 640px per no estirar-se pels 1160px del contenidor. */
.services .section-header {
    justify-content: center;
}

.services .section-header-text h2 {
    text-align: center;
    color: #9adcff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.services .section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0.75rem auto 0;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Graella més compacta i centrada */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 1.4rem;
    max-width: 1020px;
    margin: 0 auto;
}

/* Targeta de servei: sense marc, només vidre. El degradat és més blanc a la
   part de dalt (on hi ha el logotip opac, sense text) i es fosqueix cap avall,
   on el text blanc conserva el contrast. Sense capa fosca sota: la foto de fons
   ja és fosca i el backdrop-filter n'esborra els trams clars.
   El blur del vidre és de 20px perquè la foto de fons, que ve molt definida,
   quedi esvaïda just sota el text: és aquí on cal el suauixit, no a tota la
   secció, que ha de conservar el detall. */
.service-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.11) 45%, rgba(255, 255, 255, 0.07) 100%);
    padding: 1.5rem;
    border: none;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-align: center;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    transition: var(--transition);
}

/* Targeta de servei com a enllaç */
a.service-card {
    display: block;
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.11) 45%, rgba(255, 255, 255, 0.07) 100%);
    padding: 1.5rem;
    border: none;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease;
}

/* Hover: el vidre es fa una mica més dens, sense ombra */
a.service-card:hover {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.19) 45%, rgba(255, 255, 255, 0.15) 100%);
    color: var(--white);
    transform: translateY(-4px);
}

/* Sense marc, l'indicador de teclat és l'única pista: cal que es veigi */
a.service-card:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Icona: cercle de vidre difuminat. Els anells en blanc, cada cop més
   difusos, esborren el tall del perimeter del PNG. */
.service-icon {
    margin-bottom: 1.1rem;
}

.service-icon img {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: contain;
    border: none;
    display: inline-block;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.45),
        0 0 0 5px rgba(255, 255, 255, 0.12),
        0 0 0 10px rgba(255, 255, 255, 0.05),
        0 0 20px 6px rgba(255, 255, 255, 0.2);
}

/* Títol. L'ombra de contorn és el que fa llegible el text blanc sobre el vidre
   transparent: la foto de fons, encara que difuminada, té trams clars puntualment
   i sense això les lletres hi desapareixen. */
.service-card h3 {
    color: #9adcff;
    margin-bottom: 0.8rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.55);
    transition: color 0.35s ease;
}

.service-card:hover h3 {
    color: #ffffff;
}

/* Paràgraf */
.service-card p {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.5);
    transition: color 0.35s ease;
}

.service-card:hover p {
    color: #ffffff;
}


/* ==========================================================================
   3B. GRAELLA D'OFERTES, MODAL I LIGHTBOX
   ========================================================================== */
/* Graella de productes */
.outlet-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.25rem;
}

/* Marc de vidre al voltant de la graella de productes */
.outlet-frame {
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.outlet-card {
    background: #f8f9fb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(10, 37, 64, 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    outline: none;
}

.outlet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(10, 37, 64, 0.2);
}

/* Imatge amb badge de descompte */
.outlet-img {
    position: relative;
    background: #ffffff;
    height: 160px;
}

.outlet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e55a2b;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.45);
}

/* Cos de la targeta */
.outlet-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.outlet-body h3 {
    color: #1a4fa0;
    font-size: 1.05rem;
}

/* Descripció tallada a 3 línies */
.outlet-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;          /* ← número de línies visibles */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Preus */
.outlet-prices {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.85rem;
}

.new-price {
    color: #a33713;
    font-size: 1.3rem;
    font-weight: 800;
}

/* Botó de consulta */
.btn-consultar {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 0.9rem;
    border-radius: 50px;
    background: linear-gradient(90deg, #e55a2b, #ffb300);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.btn-consultar:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

/* ===== LLISTAT COMPACTE D'ESPECIFICACIONS (amagat a la targeta) ===== */

/* Llistat: amagat per defecte i compacte */
.outlet-list {
    list-style: none;
    margin: 0.75rem 0 1rem;
    padding-left: 0.4rem;
    display: none;                  /* amagat fins que s'expandeix */
}

/* Items: línies juntes */
.outlet-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    color: #4a5568;
    font-size: 0.82rem;
}

/* Marca ✔ de cada item */
.outlet-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0.05em;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85em;
}

/* ===== Targeta clicable → obre el modal de detall ===== */
.outlet-card:focus-visible {
    box-shadow: 0 0 0 3px var(--accent), 0 14px 30px rgba(10, 37, 64, 0.2);
}

.outlet-card.is-hidden {
    display: none;
}

/* ===== MODAL DE DETALL DEL PRODUCTE ===== */
body.modal-open {
    overflow: hidden;
}

.outlet-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(10, 37, 64, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.outlet-modal {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(24px);
    transition: transform 0.3s ease;
}

.outlet-modal-overlay.open .outlet-modal {
    transform: translateY(0);
}

.outlet-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(10, 37, 64, 0.75);
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.outlet-modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

/* Dins el modal totes les dades es mostren senceres (sense retallar) */
.outlet-modal .outlet-img {
    height: 320px;
    cursor: zoom-in;
}

/* La foto es mostra completa (sense retallar) dins el modal */
.outlet-modal .outlet-img img {
    object-fit: contain;
}

/* Visor d'imatge a mida completa (lightbox) */
.outlet-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(5, 13, 24, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.outlet-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.outlet-lightbox-img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.outlet-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.outlet-lightbox-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

/* El badge de descompte es mou a l'esquerra per no xocar amb la X */
.outlet-modal .discount-badge {
    right: auto;
    left: 14px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.outlet-modal .outlet-body {
    padding: 1.5rem;
    gap: 1rem;
}

.outlet-modal .outlet-body h3 {
    font-size: 1.45rem;
}

.outlet-modal .outlet-desc {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    font-size: 1rem;
    line-height: 1.6;
}

.outlet-modal .outlet-list {
    display: block;
}

.outlet-modal .outlet-list li {
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

.outlet-modal .outlet-prices {
    gap: 0.9rem;
}

.outlet-modal .old-price {
    font-size: 1rem;
}

.outlet-modal .new-price {
    font-size: 1.6rem;
}

.outlet-modal .btn-consultar {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   9. ABOUT (Sobre Nosaltres)
   ========================================================================== */
/* Blau fosc que continua la paleta del hero d'ofertes. El padding inferior
   (9rem = 5rem genèric + els 4rem que tenia el footer com a margin-top) evita
   la franja blanca que deixava el --light del body entre aquesta secció i el
   footer, tots dos foscos. */
.about {
    background: linear-gradient(200deg, #061a2e 0%, #00456e 55%, #005a8e 100%);
    color: var(--white);
    padding-bottom: 9rem;
}

/* Títol i logotip en blau clar: és el que contrasta amb el degradat fosc */
.about .section-header-text h2 {
    color: #9adcff;
}

.about .section-logo {
    border-color: #9adcff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* El turquesa --secondary es fonia amb el degradat: usem el mateix
   blau clar dels títols, que sí hi contrasta */
.stat h3 {
    font-size: 3rem;
    color: #9adcff;
}


/* ==========================================================================
   10. CONTACTE AL FOOTER
   ========================================================================== */

/* Encapçalament de la secció de contacte. Mateix blau clar dels altres títols
   de secció, que és el que contrasta amb el degradat fosc del peu. */
.footer-title {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #9adcff;
    font-size: 1.9rem;
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Les dades de contacte van sobre un panell de vidre: sense això el text blanc
   es quedava damunt del degradat pelat i costava de llegir. `wrap` en lloc de
   `nowrap` perquè en pantalles estretes el text baixi de línia en lloc de
   desbordar elPeu. */
.footer-contact {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.75rem;
    max-width: 1020px;
    margin: 0 auto 1.75rem;
    padding: 1.15rem 1.6rem;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: #9adcff;
    opacity: 0.9;
}

.footer-contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.footer-contact-item a:hover {
    text-decoration: underline;
    color: #9adcff;
}

.footer-contact-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.2rem;
}

/* ==========================================================================
   11. FOOTER (compacte en una línia)
   ========================================================================== */
/* Sense margin-top: el body's --light (gairebé blanc) es veia entre la secció
   fosca del damunt i aquest footer, i deixava una franja blanca. L'espai
   equivalent l'hi posem a la secció precedent (.about / .page-content). */
.footer-minimal {
    position: relative;
    background: linear-gradient(180deg, #00456e 0%, #0a2540 55%, #071c33 100%);
    color: #ffffff;
    padding: 2.75rem 0 1.25rem;
    overflow: hidden;
}

.waves-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
}

/* Crèdit amb icona d'abella */
.footer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-credit a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.footer-credit a:hover {
    border-bottom-color: #ffffff;
}

/* Logotip abellot al footer */
.bee-img {
    height: 46px;
    width: 46px;
    object-fit: contain;
    padding: 4px;
    flex-shrink: 0;
}


/* ==========================================================================
   12. SUBPÀGINES (page-hero, catàleg, marques)
   ========================================================================== */
/* Capçalera de subpàgina */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 9rem 2rem 4rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Capçalera amb foto de fons */
.page-hero--foto {
    background-color: var(--dark);
    background-image:
        linear-gradient(rgba(10, 37, 64, 0.55), rgba(10, 37, 64, 0.78)),
        url('../img/botiga4.jpg');
    background-size: cover;
    background-position: center;
    padding: 11rem 2rem 6rem;
}

/* 5rem -> 9rem pel mateix motiu que a .about: el footer ja no porta margin-top
   i aquesta és la secció que el precedeix a les subpàgines. */
.page-content {
    padding: 4rem 0 9rem;
}

/* Botons al peu de la subpàgina */
.page-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Graella de catàleg (foto a dalt + text a sota) */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.catalog-item {
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.catalog-img {
    height: 190px;
    overflow: hidden;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.catalog-body {
    padding: 1.5rem 1.5rem 2rem;
}

.catalog-body h3 {
    color: var(--dark);
    font-size: 1.45rem;
    text-align: left;
    margin-bottom: 0.75rem;
}

.catalog-body ul {
    list-style: none;
}

.catalog-body li {
    position: relative;
    color: #4a627a;
    line-height: 1.35;
    padding: 0.1rem 0 0.1rem 1.4rem;
    text-align: left;
}

/* Marca al davant de cada item */
.catalog-body li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0.15em;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9em;
}

/* Nom del servei en negreta */
.catalog-body li strong {
    color: var(--dark);
    font-weight: 700;
}

/* Targeta àmplia que ocupa tota la fila */
.catalog-item--wide {
    grid-column: 1 / -1;
}

.catalog-item--wide .catalog-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2rem;
}

.catalog-item--wide .catalog-img {
    height: 280px;
}

.catalog-group h3 {
    margin-bottom: 0.75rem;
}

/* Marques: targetes sense marge ni animació */
.brands {
    text-align: center;
    margin: 3rem 0;
}

.brands-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

/* Fila centrada amb una sola targeta */
.brands-row {
    display: flex;
    justify-content: center;
    /* ← centra l'única targeta */
}

/* Targeta Cressi: groc molt pàl·lid */
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 2rem;
    width: min(320px, 100%);
    /* ample màxim elegant */
    /* sense marges, sense animació (es manté) */
}

.brand-cressi {
    background: #ffffff;
    /* blanc */
}

.brand-card img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    display: block;
}


/* ==========================================================================
   13. BOTÓ FLOTANT WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    z-index: 2000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}

/* Polsació per cridar l'atenció */
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
/* --- Mòbil i tablet (<= 768px) --- */
@media (max-width: 768px) {

    .navbar .container {
        height: 58px;
    }

    /* Dropdown: contenidor del menú + idioma */
    .nav-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        z-index: 1001;
        display: none;
    }

    .nav-dropdown.active {
        display: block;
    }

    .navbar.navbar-transparent .nav-dropdown {
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: none;
    }

    .navbar.navbar-transparent .nav-dropdown .nav-links a {
        color: #ffffff;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links .nav-cta {
        margin: 0.25rem 0;
        text-align: center;
        padding: 0.6rem 1.5rem;
    }

    /* Lang switcher: baix del menú */
    .lang-switcher {
        display: flex;
        margin-left: 0;
        padding: 0.6rem 1rem 1rem;
        justify-content: center;
        border-top: 1px solid #eee;
    }

    .lang-btn {
        padding: 0.15rem 0.5rem;
        font-size: 0.7rem;
    }

    .menu-toggle {
        display: block;
    }

    .logo-img {
        max-height: 58px;
        margin-bottom: 0;
    }

    .logo-title {
        font-size: 1.45rem;
        letter-spacing: 1px;
    }

    .logo-tagline {
        font-size: 0.78rem;
    }

    /* Hero ofertes */
    .offers-hero {
        padding: 4.5rem 0 3rem;
        background: linear-gradient(180deg, #0a2540 0%, #00507f 20%, #0a2540 60%, #061f38 100%);
    }

    /* En vertical, un fons de 16:9 amb 'cover' s'amplia ~20x i només se'n
       veu un 5% d'amplada. El limitem a la banda superior del hero i el
       desvaeixem cap al gradient, que es fosqueja per fer-li de fons
       als productes. */
    .offers-hero-bg {
        bottom: auto;
        height: 78vh;
        min-height: 420px;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
    }

    /* Vel més lleu: les fotos es veuen millor i el t segueix llegible */
    .offers-hero-scrim {
        background: linear-gradient(180deg,
                rgba(10, 37, 64, 0.72) 0px,
                rgba(10, 37, 64, 0.28) 120px,
                rgba(10, 37, 64, 0.2) 50%,
                rgba(10, 37, 64, 0) 100%);
    }

    .offers-hero-head {
        margin: 2rem 0 2.25rem;
    }

    .offers-hero-head h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .offers-hero-sub {
        font-size: 0.98rem;
    }

    .outlet-filter-btn {
        padding: 0.5rem 1.05rem;
        font-size: 0.85rem;
    }

    /* Marc de vidre de la graella */
    .outlet-frame {
        padding: 0.9rem;
        border-radius: 18px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    /* Marquesina del hero */
    .ticker {
        padding: 0.75rem 1rem;
    }

    .ticker-item strong {
        font-size: 1.15rem;
        white-space: normal;
        line-height: 1.25;
    }

    .ticker-item span {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    /* Modal de detall */
    .outlet-modal-overlay {
        padding: 0.75rem;
        align-items: stretch;
    }

    .outlet-modal {
        max-height: 92vh;
        border-radius: 14px;
    }

    .outlet-modal .outlet-img {
        height: 230px;
    }

    .outlet-lightbox {
        padding: 1rem;
    }

    /* Seccions */
    section h2 {
        font-size: 2rem;
    }

    .section-header {
        gap: 1rem;
    }

    .section-logo {
        width: 72px;
        height: 72px;
        border-width: 2px;
    }

    .section-header-text h2 {
        font-size: 1.75rem;
    }

    .section-header-text .section-subtitle {
        font-size: 0.95rem;
    }

    /* Serveis: en vertical la imatge es retalla molt, es puja el punt focal per
       quedar al mig de la secció. El halo del logotip es retalla perquè no
       arribi a la vora de la targeta */
    .services::before {
        background-position: center 38%;
    }

    .service-icon img {
        width: 84px;
        height: 84px;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.45),
            0 0 0 4px rgba(255, 255, 255, 0.12),
            0 0 14px 4px rgba(255, 255, 255, 0.2);
    }

    /* About */
    .stats {
        grid-template-columns: 1fr;
    }

    /* Subpàgines */
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .catalog-item--wide .catalog-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .catalog-item--wide .catalog-img {
        height: 200px;
    }

    /* Marques */
    .brand-card img {
        height: 80px;
    }

    /* WhatsApp */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* --- Mòbil petit (<= 640px) --- */
@media (max-width: 640px) {

    /* Footer contacte: columna dins del panell de vidre */
    .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        padding: 1.1rem 1.25rem;
    }

    .footer-contact-item {
        font-size: 0.98rem;
    }

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

    .footer-contact-sep {
        display: none;
    }

    /* Footer: columna */
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-sep {
        display: none;
    }

    .footer-brand {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }
}

/* --- Pantalles molt petites (<= 420px): subtítol més petit --- */
@media (max-width: 420px) {
    .logo-tagline {
        display: flex;
        font-size: 0.6rem;
        letter-spacing: 0.2px;
    }
}

/* ==========================================================================
   Accessibilitat: sense animacions si l'usuari ho prefereix
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    .offers-hero-slide,
    .offers-hero-head h1,
    .nav-links .nav-cta,
    .nav-links .nav-cta::after,
    .whatsapp-float::after {
        animation: none;
    }

    /* La primera imatge del hero queda fixa en lloc de fer el crossfade */
    .offers-hero-slide:nth-child(1) {
        opacity: 1;
    }

    .outlet-modal-overlay,
    .outlet-modal,
    .outlet-filter-btn,
    .outlet-lightbox,
    .ticker-track {
        transition: none;
    }
}
