/* ============================================================
   Alongside — landing page
   Tokens per SPEC.md §2
   ============================================================ */

:root {
  --navy: #10254c;
  --cian: #1baec2;
  --paper: #fafafa;
  --paper-alt: #fbfcfd;
  --white: #ffffff;
  --field: #f6f8fa;
  --text-secondary: #3d4f70;
  --text-body: #5b6a85;
  --text-tertiary: #8593ab;
  --lila: #6f5aa8;
  --groc: #f5a825;
  --capsule-bg: #eef7f0;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --title-scale: clamp(30px, 3.4vw, 50px);
}

/* ---------- Reset / base ---------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--navy);
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--cian); text-decoration: none; }
a:hover { color: var(--navy); }

input, textarea, select, button {
  font-family: inherit;
}

input, textarea {
  box-sizing: border-box;
  max-width: 100%;
}

::selection { background: rgba(27, 174, 194, .22); }

section {
  scroll-snap-align: start;
}

/* ---------- Shared: buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn--primary {
  color: var(--paper);
  background: var(--cian);
  padding: 15px 28px;
}
.btn--primary:hover { background: var(--navy); color: var(--paper); transform: translateY(-1px); }

.btn--outline {
  color: var(--navy);
  background: transparent;
  border: 1.5px solid rgba(16, 37, 76, .22);
  font-weight: 600;
  padding: 14px 26px;
}
.btn--outline:hover { border-color: var(--navy); background: rgba(16, 37, 76, .05); transform: translateY(-1px); }

.btn--nav {
  font-size: clamp(13px, 2.8vw, 15px);
  padding: clamp(9px, 2.2vw, 11px) clamp(14px, 3.8vw, 22px);
}

.btn--full {
  width: 100%;
  font-size: 16px;
  padding: 15px 28px;
}

/* ---------- Section title (shared scale, §2) ---------- */

.hero__title, .publics__title, .mon__title, .contact__title {
  margin: 0;
  font-size: var(--title-scale);
  line-height: 1.1;
  font-weight: 800;
  text-wrap: balance;
}

/* ---------- Reveal-on-scroll defaults (JS drives the actual transition) ---------- */

[data-reveal] { will-change: opacity, transform; }

/* ============================================================
   Navbar
   ============================================================ */

.navbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  height: 86px;
  box-sizing: border-box;
  padding: 0 clamp(16px, 4vw, 72px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 32px);
  background: transparent;
}

.navbar__logo-link { display: flex; align-items: center; flex: none; }

.navbar__logo {
  height: clamp(28px, 7vw, 42px);
  width: auto;
  display: block;
}

.navbar__spacer { flex: 1; }

.navbar__right {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 14px);
  flex: none;
}

/* Language selector */

.lang { position: relative; }

.lang__btn {
  display: flex;
  align-items: center;
  gap: clamp(5px, 1.5vw, 8px);
  font-size: clamp(12px, 2.8vw, 14px);
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, .28);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, .4);
  box-shadow: 0 4px 18px rgba(16, 37, 76, .08);
  border-radius: 999px;
  padding: clamp(7px, 1.8vw, 9px) clamp(10px, 2.6vw, 14px);
  cursor: pointer;
  transition: color .35s ease, border-color .35s ease, background .35s ease;
}
.lang__btn:hover { border-color: var(--cian); color: var(--cian); }

.navbar.is-dark .lang__btn {
  color: var(--paper);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}
.navbar.is-dark .lang__btn:hover { border-color: var(--paper); color: var(--paper); }

.lang__flag {
  width: clamp(16px, 4vw, 20px);
  height: clamp(11px, 2.8vw, 14px);
  border-radius: 3px;
  flex: none;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(16, 37, 76, .1);
}
.lang__flag--cat {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 18'%3E%3Crect width='27' height='18' fill='%23FCDD09'/%3E%3Crect y='2' width='27' height='2' fill='%23DA121A'/%3E%3Crect y='6' width='27' height='2' fill='%23DA121A'/%3E%3Crect y='10' width='27' height='2' fill='%23DA121A'/%3E%3Crect y='14' width='27' height='2' fill='%23DA121A'/%3E%3C/svg%3E");
}
.lang__flag--esp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 18'%3E%3Crect width='27' height='18' fill='%23AA151B'/%3E%3Crect y='4.5' width='27' height='9' fill='%23F1BF00'/%3E%3C/svg%3E");
}

.lang__caret {
  font-size: 11px;
  transition: transform .25s ease;
}
.lang.is-open .lang__caret { transform: rotate(180deg); }

.lang__dropdown {
  position: absolute;
  right: 0;
  top: 46px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--paper);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(16, 37, 76, .16);
  animation: sIn .25s var(--ease) both;
}
.lang__dropdown[hidden] { display: none; }

.lang__option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease;
}
.lang__option:hover { background: rgba(27, 174, 194, .12); }

/* ============================================================
   01 — Hero
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--navy);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  animation: aSettleSlow 3.6s var(--ease) 0s both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(250, 250, 250, .97) 0%,
    rgba(250, 250, 250, .94) max(34%, 340px),
    rgba(250, 250, 250, .58) max(52%, 420px),
    rgba(250, 250, 250, 0) max(70%, 560px));
}

.hero__content {
  position: absolute;
  left: clamp(24px, 5.5vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 46vw);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}

.hero__title {
  letter-spacing: -0.025em;
  color: var(--navy);
  opacity: 0;
  animation: aRise .9s var(--ease) .45s both;
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
  color: var(--text-secondary);
  text-wrap: pretty;
  opacity: 0;
  animation: aRise .9s var(--ease) .6s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  opacity: 0;
  animation: aRise .9s var(--ease) .78s both;
}

.hero__support {
  position: absolute;
  left: clamp(24px, 5.5vw, 96px);
  bottom: clamp(28px, 4vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  opacity: 0;
  animation: aRise 1s var(--ease) .95s both;
}

.hero__support-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(16, 37, 76, .45);
}

.hero__support-logos {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__support-logo {
  width: auto;
  opacity: .62;
  transition: opacity .25s ease, transform .25s ease;
  display: block;
}
.hero__support-logo:hover { opacity: 1; transform: translateY(-2px); }
.hero__support-logo--vh { height: 34px; }
.hero__support-logo--pt { height: 32px; }

@keyframes aSettleSlow {
  from { transform: scale(1.12) translateY(8px); }
  to { transform: scale(1) translateY(0); }
}
@keyframes aRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes sIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   02 — Vídeo
   ============================================================ */

.video-section {
  height: 100svh;
  min-height: 560px;
  box-sizing: border-box;
  padding: clamp(96px, 12vh, 140px) clamp(24px, 5vw, 96px) clamp(48px, 8vh, 96px);
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card {
  position: relative;
  width: min(1160px, 100%);
  aspect-ratio: 16 / 9;
  max-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 26px 70px rgba(16, 37, 76, .16);
}

.video-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--navy);
}

/* ============================================================
   03 — El que ens compromet
   ============================================================ */

.compromet {
  min-height: 100svh;
  box-sizing: border-box;
  padding: clamp(96px, 12vh, 140px) clamp(24px, 5vw, 96px) clamp(56px, 8vh, 96px);
  background: var(--paper);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.compromet__wrap {
  width: min(1180px, 100%);
}

.compromet__kicker {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cian);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.compromet__item {
  padding: clamp(24px, 3vw, 34px) 0;
  border-top: 1.5px solid rgba(16, 37, 76, .1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.compromet__item:last-of-type { border-bottom: 1.5px solid rgba(16, 37, 76, .1); }

.compromet__head {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2.6vw, 34px);
}

.compromet__num {
  flex: none;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.compromet__item:nth-of-type(1) .compromet__num { color: rgba(27, 174, 194, .28); }
.compromet__item:nth-of-type(2) .compromet__num { color: rgba(111, 90, 168, .28); }
.compromet__item:nth-of-type(3) .compromet__num { color: rgba(241, 112, 92, .3); }
.compromet__item:nth-of-type(4) .compromet__num { color: rgba(245, 168, 37, .34); }

.compromet__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(24px, 3.1vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: pretty;
}

.compromet__sign {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(16, 37, 76, .06);
  color: var(--navy);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .3s var(--ease);
}
.compromet__sign::before,
.compromet__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.compromet__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.compromet__item:hover .compromet__sign { background: rgba(27, 174, 194, .16); }
.compromet__item[data-open="true"] .compromet__sign {
  background: var(--cian);
  color: var(--paper);
  transform: rotate(45deg);
}

.compromet__body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows .45s var(--ease), opacity .3s ease;
}
.compromet__item[data-open="true"] .compromet__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.compromet__body p {
  margin: 0;
  padding-top: clamp(16px, 2vw, 20px);
  min-height: 0;
  max-width: 780px;
  min-width: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.compromet__sign:focus-visible, .compromet__item:focus-visible {
  outline: 2px solid var(--cian);
  outline-offset: 3px;
}

/* ============================================================
   04 — Públics
   ============================================================ */

.publics {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--paper);
}

.publics__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.publics__veil {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(max(60%, 340px), 760px);
  background: linear-gradient(270deg, rgba(250, 250, 250, .97) 0%, rgba(250, 250, 250, .92) 62%, rgba(250, 250, 250, 0) 100%);
}

.publics__content {
  position: absolute;
  right: clamp(40px, 9vw, 150px);
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 50vw);
  min-width: 300px;
  height: min(520px, 72vh);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vh, 34px);
}

.publics__title {
  letter-spacing: -0.03em;
  color: var(--navy);
}
.publics__title-accent { color: var(--cian); }

.publics__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.tab {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
  border: 1.5px solid rgba(16, 37, 76, .16);
  background: transparent;
  color: var(--navy);
}

.tab[data-active="true"][data-group="infants"] { background: var(--cian); border-color: var(--cian); color: var(--navy); }
.tab[data-active="true"][data-group="families"] { background: var(--lila); border-color: var(--lila); color: var(--paper); }
.tab[data-active="true"][data-group="hospitals"] { background: var(--groc); border-color: var(--groc); color: var(--navy); }

.publics__accordion-slot {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  flex: 1;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  animation: sIn .45s var(--ease) both;
}

.accordion-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  cursor: pointer;
}

.accordion-row__head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accordion-row__n {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--cian);
  flex: none;
}
.accordion-list[data-group="families"] .accordion-row__n { background: var(--lila); }
.accordion-list[data-group="hospitals"] .accordion-row__n { background: var(--groc); }

.accordion-row__title {
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  flex: 1;
  min-width: 0;
}

.accordion-row__sign {
  font-size: 22px;
  font-weight: 400;
  color: rgba(16, 37, 76, .35);
  transition: transform .25s ease;
}
.accordion-row.is-open .accordion-row__sign { transform: rotate(45deg); }

.accordion-row__note {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
  padding-left: 48px;
  text-wrap: pretty;
  animation: sIn .3s var(--ease) both;
}

/* ============================================================
   05 — Un món que creix
   ============================================================ */

.mon {
  position: relative;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  box-sizing: border-box;
  padding: clamp(56px, 5vw, 96px) 0 0;
  background: radial-gradient(circle at 22% 12%, #1c3a6e 0%, #10254c 46%, #081733 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mon__title {
  width: min(640px, 50vw);
  min-width: 300px;
  text-align: center;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.mon__scene {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  margin-top: clamp(10px, 3vw, 40px);
}

.mon__mockup {
  position: absolute;
  left: 50%;
  top: 1.4vw;
  transform: translateX(-50%);
  width: clamp(220px, 45vw, 720px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .4));
}
.mon__mockup img { display: block; width: 100%; }

.capsule {
  position: absolute;
  width: clamp(108px, 21vw, 337px);
  height: clamp(108px, 21vw, 337px);
  overflow: hidden;
  background: var(--capsule-bg);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}

.capsule__poster, .capsule__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.capsule__video {
  opacity: 0;
  transition: opacity .4s ease;
}
.capsule:hover .capsule__video { opacity: 1; }

.capsule--missions {
  left: -5%;
  top: 13vw;
  border-radius: 26px;
  transform: rotate(-8deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.capsule--missions:hover { transform: rotate(-11deg) translateY(-14px); box-shadow: 0 32px 70px rgba(0, 0, 0, .34); }

.capsule--mon {
  left: 11%;
  top: 7.5vw;
  border-radius: 24px;
  transform: rotate(2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
}
.capsule--mon:hover { transform: rotate(6deg) translateY(-14px); box-shadow: 0 28px 60px rgba(0, 0, 0, .3); }

.capsule--diari {
  right: 13%;
  top: 7.5vw;
  border-radius: 24px;
  transform: rotate(-4deg);
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
}
.capsule--diari:hover { transform: rotate(-6deg) translateY(-14px); box-shadow: 0 28px 60px rgba(0, 0, 0, .3); }

.capsule--floral {
  right: -1%;
  top: 14.5vw;
  border-radius: 26px;
  transform: rotate(4deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .26);
}
.capsule--floral:hover { transform: rotate(8deg) translateY(-14px); box-shadow: 0 32px 70px rgba(0, 0, 0, .34); }

/* ============================================================
   06 — Qui ho fa possible
   ============================================================ */

.team {
  min-height: 100svh;
  box-sizing: border-box;
  padding: clamp(72px, 9vw, 112px) clamp(24px, 5vw, 96px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 4vw, 48px);
}

.team__title {
  margin: 0;
  max-width: 720px;
  text-align: center;
  font-size: var(--title-scale);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.team__grid {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.4vw, 30px);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(16, 37, 76, .07);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(16, 37, 76, .1);
}

.team-card__kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.team-card__kicker--cian { color: var(--cian); }
.team-card__kicker--lila { color: var(--lila); }
.team-card__kicker--groc { color: var(--groc); }

.team-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ============================================================
   07 — Vull col·laborar
   ============================================================ */

.collab {
  box-sizing: border-box;
  padding: clamp(48px, 6vw, 64px) clamp(24px, 5vw, 96px);
  background: var(--cian);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.collab__title {
  margin: 0;
  flex: 1 1 460px;
  min-width: 0;
  max-width: 720px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: pretty;
}

.collab__btn {
  flex: none;
  background: var(--navy);
}
.collab__btn:hover { background: #0b1c3c; }

/* ============================================================
   08 — Contacte
   ============================================================ */

.contact {
  min-height: 100svh;
  box-sizing: border-box;
  padding: clamp(96px, 12vh, 140px) clamp(24px, 5vw, 88px) clamp(56px, 8vh, 96px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 3.4vh, 40px);
}

.contact__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(520px, 100%);
  text-align: center;
}

.contact__title { color: var(--navy); letter-spacing: -0.035em; }

.contact__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  text-wrap: pretty;
}

.contact__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(560px, 100%);
  background: var(--white);
  border-radius: 22px;
  padding: clamp(22px, 2.2vw, 32px);
  box-shadow: 0 16px 40px rgba(16, 37, 76, .07);
}

.contact__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.input {
  font-size: 15px;
  color: var(--navy);
  background: var(--field);
  border: 1.5px solid rgba(16, 37, 76, .08);
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
  min-width: 0;
  transition: border-color .2s ease;
}
.input:focus { border-color: rgba(27, 174, 194, .5); }

.textarea {
  line-height: 1.5;
  resize: none;
  width: 100%;
}

.contact__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-body);
  cursor: pointer;
}
.contact__consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--cian);
  flex: none;
}

.contact__note {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}

.contact__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact__status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  border-radius: 10px;
  padding: 10px 14px;
}
.contact__status[data-state="success"] { background: rgba(43, 160, 106, .1); color: #1f8a5a; }
.contact__status[data-state="error"] { background: rgba(214, 69, 69, .1); color: #c23a3a; }
.contact__status[data-state="sending"] { background: var(--field); color: var(--text-body); }

.btn--full[disabled] { opacity: .6; cursor: not-allowed; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: 28px clamp(24px, 5vw, 88px) 36px;
  background: var(--paper);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.site-footer__copy { font-size: 12px; color: var(--text-tertiary); }

.site-footer__links { display: flex; gap: 22px; }
.site-footer__links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: color .2s ease;
}
.site-footer__links a:hover { color: var(--cian); }

/* ============================================================
   Reduced motion (§11)
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__photo,
  .hero__title, .hero__subtitle, .hero__actions, .hero__support {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .capsule, .capsule__video, .btn, .lang__caret {
    transition: none !important;
  }
}

/* ============================================================
   Responsive
   The layout above already scales fluidly (clamp/min/max/vw) from
   desktop down through tablet and phone widths — same structure,
   same composition, just proportionally smaller. This only nudges
   touch targets on the narrowest phones; it changes no layout.
   ============================================================ */

@media (max-width: 480px) {
  .lang__btn, .btn--nav { min-height: 40px; }
}

/* ---------- Hero — mobile fade fix ---------- */

@media (max-width: 640px) {
  .hero__veil {
    background: linear-gradient(100deg,
      rgba(250, 250, 250, .95) 0%,
      rgba(250, 250, 250, .88) 22%,
      rgba(250, 250, 250, .7) 42%,
      rgba(250, 250, 250, .48) 60%,
      rgba(250, 250, 250, .26) 76%,
      rgba(250, 250, 250, .1) 90%,
      rgba(250, 250, 250, 0) 100%);
  }
}

/* ---------- Vídeo — mobile portrait layout ---------- */

@media (max-width: 640px) {
  .video-section {
    height: auto;
    min-height: 0;
    padding: clamp(88px, 12vh, 120px) clamp(16px, 4vw, 28px) clamp(24px, 4vh, 40px);
  }
}

/* ---------- El que ens compromet — mobile spacing fix ---------- */

@media (max-width: 640px) {
  .compromet__head {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .compromet__num {
    order: 1;
  }

  .compromet__sign {
    order: 2;
    margin-left: auto;
  }

  .compromet__title {
    order: 3;
    flex: 1 1 100%;
  }
}

/* ---------- Públics — mobile tab/fade fixes ---------- */

@media (max-width: 640px) {
  .publics__tabs {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px;
    font-size: 12.5px;
    text-align: center;
    white-space: nowrap;
  }

  .publics__photo {
    object-position: 68% center;
    opacity: .55;
  }

  .publics__veil {
    width: 100%;
    background: linear-gradient(270deg,
      rgba(250, 250, 250, .97) 0%,
      rgba(250, 250, 250, .92) 32%,
      rgba(250, 250, 250, .8) 52%,
      rgba(250, 250, 250, .6) 68%,
      rgba(250, 250, 250, .38) 82%,
      rgba(250, 250, 250, .18) 93%,
      rgba(250, 250, 250, .04) 100%);
  }
}

/* ---------- Un món que creix — mobile mockup/capsule layout ---------- */

@media (max-width: 640px) {
  .mon__mockup {
    /* Sized off svh (not vw, like the rest of this file) because the
       constraint here is vertical: fit under the title with room to
       spare, while still spilling ~15% off the bottom edge of the
       section for the "cut off" look. */
    left: 50%;
    top: auto;
    bottom: calc(30px - 16svh);
    width: clamp(320px, calc(92svh - 170px), 600px);
    transform: translateX(-50%);
  }

  .capsule--diari {
    top: auto;
    bottom: 14.5vw;
  }

  .capsule--floral {
    top: auto;
    bottom: 7.5vw;
  }
}
