/* ==========================================================================
   Magical Soundscape — hoja de estilos principal
   Paleta heredada del sitio original: crema, arena y verde profundo.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --cream:        #F9F0E1;
  --cream-deep:   #F1E5D0;
  --sand:         #B2A58D;
  --sand-soft:    #D8CDB8;
  --ink:          #232E2D;
  --ink-soft:     #4A5654;
  --ink-faint:    #6E7A77;
  --accent:       #8C6A3F;
  --accent-soft:  #B08A55;

  --bg:           var(--cream);
  --bg-alt:       var(--cream-deep);
  --surface:      #FFFDF8;
  --text:         var(--ink);
  --text-soft:    var(--ink-soft);
  --text-faint:   var(--ink-faint);
  --border:       rgba(35, 46, 45, .14);
  --shadow:       0 1px 2px rgba(35,46,45,.05), 0 8px 24px -12px rgba(35,46,45,.18);
  --shadow-lg:    0 2px 4px rgba(35,46,45,.06), 0 24px 48px -20px rgba(35,46,45,.28);

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --radius:    14px;
  --radius-lg: 22px;
  --wrap:      1180px;
  --prose:     72ch;
  --header-h:  68px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #141A19;
    --bg-alt:    #1A2221;
    --surface:   #1E2726;
    --text:      #ECE3D2;
    --text-soft: #C3BCAE;
    --text-faint:#96907F;
    --sand:      #9C927C;
    --sand-soft: #3A4442;
    --accent:    #D0A96C;
    --accent-soft: #E0C08A;
    --border:    rgba(236, 227, 210, .16);
    --shadow:    0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.35), 0 24px 48px -20px rgba(0,0,0,.7);
  }
}

:root[data-theme="dark"] {
  --bg:        #141A19;
  --bg-alt:    #1A2221;
  --surface:   #1E2726;
  --text:      #ECE3D2;
  --text-soft: #C3BCAE;
  --text-faint:#96907F;
  --sand:      #9C927C;
  --sand-soft: #3A4442;
  --accent:    #D0A96C;
  --accent-soft: #E0C08A;
  --border:    rgba(236, 227, 210, .16);
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.35), 0 24px 48px -20px rgba(0,0,0,.7);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, video, canvas, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }

a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-soft); }

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

/* --- Tipografia --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.1vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); color: var(--text-soft); }

/* --- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--alt { background: var(--bg-alt); }
main { flex: 1 0 auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --- Cabecera ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { line-height: 1.15; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  display: inline-block;
  padding: .48rem .72rem;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.nav a:hover { background: var(--sand-soft); color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--sand-soft); font-weight: 600; }

.header-tools { display: flex; align-items: center; gap: .35rem; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--text-soft);
  transition: background-color .18s ease, color .18s ease;
}
.icon-btn:hover { background: var(--sand-soft); color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
    padding: .8rem clamp(1.15rem, 4vw, 2.5rem) 1.4rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .7rem .9rem; border-radius: var(--radius); font-size: 1rem; }
}

/* --- Hero --------------------------------------------------------------- */
/* El banner original lleva el logotipo y el nombre incrustados, asi que se
   muestra completo (sin recortar) y el titular va debajo. */
.hero__banner {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 440;
  object-fit: cover;
  background: var(--ink);
}
.hero__text {
  padding-block: clamp(2rem, 5vw, 3.6rem);
  max-width: min(var(--wrap), 100%);
}
.hero__text .eyebrow { display: block; margin-bottom: .7rem; }
.hero__text h1 { max-width: 17ch; }
.hero__text p.lead { max-width: 60ch; margin-top: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }

/* --- Cabecera de pagina interior ---------------------------------------- */
.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(2.4rem, 5vw, 4rem);
}
.page-head p.lead { max-width: var(--prose); margin-top: .85rem; }
.page-head .eyebrow { margin-bottom: .6rem; display: block; }

/* --- Botones ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #FFF9EC; }
.btn--primary:hover { background: var(--accent-soft); color: #24211B; }
.btn--ghost { border-color: rgba(249,240,225,.55); color: #F9F0E1; }
.btn--ghost:hover { background: rgba(249,240,225,.14); color: #FFF9EC; }
.btn--outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

/* --- Prosa -------------------------------------------------------------- */
.prose { max-width: var(--prose); }
.prose > * + * { margin-top: 1.15rem; }
.prose p { color: var(--text-soft); }
.prose h2, .prose h3 { color: var(--text); margin-top: 2.2rem; }
.prose strong { color: var(--text); font-weight: 650; }

/* Bloque texto + imagen alternos */
.feature {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 880px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature--reverse .feature__media { order: 2; }
}
.feature + .feature { margin-top: clamp(2.6rem, 6vw, 4.5rem); }
.feature__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 879px) { .feature__media { position: static; } }
.feature__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature__body > * + * { margin-top: 1.05rem; }
.feature__body p { color: var(--text-soft); }

/* --- Tarjetas ----------------------------------------------------------- */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--text-soft); font-size: .97rem; }
.card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--sand-soft);
  color: var(--accent);
  margin-bottom: .3rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__more { margin-top: auto; padding-top: .6rem; font-weight: 600; font-size: .93rem; color: var(--accent); }

/* Lista de definiciones (patrones, tematicas) */
.deflist { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.deflist__item {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.2rem 1.3rem;
}
.deflist__item dt { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin-bottom: .35rem; }
.deflist__item dd { margin: 0; color: var(--text-soft); font-size: .97rem; }

/* --- Videos ------------------------------------------------------------- */
.serie { scroll-margin-top: calc(var(--header-h) + 20px); }
.serie + .serie { margin-top: clamp(3rem, 7vw, 5rem); }
.serie__head { border-top: 1px solid var(--border); padding-top: 2rem; margin-bottom: 1.8rem; }
.serie__head .eyebrow { display: block; margin-bottom: .45rem; }
.serie__head p { max-width: var(--prose); margin-top: .9rem; color: var(--text-soft); }

.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.video-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.video-card__body h3 { font-size: 1.08rem; line-height: 1.3; }
.video-card__body p { font-size: .945rem; color: var(--text-soft); }

/* Fachada de YouTube: el iframe solo se carga al hacer clic */
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d1211 center/cover no-repeat;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
  display: block;
}
.yt::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.42));
  transition: background .2s ease;
}
.yt:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.3)); }
.yt__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 66px; height: 46px;
  border-radius: 12px;
  background: rgba(20,26,25,.72);
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.yt:hover .yt__play { background: #C4302B; transform: scale(1.06); }
.yt__play svg { width: 24px; height: 24px; fill: #fff; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Galeria ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: .9rem;
}
.gallery button {
  border: 0; padding: 0; background: none; cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.gallery button:hover img { transform: scale(1.045); filter: brightness(1.05); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(12,16,15,.9); backdrop-filter: blur(4px); }
.lightbox__inner { display: grid; place-items: center; width: 100%; height: 100%; padding: clamp(.75rem, 3vw, 2.5rem); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius); object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox__caption { color: rgba(249,240,225,.75); font-size: .88rem; margin-top: .9rem; text-align: center; }
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(249,240,225,.28);
  background: rgba(20,26,25,.6);
  color: #F9F0E1;
  cursor: pointer;
  display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(20,26,25,.92); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__next { right: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__close { top: clamp(.5rem, 2vw, 1.5rem); right: clamp(.5rem, 2vw, 1.5rem); transform: none; }

/* --- Equipo ------------------------------------------------------------- */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2rem);
  justify-content: center;
}
.team img {
  width: clamp(92px, 12vw, 132px);
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
  background: var(--sand-soft);
}

/* --- Franja de cita ----------------------------------------------------- */
.quote {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 5vw, 3.2rem);
  text-align: center;
}
.quote p {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.85rem);
  line-height: 1.4;
  max-width: 46ch;
  margin-inline: auto;
  color: #F6EDDD;
}
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }

/* --- Aviso -------------------------------------------------------------- */
.note {
  border: 1px solid var(--border);
  border-left: 3px solid var(--sand);
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  font-size: .96rem;
  color: var(--text-soft);
  max-width: var(--prose);
}

/* --- Pie ---------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(249,240,225,.72);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  margin-top: auto;
  font-size: .93rem;
}
.site-footer a { color: rgba(249,240,225,.9); }
.site-footer a:hover { color: #E3CFA6; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(249,240,225,.16);
}
.footer-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: .8rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.1rem; color: #F6EDDD; font-weight: 600; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .85rem;
}
.footer-links { list-style: none; padding: 0; display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .88rem;
  color: rgba(249,240,225,.6);
}
.footer-credit a { font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(227,207,166,.5); }
.footer-credit a:hover { border-bottom-color: #E3CFA6; }

/* --- Utilidades --------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; margin-inline: auto; }
.mt-l { margin-top: clamp(2rem, 4vw, 3rem); }

/* Aparicion suave al hacer scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .site-footer, .hero__actions, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

.video-card__alt {
  font-size: .85rem;
  color: var(--text-faint);
  border-left: 2px solid var(--sand-soft);
  padding-left: .7rem;
}

/* --- Formulario de contacto --------------------------------------------- */
.form {
  max-width: 640px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
}
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--text); }
.field input, .field textarea {
  width: 100%;
  padding: .72rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #B3453B; }

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .65rem;
}
.field--check input { width: 1.1rem; height: 1.1rem; margin-top: .35rem; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-size: .9rem; color: var(--text-soft); }

.req { color: var(--accent); }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.2rem;
  margin-top: .3rem;
}
.form__note { font-size: .82rem; color: var(--text-faint); margin: 0; }
.form button[type="submit"]:disabled { opacity: .6; cursor: progress; }

/* Campo trampa para robots: fuera de la vista y del foco. */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__status {
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  font-size: .95rem;
  border: 1px solid var(--border);
}
.form__status--ok {
  background: color-mix(in srgb, #3E7D5A 14%, var(--surface));
  border-color: color-mix(in srgb, #3E7D5A 45%, transparent);
  color: var(--text);
}
.form__status--error {
  background: color-mix(in srgb, #B3453B 12%, var(--surface));
  border-color: color-mix(in srgb, #B3453B 42%, transparent);
  color: var(--text);
}

/* --- Pie: rotulos de columna -------------------------------------------- */
.footer-h {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .85rem;
}

/* --- Anchos de bloque --------------------------------------------------- */
.narrow { max-width: 62ch; }
.narrow-left { max-width: 62ch; margin-inline: 0; }

/* --- Detalles ----------------------------------------------------------- */
.gallery--static { pointer-events: none; }
.quote { border: 0; }
.lightbox figure { margin: 0; text-align: center; }
.deflist dl, dl.deflist { margin: 0; }
