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

:root {
  --bg: #FFFDF8;
  --green: #7ABA78;
  --green-dk: #5a9e5c;
  --green-xxdk: #1e4a20;
  --green-lt: #b8d9b6;
  --green-xlt: #e2f0e1;
  --muted: #606060;
  --text-dark: #3C2A21;
  --groc: #E8C870;
  --blau: #9FB9E8;
  --coral: #D97A7A;
  --green-xdk: var(--text-dark);
  --scroll-per-second: 300;
}

html {
  scroll-behavior: auto;
}

body {
  background-color: var(--bg);
  font-family: 'Sora', sans-serif;
  color: var(--text-dark);
}

.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;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── HERO — imatge estàtica ────────────────────────────── */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding-top: 90px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-bg-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(255, 253, 248, 0.8) 0%,
      rgba(255, 253, 248, 0.8) 45%,
      transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}

.hero-text {
  max-width: 500px;
}

.hero-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-dk);
  margin-bottom: 1.2rem;
  animation: fadeUp 0.7s ease-out both;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #1a1a1a;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.7s ease-out 0.15s both;
}

.hero-title em {
  font-style: italic;
  color: var(--green-dk);
}

.hero-lead {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 300;
  color: #555;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 380px;
  animation: fadeUp 0.7s ease-out 0.3s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--green-dk);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.25s ease;
  animation: fadeUp 0.7s ease-out 0.45s both;
}

.hero-cta:hover {
  background: var(--green);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .hero-section {
    padding-top: 70px;
    padding-bottom: 0;
    min-height: 80vh;
  }

  .hero-inner {
    padding: 3rem 1.5rem 2rem;
  }
}

/* ─── BARRES DECORATIVES VERDES (top + bottom) ────────── */

body::before,
body::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-dk), var(--green), var(--green-lt), var(--green), var(--green-dk));
  z-index: 99;
}

body::before {
  top: 0;
}

body::after {
  bottom: 0;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.65);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.reveal         { transform: translateY(22px); }
.reveal-left    { transform: translateX(-52px); }
.reveal-right   { transform: translateX(52px); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

.reveal-slow,
.reveal-slow.reveal-left,
.reveal-slow.reveal-right {
  transition-duration: 1.1s, 1.1s;
}
.reveal-slow.reveal-delay-1 { transition-delay: 150ms; }
.reveal-slow.reveal-delay-2 { transition-delay: 300ms; }
.reveal-slow.reveal-delay-3 { transition-delay: 450ms; }

/* ─── QUALITAT — spectacular entrance ────────────────────── */
.reveal-spectacle-left,
.reveal-spectacle-center,
.reveal-spectacle-right {
  opacity: 0;
  filter: blur(6px);
}
.reveal-spectacle-left   { transform: translateX(-90px) scale(0.80); }
.reveal-spectacle-center { transform: translateY(70px)  scale(0.80); }
.reveal-spectacle-right  { transform: translateX(90px)  scale(0.80); }

/* compound selector (0,2,0) beats .qualitat-card (0,1,0) for transition */
.qualitat-card.reveal-spectacle-left,
.qualitat-card.reveal-spectacle-center,
.qualitat-card.reveal-spectacle-right {
  transition:
    opacity    0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform  0.75s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter     0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}
/* is-visible: specificity 0,2,0 — .qualitat-card:hover (line below) comes
   later in the file, so hover still wins on transform */
.reveal-spectacle-left.is-visible,
.reveal-spectacle-center.is-visible,
.reveal-spectacle-right.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
/* stagger delays — 0,3,0 beats the compound transition rule */
.qualitat-card.reveal-spectacle-left.qs-d1,
.qualitat-card.reveal-spectacle-center.qs-d1,
.qualitat-card.reveal-spectacle-right.qs-d1 { transition-delay: 160ms; }
.qualitat-card.reveal-spectacle-left.qs-d2,
.qualitat-card.reveal-spectacle-center.qs-d2,
.qualitat-card.reveal-spectacle-right.qs-d2 { transition-delay: 320ms; }
.qualitat-card.reveal-spectacle-left.qs-d3,
.qualitat-card.reveal-spectacle-center.qs-d3,
.qualitat-card.reveal-spectacle-right.qs-d3 { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-spectacle-left,
  .reveal-spectacle-center,
  .reveal-spectacle-right {
    opacity: 1;
    filter: none;
    transform: none;
  }
  .qualitat-card.reveal-spectacle-left,
  .qualitat-card.reveal-spectacle-center,
  .qualitat-card.reveal-spectacle-right {
    transition: box-shadow 0.35s ease;
  }
}

/* ─── QUI SOM — bg cremós + radial gradients reaprofitats ─── */

/* ─── SECCIÓ "L'EMPRESA" ─────────────────────────────────── */

.seccio-quisom {
  position: relative;
  background-color: var(--bg);
  padding: 8rem 2.5rem;
  overflow: hidden;
}

.quisom-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Left column */
.quisom-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dk);
  background: rgba(122, 186, 120, 0.12);
  border: 1px solid rgba(122, 186, 120, 0.35);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 2rem;
}

.quisom-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 1.8rem;
}

.quisom-title em {
  font-style: italic;
  color: var(--green);
  font-weight: 600;
}

.quisom-lead {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  font-weight: 300;
  line-height: 1.8;
  color: #606060;
  margin-bottom: 1rem;
}

.quisom-lead strong {
  font-weight: 600;
  color: #333;
}

.quisom-divider {
  width: 48px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 2rem 0;
}

/* Feature rows */
.quisom-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quisom-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.quisom-feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(122, 186, 120, 0.13);
  box-shadow: 0 3px 12px rgba(100, 155, 80, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dk);
}

.quisom-feature-text strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.quisom-feature-text span {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: #777;
  line-height: 1.5;
}

/* Right column — stat cards */
.quisom-right {
  position: relative;
}

.quisom-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  box-shadow:
    0 6px 24px rgba(140, 100, 50, 0.11),
    0 2px 6px rgba(140, 100, 50, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.32s ease;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 44px rgba(140, 100, 50, 0.17),
    0 5px 12px rgba(140, 100, 50, 0.08);
}

.stat-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.stat-icon-wrap {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: rgba(122, 186, 120, 0.12);
  box-shadow: 0 3px 10px rgba(100, 155, 80, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dk);
}

.stat-card-meta {
  display: flex;
  flex-direction: column;
}

.stat-num-row {
  display: flex;
  align-items: baseline;
  gap: 0.05rem;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-family: 'Fraunces', serif;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-sep {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin: 0 0.12em;
  letter-spacing: -0.03em;
}

.stat-label-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-top: 0.15rem;
  line-height: 1.3;
}

.stat-divider {
  border: none;
  border-top: 1.5px dashed rgba(122, 186, 120, 0.38);
  margin: 0.7rem 0;
}

.stat-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.77rem;
  font-weight: 300;
  color: #888;
  line-height: 1.55;
  margin: 0;
}


@media (max-width: 900px) {
  .seccio-quisom {
    padding: 5rem 1.5rem;
  }

  .quisom-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

}

/* Mòbil: les targetes de xifres han de cabre en dues columnes sense desbordar */
@media (max-width: 480px) {
  .quisom-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1.2rem 1rem;
  }

  .stat-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .stat-icon-wrap svg {
    width: 40px;
    height: 40px;
  }
}

/* ─── SECCIÓ "QUI SERVIM" ───────────────────────────────── */

.seccio-serveis {
  background-color: #FBF6E8;
  padding: 7rem 2.5rem 0;
  position: relative;
}

.serveis-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

/* Columna esquerra */
.serveis-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(60, 90, 50, 0.28);
  color: var(--green-dk);
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  margin-bottom: 1.8rem;
}

.serveis-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.serveis-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 1rem;
  transition: opacity 0.3s ease;
}

.serveis-divider {
  width: 38px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 1.4rem;
}

.serveis-desc {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: #606060;
  line-height: 1.75;
  margin-bottom: 2rem;
  transition: opacity 0.3s ease;
}

.serveis-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.serveis-feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(122, 186, 120, 0.13);
  box-shadow: 0 3px 12px rgba(100, 155, 80, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dk);
}

.serveis-feature-text strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.serveis-feature-text span {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: #777;
  line-height: 1.6;
}

.serveis-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--green-dk);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.serveis-cta:hover {
  background: var(--green);
  transform: translateY(-2px);
}

/* Àrea de cards */
.serveis-cards {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 0.7rem;
}

/* Card principal */
.serveis-main-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: default;
  aspect-ratio: 1 / 1;
  align-self: start;
}

.serveis-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.serveis-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(15, 25, 10, 0.82) 0%,
      rgba(15, 25, 10, 0.18) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.2rem 2.2rem;
}

.serveis-main-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 0.45rem;
}

.serveis-main-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.65rem;
  transition: opacity 0.35s ease;
}

.serveis-main-desc {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 400px;
  transition: opacity 0.35s ease;
}

/* Cards laterals */
.serveis-side-cards {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.serveis-side-card {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.serveis-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.serveis-side-card:hover .serveis-side-img {
  transform: scale(1.06);
}

.serveis-side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(15, 25, 10, 0.75) 0%,
      rgba(15, 25, 10, 0.2) 60%,
      rgba(15, 25, 10, 0.08) 100%);
}

.serveis-side-icon {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dk);
}

.serveis-side-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.serveis-side-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 0.18rem;
}

.serveis-side-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  display: block;
}

.serveis-side-active-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  margin-bottom: 0.15rem;
  align-self: flex-end;
}

.serveis-side-card.is-active .serveis-side-active-dot {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.3);
}

.serveis-side-card.is-active .serveis-side-overlay {
  background: linear-gradient(to top,
    rgba(15, 25, 10, 0.55) 0%,
    rgba(15, 25, 10, 0.05) 60%,
    transparent 100%);
}

.serveis-side-card:not(.is-active) {
  cursor: pointer;
}

.serveis-side-img,
.serveis-side-icon,
.serveis-side-content {
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.serveis-side-card:not(.is-active) .serveis-side-img {
  filter: grayscale(0.7) brightness(0.8);
}

.serveis-side-card:not(.is-active) .serveis-side-icon,
.serveis-side-card:not(.is-active) .serveis-side-content {
  opacity: 0.6;
}

.serveis-side-card:not(.is-active) .serveis-side-overlay {
  background: linear-gradient(to top,
    rgba(15, 25, 10, 0.82) 0%,
    rgba(15, 25, 10, 0.45) 60%,
    rgba(15, 25, 10, 0.25) 100%);
  transition: background 0.3s ease;
}

.serveis-side-card:not(.is-active):hover .serveis-side-overlay {
  background: linear-gradient(to top,
    rgba(15, 25, 10, 0.65) 0%,
    rgba(15, 25, 10, 0.2) 60%,
    rgba(15, 25, 10, 0.08) 100%);
}

.serveis-side-card.is-active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px var(--green);
  z-index: 3;
  pointer-events: none;
}

/* Barra inferior */
.serveis-bar-wrap {
  max-width: 1280px;
  margin: 2.5rem auto 0;
  padding-bottom: 5rem;
}

.serveis-bar {
  background: rgba(122, 186, 120, 0.09);
  border-radius: 16px;
  padding: 1.6rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.serveis-bar-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.serveis-bar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(122, 186, 120, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dk);
}

.serveis-bar-main strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.2rem;
}

.serveis-bar-main p {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  color: #777;
  line-height: 1.5;
  max-width: 480px;
  margin: 0;
}

.serveis-bar-feats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.serveis-bar-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--green-dk);
}

.serveis-bar-feat span {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #444;
  line-height: 1.35;
}

@media (max-width: 1060px) {
  .serveis-inner {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }

  .serveis-cards {
    grid-template-columns: 1fr 240px;
  }
}

@media (max-width: 780px) {
  .seccio-serveis {
    padding: 5rem 1.5rem 0;
  }

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

  .serveis-cards {
    grid-template-columns: 1fr;
    height: auto;
  }

  .serveis-main-card {
    height: 360px;
    aspect-ratio: auto;
  }

  .serveis-side-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    height: auto;
  }

  .serveis-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .serveis-bar-feats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .serveis-bar-wrap {
    padding-bottom: 3.5rem;
  }
}

/* ─── NAVEGACIÓ — barra superior ────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122, 186, 120, 0.15);
  transition: box-shadow 0.35s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.7rem 3rem;
  gap: 2rem;
  transition: padding 0.35s ease;
}

.site-nav.scrolled .nav-pill {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  text-decoration: none;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: height 0.35s ease;
}

.site-nav.scrolled .nav-logo img {
  height: 36px;
}

.nav-brand-text {
  font-family: 'Sora', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-dk);
  line-height: 1.3;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  flex: 1;
  justify-content: center;
}

.nav-links li:not(.nav-cursor) {
  position: relative;
  z-index: 10;
  list-style: none;
}

.nav-links a {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a2a2a;
  text-decoration: none;
  padding: 0.55rem 1rem;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--green-dk);
}

.nav-cursor {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  background: rgba(122, 186, 120, 0.12);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  list-style: none;
  padding: 0 0.6rem;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-lang button,
.nav-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.35);
  padding: 0.45rem 0.55rem;
  min-width: 36px;
  min-height: 36px;
  text-transform: uppercase;
  transition: color 0.25s ease;
  border-radius: 6px;
}

.nav-lang button:hover,
.nav-lang a:hover {
  color: rgba(0, 0, 0, 0.65);
}

.nav-lang .active {
  color: var(--green-dk);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-cta {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-dk);
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  flex: 0 0 auto;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--green);
  transform: scale(1.04);
}

.nav-hamburger {
  display: none;
  background: var(--green-dk);
  border: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.nav-hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-pill {
    padding: 0.6rem 1.5rem;
  }

  .nav-links,
  .nav-lang,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .site-nav.nav-mobile-open .nav-pill {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding-bottom: 1rem;
  }

  .site-nav.nav-mobile-open .nav-brand {
    justify-content: space-between;
    width: 100%;
  }

  .site-nav.nav-mobile-open .nav-links,
  .site-nav.nav-mobile-open .nav-lang,
  .site-nav.nav-mobile-open .nav-cta {
    display: flex;
  }

  .site-nav.nav-mobile-open .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .site-nav.nav-mobile-open .nav-cursor {
    display: none;
  }

  .site-nav.nav-mobile-open .nav-links a {
    padding: 0.65rem 0.6rem;
    color: #1a1a1a;
  }
}

/* ─── LÍNIES DE NEGOCI ─────────────────────────────────── */

.seccio-linies {
  background: var(--bg);
  padding: 7rem 1.5rem 8rem;
}

.linies-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.linies-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dk);
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(30, 74, 32, 0.22);
  border-radius: 100px;
  margin-bottom: 1.4rem;
}

.linies-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.linies-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-xdk);
  margin-bottom: 1rem;
}

.linies-title-accent {
  position: relative;
  display: inline;
}

.linies-title-accent::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--green-dk);
  border-radius: 2px;
}

.linies-sub {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #666;
  line-height: 1.6;
}

.linies-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.linia-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  min-height: 530px;
}

.linia-card-verd {
  background: #EAF3EA;
  box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, 0.95), 0 6px 32px rgba(30, 74, 32, 0.08);
}

.linia-card-daurat {
  background: #FBF3DC;
  box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, 0.95), 0 6px 32px rgba(200, 160, 20, 0.12);
}

.linia-prod-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 65%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 38%),
    linear-gradient(to top, transparent 0%, black 32%);
  -webkit-mask-composite: destination-in;
  mask-image: linear-gradient(to right, transparent 0%, black 38%),
    linear-gradient(to top, transparent 0%, black 32%);
  mask-composite: intersect;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.linia-card:hover .linia-prod-img {
  transform: translateX(-6px) scale(1.03);
}

.linia-top {
  padding-right: 54%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.linia-main-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.linia-main-icon-verd {
  background: var(--green-dk);
  color: #fff;
}

.linia-main-icon-daurat {
  background: #C49A10;
  color: #fff;
}

.linia-tag {
  font-family: 'Sora', sans-serif;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.linia-tag-verd {
  color: var(--green-dk);
}

.linia-tag-daurat {
  color: #A07808;
}

.linia-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #222;
  margin-bottom: 0.8rem;
}

.linia-desc {
  font-family: 'Sora', sans-serif;
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.65;
  color: #555;
}

.linia-bottom {
  margin-top: auto;
}

.linia-feats {
  display: flex;
  padding-top: 1.4rem;
  margin-bottom: 1.4rem;
}

.linia-feat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.linia-feat-icon-verd {
  color: var(--green-dk);
}

.linia-feat-icon-daurat {
  color: #C49A10;
}

.linia-feat span {
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: #555;
  line-height: 1.3;
}

.linia-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 2rem;
  border-radius: 100px;
  width: 100%;
  box-sizing: border-box;
  transition: filter 0.25s ease;
}

.linia-cta:hover {
  filter: brightness(1.1);
}

.linia-cta-verd {
  background: var(--green-dk);
  color: #fff;
}

.linia-cta-daurat {
  background: #D4A820;
  color: #fff;
}

@media (max-width: 860px) {
  .linies-grid {
    grid-template-columns: 1fr;
  }

  .linia-card {
    min-height: 460px;
  }
}

@media (max-width: 480px) {
  .linia-prod-img {
    width: 44%;
    height: 55%;
  }

  .linia-top {
    padding-right: 46%;
  }
}

/* ─── PRODUCTES ────────────────────────────────────────── */

.seccio-productes {
  background: linear-gradient(170deg, #1e4a20 0%, #163818 100%);
  padding: 7rem 1.5rem 8rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.seccio-productes::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(122, 186, 120, 0.18), transparent 65%);
  pointer-events: none;
}

.productes-header {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.productes-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.4rem;
}

.productes-num {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
}

.productes-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.productes-title em {
  font-style: italic;
  color: #95d691;
  font-weight: 600;
}

.productes-sub {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── PRODUCTES — co-carousel (Tim Guignard) ────────── */

/* Full-section colour backgrounds, fade per slide */
.co-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.co-background--style-0 {
  background: linear-gradient(163deg, rgba(255, 251, 237, 1) 0%, rgba(244, 228, 164, 1) 100%);
}

.co-background--style-1 {
  background: linear-gradient(163deg, rgba(255, 247, 247, 1) 0%, rgba(240, 193, 193, 1) 100%);
}

.co-background--style-2 {
  background: linear-gradient(163deg, rgba(246, 249, 255, 1) 0%, rgba(193, 212, 243, 1) 100%);
}

.co-background--style-3 {
  background: linear-gradient(163deg, rgba(247, 254, 247, 1) 0%, rgba(190, 228, 188, 1) 100%);
}

/* Carousel wrapper */
.co-carousel-wrap {
  position: relative;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem 0 5rem;
}

.co-carousel {
  margin: 0 auto;
  width: 50%;
  height: 520px;
  overflow: visible;
}

.co-carousel__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav buttons */
.co-carousel__nav-buttons {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 calc(50% - 390px);
  pointer-events: none;
  z-index: 10;
}

.co-carousel__nav-button {
  pointer-events: all;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
}

.co-carousel__nav-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.co-carousel__nav-button:hover .co-carousel__nav-circle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.95);
}

.co-carousel__nav-button.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.co-carousel__nav-button span {
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer productes */
.productes-footer {
  position: relative;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 0 0 5rem;
}

.productes-download-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.productes-download-row::before,
.productes-download-row::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.productes-download {
  flex-shrink: 0;
  margin: 0 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-dk);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 1.1rem 2.5rem;
  border-radius: 100px;
  transition: background 0.25s ease;
}

.productes-download:hover {
  background: var(--green);
}

.productes-badges {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.productes-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
}

.productes-badge svg {
  flex-shrink: 0;
}

.productes-badge span {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
}

.productes-badges-sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
}

/* Card */
.co-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 520px;
  width: 340px;
  border-radius: 24px;
  box-shadow: 0 0 3px rgba(0, 0, 0, .1);
  background: linear-gradient(163deg, rgba(255, 251, 237, 1) 0%, rgba(244, 228, 164, 1) 100%);
}

.co-card--style-1 {
  background: linear-gradient(163deg, rgba(255, 247, 247, 1) 0%, rgba(240, 193, 193, 1) 100%);
}

.co-card--style-2 {
  background: linear-gradient(163deg, rgba(246, 249, 255, 1) 0%, rgba(193, 212, 243, 1) 100%);
}

.co-card--style-3 {
  background: linear-gradient(163deg, rgba(247, 254, 247, 1) 0%, rgba(190, 228, 188, 1) 100%);
}

/* Food image — PNG transparent, overflows card top (same as original) */
.co-card__media {
  position: relative;
  width: 160%;
  flex-shrink: 0;
  top: -135px;
}

.co-card__media-img {
  user-select: none;
  position: relative;
  width: 100%;
  display: block;
  z-index: 9;
}

.co-card__media-shadow {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  opacity: .3;
  background-color: rgba(0, 0, 0, 1);
  box-shadow: 0 0 30px 40px rgba(0, 0, 0, 1);
}

/* Card info */
.co-card__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  display: table;
  z-index: 10;
}

.co-card__title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #3C2A21;
}

.co-card__collection {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(60, 42, 33, 0.5);
}

.co-card__price {
  margin-top: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #7ABA78;
}

/* Text reveal mask */
.text-mask {
  overflow: hidden;
}

.text-mask span {
  display: inline-flex;
}

@media (max-width: 900px) {
  .co-carousel {
    width: 70%;
  }

  .co-carousel__nav-buttons {
    padding: 0 calc(50% - 280px);
  }
}

@media (max-width: 640px) {
  .co-carousel__nav-buttons {
    padding: 0 1.5rem;
  }

  .productes-download-row {
    padding: 0;
  }

  .productes-badges {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0 1.5rem;
  }

  .productes-badges-sep {
    width: 40px;
    height: 1px;
  }
}

@media (max-width: 540px) {
  .co-carousel {
    width: 86%;
    height: 440px;
  }

  .co-card {
    height: 440px;
    width: 280px;
  }

  .co-card__media {
    top: -100px;
  }

  .co-card__media-shadow {
    top: 70px;
  }
}

/* ─── QUALITAT ─────────────────────────────────────────── */

.seccio-qualitat {
  position: relative;
  background: #FBF6E8;
  padding: 7rem 1.5rem 8rem;
  overflow: hidden;
}

.qualitat-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.qualitat-shape-1 {
  width: 480px;
  height: 480px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(122, 186, 120, 0.18), transparent 70%);
}

.qualitat-shape-2 {
  width: 380px;
  height: 380px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(232, 200, 112, 0.16), transparent 70%);
}

.qualitat-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.qualitat-header {
  text-align: center;
  margin-bottom: 4rem;
}

.qualitat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dk);
  margin-bottom: 1.4rem;
}

.qualitat-rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green-dk);
}

.qualitat-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #3C2A21;
}

.qualitat-title em {
  font-style: italic;
  color: var(--green-dk);
  font-weight: 600;
}

.qualitat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.qualitat-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(60, 42, 33, 0.07);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 150px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.qualitat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(30, 74, 32, 0.10);
}

.qualitat-card-body {
  padding: 1.8rem 1.4rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.qualitat-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(159, 185, 232, 0.22);
  color: #4a6da8;
  color: var(--green-dk);
  margin-bottom: 1.1rem;
}

.qualitat-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #3C2A21;
  margin-bottom: 0.55rem;
}

.qualitat-desc {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.65;
  color: #606060;
}

.qualitat-card-img {
  position: relative;
  overflow: hidden;
}

.qualitat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qualitat-num {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dk);
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
}

/* Barra inferior */
.qualitat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(122, 186, 120, 0.1);
  border: 1px solid rgba(122, 186, 120, 0.2);
  border-radius: 14px;
  padding: 1.4rem 2rem;
  overflow: hidden;
  position: relative;
}

.qualitat-bar-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.qualitat-bar-icon {
  flex-shrink: 0;
  color: var(--green-dk);
  margin-top: 0.1rem;
}

.qualitat-bar-main {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #333;
  line-height: 1.5;
}

.qualitat-bar-sub {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--green-dk);
  margin-top: 0.2rem;
}

@media (max-width: 1024px) {
  .qualitat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .qualitat-grid {
    grid-template-columns: 1fr;
  }

  .seccio-qualitat {
    padding: 5rem 1.3rem;
  }

  .qualitat-card {
    grid-template-columns: 1fr 120px;
  }
}

/* ─── CONTACTE ─────────────────────────────────────────── */

.seccio-contacte {
  position: relative;
  overflow: hidden;
  padding: 7rem 2.5rem;
}

.contacte-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.contacte-bg-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right,
      rgba(255, 253, 248, 0.95) 0%,
      rgba(255, 253, 248, 0.95) 40%,
      rgba(255, 253, 248, 0.5) 65%,
      rgba(255, 253, 248, 0.15) 100%);
}

.contacte-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: stretch;
}

.contacte-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dk);
  padding: 0.45rem 1rem;
  border: 1px solid rgba(30, 74, 32, 0.22);
  border-radius: 100px;
  margin-bottom: 1.4rem;
}

.contacte-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.contacte-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-xdk);
  margin-bottom: 1.2rem;
}

.contacte-title em {
  font-style: italic;
  color: var(--green-dk);
}

.contacte-divider {
  width: 48px;
  height: 3px;
  background: var(--green-dk);
  border-radius: 2px;
  margin-bottom: 1.6rem;
}

.contacte-info {
  display: flex;
  flex-direction: column;
}

.contacte-lead {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.72;
  color: #555;
  margin-bottom: 2.2rem;
  max-width: 420px;
}

/* Cards de contacte — al fons de la columna per alinear amb el form */
.contacte-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: auto;
}

.contacte-card {
  background: #fff;
  border: 1px solid rgba(30, 74, 32, 0.12);
  border-radius: 14px;
  padding: 1.2rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contacte-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.contacte-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(122, 186, 120, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dk);
  margin-bottom: 0.3rem;
}

.contacte-card-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dk);
}

.contacte-card-val {
  font-family: 'Sora', sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--green-xdk);
  line-height: 1.45;
}

/* Targeta formulari */
.contacte-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.form-header-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(122, 186, 120, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dk);
}

.form-header-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-xdk);
  margin-bottom: 0.25rem;
}

.form-header-sub {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #777;
}

.contacte-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

.form-field {
  position: relative;
}

.form-field-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(30, 74, 32, 0.38);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.form-field--textarea .form-field-icon {
  top: 0.88rem;
  transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Sora', sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--green-xdk);
  background: #fff;
  border: 1px solid rgba(30, 74, 32, 0.15);
  border-radius: 10px;
  padding: 0.82rem 0.9rem 0.82rem 2.6rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.4rem;
}

.form-field-chevron {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(30, 74, 32, 0.38);
  pointer-events: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
  padding-top: 0.82rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(30, 74, 32, 0.38);
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Pop-up de resultat del formulari */
.form-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  border: none;
  border-radius: 24px;
  padding: 2.4rem 2.2rem 2rem;
  width: min(420px, calc(100vw - 32px));
  background: var(--bg);
  color: var(--text-dark);
  text-align: center;
  box-shadow: 0 24px 60px rgba(30, 74, 32, 0.22);
}

.form-modal[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  animation: formModalIn 0.28s ease;
}

.form-modal::backdrop {
  background: rgba(30, 40, 25, 0.45);
  backdrop-filter: blur(3px);
}

.form-modal-title {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--green-xxdk);
}

.form-modal.is-error .form-modal-title {
  color: #8f3b2c;
}

.form-modal-text {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.form-modal-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--green-dk);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.form-modal-btn:hover {
  background: var(--green-xxdk);
  transform: scale(1.05);
}

.form-modal-btn:focus-visible {
  outline: 3px solid var(--green-lt);
  outline-offset: 3px;
}

.form-modal.is-error .form-modal-btn {
  background: var(--coral);
}

.form-modal.is-error .form-modal-btn:hover {
  background: #b85c5c;
}

@keyframes formModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .form-modal[open] { animation: none; }
}

.form-submit {
  width: 100%;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-dk);
  border: none;
  border-radius: 100px;
  padding: 1.1rem 2rem;
  margin-top: 0.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: background 0.25s ease;
}

.form-submit:hover {
  background: var(--green);
}

.form-footer {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
}

.form-footer-icon {
  flex-shrink: 0;
  color: rgba(30, 74, 32, 0.35);
  margin-top: 0.05rem;
}

.form-footer-text {
  font-family: 'Sora', sans-serif;
  font-size: 0.73rem;
  font-weight: 300;
  line-height: 1.55;
  color: #999;
}

@media (max-width: 960px) {
  .contacte-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .seccio-contacte {
    padding: 5rem 1.5rem;
  }

  .contacte-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

  .contacte-form-wrap {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contacte-cards {
    grid-template-columns: 1fr;
  }
}

/* ─── FOOTER ───────────────────────────────────────────── */

.site-footer {
  background: linear-gradient(180deg, #5a9e5c 0%, #3d7a3f 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.footer-logo {
  width: 130px;
  height: auto;
}

.footer-tag {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
  max-width: 260px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-sep {
  opacity: 0.4;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

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

/* ─── Reduced motion: respecta preferències sistema ───── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
