/* ==========================================================================
   Grup Fauria (fauria.cat) · estils de la web
   Negre i groc de la marca; títols en Archivo, text en Inter (fonts servides des de la web, sense Google)
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    --fa-negre: #121212;
    --fa-groc: #f8b820;
    --fa-crema: #f5f4f0;
    --fa-gris: #5a5a5a;
    --fa-linia: #e6e6e6;
    --fa-ocre: #6b5200;   /* groc fosc per a textos petits sobre blanc (contrast suficient) */
    --fa-titol: "Archivo", "Inter", system-ui, sans-serif;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --- Base ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--fa-negre); background: #fff; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fa-titol); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--fa-groc); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.boto-enllac { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }

/* Botó del menú del mòbil (tres ratlles que es tornen una creu) */
.fa-menu-boto { display: none; width: 44px; height: 44px; padding: 12px 10px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.fa-menu-boto span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-obert .fa-menu-boto span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-obert .fa-menu-boto span:nth-child(2) { opacity: 0; }
.menu-obert .fa-menu-boto span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Avís de galetes (a baix) */
.avis-cookies {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
    max-width: 760px; margin: 0 auto; padding: 16px 20px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
    background: var(--fa-negre); color: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.avis-cookies p { flex: 1 1 320px; margin: 0; font-size: 14px; line-height: 1.5; }
.avis-cookies a { color: var(--fa-groc); }
.avis-cookies__botons { display: flex; gap: 10px; flex-wrap: wrap; }
.avis-cookies .fa-boto { min-height: 44px; padding: 0 18px; font-size: 15px; }
.avis-cookies .avis-cookies__rebutjar { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.avis-cookies .avis-cookies__rebutjar:hover { background: rgba(255,255,255,.1); }

/* Pàgina no trobada */
.fa-error { display: flex; flex-direction: column; gap: 14px; min-height: 40vh; justify-content: center; }
.fa-error h1 { margin: 0; font-weight: 800; font-size: clamp(32px, 4vw, 48px); }
.fa-error p { color: var(--fa-gris); font-size: 18px; margin: 0; }

.fa-contenidor { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.fa-contenidor--estret { max-width: 980px; }

/* --- Botons ------------------------------------------------------------------ */
.fa-boto {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 24px; border-radius: 10px;
    font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
    border: 2px solid transparent; transition: filter .15s, background .15s, color .15s;
}
.fa-boto svg { width: 18px; height: 18px; fill: currentColor; }
.fa-boto--groc { background: var(--fa-groc); color: var(--fa-negre); }
.fa-boto--groc:hover { filter: brightness(.94); }
.fa-boto--fosc { background: var(--fa-negre); color: #fff; }
.fa-boto--fosc:hover { background: #2a2a2a; }
.fa-boto--linia { border-color: var(--fa-negre); color: var(--fa-negre); }
.fa-boto--linia:hover { background: var(--fa-negre); color: #fff; }
.fa-boto--linia-blanca { border-color: #fff; color: #fff; }
.fa-boto--linia-blanca:hover { background: #fff; color: var(--fa-negre); }
.fa-botons { display: flex; flex-wrap: wrap; gap: 12px; }

.fa-avant { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fa-ocre); }
.fa-avant--ratlla { display: inline-flex; align-items: center; gap: 10px; color: var(--fa-groc); }
.fa-avant--ratlla::before { content: ""; width: 32px; height: 3px; background: var(--fa-groc); }
.fa-enllac { align-self: flex-start; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--fa-groc); padding-bottom: 4px; }
.fa-etiqueta { align-self: flex-start; background: var(--fa-groc); color: var(--fa-negre); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }

/* --- Capçalera --------------------------------------------------------------- */
.fa-cap { position: sticky; top: 0; z-index: 50; background: var(--fa-negre); color: #fff; }
.fa-cap__fila { display: flex; align-items: center; gap: 24px 32px; min-height: 76px; position: relative; }
.fa-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.fa-logo img { width: 44px; height: 44px; }
.fa-logo span { font-family: var(--fa-titol); font-weight: 600; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
.fa-logo b { font-weight: 900; }
.fa-menu { display: flex; gap: 6px 26px; margin-left: auto; }
.fa-menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.fa-menu a:hover { color: var(--fa-groc); }
.fa-menu a[aria-current] { border-bottom-color: var(--fa-groc); }
.fa-cap__accions { display: flex; align-items: center; gap: 16px; }
.fa-idiomes { display: flex; gap: 10px; font-size: 13px; }
.fa-idiomes a { color: #bdbdbd; text-decoration: none; padding: 4px 0; }
.fa-idiomes a[aria-current] { color: var(--fa-groc); font-weight: 700; }
.fa-cap__tel { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* --- Peu --------------------------------------------------------------------- */
.fa-peu { background: var(--fa-negre); color: #bdbdbd; font-size: 14px; }
.fa-peu__graella { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.fa-peu__marca p { margin: 16px 0 0; line-height: 1.6; max-width: 320px; }
.fa-peu .fa-logo { color: #fff; }
.fa-peu .fa-logo img { width: 38px; height: 38px; }
.fa-peu .fa-logo span { font-size: 19px; }
.fa-peu h2 { color: #fff; font-family: var(--font); font-size: 14px; font-weight: 600; margin: 0 0 12px; letter-spacing: 0; }
.fa-peu h2.fa-peu__legal { margin-top: 24px; }
.fa-peu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fa-peu a, .fa-peu .boto-enllac { color: #bdbdbd; text-decoration: none; }
.fa-peu a:hover, .fa-peu .boto-enllac:hover { color: var(--fa-groc); }
.fa-peu__final { border-top: 1px solid #2a2a2a; padding-top: 18px; padding-bottom: 28px; }

/* Barra de contacte fixa al mòbil */
.fa-barra-mobil { display: none; }

/* --- Portada: hero ------------------------------------------------------------ */
.fa-hero { position: relative; background: var(--fa-negre); color: #fff; overflow: hidden; }
.fa-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.fa-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(18,18,18,.92) 0%, rgba(18,18,18,.7) 34%, rgba(18,18,18,0) 62%); }
.fa-hero__cos { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-top: 120px; padding-bottom: 120px; }
.fa-hero__text { max-width: 520px; display: flex; flex-direction: column; gap: 22px; }
.fa-hero h1 { margin: 0; font-weight: 900; font-size: clamp(44px, 5.6vw, 76px); line-height: .98; letter-spacing: -.02em; }
.fa-hero__sub { margin: 0; font-family: var(--fa-titol); font-weight: 600; font-size: 26px; line-height: 1.25; }
.fa-hero p { margin: 0; font-size: 18px; line-height: 1.6; color: #dcdcdc; }
.fa-hero .fa-hero__sub { color: #fff; }
.fa-hero .fa-botons { margin-top: 6px; }

/* Franja groga amb xifres */
.fa-xifres { background: var(--fa-groc); }
.fa-xifres__graella { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
.fa-xifres strong { display: block; font-family: var(--fa-titol); font-weight: 900; font-size: 34px; line-height: 1.1; }
.fa-xifres span { font-weight: 600; font-size: 14px; }

/* --- Seccions ------------------------------------------------------------------ */
.fa-seccio { padding: 96px 0; }
.fa-seccio--fosca { background: var(--fa-negre); color: #fff; }
.fa-seccio--fosca .fa-avant { color: var(--fa-groc); }
.fa-seccio--fosca .fa-enllac { color: var(--fa-groc); }
.fa-seccio--crema { background: var(--fa-crema); }
.fa-titol { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 40px; }
.fa-seccio h2 { margin: 0; font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }

/* Les tres activitats */
.fa-serveis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fa-servei { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--fa-negre); color: #fff; text-decoration: none; }
.fa-servei img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fa-servei:hover img { transform: scale(1.04); }
.fa-servei::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,0) 35%, rgba(18,18,18,.92) 100%); }
.fa-servei__text { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.fa-servei h3 { margin: 0; font-weight: 800; font-size: 30px; line-height: 1.1; }
.fa-servei p { margin: 0; color: #e2e2e2; line-height: 1.5; }
.fa-servei__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fa-groc); margin-top: 4px; }
.fa-servei__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Dues columnes: foto + text */
.fa-dues { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fa-dues__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.fa-dues__text { display: flex; flex-direction: column; gap: 22px; }
.fa-historia__foto { position: relative; }
.fa-historia__placa { position: absolute; left: 20px; bottom: 20px; background: var(--fa-groc); color: var(--fa-negre); font-family: var(--fa-titol); font-weight: 800; font-size: 15px; padding: 10px 14px; border-radius: 8px; }

/* Línia del temps */
.fa-linia { list-style: none; margin: 0; padding: 0; }
.fa-linia li { position: relative; margin-left: 9px; padding: 0 0 22px 26px; border-left: 2px solid #3a3a3a; }
.fa-linia li:last-child { border-left-color: transparent; padding-bottom: 0; }
.fa-linia li::before { content: ""; position: absolute; left: -10px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.fa-linia li.fa-linia__groc::before { background: var(--fa-groc); }
.fa-linia strong { font-family: var(--fa-titol); font-weight: 800; font-size: 20px; }
.fa-linia__groc strong { color: var(--fa-groc); }
.fa-linia p { margin: 4px 0 0; color: #d6d6d6; line-height: 1.6; }

/* Cita */
.fa-cita { text-align: center; }
.fa-cita .fa-contenidor { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fa-cita svg { width: 48px; height: 48px; fill: var(--fa-groc); }
.fa-cita blockquote { margin: 0; }
.fa-cita blockquote p { margin: 0; font-family: var(--fa-titol); font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.fa-cita span { color: var(--fa-gris); font-weight: 500; }

/* On som */
.fa-llocs { display: flex; flex-direction: column; gap: 14px; }
.fa-lloc { background: #fff; border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.fa-lloc strong { font-family: var(--fa-titol); font-weight: 800; font-size: 19px; }
.fa-lloc span { color: #444; }
a.fa-lloc:hover strong { text-decoration: underline; text-decoration-color: var(--fa-groc); text-decoration-thickness: 2px; }

/* --- Pantalles mitjanes i mòbil ------------------------------------------------ */
@media (max-width: 1100px) {
    .fa-cap__tel span { display: none; }
    .fa-cap__tel { padding: 0 13px; }
}
@media (max-width: 960px) {
    .fa-menu-boto { display: flex; }
    .fa-menu {
        display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
        flex-direction: column; gap: 0; padding: 8px 24px 16px;
        background: var(--fa-negre); border-top: 1px solid #2a2a2a; box-shadow: 0 20px 30px rgba(0,0,0,.3);
    }
    .fa-menu a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid #262626; }
    .menu-obert .fa-menu { display: flex; }
    .fa-cap__accions { margin-left: auto; }
    .fa-serveis { grid-template-columns: 1fr; }
    .fa-servei { aspect-ratio: 16 / 10; }
    .fa-dues { grid-template-columns: 1fr; gap: 32px; }
    .fa-peu__graella { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .fa-contenidor { padding: 0 16px; }
    .fa-cap__fila { min-height: 64px; gap: 12px; }
    .fa-logo img { width: 36px; height: 36px; }
    .fa-logo span { font-size: 18px; }
    .fa-cap__tel { display: none; }
    .fa-seccio { padding: 64px 0; }
    .fa-hero__img { position: static; height: 280px; object-position: 30% 60%; }
    .fa-hero::after { display: none; }
    .fa-hero__cos { padding-top: 24px; padding-bottom: 32px; }
    .fa-hero h1 { font-size: 44px; }
    .fa-hero__sub { font-size: 21px; }
    .fa-hero p { font-size: 16px; }
    .fa-xifres__graella { grid-template-columns: repeat(4, 1fr); gap: 6px; padding-top: 18px; padding-bottom: 18px; }
    .fa-xifres strong { font-size: 22px; }
    .fa-xifres span { font-size: 11px; line-height: 1.25; display: block; }
    .fa-servei { aspect-ratio: 4 / 3; }
    .fa-servei::after { background: linear-gradient(180deg, rgba(18,18,18,.1) 0%, rgba(18,18,18,.55) 40%, rgba(18,18,18,.95) 100%); }
    .fa-servei__text { left: 20px; right: 20px; bottom: 20px; }
    .fa-servei h3 { font-size: 24px; }
    .fa-peu__graella { grid-template-columns: 1fr; }
    /* Barra fixa Trucar / WhatsApp, i espai perquè no tapi el peu ni l'avís de cookies */
    .fa-barra-mobil {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: #fff;
        border-top: 1px solid #e3e3e3; box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    }
    .fa-barra-mobil .fa-boto { min-height: 48px; padding: 0 12px; }
    .site-fauria { padding-bottom: 74px; }
    .site-fauria .avis-cookies { bottom: 84px; }
}

/* ==========================================================================
   Vehicles d'ocasió: llista (/ocasio) i fitxa (/ocasio/<cotxe>)
   ========================================================================== */
.vo-ruta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #bdbdbd; margin-bottom: 22px; }
.vo-ruta a { color: inherit; text-decoration: none; }
.vo-ruta a:hover { color: var(--fa-groc); }
.vo-ruta [aria-current] { color: #fff; font-weight: 500; }
.vo-ruta--clara { color: var(--fa-gris); padding-top: 24px; margin-bottom: 0; }
.vo-ruta--clara a:hover { color: var(--fa-negre); text-decoration: underline; text-decoration-color: var(--fa-groc); }
.vo-ruta--clara [aria-current] { color: var(--fa-negre); }

/* Capçalera fosca de la llista */
.vo-cap { background: var(--fa-negre); color: #fff; padding: 32px 0 64px; }
.vo-cap h1 { margin: 14px 0 12px; font-weight: 900; font-size: clamp(38px, 4.6vw, 60px); line-height: 1; letter-spacing: -.02em; }
.vo-cap p { margin: 0; max-width: 620px; font-size: 18px; color: #d6d6d6; }

/* Filtres: una franja blanca que puja sobre la capçalera */
.vo-llista { padding-bottom: 88px; }
.vo-filtres {
    position: relative; margin-top: -32px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 12px; align-items: end;
    padding: 18px 20px; background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.12);
}
.vo-filtres label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vo-filtres label > span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fa-gris); }
.vo-filtres select {
    width: 100%; min-height: 48px; padding: 0 38px 0 14px; border: 1px solid #d4d4d4; border-radius: 10px; background-color: #fff; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.vo-filtres select:hover { border-color: var(--fa-negre); }
.vo-filtres__boto { min-height: 48px; }
.js .vo-filtres__boto { display: none; } /* amb JavaScript els filtres s'apliquen sols */
.js .vo-filtres { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vo-resum { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0 18px; }
.vo-resum p { margin: 0; font-weight: 600; color: var(--fa-gris); }
.vo-resum a { font-weight: 700; color: var(--fa-negre); text-decoration-color: var(--fa-groc); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Targetes */
.vo-graella { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vo-graella--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vo-targeta {
    display: flex; flex-direction: column; background: #fff; color: var(--fa-negre); text-decoration: none;
    border: 1px solid var(--fa-linia); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.vo-targeta:hover { box-shadow: 0 16px 40px rgba(0,0,0,.1); transform: translateY(-3px); border-color: transparent; }
.vo-targeta__foto { position: relative; aspect-ratio: 4 / 3; background: var(--fa-crema); overflow: hidden; }
.vo-targeta__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vo-targeta:hover .vo-targeta__foto img { transform: scale(1.04); }
.vo-etiqueta {
    position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: 6px; background: var(--fa-groc); color: var(--fa-negre);
    font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.vo-etiqueta--reservat { background: var(--fa-negre); color: #fff; }
.vo-etiqueta--gran { top: 18px; left: 18px; font-size: 14px; padding: 8px 14px; z-index: 2; }
.vo-targeta__cos { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vo-targeta__titol { margin: 0; font-weight: 800; font-size: 21px; line-height: 1.15; }
.vo-targeta__versio { margin: 0; color: var(--fa-gris); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vo-targeta__dades { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: #3d3d3d; }
.vo-targeta__dades span { color: #b5b5b5; }
.vo-targeta__preu { margin: auto 0 0; padding-top: 12px; font-family: var(--fa-titol); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.vo-targeta__preu s, .vo-preu__xifra s { font-family: var(--font); font-size: .55em; font-weight: 500; color: #8a8a8a; margin-left: 6px; }

.vo-buit { padding: 64px 24px; text-align: center; background: var(--fa-crema); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vo-buit h2 { margin: 0; font-weight: 800; font-size: 28px; }
.vo-buit p { margin: 0 0 10px; color: var(--fa-gris); max-width: 520px; }

/* Franja final de la llista */
.vo-banda { background: var(--fa-negre); color: #fff; padding: 56px 0; }
.vo-banda__fila { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.vo-banda h2 { margin: 0 0 6px; font-weight: 800; font-size: clamp(26px, 2.8vw, 34px); }
.vo-banda p { margin: 0; color: #d6d6d6; }

/* --- Fitxa ------------------------------------------------------------------- */
.vo-fitxa { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; padding-top: 24px; padding-bottom: 88px; }
.vo-fitxa__principal { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.vo-fitxa__lateral { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }

/* Galeria: fotos en fila amb desplaçament (el dit al mòbil; fletxes i miniatures a l'ordinador) */
.vo-galeria { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vo-galeria__gran { position: relative; border-radius: 18px; overflow: hidden; background: var(--fa-crema); }
.vo-galeria__pista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.vo-galeria__pista::-webkit-scrollbar { display: none; }
.vo-galeria__pista img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.vo-galeria__pista:focus-visible { outline-offset: -4px; }
.vo-galeria__comptador { position: absolute; right: 16px; bottom: 16px; padding: 7px 12px; border-radius: 8px; background: rgba(18,18,18,.8); color: #fff; font-size: 13px; font-weight: 600; }
.vo-galeria__fletxa {
    position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.94); cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: transform .15s, background .15s;
}
.vo-galeria__fletxa:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.vo-galeria__fletxa svg { width: 24px; height: 24px; fill: none; stroke: var(--fa-negre); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vo-galeria__fletxa--ant { left: 16px; }
.vo-galeria__fletxa--seg { right: 16px; }
.vo-galeria__miniatures { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.vo-galeria__miniatures button { flex: 0 0 calc((100% - 50px) / 6); padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; background: var(--fa-crema); cursor: pointer; }
.vo-galeria__miniatures button[aria-current] { border-color: var(--fa-groc); }
.vo-galeria__miniatures img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vo-galeria__buida img { width: 100%; border-radius: 18px; }

.vo-bloc h2 { margin: 0 0 20px; font-weight: 800; font-size: 28px; }
.vo-dades { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.vo-dades div { background: var(--fa-crema); border-radius: 12px; padding: 16px 18px; }
.vo-dades dt { font-size: 13px; color: var(--fa-gris); }
.vo-dades dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; }
.vo-text { font-size: 17px; line-height: 1.7; color: #333; max-width: 760px; }
.vo-equipament { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 24px; }
.vo-equipament li { display: flex; gap: 10px; align-items: flex-start; }
.vo-equipament svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--fa-negre); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vo-perque { background: var(--fa-negre); color: #fff; border-radius: 18px; padding: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vo-perque div { display: flex; flex-direction: column; gap: 8px; }
.vo-perque strong { color: var(--fa-groc); font-family: var(--fa-titol); font-weight: 700; font-size: 19px; }
.vo-perque span { color: #d0d0d0; line-height: 1.5; }

/* Preu i contacte */
.vo-preu { border: 1px solid #e3e3e3; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 10px 34px rgba(0,0,0,.07); background: #fff; }
.vo-preu h1 { margin: 0; font-weight: 800; font-size: 30px; line-height: 1.1; }
.vo-preu__sub { margin: 6px 0 0; color: var(--fa-gris); }
.vo-preu__xifra { margin: 0; font-family: var(--fa-titol); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.vo-preu__iva { margin: 6px 0 0; font-size: 14px; color: var(--fa-gris); }
.vo-preu__boto { width: 100%; min-height: 56px; font-size: 17px; }
.vo-preu__boto svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vo-preu__correu { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--fa-negre); text-decoration: underline; text-decoration-color: var(--fa-groc); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.vo-preu__correu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vo-avis-reservat { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fff6dc; color: #5c4600; font-size: 15px; font-weight: 500; }
.vo-on { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 0 6px; font-size: 15px; color: #444; }
.vo-on svg { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: var(--fa-negre); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.vo-semblants { background: var(--fa-crema); padding: 72px 0; }
.vo-semblants h2 { margin: 0 0 28px; font-weight: 800; font-size: clamp(26px, 2.8vw, 32px); }
.vo-semblants .fa-enllac { display: inline-block; margin-top: 28px; text-decoration: none; }

@media (max-width: 1100px) {
    .vo-filtres, .js .vo-filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vo-graella--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vo-fitxa { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
}
@media (max-width: 960px) {
    .vo-graella { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Una columna: fotos, preu i contacte, i després les dades */
    .vo-fitxa { grid-template-columns: minmax(0, 1fr); }
    .vo-fitxa__principal { display: contents; }
    .vo-galeria { order: 1; }
    .vo-fitxa__lateral { position: static; order: 2; }
    .vo-bloc { order: 3; }
    .vo-perque { order: 4; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .vo-cap { padding: 20px 0 52px; }
    .vo-cap p { font-size: 16px; }
    .vo-filtres, .js .vo-filtres { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
    .vo-filtres label:last-of-type { grid-column: 1 / -1; }
    .vo-graella, .vo-graella--4 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .vo-fitxa { gap: 24px; padding-top: 16px; padding-bottom: 56px; }
    .vo-galeria__gran { margin: 0 -16px; border-radius: 0; }
    .vo-galeria__fletxa, .vo-galeria__miniatures { display: none; }
    .vo-preu { padding: 22px; }
    .vo-preu__xifra { font-size: 40px; }
    .vo-bloc h2 { font-size: 24px; }
    .vo-perque { padding: 24px; }
    .vo-semblants { padding: 48px 0; }
}


/* --- Pàgines: Taller i Qui som (16/11/2026) -------------------------------------- */
.vo-cap .fa-botons { margin-top: 26px; }

/* Taller: quatre serveis */
.tl-serveis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tl-servei { background: var(--fa-crema); border-radius: 16px; padding: 26px 24px; }
.tl-servei svg { width: 44px; height: 44px; padding: 10px; margin-bottom: 18px; border-radius: 12px; background: var(--fa-groc); fill: none; stroke: var(--fa-negre); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tl-servei h3 { font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.tl-servei p { margin: 0; color: #444; }

/* Taller: per què nosaltres */
.tl-perque { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.tl-perque li { position: relative; padding-left: 34px; display: flex; flex-direction: column; gap: 2px; }
.tl-perque li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--fa-groc); box-shadow: inset 0 0 0 6px var(--fa-groc), inset 0 0 0 20px var(--fa-negre); }
.tl-perque strong { font-family: var(--fa-titol); font-weight: 800; font-size: 19px; }
.tl-perque span { color: #444; }

/* Taller: horari i adreça */
.tl-dades { margin: 8px 0 28px; display: flex; flex-direction: column; border-top: 1px solid var(--fa-linia); }
.tl-dades > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--fa-linia); }
.tl-dades dt { font-weight: 700; }
.tl-dades dd { margin: 0; color: #333; }
.tl-dades a { color: inherit; text-decoration-color: var(--fa-groc); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Qui som: text */
.qs-text p { margin: 0 0 1em; color: #333; font-size: 17px; }
.qs-text p:last-child { margin-bottom: 0; }

@media (max-width: 960px) {
    .tl-serveis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .tl-serveis { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .tl-dades > div { grid-template-columns: 1fr; gap: 2px; }
    .vo-cap .fa-botons .fa-boto { flex: 1 1 100%; }
}

/* Portada: franja groga amb el lema (16/11/2026, substitueix les xifres) */
.fa-lema { background: var(--fa-groc); }
.fa-lema p { margin: 0; padding: 30px 0; text-align: center; font-family: var(--fa-titol); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; color: var(--fa-negre); }
@media (max-width: 640px) { .fa-lema p { padding: 22px 0; } }

/* Contacte (16/11/2026): targetes de canals */
.ct-canals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ct-canal { display: flex; flex-direction: column; background: var(--fa-crema); border-radius: 16px; padding: 26px 24px; color: inherit; text-decoration: none; transition: background .15s; }
.ct-canal:hover { background: #ece9e1; }
.ct-canal svg { width: 44px; height: 44px; padding: 10px; margin-bottom: 18px; border-radius: 12px; background: var(--fa-groc); fill: none; stroke: var(--fa-negre); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-canal h2 { font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.ct-canal p { margin: 0 0 16px; color: #444; }
.ct-canal strong { margin-top: auto; font-family: var(--fa-titol); font-weight: 800; font-size: 18px; text-decoration: underline; text-decoration-color: var(--fa-groc); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.fa-dues__text > p { color: #333; }
.fa-dues__text .tl-dades { margin-bottom: 20px; }
@media (max-width: 960px) { .ct-canals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ct-canals { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* Pàgines legals (16/11/2026) */
.lg-text { max-width: 780px; font-size: 17px; color: #333; }
.lg-text h2 { margin: 1.8em 0 .5em; font-weight: 800; font-size: 24px; color: var(--fa-negre); }
.lg-text h2:first-child { margin-top: 0; }
.lg-text p { margin: 0 0 1em; }
.lg-text ul { margin: 0 0 1em; padding-left: 1.2em; }
.lg-text li { margin-bottom: .45em; }
.lg-text a { color: inherit; text-decoration-color: var(--fa-groc); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lg-taula { overflow-x: auto; margin: 0 0 1.2em; }
.lg-taula table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.lg-taula th, .lg-taula td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--fa-linia); }
.lg-taula th { background: var(--fa-crema); font-weight: 700; }
.lg-data { margin-top: 2.5em !important; font-size: 14px; color: var(--fa-gris); }
