/* ==========================================================================
   Camps Broker — v2
   Editorial i proper: paper càlid, blau Badalona, tipografia amb caràcter.
   Els telèfons sempre a l'abast (barra superior, panell d'ajuda, barra mòbil).
   ========================================================================== */

:root {
  --blue:       #003DA5;   /* blau de marca */
  --blue-ink:   #0a2a6b;
  --navy:       #0b1730;   /* fons foscos */
  --navy-2:     #12244a;
  --sky:        #2a9fd8;   /* blau del "swoosh" del logo */
  --sky-soft:   #e3f1fa;

  --ink:        #0f1a2e;
  --muted:      #56617a;
  --paper:      #fbfaf7;
  --tint:       rgba(15, 26, 46, .045);  /* hover i notes sobre fons clar */
  --white:      #ffffff;
  --line:       rgba(15, 26, 46, 0.10);
  --line-light: rgba(255, 255, 255, 0.14);

  --urgent:     #d2452c;
  --urgent-2:   #b8371f;
  --wa:         #1fa855;

  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;

  --shadow:    0 1px 2px rgba(15, 26, 46, .05), 0 12px 32px rgba(15, 26, 46, .07);
  --shadow-lg: 0 2px 4px rgba(15, 26, 46, .05), 0 30px 70px rgba(10, 42, 107, .16);

  --container: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
em, i { font-style: normal; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 400; color: var(--blue); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--sky); }

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(34px, 5vw, 58px); }
.section-sub { font-size: 19px; color: var(--muted); max-width: 640px; }
.center .section-sub { margin: 0 auto; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(0, 61, 165, .28); }
.btn-primary:hover { background: var(--blue-ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-urgent { background: var(--urgent); color: #fff; box-shadow: 0 10px 24px rgba(210, 69, 44, .3); }
.btn-urgent:hover { background: var(--urgent-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost-light { border-color: var(--line-light); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 700; color: var(--blue); text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.link-arrow:hover { border-color: currentColor; }

/* ---- Status pill (obert / tancat) --------------------------------------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa3b5; flex: none; }
.status.is-open .status-dot { background: var(--wa); box-shadow: 0 0 0 0 rgba(31, 168, 85, .6); animation: pulse 2s infinite; }
.status.is-closed .status-dot { background: #f0a43a; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }

/* ==========================================================================
   Top bar + navigation
   ========================================================================== */
.topbar { background: var(--navy); color: #d7deeb; font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar a { text-decoration: none; color: #fff; font-weight: 700; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar-phone svg { width: 15px; height: 15px; color: var(--sky); }
.topbar-urgent { color: #ffb4a6 !important; }
.topbar-urgent:hover { color: #fff !important; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 26, 46, .05); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--tint); }
.nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .nav-urgent { color: var(--urgent); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-year {
  position: absolute; right: -2vw; bottom: -6vw;
  font-family: var(--serif); font-weight: 300; font-style: normal;
  font-size: clamp(180px, 30vw, 460px); line-height: .8; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(0, 61, 165, .09);
  pointer-events: none; user-select: none;
}
.hero-arc { position: absolute; top: -10%; left: -8%; width: 70%; opacity: .5; pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 5.8vw, 80px); line-height: 1.0; margin-bottom: 28px; }
.hero h1 em { color: var(--blue); }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: 14.5px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--blue); }

/* Help panel — "Com et podem ajudar ara?" */
.help {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 10px; position: relative;
}
.help-head { padding: 20px 22px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.help-head h2 { font-size: 24px; margin: 0; }
.help-head .status { color: var(--muted); }
.help-row {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--r); text-decoration: none;
  transition: background .2s;
}
.help-row + .help-row { border-top: 1px solid var(--line); }
.help-row:hover { background: var(--tint); }
.help-row:hover + .help-row { border-color: transparent; }
.help-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue); }
.help-ico svg { width: 24px; height: 24px; }
.help-row.urgent .help-ico { background: #fde9e4; color: var(--urgent); }
.help-row.wa .help-ico { background: #e3f6ea; color: var(--wa); }
.help-row small { display: block; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.help-row strong { display: block; font-size: 20px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.help-go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: transform .25s var(--ease), background .2s; }
.help-row:hover .help-go { transform: translateX(3px); background: var(--blue); color: #fff; }
.help-go svg { width: 16px; height: 16px; }
.help-foot { margin: 6px 8px 8px; padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: 14px; color: var(--muted); }
.help-foot strong { color: var(--ink); }

/* ==========================================================================
   Credentials band
   ========================================================================== */
.creds { background: var(--navy); color: #fff; padding: 0; }
.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: 34px 28px; border-left: 1px solid var(--line-light); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred-k { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 8px; color: #fff; }
.cred-k em { color: var(--sky); font-style: normal; }
.cred p { margin: 0; font-size: 14.5px; color: #b7c2d8; line-height: 1.5; }

/* ==========================================================================
   Profiles (Per a qui)
   ========================================================================== */
.profiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.profile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px 26px; display: flex; flex-direction: column; min-height: 340px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.profile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.profile-num { font-family: var(--serif); font-style: normal; color: var(--blue); font-size: 18px; margin-bottom: 30px; }
.profile h3 { font-size: 32px; margin-bottom: 18px; }
.profile ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.profile li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.profiles-note { margin-top: 28px; text-align: center; color: var(--muted); }

/* ==========================================================================
   Why a broker — comparison
   ========================================================================== */
.why { background: var(--tint); }
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.why-quote { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--ink); border-left: 3px solid var(--blue); padding-left: 22px; margin: 30px 0; }
.why-legal { font-size: 14px; color: var(--muted); }
.compare { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr; border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-row > div { padding: 20px 22px; font-size: 15.5px; line-height: 1.45; }
.compare-row > div:first-child { font-weight: 700; color: var(--muted); font-size: 14px; }
.compare-row .us { background: #f2f7fd; color: var(--ink); font-weight: 600; }
.compare-head > div { font-family: var(--serif); font-size: 19px; font-weight: 500 !important; color: var(--ink) !important; padding-top: 24px !important; padding-bottom: 18px !important; }
.compare-head .us { background: var(--blue) !important; color: #fff !important; }
.compare-row .us::before { content: "✓ "; color: var(--blue); font-weight: 800; }
.compare-head .us::before { content: none; }

/* ==========================================================================
   Services list (Com treballem)
   ========================================================================== */
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 24px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease);
}
.step:hover { padding-left: 12px; }
.step-n { font-family: var(--serif); font-style: normal; font-size: 22px; color: var(--blue); }
.step h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 0; }
.step p { margin: 0; color: var(--muted); }
.step.perk h3::after { content: "Avantatge"; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; margin-left: 12px; padding: 4px 9px; border-radius: 999px; background: var(--sky-soft); color: var(--blue); }

/* ==========================================================================
   Sinistre + phone finder
   ========================================================================== */
.claims { background: var(--navy); color: #dbe2ef; overflow: hidden; }
.claims h2, .claims h3 { color: #fff; }
.claims h2 em { color: var(--sky); }
.claims .section-sub { color: #aab6cc; }
.claims-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sos {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--r); margin-bottom: 26px;
  background: rgba(210, 69, 44, .14); border: 1px solid rgba(210, 69, 44, .4); color: #ffd9d1; font-size: 15px;
}
.sos a { color: #fff; font-weight: 800; font-size: 22px; text-decoration: none; margin-left: auto; padding: 4px 16px; border-radius: 999px; background: var(--urgent); }
.claim-steps { counter-reset: c; }
.claim-steps li { position: relative; padding: 0 0 26px 58px; counter-increment: c; }
.claim-steps li::before {
  content: counter(c); position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 18px; color: #fff; border: 1.5px solid var(--line-light);
}
.claim-steps li::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 4px; width: 1px; background: var(--line-light); }
.claim-steps li:last-child::after { display: none; }
.claim-steps strong { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.claim-steps span { font-size: 15px; color: #aab6cc; }
.claim-steps a { color: var(--sky); font-weight: 700; }

.finder { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 40px 80px rgba(0, 0, 0, .3); }
.finder-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.finder-head h3 { color: var(--ink); font-size: 26px; margin: 0; }
.finder-head small { color: var(--muted); font-size: 13.5px; }
.finder-search { position: relative; margin-bottom: 14px; }
.finder-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.finder-search input {
  width: 100%; height: 58px; padding: 0 18px 0 52px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--paper);
  font: 600 17px var(--sans); color: var(--ink);
}
.finder-search input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 61, 165, .12); }
.finder-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.finder-chips button {
  font: 700 13px var(--sans); padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.finder-chips button:hover, .finder-chips button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.finder-list { display: grid; gap: 6px; }
.finder.full .finder-list { max-height: none; overflow: visible; grid-template-columns: repeat(2, 1fr); }
.co {
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; background: #fff;
}
.finder.full .co { grid-template-columns: 1fr; }
.co[hidden] { display: none; }
.co-name { font-weight: 800; letter-spacing: .02em; font-size: 15px; }
.co-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.line-cell { position: relative; display: flex; flex-direction: column; gap: 4px; }
.line-cell .line-alt { padding: 0 11px; }
.line {
  display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 12px;
  background: var(--paper); text-decoration: none; border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .2s var(--ease); position: relative;
}
a.line:hover { background: var(--sky-soft); border-color: rgba(0, 61, 165, .25); transform: translateY(-1px); }
.line-k { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.line-v { font-weight: 800; font-size: 15.5px; font-variant-numeric: tabular-nums; color: var(--blue); white-space: nowrap; }
.line.none { opacity: .45; }
.line.none .line-v { color: var(--muted); font-weight: 600; }
.line-alt { font-size: 12.5px; font-weight: 700; color: var(--blue); }
.copy {
  position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 8px;
  border: 0; background: transparent; color: var(--muted); cursor: pointer; display: none; place-items: center;
}
.copy svg { width: 14px; height: 14px; }
.copy:hover { background: #fff; color: var(--blue); }
.copy.done { color: var(--wa); }
@media (hover: hover) and (pointer: fine) { .copy { display: grid; } .line { padding-right: 32px; } }
.finder-empty { padding: 24px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 16px; }
.finder-empty a { color: var(--blue); font-weight: 800; }
.finder-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.finder-note a { color: var(--blue); font-weight: 800; text-decoration: none; }

/* ==========================================================================
   History
   ========================================================================== */
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.history-big { font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 17vw, 240px); line-height: .85; letter-spacing: -0.05em; color: var(--blue); margin: 0 0 10px; }
.history-big small { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-top: 18px; }
.timeline { border-left: 1.5px solid var(--line); padding-left: 30px; }
.tl { position: relative; padding-bottom: 34px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -37px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.tl:last-child::before { background: var(--blue); }
.tl-k { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.tl h3 { font-size: 26px; margin: 4px 0 6px; }
.tl p { margin: 0; color: var(--muted); }

/* ==========================================================================
   Club Català
   ========================================================================== */
.club { background: var(--tint); }
.club-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow);
}
.club-main { padding: clamp(32px, 5vw, 60px); }
.club-main h2 { font-size: clamp(30px, 3.6vw, 44px); }
.club-side { background: var(--blue); color: #e6eefc; padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 30px; position: relative; overflow: hidden; }
.club-side::after { content: "1991"; position: absolute; right: -10px; bottom: -40px; font-family: var(--serif); font-style: normal; font-size: 180px; color: rgba(255, 255, 255, .07); line-height: 1; }
.club-quote { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; color: #fff; margin: 0; font-style: normal; }
.club-quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 13.5px; color: #b9cdf2; margin-top: 14px; }
.club-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.club-list li { display: flex; gap: 12px; align-items: flex-start; }
.club-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }

/* Insurers marquee */
.marquee { overflow: hidden; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: 28px; color: #9aa3b5; white-space: nowrap; letter-spacing: -.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-cap { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 64px 0 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 40px); }
.c-card.dark { background: var(--navy); color: #cfd8e8; border-color: transparent; }
.c-card.dark h3 { color: #fff; }
.c-card h3 { font-size: 28px; }
.c-big { display: block; font-family: var(--serif); font-size: clamp(36px, 4.4vw, 54px); line-height: 1; letter-spacing: -0.02em; text-decoration: none; color: var(--blue); margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.c-big:hover { color: var(--blue-ink); }
.c-lines { display: grid; gap: 14px; margin: 24px 0 0; }
.c-lines li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px; }
.c-lines li span:first-child { color: var(--muted); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.c-lines a { color: var(--blue); font-weight: 700; text-decoration: none; word-break: break-word; }
.hours { display: grid; gap: 0; margin: 20px 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-light); font-size: 16px; }
.hours li.today { color: #fff; font-weight: 700; }
.hours li.today span:first-child::after { content: " · avui"; color: var(--sky); font-weight: 600; }
.hours .tnum { color: #fff; font-weight: 700; }
.hours-note { font-size: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); margin: 0 0 24px; }
.hours-note strong { color: #fff; }
.c-card.dark .status { color: #fff; font-size: 15px; }
.c-actions { display: grid; gap: 10px; }
.map { grid-column: 1 / -1; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); position: relative; min-height: 380px; background: var(--tint); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.6) contrast(1.05); }
.map-pin { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-lg); max-width: 320px; }
.map-pin strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.map-pin p { margin: 4px 0 10px; font-size: 14.5px; color: var(--muted); }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta { padding: clamp(64px, 8vw, 100px) 0; background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 60px solid rgba(42, 159, 216, .25); }
.cta .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); margin: 0 0 8px; max-width: 640px; }
.cta h2 em { color: #bfe3f7; }
.cta p { color: #cfe0fb; margin: 0; font-size: 18px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { background: var(--navy); color: #9fabc2; padding: 72px 0 120px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer img { height: 70px; width: auto; margin-bottom: 18px; }
.footer h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; color: #cfd8e8; }
.footer a:hover { color: #fff; }
.footer-phone { font-family: var(--serif); font-size: 30px; color: #fff !important; display: inline-block; margin: 4px 0 6px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ==========================================================================
   Floating actions — desktop: WhatsApp; mobile: action bar
   ========================================================================== */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px rgba(31, 168, 85, .4);
  transition: transform .3s var(--ease);
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }

.actionbar { display: none; }

/* ==========================================================================
   Subpages
   ========================================================================== */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); max-width: 900px; }
.page-hero .hero-lead { max-width: 680px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--blue); text-decoration: none; font-weight: 700; }
.page-hero.urgent { background: var(--navy); color: #cfd8e8; }
.page-hero.urgent h1 { color: #fff; }
.page-hero.urgent h1 em { color: #ffb4a6; }
.page-hero.urgent .hero-lead { color: #aab6cc; }
.page-hero.urgent .crumbs, .page-hero.urgent .crumbs a { color: #aab6cc; }

/* Product catalogue */
.cat-nav { position: sticky; top: 80px; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.cat-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.cat-nav a { flex: none; text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: background .2s, color .2s; }
.cat-nav a:hover, .cat-nav a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
.cat:last-child { border-bottom: 0; }
.cat-n { font-family: var(--serif); font-style: normal; color: var(--blue); font-size: 20px; }
.cat h2 { font-size: clamp(32px, 4vw, 50px); margin: 8px 0 14px; }
.cat-intro { color: var(--muted); }
.cat-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: start; }
.cat-items li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); font-weight: 600;
  transition: border-color .2s, transform .25s var(--ease);
}
.cat-items li:hover { border-color: var(--blue); }
.cat-items li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }

/* Services page */
.svc { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.svc-n { font-family: var(--serif); font-style: normal; font-size: 54px; line-height: 1; color: var(--blue); }
.svc h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.svc p { color: var(--muted); max-width: 720px; margin: 0; font-size: 18px; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links a { padding: 10px 10px; font-size: 15px; }
  .nav-cta .btn-outline { display: none; }
  .profiles { grid-template-columns: repeat(2, 1fr); }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .cred:nth-child(3) { border-left: 0; padding-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 960px) {
  .topbar-hide-md { display: none; }
  .nav .container { min-height: 70px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 114px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 10px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px rgba(15, 26, 46, .12);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.scrolled .nav-links { top: 70px; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 16px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .cat-nav { top: 70px; }

  .hero .container, .why-grid, .claims-grid, .history-grid, .club-card, .contact-grid, .cat { grid-template-columns: 1fr; }
  .hero-year { font-size: 52vw; bottom: auto; top: 30%; }
  .step { grid-template-columns: 56px 1fr; }
  .step p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .finder.full .finder-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .profiles, .creds-grid { grid-template-columns: 1fr; }
  .cred { border-left: 0 !important; padding: 24px 0 !important; border-top: 1px solid var(--line-light); }
  .cred:first-child { border-top: 0; }
  .profile { min-height: 0; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > div:first-child { grid-column: 1 / -1; padding-bottom: 0; background: transparent; }
  .compare-head > div:first-child { display: none; }
  .compare-row > div { padding: 14px 16px; font-size: 14.5px; }
  .co { grid-template-columns: 1fr; gap: 8px; }
  .co-lines { grid-template-columns: 1fr; }
  .line-cell:has(.line.none) { display: none; }
  .line { flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 14px; }
  .line-v { font-size: 17px; }
  .cat-items { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 6px; }
  .svc-n { font-size: 38px; }
  .c-lines li { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-pin { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .sos { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 100%; }

  /* Mobile action bar replaces the WhatsApp bubble */
  .fab-wa { display: none; }
  .actionbar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: var(--navy);
  }
  .actionbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 56px; border-radius: 14px; text-decoration: none; color: #fff;
    font-size: 12px; font-weight: 800; letter-spacing: .02em;
  }
  .actionbar svg { width: 20px; height: 20px; }
  .actionbar .ab-call { background: var(--blue); }
  .actionbar .ab-wa { background: var(--wa); }
  .actionbar .ab-urgent { background: var(--urgent); }
}

/* Product category title follows the list on wide screens */
@media (min-width: 961px) {
  .cat > div:first-child { position: sticky; top: 160px; align-self: start; }
}

/* Grid children must be allowed to shrink below their content (long e-mail in the help panel) */
.hero .container > *, .why-grid > *, .claims-grid > *, .history-grid > *, .contact-grid > *, .cat > * { min-width: 0; }
.help-row > span:nth-child(2) { min-width: 0; }
.help-row strong, .c-lines a { overflow-wrap: anywhere; }

/* ==========================================================================
   v3 — logo protagonista i "Qui som / Per què nosaltres"
   ========================================================================== */
.brand img { height: 60px; width: auto; }

/* Hero: logo a l'esquerra, panell d'ajuda a la dreta */
.hero-brand { display: flex; flex-direction: column; align-items: flex-start; }
.hero-logo { width: min(540px, 100%); height: auto; margin: 0 0 36px -6px; }
.hero h1.hero-slogan { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; max-width: 540px; margin: 0; }
.hero .hero-meta { margin-top: 30px; }

/* Qui som */
.about { background: var(--white); border-bottom: 1px solid var(--line); }
.about-top { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.about-top > * { min-width: 0; }
.about-years {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px); text-align: center; position: relative; overflow: hidden;
}
.about-logo { width: min(260px, 80%); height: auto; margin: 0 auto 18px; }
.about-num { font-family: var(--serif); font-weight: 400; color: var(--blue); font-size: clamp(110px, 13vw, 180px); line-height: .9; letter-spacing: -0.04em; margin: 0; }
.about-num small { display: block; font-size: .24em; letter-spacing: 0; color: var(--ink); margin-top: 6px; font-style: normal; }
.about-cap { margin: 12px 0 0; color: var(--muted); font-weight: 600; font-size: 15px; letter-spacing: .04em; }
.about .section-sub + .section-sub { margin-top: 0; }

/* Per què nosaltres */
.reasons-head { text-align: center; margin-bottom: 36px; }
.reasons-head .eyebrow { justify-content: center; }
.reasons-head h3 { font-size: clamp(30px, 3.6vw, 46px); margin: 0; }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
}
.reason:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; background: var(--white); }
.reason-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue); margin-bottom: 22px; }
.reason-ico svg { width: 26px; height: 26px; }
.reason h4 { font-size: 24px; margin: 0 0 10px; }
.reason p { margin: 0; color: var(--muted); font-size: 16px; }

/* Logo a la franja de crida final */
.cta-logo { height: 64px; width: auto; margin-bottom: 22px; }

@media (max-width: 960px) {
  .brand img { height: 50px; }
  .about-top { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .hero-logo { width: min(420px, 90%); margin-bottom: 26px; }
}
@media (max-width: 640px) {
  .reasons { grid-template-columns: 1fr; }
  .hero-logo { width: 88%; }
}

/* ==========================================================================
   v4 — portada com a resum; el detall és a Serveis i Productes
   ========================================================================== */
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.split-head .section-title { margin-bottom: 0; }
.split-head .link-arrow { margin-bottom: 8px; }

/* Com treballem: flux de 5 passos */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); }
.flow li { position: relative; padding: 26px 24px 0 0; border-top: 1px solid var(--ink); }
.flow li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.flow-n { display: block; font-family: var(--serif); font-size: 15px; color: var(--blue); margin-bottom: 10px; letter-spacing: .04em; }
.flow h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; margin: 0; }

/* Cobertures: índex sobri amb filets */
.covers { border-top: 1px solid var(--ink); }
.cover {
  display: grid; grid-template-columns: 70px minmax(200px, 1fr) 1.6fr 40px; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.cover-n { font-family: var(--serif); font-size: 15px; color: var(--blue); letter-spacing: .04em; }
.cover h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; transition: color .25s; }
.cover p { margin: 0; color: var(--muted); }
.cover-go { justify-self: end; font-size: 22px; color: var(--blue); transition: transform .3s var(--ease); }
.cover:hover h3 { color: var(--blue); }
.cover:hover .cover-go { transform: translateX(6px); }
.covers-profiles { margin: 26px 0 0; color: var(--muted); }
.covers-profiles a { color: var(--blue); font-weight: 600; text-decoration: none; }
.covers-profiles a:hover { text-decoration: underline; }

/* Productes: llistes sòbries en lloc de caixes */
.cat-items { gap: 0 32px; border-top: 1px solid var(--line); }
.cat-items li { padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font-weight: 500; }
.cat-items li:hover { border-color: var(--line); color: var(--blue); }
.cat-items li::before { width: 6px; height: 6px; }
.profiles { gap: 0; border-top: 1px solid var(--ink); }
.profile { background: none; border: 0; border-radius: 0; border-left: 1px solid var(--line); padding: 28px 26px 8px; min-height: 0; }
.profile:first-child { border-left: 0; padding-left: 0; }
.profile:hover { transform: none; box-shadow: none; }
.profile-num { margin-bottom: 12px; font-size: 15px; }
.profile h3 { font-size: 28px; }
.profile ul { display: block; margin-top: 0; }
.profile li { padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font-weight: 500; font-size: 15.5px; }

/* Serveis: garanties i enllaços de continuació */
.guarantees { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.guarantee { padding: 26px 26px 6px; border-left: 1px solid var(--line); }
.guarantee:first-child { border-left: 0; padding-left: 0; }
.guarantee h3 { font-size: 23px; line-height: 1.2; margin-bottom: 10px; }
.guarantee p { color: var(--muted); font-size: 15.5px; margin: 0; }
.next-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-link {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: end;
  padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  text-decoration: none; color: var(--ink); transition: border-color .25s;
}
.next-link .eyebrow { grid-column: 1 / -1; margin: 0; }
.next-link strong { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
.next-link:hover { border-color: var(--blue); }
.next-link:hover .cover-go { transform: translateX(6px); }
.next-link.urgent .cover-go, .next-link.urgent .eyebrow { color: var(--urgent); }
.next-link.urgent:hover { border-color: var(--urgent); }

@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; border-left: 1px solid var(--ink); margin-left: 4px; }
  .flow li { border-top: 0; padding: 0 0 22px 24px; }
  .flow li::before { top: 4px; left: -5px; }
  .flow li:last-child { padding-bottom: 0; }
  .cover { grid-template-columns: 44px 1fr 28px; gap: 4px 14px; padding: 22px 0; }
  .cover p { grid-column: 2 / 3; font-size: 15px; }
  .cover-go { grid-row: 1; grid-column: 3; }
  .profiles, .guarantees { grid-template-columns: 1fr 1fr; }
  .profile, .guarantee { padding-left: 20px; }
  .profile:nth-child(odd), .guarantee:nth-child(odd) { border-left: 0; padding-left: 0; }
  .next-links { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .profiles, .guarantees { grid-template-columns: 1fr; }
  .profile, .guarantee { border-left: 0; padding-left: 0; }
}
.covers-sec { background: var(--white); }
.next-sec { padding-top: clamp(40px, 5vw, 64px); }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Regla 60-30-10
   60 · fons crema (--paper); el blanc només per a targetes i panells
   30 · blau marí (--navy): barra superior, acreditacions, sinistres, peu
   10 · blau de marca (--blue): títols destacats, números, enllaços, botons
        (--sky només sobre fons fosc, on --blue no té prou contrast)
   Funcionals, fora de la regla: --urgent (urgències) i --wa (WhatsApp / oberta)
   ========================================================================== */
.why, .club, .about, .covers-sec { background: var(--paper); }
.why, .club, .covers-sec, .section.contact-sec { border-top: 1px solid var(--line); }
.about { border-bottom: 0; }
.reason, .about-years { background: var(--white); }
.reason:hover { background: var(--white); }
.map { background: var(--white); }

/* ==========================================================================
   v5 · notes del propietari
   ========================================================================== */
.hero-logo { width: min(640px, 100%); }
.hero-intro { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 540px; margin: 18px 0 0; }
.cred-link { display: inline-block; margin-top: 6px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.c-note { font-size: 13px; color: var(--muted); font-weight: 500; }
.cta-logo { height: 84px; margin-bottom: 0; }
.cta .container { align-items: center; }
@media (max-width: 900px) { .hero-logo { width: min(500px, 92%); } }
@media (max-width: 560px) { .hero-logo { width: 92%; } }

/* v5 · segona ronda: una sola pàgina */
html { scroll-padding-top: 96px; }
.nav-wa { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 168, 85, .3); transition: transform .3s var(--ease); }
.nav-wa:hover { transform: scale(1.08); }
.nav-wa svg { width: 24px; height: 24px; }
.services { border-top: 1px solid var(--ink); }
.services li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.services h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 0; }
.services p { margin: 0; color: var(--muted); font-size: 17px; }
.catalog .cat h3 { font-size: clamp(30px, 3.6vw, 44px); margin: 8px 0 14px; }
.catalog .cat:last-child { border-bottom: 0; }
.pf { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; }
.pf button { font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pf button:hover { border-color: var(--navy); }
.pf button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.catalog .cat, .catalog .cat-items li { transition: opacity .25s, color .25s; }
.catalog.pf-on .cat-items li { opacity: .35; }
.catalog.pf-on .cat-items li.pf-hit { opacity: 1; color: var(--blue); font-weight: 700; }
.catalog.pf-on .cat.pf-none { opacity: .45; }
.claims .marquee-cap { color: #aab6cc; margin-top: clamp(48px, 6vw, 72px); }
.claims .marquee { border-color: rgba(255, 255, 255, .12); }
.claims .marquee span { color: #8d9ab3; }
@media (max-width: 960px) { html { scroll-padding-top: 80px; } }
@media (max-width: 760px) {
  .services li { grid-template-columns: 1fr; gap: 6px; }
}
.about-top { margin-bottom: 0; }
.c-actions .btn.is-copied { font-size: 14px; }
.about { border-top: 1px solid var(--line); }
/* v5 · tots els títols d'apartat a la mateixa mida que el de la portada */
:root { --title-size: clamp(26px, 2.6vw, 36px); }
.hero h1.hero-slogan, .section-title, .reasons-head h3 { font-size: var(--title-size); line-height: 1.2; }
.why-quote { font-size: clamp(18px, 1.6vw, 21px); }
.catalog .cat h3 { font-size: clamp(22px, 2vw, 26px); }
/* v5 · títols una mica més grans (entre els 36 i els 58 px d'abans) */
:root { --title-size: clamp(30px, 3.3vw, 46px); }
.hero h1.hero-slogan { max-width: 620px; }
.why-quote { font-size: clamp(19px, 1.8vw, 24px); }
.catalog .cat h3 { font-size: clamp(24px, 2.4vw, 32px); }
/* Qui som sense el quadre dels anys: títol a l'esquerra, text a la dreta */
.about-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: end; }
.about-split .section-title { margin-bottom: 0; }
.about-split .section-sub:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; align-items: start; } }
/* Logo de portada: el SVG surt d'un PNG petit (no hi ha original vectorial); a més de ~460 px se'n noten els defectes */
.hero-logo { width: min(460px, 100%); }
@media (max-width: 900px) { .hero-logo { width: min(420px, 90%); } }

/* v5 · telèfons 15/11: línies extra (manetes, assistència) sota les tres principals */
.co-extra { grid-column: 2; }
.finder.full .co-extra { grid-column: auto; }
.line-cell:has(.line-mail) { grid-column: span 2; }
.line-mail .line-v { font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 640px) { .co-extra { grid-column: auto; } .line-cell:has(.line-mail) { grid-column: auto; } }

/* v6 · selector d'idioma CA / ES a la barra superior */
.topbar-right { margin-left: auto; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .06em; }
.topbar .lang a { color: #d7deeb; font-weight: 600; padding: 4px 2px; }
.topbar .lang a:hover { color: #fff; }
.topbar .lang a[aria-current] { color: #fff; font-weight: 800; border-bottom: 2px solid var(--sky); }
.lang span { opacity: .4; }
.topbar-phone { white-space: nowrap; }
@media (max-width: 480px) { .topbar-left .status { display: none; } }
@media (max-width: 640px) { .topbar .container { justify-content: space-between; } }
html[lang="es"] .hours li.today span:first-child::after { content: " · hoy"; }
html[lang="es"] .c-lines li { grid-template-columns: 140px 1fr; }
@media (max-width: 640px) { html[lang="es"] .c-lines li { grid-template-columns: 1fr; } }

/* Horari partit (16/11): dues franges una sota l'altra, alineades a la dreta */
.hours li .tnum{text-align:right;white-space:nowrap;line-height:1.5}

/* Declaració amistosa (PDF) dins "Has tingut un sinistre?" (16/11) */
.parte { display: flex; gap: 18px; align-items: flex-start; margin-top: 8px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04); scroll-margin-top: 120px; }
.parte-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--sky); }
.parte-ico svg { width: 24px; height: 24px; }
.parte-tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.parte h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; margin: 0 0 6px; color: #fff; }
.parte p { font-size: 15px; color: #aab6cc; margin: 0 0 16px; }
.parte .btn { padding-block: 12px; }
.parte small { display: block; margin-top: 10px; font-size: 13px; color: #8d9ab3; }
@media (max-width: 480px) { .parte { flex-direction: column; } .parte .btn { width: 100%; } }
