/* ============================================================
   ARRELS — Brand CSS · Single source of truth for all pages
   Tokens map 1:1 to the Brand Brief JSON
   Last updated: 2026-05
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --c-primary:    #7D4E2D;
  --c-secondary:  #C4956A;
  --c-accent:     #3D1F0D;
  --c-bg:         #FAF6F0;
  --c-surface:    #F0E6D6;
  --c-card:       #E8D5B7;
  --c-text:       #2C1810;
  --c-text-light: #7A5535;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 32px;
  --r-pill: 999px;

  --container: 1200px;
  --space-section: clamp(4rem, 9vw, 8rem);
  --space-block: clamp(2rem, 5vw, 4rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--c-accent);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-style: italic; font-weight: 500; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-style: italic; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-text-light);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; }
.muted { color: var(--c-text-light); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 280ms var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--c-accent); color: var(--c-bg); }
.btn-primary:hover { background: var(--c-primary); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(61,31,13,0.4); }
.btn-secondary { background: transparent; color: var(--c-accent); border-color: var(--c-accent); }
.btn-secondary:hover { background: var(--c-accent); color: var(--c-bg); }
.btn-outline { background: transparent; color: var(--c-bg); border-color: rgba(250,246,240,0.5); }
.btn-outline:hover { background: rgba(250,246,240,0.1); }
.btn:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 3px; }
.btn-arrow { display: inline-block; transition: transform 280ms var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.25rem 0;
  background: rgba(250,246,240,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 280ms var(--ease), border-color 280ms var(--ease);
}
.site-header.scrolled { padding: 0.5rem 0; border-bottom-color: rgba(125,78,45,0.12); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo {
  display: inline-flex; align-items: center;
}
.logo img { height: 120px; width: auto; display: block; border-radius: 0; }
.footer-brand .logo img { height: 120px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9375rem; font-weight: 400; color: var(--c-text); transition: color 200ms var(--ease); }
.nav-links a:hover { color: var(--c-primary); }
.nav-links a.active { color: var(--c-primary); }
.nav-links .nav-cta-mobile { display: none; }
.nav-links .nav-cta-mobile a.btn-primary { color: var(--c-bg); }
.nav-links .nav-cta-mobile a.btn-primary:hover { color: var(--c-bg); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-switcher { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--c-secondary); border-radius: var(--r-pill); overflow: hidden; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; }
.lang-switcher a { padding: 0.3rem 0.6rem; color: var(--c-text-light); text-decoration: none; transition: background 200ms, color 200ms; }
.lang-switcher a.active { background: var(--c-primary); color: var(--c-bg); }
.lang-switcher a:not(.active):hover { background: var(--c-surface); }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 0.5rem; color: var(--c-accent); }

/* ---------- HERO (landing — full viewport) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(8rem, 16vh, 13rem) 0 var(--space-section);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.blob-1 { width: 560px; height: 560px; background: var(--c-secondary); opacity: 0.55; top: -140px; right: -100px; }
.blob-2 { width: 500px; height: 500px; background: var(--c-card); opacity: 0.7; bottom: -120px; left: -140px; }
.blob-3 { width: 320px; height: 320px; background: var(--c-primary); opacity: 0.18; top: 35%; left: 38%; }
.hero-content { position: relative; z-index: 3; max-width: 780px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent-word { color: var(--c-primary); }
.hero-subhead {
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  max-width: 580px; margin-bottom: 2.5rem;
  color: var(--c-text); font-weight: 300; line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(125,78,45,0.15); margin-bottom: 4rem; }
.trust-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: var(--c-text-light); }
.trust-item svg { width: 18px; height: 18px; color: var(--c-primary); flex-shrink: 0; }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--c-text-light);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 0.75rem; z-index: 4;
}
.scroll-cue::after { content: ''; width: 1px; height: 48px; background: var(--c-text-light); transform-origin: top; animation: scroll-pulse 2.4s ease-in-out infinite; }
@keyframes scroll-pulse { 0%, 100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 768px) { .scroll-cue { display: none; } }

/* ---------- PAGE HERO (inner pages — compact) ---------- */
.page-hero {
  position: relative;
  padding: clamp(9rem, 20vh, 13rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.page-hero .blob-1 { width: 480px; height: 480px; background: var(--c-secondary); opacity: 0.4; top: -120px; right: -100px; }
.page-hero .blob-2 { width: 380px; height: 380px; background: var(--c-card); opacity: 0.55; bottom: -120px; left: -100px; }
.page-hero-content { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { color: var(--c-text-light); max-width: 600px; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.8125rem;
  color: var(--c-text-light);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-text-light); transition: color 200ms var(--ease); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb [aria-current] { color: var(--c-accent); }
.breadcrumb .sep { opacity: 0.4; }

/* ---------- SOCIAL PROOF ---------- */
.social-proof { background: var(--c-surface); padding: 3rem 0; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.proof-num { font-family: var(--font-display); font-style: italic; font-size: clamp(2.25rem, 4vw, 3rem); color: var(--c-primary); display: block; line-height: 1; margin-bottom: 0.5rem; }
.proof-label { font-size: 0.875rem; color: var(--c-text-light); letter-spacing: 0.04em; }

/* ---------- SECTION BASE ---------- */
.section { padding: var(--space-section) 0; position: relative; content-visibility: auto; contain-intrinsic-size: 0 600px; }
.section-tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-block); }
.section-head p { margin-top: 1.25rem; color: var(--c-text-light); font-size: 1.0625rem; }
.section-alt { background: var(--c-surface); }

/* ---------- SERVICES GRID ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--c-bg);
  border: 1px solid rgba(125,78,45,0.12);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: all 320ms var(--ease);
  position: relative; overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
}
.service-card::before {
  content: ''; position: absolute;
  inset: auto -50px -50px auto;
  width: 160px; height: 160px;
  border-radius: 50%; background: var(--c-card);
  opacity: 0; transition: opacity 320ms var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--c-secondary); box-shadow: 0 28px 56px -28px rgba(61,31,13,0.22); }
.service-card:hover::before { opacity: 0.45; }
.service-card > * { position: relative; z-index: 1; }
.service-icon { width: 52px; height: 52px; color: var(--c-primary); margin-bottom: 0.25rem; }
.service-card h3 { color: var(--c-accent); }
.service-card p { color: var(--c-text-light); font-size: 0.9375rem; line-height: 1.55; flex: 1; }
.service-link { font-size: 0.875rem; font-weight: 500; color: var(--c-primary); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.5rem; }
.service-link::after { content: '→'; transition: transform 240ms var(--ease); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ---------- FLOW TIMELINE (serveis.html — Quin servei és per a tu?) ---------- */
.flow-timeline {
  margin-top: var(--space-block);
  display: flex;
  flex-direction: column;
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: stretch;
  min-height: 96px;
}
.flow-row--last .flow-spine { justify-content: flex-start; padding-top: 0; }

/* LEFT — situation */
.flow-situation {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  padding: 1.25rem 2rem 1.25rem 0;
  text-align: right;
}
.flow-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--c-card);
  line-height: 1;
  flex-shrink: 0;
  transition: color 300ms var(--ease);
}
.flow-row:hover .flow-num { color: var(--c-secondary); }
.flow-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--c-accent);
}

/* CENTRE — spine */
.flow-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-secondary);
  border: 3px solid var(--c-surface);
  outline: 2px solid var(--c-secondary);
  flex-shrink: 0;
  margin-top: calc(1.25rem + 0.6em);
  transition: background 300ms var(--ease), outline-color 300ms var(--ease), transform 300ms var(--ease);
  z-index: 1;
}
.flow-row:hover .flow-dot {
  background: var(--c-primary);
  outline-color: var(--c-primary);
  transform: scale(1.3);
}
.flow-connector {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-secondary), var(--c-card));
  margin-top: 4px;
}

/* RIGHT — destination link */
.flow-dest {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 1.25rem 2rem;
  text-decoration: none;
  color: var(--c-text);
  transition: background 250ms var(--ease);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.flow-dest:hover { background: rgba(125,78,45,0.04); }

.flow-dest-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface);
  border-radius: var(--r-sm);
  color: var(--c-primary);
  transition: background 300ms var(--ease), color 300ms var(--ease);
}
.flow-dest-icon svg { width: 26px; height: 26px; min-width: 26px; max-width: 26px; flex-shrink: 0; display: block; }
.flow-dest:hover .flow-dest-icon { background: var(--c-card); color: var(--c-accent); }

.flow-dest-name {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-accent);
  line-height: 1.2;
}
.flow-dest-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--c-text-light);
  margin-top: 0.15rem;
}

/* Animated arrow */
.flow-arrow {
  margin-left: auto;
  flex-shrink: 0;
  min-width: 32px;
  max-width: 32px;
  width: 32px;
  height: 16px;
  color: var(--c-secondary);
  overflow: visible;
  display: block;
}
.flow-arrow-line {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
  transition: stroke-dashoffset 380ms var(--ease);
}
.flow-arrow-head {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 180ms 260ms var(--ease), transform 180ms 260ms var(--ease);
}
.flow-dest:hover .flow-arrow-line { stroke-dashoffset: 0; }
.flow-dest:hover .flow-arrow-head { opacity: 1; transform: translateX(0); }

@media (max-width: 640px) {
  .flow-row { grid-template-columns: 32px 1fr; grid-template-rows: auto auto; gap: 0; }
  .flow-situation { grid-column: 2; grid-row: 1; justify-content: flex-start; text-align: left; padding: 1rem 0 0.5rem 1rem; }
  .flow-spine { grid-column: 1; grid-row: 1 / 3; align-items: center; }
  .flow-dot { margin-top: calc(1rem + 0.6em); }
  .flow-dest { grid-column: 2; grid-row: 2; padding: 0 0 1.25rem 1rem; }
  .flow-arrow { display: none; }
  .flow-num { font-size: 1.75rem; }
}

/* ---------- WHY US ---------- */
.why-us { background: var(--c-surface); }

.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-block);
}

.wc-card {
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
  border-radius: var(--r-md);
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 2px 12px rgba(60, 30, 10, 0.07);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.wc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(60, 30, 10, 0.13); }

.wc-bg-num {
  position: absolute;
  top: -0.25rem;
  right: 0.75rem;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-card);
  pointer-events: none;
  user-select: none;
  transition: color 280ms var(--ease);
}
.wc-card:hover .wc-bg-num { color: var(--c-secondary); opacity: 0.4; }

.wc-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface);
  border-radius: var(--r-sm);
  color: var(--c-primary);
  flex-shrink: 0;
}
.wc-icon svg { width: 24px; height: 24px; flex-shrink: 0; }

.wc-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--c-accent);
  line-height: 1.2;
  margin-top: 0.25rem;
}

.wc-sub {
  font-size: 0.9rem;
  color: var(--c-text-light);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .why-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .why-cards { grid-template-columns: 1fr; gap: 1rem; }
  .wc-bg-num { font-size: 5rem; }
}

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* carousel wrapper */
.testi-carousel { position: relative; }
.testi-track-wrap {
  overflow: hidden;
  border-radius: var(--r-lg);
}
.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 480ms var(--ease);
  will-change: transform;
}
.testi-card {
  flex-shrink: 0;
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  position: relative;
  box-sizing: border-box;
}

/* nav row */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.testi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--c-secondary);
  background: transparent;
  color: var(--c-primary);
  cursor: pointer;
  transition: all 240ms var(--ease);
}
.testi-btn:hover:not(:disabled) { background: var(--c-primary); color: var(--c-bg); border-color: var(--c-primary); }
.testi-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.testi-btn svg { width: 20px; height: 20px; }
.testi-dots { display: flex; gap: 0.25rem; align-items: center; }
.testi-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-secondary);
  opacity: 0.4;
  border: none;
  cursor: pointer;
  padding: 0;
  /* àrea tàctil mínima sense afectar l'aparença */
  position: relative;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.testi-dot::before {
  content: '';
  position: absolute;
  inset: -19px;
}
.testi-dot.active { opacity: 1; transform: scale(1.5); background: var(--c-primary); }

.testi-quote { font-family: var(--font-display); font-style: italic; font-size: 4.5rem; color: var(--c-primary); opacity: 0.3; line-height: 0.6; margin-bottom: 0.5rem; }
.testi-stars { display: flex; gap: 2px; margin-bottom: 1rem; color: var(--c-primary); }
.testi-stars svg { width: 16px; height: 16px; }
.testi-text { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; line-height: 1.55; color: var(--c-text); margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 0.875rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-secondary); display: flex; align-items: center; justify-content: center; color: var(--c-bg); font-family: var(--font-display); font-style: italic; font-size: 1.125rem; flex-shrink: 0; }
.testi-meta strong { font-weight: 500; color: var(--c-text); display: block; font-size: 0.9375rem; }
.testi-meta span { font-size: 0.8125rem; color: var(--c-text-light); }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--c-accent); color: var(--c-bg); text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.cta-band::before { width: 420px; height: 420px; background: var(--c-primary); opacity: 0.5; top: -160px; left: -120px; }
.cta-band::after { width: 380px; height: 380px; background: var(--c-secondary); opacity: 0.3; bottom: -140px; right: -100px; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band .eyebrow { color: rgba(250,246,240,0.7); }
.cta-band h2 { color: var(--c-bg); }
.cta-band p { color: rgba(250,246,240,0.85); max-width: 540px; margin: 1.25rem auto 2.5rem; font-size: 1.125rem; }
.cta-band .btn-primary { background: var(--c-bg); color: var(--c-accent); }
.cta-band .btn-primary:hover { background: var(--c-surface); }
.cta-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-phone { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-bg); font-weight: 400; font-size: 0.9375rem; opacity: 0.9; transition: opacity 200ms var(--ease); }
.cta-phone:hover { opacity: 1; text-decoration: underline; }
.cta-phone svg { width: 18px; height: 18px; }

/* ---------- INTRO GRID (2-col text+visual) ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.intro-grid.reverse { direction: rtl; }
.intro-grid.reverse > * { direction: ltr; }
@media (max-width: 800px) { .intro-grid, .intro-grid.reverse { grid-template-columns: 1fr; direction: ltr; } }
.intro-text h2 { margin-bottom: 1.25rem; }
.intro-text p { color: var(--c-text); font-size: 1.0625rem; margin-bottom: 1rem; line-height: 1.65; }
.intro-text p:last-of-type { margin-bottom: 1.5rem; }
.intro-visual {
  background: var(--c-card);
  border-radius: var(--r-lg);
  aspect-ratio: 4/5;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.intro-visual::before {
  content: ''; position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 30%, var(--c-secondary) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, var(--c-primary) 0%, transparent 50%);
  opacity: 0.55; filter: blur(40px);
}
.intro-visual-icon { position: relative; z-index: 1; width: 140px; height: 140px; color: var(--c-accent); opacity: 0.45; }
.intro-visual--wide { aspect-ratio: 5/6; }
.intro-visual--wide .intro-visual-photo { object-position: center 60%; }
.intro-visual-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 1;
  border-radius: inherit;
}

/* ---------- FEATURE LIST (checkmark) ---------- */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.feature-list li { display: flex; gap: 0.875rem; align-items: flex-start; font-size: 1rem; color: var(--c-text); }
.feature-list .check { flex-shrink: 0; width: 26px; height: 26px; background: var(--c-surface); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--c-primary); margin-top: 1px; }
.feature-list .check svg { width: 14px; height: 14px; }

/* ---------- PROCESS STEPS ---------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: var(--space-block); }
.process-step { text-align: center; position: relative; }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px;
  background: var(--c-bg);
  border: 1.5px solid var(--c-secondary);
  color: var(--c-primary);
  border-radius: 50%;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.process-step h4 { color: var(--c-accent); font-family: var(--font-display); font-style: italic; font-size: 1.375rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9375rem; color: var(--c-text-light); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--c-bg);
  border: 1px solid rgba(125,78,45,0.15);
  border-radius: var(--r-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 200ms var(--ease);
}
.faq details[open] { border-color: var(--c-secondary); }
.faq summary {
  cursor: pointer;
  font-size: 1.3125rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.0625rem;
  color: var(--c-accent);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--c-primary); transition: transform 240ms var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.5rem 1.5rem; color: var(--c-text-light); font-size: 0.9375rem; line-height: 1.6; }

/* ---------- TEAM GRID ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.team-card { background: var(--c-surface); border-radius: var(--r-lg); padding: 2rem; text-align: center; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--c-card);
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic;
  font-size: 2.5rem; color: var(--c-primary);
  position: relative; overflow: hidden;
}
.team-avatar::before { content: ''; position: absolute; inset: -10%; background: radial-gradient(circle at 30% 30%, var(--c-secondary) 0%, transparent 60%); opacity: 0.45; }
.team-avatar span { position: relative; z-index: 1; }
.team-card h4 { margin-bottom: 0.25rem; }
.team-role { font-size: 0.75rem; color: var(--c-primary); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; display: block; font-weight: 500; }
.team-card p { font-size: 0.9375rem; color: var(--c-text-light); }

/* ---------- VALUES ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.value-card { padding: 1.5rem 0 1.5rem 1.5rem; border-left: 2px solid var(--c-secondary); }
.value-card h4 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--c-accent); }
.value-card p { color: var(--c-text-light); font-size: 0.9375rem; }

/* ---------- RELATED SERVICES ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.related-card {
  background: var(--c-bg);
  border-radius: var(--r-md);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid rgba(125,78,45,0.12);
  transition: all 240ms var(--ease);
  color: var(--c-text);
}
.related-card:hover { border-color: var(--c-secondary); transform: translateY(-3px); }
.related-card svg { width: 36px; height: 36px; color: var(--c-primary); margin: 0 auto 0.75rem; }
.related-card h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; font-family: var(--font-body); font-style: normal; font-weight: 500; color: var(--c-accent); }
.related-card .arrow { font-size: 0.8125rem; color: var(--c-primary); margin-top: 0.5rem; display: inline-block; }

/* ---------- PRICE / INFO STRIP ---------- */
.price-strip {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 2rem clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
  margin: var(--space-block) 0;
}
.price-strip .pi-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-text-light); display: block; margin-bottom: 0.5rem; }
.price-strip .pi-value { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--c-primary); }

/* ---------- CONTACT FORM ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.contact-form { background: var(--c-surface); border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-light); margin-bottom: 0.5rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--c-bg);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
  font-family: var(--font-body); font-size: 0.9375rem;
  color: var(--c-text);
  transition: border-color 200ms var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.75rem; color: var(--c-text-light); }
.form-note a { text-decoration: underline; }
.contact-info h3 { margin-bottom: 1.5rem; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { color: var(--c-primary); flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; }
.info-item strong { display: block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-text-light); font-weight: 500; margin-bottom: 0.25rem; }
.info-item a, .info-item span { font-size: 0.9375rem; color: var(--c-text); }
.info-item a:hover { color: var(--c-primary); }

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--c-card);
  position: relative;
  margin-top: 2rem;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder {
  background: var(--c-card);
  border-radius: var(--r-md);
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text); font-size: 0.875rem;
  font-style: italic; font-family: var(--font-display);
  margin-top: 2rem;
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--c-accent); color: rgba(250,246,240,0.75); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { color: var(--c-bg); }
.footer-tagline { margin-top: 1rem; font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: rgba(250,246,240,0.85); }
.footer-col h5 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-bg); margin-bottom: 1rem; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.9375rem; color: rgba(250,246,240,0.7); transition: color 200ms var(--ease); }
.footer-col a:hover { color: var(--c-bg); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(250,246,240,0.25); display: inline-flex; align-items: center; justify-content: center; transition: all 240ms var(--ease); }
.footer-social a:hover { background: var(--c-bg); color: var(--c-accent); border-color: var(--c-bg); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(250,246,240,0.15); font-size: 0.8125rem; color: rgba(250,246,240,0.75); flex-wrap: wrap; gap: 1rem; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--c-bg); }

/* ---------- COOKIE BANNER (LOPD/GDPR) ---------- */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 480px; margin: 0 auto;
  background: var(--c-accent); color: var(--c-bg);
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.35);
  z-index: 200;
  display: none;
}
.cookie-banner.show { display: block; animation: slide-up 400ms var(--ease) both; }
.cookie-banner p { color: rgba(250,246,240,0.9); margin-bottom: 1rem; font-size: 0.8125rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner .btn { min-height: 40px; padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
@keyframes slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 100ms; }
.reveal-d2 { transition-delay: 200ms; }
.reveal-d3 { transition-delay: 300ms; }

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

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    background: var(--c-bg);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(125,78,45,0.12);
    transform: translateY(-120%);
    transition: transform 360ms var(--ease);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links .nav-cta-mobile { display: block; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; z-index: 101; position: relative; }
  .menu-toggle .icon-open  { display: block; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-open  { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .nav-cta-desktop { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- SKIP LINK (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--c-accent);
  color: var(--c-bg);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
  transition: top 200ms var(--ease);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--c-secondary);
  outline-offset: 2px;
}

/* ---------- SESSION TIMELINE ---------- */
.session-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: var(--space-block);
  gap: 0;
}
.st-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
/* línia connectora horitzontal entre bubbles */
.st-connector {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-secondary) 0%, var(--c-card) 100%);
  z-index: 0;
}
.st-bubble {
  position: relative;
  z-index: 1;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--c-primary);
  margin-bottom: 1.25rem;
  transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}
.st-item:hover .st-bubble {
  border-color: var(--c-secondary);
  box-shadow: 0 8px 28px -8px rgba(125,78,45,0.25);
}
.st-bubble--last { border-color: var(--c-primary); background: var(--c-primary); color: var(--c-bg); }
.st-bubble--last:hover { box-shadow: 0 8px 28px -8px rgba(61,31,13,0.35); }
.st-bubble svg { width: 36px; height: 36px; }
.st-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.6;
  line-height: 1;
}
.st-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--c-accent);
  margin: 0;
  line-height: 1.2;
}
.st-item:last-child .st-label { color: var(--c-primary); font-weight: 500; }

@media (max-width: 700px) {
  .session-timeline { flex-direction: column; align-items: stretch; gap: 0; }
  .st-item { flex-direction: row; text-align: left; gap: 1.25rem; padding: 0.75rem 0; }
  .st-bubble { width: 72px; height: 72px; flex-shrink: 0; margin-bottom: 0; }
  .st-bubble svg { width: 26px; height: 26px; }
  .st-connector { top: 50%; left: 36px; width: 2px; height: 100%; background: linear-gradient(180deg, var(--c-secondary) 0%, var(--c-card) 100%); }
  .st-label { display: flex; align-items: center; }
}

/* ---------- NÚRIA PROFILE ---------- */
.nuria-profile {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.nuria-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-card);
}
.nuria-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}
.nuria-text .profile-name { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.25rem; font-family: var(--font-display); font-style: italic; color: var(--c-accent); }
.nuria-text p { color: var(--c-text-light); font-size: 0.9375rem; line-height: 1.65; margin-top: 0.875rem; }
.nuria-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  list-style: none;
  margin-top: 1.25rem;
}
.nuria-tags li {
  background: var(--c-surface);
  border: 1px solid rgba(125,78,45,0.18);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--c-primary);
  font-weight: 400;
}
@media (max-width: 860px) {
  .nuria-profile { grid-template-columns: 280px 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .nuria-profile { grid-template-columns: 1fr; max-width: 420px; text-align: center; gap: 1.75rem; }
  .nuria-photo { max-width: 320px; margin: 0 auto; }
  .nuria-tags { justify-content: center; }
}

/* ---------- LEGAL PAGES ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: clamp(1.25rem, 2vw, 1.625rem); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal-content h3 { font-size: 1.125rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p { color: var(--c-text-light); font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.legal-content ul { color: var(--c-text-light); font-size: 1rem; line-height: 1.7; margin: 0.75rem 0 1rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.375rem; }
.legal-content a { color: var(--c-primary); text-decoration: underline; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.875rem; }
.legal-table th { background: var(--c-surface); padding: 0.75rem 1rem; text-align: left; font-weight: 500; color: var(--c-accent); border-bottom: 2px solid var(--c-card); }
.legal-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--c-card); color: var(--c-text-light); }

/* ---------- REVIEWS SUMMARY (Google) ---------- */
.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  background: rgba(250,246,240,0.08);
  border: 1px solid rgba(250,246,240,0.15);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  color: rgba(250,246,240,0.85);
  margin-top: 1rem;
}
.reviews-summary .stars {
  color: var(--c-secondary);
  font-size: 0.9375rem;
  letter-spacing: 1px;
  line-height: 1;
}
.reviews-summary a {
  color: var(--c-bg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.reviews-summary a:hover { color: var(--c-secondary); }

/* ---------- ADDRESS NAP (microdata) ---------- */
address.nap {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(250,246,240,0.75);
  margin-top: 1rem;
}
address.nap [itemprop="name"] {
  display: block;
  color: var(--c-bg);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
address.nap a {
  color: rgba(250,246,240,0.85);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
address.nap a:hover { color: var(--c-bg); }
address.nap .maps-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--c-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- VISUALLY HIDDEN (sr-only) ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- PRICING TABLE ---------- */
.pricing-table {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 2rem clamp(1.5rem, 3vw, 2rem);
  margin-top: var(--space-block);
}
.pricing-group {
  padding-bottom: 1.125rem;
  margin-bottom: 1.125rem;
  border-bottom: 1px solid rgba(125,78,45,0.10);
}
.pricing-group:last-of-type { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.3125rem 0;
}
.pricing-desc { font-size: 0.9375rem; color: var(--c-text); }
.pricing-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--c-primary);
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}
.pricing-price.featured { font-size: 1.25rem; color: var(--c-accent); }
.pricing-price.free { color: var(--c-primary); font-style: italic; }
.pricing-note {
  font-size: 0.8125rem;
  color: var(--c-text-light);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(125,78,45,0.15);
  line-height: 1.5;
}
.pricing-loyalty {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-card);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  color: var(--c-accent);
  margin-top: 0.875rem;
}

/* ---------- HERO VIDEO BACKGROUND (React dual-video loop) ---------- */
#hero-video-root {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}
#hero-video-root video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  transition: opacity 1.5s ease;
}

/*
  Overlay direccional: opac a l'esquerra (text) → transparent a la dreta (vídeo).
  Ajusta els percentatges per mostrar més o menys el vídeo.
  Valors actuals: 92% opac a l'esquerra, 18% transparent a la dreta.
*/
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(250, 246, 240, 0.97) 0%,
    rgba(250, 246, 240, 0.90) 40%,
    rgba(250, 246, 240, 0.55) 100%
  );
}

/* En mòbil, overlay més lleuger perquè el vídeo s'hi veu */
@media (max-width: 768px) {
  .hero-overlay {
    background: rgba(250, 246, 240, 0.55);
  }
}

/* Respecta la preferència d'animació reduïda: oculta el vídeo, mostren els blobs */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-overlay { display: none; }
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(37,211,102,0.55);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
  text-decoration: none;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px -8px rgba(37,211,102,0.65); }
.wa-float:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; }
@media (max-width: 768px) {
  .wa-float { bottom: 1.25rem; right: 1.25rem; width: 60px; height: 60px; }
  .wa-float svg { width: 30px; height: 30px; }
}

/* ---------- URGENCY BADGE ---------- */
.urgency-badge {
  display: inline-block;
  background: #FFF0F0;
  color: #C0392B;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-body);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-pill);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ---------- GOOGLE REVIEWS BLOCK ---------- */
.google-reviews-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(125,78,45,0.12);
  text-align: center;
}
.google-agg {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--c-surface);
  border-radius: var(--r-pill);
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.google-agg .stars { color: #f5a623; letter-spacing: 1px; }
.google-agg-sub { font-size: 0.8125rem; color: var(--c-text-light); }
.google-agg-sub a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  color: var(--c-text-light);
  margin-top: 0.625rem;
}
.verified-badge::before { content: '✓'; color: #27ae60; font-weight: 600; }

/* ---------- PRE-FORM WHATSAPP BLOCK ---------- */
.wa-promo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(37,211,102,0.08);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.wa-promo-text {
  font-size: 0.875rem;
  color: var(--c-text-light);
  margin: 0;
  line-height: 1.5;
}
.wa-promo-text strong { color: var(--c-accent); }
.btn-wa--large {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #25D366; color: #fff;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease);
  box-shadow: 0 6px 20px -6px rgba(37,211,102,0.5);
  align-self: flex-start;
}
.btn-wa--large:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 28px -6px rgba(37,211,102,0.55); }
.btn-wa--large svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- CONTACT WHATSAPP BLOCK (replaces form) ---------- */
.contact-wa-block {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.contact-wa-block h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0.25rem;
}
.contact-wa-block p {
  font-size: 1.0625rem;
  color: var(--c-text-light);
  line-height: 1.6;
  max-width: 480px;
}
.btn-wa--large {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #25D366; color: #fff;
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 500;
  padding: 1rem 2rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease);
  box-shadow: 0 8px 24px -8px rgba(37,211,102,0.45);
}
.btn-wa--large:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(37,211,102,0.5); }
.btn-wa--large svg { width: 24px; height: 24px; flex-shrink: 0; }
.contact-wa-tel {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; color: var(--c-text-light);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.contact-wa-tel:hover { color: var(--c-primary); }
.contact-wa-tel svg { width: 18px; height: 18px; }
