/* ============================================================
   La Casona'l Campo — capa de REDISEÑO  (css/casona.css)
   Identidad editorial "quintana asturiana": piedra, madera,
   oro y teja. UI angular y tipográfica, no el patrón blando
   de tarjetas redondeadas. Se carga DESPUÉS de styles.css.
   ============================================================ */

:root {
  --rule: 1px solid var(--line);
  --frame: rgba(247, 241, 230, 0.55);
  --max-wide: 1400px;
}

body { font-size: 17px; }

/* ---------- UI angular: botones y navegación ---------- */
.btn {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 16px 30px;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--ink); color: var(--bg); transform: none; }
.btn-outline {
  border: 1px solid var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.nav-cta {
  border-radius: 2px;
  background: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 13px 22px;
}
.nav-cta:hover { background: var(--ink); transform: none; }

/* ---------- Header: regla dorada + nav versalita ---------- */
.header {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 3px solid #c8941f;
  border-top-color: var(--accent);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 var(--line); }
.header-inner { padding-block: 20px; }
.nav-list a,
.nav-list .nav-toggle {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 700;
}
.nav-list a::after,
.nav-list .nav-toggle::after { background: var(--accent); height: 2px; bottom: 2px; }
.brand-wordmark .bw-name { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.brand-wordmark .bw-sub { letter-spacing: 0.3em; }

/* ---------- Eyebrow editorial con regla dorada ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.22em;
  color: var(--accent-2);
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--accent);
}

/* ============================================================
   HERO — split editorial: texto a la izquierda, foto rotando
   a la derecha. Reutiliza el slider (.hero-slider/.hero-slide).
   ============================================================ */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: clamp(560px, 82vh, 880px);
  border-bottom: 1px solid var(--line);
}
.hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px) clamp(28px, 5vw, 88px);
  background: var(--bg);
  position: relative;
}
.hero-aside::before {
  content: "";
  position: absolute;
  left: clamp(28px, 5vw, 88px);
  top: clamp(40px, 6vw, 96px);
  bottom: clamp(40px, 6vw, 96px);
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
}
.hero-aside .inner { padding-left: clamp(22px, 3vw, 40px); max-width: 30rem; }
.hero-aside .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.74rem; font-weight: 700; color: var(--accent-2);
  margin: 0 0 22px;
}
.hero-aside .hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero-aside h1,
.hero-aside .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-aside h1 em,
.hero-aside .hero-title em { font-style: italic; color: var(--accent-2); }
.hero-aside .hero-sub {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 34ch;
}
.hero-aside .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.hero-fact {
  flex: 1;
  padding: 18px 8px 0;
  border-right: 1px solid var(--line);
}
.hero-fact:last-child { border-right: 0; }
.hero-fact b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink);
}
.hero-fact span {
  display: block;
  margin-top: 6px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.hero-stage { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero-stage .hero-slider { height: 100%; }
.hero-stage .hero-slide::after {
  background: linear-gradient(200deg, rgba(0,0,0,0) 40%, rgba(20,16,10,0.45) 100%);
}
.hero-stage .hero-caption {
  position: absolute;
  left: 0; bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.hero-stage .hero-caption::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.hero-split .hero-controls { bottom: 24px; right: 24px; }
.hero-split .hero-arrow { border-radius: 2px; background: rgba(255,255,255,0.16); }
.hero-split .hero-dot { background: rgba(255,255,255,0.5); }
.hero-split .hero-dot.is-active { background: #fff; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-stage { min-height: 56vh; order: -1; }
  .hero-aside { padding: 48px 28px 56px; }
}

/* ============================================================
   SECTION HEADER editorial (kicker + número + regla)
   ============================================================ */
.section-head { text-align: left; max-width: var(--max-narrow); }
.section-head.center { text-align: center; margin-inline: auto; }
.ed-head {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 3vw, 30px);
  padding-bottom: 22px;
  margin-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 2px solid var(--ink);
}
.ed-head .ed-index {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 0.74;
  color: var(--accent);
  font-weight: 600;
  flex: none;
}
.ed-head .ed-text { flex: 1; }
.ed-head h2 { margin: 8px 0 0; max-width: 24ch; }

/* ============================================================
   QUINTANA — franja tipográfica de las cinco construcciones
   ============================================================ */
.quintana {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(48px, 6vw, 84px);
}
.quintana .eyebrow { color: var(--accent); }
.quintana h2 { color: var(--bg); max-width: 22ch; margin: 14px 0 0; }
.quintana-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(247,241,230,0.18);
}
.quintana-item {
  padding: 26px 18px 0;
  border-right: 1px solid rgba(247,241,230,0.18);
}
.quintana-item:last-child { border-right: 0; }
.quintana-item .qn {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.quintana-item h3 {
  font-family: var(--font-serif);
  color: var(--bg);
  font-size: 1.35rem;
  margin: 10px 0 8px;
  font-weight: 500;
}
.quintana-item p {
  color: rgba(247,241,230,0.62);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 820px) {
  .quintana-grid { grid-template-columns: 1fr 1fr; }
  .quintana-item { border-bottom: 1px solid rgba(247,241,230,0.18); padding-bottom: 22px; }
  .quintana-item:nth-child(2n) { border-right: 0; }
}
@media (max-width: 480px) { .quintana-grid { grid-template-columns: 1fr; } .quintana-item { border-right: 0; } }

/* ============================================================
   SPLITS rediseñados: número serif + foto enmarcada + asimetría
   ============================================================ */
.split { grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.reverse { grid-template-columns: 0.85fr 1.15fr; }
.split + .split { margin-top: clamp(72px, 9vw, 128px); }
.split-media { border-radius: 0; aspect-ratio: 5 / 4; }
.split-media::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--frame);
  z-index: 2;
  pointer-events: none;
}
.split-media-tag {
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-ink);
  letter-spacing: 0.16em;
  font-weight: 700;
}
.split-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.8;
  color: var(--accent);
  margin-bottom: 16px;
}
.split-body h2 { max-width: 18ch; }
.split-list li::before { border-radius: 0; width: 7px; height: 7px; background: var(--accent-2); transform: rotate(45deg); }

/* ============================================================
   QUOTE BAND — cita a sangre completa sobre foto
   ============================================================ */
.quote-band {
  position: relative;
  padding-block: clamp(96px, 16vw, 220px);
  background: var(--ink);
  overflow: hidden;
}
.quote-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  opacity: 0.99;
}
.quote-band .container { position: relative; z-index: 2; text-align: center; }
.quote-band blockquote {
  margin: 0 auto;
  max-width: 20ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.18;
  color: #fff;
  text-wrap: balance;
}
.quote-band cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   GALERÍA en mosaico
   ============================================================ */
.gallery {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 10px;
}
.gallery-item { border-radius: 0; aspect-ratio: auto; height: 100%; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(8) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(11) { grid-row: span 2; }
.gallery-item:nth-child(16) { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item:nth-child(8) { grid-column: span 2; grid-row: span 1; }
}

/* ============================================================
   RESERVA — banda CTA oscura
   ============================================================ */
.reserva {
  background: var(--accent-2);
  color: #fff;
}
.reserva .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: clamp(48px, 6vw, 80px);
}
.reserva .eyebrow { color: #fff; }
.reserva .eyebrow::before { background: #fff; }
.reserva h2 { color: #fff; margin: 12px 0 0; max-width: 18ch; }
.reserva .btn-primary { background: var(--accent); color: var(--accent-ink); }
.reserva .btn-primary:hover { background: #fff; color: var(--ink); }

/* ---------- Reseñas y tarjetas: esquinas vivas ---------- */
.review, .contact-card, .post-media, .feature-icon, .map-wrap, .map-card { border-radius: 0; }
.feature-icon { border-radius: 0; }
.social-handle { border-radius: 0; }

/* ---------- Cabecera editorial: sin letra-índice ---------- */
.ed-head { align-items: flex-end; }
.ed-head .ed-index { display: none; }

/* ---------- Calendario "La casa": títulos y textos centrados ---------- */
#disponibilidad .section-head { text-align: center; margin-inline: auto; }
#disponibilidad .section-head .eyebrow { justify-content: center; }
#disponibilidad .section-head .lead { margin-inline: auto; }
.calendar-header h3 { text-align: center; }
.calendar-legend-item, .calendar-legend-reserved { align-items: center; }
.calendar-legend-text { text-align: left; }

/* ---------- Mapa del inicio: altura y filete (como en "La casa") ---------- */
.map-wrap { height: clamp(420px, 58vh, 560px); }
.map-home { position: absolute; inset: 0; height: 100%; width: 100%; }
.map-home iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Splits: fuera numeración ---------- */
.split-num { display: none; }

/* ---------- Subvenciones (Kit Digital) ---------- */
.grants { background: #ffffff; border-top: 1px solid var(--line); }
.grants-head { color: var(--ink-soft); }
.grants-logos { align-items: center; gap: clamp(28px, 5vw, 64px); }
.grants-logos img { max-height: 64px; width: auto; }

/* ---------- Footer ---------- */
.footer { border-top: 3px solid var(--accent); }
.footer-col h4 { letter-spacing: 0.2em; }

/* ---------- Reveal un poco más marcado ---------- */
.reveal { transform: translateY(28px); }
