@font-face {
  font-family: "Londrina Solid";
  src: url("../fonts/LondrinaSolid-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Londrina Solid";
  src: url("../fonts/LondrinaSolid-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #007bc4;
  --green: #489034;
  --brown: #6e371e;
  --yellow: #f9b000;
  --gray: #9d9d9c;
  --navy: #142c46;
  --white: #ffffff;
  --black: #1a1a1a;
  --nav-bg: #142c46;
  --light-bg: #e9eef2;
  --font-display: "Londrina Solid", Impact, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1050px;
  --radius: 6px;
  --section-cut-height: 8px;
  --section-cut-gap: 10px;
  --nav-sticky-top: 0;
  --nav-height: 52px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
}

main {
  overflow-x: hidden;
  min-width: 0;
}

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

a {
  color: var(--blue);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.top-bar {
  background: var(--white);
  padding: 30px 0 0;
}

.top-bar .section-cut--bottom {
  margin-top: 30px;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-bar__logos {
  display: flex;
  align-items: center;
  gap: 32px;
}

.top-bar__lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 6px 10px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1;
}

.top-bar__lang-link--active {
  background: var(--navy);
  color: var(--white);
}

.main-nav {
  position: sticky;
  top: var(--nav-sticky-top);
  z-index: 1000;
  width: 100%;
  background: transparent;
}

.main-nav__sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}

.main-nav--stuck > .section-cut--top {
  display: none;
}

.main-nav__bar {
  background: var(--nav-bg);
}

.main-nav__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 32px;
  padding: 14px 0;
}

/* Misma línea de onda en ambos SVG (ver dibujo TOP / BOTTOM):
   wave-cut.svg        → TOP:    onda arriba, rectángulo hacia abajo  (--top)
   wave-cut-bottom.svg → BOTTOM: onda abajo, rectángulo hacia arriba (--bottom) */
.section-cut--top {
  margin-top: calc(-1 * var(--section-cut-height));
}

.section-cut--top.section-cut--spaced {
  margin-top: var(--section-cut-gap);
}

@media (min-width: 769px) {
  .main-nav__inner {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
  }
}

.main-nav__link {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.main-nav__link:hover,
.main-nav__link:focus-visible {
  opacity: 0.8;
}

.main-nav__link--brand {
  font-weight: 900;
}

.section-cut {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--section-cut-height);
  line-height: 0;
  font-size: 0;
  background-color: var(--section-cut-color);
  -webkit-mask-image: url("../img/wave-cut.svg");
  mask-image: url("../img/wave-cut.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.section-cut--white {
  --section-cut-color: var(--white);
}

.section-cut--light-gray {
  --section-cut-color: var(--light-bg);
}

.section-cut--blue {
  --section-cut-color: var(--blue);
}

.section-cut--yellow {
  --section-cut-color: var(--yellow);
}

.section-cut--navy {
  --section-cut-color: var(--navy);
}

.section-cut--bottom {
  -webkit-mask-image: url("../img/wave-cut-bottom.svg");
  mask-image: url("../img/wave-cut-bottom.svg");
}

[id] {
  scroll-margin-top: var(--nav-height);
}

/* Buttons — misma onda que section-cut + laterales irregulares (btn-cut.svg) */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  -webkit-mask-image: url("../img/btn-cut.svg");
  mask-image: url("../img/btn-cut.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  width: 100%;
  font-size: 20px;
  padding: 14px 28px;
}

.btn--small {
  font-size: 15px;
  padding: 10px 22px;
}

/* Hero */
.hero {
  background: var(--white);
  padding: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding-top: 48px;
}

.hero .section-cut--bottom {
  margin-top: 64px;
}

.hero__logo img {
  width: min(100%, 420px);
  margin-inline: auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__tagline {
  width: min(100%, 480px);
}

/* Inside */
.inside,
.prize,
.about,
.separation,
.signup,
.site-footer {
  overflow: visible;
}

.inside {
  background: transparent;
  padding: 0;
}

.inside__bar {
  background: var(--light-bg);
}

.inside__inner {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.inside__icon {
  width: min(100%, 360px);
}

/* Prize — mismo patrón que .main-nav en cada bloque */
.prize {
  background: transparent;
}

.prize__header {
  background: transparent;
  padding: 0;
}

.prize__header-bar {
  background: var(--blue);
}

.prize__header-inner {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}

.prize__heading {
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.02em;
}

.prize__body {
  background: var(--white);
  padding: 88px 0 0;
}

.prize__body .section-cut--bottom {
  margin-top: 48px;
}

.prize__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.prize__text {
  max-width: 450px;
  text-align: left;
}

.prize__text p {
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 28px;
}

.prize__text .btn {
  font-size: 20px;
}

.prize__visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.prize__head {
  width: 100%;
  height: auto;
}

.prize__footer {
  background: transparent;
  padding: 0;
}

.prize__footer-bar {
  background: var(--white);
}

.prize__footer-inner {
  padding: 20px 0;
}

.prize__values {
  display: block;
  width: 100%;
  max-width: 705px;
  margin: 0;
}

/* About — la sección amarilla empieza aquí (De que vai?) */
.about {
  background: transparent;
  padding: 0;
}

.about__bar {
  background: var(--yellow);
}

.about__inner {
  position: relative;
  padding: 48px 0 0;
  text-align: center;
  min-width: 0;
}

.about__hero {
  position: relative;
  margin-bottom: 40px;
}

.about__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.about__apple {
  position: absolute;
  right: 0;
  bottom: calc(100% + 24px);
  width: 64px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  transform: rotate(8deg);
}

.stats-wrap {
  position: relative;
}

/* Stats — anchos y alturas configurables por barra (ajustar a mano según diseño) */
.about__title {
  font-family: var(--font-display);
  font-size: 90px;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 900;
  line-height: 1;
}

.about__tagline {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--white);
  margin: 0 0 24px;
  font-weight: 900;
  line-height: 1.1;
}

.about__cta {
  font-size: 25px;
  line-height: 1.1;
  padding: 14px 28px;
  margin: 0;
}

.about__body {
  max-width: 850px;
  margin: 0 auto 110px;
  text-align: center;
}

.about__body p {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 24px;
}

.about__body p:last-child {
  margin-bottom: 0;
}

/* Stats — anchos y alturas configurables por barra (ajustar a mano según diseño) */
.stats {
  display: grid;
  /* Anchos relativos: blanca 95 | gris 100 | verde 100 | navy 115 | azul 120 | marrón 90 */
  grid-template-columns: 95fr 100fr 100fr 115fr 120fr 90fr;
  gap: 0;
  align-items: end;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

/* Gaps entre barras (border incluido en la celda, sin desbordar el grid):
   gris 15 | verde 32 | navy 24 | azul 27 | marrón 10 */
.stats__item--gray {
  border-left: 15px solid var(--yellow);
}

.stats__item--green {
  border-left: 32px solid var(--yellow);
}

.stats__item--navy {
  border-left: 24px solid var(--yellow);
}

.stats__item--blue {
  border-left: 27px solid var(--yellow);
}

.stats__item--brown {
  border-left: 10px solid var(--yellow);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 24px 8px 0;
  color: var(--white);
  height: var(--stats-height, 220px);
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

.stats__item--white {
  --stats-height: 340px;
  background: var(--white);
  color: var(--navy);
}

.stats__item--gray {
  --stats-height: 305px;
  background: var(--gray);
}

.stats__item--green {
  --stats-height: 305px;
  background: var(--green);
}

.stats__item--navy {
  --stats-height: 270px;
  background: var(--navy);
}

.stats__item--blue {
  --stats-height: 340px;
  background: var(--blue);
}

.stats__item--brown {
  --stats-height: 270px;
  background: var(--brown);
}

.stats__item img {
  margin-bottom: 8px;
  opacity: 0.9;
}

.stats__item--navy img {
  width: 64px;
  height: 64px;
}

.stats__number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.stats__label {
  margin: 4px 0 0;
  line-height: 1;
}

.stats__highlight {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.stats__detail {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  margin-top: 2px;
}

.stats__line {
  display: block;
  line-height: 1;
}

.stats__item--blue .stats__label,
.stats__item--brown .stats__label {
  margin-top: 0;
}

/* Separation */
.separation {
  background: transparent;
  padding: 0;
}

.separation__body {
  background: var(--white);
  padding: 64px 0 0;
}

.separation .section-cut--top {
  position: relative;
  z-index: 2;
}

.separation__body .section-cut--bottom {
  margin-top: 64px;
}

.separation__inner {
  text-align: center;
  min-width: 0;
}

.separation__lead {
  position: relative;
  margin-bottom: 56px;
}

.separation__header {
  position: relative;
  min-width: 0;
  margin-bottom: 0;
}

.separation__header-text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.separation__bottle {
  position: absolute;
  left: max(-54px, calc((100% - 100vw) / 2 + 8px));
  bottom: 26px;
  width: 42px;
  height: auto;
  transform: rotate(4deg);
  pointer-events: none;
  z-index: 0;
}

.separation__bag {
  position: absolute;
  right: 48px;
  top: 28px;
  width: 68px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.separation__title {
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
  color: var(--navy);
}

.separation__title-char--gray {
  color: #918f90;
}

.separation__title-char--orange {
  color: #f9a70d;
}

.separation__title-char--blue {
  color: #1082ce;
}

.separation__title-char--brown {
  color: #602b1e;
}

.separation__title-char--green {
  color: #449637;
}

.separation__subtitle {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--blue);
  margin: 0 0 72px;
}

.separation__intro {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--navy);
  max-width: 63ch;
  margin: 0 auto;
}

.bins {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bins__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.bins__icon {
  flex-shrink: 0;
  width: 52px;
  height: auto;
}

.bins__bar {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  color: var(--white);
  -webkit-mask-image: url("../img/bin-bar-cut.svg");
  mask-image: url("../img/bin-bar-cut.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.bins__title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  margin: 0;
  line-height: 1.3;
  text-align: left;
}

.bins__desc {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-align: right;
}

.bins__bar--envases {
  background: var(--yellow);
  color: var(--white);
}

.bins__bar--papel {
  background: var(--blue);
}

.bins__bar--vidro {
  background: var(--green);
}

.bins__bar--organico {
  background: var(--brown);
}

.bins__bar--resto {
  background: var(--gray);
}

.separation__help {
  display: inline-block;
  margin-top: 72px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--blue);
}

.separation__help-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

.separation__help-link:hover,
.separation__help-link:focus-visible {
  opacity: 0.85;
}

/* Signup */
.signup {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}

.signup .section-cut--bottom {
  margin-top: 64px;
}

.signup__head {
  text-align: center;
  margin-bottom: 40px;
}

.signup__title {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 90px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
}

.signup__title-main {
  display: block;
}

.signup__title-sub {
  display: block;
  color: var(--blue);
}

.signup__intro,
.signup__desc {
  margin: 0 auto 12px;
  max-width: 52ch;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
}

.signup__intro {
  margin-bottom: 32px;
}

.signup__desc {
  margin-top: 32px;
}

.signup__logo {
  display: block;
  width: min(100%, 850px);
  margin: 0 auto;
}

.signup__form {
  width: 100%;
}

.signup__form-status {
  margin-bottom: 24px;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  border: 1px solid transparent;
}

.signup__form-status--success {
  color: #ffffff;
  background: var(--green);
  border-color: #b8e0a8;
}

.signup__form-status--error {
  color: #ffffff;
  background: #8b1e1e;
  border-color: #ffffff;
}

.signup__form-status[hidden] {
  display: none;
}

.signup .btn--primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.signup__form-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.signup__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.signup__legend {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--blue);
}

.signup__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 80px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.signup .form-group {
  margin-bottom: 0;
}

.signup .form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--white);
  line-height: 1.3;
}

.signup .form-group--invalid label,
.signup .signup__member--invalid .signup__member-label {
  color: #ffb3b3;
}

.signup .form-group--invalid input,
.signup .form-group--invalid select,
.signup .signup__member--invalid input {
  outline: 2px solid #ff6b6b;
  outline-offset: 0;
}

.form-group__error {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #ffb3b3;
}

.signup__members-block {
  margin-top: 8px;
}

.signup__members-intro {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
}

.signup__members {
  display: grid;
  gap: 8px;
}

.signup__member-label {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--white);
  line-height: 1.3;
}

.signup__member-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.signup__member-row input {
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  border: none;
  border-radius: 0;
  font: inherit;
  background: var(--white);
  color: var(--black);
}

.signup__member--hidden {
  display: none;
}

.signup__add-member,
.signup__remove-member {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.signup__add-member {
  margin-top: 12px;
}

.signup__add-member:hover,
.signup__add-member:focus-visible,
.signup__remove-member:hover,
.signup__remove-member:focus-visible {
  opacity: 0.85;
}

.signup__add-member:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.signup .form-group input,
.signup .form-group select {
  width: 100%;
  padding: 8px 16px;
  border: none;
  border-radius: 0;
  font: inherit;
  background: var(--white);
  color: var(--black);
}

.signup__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.signup__consent {
  flex: 1 1 100%;
  width: 100%;
  margin-bottom: 0;
}

.signup__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
  cursor: pointer;
}

.signup__consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--yellow);
  cursor: pointer;
}

.signup__consent-text a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signup__consent-text a:hover,
.signup__consent-text a:focus-visible {
  color: var(--yellow);
}

.signup .signup__consent.form-group--invalid .signup__consent-label,
.signup .signup__consent.form-group--invalid .signup__consent-text {
  color: #ffb3b3;
}

.signup .signup__consent.form-group--invalid input[type="checkbox"] {
  outline: 2px solid #ff6b6b;
  outline-offset: 1px;
}

.signup .btn--primary {
  width: auto;
  flex-shrink: 0;
  font-size: 20px;
  padding: 18px 40px;
}

.signup__footer {
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--blue);
}

.signup__footer p {
  margin: 0;
  text-align: left;
}

/* Footer */
.site-footer {
  background: var(--white);
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 104px 0;
}

.site-footer__doubts {
  margin: 0 0 104px;
  width: 100%;
  text-align: center;
}

.site-footer__doubts-link {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__doubts-link:hover,
.site-footer__doubts-link:focus-visible {
  opacity: 0.85;
}

.site-footer__top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.site-footer__logo {
  width: min(100%, 560px);
  height: auto;
}

.site-footer__btn {
  width: auto;
  flex-shrink: 0;
  font-size: 20px;
  padding: 18px 40px;
}

.site-footer__bottom {
  background: var(--blue);
  padding: 0;
}

.site-footer__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 8px;
  align-items: center;
  padding: 24px 0 28px;
}

.site-footer__block--institutional {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: center;
}

.site-footer__collaborators-title {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--white);
  text-align: center;
}

.site-footer__block--collaborators {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
  max-width: 100%;
}

.site-footer__block--aside {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  min-height: 1px;
}

.site-footer__block--institutional .top-bar__logos {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  min-height: 66px;
}

.site-footer__collaborators-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  gap: 18px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__collaborators-list li {
  display: flex;
  align-items: center;
}

.site-footer__collaborators-list a {
  display: block;
  line-height: 0;
}

.site-footer__collab-logo {
  width: auto;
  display: block;
}

.site-footer__collab-logo--usc {
  height: 39px;
}

.site-footer__collab-logo--sogama {
  height: 27px;
}

.site-footer__collab-logo--concello {
  height: 66px;
}

.site-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal-list a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.site-footer__legal-list a:hover,
.site-footer__legal-list a:focus-visible {
  text-decoration-color: var(--white);
}

.site-footer__legal-list button {
  border: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.site-footer__legal-list button:hover,
.site-footer__legal-list button:focus-visible {
  text-decoration-color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
  .about__apple {
    display: none;
  }

  .separation__bottle,
  .separation__bag {
    display: none;
  }

  .separation__subtitle {
    font-size: clamp(24px, 4.5vw, 38px);
    margin-bottom: clamp(40px, 8vw, 72px);
  }

  .separation__lead {
    margin-bottom: clamp(40px, 6vw, 56px);
  }

  .separation__intro {
    font-size: clamp(20px, 3.5vw, 25px);
  }

  .separation__help {
    font-size: clamp(20px, 3.5vw, 25px);
    margin-top: clamp(48px, 8vw, 72px);
  }

  .signup__intro,
  .signup__desc,
  .signup__footer {
    font-size: clamp(20px, 3.5vw, 25px);
  }

  .about__body {
    margin-bottom: 48px;
  }

  .stats-wrap {
    padding-bottom: 32px;
  }

  .separation .section-cut--top {
    --section-cut-height: 12px;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
  }

  .stats__item--gray,
  .stats__item--green,
  .stats__item--navy,
  .stats__item--blue,
  .stats__item--brown {
    border-left: none;
  }

  .stats__item,
  .stats__item--white,
  .stats__item--gray,
  .stats__item--green,
  .stats__item--navy,
  .stats__item--blue,
  .stats__item--brown {
    height: auto;
    min-height: 0;
    padding: 20px 12px 28px;
  }

  .stats__item--navy img {
    width: 48px;
    height: 48px;
  }

  .stats__highlight {
    font-size: clamp(28px, 5vw, 40px);
  }

  .stats__detail {
    font-size: clamp(14px, 3.5vw, 20px);
  }

  .about__title,
  .separation__title {
    font-size: clamp(48px, 10vw, 90px);
  }

  .about__tagline {
    font-size: clamp(24px, 4vw, 38px);
  }

  .about__icon {
    width: 56px;
  }

  .hero__inner,
  .prize__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    align-items: center;
    width: 100%;
  }

  .hero__logo img,
  .hero__tagline {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

}

@media (max-width: 768px) {
  .about__hero {
    padding-top: 72px;
  }

  .about__icon {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 48px;
  }

  .about__body p {
    font-size: 20px;
  }

  .top-bar__logos {
    gap: 20px;
  }

  .main-nav__inner {
    gap: 8px 16px;
  }

  .main-nav__link {
    font-size: 15px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .bins__bar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 20px;
  }

  .bins__title {
    font-size: clamp(20px, 3.5vw, 25px);
    text-align: left;
  }

  .bins__desc {
    font-size: clamp(16px, 3.5vw, 20px);
    text-align: left;
  }

  .bins__icon {
    width: 44px;
  }

  .signup__legend {
    font-size: clamp(20px, 3.5vw, 25px);
  }

  .signup__members-intro,
  .signup__add-member,
  .signup__remove-member,
  .signup__member-label {
    font-size: clamp(16px, 3.5vw, 20px);
  }

  .signup__form-sections {
    gap: clamp(28px, 5vw, 40px);
  }

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

  .signup .form-group label,
  .signup .btn--primary {
    font-size: clamp(16px, 3.5vw, 20px);
  }

  .form-group__error {
    font-size: clamp(14px, 3vw, 16px);
  }

  .signup__actions {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .signup__footer {
    width: max-content;
    max-width: 100%;
  }

  .site-footer__top {
    padding: 48px 0;
  }

  .site-footer__doubts {
    margin-bottom: 48px;
  }

  .site-footer__top-row {
    flex-direction: column;
    gap: 24px;
  }

  .site-footer__bar {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 20px;
    padding: 24px 0 28px;
  }

  .site-footer__block--institutional,
  .site-footer__collaborators-title,
  .site-footer__block--collaborators,
  .site-footer__block--aside {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    width: 100%;
  }

  .site-footer__block--institutional .top-bar__logos {
    justify-content: center;
  }

  .site-footer__collaborators-title {
    font-size: 13px;
  }

  .site-footer__collaborators-list {
    gap: 12px 16px;
  }

  .site-footer__collab-logo--usc {
    height: 30px;
  }

  .site-footer__collab-logo--sogama {
    height: 23px;
  }

  .site-footer__collab-logo--concello {
    height: 48px;
  }

  .site-footer__legal-list {
    justify-content: center;
    gap: 10px 16px;
  }

  .site-footer__legal-list a {
    font-size: 14px;
  }

  .site-footer__legal-list button {
    font-size: 14px;
  }

  .site-footer__btn {
    font-size: clamp(16px, 3.5vw, 20px);
    padding: 16px 32px;
  }
}

/* Banner de cookies (referencia xunta.gal / Klaro) */
.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
}

.cookie-banner__body {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 15px 30px;
  box-sizing: border-box;
}

.cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--white);
}

.cookie-banner__text a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.cookie-banner__btn {
  border: 1px solid var(--white);
  padding: 10px 15px;
  font-family: var(--font-body);
  font-size: 1em;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
}

.cookie-banner__btn--config {
  background: var(--white);
  color: var(--blue);
}

.cookie-banner__btn--config:hover,
.cookie-banner__btn--config:focus-visible {
  border-color: #002f50;
}

.cookie-banner__btn--accept {
  border-color: #002f50;
  background: #002f50;
  color: var(--white);
}

.cookie-banner__btn--accept:hover,
.cookie-banner__btn--accept:focus-visible {
  border-color: var(--white);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.cookie-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--white);
  color: var(--black);
  border-radius: 0;
}

.cookie-modal__header {
  padding: 24px 24px 12px;
}

.cookie-modal__title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
}

.cookie-modal__intro {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
}

.cookie-modal__list {
  margin: 0;
  padding: 8px 24px 0;
  list-style: none;
}

.cookie-modal__item {
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-modal__item:first-child {
  border-top: 0;
}

.cookie-modal__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-modal__item-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.cookie-modal__item-desc {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: #444;
}

.cookie-modal__toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.cookie-modal__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-modal__slider {
  display: block;
  width: 44px;
  height: 20px;
  background: #ccc;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cookie-modal__slider::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cookie-modal__toggle input:checked + .cookie-modal__slider {
  background: var(--blue);
}

.cookie-modal__toggle input:checked + .cookie-modal__slider::before {
  transform: translateX(24px);
}

.cookie-modal__toggle input:disabled + .cookie-modal__slider {
  background: var(--blue);
  opacity: 0.65;
}

.cookie-modal__toggle input:disabled + .cookie-modal__slider::before {
  transform: translateX(24px);
}

.cookie-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px 24px;
}

.cookie-modal__footer .cookie-banner__btn {
  flex: 1 1 auto;
  min-width: 140px;
  text-align: center;
}

.cookie-modal__footer .cookie-banner__btn--ghost {
  border-color: var(--blue);
  background: var(--white);
  color: var(--blue);
}

body.cookie-banner-visible {
  padding-bottom: 0;
}

@media (min-width: 1100px) {
  .cookie-banner__text {
    padding-right: 20px;
  }
}

@media (max-width: 1099px) {
  .cookie-banner__body {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .cookie-banner__body {
    padding: 15px 20px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__btn {
    width: 100%;
  }

  .cookie-modal__footer {
    flex-direction: column;
  }

  .cookie-modal__footer .cookie-banner__btn {
    width: 100%;
  }
}