/* Pepeta — sempre a taula */
/* Style direction: directe, gran tipografia bold, paraules clau en coral, fotos centrades. */

:root {
  --coral: #E04A45;
  --coral-deep: #C73B36;
  --coral-soft: #FDE6E3;
  --cream: #FBF8F2;
  --cream-warm: #F4EFE5;
  --paper: #FFFFFF;
  --ink: #16140F;
  --ink-2: #2A271F;
  --ink-3: #6B655A;
  --line: #EAE3D2;
  --line-soft: #F1ECDF;
  --olive: #6B7150;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --t-display: 'Mulish', ui-sans-serif, system-ui, sans-serif;
  --t-body: 'Mulish', ui-sans-serif, system-ui, sans-serif;
  --t-script: 'Caveat', 'Brush Script MT', cursive;

  --maxw: 1280px;
  --gut: 32px;

  /* density-driven */
  --s-1: 6px;
  --s-2: 12px;
  --s-3: 20px;
  --s-4: 36px;
  --s-5: 60px;
  --s-6: 96px;
  --s-7: 140px;

  --fs-body: 17px;
  --lh-body: 1.55;
}

.app-root[data-density="compact"] {
  --s-1: 4px; --s-2: 8px; --s-3: 14px; --s-4: 26px; --s-5: 44px; --s-6: 70px; --s-7: 100px;
  --fs-body: 15px;
}
.app-root[data-density="comfy"] {
  --s-1: 8px; --s-2: 14px; --s-3: 24px; --s-4: 44px; --s-5: 76px; --s-6: 120px; --s-7: 170px;
  --fs-body: 19px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--t-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.app-root { background: var(--cream); min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ─────────── Type ─────────── */
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}
.eyebrow.ink { color: var(--ink-3); }

.h-display { font-family: var(--t-display); margin: 0; color: var(--ink); text-wrap: balance; }
.h1 {
  font-size: clamp(44px, 5.6vw, 88px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.h2 {
  font-size: clamp(34px, 3.8vw, 60px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
.h4 { font-size: 19px; font-weight: 800; letter-spacing: -0.005em; margin: 0; }
.h-display em, .h2 em, .h1 em, .h3 em { font-style: normal; color: var(--coral); font-weight: inherit; }

.lede { font-size: clamp(18px, 1.3vw, 22px); line-height: 1.5; color: var(--ink-2); }
.body { font-size: var(--fs-body); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }

.script { font-family: var(--t-script); color: var(--coral); }

/* ─────────── Layout ─────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding-block: var(--s-6); }
.section-tight { padding-block: var(--s-5); }
.row { display: flex; gap: var(--s-3); align-items: center; }
.col { display: flex; flex-direction: column; gap: var(--s-2); }
.grid { display: grid; gap: var(--s-3); }
.center { text-align: center; }
.center-x { display: flex; flex-direction: column; align-items: center; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ─────────── Buttons & chips ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-quiet { background: transparent; color: var(--ink-2); padding: 10px 14px; }
.btn-quiet:hover { color: var(--ink); }
.btn-soft { background: var(--paper); color: var(--ink); border: 2px solid var(--line); }
.btn-soft:hover { border-color: var(--ink); }
.btn-lg { padding: 18px 28px; font-size: 16px; border-radius: 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
  font-weight: 600;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); display: inline-block; }

/* ─────────── Header ─────────── */
.header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--cream) 92%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.header-left { display: flex; align-items: center; gap: 28px; }
.header-right { display: flex; align-items: center; gap: 14px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: block;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; font-size: 15px; font-weight: 600;
  color: var(--ink); border-radius: 8px;
}
.nav a:hover { background: var(--cream-warm); }
.nav a.active { color: var(--coral); }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--paper);
  display: grid; place-items: center;
  color: var(--ink);
}
.icon-btn:hover { background: var(--cream-warm); }
.icon-btn.bordered { border: 1px solid var(--line); }

.phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.005em;
}
.phone svg { color: var(--ink); }
.phone:hover { color: var(--coral); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.lang-switch button {
  border: 0; background: transparent;
  padding: 5px 9px;
  border-radius: 5px;
  color: var(--ink-3);
}
.lang-switch button.active { background: var(--ink); color: var(--paper); }

/* ─────────── Hero ─────────── */
.hero {
  padding-block: var(--s-6) var(--s-5);
  position: relative;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  max-width: 1080px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 em { font-style: normal; color: var(--coral); font-weight: 900; }
.hero-sub {
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 60ch;
  margin: 0;
}
.hero-script {
  font-family: var(--t-script);
  color: var(--coral);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  margin: 0;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-top: 14px;
}

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: var(--s-4);
  max-width: var(--maxw);
}
.hero-photos > * { min-width: 0; }
.hero-photos .ph { border-radius: var(--r-lg); }
.hero-photos .ph:nth-child(1) { aspect-ratio: 3/4; align-self: end; transform: translateY(0); }
.hero-photos .ph:nth-child(2) { aspect-ratio: 4/3; }
.hero-photos .ph:nth-child(3) { aspect-ratio: 3/4; align-self: end; }
.hero-photos .ph:nth-child(1) > img { object-position: 72% 50%; }

/* image placeholder */
.ph {
  position: relative;
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(135deg,
      color-mix(in oklab, var(--ink) 7%, transparent) 0 1px,
      transparent 1px 12px),
    var(--cream-warm);
  border: 1px solid var(--line);
  color: var(--ink-3);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
}
.ph.has-image { background: var(--cream-warm); border-color: color-mix(in oklab, var(--ink) 8%, transparent); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.has-image::after { display: none; }
.ph::after {
  content: attr(data-label);
  display: block;
  padding: 6px 10px;
  background: color-mix(in oklab, var(--cream-warm) 75%, white);
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 80%;
  color: var(--ink-3);
}

/* ─────────── Section heads (centered with red highlight pattern) ─────────── */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto var(--s-4);
}
.section-head .h2 { margin: 0; }
.section-head .lede { margin: 0; max-width: 64ch; }

/* ─────────── Tagline strip ─────────── */
.tagline-strip {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--s-5);
  position: relative;
  overflow: hidden;
}
.tagline-strip .h2 {
  color: var(--paper); font-weight: 900;
  max-width: 26ch;
  text-align: center;
  margin: 0 auto;
}
.tagline-strip .h2 em { color: var(--coral); font-weight: 900; }
.tagline-strip .lede {
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  max-width: 50ch; margin: 14px auto 0; text-align: center;
}

/* ─────────── Problem section ─────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
.problem-photo .ph { aspect-ratio: 4/5; border-radius: var(--r-lg); }

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1.5px solid var(--ink);
  margin: 0;
  padding: 0;
}
.signal-list li {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.signal-list .num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--coral);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  min-width: 30px;
  padding-top: 2px;
}

/* ─────────── How it works (3-col with photo top) ─────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.featured-card {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.featured-card .ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
}
.featured-card h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 900; }
.featured-card p { margin: 0; color: var(--ink-2); max-width: 36ch; }

/* Step number alternative for "how" cards */
.step-num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 13px;
}

/* ─────────── Audience cards ─────────── */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-3);
}
.audience {
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 320px;
  position: relative;
}
.audience .tag {
  align-self: flex-start;
  background: var(--coral-soft);
  color: var(--coral-deep);
  border-radius: var(--r-pill);
  font-size: 12px;
  padding: 5px 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.audience h3 { font-size: 24px; }
.audience .body { margin-top: auto; }

/* ─────────── Dietes ─────────── */
.diets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-2);
}
.diet {
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  align-items: flex-start;
}
.diet .glyph {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--t-display);
  font-size: 18px;
  font-weight: 900;
}
.diet b { font-size: 17px; font-weight: 800; }
.diet p { font-size: 14.5px; color: var(--ink-3); margin: 0; line-height: 1.45; }

/* ─────────── Map / coverage ─────────── */
.map-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-4);
  align-items: start;
}
.map-frame {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  aspect-ratio: 500/471;
  overflow: hidden;
}
.map-frame svg { display: block; width: 100%; height: 100%; }
.comarques-list { display: flex; flex-direction: column; gap: 8px; }
.comarca-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 700;
  transition: border-color .15s ease, transform .12s ease, background .15s ease;
}
.comarca-row:hover { border-color: var(--ink); transform: translateX(2px); background: var(--cream-warm); }
.comarca-row small { font-weight: 500; color: var(--ink-3); font-size: 13.5px; display: block; margin-top: 4px; }
.comarca-row .arrow { color: var(--coral); }

/* ─────────── Postal-code finder card (inline) ─────────── */
.finder {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}

/* ─────────── Guies ─────────── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.guide {
  display: flex; flex-direction: column; gap: 14px;
  padding: 0;
  background: transparent;
  text-align: left;
}
.guide .ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.guide h4 { font-size: 19px; font-weight: 800; line-height: 1.22; letter-spacing: -0.005em; }
.guide .tag { font-size: 12px; color: var(--coral); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; }

/* ─────────── Institutional strip ─────────── */
.inst {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s-5);
}
.inst-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  align-items: start;
}
.inst-tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream);
  min-height: 200px;
}
.inst-tile h4 { font-size: 18px; font-weight: 800; }
.inst-tile p { font-size: 14.5px; line-height: 1.5; color: var(--ink-3); margin: 0; }
.inst-tile .ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 6px;
}

/* ─────────── CTA bar ─────────── */
.cta-bar {
  background: var(--coral);
  color: #fff;
  padding-block: var(--s-5);
}
.cta-bar .h2 { color: #fff; font-weight: 900; }
.cta-bar .h2 em { color: #fff; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: rgba(255,255,255,.5); }
.cta-bar .lede { color: rgba(255,255,255,.92); }
.cta-bar .btn-ghost { color: #fff; border-color: #fff; }
.cta-bar .btn-ghost:hover { background: #fff; color: var(--coral-deep); }
.cta-bar .btn-primary { background: #fff; color: var(--coral-deep); }
.cta-bar .btn-primary:hover { background: var(--ink); color: #fff; }

/* ─────────── Footer ─────────── */
.footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  padding-block: var(--s-5) var(--s-3);
}
.footer .h3 { color: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 16%, transparent);
}
.footer-col h5 {
  margin: 0 0 14px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
}
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: color-mix(in oklab, var(--paper) 78%, transparent); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px;
  font-size: 12px;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
}

/* ─────────── Modal ─────────── */
.modal-scrim {
  position: fixed; inset: 0;
  background: color-mix(in oklab, var(--ink) 55%, transparent);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  z-index: 60;
  display: grid; place-items: center;
  padding: 24px;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  border-radius: var(--r-lg);
  max-width: 580px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(31,26,20,.5);
  animation: pop .25s cubic-bezier(.2,.7,.3,1.2);
}
.modal.modal--wide { max-width: 1040px; padding: 44px 48px; }
.modal-step2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 40px;
  align-items: start;
}
.modal-step2-layout > form { min-width: 0; }
.plans-summary {
  border-left: 1px solid var(--line);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.plans-summary .eyebrow { font-size: 12px; }
.plans-summary-sub {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.45;
}
.plans-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.plans-summary-card {
  position: relative;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plans-summary-card.is-featured {
  background: var(--coral-soft);
  border-color: color-mix(in oklab, var(--coral) 35%, var(--line));
}
.plans-summary-tag {
  position: absolute;
  top: -8px;
  left: 14px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1;
}
.plans-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.plans-summary-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.plans-summary-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}
.plans-summary-price .num {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.plans-summary-card.is-featured .plans-summary-price .num { color: var(--coral); }
.plans-summary-price .period {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-2);
}
.plans-summary-cycle {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  margin-top: 4px;
  border-radius: var(--r-pill);
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plans-summary-footer {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.plans-summary-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 6px 0 0;
  line-height: 1.45;
}
@media (max-width: 880px) {
  .modal.modal--wide { padding: 28px; }
  .modal-step2-layout { grid-template-columns: 1fr; gap: 28px; }
  .plans-summary { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
}
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal .close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--cream-warm);
  color: var(--ink-2);
  display: grid; place-items: center;
  font-size: 18px;
  line-height: 1;
}
.modal .close:hover { background: var(--ink); color: var(--paper); }
.modal h3 { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.modal h3 em { color: var(--coral); font-style: normal; }
.modal p { color: var(--ink-2); }

.steps-dots { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-dots span {
  width: 32px; height: 4px; background: var(--line); border-radius: 4px;
  transition: background .2s ease;
}
.steps-dots span.active { background: var(--coral); }

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row label { font-size: 13px; font-weight: 800; color: var(--ink-2); letter-spacing: 0.02em; }
.form-row label .req { color: var(--coral); font-weight: 800; margin-left: 2px; }
.form-row input,
.form-row select,
.form-row textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--coral); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  cursor: pointer;
  margin-top: 4px;
}
.form-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--coral);
  margin-top: 1px;
  cursor: pointer;
}

.result-card {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.result-card.ok { background: var(--coral-soft); border-color: color-mix(in oklab, var(--coral) 25%, var(--line)); }
.result-card .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 18px;
  flex-shrink: 0;
}
.result-card.miss .icon { background: var(--ink-3); }

/* ─────────── Variant: editorial (alt direction) ─────────── */
.app-root[data-variant="editorial"] {
  --cream: #F3EBDB;
  --cream-warm: #ECE1CC;
  --paper: #FBF5EA;
  --ink: #1B1610;
  --line: #DCCFB1;
}
.app-root[data-variant="editorial"] .h1 { font-weight: 300; letter-spacing: -0.03em; }
.app-root[data-variant="editorial"] .h2 { font-weight: 300; letter-spacing: -0.02em; }
.app-root[data-variant="editorial"] .h3 { font-weight: 500; letter-spacing: -0.012em; }
.app-root[data-variant="editorial"] .h-display em,
.app-root[data-variant="editorial"] .h2 em,
.app-root[data-variant="editorial"] .h1 em,
.app-root[data-variant="editorial"] .h3 em {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.app-root[data-variant="editorial"] .hero h1 em { font-style: italic; font-family: 'Source Serif 4', Georgia, serif; }
.app-root[data-variant="editorial"] .audience .tag,
.app-root[data-variant="editorial"] .guide .tag {
  background: transparent;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  padding-left: 0;
}
.app-root[data-variant="editorial"] .audience { background: var(--paper); border-color: var(--line); }
.app-root[data-variant="editorial"] .eyebrow { color: var(--ink-3); font-weight: 600; }

/* ─────────── Misc ─────────── */
.kicker {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ─────────── Sub-page chrome ─────────── */
.breadcrumb {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb span:last-child { color: var(--ink); }
.breadcrumb-sep { color: var(--line); }

.pagenav {
  display: flex; gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--s-3);
  padding-block: var(--s-2);
  border-bottom: 1px solid var(--line);
}
.pagenav a {
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  border: 1px solid transparent;
}
.pagenav a:hover { background: var(--paper); border-color: var(--line); color: var(--ink); }

/* Pills row of comarques */
.comarques-pills {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: 10px;
}
.chip-lg {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
}
.chip-lg .dot { width: 8px; height: 8px; }

/* Bullets grid (Servei / Recursos) */
.bullets-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.continuitat-line {
  max-width: 70ch;
  margin: 36px auto 8px;
  font-size: 15.5px;
  color: var(--ink-3);
  line-height: 1.6;
}
.continuitat-line em { font-style: italic; color: var(--ink); font-weight: 600; }
.bullets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.bullet-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 220px;
}
.bullets-grid.dark .bullet-card {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
.bullets-grid.dark .bullet-card h4 { color: var(--paper); }
.bullets-grid.dark .bullet-card p { color: color-mix(in oklab, var(--paper) 75%, transparent); }
.bullet-num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--coral);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.bullet-card h4 { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.bullet-card p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ─────────── Reviews / Opinions (Servei) ─────────── */
.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 720px;
  margin: 0 auto var(--s-4);
}
.reviews-summary-rating {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--t-display);
  line-height: 1;
}
.reviews-rating-num {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.reviews-rating-max {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-3);
}
.reviews-summary-meta {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.reviews-stars {
  display: inline-flex; gap: 3px;
  color: #F2A816;
}
.reviews-summary-line { font-size: 15px; color: var(--ink-2); }
.reviews-summary-line strong { color: var(--ink); font-weight: 800; }
.reviews-source-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--coral);
  margin-top: 2px;
}
.reviews-source-link:hover { color: var(--coral-deep); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.review-card:hover { border-color: color-mix(in oklab, var(--ink) 18%, var(--line)); }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-deep);
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}
.review-id { flex: 1; min-width: 0; }
.review-name {
  font-weight: 800; font-size: 15px;
  color: var(--ink); letter-spacing: -0.005em;
}
.review-place {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11.5px; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 2px;
}
.review-verified {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.review-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.review-stars {
  display: inline-flex; gap: 2px;
  color: #F2A816;
}
.review-when {
  font-size: 12.5px; color: var(--ink-3); font-weight: 500;
}
.review-body {
  margin: 0;
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2);
}
.star-off { color: color-mix(in oklab, var(--ink) 14%, transparent); }

@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .reviews-summary {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 20px;
    gap: 14px;
  }
  .reviews-summary-meta { align-items: center; }
  .reviews-rating-num { font-size: 56px; }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* Comarca block (Territori) */
.comarca-block {
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
}
.comarca-block:nth-of-type(even) { background: var(--paper); }
.comarca-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--s-5);
  align-items: start;
}
.comarca-left { display: flex; flex-direction: column; gap: 16px; }
.comarca-left h2 { margin: 0; }
.comarca-left h2 em { color: var(--coral); font-style: normal; }
.comarca-right { display: flex; flex-direction: column; gap: 18px; }
.comarca-photo { aspect-ratio: 16/10; border-radius: var(--r-lg); }
.towns-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  background: var(--cream);
  display: flex; flex-direction: column; gap: 14px;
}
.towns-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.town-pill {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Guides grid four-column already exists via .guides-grid; alias */
.guides-grid.four { grid-template-columns: repeat(4, 1fr); }

/* Dossier block */
.dossier-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-4);
  align-items: center;
}
.dossier-left { display: flex; flex-direction: column; gap: 16px; }
.dossier-left h2 { margin: 0; }
.dossier-list {
  margin: 4px 0 12px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.dossier-list li {
  padding-left: 22px;
  position: relative;
  font-size: 16px;
  color: var(--ink-2);
}
.dossier-list li::before {
  content: "→";
  color: var(--coral);
  position: absolute;
  left: 0;
  font-weight: 800;
}
.dossier-right { display: flex; justify-content: center; }
.dossier-mock {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(31,26,20,.35);
}
.dossier-mock-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 14px; background: var(--coral);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.dossier-mock-title {
  margin-top: 28px;
  font-size: 22px; font-weight: 900; line-height: 1.1;
  letter-spacing: -0.015em;
}
.dossier-mock-sub { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.dossier-mock-blocks {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--ink-2);
  margin-top: 8px;
}
.dossier-mock-footer {
  margin-top: auto;
  font-family: var(--t-script);
  color: var(--coral);
  font-size: 22px;
}

/* Press */
.press-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-4);
  align-items: start;
}
.press-notes { display: flex; flex-direction: column; gap: 12px; }
.press-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .12s ease;
}
.press-note:hover { border-color: var(--ink); transform: translateX(2px); }
.press-note h4 { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0; color: var(--ink); letter-spacing: -0.2px; }
.press-note .press-meta { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.press-note .press-date { color: var(--ink-3); font-weight: 700; }
.press-note .press-outlet { color: var(--ink-3); font-weight: 600; padding-left: 12px; border-left: 1px solid var(--line); }
.press-note .press-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--coral); font-weight: 700; font-size: 13px; margin-top: 4px; }

.press-note-featured {
  border-top: 3px solid var(--coral);
  background: var(--cream-warm);
}
.press-note-featured .press-outlet { color: var(--coral); font-weight: 800; border-left-color: color-mix(in oklab, var(--coral) 30%, transparent); }
.press-note-featured h4 { font-size: 22px; }
.press-contact {
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 96px;
}

/* Plans & quotes */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-card.featured {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px var(--coral), 0 30px 60px -30px rgba(216,92,86,.35);
  transform: translateY(-4px);
}
.plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.plan-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
}
.plan-price-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.plan-price-period {
  font-size: 18px;
  color: var(--ink-2);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.plan-cycle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: -4px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan-card.featured .plan-cycle {
  background: var(--coral);
  color: #fff;
}
.plan-sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
  min-height: 4.4em;
}
.plan-card .btn {
  width: 100%;
  justify-content: center;
}
.btn-coral {
  color: var(--coral);
  border-color: var(--coral);
  background: var(--paper);
}
.btn-coral:hover {
  background: var(--coral);
  color: #fff;
}
.plan-features {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features .check {
  color: var(--coral);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.plan-footer {
  margin-top: auto;
  padding: 16px 18px;
  margin-inline: -28px;
  margin-bottom: -32px;
  text-align: center;
  font-weight: 800;
  color: var(--ink);
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.plan-card.featured .plan-footer {
  background: var(--coral-soft);
  border-top-color: color-mix(in oklab, var(--coral) 30%, var(--line));
}
.plans-note { max-width: 70ch; margin-inline: auto; }
.plans-note .body { color: var(--ink-2); }

@media (max-width: 1024px) {
  .bullets-grid { grid-template-columns: 1fr 1fr; }
  .comarca-grid, .dossier-block, .press-grid { grid-template-columns: 1fr; }
  .guides-grid.four { grid-template-columns: 1fr 1fr; }
  .press-contact { position: static; }
  .plans-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .bullets-grid { grid-template-columns: 1fr; }
  .guides-grid.four { grid-template-columns: 1fr; }
  .press-note h4 { font-size: 17px; }
}

@media (max-width: 1024px) {
  .problem-grid, .map-grid { grid-template-columns: 1fr; }
  .cards-3, .cards-4, .audience-grid, .guides-grid, .diets, .inst-grid { grid-template-columns: 1fr 1fr; }
  .hero-photos { grid-template-columns: 1fr 1fr; }
  .hero-photos .ph:nth-child(3) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .cards-3, .cards-4, .audience-grid, .guides-grid, .diets, .inst-grid { grid-template-columns: 1fr; }
  .hero-photos { grid-template-columns: 1fr; }
  .hero-photos .ph:nth-child(2), .hero-photos .ph:nth-child(3) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-left .nav { display: none; }
  .phone span { display: none; }
}

/* ─────────── Guia (article) page ─────────── */
.guia-article {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--s-5) var(--s-4) var(--s-4);
}
.guia-article .breadcrumb { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-2); }
.guia-article .breadcrumb a { color: var(--ink-3); text-decoration: none; }
.guia-article .breadcrumb a:hover { color: var(--coral); }
.guia-article .cat { color: var(--coral); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; }
.guia-article h1.guia-title { font-family: Mulish, sans-serif; font-weight: 900; font-size: clamp(36px, 5vw, 56px); letter-spacing: -1.5px; line-height: 1.05; margin: 14px 0 22px; }
.guia-article .guia-lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 var(--s-4); max-width: 60ch; }
.guia-article .guia-meta { display: flex; gap: 16px; align-items: center; color: var(--ink-3); font-size: 13px; margin-bottom: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.guia-article .guia-meta span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 0.08em; }

.guia-hero-ph { aspect-ratio: 3/2; border-radius: var(--r-lg); margin-bottom: var(--s-4); }

.guia-body h2 { font-family: Mulish, sans-serif; font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -0.4px; margin: 40px 0 14px; color: var(--ink); }
.guia-body p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; }
.guia-body ul, .guia-body ol { margin: 0 0 20px; padding-left: 22px; }
.guia-body li { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin-bottom: 10px; }
.guia-body li strong { color: var(--ink); font-weight: 800; }
.guia-body ul li::marker { color: var(--coral); }
.guia-body ol li::marker { color: var(--coral); font-weight: 800; }

.guia-highlight {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 32px;
  color: var(--coral);
  display: inline-block;
  margin-top: -14px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.guia-honest {
  margin: 40px 0 24px;
  padding: 28px 28px 24px;
  background: var(--cream-warm);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--coral);
  position: relative;
}
.guia-honest .label {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 22px;
  color: var(--coral);
  display: block;
  margin-bottom: 8px;
  font-style: italic;
}
.guia-honest p { font-size: 16.5px; line-height: 1.55; color: var(--ink); margin: 0; }

.guia-important {
  margin: 0 0 28px;
  padding: 22px 26px 20px;
  background: var(--cream-warm);
  border-radius: var(--r-md);
  border-left: 3px solid var(--coral);
}
.guia-important .label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 8px;
}
.guia-important p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0; }

.guia-cta {
  margin: 40px 0 var(--s-4);
  padding: 28px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 14px;
}
.guia-cta p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.guia-cta .row { display: flex; gap: 10px; flex-wrap: wrap; }

.guia-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-4) var(--s-5);
  border-top: 1px solid var(--line);
}
.guia-related h3 { font-size: 14px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; font-weight: 700; }
.guia-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guia-related-card {
  display: block;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: transform .14s ease, border-color .14s ease;
}
.guia-related-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.guia-related-card .tag { color: var(--coral); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; display: block; margin-bottom: 10px; }
.guia-related-card h4 { font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: -0.2px; margin: 0; color: var(--ink); }

@media (max-width: 720px) {
  .guia-related-grid { grid-template-columns: 1fr; }
  .guia-article h1.guia-title { font-size: 34px; }
}

/* ─────────── Premsa · nota de premsa ─────────── */
.press-release { padding: 40px 24px 60px; background: var(--paper); }
.press-release-inner { max-width: 760px; margin: 0 auto; }

.pr-head { padding-bottom: 18px; border-bottom: 2px solid var(--coral); margin-bottom: 28px; }
.pr-eyebrow { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.pr-tag { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral); font-weight: 800; }
.pr-date { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--ink-3); }
.pr-meta { font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }

.pr-title { font-family: Mulish, sans-serif; font-weight: 900; font-size: clamp(34px, 5vw, 52px); letter-spacing: -1.5px; line-height: 1.04; margin: 0 0 16px; color: var(--ink); }
.pr-subtitle { font-size: 19px; line-height: 1.45; color: var(--ink-2); font-style: italic; margin: 0 0 32px; max-width: 60ch; }

.pr-lead p { font-size: 18px; line-height: 1.55; color: var(--ink); margin: 0 0 16px; }
.pr-lead { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }

.pr-body h2 { font-family: Mulish, sans-serif; font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -0.4px; margin: 36px 0 12px; }
.pr-body p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }
.pr-body em { font-style: italic; color: var(--ink); font-weight: 700; }

.pr-quote { margin: 40px 0; padding: 28px 32px; background: var(--cream-warm); border-left: 4px solid var(--coral); border-radius: 6px; }
.pr-quote p { font-family: Mulish, sans-serif; font-size: 20px; line-height: 1.4; font-style: italic; color: var(--ink); margin: 0 0 12px; }
.pr-quote footer { font-size: 13px; color: var(--ink-3); font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 0.08em; }

.pr-section-title { font-family: Mulish, sans-serif; font-weight: 800; font-size: 22px; margin: 40px 0 14px; letter-spacing: -0.3px; }

.pr-table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 15.5px; }
.pr-table th, .pr-table td { padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.4; }
.pr-table th { background: var(--cream-warm); width: 38%; font-weight: 700; color: var(--ink); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; letter-spacing: 0.04em; }
.pr-table td { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.pr-table tr:last-child td { border-bottom: none; }

.pr-contact { margin: 32px 0 0; padding: 24px 26px; background: var(--cream); border-radius: var(--r-md); border: 1px solid var(--line); }
.pr-contact .eyebrow { display: block; margin-bottom: 8px; }
.pr-contact p { margin: 4px 0; font-size: 15px; color: var(--ink-2); }
.pr-contact p.muted { color: var(--ink-3); font-size: 13.5px; margin-top: 10px; line-height: 1.5; }

.pr-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

@media print {
  .header, .footer, .pr-actions, .no-print, .tweaks-panel { display: none !important; }
  body { background: white !important; }
  .press-release { padding: 0; }
  .press-release-inner { max-width: 100%; }
  .pr-title { font-size: 30px; }
  .pr-subtitle { font-size: 15px; }
  .pr-lead p, .pr-body p { font-size: 12pt; line-height: 1.5; }
  .pr-quote { break-inside: avoid; }
  .pr-table { break-inside: avoid; }
}

/* ─────────── Blog (cards + listing) ─────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.blog-post {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 16px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .14s ease, border-color .14s ease;
}
.blog-post:hover { transform: translateY(-3px); border-color: var(--ink); }
.blog-thumb { aspect-ratio: 4/3; border-radius: var(--r-md); }
.blog-meta { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; padding: 0 6px; }
.blog-tag {
  background: color-mix(in oklab, var(--cream-warm) 75%, white);
  color: var(--ink);
  padding: 4px 9px;
  border-radius: 4px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 800;
  text-transform: uppercase;
}
.blog-post .muted { color: var(--ink-3); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11.5px; letter-spacing: 0.06em; }
.blog-post h4 { font-size: 19px; line-height: 1.28; font-weight: 800; letter-spacing: -0.2px; margin: 0 6px; color: var(--ink); }
.blog-excerpt { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 0 6px; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Blog full-listing page */
.blog-page { padding: 40px 24px 60px; }
.blog-page-inner { max-width: 1100px; margin: 0 auto; }
.blog-hero { padding: 24px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.blog-hero .eyebrow { display: block; margin-bottom: 12px; }
.blog-hero h1 { font-family: Mulish, sans-serif; font-weight: 900; font-size: clamp(36px, 5vw, 60px); letter-spacing: -1.8px; line-height: 1.02; margin: 0 0 16px; max-width: 22ch; }
.blog-hero p { font-size: 19px; line-height: 1.45; color: var(--ink-2); margin: 0; max-width: 60ch; }

.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.blog-filter {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .12s ease;
}
.blog-filter:hover { border-color: var(--ink); color: var(--ink); }
.blog-filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.blog-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--cream-warm);
  border-radius: var(--r-lg);
  margin-bottom: 32px;
  text-decoration: none;
  color: inherit;
  transition: transform .14s ease;
}
.blog-feature:hover { transform: translateY(-2px); }
.blog-feature .blog-thumb { aspect-ratio: 4/3; }
.blog-feature h2 { font-family: Mulish, sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.6px; margin: 12px 0; color: var(--ink); }
.blog-feature p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 50ch; }
@media (max-width: 720px) {
  .blog-feature { grid-template-columns: 1fr; padding: 22px; }
}

.blog-newsletter {
  margin-top: 56px;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  text-align: center;
}
.blog-newsletter h3 { font-family: Mulish, sans-serif; font-weight: 800; font-size: 22px; margin: 0 0 6px; color: var(--ink); }
.blog-newsletter p { color: var(--ink-3); font-size: 14.5px; margin: 0 0 18px; }
.blog-newsletter form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.blog-newsletter input { flex: 1; min-width: 200px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 15px; font-family: inherit; background: var(--paper); }
.blog-newsletter button { white-space: nowrap; }

/* Blog single post (article) */
.blog-article { max-width: 720px; margin: 0 auto; padding: 40px 24px 32px; }
.blog-article .breadcrumb { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-2); }
.blog-article .breadcrumb a { color: var(--ink-3); text-decoration: none; }
.blog-article .breadcrumb a:hover { color: var(--coral); }
.blog-article .article-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.blog-article h1.blog-title { font-family: Mulish, sans-serif; font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -1.4px; line-height: 1.05; margin: 12px 0 18px; color: var(--ink); }
.blog-article .blog-subtitle { font-size: 19px; line-height: 1.5; color: var(--ink-2); font-style: italic; margin: 0 0 var(--s-4); max-width: 60ch; }
.blog-article .article-hero-ph { aspect-ratio: 16/9; border-radius: var(--r-lg); margin: 0 0 var(--s-4); }
.blog-article .article-body h2 { font-family: Mulish, sans-serif; font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -0.4px; margin: 36px 0 14px; }
.blog-article .article-body p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; }
.blog-article .article-body strong { color: var(--ink); }
.blog-article .article-body ul, .blog-article .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.blog-article .article-body li { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin-bottom: 8px; }


/* ─── Botó flotant WhatsApp ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, background 0.2s;
  z-index: 1000;
  text-decoration: none;
}
.wa-float:hover {
  background: #1FAB54;
  transform: scale(1.08);
}
.wa-float:focus-visible {
  outline: 3px solid #E04A45;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .wa-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ─── Banner cookies RGPD ───────────────────────────────────────── */
.cookies-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); color: var(--cream);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; z-index: 999;
  font-size: 14px; line-height: 1.5;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.cookies-banner[hidden] { display: none; }
.cookies-banner .cookies-text { max-width: 70ch; }
.cookies-banner a { color: var(--coral); text-decoration: underline; }
.cookies-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cookies-actions .btn-ghost,
.cookies-actions .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 10px;
  font-weight: 700; font-size: 13.5px; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  font-family: inherit;
}
.cookies-actions .btn-ghost {
  background: transparent; color: var(--cream);
  border-color: color-mix(in oklab, var(--cream) 50%, transparent);
}
.cookies-actions .btn-ghost:hover { border-color: var(--cream); }
.cookies-actions .btn-primary { background: var(--coral); color: #fff; }
.cookies-actions .btn-primary:hover { background: var(--coral-deep); }
@media (max-width: 640px) {
  .cookies-banner { flex-direction: column; align-items: stretch; padding: 14px 18px; }
  .cookies-actions { justify-content: stretch; }
  .cookies-actions button { flex: 1; }
  /* No tapem el botó WA: pugem el WA quan el banner és visible */
  body:has(.cookies-banner:not([hidden])) .wa-float { bottom: 140px; }
}
@media (min-width: 641px) {
  body:has(.cookies-banner:not([hidden])) .wa-float { bottom: 96px; }
}

/* ─── Placeholder hero (àrea de clients, avís legal, etc.) ───── */
.placeholder-hero {
  padding: 88px 0 64px;
  background: var(--cream);
}
.placeholder-hero .wrap { max-width: 880px; }
.placeholder-hero .eyebrow {
  color: var(--coral);
  font-family: 'Caveat', cursive;
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}
.placeholder-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.placeholder-hero h1 em {
  color: var(--coral);
  font-style: normal;
  font-family: 'Caveat', cursive;
  font-weight: 500;
}
.placeholder-hero .lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft, #4a4640);
  margin: 0 0 32px;
  max-width: 640px;
}
.placeholder-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 24px;
}
.placeholder-note {
  font-size: 15px;
  color: var(--ink-soft, #4a4640);
  max-width: 560px;
}

/* ─── Form (contacte stub) ───────────────────────────────────── */
.stub-form {
  display: grid;
  gap: 14px;
  max-width: 540px;
  margin: 32px 0;
}
.stub-form .form-row { display: flex; flex-direction: column; gap: 6px; }
.stub-form label { font-size: 14px; font-weight: 500; color: var(--ink); }
.stub-form input[type="text"],
.stub-form input[type="email"],
.stub-form input[type="tel"],
.stub-form textarea {
  font: inherit;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.stub-form input:focus,
.stub-form textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.stub-form .check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft, #4a4640);
}
.stub-form .check-row input { margin-top: 3px; }
#lead-form-message:not(:empty) {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cream-warm, #f1ece0);
  font-size: 14px;
}

/* ─── Legal pages ───────────────────────────────────────────────── */
.legal-body {
  padding: 64px 0;
}
.legal-body .wrap { max-width: 760px; }
.legal-body h1 { font-size: 44px; margin: 0 0 8px; letter-spacing: -0.02em; }
.legal-body .meta { color: var(--ink-soft, #4a4640); margin: 0 0 32px; font-size: 14px; }
.legal-body h2 { font-size: 22px; margin: 36px 0 12px; }
.legal-body p, .legal-body ul { font-size: 16px; line-height: 1.6; color: var(--ink); }
.legal-body ul { padding-left: 22px; }


/* ─── Legal tables ───────────────────────────────────────────── */
.legal-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line, #e9e3d4); vertical-align: top; }
.legal-table th { background: var(--cream-warm, #f1ece0); font-weight: 700; white-space: nowrap; }
.legal-table tbody tr:nth-child(odd) td { background: rgba(0,0,0,0.015); }
.legal-body h2 { font-family: 'Mulish', sans-serif; font-weight: 700; font-size: 22px; margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 8px 0 16px; }
.legal-body li { margin-bottom: 6px; line-height: 1.55; }
