/* Garbi — estilos base. Mobile first; breakpoints 560 / 760 / 900 / 1000 / 1100.
   Paleta de bote de detergente: cobalto de base, menta, limón y chicle como acentos, tinta para texto. */

:root {
  --tinta: #0F1B4C;
  --tinta-2: #1B2A6E;
  --tinta-suave: #4A5578;
  --cobalto: #2F45FF;
  --cobalto-osc: #1F31D9;
  --cobalto-medio: #9AA6FF;
  --cobalto-claro: #E6E9FF;
  --menta: #2EE6C5;
  --menta-claro: #D3FAF2;
  --limon: #FFE45C;
  --limon-claro: #FFF6C4;
  --chicle: #FF7AB6;
  --chicle-claro: #FFE0EE;
  --espuma: #F5F6FF;
  --blanco: #FFFFFF;
  --borde: #DCE0F2;
  --acero: #D3D9EA;
  --error: #C2253B;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-xl: 40px;
  --r-full: 999px;

  --gutter: 20px;
  --topbar-h: 64px;
}

/* Tonos reutilizables: fondo + texto que contrasta */
.tone-cobalto { --tone: var(--cobalto); --tone-fg: var(--blanco); --tone-soft: rgba(255, 255, 255, .78); }
.tone-menta   { --tone: var(--menta);   --tone-fg: var(--tinta);  --tone-soft: var(--tinta-2); }
.tone-limon   { --tone: var(--limon);   --tone-fg: var(--tinta);  --tone-soft: var(--tinta-2); }
.tone-chicle  { --tone: var(--chicle);  --tone-fg: var(--tinta);  --tone-soft: var(--tinta-2); }
.tone-cielo   { --tone: var(--cobalto-claro); --tone-fg: var(--tinta); --tone-soft: var(--tinta-2); }
.tone-tinta   { --tone: var(--tinta);   --tone-fg: var(--blanco); --tone-soft: rgba(255, 255, 255, .75); }

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--espuma);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--menta); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.muted { color: var(--tinta-suave); font-weight: 400; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 760px) { :root { --gutter: 32px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blanco); padding: 10px 14px; border-radius: var(--r-s);
}
.skip:focus { top: 12px; }

.link-btn {
  background: none; border: 0; padding: 0;
  text-decoration: underline; text-underline-offset: 3px; font-weight: 700;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 2px solid transparent; border-radius: var(--r-full);
  font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--primary { background: var(--cobalto); color: var(--blanco); box-shadow: 0 10px 24px -12px rgba(47, 69, 255, .8); }
.btn--primary:hover { background: var(--cobalto-osc); }
.btn--limon { background: var(--limon); color: var(--tinta); box-shadow: 0 6px 0 0 var(--tinta); }
.btn--limon:hover { background: #FFEC85; }
.btn--limon:active { box-shadow: 0 3px 0 0 var(--tinta); transform: translateY(3px); }
.btn--ghost { background: transparent; border-color: color-mix(in srgb, currentColor 50%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ---------- Aviso + barra superior ---------- */
.notice {
  background: var(--tinta); color: var(--blanco);
  font-size: .9rem; text-align: center; padding: 9px var(--gutter);
}
.notice a { font-weight: 700; color: var(--limon); }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 246, 255, .88);
  -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.topbar.is-scrolled { border-color: var(--borde); box-shadow: 0 10px 30px -18px rgba(15, 27, 76, .45); }
.topbar__inner { display: flex; align-items: center; gap: 12px; height: var(--topbar-h); }
.topbar__cta { margin-left: auto; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo__mark {
  width: 32px; height: 32px; border-radius: 50%;
  border: 4px solid var(--cobalto);
  position: relative; overflow: hidden; flex-shrink: 0;
  background: var(--blanco);
}
.logo__water { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--menta); }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; }

.menu-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 0; color: inherit; border-radius: var(--r-s);
}
.menu-btn .ico { width: 28px; height: 28px; }

.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; flex-direction: column;
  background: var(--blanco); padding: 8px var(--gutter) 20px;
  box-shadow: 0 24px 30px -20px rgba(15, 27, 76, .4);
}
.nav.is-open { display: flex; }
.nav a {
  padding: 14px 0; text-decoration: none; font-size: 1.2rem; font-weight: 700;
  border-bottom: 1px solid var(--borde);
}
.nav a:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; gap: 2px;
    background: none; padding: 0; box-shadow: none; margin-left: 36px;
  }
  .nav a { border: 0; padding: 8px 14px; font-size: 1rem; border-radius: var(--r-full); }
  .nav a:hover { background: var(--cobalto-claro); color: var(--cobalto); }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cobalto); color: var(--blanco); overflow: hidden; }
.hero__inner {
  display: grid; gap: 28px; align-items: center;
  padding-block: 32px 88px;
}
.hero h1 { font-size: clamp(2.35rem, 10vw, 4.6rem); font-weight: 800; line-height: .98; letter-spacing: -0.045em; max-width: 13ch; }
.hero__lead { margin-top: 20px; color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 36ch; }
.hero__actions { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }

@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; padding-block: 72px 128px; gap: 40px; }
  }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 11vw, 120px); }
.section__head h2 { font-size: clamp(1.9rem, 7vw, 3.2rem); max-width: 16ch; }
.section__head p { margin-top: 14px; color: var(--tinta-suave); max-width: 46ch; font-size: 1.1rem; }
.section__head--center { text-align: center; }
.section__head--center h2, .section__head--center p { margin-inline: auto; }

/* ---------- Necesidades del barrio ---------- */
.tile {
  position: relative; overflow: hidden;
  background: var(--tone); color: var(--tone-fg);
  border-radius: var(--r-l); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.tile h3 { font-size: 1.3rem; }
.tile p { color: var(--tone-soft); }
.tile__ico { width: 44px; height: 44px; margin-bottom: 18px; stroke-width: 1.6; }
.fineprint { text-align: center; margin-top: 20px; font-size: .9rem; color: var(--tinta-suave); }

/* ---------- Encuesta ---------- */
.survey { background: var(--limon); }
.survey .section__head p { color: var(--tinta-2); }
.survey__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .survey__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.survey__form {
  background: var(--blanco); border-radius: var(--r-xl); padding: 26px 22px;
  display: grid; gap: 24px;
  box-shadow: none;
}
@media (min-width: 640px) { .survey__form { padding: 40px; } }
fieldset { border: 0; padding: 0; min-width: 0; }
legend, .field label { display: block; font-weight: 800; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  border: 2px solid var(--borde); border-radius: var(--r-full); background: var(--blanco); font-weight: 600;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip input:hover + span { border-color: var(--cobalto); }
.chip input:checked + span { background: var(--cobalto); border-color: var(--cobalto); color: var(--blanco); }
.chip input:focus-visible + span { outline: 3px solid var(--menta); outline-offset: 2px; }
.field select, .field input {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 2px solid var(--borde); border-radius: 14px; background: var(--blanco);
  font-size: 1rem;
}
.field select:focus-visible, .field input:focus-visible { border-color: var(--cobalto); }
.form-error { color: var(--error); background: #FDE8EC; border-radius: var(--r-s); padding: 10px 14px; font-weight: 600; }
.survey__form .btn { justify-self: center; }
/* ---------- FAQ ---------- */
.faq { background: var(--espuma); }
.faq__grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: .8fr 1.4fr; gap: 72px; } }
.faq__list details { border-bottom: 2px solid var(--borde); }
.faq__list details:first-child { border-top: 2px solid var(--borde); }
.faq__list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 52px 22px 0; font-weight: 800; font-size: 1.1rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; translate: 0 -50%;
  border-radius: 50%;
  background:
    linear-gradient(var(--blanco), var(--blanco)) center / 11px 2px no-repeat,
    linear-gradient(var(--blanco), var(--blanco)) center / 2px 11px no-repeat,
    var(--cobalto);
  transition: rotate .2s, background-color .2s;
}
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list details p { padding: 0 52px 24px 0; color: var(--tinta-suave); max-width: 62ch; }

/* ---------- Pie ---------- */
.footer { background: var(--tinta); color: rgba(255, 255, 255, .78); padding: 64px 0 calc(110px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__grid { display: grid; gap: 32px; }
.footer .logo { color: var(--tinta); background: transparent; padding: 10px 14px; border-radius: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer a, .footer .link-btn { color: var(--blanco); font-weight: 500; }
@media (min-width: 900px) {
  .footer { padding-bottom: 0; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Botón flotante móvil ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(245, 246, 255, .97) 55%, rgba(245, 246, 255, 0));
  translate: 0 110%; transition: translate .25s ease-out;
  pointer-events: none;
}
.dock.is-visible { translate: 0 0; pointer-events: auto; }
.dock__btn { width: 100%; }
html.menu-open .dock { translate: 0 110%; }
@media (min-width: 900px) { .dock { display: none; } }

/* Propuesta de preapertura: el barrio sustituye a las fotografías del local. */
.preopening-hero .hero__inner { grid-template-columns: 1fr; padding-block: 56px 72px; }
.preopening-hero h1 { max-width: 15ch; font-size: clamp(2.45rem, 7vw, 4.65rem); line-height: 1.06; }
.preopening-hero .hero__lead { max-width: 44ch; }
.preopening-hero .neighbourhood { align-self: center; min-width: 0; padding-top: 32px; }
.real-clothes__title { text-align: center; font-family: var(--font-body); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.clothesline { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 20px; margin-top: 44px; padding-top: 14px; border-top: 3px solid var(--blanco); }
.laundry { position: relative; width: 27%; height: 200px; transform: rotate(4deg); }
.laundry:nth-child(2) { transform: rotate(-4deg); }
.laundry__peg { position: absolute; height: 31px; width: 10px; background: var(--limon); top: -27px; left: 45%; border-radius: 3px; z-index: 2; }
.garment { position: absolute; inset: 0; }
.garment--shirt { background: var(--menta); clip-path: polygon(28% 0,40% 8%,60% 8%,72% 0,100% 20%,85% 39%,74% 30%,74% 100%,26% 100%,26% 30%,15% 39%,0 20%); }
.garment--shirt::before { content: ''; position: absolute; width: 25%; height: 15%; border: 4px solid var(--cobalto); border-top: 0; border-radius: 0 0 50% 50%; left: 37%; top: -3%; }
.garment--trousers { background: var(--chicle); clip-path: polygon(8% 0,92% 0,100% 100%,58% 100%,50% 37%,42% 100%,0 100%); }
.garment--trousers::before { content: ''; position: absolute; height: 7px; background: var(--tinta); opacity: .2; top: 10%; width: 100%; }
.garment--towel { inset: 0 12%; background: var(--limon); border-radius: 3px 3px 9px 9px; border-bottom: 12px solid var(--chicle); }
.garment--towel::after { content: ''; position: absolute; bottom: 13px; left: 0; right: 0; height: 3px; background: var(--chicle); }
.neighbourhood__note { margin-top: 35px; text-align: center; font-size: 1.15rem; font-weight: 600; }
.manifesto { display: grid; gap: 30px; }
.manifesto__copy { font-size: 1.15rem; line-height: 1.7; max-width: 60ch; }
.manifesto__copy > p + p { margin-top: 18px; }
.neighbourhood-needs { background: var(--blanco); }
.needs-grid { display: grid; gap: 18px; margin-top: 36px; }
.needs-grid .tile p { color: var(--tinta-2); line-height: 1.6; }
.participation { background: var(--menta-claro); }
.participation-steps { padding-left: 28px; margin-bottom: 24px; }
.participation-steps li { padding-left: 10px; margin-bottom: 24px; }
.participation-steps h3 { font-size: 1.2rem; }
.field textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--borde); border-radius: 14px; background: var(--blanco); font: inherit; resize: vertical; }
.field textarea:focus-visible { border-color: var(--cobalto); }
.field > .muted { margin-top: 8px; font-size: .9rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.consent input { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cobalto); }
.form-feedback { padding: 16px; background: var(--menta-claro); color: var(--tinta); border-radius: 12px; line-height: 1.6; }
.form-feedback[hidden], .form-error[hidden] { display: none; }
@media (min-width: 640px) { .needs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .preopening-hero .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 64px; padding-block: 80px 96px; }
  .manifesto { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
@media (max-width: 480px) { .clothesline { gap: 10px; } .laundry { width: 29%; height: 175px; } }
@media (max-width: 380px) { .preopening-hero h1 { font-size: 2.15rem; } }

/* Identidad del barrio y perfiles sociales pendientes de confirmar. */
.social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.footer .social-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--blanco); color: var(--cobalto); box-shadow: 0 4px 0 var(--cobalto-osc), 0 10px 24px -10px rgba(15,27,76,.5); }
.social-icon svg { width: 26px; height: 26px; }
.social-icon:disabled { cursor: default; opacity: 1; }
.social-note { margin-top: 14px; text-align: center; font-size: .85rem; }

/* Opciones en filas equilibradas de dos chips. */
.survey__form .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; align-items: stretch; }
.survey__form .chip { display: flex; min-width: 0; }
.survey__form .chip span { width: 100%; min-height: 44px; padding: 8px 10px; justify-content: center; text-align: center; font-size: .85rem; font-weight: 600; line-height: 1.25; }

/* Cierre de la página con las redes sociales. */
.footer { background: var(--cobalto); padding-bottom: 56px; }
.footer__socials { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.footer__socials .social-links { margin-top: 0; justify-content: center; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr auto; } }

/* Alternativa «Un hueco para todos» integrada para comparar en portada. */
.colada-round { position: relative; width: 285px; height: 285px; margin: 28px auto 20px; border: 18px solid #000; border-radius: 50%; background: linear-gradient(to top, var(--menta) 0 44%, var(--blanco) 44%); }
.colada-round::before { content: ''; position: absolute; width: 29px; height: 45px; border-radius: 6px; background: var(--limon); right: -23px; top: 45%; }
.colada-round .clothesline { margin: 70px -50px 0; gap: 9px; padding-top: 10px; border-top-color: #000; }
.colada-round .laundry { width: 30%; height: 125px; }
.colada-round .laundry__peg { top: -19px; width: 7px; height: 23px; }
.shared-colada .neighbourhood__note { margin-top: 26px; }
@media (max-width: 480px) {
  .colada-round { width: 250px; height: 250px; margin-top: 38px; }
  .colada-round .clothesline { margin-top: 60px; margin-inline: -28px; }
  .colada-round .laundry { height: 110px; }
}

.shared-colada .garment--shirt { background: #FF915C; }
.shared-colada .garment--shirt::before { border-color: var(--blanco); }

/* Preguntas condicionales y confirmación real de recepción. */
#dryer-reasons[hidden], .submission-feedback[hidden] { display: none; }
.question-help { margin-bottom: 10px; color: var(--tinta-suave); }
.chips--reasons .chip:last-child { grid-column: 1 / -1; }
.conditional-announcement:empty { display: none; }
.conditional-announcement { font-size: .9rem; color: var(--tinta-suave); }
.submission-feedback { padding: 16px; border-radius: var(--r-m); background: var(--menta-claro); color: var(--tinta); line-height: 1.5; }
.submission-feedback strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.turnstile-slot { max-width: 100%; justify-self: center; }
.turnstile-slot:empty { display: none; }

/* Consentimiento: rechazar y aceptar tienen idéntico peso. */
.cookie-banner { position: fixed; inset: auto 0 0; z-index: 90; background: var(--blanco); color: var(--tinta); box-shadow: 0 -6px 25px rgba(15,27,76,.15); padding: 22px 0; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: grid; gap: 18px; }
.cookie-banner h2 { font-family: var(--font-body); font-size: 1.3rem; margin-bottom: 8px; }
.cookie-banner p { max-width: 70ch; line-height: 1.5; margin-bottom: 8px; font-size: .95rem; }
.cookie-banner a { font-weight: 600; font-size: .95rem; }
.cookie-actions { display: flex; gap: 12px; align-items: center; }
.cookie-button { flex: 1; min-height: 46px; padding: 10px 24px; border: 0; border-radius: var(--r-full); background: var(--tinta); color: var(--blanco); font-weight: 700; }
.cookie-button:hover { background: var(--tinta-2); }
html.cookies-open .dock { translate: 0 110%; }
.cookie-settings { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 0; border-radius: var(--r-l); background: var(--blanco); color: var(--tinta); }
.cookie-settings::backdrop { background: rgba(15,27,76,.55); }
.cookie-settings__inner { position: relative; display: grid; gap: 24px; padding: 32px 24px; }
.cookie-settings h2 { font-size: 1.5rem; padding-right: 32px; }
.cookie-settings h3 { font: 800 1.1rem var(--font-body); margin-bottom: 8px; }
.cookie-settings p { line-height: 1.5; }
.cookie-settings__state { font-size: .9rem; color: var(--tinta-suave); margin-bottom: 6px; }
.cookie-settings .consent { margin-top: 14px; }
.cookie-settings__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; background: transparent; color: var(--tinta); border: 0; font-size: 2rem; }
.cookie-settings .btn { justify-self: center; }
.policy-page { max-width: 780px; margin: 0 auto; padding: 50px 24px; }
.policy-page h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); margin-bottom: 24px; }
.policy-page h2 { font-size: 1.3rem; margin-top: 28px; margin-bottom: 12px; }
.policy-page p, .policy-page li { line-height: 1.65; margin-bottom: 12px; }
.policy-page ul { padding-left: 22px; }
@media (min-width: 900px) { .cookie-banner__inner { grid-template-columns: 1fr auto; align-items: center; } }
@media (prefers-reduced-motion: reduce) { .btn, .chip span, .dock, .faq__list summary::after { transition: none; } }

/* Una galleta y palabras de barrio, sin dar más peso a aceptar. */
.cookie-banner__copy { display: flex; align-items: center; gap: 22px; min-width: 0; }
.cookie-mascot { display: inline-block; flex: 0 0 auto; font-size: 64px; line-height: 1; transform: rotate(-12deg); }
.cookie-mascot--small { font-size: 46px; }
.cookie-settings__heading { display: flex; align-items: center; gap: 14px; padding-right: 24px; }
.cookie-settings__heading h2 { padding-right: 0; }
@media (max-width: 480px) {
  .cookie-banner__copy { align-items: flex-start; gap: 14px; }
  .cookie-banner .cookie-mascot { font-size: 42px; margin-top: 4px; }
  .cookie-settings__heading { gap: 10px; }
}

/* Política ampliada: cierre visible y scroll sin barra. */
.policy-page { position: relative; }
.policy-page h1 { padding-right: 34px; }
.policy-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--blanco); color: var(--tinta); font-size: 2rem; line-height: 1; text-decoration: none; }
.policy-modal { overflow: hidden; }
.policy-scroll { max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.policy-scroll::-webkit-scrollbar, .policy-document::-webkit-scrollbar { display: none; }
.policy-document { scrollbar-width: none; }

/* Información breve junto al envío, con el detalle disponible al desplegar. */
.survey-data-notice { padding: 18px; border-radius: var(--r-m); background: var(--espuma); color: var(--tinta-2); font-size: .9rem; line-height: 1.6; }
.survey-data-notice summary { display: list-item; min-height: 44px; padding-top: 12px; font-weight: 700; cursor: pointer; }
.survey-data-notice details > div { padding-top: 8px; }
.survey-data-notice details p + p { margin-top: 12px; }
.survey-data-notice a { overflow-wrap: anywhere; }

/* Error real, sin devolver la portada como si existiera la URL. */
.not-found { background: var(--cobalto); color: var(--blanco); }
.not-found .policy-page { padding-block: clamp(64px, 12vw, 140px); }
.not-found__code { font-size: 1.3rem; font-weight: 800; color: var(--limon); }
.not-found .btn { margin-top: 18px; }
