/* =========================================================
   PodAlma · Gemma Ribas
   Estructura inspirada en una web editorial de bienestar:
   cabecera crema, hero a sangre, papel con borde rasgado,
   bloques imagen + tarjeta superpuesta y bloque de contacto.
   ========================================================= */

/* Tipografías de marca (solo hay un peso: se usa en todo el rango para evitar negritas falsas) */
@font-face {
  font-family: "Svetze";
  src: url("../assets/fonts/Svetze.otf") format("opentype");
  font-weight: 100 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gemola";
  src: url("../assets/fonts/Gemola.ttf") format("truetype");
  font-weight: 100 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta (tomada del logo y del Instagram de PodAlma) */
  --cream: #F1EAE2;        /* cabecera */
  --paper: #FBF7F2;        /* papel */
  --stone: #D9CEC2;        /* banda texturizada */
  --ink: #3A2E27;          /* texto principal */
  --ink-soft: #6B5A4E;     /* texto secundario */
  --orange: #D9772B;       /* naranja del logo */
  --orange-deep: #9A4A16;
  --peach: #F4D3B5;
  --terracotta-1: #8A4B2A; /* bloque de contacto */
  --terracotta-2: #A2592A;
  --cocoa: #4A3328;        /* pie */
  --line: rgba(58, 46, 39, .35);

  /* Para volver a Svetze, cambia "Gemola" por "Svetze" en la línea siguiente */
  --serif: "Gemola", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --header-h: 92px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 64px);

  /* Texturas generadas con SVG (sin imágenes externas) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .18 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .24 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 16px/1.8 var(--sans);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
section[id], article[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; text-decoration: none;
}
.skip:focus { left: 8px; }

/* ---------- Tipografía compartida ---------- */
.title {
  font: 400 clamp(30px, 3.4vw, 46px)/1.12 var(--serif);
  letter-spacing: -.005em;
  margin: 0 0 .7em;
  color: var(--ink);
}
.eyebrow {
  font: 400 12px/1.3 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--peach); }
.eyebrow--section {
  text-align: center;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .26em;
  margin-bottom: 18px;
}

/* ---------- Botones (contorno, mayúsculas pequeñas) ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.buttons--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 400 11.5px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }

/* ---------- Texturas ---------- */
.paper {
  background-color: var(--paper);
  background-image: var(--fibers), var(--noise);
}

/* =========================================================
   CABECERA
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: var(--cream);
  transition: height .4s ease, box-shadow .4s ease;
}
.header.is-scrolled { --header-h: 68px; box-shadow: 0 1px 0 rgba(58,46,39,.08); }
.header__inner {
  height: 100%;
  max-width: 1400px; margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.header__logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; margin-right: auto;
}
.header__logo img { width: 44px; height: auto; }
.header__logo span {
  font: 400 26px/1 var(--serif);
  letter-spacing: .04em;
  color: var(--orange-deep);
}
.header__logo em { font-style: normal; }
.header__logo small {
  display: block; margin-top: 4px;
  font: 400 11px/1 var(--sans);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-soft);
}
.nav { display: flex; gap: 26px; }
.nav a {
  font: 500 11.5px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__icons { display: flex; align-items: center; gap: 16px; }
.header__icons a { display: flex; padding: 4px; color: var(--ink); }
.header__icons a:hover { color: var(--orange-deep); }
.burger {
  display: none;
  width: 40px; height: 40px; padding: 0;
  border: 0; background: none; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink);
  transition: transform .35s ease, top .35s ease;
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  margin-top: 92px;
  height: calc(100svh - 92px);
  min-height: 460px;
  display: grid; place-items: center;
  overflow: hidden;
  background: #5E5652; /* tono del vídeo mientras carga */
  color: #FBF7F2;
  text-align: center;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 115%;
  object-fit: cover; object-position: 50% 40%;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(60, 52, 48, .35), transparent 75%),
    rgba(72, 64, 60, .58);
}
.hero__content {
  position: relative; z-index: 1;
  padding: clamp(20px, 4vh, 48px) 20px;
  max-width: 820px;
}
/* Todo el contenido escala con la altura de la pantalla para que la portada quepa siempre entera */
.hero__eyebrow {
  font: 400 12px/1.3 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #F2C9A2;
  margin: 0 0 clamp(14px, 3vh, 30px);
}
.hero__logo {
  width: auto;
  height: clamp(110px, 24vh, 250px);
  margin: 0 auto clamp(18px, 3.5vh, 36px);
  filter: brightness(0) invert(1);
}
.hero__title {
  font: 400 clamp(32px, min(4vw, 6.6vh), 62px)/1.05 var(--serif);
  letter-spacing: -.01em;
  margin: 0 0 clamp(12px, 2.4vh, 24px);
}
.hero__title span { color: #F2C9A2; }
.hero__sub {
  font: 400 clamp(15px, min(1.35vw, 2.4vh), 20px)/1.6 var(--sans);
  color: rgba(251, 247, 242, .9);
  margin: 0 0 clamp(8px, 1.6vh, 16px);
}
.hero__place {
  font: 400 clamp(13px, min(1vw, 1.9vh), 15px)/1.5 var(--sans);
  letter-spacing: .04em;
  color: rgba(251, 247, 242, .78);
  margin: 0 auto clamp(18px, 3.6vh, 36px);
  max-width: 34em;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* Botón relleno claro, misma forma y tipografía que el resto de botones */
.btn--solid-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--solid-light:hover { background: transparent; color: var(--paper); }

/* =========================================================
   INTRO SOBRE PAPEL
   ========================================================= */
.intro {
  position: relative;
  padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(120px, 12vw, 170px);
  text-align: center;
  overflow: hidden;
}
/* sombra de hojas difuminada, como luz natural sobre papel */
.intro__shadow {
  position: absolute; inset: -10% -5% auto auto;
  width: 60%; height: 120%;
  background:
    radial-gradient(ellipse 14% 6% at 70% 22%, rgba(58,46,39,.16), transparent 70%),
    radial-gradient(ellipse 12% 5% at 82% 34%, rgba(58,46,39,.13), transparent 70%),
    radial-gradient(ellipse 15% 6% at 60% 44%, rgba(58,46,39,.12), transparent 70%),
    radial-gradient(ellipse 10% 4% at 88% 52%, rgba(58,46,39,.12), transparent 70%),
    radial-gradient(ellipse 13% 5% at 74% 62%, rgba(58,46,39,.10), transparent 70%),
    radial-gradient(ellipse 9% 4% at 92% 16%, rgba(58,46,39,.11), transparent 70%);
  filter: blur(14px);
  transform: rotate(-18deg);
  pointer-events: none;
}
.intro__inner { position: relative; max-width: 640px; margin: 0 auto; }
.intro__logo { width: 130px; margin: 0 auto 28px; }
.intro .title { font-size: clamp(32px, 3.8vw, 50px); }
.intro p { font-size: 15.5px; color: var(--ink); }
.intro__small {
  margin-top: 24px;
  font: 400 20px/1.4 var(--serif) !important;
  color: var(--orange-deep) !important;
  letter-spacing: .03em;
}

/* Borde de papel rasgado */
.torn {
  position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 90px);
  fill: var(--stone);
  filter: drop-shadow(0 -3px 3px rgba(58,46,39,.12));
}
.torn--bottom { bottom: -1px; }
.torn--top { top: -1px; fill: var(--cocoa); filter: drop-shadow(0 3px 3px rgba(58,46,39,.12)); transform: scaleY(-1); }

/* =========================================================
   BANDA PIEDRA + BLOQUES ALTERNOS
   ========================================================= */
.stone {
  background-color: var(--stone);
  background-image: var(--noise), linear-gradient(180deg, #D9CEC2, #CFC3B6 60%, #D6CBBF);
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 140px);
}
.feature {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}
.feature + .feature { margin-top: clamp(60px, 8vw, 120px); }
.feature__media {
  grid-column: 1 / span 8;
  grid-row: 1;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #cbbfb2;
}
.feature__media--portrait { grid-column: 2 / span 6; aspect-ratio: 4 / 5; }
.feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
}
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__card {
  grid-column: 7 / span 6;
  grid-row: 1;
  margin-top: clamp(80px, 12vw, 180px);
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 56px);
  position: relative; z-index: 1;
  box-shadow: 0 30px 60px -30px rgba(58,46,39,.35), 0 2px 6px rgba(58,46,39,.06);
}
.feature--reverse .feature__media { grid-column: 5 / span 8; }
.feature--reverse .feature__card { grid-column: 1 / span 6; }

/* texto con línea vertical y punto, como en la referencia */
.feature__text {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}
.feature__text::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 6px;
  width: 1px; background: var(--line);
}
.feature__text::after {
  content: ""; position: absolute; left: -3px; top: 4px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}
.feature__text em { font-style: normal; font-family: var(--serif); font-size: 1.15em; color: var(--orange-deep); }

.pillars {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 18px 0 0;
}
.pillars li {
  font: 400 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 40px;
}

.steps { list-style: none; padding: 0; margin: 18px 0; }
.steps li { position: relative; padding: 12px 0 12px 40px; border-top: 1px solid rgba(58,46,39,.12); }
.steps li:last-child { border-bottom: 1px solid rgba(58,46,39,.12); }
.steps span { position: absolute; left: 0; top: 12px; font: 400 22px/1.2 var(--serif); color: var(--orange-deep); }
.steps strong, .values strong, .prose strong { font-weight: 700; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; }
.facts div { background: rgba(244, 211, 181, .35); padding: 14px 16px; }
.facts dt { font: 400 11.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 6px 0 0; font: 400 22px/1.2 var(--serif); }

.values { list-style: none; padding: 0; margin: 0; }
.values li { padding: 9px 0; border-bottom: 1px solid rgba(58,46,39,.12); }
.values li:first-child { padding-top: 0; }

/* =========================================================
   SERVICIOS (tarjetas en rejilla, como «Events at the space»)
   ========================================================= */
.services {
  padding: clamp(80px, 9vw, 130px) var(--gutter);
}
.services__lead {
  max-width: 560px; margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center; color: var(--ink-soft); font-size: 15px;
}
.services__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
}
.service__media {
  aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 20px; background: var(--stone);
}
.service__media img, .service__media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.service:hover .service__media img, .service:hover .service__media video { transform: scale(1.04); }
.service h3 {
  font: 400 13px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  margin: 0 0 10px;
}
.service p { font-size: 14.5px; line-height: 1.7; color: var(--ink); margin-bottom: 10px; }
.service .service__meta {
  font: 400 18px/1.3 var(--serif); color: var(--orange-deep); margin: 0;
}
.note {
  max-width: 680px; margin: clamp(40px, 5vw, 64px) auto 0;
  text-align: center; font-size: 13px; color: var(--ink-soft);
}

/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */
.faq {
  background: var(--cream);
  background-image: var(--noise);
  padding: clamp(80px, 9vw, 120px) var(--gutter);
}
.faq__inner { max-width: 820px; margin: 0 auto; }
.faq .title { text-align: center; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font: 400 22px/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: rotate(45deg) translateY(-4px);
  transition: transform .35s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 40px 22px 0; font-size: 15px; color: var(--ink-soft); margin: 0; }

/* =========================================================
   BLOG Y VÍDEOS
   ========================================================= */
.journal { padding: clamp(80px, 9vw, 120px) var(--gutter); text-align: center; }
.journal__lead { margin-bottom: clamp(36px, 4vw, 56px); }
.journal__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px);
  text-align: left;
}
.post {
  background: #fff;
  padding: 34px 30px 30px;
  box-shadow: 0 24px 50px -32px rgba(58,46,39,.35);
  border-top: 2px solid var(--peach);
  display: flex; flex-direction: column;
}
.post__cat { font: 400 11.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); }
.post h3 { font: 400 25px/1.25 var(--serif); margin: 0 0 14px; }
.post p { font-size: 14.5px; color: var(--ink-soft); }
.post__soon {
  margin-top: auto; align-self: flex-start;
  font: 400 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 14px; border: 1px solid var(--line);
}

/* =========================================================
   CONTACTO (bloque de color con formulario)
   ========================================================= */
.contact {
  color: var(--paper);
  background-color: var(--terracotta-1);
  background-image:
    var(--noise),
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(115deg, var(--terracotta-1), var(--terracotta-2) 55%, #8E4C25);
  padding: clamp(80px, 9vw, 130px) var(--gutter);
}
.contact__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center;
}
.contact .title { color: var(--paper); }
.contact .feature__text { color: var(--paper); }
.contact .feature__text::before { background: rgba(251,247,242,.5); }
.contact .feature__text::after { background: var(--paper); }
.contact__direct { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.contact__direct a { overflow-wrap: anywhere; font: 400 clamp(17px, 5.2vw, 21px)/1.3 var(--serif); text-decoration: none; border-bottom: 1px solid rgba(251,247,242,.5); }
.contact__direct a:hover { border-color: var(--paper); }

.form fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.form legend {
  font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 14px; padding: 0;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: block; margin-bottom: 12px; }
.form label > span:first-child:not(:only-child) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(251,247,242,.6);
  border-radius: 0;
  color: var(--paper);
  font: 300 14.5px/1.4 var(--sans);
  letter-spacing: .03em;
  padding: 12px 14px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s ease, background-color .3s ease;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FBF7F2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form select option { color: var(--ink); }
.form textarea { resize: vertical; min-height: 110px; }
.form ::placeholder { color: rgba(251,247,242,.75); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--paper); background-color: rgba(251,247,242,.08);
}
.form .is-invalid { border-color: #FFD9B8 !important; background-color: rgba(255,217,184,.12) !important; }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; cursor: pointer; }
.form .check input { margin-top: 5px; accent-color: var(--paper); width: 16px; height: 16px; }
.form__error { min-height: 1.4em; font-size: 13.5px; color: #FFE3CC; margin: 0 0 10px; }

/* =========================================================
   VISÍTANOS + CIERRE
   ========================================================= */
.visit {
  position: relative;
  padding: clamp(64px, 7vw, 100px) var(--gutter) clamp(140px, 14vw, 200px);
}
.visit__card {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  height: clamp(380px, 46vw, 560px);
  overflow: hidden;
  display: grid; place-items: center;
  text-align: center;
}
.visit__card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 48%;
}
.visit__card::after { content: ""; position: absolute; inset: 0; background: rgba(43, 30, 22, .45); }
.visit__content { position: relative; z-index: 1; color: var(--paper); padding: 0 20px; }
.visit .eyebrow { font-size: 14px; letter-spacing: .24em; color: var(--paper); }
.visit .visit__card .title { color: var(--paper); font-size: clamp(30px, 3.6vw, 48px); margin-bottom: .4em; }
.visit__address { font-size: 14.5px; margin-bottom: 26px; letter-spacing: .06em; }
.visit__map { max-width: var(--container); margin: 16px auto 0; height: 340px; background: var(--stone); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }
.closing {
  max-width: 900px; margin: clamp(72px, 8vw, 110px) auto 18px;
  text-align: center;
  font-size: clamp(28px, 3.2vw, 44px);
  color: var(--ink);
}
.follow {
  text-align: center; font-size: clamp(22px, 2.2vw, 30px); color: var(--ink-soft);
}
.follow a { color: var(--orange-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
.visit .torn--top { top: auto; bottom: -1px; transform: none; }

/* =========================================================
   PIE
   ========================================================= */
.footer {
  background-color: var(--cocoa);
  background-image: var(--noise);
  color: #EDE3D8;
  padding: clamp(56px, 6vw, 80px) var(--gutter) 32px;
}
.footer__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr 1.2fr 1.2fr; gap: 40px;
}
.footer h3 { font-size: 13.5px; margin-bottom: 20px; color: #F6E6D6; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 4px; }
.footer a { text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--peach); }
.footer p { font-size: 14px; line-height: 1.7; }
.footer__brand p { font: 400 19px/1.35 var(--serif); color: #F6E6D6; margin-bottom: 10px; }
.footer__follow { margin-top: 26px; }
.footer__social { display: flex; gap: 16px; }
.footer__bottom {
  max-width: var(--container); margin: clamp(48px, 5vw, 70px) auto 0;
  padding-top: 26px; border-top: 1px solid rgba(237,227,216,.2);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer__bottom img { width: 54px; filter: brightness(0) invert(.92) sepia(.3); }
.footer__bottom p { margin: 0; font-size: 12.5px; letter-spacing: .06em; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(58,46,39,.5);
  transition: transform .3s ease, background-color .3s ease;
}
.wa-float:hover { transform: translateY(-3px); background: var(--orange-deep); }

/* =========================================================
   ANIMACIÓN DE ENTRADA
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__video { transform: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 11px; letter-spacing: .08em; }
}

@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .header.is-scrolled { --header-h: 64px; }
  .hero { margin-top: 72px; height: auto; min-height: calc(100svh - 72px); }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .4s ease, transform .4s ease, visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font: 300 30px/1.2 var(--serif); letter-spacing: .03em; text-transform: none; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 860px) {
  .feature, .feature--reverse { display: block; }
  .feature__media, .feature__media--portrait { aspect-ratio: 4 / 3; }
  .feature__media--portrait { aspect-ratio: 4 / 4.4; }
  .feature__card { margin: -60px 16px 0; }
  .services__grid, .journal__grid { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .header__logo span { font-size: 22px; }
  .header__logo small { font-size: 11px; letter-spacing: .14em; }
  .header__logo img { width: 38px; }
  .header__icons { gap: 6px; }
  .hero__title { font-size: clamp(30px, 9vw, 36px); }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { min-height: 48px; }
  .feature { padding: 0; }
  .feature__card { margin: -48px 16px 0; padding: 30px 22px; }
  .feature__text { padding-left: 20px; }
  .buttons .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
  .services__grid, .journal__grid { grid-template-columns: 1fr; }
  .service__media { aspect-ratio: 4 / 3.4; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .faq summary { font-size: 20px; }
  .visit { padding-left: 0; padding-right: 0; }
  .visit__map { margin: 16px 16px 0; }
  .closing, .follow { padding: 0 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

/* =========================================================
   VÍDEO EN «MI HISTORIA» Y REPRODUCTOR
   ========================================================= */
.feature__media--video {
  grid-column: 2 / span 4;
  aspect-ratio: 9 / 16;
  background: #2B211B;
}
.player {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  background: #2B211B;
  color: var(--paper);
}
.player video, .player img, .player iframe {
  display: block;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  border: 0;
}
.player.is-playing video { object-fit: contain; background: #000; }
.player__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(43, 30, 22, 0) 45%, rgba(43, 30, 22, .7));
  color: inherit; font: inherit;
}
.player.is-playing .player__play { display: none; }
.player__icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  padding-left: 4px;
  background: rgba(251, 247, 242, .94);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .35s ease, background-color .35s ease;
}
.player__play:hover .player__icon, .player:hover .player__icon { transform: scale(1.07); background: #fff; }
.player__label {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--serif);
  text-align: left;
}
.player__label small {
  display: block; margin-top: 8px;
  font: 400 12px/1 var(--sans); letter-spacing: .18em;
  opacity: .85;
}

/* =========================================================
   PESTAÑAS BLOG / VÍDEOS
   ========================================================= */
.tabs {
  display: flex;
  width: max-content; max-width: 100%;
  margin: 0 auto clamp(32px, 4vw, 52px);
  border: 1px solid var(--ink);
}
.tabs__tab {
  min-width: 150px; min-height: 46px;
  padding: 12px 28px;
  border: 0; background: transparent; cursor: pointer;
  font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink);
  transition: background-color .3s ease, color .3s ease;
}
.tabs__tab + .tabs__tab { border-left: 1px solid var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs__tab:not([aria-selected="true"]):hover { background: rgba(58, 46, 39, .07); }
.tabs__panel:focus { outline: none; }
.tabs__panel:focus-visible { outline: 2px solid var(--orange); outline-offset: 8px; }
.tabs__panel .buttons { margin-top: clamp(32px, 4vw, 48px); }

.post__link {
  margin-top: auto; align-self: flex-start;
  font: 400 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 14px; border: 1px solid var(--ink); text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}
.post__link:hover { background: var(--ink); color: var(--paper); }

.journal__grid--videos {
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
}
.vcard {
  background: #fff;
  box-shadow: 0 24px 50px -32px rgba(58, 46, 39, .35);
  text-align: left;
}
.vcard .player { aspect-ratio: 16 / 9; height: auto; }
.vcard--vertical .player { aspect-ratio: 9 / 16; }
.vcard__body { padding: 22px 26px 26px; }
.vcard h3 { font: 400 25px/1.2 var(--serif); margin: 0 0 10px; }
.vcard p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 8px; }
.vcard .vcard__meta {
  margin: 0; font: 400 11.5px/1 var(--sans); letter-spacing: .18em; color: var(--orange-deep);
}

/* Crédito de diseño en el pie */
.footer__credit {
  flex-basis: 100%;
  text-align: center;
  opacity: .8;
}
.footer__credit a { border-bottom: 1px solid rgba(237, 227, 216, .45); }
.footer__credit a:hover { border-color: currentColor; }

@media (max-width: 860px) {
  .feature__media--video { max-width: 380px; margin: 0 auto; }
  /* La tarjeta no se monta sobre el vídeo para no tapar el título ni la duración */
  .feature__media--video + .feature__card { margin-top: 16px; }
}
@media (max-width: 560px) {
  .feature__media--video { max-width: none; margin: 0 16px; }
  .tabs__tab { min-width: 0; flex: 1; padding: 12px 18px; }
  .tabs { width: 100%; }
}

/* =========================================================
   PÁGINAS INTERIORES: BLOG, VÍDEOS Y ARTÍCULOS
   ========================================================= */
.page-head {
  margin-top: var(--header-h);
  padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(48px, 6vw, 80px);
  text-align: center;
  background-color: var(--cream);
  background-image: var(--noise);
}
.page-head .title { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: .45em; }
.page-head__lead {
  max-width: 620px; margin: 0 auto;
  font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-soft);
}
.listing { padding: clamp(56px, 7vw, 100px) var(--gutter) clamp(72px, 8vw, 120px); }

/* Llamada a la acción final */
.cta {
  color: var(--paper);
  background-color: var(--terracotta-1);
  background-image: var(--noise), linear-gradient(115deg, var(--terracotta-1), var(--terracotta-2) 55%, #8E4C25);
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  text-align: center;
}
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta .title { color: var(--paper); }
.cta p { font-size: 15.5px; }

/* Artículo */
.prose {
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(64px, 8vw, 110px);
}
.prose > * { max-width: 700px; margin-left: auto; margin-right: auto; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.85; }
.prose h2 {
  font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--serif);
  margin-top: 1.8em; margin-bottom: .6em;
}
.prose figure { max-width: 900px; margin-bottom: clamp(32px, 4vw, 52px); }
.prose figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.prose blockquote {
  margin-top: 1.8em; margin-bottom: 1.8em;
  padding: 6px 0 6px 26px;
  border-left: 2px solid var(--orange);
  font: 400 clamp(22px, 2.2vw, 28px)/1.35 var(--serif);
  color: var(--orange-deep);
}
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--orange); }
.author {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 24px;
  background: rgba(244, 211, 181, .3);
}
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author p { font-size: 14.5px; line-height: 1.7; margin: 0; }
.author .author__name { font: 400 22px/1.2 var(--serif); margin-bottom: 6px; }
.post-page__back { margin-top: clamp(36px, 4vw, 52px); }

@media (max-width: 560px) {
  .author { flex-direction: column; }
}

/* =========================================================
   ILUSTRACIONES DE LÍNEA DE FONDO (blog, vídeos, mapa)
   Trazo un poco más oscuro que el fondo para que se integren
   ========================================================= */
.page-head, .listing { position: relative; overflow: hidden; }
.page-head > :not(.deco), .listing > :not(.deco) { position: relative; z-index: 1; }
.deco {
  position: absolute; z-index: 0;
  height: auto; max-width: none;
  pointer-events: none; user-select: none;
  opacity: .75;
}
.listing .deco { opacity: .6; }
/* Blog */
.deco--piedras-bl { width: clamp(300px, 38vw, 560px); left: -3%; bottom: -14px; }
.deco--flor-tr { width: clamp(130px, 13vw, 210px); right: 6%; top: 8%; transform: rotate(9deg); }
.deco--pie-br { width: clamp(320px, 40vw, 620px); right: -4%; bottom: 4%; }
/* Vídeos */
.deco--flor-tl { width: clamp(130px, 13vw, 210px); left: 5%; top: 10%; transform: rotate(-11deg) scaleX(-1); }
.deco--pie-tr { width: clamp(240px, 26vw, 380px); right: 3%; bottom: 6px; }
.deco--piedras-br { width: clamp(300px, 36vw, 540px); right: -2%; bottom: 2%; }

@media (max-width: 860px) {
  .deco--flor-tr, .deco--flor-tl { width: 110px; opacity: .55; }
  .deco--piedras-bl, .deco--piedras-br, .deco--pie-br, .deco--pie-tr { width: 300px; opacity: .5; }
}

/* =========================================================
   MAPA CON CONSENTIMIENTO
   ========================================================= */
.visit__map { position: relative; overflow: hidden; }
.visit__map:not(.is-loaded) { height: auto; min-height: 300px; background: var(--cream); }
.map-consent {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 300px;
  padding: 44px 24px;
  text-align: center;
}
.map-consent > :not(.map-consent__art) { position: relative; z-index: 1; }
.map-consent__art {
  position: absolute; right: 0; bottom: -2px;
  width: min(360px, 45%); max-width: none; opacity: .6; pointer-events: none;
}
.map-consent__title { font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--serif); margin-bottom: 10px; }
.map-consent__text { max-width: 460px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 0; }
.map-consent .buttons { margin-top: 22px; }
.map-consent a:not(.btn) { color: var(--orange-deep); }

@media (max-width: 860px) { .map-consent__art { display: none; } }

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */
.legal p, .legal li { font-size: 15.5px; line-height: 1.8; }
.legal h2 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 1.6em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(58, 46, 39, .15); }
.legal th { font-weight: 400; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.legal .updated { font-size: 13.5px; color: var(--ink-soft); }
/* Datos que faltan por completar: resaltados para encontrarlos fácilmente */
.pending { background: rgba(217, 119, 43, .16); padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
@media (max-width: 560px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { padding: 6px 0; border: 0; }
  .legal tr { padding: 10px 0; border-bottom: 1px solid rgba(58, 46, 39, .15); }
}
