/* ============================================================================
   CUCUNUTRAIL · Hoja de estilos principal
   ============================================================================
   Estructura:
     1. Variables (paleta del logo + tipografía + spacing)
     2. Reset y base
     3. Tipografía
     4. Layout helpers (.wrap, .reveal)
     5. Header / Navegación
     6. Hero
     7. Secciones (altimetría, categorías, manifesto, galería, CTA)
     8. Footer
     9. Componentes (botones, cards, pills, capacity-bar, embed-placeholder)
    10. Drawer móvil
    11. Utilidades y print
   ============================================================================ */

/* ---------- 1. Variables ---------- */
:root {
  /* Paleta derivada del logo */
  --forest-deep: #1B2D26;
  --forest:      #2D4A3E;
  --moss:        #6B8E5A;
  --volcanic:    #E85D2C;
  --sunset:      #F5A623;
  --cream:       #F5EDD8;
  --cream-soft:  #EFE6CC;
  --earth:       #8B6F47;
  --stone:       #7A7A6E;
  --ink:         #0F1B16;
  --white:       #FFFFFF;

  /* Tipografía */
  --font-display: "Bebas Neue", "Anton", "Oswald", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --wrap: 1240px;
  --gutter: clamp(1rem, 3vw, 2rem);

  /* Sombras */
  --shadow-sm: 0 4px 12px rgba(15, 27, 22, 0.08);
  --shadow-md: 0 10px 32px rgba(15, 27, 22, 0.18);
  --shadow-lg: 0 24px 64px rgba(15, 27, 22, 0.28);

  /* Radios */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  /* Transiciones */
  --t-fast: 180ms ease-out;
  --t-med:  320ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; }
hr { border: 0; border-top: 1px solid rgba(15, 27, 22, 0.12); margin: 3rem 0; }
:focus-visible { outline: 2px solid var(--volcanic); outline-offset: 2px; border-radius: 2px; }

/* ---------- 3. Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--forest-deep);
}
h1 { font-size: clamp(3rem, 9vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--forest); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volcanic);
}
.eyebrow--cream { color: var(--cream); }
.eyebrow--stone { color: var(--stone); }
em.editorial { font-style: italic; font-family: "Playfair Display", Georgia, serif; color: var(--volcanic); font-weight: 500; }

/* ---------- 4. Layout helpers ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--cream); }
.section--forest { background: var(--forest-deep); color: var(--cream); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--cream); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* Two-column grid utility */
.grid--2 { grid-template-columns: repeat(2, minmax(280px, 1fr)); }
@media (max-width: 720px) {
  .grid--2 { grid-template-columns: 1fr; }
}

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1rem 0;
  background: transparent;
  transition: background var(--t-med), backdrop-filter var(--t-med), box-shadow var(--t-med);
}
.site-header.is-scrolled {
  background: rgba(15, 27, 22, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(245, 237, 216, 0.08);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--cream); }
.brand__logo { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.brand__name span { color: var(--volcanic); }
.brand__tag {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: rgba(245, 237, 216, 0.7);
  margin-top: 4px;
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
}
.site-nav a:hover { color: var(--sunset); }
.site-nav a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--volcanic);
}

.lang-switch {
  display: flex; align-items: center; gap: 4px;
  background: rgba(245, 237, 216, 0.1);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 999px;
  color: rgba(245, 237, 216, 0.7);
}
.lang-switch a.is-current {
  background: var(--cream);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--cream);
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Dropdowns desktop ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown__btn {
  background: transparent;
  border: 0;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.nav-dropdown__btn:hover { color: var(--sunset); }
.nav-dropdown__btn svg { transition: transform var(--t-fast); opacity: 0.7; }
.nav-dropdown.is-open .nav-dropdown__btn svg { transform: rotate(180deg); }
.nav-dropdown.is-current > .nav-dropdown__btn::after {
  content: ""; position: absolute; left: 0; right: 14px; bottom: -6px; height: 2px; background: var(--volcanic);
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: rgba(15, 27, 22, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 237, 216, 0.08);
  border-radius: 10px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
/* Extensión invisible para mantener hover activo */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu a {
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--cream);
  border-radius: 6px;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover {
  background: rgba(245, 237, 216, 0.08);
  color: var(--sunset);
}

/* Controles móvil: lang-switch + hamburguesa */
.header-mobile-controls {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.header-mobile-controls .lang-switch {
  background: rgba(245, 237, 216, 0.1);
}
.header-mobile-controls .nav-toggle {
  display: inline-flex;
}

@media (max-width: 1100px) {
  .site-nav { gap: 1.2rem; }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-mobile-controls { display: flex; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 4rem;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  will-change: transform;
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 27, 22, 0.7) 0%, rgba(15, 27, 22, 0.4) 40%, rgba(15, 27, 22, 0.08) 70%, rgba(15, 27, 22, 0) 100%),
    linear-gradient(180deg, rgba(15, 27, 22, 0) 0%, rgba(15, 27, 22, 0) 65%, rgba(15, 27, 22, 0.55) 100%),
    radial-gradient(ellipse at top right, rgba(232, 93, 44, 0.14), transparent 65%);
  /* dejamos las nubes (parte superior) más claras: el degradado horizontal arranca su oscuridad desde el centro hacia abajo */
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.85) 35%, #000 60%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.85) 35%, #000 60%);
}
@media (max-width: 960px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(15, 27, 22, 0.45) 0%, rgba(15, 27, 22, 0.2) 35%, rgba(15, 27, 22, 0.8) 100%),
      radial-gradient(ellipse at top right, rgba(232, 93, 44, 0.2), transparent 60%);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  width: 100%;
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 2.5rem;
  }
}

.hero__editorial { max-width: 720px; }
.distances-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(232, 93, 44, 0.15);
  border: 1px solid rgba(232, 93, 44, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--sunset);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.distances-bar strong { color: var(--volcanic); font-weight: 700; }

.hero__title {
  color: var(--cream);
  font-size: clamp(2.15rem, 6vw, 4.5rem);
  line-height: 0.92;
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.hero__title em { color: var(--volcanic); font-style: normal; }
.hero__subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(245, 237, 216, 0.88);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 237, 216, 0.7);
  margin-bottom: 2rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta svg { width: 16px; height: 16px; opacity: 0.7; }
.hero__date {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.hero__date strong {
  color: var(--volcanic);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-right: 0.35em;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  align-items: center;
}
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 237, 216, 0.85);
}
.hero__location svg {
  width: 16px; height: 16px;
  color: var(--volcanic);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .hero__location { margin-left: 0; width: 100%; }
}

/* Ficha técnica card */
.tech-card {
  background: rgba(15, 27, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 237, 216, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--cream);
}
.tech-card__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sunset);
  margin-bottom: 1.25rem;
}
.tech-card__head svg { width: 28px; height: 28px; opacity: 0.8; }
.tech-card__title { font-size: 1.6rem; color: var(--cream); margin-bottom: 1.25rem; }
.tech-card__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tech-card__cell {
  background: rgba(245, 237, 216, 0.06);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}
.tech-card__label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 237, 216, 0.6);
  margin-bottom: 0.25rem;
}
.tech-card__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  line-height: 1;
}
.tech-card__foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 237, 216, 0.1);
  display: flex; flex-direction: column; gap: 0.65rem;
}
.tech-card__pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--sunset);
}
.pill--muted { background: rgba(122, 122, 110, 0.12); border-color: rgba(122, 122, 110, 0.3); color: rgba(245, 237, 216, 0.7); }

/* ---------- 7. Secciones ---------- */

/* Altimetría destacada */
.profile-section { background: var(--cream); padding: clamp(4rem, 8vw, 7rem) 0; }
.profile-section__head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
}
.profile-section__title { color: var(--forest-deep); }
.profile-section__note {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volcanic);
}
.profile-frame {
  background: var(--white);
  border: 1px solid rgba(15, 27, 22, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: var(--shadow-sm);
}

/* Categorías preview */
.category-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
  border: 1px solid rgba(15, 27, 22, 0.06);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card__media {
  background: linear-gradient(135deg, var(--moss), var(--forest));
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card__media img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.category-card:hover .category-card__media img {
  transform: scale(1.03);
}
.category-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 27, 22, 0.6));
}
.category-card__distance {
  position: absolute; bottom: 1rem; left: 1rem; z-index: 1;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--cream);
  line-height: 1;
}
.category-card__body { padding: 1.5rem 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.category-card__title { font-size: 1.5rem; color: var(--forest-deep); margin-bottom: 0.5rem; }
.category-card__desc { color: var(--stone); flex: 1; }
.category-card__link {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volcanic);
  margin-top: 1rem;
}
.category-card__link:hover { color: var(--forest-deep); }

/* Carrera page - cat block stacked layout */
.cat-block { padding: 4rem 0; }
.cat-block--stacked .cat-block__media--full {
  width: 100%;
  aspect-ratio: 16 / 5;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--moss), var(--forest));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-block--stacked .cat-block__media--full img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
  padding: 1.5rem;
  box-sizing: border-box;
}
.cat-block--stacked:hover .cat-block__media--full img {
  transform: scale(1.02);
}
.cat-block__content {
  max-width: 80ch;
}
.cat-block__content h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.cat-block__content .lead {
  font-size: 1.15rem;
  color: var(--stone);
  margin-bottom: 1.5rem;
}
@media (max-width: 720px) {
  .cat-block--stacked .cat-block__media--full { aspect-ratio: 16 / 7; }
}

/* Manifesto */
.manifesto {
  background: var(--forest-deep);
  color: var(--cream);
  padding: clamp(5rem, 10vw, 9rem) 0;
  text-align: center;
}
.manifesto__title {
  color: var(--cream);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  max-width: 22ch;
  margin: 0 auto 1.5rem;
}
.manifesto__title em { color: var(--volcanic); font-style: normal; }
.manifesto__text {
  color: rgba(245, 237, 216, 0.75);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 0.5rem;
}
.gallery__item {
  overflow: hidden;
  background: var(--moss);
  border-radius: var(--radius);
}
.gallery__item img,
.gallery__item video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms ease;
  display: block;
}
.gallery__item:hover img,
.gallery__item:hover video { transform: scale(1.05); }
.gallery__item video {
  cursor: pointer;
}
.gallery__item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery__item:nth-child(2) { grid-column: span 3; }
.gallery__item:nth-child(3) { grid-column: span 2; }
.gallery__item:nth-child(4) { grid-column: span 1; }
.gallery__item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item:nth-child(7) { grid-column: span 2; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery__item, .gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* Lead capture form */
.lead-form input,
.lead-form select,
.lead-form textarea { color-scheme: dark; }
.lead-form select { color: var(--cream); }
.lead-form select option {
  background: var(--forest-deep);
  color: var(--cream);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(245, 237, 216, 0.55); }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--volcanic), var(--sunset));
  color: var(--ink);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}
.cta-strip h2 { color: var(--ink); margin-bottom: 1rem; }
.cta-strip p { color: rgba(15, 27, 22, 0.8); max-width: 50ch; margin: 0 auto 1.5rem; }

/* ---------- 8. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245, 237, 216, 0.7);
  padding: 4rem 0 1.5rem;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__brand { grid-column: span 2; }
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a:hover { color: var(--sunset); }
.site-footer__brand .brand__name { color: var(--cream); }
.site-footer__brand p { font-size: 0.85rem; line-height: 1.6; max-width: 28ch; }
.site-footer__pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }

.site-footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 237, 216, 0.08);
  font-size: 0.78rem;
  color: rgba(245, 237, 216, 0.5);
}
.site-footer__hashtags { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.site-footer__hashtags span { color: rgba(232, 93, 44, 0.7); }

/* ---------- 9. Componentes ---------- */

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0;
  border-radius: var(--radius);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--volcanic); color: var(--white); }
.btn--primary:hover { background: #d54f1f; color: var(--white); }
.btn--ghost {
  background: rgba(245, 237, 216, 0.08);
  color: var(--cream);
  border: 1px solid rgba(245, 237, 216, 0.25);
}
.btn--ghost:hover { background: rgba(245, 237, 216, 0.15); color: var(--cream); }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.78rem; }
.btn--block { width: 100%; }

/* Embed placeholder */
.embed-placeholder {
  aspect-ratio: 1629 / 434;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, var(--moss), var(--forest)),
    var(--forest);
  background-blend-mode: overlay;
  color: var(--cream);
  border-radius: var(--radius);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Capacity bar */
.capacity-bar {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--stone);
}
.capacity-bar__track {
  height: 6px;
  background: rgba(15, 27, 22, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.4rem;
}
.capacity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--volcanic), var(--sunset));
  width: 100%;
  transition: width var(--t-med);
}

/* ---------- 10. Drawer móvil ---------- */
.nav-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 27, 22, 0.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  padding: 1.5rem var(--gutter) 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med);
}
.nav-drawer.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(245, 237, 216, 0.08);
}
.nav-drawer__header .lang-switch {
  background: rgba(245, 237, 216, 0.1);
}

.nav-drawer__close {
  background: transparent;
  border: 0;
  color: var(--cream);
  padding: 8px;
  cursor: pointer;
  margin-right: -8px;
}
.nav-drawer__close svg { width: 28px; height: 28px; }
.nav-drawer__close:hover { color: var(--sunset); }

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}
.nav-drawer__nav > a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(245, 237, 216, 0.08);
}
.nav-drawer__nav > a:hover { color: var(--volcanic); }

.nav-drawer__group {
  border-bottom: 1px solid rgba(245, 237, 216, 0.08);
}
.nav-drawer__group > summary {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  padding: 0.7rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-drawer__group > summary::-webkit-details-marker { display: none; }
.nav-drawer__group > summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--sunset);
  transition: transform var(--t-fast);
}
.nav-drawer__group[open] > summary::after { content: "−"; }
.nav-drawer__sub {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.8rem 1rem;
}
.nav-drawer__sub a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(245, 237, 216, 0.8);
  padding: 0.5rem 0;
  border: 0;
}
.nav-drawer__sub a:hover { color: var(--sunset); }

.nav-drawer__footer {
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(245, 237, 216, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
.nav-drawer__footer .lang-switch {
  align-self: center;
}
.nav-drawer__footer .btn {
  width: 100%;
  text-align: center;
}

/* WhatsApp floater */
.wa-floater {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 40;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-fast);
}
.wa-floater:hover { transform: scale(1.08); color: var(--white); }
.wa-floater svg { width: 28px; height: 28px; }

/* ---------- 12. Utilidades ---------- */
.text-center { text-align: center; }
.muted { color: var(--stone); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media print {
  .site-header, .nav-drawer, .wa-floater, .cta-strip { display: none; }
  body { background: var(--white); color: var(--ink); }
}
