/* ==========================================================================
   Casa Cho Juan — hand-written stylesheet
   Same layout system as the Casa da Maestra rebuild (bands with diagonal and
   "boat" edges, 960px grid, Poppins/Playfair/Source Sans/Sacramento), re-skinned:
   orange is the dominant colour, green the highlight.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, latin + latin-ext subsets)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-pro-400.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-display-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Sacramento";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sacramento-400.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colours */
  --c-dark: #7a2e04;          /* header, welcome, amenities, footer (deep burnt orange) */
  --c-teal: #c45f0b;          /* main bands: gallery, directions, form (orange) */
  --c-paper: #fff7ee;         /* text on dark backgrounds / light section bg */
  --c-ink: #2c2c2c;           /* text on the light "Reservas" hero */
  --c-orange: #b9e35a;        /* highlight on dark backgrounds (green) */
  --c-orange-light: #e3ff9c;  /* highlight on orange bands (light green) */
  --c-green: #4f8a2b;         /* button background, links on light bg */
  --c-green-light: #8ed15a;   /* form focus ring */
  --accent: var(--c-orange);  /* overridden per section */

  /* Typography */
  --f-body: "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-accent: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-script: "Sacramento", "Brush Script MT", cursive;

  /* Layout */
  --container: 992px;         /* 960px content + 2 × 16px gutter */
  --gutter: 16px;
  --overlap: 100px;           /* how far each band slides under the previous one */
  --radius-img: 12px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-dark);
  color: var(--c-paper);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.3;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

a { color: inherit; }

p { margin: 1em 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: 400;
  line-height: 1.5;
}
h1 { font-size: 45px; margin: 0.67em 0; }
h2 { font-size: 37px; margin: 0.83em 0; }
h3 { font-size: 30px; margin: 1em 0; }
h4 { font-size: 26px; margin: 1.33em 0; }
h5 { font-size: 22px; margin: 1.67em 0; }
h6 { font-size: 18px; margin: 2.33em 0; }

/* Heading that is semantically an h1 but keeps the h2 look of the original design */
.as-h2 { font-size: 37px; margin: 0.83em 0; }
/* Decorative sub-heading ("Casa + Familia = Felicidad"), formerly an h6 */
.subheading {
  font-family: var(--f-heading);
  font-size: 18px;
  line-height: 1.5;
  margin: 2.33em 0;
}

/* Inline helpers used by the content */
.accent  { font-family: var(--f-accent); }
.orange  { color: var(--accent); }
.center  { text-align: center; }

/* Visible placeholder for copy that still has to be written */
.todo {
  outline: 1px dashed rgba(254, 249, 250, 0.45);
  outline-offset: 4px;
  opacity: 0.85;
}
.todo::before {
  content: "TODO: ";
  font-family: var(--f-accent);
  font-weight: 400;
  color: var(--accent);
}

.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;
}

/* --------------------------------------------------------------------------
   4. Grid
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--gutter);
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col {
  padding: 8px 4px;
  flex: 0 0 100%;
  max-width: 100%;
}
.col--pad { padding: 8px 16px; }          /* modules that carry extra inner padding */
.col--right { display: flex; justify-content: flex-end; }

/* phones: < 768px */
.xs-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
.xs-6  { flex-basis: 50%; max-width: 50%; }
.xs-8  { flex-basis: 66.6667%; max-width: 66.6667%; }
.xs-10 { flex-basis: 83.3333%; max-width: 83.3333%; margin-left: auto; margin-right: auto; }

/* tablets: 768px – 1023px */
@media (min-width: 768px) {
  .sm-2  { flex-basis: 16.6667%; max-width: 16.6667%; }
  .sm-3  { flex-basis: 25%; max-width: 25%; }
  .sm-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
  .sm-6  { flex-basis: 50%; max-width: 50%; }
  .sm-8  { flex-basis: 66.6667%; max-width: 66.6667%; }
  .sm-12 { flex-basis: 100%; max-width: 100%; }
}

/* desktop: ≥ 1024px */
@media (min-width: 1024px) {
  .md-2  { flex-basis: 16.6667%; max-width: 16.6667%; }
  .md-3  { flex-basis: 25%; max-width: 25%; }
  .md-4  { flex-basis: 33.3333%; max-width: 33.3333%; }
  .md-6  { flex-basis: 50%; max-width: 50%; }
  .md-8  { flex-basis: 66.6667%; max-width: 66.6667%; }
}

/* --------------------------------------------------------------------------
   5. Bands — full-width colour sections that overlap the previous one by
      100px so the diagonal / boat edge of the previous band shows on top.
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  margin-top: calc(-1 * var(--overlap));
  padding-top: var(--overlap);
  background-color: var(--c-dark);
  color: var(--c-paper);
}
.site-header {
  margin-top: 0;
  padding-top: 0;
}
.band__inner { padding-bottom: var(--overlap); }
.band--last .band__inner { padding-bottom: 0; }

.band--teal,
.band--main {
  background-color: var(--c-teal);
  --accent: var(--c-orange-light);
}
.band--paper {
  background-color: var(--c-paper);
  color: var(--c-ink);
}

.band--diagonal {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--overlap)), 0 100%);
}
.band--boat {
  border-radius: 0 0 1000px 1000px / 0 0 100px 100px;
}

/* Stacking order: each band sits under the one above it */
#cabecera        { z-index: 99; }
#portada         { z-index: 97; }
#sobre-nosotros  { z-index: 96; }
#nuestra-casa    { z-index: 95; }
#equipamiento    { z-index: 94; }
#colaboradores   { z-index: 93; }
#direcciones,
#formulario,
#unidades        { z-index: 96; }
#pie             { z-index: 90; }

/* Photo backgrounds. The JPEG is the fallback, image-set() picks WebP where supported. */
.band--photo {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header .container {
  position: relative;
  padding-top: 8px;
}

.site-logo {
  display: block;
  width: 66%;
  margin: 0 auto;
  padding-top: 8px;
}
.site-logo img { width: 100%; }
.footer-logo { display: block; width: 100%; }

/* Language switch (flags: ES · GL · EN) ---------------------------------- */
.lang-switch {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 4px;
}
.lang-switch__item {
  display: block;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 50%;
  line-height: 0;
  opacity: 0.65;
  transition: opacity 0.15s, border-color 0.15s;
}
/* round flags: the SVG is cropped to a centred square (preserveAspectRatio slice) then clipped */
.lang-switch__item svg {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.lang-switch__item:hover,
.lang-switch__item:focus-visible { opacity: 1; }
.lang-switch__item.is-current {
  opacity: 1;
  border-color: var(--c-paper);
}

/* Navigation ------------------------------------------------------------- */
.site-nav {
  margin-top: 8px;
  padding-bottom: 16px;
}

.site-nav__toggle,
.site-nav__burger,
.site-nav__backdrop { display: none; }

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}
.site-nav__list li {
  max-width: 300px;
  margin-right: 8px;
  border: 2px solid transparent;
  border-radius: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: border-color 0.15s;
}
.site-nav__list li:last-child { margin-right: 0; }
.site-nav__list li:hover { border-color: rgba(254, 249, 250, 0.1); }
.site-nav__list li.is-active { border-color: var(--c-paper); }
.site-nav__list a {
  display: block;
  padding: 8px 10px;
  line-height: 20px;
  color: inherit;
  text-decoration: none;
}

/* Script tagline under the nav */
.tagline {
  margin: 18px 0;
  text-align: center;
  font-family: var(--f-script);
  font-size: 40px;
  line-height: 1.45;
}
.tagline strong { font-weight: 700; }

/* Social / contact icon row */
.social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: block;
  margin: 4px;
}
.social svg {
  display: block;
  width: 36px;
  height: 36px;
  fill: var(--c-paper);
  transition: opacity 0.15s;
}
.social a:hover svg,
.social a:focus-visible svg { opacity: 0.85; }

/* Mobile / tablet navigation (pure CSS, checkbox driven) ---------------- */
@media (max-width: 1023px) {
  .site-header .container { padding-top: 24px; }

  .tagline { display: none; }

  .site-nav { margin-top: 0; padding-bottom: 28px; }

  /* on phones/tablets the burger takes the top-right corner, the flags move top-left */
  .lang-switch {
    top: 12px;
    right: auto;
    left: 12px;
  }

  .site-nav__burger {
    display: block;
    position: absolute;
    top: 12px;
    right: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 202;
  }
  .site-nav__burger svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: var(--c-paper);
  }
  .site-nav__burger .icon-close { display: none; }

  .site-nav__list {
    display: none;
    position: fixed;
    top: 8px;
    left: 0;
    width: 100%;
    max-height: 568px;
    overflow-y: auto;
    padding: 64px 0;
    background: var(--c-dark);
    box-shadow: 0 12px 12px -12px rgba(0, 0, 0, 0.4);
    text-align: center;
    z-index: 200;
  }
  .site-nav__list li {
    width: 100%;
    max-width: none;
    margin: 0;
    border: none;
    border-radius: 0;
  }
  .site-nav__list a {
    display: inline-block;
    width: auto;
    padding: 6px;
  }
  .site-nav__list li.is-active a { text-decoration: underline; text-underline-offset: 4px; }

  .site-nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,.4) 20%, rgba(0,0,0,.4) 100%);
  }

  .site-nav__toggle:checked ~ .site-nav__list,
  .site-nav__toggle:checked ~ .site-nav__backdrop { display: block; }
  .site-nav__toggle:checked ~ .site-nav__burger .icon-menu  { display: none; }
  .site-nav__toggle:checked ~ .site-nav__burger .icon-close { display: block; }
  .site-nav__toggle:focus-visible ~ .site-nav__burger { outline: 2px solid var(--c-paper); outline-offset: 2px; }
}

@media (max-width: 767px) {
  .social svg { width: 27px; height: 27px; }
}

/* --------------------------------------------------------------------------
   7. Hero bands
   -------------------------------------------------------------------------- */
/* Home: full-viewport photo */
.hero-home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--overlap));
  padding: 32px var(--gutter);
}
#portada.band--home {
  background-position: 50% 60%;
  background-image: url("../img/hero-casa.jpg");
  background-image: image-set(url("../img/hero-casa.webp") type("image/webp"), url("../img/hero-casa.jpg") type("image/jpeg"));
}
@media (min-width: 1024px) {
  /* The original used a fixed (parallax-like) background on desktop only */
  #portada.band--home { background-attachment: fixed; }
}

/* Page title over a photo (Contacto) */
.hero-title { padding: 40px var(--gutter); }
.hero-title h1 { text-align: center; margin: 0.67em 0; }
#portada.band--contacto {
  background-position: 50% 55%;
  background-image: linear-gradient(rgba(44,44,44,.35), rgba(44,44,44,.35)), url("../img/hero-contacto.jpg");
  background-image: linear-gradient(rgba(44,44,44,.35), rgba(44,44,44,.35)), image-set(url("../img/hero-contacto.webp") type("image/webp"), url("../img/hero-contacto.jpg") type("image/jpeg"));
}
#portada.band--video {
  background-position: 50% 40%;
  background-image: linear-gradient(rgba(122,46,4,.45), rgba(122,46,4,.45)), url("../img/hero-video.jpg");
  background-image: linear-gradient(rgba(122,46,4,.45), rgba(122,46,4,.45)), image-set(url("../img/hero-video.webp") type("image/webp"), url("../img/hero-video.jpg") type("image/jpeg"));
}

/* Short photo strip (Dónde estamos) */
.hero-strip { height: 30px; }
#portada.band--donde {
  background-position: 50% 45%;
  background-image: linear-gradient(rgba(196,95,11,.35), rgba(196,95,11,.35)), url("../img/hero-donde-estamos.jpg");
  background-image: linear-gradient(rgba(196,95,11,.35), rgba(196,95,11,.35)), image-set(url("../img/hero-donde-estamos.webp") type("image/webp"), url("../img/hero-donde-estamos.jpg") type("image/jpeg"));
}

/* Light photo with text on the right half (Reservas) */
#portada.band--reservas {
  --accent: var(--c-green);
  background-position: 30% 50%;
  background-image: linear-gradient(90deg, rgba(255,247,238,.15) 0%, rgba(255,247,238,.9) 50%, rgba(255,247,238,.97) 100%), url("../img/hero-reservas.jpg");
  background-image: linear-gradient(90deg, rgba(255,247,238,.15) 0%, rgba(255,247,238,.9) 50%, rgba(255,247,238,.97) 100%), image-set(url("../img/hero-reservas.webp") type("image/webp"), url("../img/hero-reservas.jpg") type("image/jpeg"));
}
@media (max-width: 1023px) {
  #portada.band--reservas {
    background-image: linear-gradient(rgba(255,247,238,.88), rgba(255,247,238,.95)), url("../img/hero-reservas.jpg");
    background-image: linear-gradient(rgba(255,247,238,.88), rgba(255,247,238,.95)), image-set(url("../img/hero-reservas.webp") type("image/webp"), url("../img/hero-reservas.jpg") type("image/jpeg"));
  }
}
.hero-split { padding: 32px var(--gutter); }
.hero-split__spacer { display: none; }
@media (min-width: 1024px) {
  .hero-split__spacer { display: block; }
}
.hero-split__text { padding-top: 60px; padding-bottom: 60px; }
.hero-split__text h1 { color: var(--c-green); }
.band--paper a { color: var(--c-green); }

/* --------------------------------------------------------------------------
   8. Content sections
   -------------------------------------------------------------------------- */
/* Sobre nosotros */
.about { align-items: center; }
.about__figure { padding: 8px 16px; }
.about__figure img { width: 100%; }
.notice {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(254, 249, 250, 0.2);
}
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.about .as-h2 .accent { font-size: 32px; }
.about__photo { border-radius: var(--radius-img); }
.pets { align-items: center; margin-top: 8px; }
.pets__img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.pets h5 { margin: 0 0 4px; }
.pets p { margin: 0; }

/* Nuestra casa — card gallery */
.gallery-card {
  display: flex;
  flex-direction: column;
}
.gallery-card__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-img);
}
.gallery-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card h4 { margin: 20px 0 4px; }
.gallery-card p  { margin-top: 6px; }

/* Servicios y equipamiento */
.amenities h5 { margin: 1em 0 0.5em; }
.amenities ul,
.places {
  margin: 0 0 1em;
  padding-left: 1.1em;
}
.amenities li,
.places li { margin: 0.25em 0; }

/* Colaboradores — white badge images linking to partner / listing sites */
.partners { align-items: center; }
.partners .col {
  display: flex;
  justify-content: center;
  padding: 16px 8px;
}
.partner-link {
  display: flex;
  justify-content: center;
  width: 100%;
}
.partner-link img {
  display: block;
  width: 100%;
  max-width: 357px;      /* natural badge width; scales down with the column */
  height: auto;
  border-radius: var(--radius-img);
  transition: opacity 0.15s;
}
.partner-link:hover img,
.partner-link:focus-visible img { opacity: 0.9; }

.small { font-size: 15px; opacity: 0.85; }

/* Reservas: the two dwellings */
.units { margin-bottom: 8px; }
.unit {
  height: 100%;
  padding: 20px 24px;
  border: 1px solid rgba(255, 247, 238, 0.3);
  border-radius: var(--radius-img);
  background: rgba(0, 0, 0, 0.08);
}
.unit__title { margin: 0 0 4px; font-size: 26px; }
.unit__cap { margin: 0 0 12px; color: var(--accent); }
.unit ul { margin: 0; padding-left: 1.1em; }
.unit li { margin: 0.25em 0; }
.as-h3 { font-size: 26px; margin: 1em 0 0.4em; }

/* Contacto: white diagonal band with the original business card and "el lápiz de Elisa" */
.band--white {
  background-color: #fff;
  color: var(--c-ink);
}
.hero-card { padding: 40px 16px 24px; }
.biz-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}
.biz-card__img { display: block; max-width: 585px; width: 100%; }
.biz-card__img img { border-radius: 0; }   /* the card image carries its own shadow on white */
.biz-card__pencil { flex: 0 0 auto; width: 56px; height: auto; margin-top: -16px; transform: rotate(6deg); }
@media (max-width: 767px) {
  .hero-card { padding: 28px 12px 16px; }
  .biz-card { gap: 10px; }
  .biz-card__img { max-width: calc(100% - 62px); }   /* leave room for the (slightly tilted) pencil */
  .biz-card__pencil { width: 34px; margin-top: -8px; margin-right: 6px; transform: rotate(3deg); }
}

/* Vídeo */
.video-wrap { max-width: 960px; margin: 0 auto; padding: 0 4px 16px; }
.video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-img);
  background: rgba(0, 0, 0, 0.2);
}
.embed-consent { position: relative; overflow: hidden; }
.embed-consent__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.embed-consent__body { position: relative; }

/* Dónde estamos */
.map {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  background: rgba(0, 0, 0, 0.15);
}
@media (max-width: 767px) {
  .map { height: 480px; }
}
/* Placeholder shown until the visitor agrees to load Google Maps / YouTube */
.embed-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  border: 2px dashed rgba(254, 249, 250, 0.35);
  border-radius: var(--radius-img);
}
.embed-consent__title { margin: 0 0 8px; font-size: 22px; }
.embed-consent__text  { max-width: 440px; margin: 0 auto 20px; font-size: 16px; opacity: 0.9; }
.embed-consent__link  { display: inline-block; margin-top: 16px; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.btn--auto { width: auto; min-width: 200px; }

/* --------------------------------------------------------------------------
   9. Contact form
   -------------------------------------------------------------------------- */
.form-wrap { padding: 8px 20px; }
.contact-info { padding: 8px 16px; }
.contact-info a { text-decoration: underline; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; }

.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 4px 0;
  padding: 12px 16px;
  border: 2px solid var(--c-paper);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
}
.form-control:focus { border-color: var(--c-green-light); }
textarea.form-control { resize: vertical; }

/* Custom checkbox: native input is visually hidden, the span draws the box */
.form-check {
  display: flex;
  align-items: center;
  position: relative;
}
.form-check input {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  z-index: 1;          /* stays above the drawn box so clicks reach the real checkbox */
  cursor: pointer;
}
.form-check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border: 2px solid var(--c-paper);
  position: relative;
  pointer-events: none; /* purely decorative; the invisible input receives the click */
}
.form-check label { cursor: pointer; }
.form-check input:checked + .form-check__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 6px;
  height: 11px;
  border: solid var(--c-paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check input:focus-visible + .form-check__box { border-color: var(--c-green-light); }
.form-check p { max-width: calc(100% - 28px); }

.form-note { margin-bottom: 16px; }

/* Honeypot field: off-screen for people, present for bots */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* First-layer data-protection summary under the form (AEPD two-layer model) */
.form-info {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(254, 249, 250, 0.25);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.9;
}
.form-info__title { margin: 0 0 8px; font-family: var(--f-accent); }
.form-info dl { margin: 0; }
.form-info dt { display: inline; font-weight: 700; }
.form-info dt::after { content: ": "; }
.form-info dd { display: inline; margin: 0; }
.form-info dd::after { content: ""; display: block; height: 4px; }
.form-info a { text-decoration: underline; }

.btn {
  display: block;
  width: 100%;
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: 0;
  background: var(--c-green);
  color: var(--c-ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s;
}
.btn:hover,
.btn:focus-visible { background: rgba(114, 169, 9, 0.9); }

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.footer-tagline {
  margin: 18px 0;
  text-align: center;
  font-family: var(--f-script);
  font-size: 32px;
  line-height: 1.45;
}
.footer-tagline strong { font-weight: 700; }
/* Footer small print: one centred block with a thin divider above it */
.footer-meta {
  max-width: 720px;
  margin: 8px auto 0;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(254, 249, 250, 0.18);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.footer-nap { margin: 0; opacity: 0.8; }
.footer-nap--details { margin-top: 4px; opacity: 0.65; }
.footer-nap a { color: inherit; text-decoration: none; }
.footer-nap a:hover { text-decoration: underline; }
.br-mobile { display: none; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.footer-legal li + li::before {
  content: "·";
  margin: 0 10px;
  opacity: 0.5;
}
.footer-legal a {
  color: inherit;
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover { opacity: 1; }
@media (max-width: 767px) {
  .br-mobile { display: inline; }
  .footer-legal li + li::before { margin: 0 8px; }
}

/* Legal pages ------------------------------------------------------------ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 4px 16px;
}
.legal h2 {
  font-family: var(--f-accent);
  font-size: 22px;
  margin: 1.4em 0 0.4em;
}
.legal ul { padding-left: 1.2em; }
.legal li { margin: 0.3em 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.2);
  padding: 1px 5px;
  border-radius: 4px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 1em 0;
}
.legal-table th, .legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(254, 249, 250, 0.25);
}
.legal-table th { font-family: var(--f-accent); font-weight: 400; }
@media (max-width: 767px) {
  .legal-table thead { display: none; }
  .legal-table tr { display: block; margin-bottom: 12px; }
  .legal-table td { display: block; border: 0; padding: 2px 0; }
}
/* Values still to be supplied by the owner */
mark.pending {
  background: var(--c-orange-light);
  color: var(--c-ink);
  padding: 0 4px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   11. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  #portada.band--home { background-attachment: scroll; }
}
