/* ============================================================
   styles.css — Grupo Magnet
   ============================================================ */

/* ── Custom Properties ── */
:root {
  /* Colors — negre càlid del logo (#100F0D) + groc llima #E5E619,
     el color real dels botons de la web original del negoci */
  --color-primary: #15140F;
  --color-primary-deep: #100F0D;
  --color-accent: #E5E619;        /* NOMÉS CTAs, elements interactius i detalls sobre fons fosc */
  --color-accent-hover: #C9CB15;
  --color-accent-text: #6B6C0F;   /* oliva fosc per a text sobre fons clar (passa WCAG AA) */
  --color-accent-light: #F4F58A;
  --color-bg: #FAFAF8;
  --color-bg-dark: #15140F;
  --color-bg-section: #F2EDE8;
  --color-text: #2D2D2D;
  --color-text-light: #6B7280;
  --color-text-white: #F9F9F9;
  --color-border: #E5DDD5;
  --color-shadow: rgba(21, 20, 15, 0.12);

  /* Typography — les fonts reals de la web original del negoci:
     Figtree (el seu H1) per a display, Cabin per al cos */
  --font-heading: 'Figtree', Helvetica, Arial, sans-serif;
  --font-body: 'Cabin', system-ui, sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-hero: clamp(2.5rem, 5vw, 5rem);

  /* Tracking — només dos valors a tota la web */
  --tracking-wide: 0.15em;   /* eyebrows i labels majúscules */
  --tracking-tight: 0.08em;  /* micro-labels utilitaris */

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 7rem);
  --container-max: 1280px;
  --container-padding: clamp(1.25rem, 5vw, 3rem);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 1rem;
}

/* Sobre fons fosc, el daurat clar sí que passa contrast */
.testimonials-section .section-label,
.cta-band .section-label {
  color: var(--color-accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  text-wrap: balance;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin-top: 0.75rem;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .section-subtitle {
  margin-inline: auto;
}

/* Buttons — píndola en majúscules, com els CTA de la web original */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 20px rgba(229, 230, 25, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-text-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
}
.btn-accent-text {
  padding: 0;
  color: var(--color-accent-text);
  font-weight: 600;
  font-size: var(--text-sm);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.btn-accent-text:hover {
  border-color: var(--color-accent-text);
  transform: none;
}

/* Placeholders imatges */
.img-placeholder {
  background: var(--color-bg-section);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-text-light);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 1.5rem;
}
.img-placeholder svg {
  opacity: 0.45;
}
.img-placeholder span {
  opacity: 0.7;
  max-width: 160px;
  line-height: 1.4;
}

/* ── ═══════════════════════════════════════
   NAVEGACIÓ
   ═══════════════════════════════════════ ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1;
}
.nav-logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--color-accent);
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-text-white);
  transition: color 0.2s ease;
}
.mobile-menu a:hover {
  color: var(--color-accent);
}
.mobile-menu .btn {
  margin-top: 1rem;
}

/* ── ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* kenBurns s'aplica a la img (animations.css) */
}
.hero-bg .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  font-size: var(--text-lg);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(21, 20, 15, 0.85) 0%, rgba(21, 20, 15, 0.35) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  padding-top: 6rem;
  width: 100%;
}

.hero-location-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-white);
  max-width: 750px;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}
.hero-scroll svg {
  color: var(--color-accent);
}

/* ── ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ ── */
.stats-section {
  background: var(--color-accent);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 1.25rem 0.5rem;
}

.stat-number-wrap {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(21, 20, 15, 0.75);
  font-weight: 500;
  line-height: 1.3;
}

/* ── ═══════════════════════════════════════
   SERVEIS
   ═══════════════════════════════════════ ── */
.services-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative; /* ancora el pseudo-element del service-link */
}

.service-card .service-desc {
  margin-top: 0.75rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--color-accent-text); /* el llima clar no es veu sobre blanc */
  flex-shrink: 0;
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.7;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-text);
  margin-top: 1.25rem;
  transition: gap 0.2s ease;
}
.service-link:hover {
  gap: 0.6rem;
}

/* Tota la targeta és clicable: el link s'estén sobre la card */
.service-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* ── ═══════════════════════════════════════
   PER QUÈ NOSALTRES
   ═══════════════════════════════════════ ── */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-section);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-image .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: none;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: 1.75;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-base);
  color: var(--color-text);
}

.feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.feature-check svg {
  width: 13px;
  height: 13px;
  color: var(--color-primary);
}

/* ── ═══════════════════════════════════════
   PROCÉS
   ═══════════════════════════════════════ ── */
.process-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-accent-text);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ── ═══════════════════════════════════════
   GALERIA ANTES / DESPUÉS
   ═══════════════════════════════════════ ── */
.gallery-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-section);
}

/* Before/After slider */
.ba-wrapper {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  user-select: none;
  -webkit-user-select: none;
  cursor: col-resize;
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
}

.ba-before {
  z-index: 1;
}

.ba-after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-before .img-placeholder,
.ba-after .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}
.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-label {
  position: absolute;
  top: 1rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  z-index: 5;
  pointer-events: none;
}
.ba-before .ba-label { left: 1rem; }
.ba-after  .ba-label { right: 1rem; }

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border-radius: 50%;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.ba-handle svg {
  color: var(--color-primary);
  width: 22px;
  height: 22px;
}

.ba-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ba-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ba-nav-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-primary);
}

.ba-dots {
  display: flex;
  gap: 0.5rem;
}
.ba-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ba-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* Photo gallery grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-rows: 220px;
}

.photo-gallery .gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-gallery .gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px var(--color-shadow);
}
.photo-gallery .gallery-item:nth-child(3n+1) {
  grid-row: span 1;
}
.photo-gallery .gallery-item:nth-child(3n+2) {
  grid-row: span 2;
}
.photo-gallery .gallery-item .img-placeholder,
.photo-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  object-fit: cover;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 20, 15, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(21, 20, 15, 0.45);
}
.gallery-item-overlay svg {
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  animation: lightboxIn 0.3s ease;
}
.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  animation: lightboxImageIn 0.35s ease;
}
.lightbox-content img,
.lightbox-content .img-placeholder {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.lightbox-content .img-placeholder {
  width: 700px;
  height: 500px;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  background: none;
  border: none;
  z-index: 2001;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2001;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

.lightbox-caption {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  z-index: 2001;
}

/* ── ═══════════════════════════════════════
   OPINIONS / TESTIMONIS
   ═══════════════════════════════════════ ── */
.testimonials-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-dark);
  overflow: hidden;
  position: relative;
}

.testimonials-section .section-title {
  color: var(--color-text-white);
}
.testimonials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.quote-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(10rem, 25vw, 20rem);
  font-weight: 800;
  color: #fff;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.swiper-testimonials {
  padding-bottom: 3.5rem !important;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  height: auto;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-meta {
  flex: 1;
}
.testimonial-name {
  font-weight: 600;
  color: var(--color-text-white);
  font-size: var(--text-base);
}
.testimonial-location {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  fill: var(--color-accent);
}

.testimonial-text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
}

.testimonials-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.testimonials-google a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-sm);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.testimonials-google a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ── ═══════════════════════════════════════
   OFICINES
   ═══════════════════════════════════════ ── */
.offices-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.office-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.office-card.main-office {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.office-badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.office-icon {
  color: var(--color-accent-text);
  margin-bottom: 1.25rem;
}

.office-city {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.office-address {
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.office-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.office-phone:hover { color: var(--color-accent-text); }
.office-phone svg { color: var(--color-accent); }

.office-map {
  margin-top: 0.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 160px;
  background: var(--color-bg-section);
}
.office-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.office-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.office-maps-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── ═══════════════════════════════════════
   CONTACTE
   ═══════════════════════════════════════ ── */
.contact-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--color-text-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.contact-info-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-base);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-phone:hover { color: var(--color-accent); }
.contact-phone svg { color: var(--color-accent); flex-shrink: 0; }

.contact-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(229, 230, 25, 0.08);
}

/* Formulari */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base); /* mai <16px: evita l'auto-zoom d'iOS en fer focus */
  color: var(--color-text-white);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form select {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E5E619' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.contact-form select option {
  background: var(--color-primary);
  color: var(--color-text-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 20px rgba(229, 230, 25, 0.35);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.visible {
  display: block;
}
.form-success-icon {
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.form-success-icon svg {
  color: var(--color-primary);
  width: 30px;
  height: 30px;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-white);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: rgba(255, 255, 255, 0.65);
}

/* ── ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ ── */
.site-footer {
  background: var(--color-primary-deep);
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}
.footer-copyright a {
  color: inherit;
  transition: color 0.2s ease;
}
.footer-copyright a:hover {
  color: var(--color-accent);
}

/* ── ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ ── */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image {
    aspect-ratio: 16/9;
    max-height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  /* El CTA principal NO desapareix al mòbil: versió compacta */
  .nav-cta {
    padding: 0.6rem 1rem;
    font-size: var(--text-xs);
  }
}

/* Mòbil petit: el badge del logo ja identifica la marca */
@media (max-width: 430px) {
  .nav-logo-text {
    display: none;
  }
}

@media (max-width: 768px) {

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item {
    border-bottom: 1px solid rgba(21, 20, 15, 0.12);
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(21, 20, 15, 0.12);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 2.25rem;
    right: auto;
    width: 2px;
    height: auto;
  }
  .process-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    padding: 0;
  }
  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .photo-gallery .gallery-item:nth-child(3n+2) {
    grid-row: span 1;
  }

  .offices-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
}

/* ── ═══════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════ ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-accent);
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(229, 230, 25, 0.55);
}

/* ── ═══════════════════════════════════════
   LOGO REAL (badge circular negre amb monograma GM blanc)
   No aplicar mai filters: el PNG té fons transparent i el
   badge és opac — brightness(0) invert(1) el convertiria
   en un disc blanc sense monograma.
   ═══════════════════════════════════════ ── */
.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.logo-img:hover {
  opacity: 0.85;
}
.footer-logo-img {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.footer-logo {
  height: 38px;
  width: 38px;
}
.footer-logo-img .footer-logo-text {
  margin-bottom: 0;
}

/* ── ═══════════════════════════════════════
   NAV LINK ACTIU (GSAP scroll-linked)
   ═══════════════════════════════════════ ── */
.nav-links a.nav-link-active {
  color: var(--color-accent);
}

/* ── ═══════════════════════════════════════
   JS-READY: initial hidden states per animacions
   Sense .js-ready (sense JS), tots els elements
   son sempre visibles (progressive enhancement)
   ═══════════════════════════════════════ ── */
.js-ready .section-header .section-label,
.js-ready .section-header .section-title {
  clip-path: inset(0 100% 0 0);
}

/* ── ═══════════════════════════════════════
   MULTIPAGE: nav link actiu (classe manual)
   ═══════════════════════════════════════ ── */
.nav-links a.active,
.mobile-menu a.active {
  color: var(--color-accent);
}

/* ── ═══════════════════════════════════════
   MULTIPAGE: hero secundari (subpàgines)
   ═══════════════════════════════════════ ── */
.page-hero {
  min-height: 52vh;
}
.page-hero .hero-content {
  padding-top: 9rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-hero .hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}

/* ── ═══════════════════════════════════════
   MULTIPAGE: banda CTA cap a contacte
   ═══════════════════════════════════════ ── */
.cta-band {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
  text-align: center;
}
.cta-band .section-title {
  color: var(--color-text-white);
}
.cta-band .section-subtitle {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.25rem;
}

/* ── ═══════════════════════════════════════
   MULTIPAGE: valors (nosaltres.html)
   ═══════════════════════════════════════ ── */
.services-grid.values-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .services-grid.values-grid {
    grid-template-columns: 1fr;
  }
}

/* ── ═══════════════════════════════════════
   MULTIPAGE: procés de 6 passos (nosaltres.html)
   ═══════════════════════════════════════ ── */
.process-steps--six {
  grid-template-columns: repeat(3, 1fr);
  row-gap: 3.25rem;
}
.process-steps--six::before {
  display: none;
}
@media (max-width: 768px) {
  .process-steps--six {
    grid-template-columns: 1fr;
  }
  .process-steps--six::before {
    display: block;
  }
}

/* ── ═══════════════════════════════════════
   FOCUS VISIBLE (teclat)
   ═══════════════════════════════════════ ── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline-offset: 0;
}

/* ── ═══════════════════════════════════════
   TARGETES NO INTERACTIVES (valors)
   Sense elevació al hover: no són enllaços.
   La línia daurada és estàtica, no un estat.
   ═══════════════════════════════════════ ── */
.values-grid .service-card:hover {
  transform: none;
  box-shadow: none;
}
.values-grid .card-accent-line,
.values-grid .service-card:hover .card-accent-line {
  width: 40px;
}

/* ── ═══════════════════════════════════════
   HELPERS (substitueixen estils inline)
   ═══════════════════════════════════════ ── */
.about-content .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.cta-band .section-header {
  margin-bottom: 0;
}

/* ── ═══════════════════════════════════════
   NAV: DROPDOWN SERVICIOS (desktop)
   ═══════════════════════════════════════ ── */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > a svg {
  transition: transform 0.2s ease;
  vertical-align: middle;
  margin-left: 0.2rem;
}
.nav-item-dropdown:hover > a svg,
.nav-item-dropdown:focus-within > a svg {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
/* Pont invisible perquè el hover no es perdi entre el link i el menú */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 4px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-accent);
}

/* Submenú de serveis dins el menú mòbil */
.mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: -1rem;
  text-align: center;
}
.mobile-submenu a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.65);
}

/* ── ═══════════════════════════════════════
   BOTÓ FLOTANT WHATSAPP
   ═══════════════════════════════════════ ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ── ═══════════════════════════════════════
   COMPARADOR GRAN (home i galeria)
   ═══════════════════════════════════════ ── */
.ba-wrapper--wide {
  max-width: 1080px;
}
.ba-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── ═══════════════════════════════════════
   FRANJA SERVICIO 360°
   ═══════════════════════════════════════ ── */
.servicio360-band {
  background: var(--color-primary);
  padding: 3.25rem 0;
}
.servicio360-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.servicio360-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-white);
}
.servicio360-text {
  color: rgba(255, 255, 255, 0.7);
  max-width: 460px;
  line-height: 1.7;
}

/* ── ═══════════════════════════════════════
   FEATURE STRIP (mòdul diferenciador per servei)
   ═══════════════════════════════════════ ── */
.feature-strip {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}
.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-strip-grid--four {
  grid-template-columns: repeat(4, 1fr);
}
.feature-strip-item {
  border-top: 2px solid var(--color-accent);
  padding-top: 1.25rem;
}
.feature-strip-item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.feature-strip-item p {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}
@media (max-width: 1024px) {
  .feature-strip-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .feature-strip-grid,
  .feature-strip-grid--four {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── ═══════════════════════════════════════
   OTROS SERVICIOS (enllaç creuat entre serveis)
   ═══════════════════════════════════════ ── */
.other-services {
  padding: 2.5rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.other-services .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.other-services-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-light);
}
.other-services-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.other-services-links a {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.other-services-links a:hover {
  color: var(--color-accent-text);
  border-color: var(--color-accent-text);
}

/* ── ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ ── */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 1.25rem;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-accent-text);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 0 1.25rem;
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ── ═══════════════════════════════════════
   CTA BAND AMB FOTO (trenca la massa fosca final)
   ═══════════════════════════════════════ ── */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1600&auto=format&fit=crop&q=70') center/cover no-repeat;
  opacity: 0.14;
}
.cta-band .container {
  position: relative;
}

/* ── ═══════════════════════════════════════
   HERO COMPACTE (contacte: el formulari primer)
   ═══════════════════════════════════════ ── */
.page-hero--compact {
  min-height: 34vh;
}
.page-hero--compact .hero-content {
  padding-top: 7.5rem;
  padding-bottom: 2.25rem;
}

/* ── ═══════════════════════════════════════
   FORMULARI AMB LABELS
   ═══════════════════════════════════════ ── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.form-field label span {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}

/* ── ═══════════════════════════════════════
   VARIACIÓ DE RITME: imatge a la dreta
   ═══════════════════════════════════════ ── */
@media (min-width: 1025px) {
  .about-grid--flip .about-image {
    order: 2;
  }
}

/* ── ═══════════════════════════════════════
   PÀGINES LEGALS
   ═══════════════════════════════════════ ── */
.legal-main {
  padding: 9rem 0 5rem;
}
.legal-main .container {
  max-width: 800px;
}
.legal-main h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.legal-updated {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: 2.5rem;
}
.legal-main h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}
.legal-main p,
.legal-main li {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-main ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}
