/* ==========================================================================
   Bloom Events & Catering
   Hoja de estilos principal
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tipografías alojadas en la propia web (sin llamadas a Google: más rápido y RGPD)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/noto-serif-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Serif Display";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/noto-serif-display-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../assets/fonts/albert-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------------------- */
:root {
  /* Paleta de marca */
  --olive: #292A25;       /* Acento: negro carbón (sin verde) */
  --olive-deep: #292A25;  /* El mismo oliva un punto más profundo: texto claro encima con contraste AA */
  --sand: #D8C9AE;        /* Beige arena */
  --star: #F2F0E8;        /* Blanco estrellado */
  --carbon: #292A25;      /* Negro carbón */

  --ink: var(--carbon);
  --ink-soft: rgba(41, 42, 37, .74);
  --line: rgba(41, 42, 37, .16);
  --line-mid: rgba(41, 42, 37, .3);
  --line-strong: rgba(41, 42, 37, .7);
  --line-light: rgba(242, 240, 232, .3);
  --line-light-strong: rgba(242, 240, 232, .62);
  --paper: var(--star);

  /* Titulares de alto contraste, como "BLOOM", y texto sin serifa */
  --display: "Noto Serif Display", Didot, "Bodoni 72", Georgia, serif;
  --text: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --display-weight: 500; /* grosor de los titulares */

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --wrap: 84rem;
  --header-h: 5.25rem;
  --section-y: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 899px) {
  :root { --header-h: 4.25rem; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video,
svg,
canvas { display: block; max-width: 100%; }

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

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: var(--display-weight);
  line-height: 1.06;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--olive);
}

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--olive-deep); color: var(--star); }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

/* Iconos y logotipo definidos una vez al principio del body */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 100;
  padding: .75rem 1.1rem;
  background: var(--olive-deep);
  color: var(--star);
  font-size: .9rem;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   3. Utilidades tipográficas y de maquetación
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin: 0;
  font-family: var(--text);
  font-weight: 500;
  font-size: .72rem;
  line-height: 1.2;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* En rejillas, la etiqueta se alinea arriba en vez de estirarse */
.grid-12 > .label,
.section-head > .label,
.line-grid-wrap > .label { align-self: start; }

.label__num {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: var(--olive-deep);
  font-variant-numeric: tabular-nums;
}
.label__num::after {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: var(--olive);
}

.display-1 {
  font-size: clamp(2.7rem, 1.3rem + 5.4vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.display-2 {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.018em;
}

.h2 { font-size: clamp(2.1rem, 1.4rem + 2.7vw, 3.8rem); }
.h3 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.3rem); font-weight: var(--display-weight); line-height: 1.12; }

.lead {
  font-size: clamp(1.125rem, 1.04rem + .4vw, 1.35rem);
  font-weight: 300;
  line-height: 1.55;
}

.muted { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   4. Botones y enlaces
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 1.05rem 1.6rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--text);
  font-weight: 500;
  font-size: .74rem;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--star); }

.btn--solid { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--star); }
.btn--solid:hover { background: var(--carbon); border-color: var(--carbon); }

/* Sobre fondo oliva */
.btn--light { background: var(--star); border-color: var(--star); color: var(--olive-deep); }
.btn--light:hover { background: transparent; border-color: var(--star); color: var(--star); }
.btn--ghost-light { border-color: var(--line-light-strong); color: var(--star); }
.btn--ghost-light:hover { background: var(--star); border-color: var(--star); color: var(--olive-deep); }

.btn__icon { width: 1.05rem; height: 1.05rem; flex: none; }

.arrow {
  width: 2rem;
  height: .5rem;
  flex: none;
  transition: transform .4s var(--ease-out);
}
.btn:hover .arrow,
.link-line:hover .arrow { transform: translateX(.35rem); }

.link-line {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding-bottom: .3rem;
  font-weight: 500;
  font-size: .74rem;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-line:hover { background-size: 35% 1px; }

/* --------------------------------------------------------------------------
   5. Cabecera
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .3s var(--ease), transform .45s var(--ease-out);
}

.site-header.is-solid {
  background: rgba(242, 240, 232, .92);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-inline: var(--gutter);
}

.nav-main { display: flex; gap: 2.4rem; }

.nav-main a {
  position: relative;
  padding-block: .4rem;
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.brand { display: block; justify-self: center; }
/* Logo vectorial: toma el color del texto (carbón, o blanco estrellado con el menú abierto) */
.brand__logo {
  display: block;
  width: auto;
  height: 1.75rem;
  aspect-ratio: 1191 / 282;
  fill: currentColor;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: .85rem 1.2rem .8rem;
  background: var(--olive-deep);
  color: var(--star);
  font-weight: 500;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background-color .35s var(--ease);
}
.header-cta:hover { background: var(--carbon); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .85rem;
  justify-self: end;
  margin-right: -.5rem;
  padding: .75rem .5rem;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle__lines {
  position: relative;
  width: 1.75rem;
  height: .5rem;
}
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle__lines::before { top: 0; }
.menu-toggle__lines::after { top: calc(100% - 1px); }

.menu-open .menu-toggle__lines::before { top: calc(50% - .5px); transform: rotate(18deg); }
.menu-open .menu-toggle__lines::after { top: calc(50% - .5px); transform: rotate(-18deg); }

@media (max-width: 899px) {
  .site-header__inner { grid-template-columns: auto 1fr; }
  .nav-main,
  .header-cta { display: none; }
  .brand { justify-self: start; }
  .brand__logo { height: 1.4rem; }

  /* Cabecera que se esconde al bajar (la clase la pone main.js) */
  .site-header.is-hidden { transform: none; }
  .site-header.is-hidden:focus-within { transform: none; }
  .menu-toggle { display: inline-flex; }
}

/* Con el menú abierto la cabecera pasa a blanco estrellado sobre el cielo oliva */
.menu-open .site-header {
  background: transparent;
  border-bottom-color: var(--line-light);
  color: var(--star);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition-delay: .08s;
}

/* --------------------------------------------------------------------------
   6. Menú móvil: cielo de nubes y globos
   -------------------------------------------------------------------------- */
.menu-open,
.menu-open body { overflow: hidden; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  overflow: hidden;
  background: var(--olive-deep);
  color: var(--star);
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.mobile-menu.has-sky { background: transparent; }

.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transition: opacity .45s var(--ease);
}
/* Mientras la nube se expande, el panel aparece de golpe: la animación la hace el canvas */
.menu-open .mobile-menu.is-revealing { transition: none; }

.menu-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.menu-sky.is-drifting { animation: sky-drift 28s ease-in-out infinite alternate; }

@keyframes sky-drift {
  from { transform: none; }
  to   { transform: scale(1.12) translate3d(-3%, 2%, 0); }
}

.mobile-menu__nav { position: relative; z-index: 1; }

.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: .6rem 0;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(1.75rem, 7.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.mobile-menu__list a[aria-current="page"] { font-style: italic; }

.mobile-menu__list .label__num {
  color: var(--star);
  font-family: var(--text);
  font-style: normal;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  transform: translateY(-.45em);
}
.mobile-menu__list .label__num::after { display: none; }

.mobile-menu__list li {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.menu-open .mobile-menu__list li { opacity: 1; transform: none; }
.menu-open .mobile-menu__list li:nth-child(1) { transition-delay: .22s; }
.menu-open .mobile-menu__list li:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile-menu__list li:nth-child(3) { transition-delay: .38s; }
.menu-open .mobile-menu__list li:nth-child(4) { transition-delay: .46s; }

/* Globos pequeños que salen del punto donde se toca */
.balloon-burst {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

.burst-balloon {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 50% 22%;
  will-change: transform, opacity;
}
.burst-balloon svg { width: 100%; height: auto; overflow: visible; }

/* --------------------------------------------------------------------------
   7. Portada con vídeo
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 0;
  overflow: hidden;
  background: var(--sand);
}

/* Marco de línea fina tipo passe-partout */
.hero::after {
  content: "";
  position: absolute;
  inset: .875rem;
  z-index: 2;
  border: 1px solid rgba(41, 42, 37, .26);
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Nubes en arena bajo el vídeo: se ven mientras carga o si no hay vídeo */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clouds) center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.has-clouds .hero__media::before { opacity: 1; }

.hero__video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Velo claro para que el texto oscuro se lea sobre cualquier vídeo */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(242, 240, 232, .62) 0%, rgba(242, 240, 232, .28) 38%, rgba(242, 240, 232, .5) 72%, rgba(242, 240, 232, .9) 100%),
    rgba(216, 201, 174, .12);
}

.hero__content {
  align-self: end;
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.hero__title {
  max-width: 14ch;
  margin: 1.4rem 0 1.8rem;
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 2.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.25rem;
}

/* Pie de la portada sin línea: conserva su altura para que el hueco bajo el botón no cambie */
.hero__foot {
  position: relative;
  z-index: 3;
  width: min(100%, var(--wrap));
  min-height: calc(5.3rem + 1px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0 1.6rem;
}

.hero__towns {
  display: flex;
  flex-wrap: wrap;
  row-gap: .25rem;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__towns li + li::before {
  content: "·";
  margin: 0 .85rem;
  color: var(--olive);
}

.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.video-toggle__icon {
  width: .65rem;
  height: .65rem;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: scaleX(.6);
}
.video-toggle[aria-pressed="true"] .video-toggle__icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: .34rem 0 .34rem .55rem;
  border-color: transparent transparent transparent currentColor;
  transform: none;
}
.hero.no-video .video-toggle { display: none; }

.hero__foot-end { display: flex; align-items: center; gap: 2rem; margin-left: auto; }

@media (max-width: 899px) {
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero::after { inset: .5rem; }
  .hero__towns { display: none; }
}

/* En móvil el enlace que había bajo el botón ocupaba una fila: se mantiene ese espacio */
@media (max-width: 479px) {
  .hero__actions { margin-bottom: 2.54rem; }
}

/* --------------------------------------------------------------------------
   8. Secciones
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--line { border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section--sand { background: var(--sand); }
/* El oliva no alcanza contraste suficiente sobre arena: la cursiva queda en carbón */
.section--sand h2 em,
.section--sand .label__num { color: var(--carbon); }
.section--sand .label__num::after { background: var(--carbon); }

/* Bloques en verde oliva con blanco estrellado */
.section--olive {
  background: var(--olive-deep);
  color: var(--star);
}
.section--olive h2 em,
.section--olive h3 em { color: var(--sand); }
.section--olive .label__num { color: var(--star); }
.section--olive .label__num::after { background: var(--line-light-strong); }

.section-head {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

@media (min-width: 900px) {
  .grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.5vw, 2.5rem);
  }
  .section-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.5vw, 2.5rem);
    align-items: end;
  }
  .section-head > .label { grid-column: 1 / 4; padding-top: .9rem; }
  .section-head > h2 { grid-column: 4 / 11; }
}

/* Cuestionario ------------------------------------------------------------ */
.quiz__grid { display: grid; gap: 3rem; }
.quiz__intro .h2 { margin: 1.75rem 0 1.5rem; }
.quiz__intro p { max-width: 30rem; }

.quiz__facts {
  margin-top: 2.25rem;
  border-top: 1px solid var(--line-light);
}
.quiz__facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .95rem 0 .9rem;
  border-bottom: 1px solid var(--line-light);
}
.quiz__facts li > span:last-child,
.quiz__facts a { text-align: right; }
.quiz__facts a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

@media (min-width: 1000px) {
  .quiz__grid {
    grid-template-columns: 4fr 7fr;
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .quiz__intro {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }
}

.q {
  min-width: 0;
  margin: 0;
  padding: 1.6rem 0 1.75rem;
  border: 0;
  border-top: 1px solid var(--line-light);
}

.q legend,
.q__label {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  width: 100%;
  padding: 0;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem);
  line-height: 1.25;
}
/* La leyenda flotante deja la línea superior por encima, no atravesada */
.q legend { float: left; }
.q legend + * { clear: both; }

.q__num {
  flex: none;
  font-family: var(--text);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .2em;
  transform: translateY(-.15em);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding-top: 1.1rem;
}

.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: .55rem 1.1rem;
  border: 1px solid var(--line-light-strong);
  border-radius: 999px;
  font-size: .95rem;
  line-height: 1.2;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover span { border-color: var(--star); }
.chip input:checked + span {
  background: var(--star);
  border-color: var(--star);
  color: var(--olive-deep);
}
.chip input:focus-visible + span { outline: 1px solid var(--star); outline-offset: 3px; }

.q__hint { margin: .85rem 0 0; font-size: .88rem; }

.q__sub {
  display: block;
  margin-top: 1.5rem;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.q__sub + .q__input { margin-top: .35rem; }

.q__error {
  display: none;
  margin: .9rem 0 0;
  font-size: .9rem;
  font-weight: 500;
}
.q__error::before { content: "— "; }
.q.is-invalid .q__error { display: block; }
.q.is-invalid .chip span { border-color: var(--star); }

/* Los campos de texto ya tienen su propia línea inferior */
.q--text { padding-top: 1.25rem; border-top: 0; }

.q__row { display: grid; gap: 0 2.25rem; }
@media (min-width: 640px) {
  .q__row { grid-template-columns: 1fr 1fr; }
}

.q__input {
  width: 100%;
  margin-top: .75rem;
  padding: .55rem 0 .7rem;
  border: 0;
  border-bottom: 1px solid var(--line-light-strong);
  border-radius: 0;
  background: transparent;
  color: var(--star);
  font: inherit;
  font-size: 1.05rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.q__input::placeholder { color: rgba(242, 240, 232, .8); font-style: italic; }
.q__input:focus {
  outline: none;
  border-bottom-color: var(--star);
  box-shadow: 0 1px 0 0 var(--star);
}
textarea.q__input { min-height: 6rem; resize: vertical; }

.quiz__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding-top: 1rem;
}
.quiz__note { max-width: 26rem; margin: 0; font-size: .9rem; }
.quiz__note a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Preguntas opcionales plegadas */
.quiz__more { border-top: 1px solid var(--line-light); }
.quiz__more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 1.3rem;
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.quiz__more > summary::-webkit-details-marker { display: none; }
.quiz__more > summary span { letter-spacing: .14em; }
.quiz__more > summary::after {
  content: "";
  flex: none;
  width: .9rem;
  height: .9rem;
  margin-left: auto;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .45s var(--ease-out);
}
.quiz__more[open] > summary::after { transform: rotate(45deg); }
.quiz__more > .q:first-of-type { border-top: 0; padding-top: .25rem; }

/* En el móvil el cuestionario va más compacto */
@media (max-width: 639px) {
  .q { padding: 1.2rem 0 1.35rem; }
  .q--text { padding-top: 1rem; }
  .chips { gap: .45rem; padding-top: .9rem; }
  .chip span { min-height: 2.5rem; padding: .5rem .95rem; font-size: .9rem; }
}

/* Intro / estudio */
.intro__label { margin-bottom: 2rem; }
.intro__title { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.intro__cols {
  display: grid;
  gap: 1.5rem 3rem;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .intro__label { grid-column: 1 / 4; padding-top: 1rem; }
  .intro__body { grid-column: 4 / 13; }
  .intro__cols { grid-template-columns: 1fr 1fr; max-width: 52rem; }
}

/* Imagen o espacio reservado para fotografía */
.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 5);
  background: var(--sand);
}
/* Mientras falta la foto: textura de nubes en arena (la genera main.js) */
.has-clouds .media.is-missing {
  background: var(--sand) var(--clouds) var(--pos, 50% 50%) / cover no-repeat;
}
.media::before {
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px solid rgba(41, 42, 37, .28);
}
/* El nombre de la foto que va en cada hueco solo se ve en local o con ?fotos en la URL */
.media::after {
  display: none;
  content: attr(data-label);
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.4rem;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(41, 42, 37, .72);
}
.media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.media.is-missing img { display: none; }
.show-photo-labels .media.is-missing::after { display: block; }
a:hover .media img { transform: scale(1.03); }

.media--wide { --ratio: 16 / 7; }
.media--land { --ratio: 3 / 2; }
.media--tall { --ratio: 3 / 4; }

@media (max-width: 899px) {
  .media--wide { --ratio: 4 / 3; }
}

/* Servicios (portada) */
.services { display: grid; gap: 4.5rem; }

.service { display: grid; gap: 1.75rem; align-content: start; }
.service__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--olive);
}
.service__meta .label:last-child { color: var(--olive-deep); }
.service__text { color: var(--ink-soft); max-width: 34rem; }

.tick-list { border-top: 1px solid var(--line); }
.tick-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0 .75rem;
  border-bottom: 1px solid var(--line);
}
.tick-list li span:last-child {
  align-self: center;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .18em;
  text-align: right;
  text-transform: uppercase;
  color: var(--olive-deep);
}

@media (min-width: 900px) {
  .services {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(3rem, 7vw, 7.5rem);
  }
  .service:nth-child(2) { margin-top: clamp(6rem, 12vw, 11rem); }
}

/* Proceso */
.steps {
  display: grid;
  border-top: 1px solid var(--line-mid);
}
.step {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 2rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
}
.step__num {
  font-family: var(--display);
  font-style: italic;
  font-weight: var(--display-weight);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--olive);
}
.step h3 { font-size: 1.55rem; font-weight: var(--display-weight); }
.step p { color: var(--ink-soft); }

@media (min-width: 700px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(odd) { padding-right: 2rem; }
  .step:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .step { padding: 2.5rem 2rem 3rem; border-bottom: 0; }
  .step:nth-child(n) { padding-left: 2rem; padding-right: 2rem; border-left: 1px solid var(--line); }
  .step:first-child { padding-left: 0; border-left: 0; }
  .step:last-child { padding-right: 0; }
}

/* Zonas */
.areas { display: grid; gap: 3rem; }
.areas__text { max-width: 30rem; }
.areas__text .h2 { margin: 1.75rem 0 1.5rem; }
.areas__also {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(41, 42, 37, .3);
}

.town-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
}
.town-list li {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 0 .9rem;
  border-bottom: 1px solid rgba(41, 42, 37, .3);
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem);
  line-height: 1.2;
}
.town-list li:nth-child(odd) { padding-right: 1.25rem; }
.town-list li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid rgba(41, 42, 37, .3); }
.town-list li.is-home { font-style: italic; }
.town-list small {
  font-family: var(--text);
  font-style: normal;
  font-weight: 500;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .areas { grid-template-columns: 5fr 7fr; column-gap: clamp(3rem, 8vw, 8rem); align-items: start; }
  .town-list { grid-template-columns: repeat(3, 1fr); }
  .town-list li:nth-child(n) { padding-left: 1.25rem; padding-right: 1.25rem; border-left: 1px solid rgba(41, 42, 37, .3); }
  .town-list li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
}

/* Preguntas frecuentes */
.faq { border-top: 1px solid var(--line-mid); }
.faq details { border-bottom: 1px solid var(--line-mid); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0 1.5rem;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.75rem);
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--olive-deep);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .45s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  max-width: 44rem;
  padding: 0 0 1.75rem;
  color: var(--ink-soft);
}
.faq__answer a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .faq-wrap > .label { grid-column: 1 / 4; padding-top: 1.8rem; }
  .faq-wrap > .faq { grid-column: 4 / 13; }
}
.faq-wrap > .label { margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   9. Páginas interiores
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.breadcrumb li + li::before { content: "/"; margin-right: .6rem; color: var(--olive); }
.breadcrumb a { color: var(--ink-soft); transition: color .3s; }
.breadcrumb a:hover { color: var(--olive-deep); }

.page-hero__grid {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.page-hero__grid .lead { max-width: 34rem; color: var(--ink-soft); }

@media (min-width: 900px) {
  .page-hero__grid {
    grid-template-columns: 8fr 4fr;
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: end;
  }
}

/* Dos columnas: texto estrecho + contenido ancho */
.split { display: grid; gap: 3rem; }
.split__text .h2 { margin: 1.75rem 0 1.5rem; }
.split__text p:not(.label) { color: var(--ink-soft); }
@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
  }
  .split--center { align-items: center; }
}

/* Filas de servicio alternas */
.feature-rows { display: grid; gap: clamp(5rem, 10vw, 9rem); }
.feature {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.feature__body { display: grid; gap: 1.5rem; max-width: 34rem; }
.feature__body > .label { color: var(--olive-deep); }
.feature__body p { color: var(--ink-soft); }

@media (min-width: 900px) {
  .feature {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.5vw, 2.5rem);
  }
  .feature .media { grid-column: 1 / 7; }
  .feature__body { grid-column: 8 / 13; }
  .feature:nth-child(even) .media { grid-column: 7 / 13; grid-row: 1; }
  .feature:nth-child(even) .feature__body { grid-column: 1 / 6; grid-row: 1; }
}

/* Lista en dos columnas con líneas */
.line-grid {
  display: grid;
  border-top: 1px solid var(--line-mid);
}
.line-grid li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0 1.3rem;
  border-bottom: 1px solid var(--line);
}
.line-grid li > span {
  padding-top: .5rem;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--olive-deep);
}
.line-grid h3 { font-size: 1.4rem; font-weight: var(--display-weight); margin-bottom: .4rem; }
.line-grid p { color: var(--ink-soft); }

@media (min-width: 900px) {
  .line-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); }
  .line-grid-wrap > .label { grid-column: 1 / 4; padding-top: 1.4rem; }
  .line-grid-wrap > .line-grid { grid-column: 4 / 13; }
}
.line-grid-wrap > .label { margin-bottom: 2rem; }

/* Carta de ejemplo */
.menu-card {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem);
  border: 1px solid var(--olive);
  text-align: center;
}
.menu-card::before {
  content: "";
  position: absolute;
  inset: .5rem;
  border: 1px solid var(--line);
  pointer-events: none;
}
.menu-card > .label { color: var(--olive-deep); }
.menu-card__title { margin: 1.25rem 0 .5rem; }
.menu-card__note { color: var(--ink-soft); font-style: italic; font-weight: 300; }
.menu-card__course { padding-top: 2.25rem; }
.menu-card__course + .menu-card__course { margin-top: 2.25rem; border-top: 1px solid var(--line); }
.menu-card__course h3 {
  margin-bottom: 1rem;
  font-family: var(--text);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--olive-deep);
}
.menu-card__course li {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 1.2rem;
  line-height: 1.5;
  text-wrap: balance;
}
.menu-card__course li + li { margin-top: .4rem; }

/* Principios */
.principles { display: grid; border-top: 1px solid var(--line-mid); }
.principle {
  display: grid;
  gap: .75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.principle__num {
  font-family: var(--display);
  font-style: italic;
  font-weight: var(--display-weight);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--olive);
}
.principle h3 { font-size: 1.55rem; font-weight: var(--display-weight); }
.principle p { color: var(--ink-soft); max-width: 36rem; }

@media (min-width: 900px) {
  .principle {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.5vw, 2.5rem);
    align-items: baseline;
    padding: 2.5rem 0;
  }
  .principle__num { grid-column: 1 / 4; }
  .principle h3 { grid-column: 4 / 8; }
  .principle p { grid-column: 8 / 13; }
}

/* Textos legales */
.prose { max-width: 44rem; }
.prose h2 {
  margin: 2.75rem 0 .9rem;
  font-weight: var(--display-weight);
  font-size: clamp(1.4rem, 1.25rem + .5vw, 1.75rem);
  line-height: 1.2;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--olive-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose__date { margin-top: 3rem; font-size: .9rem; }

.legal-data {
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--line-mid);
}
.legal-data div {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) 2fr;
  gap: 1rem;
  padding: .85rem 0 .8rem;
  border-bottom: 1px solid var(--line);
}
.legal-data dt {
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-top: .2rem;
}
.legal-data dd { margin: 0; }
.pendiente { font-style: italic; color: var(--olive-deep); }

/* Página 404 */
.page-hero--error { min-height: 75vh; padding-bottom: var(--section-y); }
.page-hero--error .page-hero__grid { padding-top: 0; }
.page-hero--error .label { margin-bottom: 1.75rem; }

/* Llamada a la acción */
.cta {
  display: grid;
  gap: 2rem;
  justify-items: start;
}
.cta .h2 { max-width: 18ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 900px) {
  .cta { grid-template-columns: 1fr auto; align-items: end; }
}

/* --------------------------------------------------------------------------
   10. Pie de página en oliva
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--olive-deep);
  color: var(--star);
}

/* Simétrico: navegación a la izquierda, logotipo en el centro, contacto a la derecha */
.footer-main {
  display: grid;
  gap: 2.5rem;
  justify-items: center;
  /* Línea arriba y abajo, como un marco */
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line-light);
  text-align: center;
}

.footer-brand { display: grid; justify-items: center; gap: 1.1rem; }
.footer-brand p { margin: 0; font-size: .95rem; line-height: 1.6; }

.footer-logo {
  display: block;
  width: 9.5rem;
  height: auto;
  aspect-ratio: 1191 / 397;
  fill: currentColor;
}

.footer-col .label { margin-bottom: .9rem; }
.footer-col li { line-height: 1.9; }
.footer-col a,
.footer-bottom a {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.footer-col a:hover,
.footer-bottom a:hover { background-size: 100% 1px; }

/* En el móvil: logotipo arriba y las dos listas en una fila cada una, centradas */
@media (max-width: 899px) {
  .footer-brand { order: -1; }
  .footer-col ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .15rem 1.4rem;
  }
}

@media (min-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .footer-col--start { justify-self: start; text-align: left; }
  .footer-col--end { justify-self: end; text-align: right; }
  .footer-logo { width: 11rem; }
}

.footer-bottom {
  display: grid;
  justify-items: center;
  gap: .7rem;
  /* Hueco para el botón flotante de WhatsApp */
  padding: 1.4rem 0 calc(5.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; }

/* --------------------------------------------------------------------------
   11. Botón flotante de WhatsApp (abajo, en el centro)
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1.4rem .85rem 1.2rem;
  border-radius: 999px;
  background: var(--olive-deep);
  color: var(--star);
  box-shadow: inset 0 0 0 1px rgba(242, 240, 232, .35), 0 12px 30px -14px rgba(41, 42, 37, .55);
  font-weight: 500;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 1.25rem);
  transition: opacity .35s var(--ease), transform .5s var(--ease-out), visibility 0s linear .5s, background-color .3s;
}
.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .35s var(--ease), transform .5s var(--ease-out), background-color .3s;
}
.wa-float:hover { background: var(--carbon); }
.wa-float svg { width: 1.05rem; height: 1.05rem; }

/* --------------------------------------------------------------------------
   12. Aparición al hacer scroll (solo con JS activo)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay { transition-delay: .12s; }

/* --------------------------------------------------------------------------
   13. Movimiento reducido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .menu-sky.is-drifting { animation: none; }
}

/* --------------------------------------------------------------------------
   14. Bloques en beige arena con toques de verde oliva
   (cuestionario, llamadas a la acción y pie: se invierten los colores claros)
   -------------------------------------------------------------------------- */
.section--olive,
.site-footer {
  --star: #292A25;
  --olive-deep: #D8C9AE;
  --line-light: rgba(41, 42, 37, .2);
  --line-light-strong: rgba(41, 42, 37, .45);
  background: var(--sand);
  color: var(--carbon);
}
.section--olive h2 em,
.section--olive h3 em { color: var(--olive); }
.section--olive .label__num { color: var(--olive); }
.section--olive .label__num::after { background: var(--olive); }
.section--olive .q__input::placeholder { color: rgba(41, 42, 37, .6); }
.section--olive .btn--light { background: #292A25; border-color: #292A25; color: #F2F0E8; }
.section--olive .btn--light:hover { background: #292A25; border-color: #292A25; }
.section--olive .chip input:checked + span { background: #292A25; border-color: #292A25; color: #F2F0E8; }
.site-footer .footer-logo { fill: #292A25; }

/* Aviso informativo de cookies */
.cookie-note {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 1.5rem;
  max-width: 34rem;
  margin-left: auto;
  padding: 1.1rem 1.25rem;
  background: var(--star);
  border: 1px solid var(--line-mid);
  box-shadow: 0 14px 34px -18px rgba(41, 42, 37, .5);
  font-size: .9rem;
}
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; flex: 1 1 16rem; }
.cookie-note a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-note .btn { padding: .8rem 1.2rem; }

/* Blog */
.blog-grid { display: grid; gap: 3.5rem 2.5rem; }
@media (min-width: 800px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card a { display: grid; gap: 1rem; }
.blog-card .label { color: var(--olive-deep); }
.blog-card p:not(.label) { color: var(--ink-soft); }
.blog-card .link-line { justify-self: start; }

/* Plantilla para que el equipo complete textos */
.plantilla { padding: 1.25rem 1.4rem; border: 1px dashed var(--olive); background: rgba(216, 201, 174, .25); }
.plantilla strong { color: var(--olive-deep); }

/* --------------------------------------------------------------------------
   15. Menú móvil en arena y portada oscura con texto claro
   -------------------------------------------------------------------------- */
.mobile-menu { background: var(--sand); color: var(--carbon); }
.mobile-menu__list .label__num { color: var(--olive); }
.menu-open .site-header { color: var(--carbon); border-bottom-color: var(--line-mid); }

.hero { color: var(--star); background: var(--carbon); }
.hero__veil {
  background: linear-gradient(180deg, rgba(25, 26, 22, .55) 0%, rgba(25, 26, 22, .35) 40%, rgba(25, 26, 22, .6) 75%, rgba(25, 26, 22, .82) 100%);
}
.hero::after { border-color: rgba(242, 240, 232, .3); }
.hero__title em { color: var(--sand); }
.hero__towns li + li::before { color: var(--sand); }
.hero__media::before { filter: brightness(.55); }
.site-header.is-over-hero:not(.is-hidden) { color: var(--star); }
.menu-open .site-header.is-over-hero { color: var(--carbon); }

/* --------------------------------------------------------------------------
   16. Cuestionario: tarjeta, progreso, marcas y vista previa del mensaje
   -------------------------------------------------------------------------- */
.quiz__form {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #F2F0E8;
  border: 1px solid rgba(41, 42, 37, .14);
  box-shadow: 0 30px 60px -40px rgba(41, 42, 37, .45);
}
.quiz__form::before {
  content: "";
  position: absolute;
  inset: .55rem;
  border: 1px solid rgba(41, 42, 37, .12);
  pointer-events: none;
}
.quiz__form .q:first-of-type { border-top: 0; }

.quiz__progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.quiz__bar {
  flex: 1;
  height: 2px;
  background: rgba(41, 42, 37, .12);
  overflow: hidden;
}
.quiz__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--olive);
  transition: width .6s var(--ease-out);
}
.quiz__count {
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive);
  white-space: nowrap;
}

/* Opción marcada con su check */
.section--olive .chip span { gap: .5rem; }
.section--olive .chip input:checked + span::before {
  content: "";
  width: .7rem;
  height: .38rem;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.12rem) rotate(-45deg);
}
.section--olive .chip:hover span { border-color: var(--olive); }

.section--olive .btn--light[type="submit"] {
  width: 100%;
  padding-block: 1.3rem;
  font-size: .78rem;
}
.quiz__submit { display: grid; gap: 1rem; }

/* Burbuja de WhatsApp con el mensaje que se va a enviar */
.quiz__preview { margin-top: 2.5rem; }
.quiz__preview .label { margin-bottom: 1rem; color: var(--olive); }
.bubble {
  position: relative;
  padding: 1rem 1.15rem .7rem;
  background: #E9E1D0;
  border-radius: 0 14px 14px 14px;
  box-shadow: 0 1px 0 rgba(41, 42, 37, .12);
}
.bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-top: 10px solid #E9E1D0;
  border-left: 8px solid transparent;
}
.bubble p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  white-space: pre-line;
}
.bubble__meta {
  display: block;
  margin-top: .6rem;
  font-size: .68rem;
  letter-spacing: .1em;
  text-align: right;
  color: rgba(41, 42, 37, .6);
}
@media (max-width: 999px) {
  .quiz__preview { display: none; }
}

/* Galería */
.gallery { columns: 1; column-gap: 1rem; }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; column-gap: 1.25rem; } }
.gallery__item { display: block; margin-bottom: 1rem; overflow: hidden; break-inside: avoid; }
.gallery__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(25, 26, 22, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(25, 26, 22, .94); }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: none; color: #F2F0E8; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: .6rem 1rem; }
.lightbox__close { top: .5rem; right: .5rem; }
.lightbox__nav--prev { left: .25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: .25rem; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   17. Más limpio: solo arena, blanco estrellado y carbón, y menos líneas
   -------------------------------------------------------------------------- */
.hero::after,
.media::before,
.label__num::after,
.quiz__form::before,
.menu-card::before { display: none; }

.section--line,
.service__meta,
.tick-list,
.tick-list li,
.steps,
.step,
.town-list,
.town-list li,
.line-grid,
.line-grid li,
.principles,
.principle,
.quiz__facts,
.quiz__facts li,
.q,
.quiz__more,
.footer-main,
.mobile-menu__list,
.mobile-menu__list li { border: 0 !important; }

.label__num { gap: .6rem; }
.label__num::before { content: "—"; order: 2; opacity: .5; }
.tick-list li { padding: .45rem 0; }
.step, .principle, .line-grid li { padding-block: 1.25rem; }
.q { padding-block: 1.1rem; }
.chip span { border-color: rgba(41, 42, 37, .22); }
.section--olive .chip span { background: #fff8; }
.menu-card { border-color: rgba(41, 42, 37, .18); }
.site-footer { background: var(--sand); }

/* Botones "Pedir presupuesto": redondeados y en beige */
.header-cta,
.hero__actions .btn--solid {
  border-radius: 999px;
  background: var(--sand);
  border-color: var(--sand);
  color: var(--carbon);
}
.header-cta:hover,
.hero__actions .btn--solid:hover {
  background: var(--star);
  border-color: var(--star);
  color: var(--carbon);
}
.hero__actions .btn--solid { padding-inline: 1.9rem; }

/* --------------------------------------------------------------------------
   18. Cuestionario paso a paso y calendario
   -------------------------------------------------------------------------- */
.quiz__form.is-stepped > .q { display: none; }
.quiz__form.is-stepped > .q.is-current { display: block; animation: step-in .45s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(1.25rem); } to { opacity: 1; transform: none; } }
.quiz__form.is-stepped .q legend { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.quiz__form.is-stepped .chip span { min-height: 3rem; padding: .7rem 1.2rem; font-size: 1rem; }

.quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.quiz__nav [hidden] { display: none; }
.quiz__back {
  padding: .8rem 0;
  border: 0;
  background: none;
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}
.quiz__back::before { content: "← "; }
.quiz__next { margin-left: auto; border-radius: 999px; padding-inline: 2rem; }
.section--olive .btn--light[type="submit"] { border-radius: 999px; }
.quiz__submit[hidden] { display: none; }
.q__optional { font-size: .6em; opacity: .7; }

.date-pick { display: grid; gap: 1rem; padding-top: 1rem; }
.date-pick__field { display: grid; }
.q__input--date {
  min-height: 3.4rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(41, 42, 37, .25) !important;
  border-radius: 14px;
  background: #fff8;
  font-size: 1.1rem;
  cursor: pointer;
}
.q__input--date::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
.date-pick .chip { justify-self: start; }

/* --------------------------------------------------------------------------
   19. Cuestionario redondeado y con más vida
   -------------------------------------------------------------------------- */
.quiz__form { border-radius: 28px; border-color: rgba(41, 42, 37, .08); }
.quiz__bar { height: 6px; border-radius: 99px; background: rgba(41, 42, 37, .08); }
.quiz__bar span {
  border-radius: 99px;
  background: linear-gradient(90deg, #C9B898, #292A25);
  transition: width .7s cubic-bezier(.34, 1.56, .64, 1);
}
.quiz__cheer {
  margin: 0 0 .5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(41, 42, 37, .7);
  animation: step-in .5s var(--ease-out);
}
.chip span { transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .25s, color .25s, border-color .25s; }
.chip:hover span { transform: translateY(-2px); }
.chip:active span { transform: scale(.95); }
.chip input:checked + span { animation: chip-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes chip-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.quiz__form .q__input:not(.q__input--date) { border-radius: 14px; border: 1px solid rgba(41, 42, 37, .2) !important; padding: .75rem 1rem; background: #fff8; }
.quiz__form .q__input:focus { box-shadow: 0 0 0 3px rgba(216, 201, 174, .8) !important; }
.quiz__next, .section--olive .btn--light[type="submit"] { transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .3s; }
.quiz__next:hover, .section--olive .btn--light[type="submit"]:hover { transform: translateY(-2px); }
.quiz__form.is-last .btn--light[type="submit"] { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(41, 42, 37, .25); } 50% { box-shadow: 0 0 0 10px rgba(41, 42, 37, 0); } }
.bubble { border-radius: 4px 18px 18px 18px; }

/* Contacto */
.contact-cards { display: grid; gap: 1rem; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card {
  display: grid;
  gap: .4rem;
  padding: 1.6rem 1.75rem;
  border-radius: 24px;
  background: var(--sand);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
a.contact-card:hover { transform: translateY(-3px); }
.contact-card strong { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.5rem; line-height: 1.2; word-break: break-word; }
.contact-card span:last-child { color: var(--ink-soft); font-size: .95rem; }
.contact-quiz { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.contact-quiz .btn { border-radius: 999px; }
.menu-open .mobile-menu__list li:nth-child(5) { transition-delay: .54s; }
.nav-main { gap: clamp(1rem, 1.8vw, 2rem); }
.nav-main a { white-space: nowrap; letter-spacing: .16em; }
@media (min-width: 900px) and (max-width: 1150px) { .header-cta { padding-inline: .9rem; font-size: .66rem; } .nav-main a { font-size: .66rem; } }

/* --------------------------------------------------------------------------
   20. Botones más bonitos: píldora, sombra suave, brillo y flecha animada
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 1.05rem 1.9rem;
  letter-spacing: .18em;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s var(--ease), background-color .35s, color .35s, border-color .35s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(41, 42, 37, .55); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }

.btn--solid,
.section--olive .btn--light {
  background: linear-gradient(180deg, #3A3B34, #292A25);
  border-color: #292A25;
  color: #F2F0E8;
  box-shadow: 0 8px 18px -12px rgba(41, 42, 37, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn--solid:hover,
.section--olive .btn--light:hover { background: linear-gradient(180deg, #44453D, #2F302A); color: #F2F0E8; }

.header-cta,
.hero__actions .btn--solid {
  background: linear-gradient(180deg, #E6DAC4, #D8C9AE);
  border-color: transparent;
  color: #292A25;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.header-cta { border-radius: 999px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s; }
.header-cta:hover,
.hero__actions .btn--solid:hover { background: linear-gradient(180deg, #F2F0E8, #E6DAC4); color: #292A25; transform: translateY(-2px); }

.btn--ghost-light,
.btn:not(.btn--solid):not(.btn--light) {
  background: rgba(255, 255, 255, .35);
  border-color: rgba(41, 42, 37, .25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn .arrow { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.btn:hover .arrow { transform: translateX(.45rem); }

.wa-float {
  background: linear-gradient(180deg, #3A3B34, #292A25);
  box-shadow: 0 14px 30px -12px rgba(41, 42, 37, .6), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.wa-float:hover { transform: translate(-50%, -2px); }

.chip input:checked + span { box-shadow: 0 6px 14px -8px rgba(41, 42, 37, .6); }
.burst-balloon { filter: drop-shadow(0 6px 6px rgba(41, 42, 37, .18)); }

/* Acceso con código */
.is-gated main, .is-gated .site-footer { visibility: hidden; }
.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--star);
}
.gate[hidden] { display: none; }
.gate__box {
  display: grid;
  gap: .9rem;
  width: min(100%, 24rem);
  padding: 2.25rem 2rem;
  border-radius: 28px;
  background: var(--sand);
  text-align: center;
}
.gate__input {
  padding: .9rem 1rem;
  border: 1px solid rgba(41, 42, 37, .25);
  border-radius: 14px;
  background: #fff8;
  font: inherit;
  font-size: 1.3rem;
  letter-spacing: .4em;
  text-align: center;
}
.gate__error { margin: 0; color: #8a2e1f; font-size: .9rem; }
.gate__back { font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }

/* Botón flotante de WhatsApp en su verde */
.wa-float {
  background: linear-gradient(180deg, #2BD96B, #25D366);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(18, 140, 126, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.wa-float:hover { background: linear-gradient(180deg, #25D366, #1EBE5A); }

/* Opciones: hundidas sin elegir, en relieve al elegirlas */
.chip span {
  background: #ECE7DB !important;
  border-color: transparent !important;
  box-shadow: inset 0 2px 5px rgba(41, 42, 37, .18), inset 0 -1px 0 rgba(255, 255, 255, .7);
  transform: translateY(1px);
}
.chip:hover span { transform: translateY(0); }
.chip input:checked + span {
  background: linear-gradient(180deg, #3A3B34, #292A25) !important;
  color: #F2F0E8 !important;
  box-shadow: 0 10px 18px -8px rgba(41, 42, 37, .6), 0 2px 0 rgba(41, 42, 37, .25), inset 0 1px 0 rgba(255, 255, 255, .15);
  transform: translateY(-3px);
}

/* Flecha de "Pedir presupuesto" en movimiento constante para invitar a pulsar */
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(.45rem); }
}
.btn .arrow { animation: nudge 1.4s ease-in-out infinite; }
.btn:hover .arrow { animation-duration: .7s; }
@media (prefers-reduced-motion: reduce) {
  .btn .arrow { animation: nudge 1.4s ease-in-out infinite !important; animation-iteration-count: infinite !important; animation-duration: 1.4s !important; }
}

/* Aviso de cookies redondeado */
.cookie-note { border-radius: 24px; padding: 1.2rem 1.4rem; border-color: rgba(41, 42, 37, .12); }

/* Consentimiento de cookies */
.cookie-note { display: grid; gap: .8rem; max-width: 30rem; }
.cookie-note__title { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.25rem; }
.cookie-note p { flex: none; }
.cookie-note__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-note__actions .btn { flex: 1 1 auto; padding: .8rem 1rem; font-size: .68rem; }
.cookie-note__actions [hidden] { display: none; }
.cookie-note__panel { display: grid; gap: .6rem; padding: .25rem 0; }
.cookie-note__panel[hidden] { display: none; }
.cookie-opt { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.cookie-opt input { margin-top: .2rem; accent-color: #292A25; width: 1.05rem; height: 1.05rem; }
.cookie-opt strong { display: block; }
.footer-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cookie-note__actions [data-cookie-config] { order: 3; flex-basis: 100%; }

/* Menú móvil semitransparente: se intuye la web detrás, desenfocada */
.mobile-menu.has-sky { background: rgba(242, 240, 232, .25); }
.menu-open .mobile-menu.has-sky { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.menu-sky { opacity: .78; }


/* Cabecera al bajar: beige semitransparente, sin línea */
.site-header.is-solid { background: rgba(216, 201, 174, .6) !important; border-bottom-color: transparent !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.menu-open .site-header, .menu-open .site-header.is-solid { border-bottom-color: transparent !important; }

/* Menú aún más transparente y animación más lenta */
.mobile-menu.has-sky { background: rgba(242, 240, 232, .12); }
.menu-sky { opacity: .6; }
.mobile-menu__list li { transition-duration: 1s, 1.2s; }
.menu-open .mobile-menu__list li:nth-child(1) { transition-delay: .35s; }
.menu-open .mobile-menu__list li:nth-child(2) { transition-delay: .45s; }
.menu-open .mobile-menu__list li:nth-child(3) { transition-delay: .55s; }
.menu-open .mobile-menu__list li:nth-child(4) { transition-delay: .65s; }
.menu-open .mobile-menu__list li:nth-child(5) { transition-delay: .75s; }

/* Mientras se despliega se sigue viendo la web: el velo y el desenfoque llegan poco a poco */
.mobile-menu.has-sky { -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); background: rgba(242, 240, 232, 0); }
.menu-open .mobile-menu.has-sky, .menu-open .mobile-menu.has-sky.is-revealing {
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  background: rgba(242, 240, 232, .12);
  transition: backdrop-filter 1.7s ease, -webkit-backdrop-filter 1.7s ease, background-color 1.7s ease !important;
}

/* --------------------------------------------------------------------------
   21. Selector de idioma (abajo a la izquierda)
   Quieto mientras nadie lo toca. Al pasar por encima se insinúa el giro y al
   pulsarlo da media vuelta: la bandera del otro idioma sube arriba (siguiendo
   las flechas) y se cambia de página. Las banderas giran al revés que la
   rueda para mantenerse siempre derechas.
   -------------------------------------------------------------------------- */
.lang-switch {
  --turn: 0deg;
  --now: 1;
  --next: .62;
  --spin: cubic-bezier(.34, 1.56, .64, 1);
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 46;
  width: 4.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  color: var(--carbon);
  -webkit-tap-highlight-color: transparent;
  transition: opacity .3s var(--ease), visibility 0s linear 0s;
}
.lang-switch__wheel {
  position: absolute;
  inset: 0;
  transform: rotate(var(--turn));
  transition: transform .55s var(--spin);
}
.lang-switch__arrows { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; transition: opacity .3s var(--ease); }
.lang-switch:hover .lang-switch__arrows, .lang-switch.is-turning .lang-switch__arrows { opacity: 1; }
.lang-switch__flag {
  position: absolute;
  left: 57%;
  top: 30%;
  width: 34%;
  transform: translate(-50%, -50%) rotate(calc(var(--turn) * -1)) scale(var(--now));
  transition: transform .55s var(--spin);
}
.lang-switch__flag--next {
  top: 70%;
  left: 43%;
  transform: translate(-50%, -50%) rotate(calc(var(--turn) * -1)) scale(var(--next));
}
.lang-switch__flag svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: none;
}
@media (hover: hover) {
  .lang-switch:hover { --turn: 18deg; }
}
.lang-switch:focus-visible { --turn: 18deg; outline: 2px solid var(--carbon); outline-offset: 3px; }
/* Media vuelta al pulsar: un pequeño impulso hacia atrás, el giro y un rebote al llegar */
.lang-switch.is-turning { --turn: 180deg; --now: .62; --next: 1; --spin: cubic-bezier(.6, -.28, .3, 1.3); }
.lang-switch.is-turning .lang-switch__wheel,
.lang-switch.is-turning .lang-switch__flag { transition-duration: .8s; }
@media (max-width: 899px) {
  .lang-switch { width: 3.6rem; }
}
/* El giro solo ocurre cuando se toca, así que se mantiene con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .lang-switch__wheel,
  .lang-switch__flag { transition-duration: .55s !important; }
  .lang-switch.is-turning .lang-switch__wheel,
  .lang-switch.is-turning .lang-switch__flag { transition-duration: .8s !important; }
}
/* Flecha de los botones con el mismo diseño que el selector de idioma: estela que aparece y punta sólida */
.arrow {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}
/* Sin fondo: halo claro para que flechas y banderas se lean sobre fotos y vídeo */
.lang-switch__arrows { filter: drop-shadow(0 0 1.5px rgba(242, 240, 232, .9)) drop-shadow(0 0 4px rgba(242, 240, 232, .6)); }
.lang-switch__flag svg { filter: drop-shadow(0 2px 4px rgba(41, 42, 37, .3)); }
