/* ============================================================
   YesWeTicket · V3 · Estils de la Home
   Tokens a tokens.css · Especificació a docs/design-system-v3.md
   ============================================================ */

/* ===================== FONTS (locals, latin) ===================== */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat.woff2') format('woff2');
    font-weight: 600 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-400-600.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

/* ===================== RESET I BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    font-family: var(--font-text);
    font-size: var(--text-md);
    line-height: 1.65;
    color: var(--ink-900);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
ul[class], ol[class] { list-style: none; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--brand-700); }

:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
    border-radius: 2px;
}
.stage :focus-visible { outline-color: var(--white); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -64px;
    line-height: 1.2;
    left: var(--space-4);
    background: var(--ink-900);
    color: var(--white);
    padding: var(--space-3) var(--space-4);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 200;
    font-weight: 500;
    transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ===================== ICONES (Lucide, sprite) ===================== */
.icon { width: 20px; height: 20px; flex: none; }
.icon-16 { width: 16px; height: 16px; }
.icon-24 { width: 24px; height: 24px; }

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-050);
    color: var(--brand-600);
}
.icon-box .icon { width: 28px; height: 28px; }
.icon-box--neutral { background: var(--paper-2); color: var(--ink-900); }

/* ===================== TIPOGRAFIA ===================== */
h1, h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}
h1 { font-size: var(--text-display); line-height: 1.08; }
h2 { font-size: var(--text-h2); line-height: 1.12; }
h3 {
    font-family: var(--font-text);
    font-weight: 600;
    font-size: var(--text-h3);
    line-height: 1.3;
    color: var(--ink-900);
}

.eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-600);
    margin-bottom: var(--space-4);
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: var(--gold-500);
    margin-right: var(--space-2);
    vertical-align: 0.22em;
}

.section-head {
    max-width: 720px;
    margin: 0 auto var(--space-16);
    text-align: center;
}
.section-head p {
    font-size: var(--text-lg);
    color: var(--ink-600);
    margin-top: var(--space-4);
}

.num { font-variant-numeric: tabular-nums; }

/* ===================== BOTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 48px;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-sm);
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease),
                color var(--dur-fast) var(--ease),
                transform var(--dur-fast) var(--ease);
}
.btn-primary {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--brand-700);
    border-color: var(--brand-700);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    border-color: var(--ink-900);
    color: var(--ink-900);
}
.btn-secondary:hover {
    background: var(--ink-900);
    color: var(--paper);
}
.btn-secondary--light {
    border-color: var(--on-stage-line);
    color: var(--white);
}
.btn-secondary--light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink-900);
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand-600);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow .icon { width: 16px; height: 16px; }

/* ===================== HEADER ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    height: 76px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}
.nav-logo:hover { color: var(--ink-900); }
.nav-logo-mark {
    width: 45px;
    height: 30px;
    background: url(logo-mark.svg) center / contain no-repeat;
    /* La lletra "Y" del marcatge queda com a fallback, amagada visualment */
    font-size: 0;
    color: transparent;
}
.nav-menu {
    display: flex;
    gap: var(--space-8);
}
.nav-menu a {
    color: var(--ink-600);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-2) 0;
}
.nav-menu a:hover { color: var(--ink-900); }
.nav-menu a[aria-current="page"] {
    color: var(--ink-900);
    box-shadow: inset 0 -2px 0 var(--brand-600);
}
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-actions .btn { min-height: 44px; }
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink-900);
    cursor: pointer;
    padding: var(--space-2);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ===================== SECCIONS ===================== */
.section { padding: var(--space-24) 0; }
.section--tint { background: var(--paper-2); }

/* ===================== HERO ===================== */
.hero { padding: var(--space-32) 0; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-16);
    align-items: center;
}
.hero-title .highlight {
    color: var(--brand-600);
    background-image: linear-gradient(
        transparent 68%,
        rgba(201, 146, 46, 0.30) 68%,
        rgba(201, 146, 46, 0.30) 92%,
        transparent 92%
    );
}
.hero-sub {
    font-size: var(--text-lg);
    color: var(--ink-600);
    margin-top: var(--space-6);
    max-width: 560px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-top: var(--space-8);
}
.hero-proof {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--line);
    font-size: var(--text-sm);
    color: var(--ink-600);
}

/* ---------- Composició de producte (decorativa, HTML/CSS) ---------- */
.hero-visual { position: relative; }
.hero-visual::before {
    content: '';
    position: absolute;
    inset: -10% -6%;
    background: radial-gradient(closest-side, rgba(216, 25, 33, 0.05), transparent 72%);
    pointer-events: none;
}
.hp-browser {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.hp-bar {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--line);
}
.hp-dots { display: flex; gap: 6px; }
.hp-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line);
}
.hp-url {
    flex: 1;
    text-align: center;
    background: var(--paper-2);
    border-radius: 999px;
    padding: var(--space-1) var(--space-4);
    font-size: var(--text-xs);
    color: var(--ink-600);
}
.hp-body { padding: var(--space-6); }
.hp-logo {
    display: inline-block;
    background: var(--brand-600);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: var(--space-1) var(--space-3);
    border-radius: 6px;
}
.hp-event {
    margin-top: var(--space-4);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: var(--space-4);
}
.hp-event-name { font-weight: 600; font-size: 0.95rem; }
.hp-event-meta { font-size: var(--text-xs); color: var(--ink-600); margin-top: 2px; }
.hp-event-actions { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.hp-btn {
    display: inline-block;
    background: var(--brand-600);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-2) var(--space-3);
    border-radius: 6px;
}
.hp-btn--outline {
    background: transparent;
    color: var(--ink-900);
    border: 1px solid var(--line);
}
.hp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
    margin-top: var(--space-3);
}
.hp-mini {
    grid-column: 2;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: var(--space-3);
}
.hp-mini-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-600);
}
.hp-mini strong { display: block; font-size: 0.85rem; margin-top: 2px; }

.hp-ticket {
    position: absolute;
    bottom: 14px;
    left: -16px;
    display: flex;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transform: rotate(-4deg);
}
.hp-ticket-main { padding: var(--space-3) var(--space-4); }
.hp-ticket-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-600);
}
.hp-ticket-main strong { display: block; font-size: 0.9rem; margin-top: 2px; }
.hp-ticket-seat { font-size: var(--text-xs); color: var(--ink-600); margin-top: 2px; }
.hp-ticket-stub {
    border-left: 1px dashed var(--line);
    display: flex;
    align-items: center;
    padding: var(--space-3);
}
.hp-qr {
    width: 48px; height: 48px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 2px;
}
.hp-qr span { background: transparent; border-radius: 1px; }
.hp-qr span.f { background: var(--ink-900); }

.hp-checkin {
    position: absolute;
    top: -14px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: var(--space-2) var(--space-4);
    box-shadow: var(--shadow-sm);
    font-size: var(--text-xs);
    font-weight: 600;
}
.hp-checkin .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ok-600);
}
.hp-checkin span { color: var(--ink-600); font-weight: 400; }

/* ===================== LA PROMESA ===================== */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.promise {
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: var(--space-3);
    align-items: center;
    align-content: start;
    padding: var(--space-2) var(--space-6);
    border-left: 1px solid var(--line);
}
.promise:first-child { border-left: none; padding-left: 0; }
.promise .icon { width: 24px; height: 24px; color: var(--brand-600); }
.promise h3 { font-size: 1.05rem; margin: 0; }
.promise p {
    grid-column: 1 / -1;
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--ink-600);
}

/* ===================== FEATURES ===================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}
.feature-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: var(--space-4);
    align-items: center;
    align-content: start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    transition: border-color var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease);
}
.feature-card:hover {
    border-color: var(--ink-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.feature-card h3 { font-size: 1.05rem; margin: 0; }
.feature-card p {
    grid-column: 1 / -1;
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    color: var(--ink-600);
}
.section-cta { text-align: center; margin-top: var(--space-12); }

/* ===================== SERVEIS I PREUS ===================== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    align-items: stretch;
}
.plan {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    transition: border-color var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease);
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.plan--featured { border: 1.5px solid var(--brand-600); }
.plan-kind {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-600);
}
.plan--featured .plan-kind { color: var(--brand-600); }
.plan-name {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: var(--space-2);
}
.plan-tagline { font-size: var(--text-sm); color: var(--ink-600); margin-top: var(--space-2); }
.plan-price {
    margin: var(--space-6) 0;
    padding: var(--space-4) var(--space-6);
    background: var(--paper-2);
    border-radius: var(--radius-sm);
}
.plan-price .amount {
    font-size: 1.6rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}
.plan-price .per { font-size: var(--text-sm); color: var(--ink-600); }
.plan-features { flex: 1; margin-bottom: var(--space-6); }
.plan-features li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}
.plan-features .icon {
    width: 16px; height: 16px;
    color: var(--ok-600);
    margin-top: 3px;
}
.plan .btn { width: 100%; }

/* ===================== SECTORS ===================== */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}
.sector-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: var(--space-4);
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    transition: border-color var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease);
}
.sector-card:hover {
    border-color: var(--ink-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.sector-card h3 { font-size: 1.05rem; margin: 0; }
.sector-card p {
    grid-column: 1 / -1;
    align-self: start;
    margin: var(--space-3) 0 var(--space-4);
    font-size: var(--text-sm);
    color: var(--ink-600);
}
.sector-card .link-arrow { grid-column: 1 / -1; }

/* ===================== Accent dorat a les caixes =====================
   Vora superior "llum d'escenari" només decorativa (gold-500) a totes les
   caixes del lloc. En :hover passa a vermell corporatiu. */
.feature-card,
.sector-card,
.plan {
    border-top: 3px solid var(--gold-500);
    transition: border-color var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease);
}
.feature-card:hover,
.sector-card:hover,
.plan:hover {
    border-top-color: var(--brand-600);
}

/* ===================== ESCENARI (única banda fosca) ===================== */
.stage {
    position: relative;
    background: var(--stage-950);
    color: var(--on-stage);
    padding: var(--space-32) 0;
    overflow: hidden;
}
.stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(45% 45% at 32% 0%, rgba(201, 146, 46, 0.10), transparent 70%),
        radial-gradient(55% 50% at 68% 0%, rgba(216, 25, 33, 0.08), transparent 70%);
    pointer-events: none;
}
.stage .container-narrow { position: relative; text-align: center; }
.stage .eyebrow { color: var(--gold-500); }
.stage h2 { color: var(--white); }
.stage p { color: var(--on-stage-soft); font-size: var(--text-lg); margin-top: var(--space-4); }
.cert-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-8);
}
.cert {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    border: 1px solid var(--on-stage-line);
    border-radius: 999px;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    color: var(--on-stage);
}
.cert .state { color: var(--on-stage-soft); font-size: var(--text-xs); }
.stage-cta { margin-top: var(--space-8); }

/* ===================== CTA FINAL ===================== */
.cta-final { text-align: center; }
.cta-final p {
    font-size: var(--text-lg);
    color: var(--ink-600);
    max-width: 560px;
    margin: var(--space-4) auto 0;
}
.cta-final-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}
.cta-note { font-size: var(--text-sm); color: var(--ink-600); }

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}
.footer-brand p {
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin-top: var(--space-4);
    max-width: 300px;
}
.footer-col h2 {
    font-family: var(--font-text);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-900);
    margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a { color: var(--ink-600); font-size: var(--text-sm); }
.footer-col a:hover { color: var(--ink-900); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    font-size: var(--text-sm);
    color: var(--ink-600);
}
.footer-bottom a { color: var(--ink-600); }
.footer-bottom a:hover { color: var(--ink-900); }
.footer-legal {
    margin-top: var(--space-6);
    font-size: var(--text-xs);
    color: var(--ink-600);
}
.footer-family {
    background: #1b2430;
    padding: var(--space-6) var(--space-4);
}
.footer-family-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-16) var(--space-24);
}
.footer-family-logos a { display: inline-flex; opacity: 0.8; transition: opacity var(--dur-fast) var(--ease); }
.footer-family-logos a:hover { opacity: 1; }
.footer-family-logos img { height: 28px; width: auto; display: block; }

/* ===================== STICKY CTA (mòbil, únic element persistent) ===================== */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(23, 20, 18, 0.08);
    padding: var(--space-3) var(--space-4);
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}
.sticky-cta-text { font-size: var(--text-sm); font-weight: 500; }
.sticky-cta .btn { min-height: 44px; padding: var(--space-2) var(--space-4); }

/* ===================== RESPONSIVE ===================== */
/* Navegació: passa a hamburguesa abans que el menú d'escriptori
   (logo + 6 enllaços + CTA) es comprimeixi i talli el botó (~820px). */
@media (max-width: 960px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        padding: var(--space-4) var(--gutter) var(--space-6);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a {
        display: block;
        padding: var(--space-3) 0;
        font-size: var(--text-md);
        border-bottom: 1px solid var(--line);
    }
    .nav-menu a:last-child { border-bottom: none; }
    /* El botó "Demana una demo" es manté visible al header (que és sticky):
       amb els enllaços dins l'hamburguesa hi ha espai de sobres. */
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid, .promise-grid { grid-template-columns: repeat(2, 1fr); }
    .promise { padding: var(--space-4) var(--space-6); }
    .promise:nth-child(odd) { border-left: none; padding-left: 0; }
    .plans-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .hero-grid { gap: var(--space-12); }
}

@media (max-width: 768px) {
    .section { padding: var(--space-16) 0; }
    .hero, .stage { padding: var(--space-24) 0; }
    .hero-grid { grid-template-columns: 1fr; gap: var(--space-16); }
    .hero-visual { margin: var(--space-4) 0 0; }
    .hp-ticket { left: 0; }
    .hp-checkin { right: var(--space-2); }

    .features-grid, .sectors-grid, .promise-grid { grid-template-columns: 1fr; }
    .promise { border-left: none; padding: var(--space-4) 0; border-top: 1px solid var(--line); }
    .promise:first-child { border-top: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-actions .link-arrow { justify-content: center; }
    .plan { padding: var(--space-6); }
    .cert-list { gap: var(--space-2); }

    /* En mòbils petits el botó no hi cap al header amb el logo i
       l'hamburguesa: l'amaguem i la barra inferior fa de crida a l'acció. */
    .nav-cta-desktop { display: none; }
    .sticky-cta.visible { display: flex; }
    body.has-sticky-cta { padding-bottom: 72px; }
}

/* ============================================================
   PÀGINES INTERIORS (components de l'onada 1+)
   ============================================================ */

/* ---------- Page header ---------- */
.page-header {
    padding: var(--space-16) 0;
    border-bottom: 1px solid var(--line);
}
.page-header h1 { max-width: 800px; }
.page-header .lead {
    font-size: var(--text-lg);
    color: var(--ink-600);
    max-width: 720px;
    margin-top: var(--space-6);
}

/* ---------- Plans (extensió serveis) ---------- */
.plan-ideal {
    background: var(--paper-2);
    border-radius: var(--radius-sm);
    padding: var(--space-4);
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin-bottom: var(--space-6);
}
.plan-ideal strong {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-900);
    margin-bottom: var(--space-1);
}
.note-center {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--ink-600);
    max-width: 680px;
    margin: var(--space-12) auto 0;
}

/* ---------- Quan triar cadascun ---------- */
.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    align-items: stretch;
}
.choice-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
}
.choice-card .check-list { flex: 1 1 auto; }
.choice-card h3 { margin-bottom: var(--space-4); }
.check-list li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}
.check-list .icon {
    width: 16px; height: 16px;
    color: var(--ok-600);
    margin-top: 3px;
}
.choice-card .btn { margin-top: var(--space-6); }

/* ---------- Taula ---------- */
.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}
.v3-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: var(--text-sm);
}
.v3-table th, .v3-table td {
    padding: var(--space-4);
    text-align: center;
    border-top: 1px solid var(--line);
}
.v3-table thead th {
    border-top: none;
    background: var(--paper-2);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.v3-table thead th.col-featured { color: var(--brand-600); }
.v3-table th[scope="row"], .v3-table th:first-child, .v3-table td:first-child { text-align: left; }
.v3-table th[scope="row"] { font-weight: 600; }
.v3-table .muted { color: var(--ink-600); }
.v3-table td .icon { color: var(--ok-600); vertical-align: -2px; }

/* ---------- Contacte: canals ---------- */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}
.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    color: var(--ink-900);
    transition: border-color var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease);
}
.method-card:hover {
    color: var(--ink-900);
    border-color: var(--ink-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.method-card .icon-box { margin-bottom: var(--space-2); }
.method-card strong { font-size: var(--text-md); }
.method-card span { font-size: var(--text-sm); color: var(--ink-600); }

/* ---------- Contacte: reserva ---------- */
.pt-0 { padding-top: 0; }
.booking-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
}
.booking-title { font-size: 1.5rem; }
.booking-card p { color: var(--ink-600); margin-top: var(--space-3); }
.booking-embed {
    min-height: 420px;
    margin-top: var(--space-6);
    background: var(--paper-2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-600);
    font-size: var(--text-sm);
    padding: var(--space-8);
}

/* ---------- Formulari ---------- */
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
}
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
.field label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-2);
}
.field input, .field select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid #8A857D;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    color: var(--ink-900);
    transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus, .field select:focus { border-color: var(--brand-600); }
.checkbox {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin-top: var(--space-6);
}
.checkbox input {
    margin-top: 3px;
    width: 16px; height: 16px;
    accent-color: var(--brand-600);
}
/* El bloc informatiu de protecció de dades venia enganxat a l'últim camp. */
.form-legal { margin-top: var(--space-6); }
/* Turnstile centrat i amb aire respecte de la casella de privacitat. */
.form-turnstile {
    display: flex;
    justify-content: center;
    margin-top: var(--space-6);
}
.form-foot { text-align: center; margin-top: var(--space-6); }
.form-note {
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin-top: var(--space-3);
}

/* ---------- Pàgina de gràcies ---------- */
.thanks-card ul {
    margin: var(--space-4) 0 0;
    padding-left: var(--space-6);
    display: grid;
    gap: var(--space-2);
    color: var(--ink-600);
}
.thanks-card > p { font-weight: 600; }

/* ---------- Avís de cookies ---------- */
.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 200; /* per damunt de la barra enganxosa */
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .08);
    padding: var(--space-6) var(--space-4);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}
.cookie-banner-text p {
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin: var(--space-2) 0;
    max-width: 68ch;
}
.cookie-banner-text a {
    font-size: var(--text-sm);
    color: var(--brand-600);
}
.cookie-banner-actions {
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
    /* Les dues opcions han de pesar igual: rebutjar tan fàcil com acceptar. */
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .btn { flex: 1; }
}

/* ---------- Passos ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    counter-reset: none;
}
.step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
}
.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--brand-050);
    color: var(--brand-600);
    font-weight: 600;
    margin-bottom: var(--space-4);
}
.step h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); color: var(--ink-600); }

/* ---------- Suport clients ---------- */
.support-callout { text-align: center; }
.support-callout h2 { font-size: 1.5rem; }
.support-callout p { margin-top: var(--space-3); color: var(--ink-600); }

/* ---------- Feature row (text + visual alternats) ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-24);
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse .fr-content { order: 2; }
.feature-row--reverse .fr-visual { order: 1; }
.fr-content h3 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
}
.fr-content > p { color: var(--ink-600); margin-bottom: var(--space-6); }
.fr-content .check-list { margin-bottom: var(--space-6); }
.fr-visual { position: relative; }
.fr-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-6);
}

/* Composició: telèfon check-in */
.fr-phone { max-width: 280px; margin: 0 auto; text-align: center; }
.fr-phone-head {
    background: var(--brand-600);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    margin-bottom: var(--space-4);
}
.fr-phone .hp-qr { margin: 0 auto var(--space-4); width: 72px; height: 72px; }
.fr-phone-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
}
.fr-phone-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok-600); }
.fr-phone-meta { font-size: var(--text-xs); color: var(--ink-600); margin-top: var(--space-2); }

/* Composició: mini dashboard */
.fr-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-bottom: var(--space-4); }
.fr-kpi { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3); }
.fr-kpi .label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-600); }
.fr-kpi .value { display: block; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }
.fr-bars { display: flex; align-items: flex-end; gap: var(--space-2); height: 96px; }
.fr-bars span { flex: 1; background: var(--brand-050); border-radius: 4px 4px 0 0; }
.fr-bars span.hi { background: var(--brand-600); }

/* Composició: mapa de seients */
.fr-stage-bar {
    background: var(--ink-900);
    color: var(--white);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 999px;
    padding: var(--space-1);
    margin-bottom: var(--space-4);
}
.fr-seats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.fr-seats span { aspect-ratio: 1; border-radius: 4px; background: var(--paper-2); border: 1px solid var(--line); }
.fr-seats span.sold { background: var(--brand-600); border-color: var(--brand-600); }
.fr-seats span.blocked { background: var(--line); }
.seat-legend {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-top: var(--space-4);
    font-size: var(--text-xs);
    color: var(--ink-600);
}
.seat-legend span { display: inline-flex; align-items: center; gap: 6px; }
.seat-legend i {
    width: 12px; height: 12px;
    border-radius: 3px;
    background: var(--paper-2);
    border: 1px solid var(--line);
}
.seat-legend i.sold { background: var(--brand-600); border-color: var(--brand-600); }
.seat-legend i.blocked { background: var(--line); }

/* Composició: franges horàries */
.fr-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.fr-slot { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3); }
.fr-slot strong { display: block; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.fr-slot span { display: block; font-size: var(--text-xs); color: var(--ink-600); margin-top: 2px; }
.fr-slot.full { background: var(--paper-2); }
.fr-slot.full span { color: var(--brand-600); font-weight: 600; }

/* Composició: fases de venda */
.fr-phases { display: grid; gap: var(--space-2); }
.fr-phase {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
}
.fr-phase .step-num { width: 28px; height: 28px; margin: 0; flex: none; font-size: var(--text-sm); }
.fr-phase .name { flex: 1; font-weight: 600; }
.fr-phase .info { font-size: var(--text-xs); color: var(--ink-600); display: block; font-weight: 400; }
.fr-phase .price { font-weight: 600; font-variant-numeric: tabular-nums; }
.fr-phase.active { border-color: var(--brand-600); }
.fr-phase.pending { opacity: 0.6; }

/* Composició: data center */
.fr-dc-head {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--paper-2);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    margin-bottom: var(--space-3);
}
.fr-dc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-bottom: var(--space-2); }
.fr-dc-cell { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3); text-align: center; }
.fr-dc-cell strong { display: block; font-size: var(--text-sm); }
.fr-dc-cell span { display: block; font-size: var(--text-xs); color: var(--ink-600); margin-top: 2px; }
.fr-dc-strip {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--ink-600);
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: var(--text-sm); margin-bottom: var(--space-4); }
.breadcrumbs ol { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.breadcrumbs li { display: flex; gap: var(--space-2); align-items: center; color: var(--ink-600); }
.breadcrumbs li + li::before { content: '/'; color: var(--line); }
.breadcrumbs a { color: var(--ink-600); }
.breadcrumbs a:hover { color: var(--ink-900); }
.breadcrumbs li[aria-current="page"] { color: var(--ink-900); font-weight: 500; }

/* Franja de breadcrumb sobre fons vermell (prova a caracteristiques.html) */
.breadcrumb-band { background: var(--brand-600); padding: var(--space-2) 0; }
.breadcrumb-band .breadcrumbs { margin-bottom: 0; }
.breadcrumb-band .breadcrumbs li,
.breadcrumb-band .breadcrumbs a { color: #fff; }
.breadcrumb-band .breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-band .breadcrumbs li + li::before { color: rgba(255,255,255,0.6); }
.breadcrumb-band .breadcrumbs li[aria-current="page"] { color: #fff; font-weight: 500; }

/* ---------- Prosa (cas típic, articles, legals) ---------- */
.prose { font-size: 1.05rem; line-height: 1.7; }
.prose p { margin-bottom: var(--space-4); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- FAQ (acordió accessible) ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0 var(--space-6);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    background: none;
    border: none;
    padding: var(--space-4) 0;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    color: var(--ink-900);
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease);
}
.faq-q:hover { color: var(--brand-600); }
.faq-q .icon { color: var(--brand-600); transition: transform var(--dur-base) var(--ease); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { padding-bottom: var(--space-4); }
.faq-a p { font-size: var(--text-sm); color: var(--ink-600); line-height: 1.7; }

/* ---------- Cert list sobre fons clar ---------- */
.cert-list--light { margin-top: 0; }
.cert-list--light .cert { border-color: var(--line); color: var(--ink-900); }
.cert-list--light .cert .state { color: var(--ink-600); }

/* ---------- Matriu de compliment ---------- */
.matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
.matrix-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
}
.matrix-item h3 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    font-size: 1.05rem;
    margin-bottom: var(--space-2);
}
.matrix-item p { font-size: var(--text-sm); color: var(--ink-600); }
.chip {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.chip--ok { background: #E7F2E9; color: #1E5C30; }
.chip--progress { background: #F7EBD3; color: #7A5410; }
.chip--planned { background: var(--paper-2); color: var(--ink-600); border: 1px solid var(--line); }
.chip--demand { background: var(--paper-2); color: var(--ink-900); border: 1px solid var(--line); }

/* ---------- Comparativa: estats ---------- */
.v3-table .yes { color: var(--ok-600); font-weight: 600; }
.v3-table .partial { color: #7A5410; font-weight: 600; }
.v3-table .no { color: var(--ink-600); }
.table-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--ink-600);
    margin-top: var(--space-4);
}

/* ---------- Avís honest ---------- */
.notice {
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    font-size: var(--text-sm);
    color: var(--ink-600);
}
.notice strong { color: var(--ink-900); }
.notice + .notice { margin-top: var(--space-4); }

/* ---------- Cas d'èxit ---------- */
.case-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
}
.case-card:last-child { margin-bottom: 0; }
.case-kind {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-600);
    margin-bottom: var(--space-2);
}
.case-card h3 { font-size: 1.25rem; margin-bottom: var(--space-1); }
.case-meta { font-size: var(--text-sm); color: var(--ink-600); margin-bottom: var(--space-4); }
.case-card p { font-size: var(--text-sm); color: var(--ink-600); margin-bottom: var(--space-3); }
.case-card p .hl { color: var(--ink-900); }
.case-results {
    list-style: disc;
    padding-left: var(--space-6);
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin-bottom: var(--space-3);
}
.case-results li { margin-bottom: var(--space-1); }
.quote {
    border-left: 3px solid var(--gold-500);
    background: var(--paper-2);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: var(--space-4);
    font-style: italic;
    font-size: var(--text-sm);
    color: var(--ink-600);
}
.quote footer { margin-top: var(--space-2); font-style: normal; font-size: var(--text-xs); }

/* ---------- Grups de FAQ ---------- */
.faq-group { margin-bottom: var(--space-12); }
.faq-group:last-child { margin-bottom: 0; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: var(--space-4); }

/* ---------- Blog ---------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}
.post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    color: var(--ink-900);
    transition: border-color var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease);
}
a.post-card:hover {
    color: var(--ink-900);
    border-color: var(--ink-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.post-tag {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-600);
    margin-bottom: var(--space-3);
}
.post-card--soon .post-tag { color: var(--ink-600); }
.post-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: var(--space-3); }
.post-card p { font-size: var(--text-sm); color: var(--ink-600); flex: 1; margin-bottom: var(--space-4); }
.post-meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--ink-600);
    border-top: 1px solid var(--line);
    padding-top: var(--space-3);
}
.post-card--soon { background: var(--paper-2); }

/* ---------- Article ---------- */
.article-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-600);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-4);
}
.article-meta { font-size: var(--text-sm); color: var(--ink-600); margin-top: var(--space-4); }
.article-body { max-width: 720px; margin: 0 auto; }
.prose h2 {
    font-size: 1.5rem;
    margin: var(--space-12) 0 var(--space-4);
}
.prose h3 {
    font-size: 1.15rem;
    margin: var(--space-8) 0 var(--space-3);
}
.prose ul, .prose ol {
    list-style: disc;
    margin: 0 0 var(--space-4) var(--space-6);
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: var(--space-2); }
.prose blockquote {
    border-left: 3px solid var(--gold-500);
    background: var(--paper-2);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    font-style: italic;
    color: var(--ink-600);
}
.prose code {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 0.9em;
    font-variant-numeric: tabular-nums;
}
.cta-box {
    background: var(--paper-2);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    margin-top: var(--space-12);
}
.cta-box h3 { margin-bottom: var(--space-2); }
.cta-box p { color: var(--ink-600); margin-bottom: var(--space-6); }

/* ---------- Estat del servei ---------- */
.status-summary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: var(--ok-600);
    margin-top: var(--space-4);
}
.status-summary .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok-600); }
.status-list { display: grid; gap: var(--space-2); }
.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: var(--space-4) var(--space-6);
}
.status-row strong { display: block; font-size: 0.95rem; }
.status-row .desc { font-size: var(--text-xs); color: var(--ink-600); }
.status-ind {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ok-600);
    white-space: nowrap;
}
.status-ind .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-600); }

/* ---------- Bloc de codi (API) ---------- */
.code-block {
    background: var(--stage-950);
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: var(--text-sm);
    line-height: 1.7;
    overflow-x: auto;
    white-space: pre;
}
.code-block .method { color: #7CC489; font-weight: 600; }
.code-block .path { color: #D9A94F; }
.code-block .comment { color: rgba(255, 255, 255, 0.45); font-style: italic; }

/* ---------- Fila d'estadístiques ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    text-align: center;
}
.stats-row .n {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}
.stats-row .l { font-size: var(--text-sm); color: var(--ink-600); }

/* ---------- Responsive interiors ---------- */
@media (max-width: 1024px) {
    .choice-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .feature-row { gap: var(--space-12); }
    .matrix { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-card, .choice-card, .booking-card { padding: var(--space-6); }
    .steps { grid-template-columns: 1fr; }
    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        margin-bottom: var(--space-16);
    }
    .feature-row--reverse .fr-content { order: 1; }
    .feature-row--reverse .fr-visual { order: 2; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .case-card { padding: var(--space-6); }
    .post-grid { grid-template-columns: 1fr; }
    .status-row { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
}

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