/* ============================================================================
   CARS CORNELLÀ 2020 — "Precision Garage" design system
   Dark carbon · signal-orange accent · blueprint grid · motorsport editorial
   ============================================================================ */

/* ----- Design tokens ----- */
:root {
  /* Color */
  --bg:        #0B0B0D;
  --bg-2:      #101014;
  --panel:     #16161B;
  --panel-2:   #1C1C22;
  --line:      #2A2A33;
  --line-soft: #202028;
  --ink:       #F4F4F2;
  --ink-2:     #B9B9C2;
  --ink-3:     #7C7C88;
  --accent:    #FF4D14;   /* redline / tachometer */
  --accent-2:  #FF7A47;
  --cool:      #4DA3FF;   /* data / secondary */
  --ok:        #35D07F;

  /* Type */
  --font-display: "Anton", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Manrope", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Space & shape */
  --maxw: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-accent: 0 18px 50px -18px rgba(255,77,20,.5);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ----- Reset & base ----- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .2vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Blueprint grid + grain atmosphere */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(80% 55% at 78% -5%, rgba(255,77,20,.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; height: auto; }
/* Xarxa de seguretat: cap icona SVG sense mida no ha de créixer fora de control */
svg { max-width: 100%; }
[id] { scroll-margin-top: 84px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* ----- Layout helpers ----- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
}
h2.section-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.1rem, 6vw, 4rem); line-height: .95; letter-spacing: .01em;
  margin: .6rem 0 1rem;
}
.section-title .hl { color: var(--accent); }
.lead { color: var(--ink-2); max-width: 56ch; font-size: 1.08rem; }

/* ----- Buttons ----- */
.btn {
  --pad: .95rem 1.5rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: var(--pad); border-radius: 999px;
  font-weight: 700; letter-spacing: .01em; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--accent); color: #120600; box-shadow: var(--shadow-accent); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -16px rgba(255,77,20,.65); }
.btn--ghost { background: rgba(255,255,255,.03); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-3px); color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { --pad: 1.15rem 1.9rem; font-size: 1.05rem; }

/* ============================================================================
   HEADER
   ============================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  object-fit: contain; overflow: hidden; background: #0B0B0D;
  border: 1px solid var(--line); box-shadow: var(--shadow-accent);
  display: block;
}
.brand__name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.brand__tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; }
.nav__links { display: flex; gap: 1.4rem; }
.nav__links a { font-size: .95rem; color: var(--ink-2); position: relative; padding: .2rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: .7rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.nav__phone svg { width: 1.1em; color: var(--accent); }
.open-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); font-size: .72rem; font-weight: 700; font-family: var(--font-mono); letter-spacing: .04em; white-space: nowrap; color: var(--ink-3); }
.open-badge .od { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; }
.open-badge.is-open { border-color: rgba(53,208,127,.4); color: var(--ok); }
.open-badge.is-open .od { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.served { font-size: .82rem; color: var(--ink-3); margin-top: .35rem; }
@media (max-width: 860px) { .open-badge { display: none; } }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.nav__toggle svg { width: 22px; height: 22px; }

/* Language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; }
.lang-switch a { padding: .42rem .7rem; color: var(--ink-3); line-height: 1; }
.lang-switch a[aria-current] { background: var(--accent); color: #120600; font-weight: 600; }
.lang-switch a:not([aria-current]):hover { color: var(--ink); background: rgba(255,255,255,.04); }
@media (max-width: 720px) { .lang-switch { margin-left: auto; } }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero__kicker { margin-bottom: 1.4rem; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.8rem, 9vw, 6rem); line-height: .9; letter-spacing: .005em;
  margin-bottom: 1.3rem;
}
.hero h1 .hl { color: var(--accent); position: relative; }
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--ink); color: transparent;
}
.hero__sub { color: var(--ink-2); font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero__trust { display: flex; gap: 1.8rem; flex-wrap: wrap; align-items: center; color: var(--ink-3); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; }
.hero__trust b { color: var(--ink); font-family: var(--font-body); font-size: 1.4rem; font-weight: 800; display: block; }
.hero__trust .stars { color: var(--accent); letter-spacing: .1em; }

/* Hero visual: real photo + trust badges */
.hero__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(11,11,13,.9)); }
.hero__badges { position: absolute; left: .9rem; right: .9rem; bottom: .9rem; z-index: 1; display: flex; flex-wrap: wrap; gap: .5rem; }
.hbadge { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 999px; background: rgba(16,16,20,.82); backdrop-filter: blur(8px); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.hbadge svg { width: 16px; height: 16px; color: var(--accent); }
.hbadge b { color: var(--accent); letter-spacing: .08em; }

/* Gallery — "El nostre taller" */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 2.5rem; }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); aspect-ratio: 4 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { position: absolute; left: .7rem; bottom: .6rem; z-index: 1; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.85); }
.gallery-grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5)); pointer-events: none; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Hero visual: dashboard panel */
.hero__panel {
  position: relative; border-radius: var(--radius-lg); padding: 1.4rem;
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 0%, rgba(255,77,20,.18), transparent 60%);
}
.gauge { position: relative; z-index: 1; text-align: center; padding: 1rem 0 .5rem; }
.gauge svg { width: min(280px, 70%); height: auto; margin-inline: auto; }
.gauge__val { font-family: var(--font-display); font-size: 3rem; line-height: 1; margin-top: -2.6rem; }
.gauge__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; color: var(--ink-3); text-transform: uppercase; }
.panel__rows { position: relative; z-index: 1; margin-top: 1.2rem; display: grid; gap: .55rem; }
.panel__row { display: flex; align-items: center; justify-content: space-between; padding: .7rem .9rem; background: rgba(255,255,255,.02); border: 1px solid var(--line-soft); border-radius: 10px; font-size: .9rem; }
.panel__row span { color: var(--ink-2); display: inline-flex; align-items: center; gap: .55rem; }
.panel__row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.panel__row b { font-family: var(--font-mono); color: var(--accent); }

/* ============================================================================
   TRUST STRIP / MARQUEE
   ============================================================================ */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 1.3rem 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.trust__item .n { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--ink); line-height: 1; }
.trust__item .n .hl { color: var(--accent); }
.trust__item .t { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; margin-top: .35rem; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); padding: .9rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .05em; color: var(--ink-3); text-transform: uppercase; white-space: nowrap; }
.marquee__track span::after { content: "•"; margin-left: 3rem; color: var(--accent); }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================================================
   SERVICES
   ============================================================================ */
.serveis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.5rem; }
.svc {
  position: relative; padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.svc:hover { transform: translateY(-6px); border-color: var(--accent); }
.svc:hover::after { width: 100%; }
.svc__num { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); letter-spacing: .1em; }
.svc__icon { width: 46px; height: 46px; margin: .8rem 0 1rem; color: var(--accent); }
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; letter-spacing: .01em; margin-bottom: .5rem; }
.svc p { color: var(--ink-2); font-size: .95rem; }
.svc__more { display: inline-block; margin-top: 1rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
a.svc:hover .svc__more { opacity: 1; transform: none; }
@media (hover: none) { .svc__more { opacity: 1; transform: none; } }

/* ============================================================================
   WHY US
   ============================================================================ */
.perque { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perque__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feat { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); }
.feat:last-child { border-bottom: 0; }
.feat__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,77,20,.1); border: 1px solid rgba(255,77,20,.3); color: var(--accent); display: grid; place-items: center; }
.feat__ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.feat p { color: var(--ink-2); font-size: .93rem; }
.perque__aside { position: relative; border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; background: linear-gradient(155deg, #1a0d06, var(--bg-2)); }
.perque__aside::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,13,.55), rgba(11,11,13,.9)), url("../img/hero-garage.jpg") center/cover no-repeat;
}
.perque__aside .big { font-family: var(--font-display); font-size: clamp(3rem,7vw,5rem); color: var(--accent); line-height: .9; }
.perque__aside .cap { color: var(--ink-2); margin-top: .6rem; }
.perque__aside .quote { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px dashed var(--line); font-size: 1.05rem; color: var(--ink); font-style: italic; }

/* ============================================================================
   COMPARISON — "per què nosaltres"
   ============================================================================ */
.compare { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.compare__head, .compare__row { display: grid; grid-template-columns: 1.7fr 1fr 1fr; align-items: center; }
.compare__head { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.compare__head > div { padding: 1.1rem 1rem; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.compare__row { border-bottom: 1px solid var(--line-soft); }
.compare__row:last-child { border-bottom: 0; }
.compare__row > div { padding: 1.05rem 1rem; }
.compare__crit { color: var(--ink-2); font-size: .96rem; }
.compare__head .compare__crit { color: var(--ink-3); }
.compare__us, .compare__them { text-align: center; }
.compare__us { background: rgba(255,77,20,.06); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare__head .compare__us { color: #fff; font-weight: 700; background: rgba(255,77,20,.14); }
.compare__head .compare__them { color: var(--ink-3); }
.compare__us svg { width: 24px; height: 24px; color: var(--ok); }
.compare__them svg { width: 22px; height: 22px; color: var(--ink-3); opacity: .7; }
@media (max-width: 620px) {
  .compare__head, .compare__row { grid-template-columns: 1.5fr .6fr .6fr; }
  .compare__head > div, .compare__row > div { padding: .8rem .5rem; }
  .compare__crit { font-size: .84rem; }
  .compare__head .compare__us, .compare__head .compare__them { font-size: .64rem; }
}

/* ============================================================================
   PROCESS
   ============================================================================ */
.proces__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.1rem; margin-top: 2.5rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.step h3 { font-size: 1.15rem; margin: .6rem 0 .4rem; }
.step p { color: var(--ink-2); font-size: .92rem; }
.step::before { content: ""; position: absolute; top: 2.6rem; right: -.7rem; width: 1.4rem; height: 2px; background: var(--line); }
.step:last-child::before { display: none; }

/* ============================================================================
   REVIEWS
   ============================================================================ */
.reviews__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 2.5rem; }
.review { padding: 1.5rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .9rem; }
.review .stars { color: var(--accent); letter-spacing: .12em; }
.review p { color: var(--ink); font-size: .98rem; }
.review__who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.review__av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg,var(--accent),#8f1c00); display: grid; place-items: center; font-family: var(--font-display); color: #120600; }
.review__who b { font-size: .95rem; }
.review__who span { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); }
.reviews__cta { text-align: center; margin-top: 2rem; }

/* ============================================================================
   CITA / CONTACT
   ============================================================================ */
.cita__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.cita__intro .quick { display: grid; gap: .8rem; margin-top: 1.8rem; }
.quick-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.quick-card:hover { border-color: var(--accent); transform: translateX(4px); }
.quick-card__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.quick-card__ic svg { width: 22px; height: 22px; }
.quick-card--call .quick-card__ic { background: rgba(255,77,20,.12); color: var(--accent); }
.quick-card--wa .quick-card__ic { background: rgba(37,211,102,.14); color: #25D366; }
.quick-card__ic--map { background: rgba(77,163,255,.14); color: var(--cool); }
.quick-card small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; display: block; }
.quick-card b { font-size: 1.05rem; }

.form { padding: clamp(1.4rem,3vw,2rem); border-radius: var(--radius-lg); background: linear-gradient(165deg,var(--panel),var(--bg-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: .8rem .9rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,77,20,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23FF4D14' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--ink-3); margin: .2rem 0 1.1rem; }
.consent input { margin-top: .2rem; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }
.form__note { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); text-align: center; margin-top: .8rem; display: flex; align-items: center; justify-content: center; gap: .45rem; flex-wrap: wrap; }
.form__note svg { width: 14px; height: 14px; color: var(--ok); flex: none; }

/* Reassurance chips (near the form) */
.assure { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.assure li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: .82rem; font-weight: 700; }
.assure svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* Contact-preference pills in the form */
.pref { display: flex; flex-wrap: wrap; gap: .5rem; }
.pref__opt { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .92rem; color: var(--ink-2); transition: border-color .2s, background .2s, color .2s; }
.pref__opt input { accent-color: var(--accent); margin: 0; }
.pref__opt:hover { border-color: var(--accent); }
.pref__opt:has(input:checked) { border-color: var(--accent); background: rgba(255,77,20,.08); color: var(--ink); }

/* ============================================================================
   CONTACT / MAP
   ============================================================================ */
.contacte__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: stretch; }
.info-list { display: grid; gap: 1.1rem; }
.info-item { display: flex; gap: 1rem; }
.info-item .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); color: var(--accent); display: grid; place-items: center; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: .15rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: .3rem; }
.hours-table td { padding: .35rem 0; border-bottom: 1px dashed var(--line-soft); font-size: .92rem; }
.hours-table td:last-child { text-align: right; color: var(--ink-2); font-family: var(--font-mono); font-size: .82rem; }
.hours-table tr.today td { color: var(--accent); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--panel); position: relative; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.3) invert(.9) hue-rotate(180deg) contrast(.9); }
.map-embed .map-ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--ink-3); font-family: var(--font-mono); font-size: .85rem; }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq { max-width: 820px; margin: 2.5rem auto 0; display: grid; gap: .8rem; }
.qa { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; padding: 1.2rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.05rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; transition: transform .3s var(--ease); font-family: var(--font-mono); }
.qa[open] summary .plus { transform: rotate(45deg); }
.qa__body { padding: 0 1.3rem 1.3rem; color: var(--ink-2); }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(2.5rem,5vw,4rem) 0 6rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__brand p { color: var(--ink-2); margin-top: 1rem; max-width: 34ch; font-size: .93rem; }
.footer h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer a { color: var(--ink-2); font-size: .93rem; }
.footer a:hover { color: var(--accent); }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; color: var(--ink-3); font-size: .82rem; font-family: var(--font-mono); }

/* ============================================================================
   FLOATING WHATSAPP + MOBILE CTA BAR
   ============================================================================ */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 5.6rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  animation: wa-pulse 2.6s var(--ease) infinite;
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse { 0%,100%{ box-shadow: 0 12px 30px -8px rgba(37,211,102,.55);} 50%{ box-shadow: 0 12px 40px -6px rgba(37,211,102,.85);} }
@media (prefers-reduced-motion: reduce){ .wa-float { animation: none; } }

.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; grid-template-columns: 1fr 1fr 1fr;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.cta-bar a { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .7rem; font-size: .74rem; font-weight: 700; color: var(--ink-2); }
.cta-bar a svg { width: 20px; height: 20px; }
.cta-bar a.is-primary { color: var(--accent); }
.cta-bar a + a { border-left: 1px solid var(--line-soft); }

/* ============================================================================
   REVEAL ANIMATIONS
   ============================================================================ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
[data-reveal-stagger].in > *:nth-child(1){ transition-delay: .05s; }
[data-reveal-stagger].in > *:nth-child(2){ transition-delay: .12s; }
[data-reveal-stagger].in > *:nth-child(3){ transition-delay: .19s; }
[data-reveal-stagger].in > *:nth-child(4){ transition-delay: .26s; }
[data-reveal-stagger].in > *:nth-child(5){ transition-delay: .33s; }
[data-reveal-stagger].in > *:nth-child(6){ transition-delay: .40s; }
[data-reveal-stagger].in > *:nth-child(7){ transition-delay: .47s; }
[data-reveal-stagger].in > *:nth-child(8){ transition-delay: .54s; }
[data-reveal-stagger].in > *:nth-child(9){ transition-delay: .61s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================================
   COOKIE BANNER
   ============================================================================ */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70;
  max-width: 560px; margin-inline: auto;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow); transform: translateY(150%); transition: transform .5s var(--ease);
}
.cookie.show { transform: none; }
.cookie p { font-size: .88rem; color: var(--ink-2); margin-bottom: .9rem; }
.cookie p a { color: var(--accent); text-decoration: underline; }
.cookie__btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie .btn { --pad: .6rem 1.1rem; font-size: .88rem; }

/* ============================================================================
   LEGAL PAGES
   ============================================================================ */
.legal-body { background: var(--bg); }
.legal-header { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.legal-back { width: min(100% - 2.4rem, 900px); margin-inline: auto; display: block; color: var(--accent); font-family: var(--font-mono); font-size: .85rem; }
.legal-page { width: min(100% - 2.4rem, 820px); margin: 3rem auto; position: relative; z-index: 1; }
.legal-page h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem,5vw,3rem); margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.35rem; margin: 2rem 0 .7rem; color: var(--ink); }
.legal-page p, .legal-page li { color: var(--ink-2); margin-bottom: .8rem; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page a { color: var(--accent); text-decoration: underline; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; color: var(--ink-2); }
.legal-page th { background: var(--panel); color: var(--ink); }
.legal-footer { border-top: 1px solid var(--line); padding: 2rem 0; text-align: center; color: var(--ink-3); font-family: var(--font-mono); font-size: .8rem; }

/* ============================================================================
   SERVICE LANDING PAGES
   ============================================================================ */
.breadcrumb { padding: 1.2rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li::after { content: "/"; margin-left: .5rem; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li[aria-current] { color: var(--accent); }

.svc-hero { padding: 2rem 0 1rem; }
.svc-hero .eyebrow { margin-bottom: 1rem; }
.svc-hero h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: .92; letter-spacing: .01em; margin-bottom: 1.1rem; }
.svc-hero h1 .hl { color: var(--accent); }
.svc-hero .lead { font-size: 1.15rem; max-width: 60ch; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.svc-photo { width: min(100% - 2.4rem, var(--maxw)); margin: 1.5rem auto 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 24 / 9; box-shadow: var(--shadow); position: relative; z-index: 1; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .svc-photo { aspect-ratio: 16 / 9; } }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 2rem; }
.check-item { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.check-item .ci { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,77,20,.12); border: 1px solid rgba(255,77,20,.35); color: var(--accent); display: grid; place-items: center; }
.check-item .ci svg { width: 15px; height: 15px; }
.check-item span { color: var(--ink-2); font-size: .96rem; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.signs { list-style: none; padding: 0; display: grid; gap: .7rem; margin-top: 1.5rem; }
.signs li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.signs li::before { content: "→"; color: var(--accent); font-weight: 700; }

.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 2.5rem; }
.related-card { padding: 1.2rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.related-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.related-card b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .01em; }
.related-card span { font-size: .84rem; color: var(--ink-3); }

.cta-band { text-align: center; padding: clamp(2.5rem,6vw,4.5rem) 0; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem,6vw,3.6rem); line-height: .95; margin-bottom: 1.2rem; }
.cta-band .hl { color: var(--accent); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

.svc-hub-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 2.5rem; }

@media (max-width: 900px) {
  .checklist, .split, .svc-hub-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   THANK YOU / 404
   ============================================================================ */
.centered-page { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; position: relative; z-index: 1; }
.centered-page .big-num { font-family: var(--font-display); font-size: clamp(5rem,18vw,12rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.centered-page h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem,6vw,3.5rem); margin: .5rem 0 1rem; }
.centered-page p { color: var(--ink-2); max-width: 48ch; margin: 0 auto 2rem; }
.centered-page .check { width: 84px; height: 84px; border-radius: 50%; background: rgba(53,208,127,.14); border: 1px solid var(--ok); color: var(--ok); display: grid; place-items: center; margin: 0 auto 1.5rem; }
.centered-page .check svg { width: 44px; height: 44px; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .perque__grid, .cita__grid, .contacte__grid { grid-template-columns: 1fr; }
  .serveis__grid, .reviews__grid { grid-template-columns: 1fr 1fr; }
  .proces__grid { grid-template-columns: 1fr 1fr; }
  .step::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__links, .nav__phone, .nav__cta .btn--primary { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__cta { gap: .6rem; }
  .brand__name { font-size: 1rem; }
  .brand__tag { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 1.2rem; gap: 1rem;
  }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .serveis__grid, .reviews__grid, .proces__grid, .form__row--2, .footer__grid { grid-template-columns: 1fr; }
  .cta-bar { display: grid; }
  .wa-float { bottom: 5rem; }
  body { padding-bottom: 3.5rem; }
}
