/* ===== FUENTES LOCALES ===== */
@font-face {
  font-family: 'Quiche Display';
  src: url('../fonts/quiche-display-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quiche Display';
  src: url('../fonts/quiche-display-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ambiguity Rounded';
  src: url('../fonts/ambiguity-normate-rounded.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== DESIGN TOKENS — JARDÍN BOTÁNICO ===== */
:root {
  --cream:        #F3EEE0;
  --cream-dark:   #F0EDD8;
  --green-moss:   #4A5C32;
  --green-deep:   #4A5C32;
  --green-sage:   #7A9455;
  --green-light:  #A8B87C;
  --green-pale:   #E8EDDF;
  --gold:         #D4C87A;
  --gold-light:   #F0EDD8;
  --text:         #2A2A1E;
  --text-mid:     #555540;
  --text-light:   #8A8A70;
  --white:        #FFFFFF;
  --border:       #D6D4C4;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Roboto', 'Helvetica Neue', sans-serif;

  --max-w: 1080px;
  --px: clamp(1.5rem, 5vw, 3rem);
  --nav-h: 68px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-moss);
}
h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 700; line-height: 1.05; font-style: italic; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== LAYOUT HELPERS ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  color: var(--gold);
  font-size: 1.2rem;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

/* ===== NAV ===== */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1rem 2.5rem;
  pointer-events: none;
}
.nav {
  pointer-events: all;
  height: var(--nav-h);
  background: #ffffff;
  backdrop-filter: blur(12px);
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  padding: 0 1.8rem;
  gap: 2rem;
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  margin-right: 3.8rem;
}

/* Language switcher — posición absoluta para no restar ancho al nav */
.nav-lang {
  pointer-events: all;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  height: var(--nav-h);
}
.lang-btn {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  opacity: 0.45;
  flex-shrink: 0;
  outline: none;
  transition: transform 0.15s, opacity 0.15s;
}
.lang-btn .fi {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.lang-btn:hover { opacity: 0.8; transform: scale(1.15); outline: none; }
.lang-btn:focus { outline: none; }
.lang-btn.active { opacity: 1; transform: scale(1.08); outline: none; border: none; }
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  flex-shrink: 0;
}
.nav-logo .wordmark {
  font-family: 'Quiche Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-moss);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.nav-logo .tagline {
  font-family: 'Ambiguity Rounded', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--green-sage);
  font-weight: 400;
  margin-top: -1px;
}
.nav-logo .tagline::before { content: '· '; }
.nav-logo .tagline::after  { content: ' ·'; }
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  position: relative;
}
/* indicador deslizante */
.nav-indicator {
  position: absolute;
  bottom: -9px;
  width: 9px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%234A5C32' transform='rotate(0,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%234A5C32' transform='rotate(60,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%234A5C32' transform='rotate(120,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%234A5C32' transform='rotate(180,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%234A5C32' transform='rotate(240,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%234A5C32' transform='rotate(300,18,18)'/%3E%3Ccircle cx='18' cy='18' r='5' fill='%234A5C32'/%3E%3C/svg%3E") center/contain no-repeat;
  border-radius: 0;
  pointer-events: none;
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateX(-50%);
}
.nav-indicator.instant { transition: none; }
.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-moss); }
.nav-links a.active {
  color: var(--green-deep);
  position: relative;
}
.nav-links a.active::after {
  display: none;
}

.nav-cta {
  padding: 0.45rem 1.3rem;
  font-size: 0.72rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--green-deep);
}

@media (max-width: 680px) {
  .nav { border-radius: 12px; padding: 0 1.2rem; }
  .nav .nav-cta { display: none; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: calc(var(--nav-h) + 0.5rem); left: 1rem; right: 1rem; background: var(--cream); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; gap: 1.2rem; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-lang { margin-left: auto; }
}

/* ===== MAIN ===== */
main {
  padding-top: var(--nav-h);
}

/* ===== NAV SCROLL HIDE/SHOW ===== */
.nav-wrapper {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-wrapper.nav-hidden {
  transform: translateY(-120%);
}

/* ===== HERO ===== */
.hero {
  min-height: calc(72vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) var(--px);
  max-width: 860px;
  margin: 0 auto;
}
.hero-content {
  max-width: 760px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
  color: var(--green-moss);
  margin-bottom: 2.5rem;
}
.hero-accent-gold { color: var(--gold); font-style: italic; }
.hero-accent-green { color: var(--green-sage); font-style: italic; }
.hero-accent-moss { color: var(--green-light); font-style: italic; }
.hero-sub {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
  line-height: 1.75;
  font-family: var(--font-body);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-logo {
  display: block;
  width: clamp(64px, 7.5vw, 94px);
  height: auto;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(74,92,50,0.14);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-location {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}
.hero-illustration { display: none; }

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 3rem;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    margin-bottom: 1.8rem;
    overflow-wrap: break-word;
  }
  .hero-eyebrow { margin-bottom: 1.5rem; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.55rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              background 0.25s ease,
              border-color 0.25s ease;
  border: 1px solid transparent;
  font-weight: 400;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}
/* margarita en esquina superior derecha — aparece en hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='5' fill='%23D4C87A'/%3E%3Cellipse cx='18' cy='8' rx='3.5' ry='6' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='18' cy='28' rx='3.5' ry='6' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='8' cy='18' rx='6' ry='3.5' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='28' cy='18' rx='6' ry='3.5' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='10.9' cy='10.9' rx='3.5' ry='6' transform='rotate(-45 10.9 10.9)' fill='%23fff' opacity='.75'/%3E%3Cellipse cx='25.1' cy='25.1' rx='3.5' ry='6' transform='rotate(-45 25.1 25.1)' fill='%23fff' opacity='.75'/%3E%3Cellipse cx='25.1' cy='10.9' rx='3.5' ry='6' transform='rotate(45 25.1 10.9)' fill='%23fff' opacity='.75'/%3E%3Cellipse cx='10.9' cy='25.1' rx='3.5' ry='6' transform='rotate(45 10.9 25.1)' fill='%23fff' opacity='.75'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scale(0) rotate(-30deg);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.btn-primary:hover::after {
  transform: scale(1) rotate(0deg);
}
.btn-primary:hover {
  background: var(--green-moss);
  border-color: var(--green-moss);
  transform: scale(1.07);
}
.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.btn-outline:hover {
  background: var(--green-light);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: #b8944f; border-color: #b8944f; }

/* WhatsApp button */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-size: 0.85rem;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.2s ease;
}
.btn-wa:hover { background: #1ebe5a; transform: scale(1.05); }
.wa-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== WHATSAPP CONTACT SECTION ===== */
.wa-section {
  padding: clamp(1.2rem, 2.5vw, 2rem) var(--px);
  background: transparent;
  text-align: center;
}
.wa-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}
.wa-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: 1rem;
}
.wa-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green-moss);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.wa-heading span { font-weight: 400; font-style: italic; }
.wa-heading strong { font-weight: 700; font-style: normal; }
.wa-sub {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.wa-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SERVICES / APPOINTMENT SECTION ===== */
.services-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3rem;
}
.service-card .icon {
  width: 40px;
  height: 40px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.service-card h3 { color: var(--green-deep); margin-bottom: 0.75rem; }
.contact-block {
  margin-top: 3rem;
  text-align: center;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.contact-block .email {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--green-deep);
  display: block;
  margin: 1rem 0;
  letter-spacing: 0.02em;
}
.contact-block .note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .services-inner { grid-template-columns: 1fr; }
}

/* ===== ABOUT PREVIEW (HOME) ===== */
.about-preview {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 5rem;
  align-items: start;
}
.about-preview-img {
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-preview-img img { width: 100%; height: 100%; object-fit: cover; }
.about-preview-text { }
.about-preview-text .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.about-preview-text p { margin-bottom: 1.5rem; }
.about-preview-right {
  text-align: center;
  padding-top: 2.5rem;
}
.about-preview-right .divider {
  justify-content: center;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
.about-home-section {
  background: var(--cream);
  max-width: 100% !important;
  width: 100%;
  margin: 0 !important;
  padding: 5rem var(--px) !important;
}
.about-preview-centered-wrap {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.about-preview-centered-wrap .divider { justify-content: center; }
.about-preview-centered-wrap p { margin-bottom: 1.8rem; }
.about-home-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-moss);
  line-height: 1;
  margin-bottom: 1.5rem;
}

@media (max-width: 700px) {
  .about-preview { grid-template-columns: 1fr; }
  .about-preview-img { max-width: 340px; }
  .about-preview-right { padding-top: 0; }
}

/* ===== ABOUT PAGE ===== */
/* ── About editorial layout ── */
/* Replaced by about-section + bleed sections */
.about-editorial {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) var(--px);
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 9vw, 8rem);
}

/* ── Contenedor base ── */
.about-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 3rem) var(--px);
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}
.about-section--quote {
  padding-top: clamp(1rem, 2vw, 1.8rem);
  padding-bottom: clamp(1rem, 2vw, 1.8rem);
}

/* ── Bleed bio: foto sangra al borde izquierdo ── */
.about-bio-bleed {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  grid-template-areas: "photo title" "photo text";
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: 0.6rem;
  align-items: center;
  max-width: 1180px;
  margin: 4rem auto;
  padding: 0 var(--px);
}
.about-bio-photo {
  grid-area: photo;
  position: relative;
  padding-bottom: 4rem;
  padding-right: 3rem;
}
.bio-photo-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
}
.bio-photo-familia {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center 70%;
  border-radius: 12px;
  display: block;
}
.about-bio-text {
  grid-area: text;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}
.about-bio-title {
  grid-area: title;
  align-self: end;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.95;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}
.about-bio-text p {
  font-size: 1rem;
  line-height: 1.28;
  color: var(--text-mid);
}

/* ── Fila triple: frase + imagen + ayuda ── */
.about-triple-row {
  display: grid;
  grid-template-columns: 1.1fr 0.45fr 1.4fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  max-width: 1180px;
  margin: 3rem auto;
  padding: 0 var(--px);
}
.about-help-dark {
  position: relative;
  z-index: 1;
  background: var(--green-moss);
  padding: clamp(1.5rem, 2.5vw, 2.2rem) clamp(1.8rem, 3vw, 2.5rem);
  border-radius: 28px;
}
/* foto pequeña que sobresale pisando la esquina del bloque verde — SOLO MÓVIL */
.about-help-corner {
  display: none;
  position: absolute;
  top: clamp(-1.6rem, -2vw, -1.1rem);
  right: clamp(-1.4rem, -1.5vw, -0.8rem);
  width: clamp(90px, 11vw, 130px);
  height: clamp(90px, 11vw, 130px);
  object-fit: cover;
  border-radius: 16px;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.about-help-photo {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 3/4;
}
.about-help-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Overrides for dark context */
.about-help-dark .about-help-title { color: var(--cream); }
.about-help-dark .about-help-list li {
  color: rgba(240,237,216,0.78);
  border-top-color: rgba(255,255,255,0.12);
}
.about-help-dark .about-help-list li:hover { color: rgba(240,237,216,1); }
.about-help-dark .about-help-list li::before { color: var(--gold); }
.about-page-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.about-page-header .divider { width: 100%; }
.about-page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin: 0.2rem 0;
  white-space: nowrap;
}
.about-identity {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}
.about-identity-sep { color: var(--gold); }
.about-row {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.about-row--bio {
  grid-template-columns: 42% 1fr;
}
.about-row--help {
  grid-template-columns: 1fr 46%;
}
.about-ed-img {
  overflow: hidden;
  border-radius: 20px;
  will-change: transform;
}
.about-ed-img.about-ed-img-tall { aspect-ratio: 3/4; }
.about-ed-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-ed-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-ed-text p { font-size: 1.05rem; line-height: 1.6; }
.about-ed-text h2 { margin: 0; }
.about-intro-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: clamp(1rem, 3vw, 2.5rem) auto 0;
  padding: 0 var(--px);
}
.about-intro {
  position: relative;
  background: var(--white);
  border-radius: 40px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 8vw, 6rem);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.about-intro-badge {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  width: clamp(80px, 10vw, 130px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(74,92,50,0.15);
  pointer-events: none;
}
.about-intro p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
}
.about-closing-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  width: 100vw;
  margin: 5.5rem 0 4rem calc(-50vw + 50%);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  background: url('../images/about-fondo3.png') center center / cover no-repeat;
}
.about-closing-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(74,92,50,0.25), rgba(42,52,30,0.45));
  z-index: 0;
}
.about-closing-block > * {
  position: relative;
  z-index: 1;
}
.about-closing-block .closing-main,
.about-closing-block .closing-cta {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: normal;
  color: var(--white);
  margin: 0;
  max-width: 800px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.about-closing-block .closing-cta {
  font-weight: 700;
}
.about-closing-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.about-closing-cta-btn {
  flex-shrink: 0;
  background: var(--white);
  color: var(--green-moss);
  border-color: var(--white);
}
.about-closing-cta-btn:hover {
  background: var(--green-moss);
  color: var(--white);
  border-color: var(--green-moss);
}
.about-closing-divider {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  color: var(--white);
}
.about-closing-divider::before,
.about-closing-divider::after {
  background: var(--white);
  opacity: 0.7;
}
.about-closing-divider-top { margin-bottom: 0.5rem; }
.about-closing-divider-bottom { margin-top: 0.5rem; }

/* Pull quote editorial break */
.about-pullquote {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-pullquote > span:first-child,
.about-pullquote-sub {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--green-deep);
  line-height: 0.85;
  letter-spacing: -0.01em;
}
.about-pullquote-sub {
  margin-top: 0.5rem;
}
.about-pullquote-img {
  position: relative;
  z-index: 3;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-right: -3.5rem;
  margin-bottom: -2rem;
  box-shadow: 0 10px 30px rgba(74,92,50,0.18);
}
.about-pullquote-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.about-help-block {
  margin: 2.5rem 0 2rem;
}
.about-help-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.about-help-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-help-list li {
  padding-left: 1.8rem;
  position: relative;
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.3;
  border-top: 1px solid var(--border);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  cursor: default;
  transition: color 0.15s;
}
.about-help-list li:hover { color: var(--green-deep); }
.about-help-list li:first-child { border-top: none; padding-top: 0; }
.about-help-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-sage);
  font-size: 0.9rem;
  top: 1.5rem;
  transition: opacity 0.2s;
}
.about-help-list li:first-child::before { top: 0.05rem; }
.about-help-list li:hover::before { opacity: 0; }
.about-help-list li:empty { display: none; }

/* Florecita en hover de cada punto de ayuda */
.about-help-list li::after {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%) scale(0) rotate(-25deg);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='5' fill='%23D4C87A'/%3E%3Cellipse cx='18' cy='8' rx='3.5' ry='6' fill='%23fff' opacity='.9'/%3E%3Cellipse cx='18' cy='28' rx='3.5' ry='6' fill='%23fff' opacity='.9'/%3E%3Cellipse cx='8' cy='18' rx='6' ry='3.5' fill='%23fff' opacity='.9'/%3E%3Cellipse cx='28' cy='18' rx='6' ry='3.5' fill='%23fff' opacity='.9'/%3E%3Cellipse cx='10.9' cy='10.9' rx='3.5' ry='6' transform='rotate(-45 10.9 10.9)' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='25.1' cy='25.1' rx='3.5' ry='6' transform='rotate(-45 25.1 25.1)' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='25.1' cy='10.9' rx='3.5' ry='6' transform='rotate(45 25.1 10.9)' fill='%23fff' opacity='.8'/%3E%3Cellipse cx='10.9' cy='25.1' rx='3.5' ry='6' transform='rotate(45 10.9 25.1)' fill='%23fff' opacity='.8'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.about-help-list li:hover::after {
  transform: translateY(-50%) scale(1) rotate(0deg);
}
.about-closing {
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-size: 1.08rem !important;
  font-style: italic;
  color: var(--text-mid) !important;
  line-height: 1.8 !important;
}

/* ── Cert minimal horizontal ── */
.certs-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 4rem;
  margin-top: 3.5rem;
  text-align: center;
}
.cert-min-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.cert-min-icon {
  width: 52px;
  height: 52px;
  color: var(--green-deep);
  opacity: 0.55;
  margin-bottom: 0.3rem;
}
.cert-min-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--green-deep);
  line-height: 1.35;
}
.cert-min-institution {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}
.cert-min-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 240px;
}
.cert-min-badge {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(185,138,48,0.12);
  border: 1px solid rgba(185,138,48,0.25);
  color: var(--gold);
  border-radius: 20px;
  padding: 0.1rem 0.5rem;
  vertical-align: middle;
  font-style: normal;
  margin-left: 0.3rem;
}
@media (max-width: 760px) {
  .certs-minimal { grid-template-columns: 1fr; gap: 2.5rem; }
}

.datos-aviso {
  display: inline-block;
  background: rgba(185,138,48,0.1);
  border: 1px solid rgba(185,138,48,0.28);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.certs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
  margin-top: 0.25rem;
}
.cert-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 1.1rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cert-card-year {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.cert-card-title {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.cert-card-institution {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.1rem;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
  align-items: start;
}
@media (max-width: 900px) {
  .books-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 600px) {
  /* 4 columnas + sin placeholders "próximamente" → los 7 libros caben en 2 filas */
  .books-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
  .books-grid .book-soon { display: none; }
}
/* Placeholders "próximamente" */
.book-soon {
  align-self: start;
  aspect-ratio: 2/3;
  border-radius: 3px;
  background: repeating-linear-gradient(135deg, rgba(74,92,50,0.05) 0 10px, rgba(74,92,50,0.09) 10px 20px);
  border: 1px dashed rgba(74,92,50,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
}
.book-soon span {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--text-light);
}
.book-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.book-cover {
  aspect-ratio: 2/3;
  background: var(--cream-dark);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.book-cover:hover { transform: translateY(-8px) scale(1.07); box-shadow: 0 18px 36px rgba(0,0,0,0.14); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover .cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
}
.book-info .book-title { font-size: 0.78rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.book-info .book-subtitle { font-size: 0.68rem; color: var(--text-light); font-style: italic; margin-top: 0.05rem; line-height: 1.2; }
.book-info .book-author { font-size: 0.68rem; color: var(--text-light); margin-top: 0.15rem; line-height: 1.2; }
.book-info .book-publisher { color: var(--gold); }
.book-link {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--green-moss);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--green-moss);
  background: transparent;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s, color 0.2s;
}
.book-card:hover .book-link,
.book-card:focus-within .book-link { opacity: 1; }
.book-link:hover {
  background: var(--green-moss);
  color: var(--white);
}

@media (max-width: 760px) {
  .about-row--bio,
  .about-row--help { grid-template-columns: 1fr; }
  .about-row--help .about-ed-img { order: -1; }
  .about-ed-img.about-ed-img-tall { aspect-ratio: 4/3; max-height: 340px; }

  /* Bio: foto (Carmen + familia) a la izquierda, "Hola soy Carmen" a su derecha, texto debajo */
  .about-bio-bleed {
    grid-template-columns: auto 1fr;
    grid-template-areas: "photo title" "text text";
    column-gap: 0.8rem; row-gap: 1rem;
    align-items: center;
    margin: 2.5rem auto;
  }
  .about-bio-photo { height: auto; aspect-ratio: auto; max-width: 200px; margin: 0; padding-right: 3rem; padding-bottom: 2.5rem; }
  .bio-photo-main { max-height: 250px; }
  .bio-photo-familia { width: 66%; right: -0.3rem; bottom: -0.3rem; }
  .about-bio-title { font-size: clamp(1.55rem, 6.5vw, 2.1rem); line-height: 1.0; text-align: left; align-self: center; margin-bottom: 0; }
  .about-bio-text { padding: 0.5rem 0 0; }

  .about-triple-row { grid-template-columns: 1fr; gap: 2.5rem; margin: 2.5rem auto; }
  .about-pullquote-img { display: none; }   /* la foto central es solo de escritorio */
  /* la foto-esquina es solo de móvil: vertical, grande y subida (sin tapar la lista) */
  .about-help-corner {
    display: block;
    width: clamp(146px, 37vw, 184px);
    height: clamp(205px, 52vw, 258px);
    top: -12.5rem;
    right: clamp(-1rem, -2vw, -0.5rem);
  }
  .about-help-dark .about-help-title { padding-right: 0; }
  /* pullquote justificado a la izquierda y estrecho para que no lo pise la foto */
  .about-pullquote { text-align: left; align-items: flex-start; gap: 0.12em; margin: 0; max-width: 58%; }
  .about-pullquote > span:first-child,
  .about-pullquote-sub { line-height: 1.12; text-wrap: balance; }
  .about-pullquote-sub { margin-top: 0; }
}

/* ===== BLOG PAGE ===== */
.blog-header {
  max-width: 700px;
  margin: 0 auto;
}
.blog-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}
.blog-header p {
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

/* ===== ESCENA JARDÍN — blog y about ===== */
.blog-scene {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(560px, 80vw, 960px);
  overflow: hidden;
  margin-bottom: -39rem;
  -webkit-mask-image: linear-gradient(to bottom, black 72%, transparent 99%);
  mask-image: linear-gradient(to bottom, black 72%, transparent 99%);
}
.blog-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.blog-scene-night {
  opacity: 0;
  transition: opacity 4s ease-in-out;
}
.blog-page.night-mode .blog-scene-night { opacity: 1; }

.blog-header {
  position: absolute;
  z-index: 2;
  top: calc(var(--nav-h) + clamp(1.5rem, 3vw, 2.5rem));
  left: 0; right: 0;
  text-align: center;
  padding: 0 var(--px);
  background: transparent;
}

.about-page main { padding-top: 0; }
.about-page main > *:not(.about-scene) {
  position: relative;
  z-index: 2;
}

.about-scene {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)) var(--px) clamp(0.5rem, 2vw, 1.5rem);
}
.about-page-header {
  position: static;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: transparent;
}

/* ===== BLOG NIGHTFALL — la página anochece al entrar ===== */

/* Estado inicial: crema igual que el resto de páginas */
.blog-main { background-color: var(--cream); }
.blog-page main { padding-top: 0; }

/* Transiciones */
.blog-page .blog-main           { transition: background-color 4s ease-in-out; }
.blog-page .blog-header h1,
.blog-page .blog-header p,
.blog-page .blog-header .divider { transition: color 4s ease-in-out; }
.blog-page .nav                 { transition: background-color 3.5s ease-in-out 0.4s, box-shadow 3s ease-in-out 0.4s; }
.blog-page .nav-links a,
.blog-page .nav-logo .wordmark  { transition: color 3s ease-in-out 0.8s; }
.blog-page .nav-logo .tagline   { transition: color 3s ease-in-out 0.8s; }
.blog-page .nav-indicator       { transition: background-color 3s ease-in-out 0.8s; }
.blog-page .post-pill           { transition: background-color 3.5s ease-in-out 0.2s, border-color 3.5s ease-in-out 0.2s; }
.blog-page .panel-video,
.blog-page .panel-book,
.blog-page .panel-image         { transition: background-color 3.5s ease-in-out 0.2s; }
.blog-page .pill-meta,
.blog-page .panel-eyebrow,
.blog-page .panel-video-title,
.blog-page .panel-img-caption,
.blog-page .panel-quote-preview,
.blog-page .panel-quote-source  { transition: color 3s ease-in-out 0.6s; }
.blog-page .blog-header h1,
.blog-page .blog-header p,
.blog-page .blog-header .divider { transition: color 3s ease-in-out 0.6s; }
.blog-page .post-separator      { transition: color 3s ease-in-out 0.6s; }
.blog-page .pre-footer-flowers          { transition: background-color 4s ease-in-out; }
.blog-page .pre-footer-flowers::before  { transition: background 4s ease-in-out; }

/* Estado noche — paleta algo más clara */
.blog-page.night-mode .blog-main          { background-color: #324C1C; }
.blog-page.night-mode .nav                { background-color: #1E3010; box-shadow: none; }
.blog-page.night-mode .nav-links a        { color: rgba(210,230,180,0.78); }
.blog-page.night-mode .nav-links a:hover  { color: #D0E8B0; }
.blog-page.night-mode .nav-logo .wordmark { color: #DCEEC0; }
.blog-page.night-mode .nav-logo .tagline  { color: rgba(210,230,180,0.52); }
.blog-page.night-mode .nav-indicator      { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%23C8D8A8' transform='rotate(0,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%23C8D8A8' transform='rotate(60,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%23C8D8A8' transform='rotate(120,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%23C8D8A8' transform='rotate(180,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%23C8D8A8' transform='rotate(240,18,18)'/%3E%3Cellipse cx='18' cy='9' rx='4' ry='7' fill='%23C8D8A8' transform='rotate(300,18,18)'/%3E%3Ccircle cx='18' cy='18' r='5' fill='%23C8D8A8'/%3E%3C/svg%3E"); background-color: transparent; }
.blog-page.night-mode .post-pill          { background: #1E3010; border-color: rgba(210,230,180,0.1); }
.blog-page.night-mode .panel-video        { background: #224828; }
.blog-page.night-mode .panel-book         { background: #1A2E30; }
.blog-page.night-mode .panel-image        { background: #3A2808; }
.blog-page.night-mode .pill-meta,
.blog-page.night-mode .panel-eyebrow,
.blog-page.night-mode .panel-video-title,
.blog-page.night-mode .panel-img-caption,
.blog-page.night-mode .panel-quote-preview,
.blog-page.night-mode .panel-quote-source { color: #B8D890; }
.blog-page.night-mode .blog-header h1     { color: #DCEEC0; }
.blog-page.night-mode .blog-header p      { color: rgba(210,230,180,0.65); }
.blog-page.night-mode .blog-header .divider { color: rgba(180,210,140,0.45); }
.blog-page.night-mode .post-separator     { color: rgba(180,210,140,0.45); }
.blog-page.night-mode .pre-footer-flowers          { background-color: #324C1C; }
.blog-page.night-mode .pre-footer-flowers::before  { background: linear-gradient(to bottom, #324C1C 0%, transparent 40%); }

/* Footer cremita en página blog */
.blog-page footer {
  background: var(--cream-dark);
  color: var(--text-mid);
}
.blog-page footer .footer-logo .wordmark { color: var(--green-moss); }
.blog-page footer .footer-logo .tagline  { color: var(--text-mid); }
.blog-page footer .footer-right a        { color: var(--green-moss); }
.blog-page footer .footer-right a:hover  { color: var(--green-deep); }
.blog-page footer .footer-langs          { color: var(--text-mid); }
.blog-page .footer-bottom                { color: var(--text-mid); border-top-color: rgba(74,92,50,0.15); }
.blog-page .footer-btn-email             { background: rgba(74,92,50,0.1); color: var(--green-moss); border-color: rgba(74,92,50,0.35); }
.blog-page .footer-contact-label         { color: var(--text-mid); }

.posts-list {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--px) clamp(3rem, 8vw, 6rem);
  position: relative;
  z-index: 2;
}

/* ── FICTICIO badge ── */
.pill-ficticio {
  display: inline-block;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  background: rgba(180,60,60,0.15);
  color: #b44040;
  border-radius: 4px;
  padding: 1px 5px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ── GOLDEN HOUR ── */
.post-pill[data-time="golden"] { background: #EAE2A8; border-color: #C0A840; }
.post-pill[data-time="golden"] .panel-video { background: #B4CC90; }
.post-pill[data-time="golden"] .panel-book  { background: #E0C060; }
.post-pill[data-time="golden"] .panel-image { background: #C8A030; }

/* ── DUSK / ANOCHECER ── */
.post-pill[data-time="dusk"] { background: #162010; border-color: rgba(168,200,128,0.18); }
.post-pill[data-time="dusk"] .panel-video { background: #2A4818; }
.post-pill[data-time="dusk"] .panel-book  { background: #3A3010; }
.post-pill[data-time="dusk"] .panel-image { background: #202A10; }
.post-pill[data-time="dusk"] .pill-meta   { color: rgba(168,200,128,0.7); }
.post-pill[data-time="dusk"] .panel-eyebrow,
.post-pill[data-time="dusk"] .panel-video-title,
.post-pill[data-time="dusk"] .panel-quote-preview,
.post-pill[data-time="dusk"] .panel-quote-source { color: #A8C880; }
.post-pill[data-time="dusk"] .pill-panel:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.45); }

/* ── NIGHT / NOCHE ── */
.post-pill[data-time="night"] { background: #080F05; border-color: rgba(120,168,88,0.12); }
.post-pill[data-time="night"] .panel-video { background: #0E1A09; }
.post-pill[data-time="night"] .panel-book  { background: #141209; }
.post-pill[data-time="night"] .panel-image { background: #0C1407; }
.post-pill[data-time="night"] .pill-meta   { color: rgba(120,168,88,0.6); }
.post-pill[data-time="night"] .panel-eyebrow,
.post-pill[data-time="night"] .panel-video-title,
.post-pill[data-time="night"] .panel-quote-preview,
.post-pill[data-time="night"] .panel-quote-source { color: rgba(120,168,88,0.85); }
.post-pill[data-time="night"] .pill-panel:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.65); }

/* ── SEPARADORES por momento ── */
.sep-day    { color: var(--gold); }
.sep-golden { color: #A08020; }
.sep-dusk   { color: rgba(168,200,128,0.45); }

/* ── PILL ── */
.post-pill {
  background: var(--white);
  border-radius: 40px;
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.pill-meta {
  text-align: center;
  padding: 0.5rem 1rem 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.pill-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
}

/* Navegación del carrusel (solo móvil; oculta en escritorio) */
.pill-nav { display: none; }
.pill-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 1.15rem; line-height: 1;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s, background 0.2s;
}
.pill-arrow.is-hidden { opacity: 0.2; pointer-events: none; }
.pill-dots { display: flex; gap: 0.45rem; align-items: center; }
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: 0.3; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.pill-dot.is-active { opacity: 0.95; transform: scale(1.35); }
.pill-nav { color: var(--green-deep); }
.blog-page.night-mode .pill-nav { color: #A8C880; }

/* ── PANELS ── */
.pill-panel {
  border-radius: 28px;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 120px;
  max-height: 340px;
  overflow: hidden;
  user-select: none;
}
.pill-panel:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 14px 36px rgba(74, 92, 50, 0.12);
}

.panel-video { background: #E4EDE0; }
.panel-book  { background: #F5F1E2; }
.panel-image { background: #EDE6C8; }

.panel-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  opacity: 0.5;
  margin-bottom: 0.9rem;
}

/* Video panel */
.panel-thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}
.panel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.1);
}
.panel-play-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--green-deep);
  padding-left: 3px;
}
.panel-video-title {
  font-family: var(--font-body);
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: auto;
}
.panel-img-caption {
  font-family: var(--font-body);
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.7rem;
}

/* Book panel */
.panel-quote-preview {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--green-deep);
  line-height: 1.7;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  quotes: "\201C" "\201D";
}
.panel-quote-preview::before {
  content: open-quote;
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.85rem;
  color: var(--gold);
  opacity: 0.5;
  margin-right: 0.08em;
  font-family: Georgia, serif;
}
.panel-quote-source {
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 1rem;
  font-style: italic;
}

/* Image panel */
.panel-img {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  min-height: 0;
}
.panel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-img-empty {
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.05);
  color: var(--text-light); font-size: 0.8rem;
}

/* Próximas entradas */
.blog-upcoming {
  display: block;
  width: fit-content;
  margin: 4rem auto 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-style: italic;
  font-weight: 300;
  color: var(--green-deep);
  letter-spacing: 0.02em;
  padding: 0.45rem 1.4rem;
  border: 1px solid var(--green-sage);
  border-radius: 999px;
  background: transparent;
}
.blog-page.night-mode .blog-upcoming {
  color: #1E3010;
  border-color: #C8D8A8;
  background: #C8D8A8;
}

/* Separator */
.post-separator {
  text-align: center;
  color: var(--green-moss);
  opacity: 0.28;
  font-size: 0.8rem;
  letter-spacing: 0.6em;
  padding: 0.25rem 0 2rem;
}

/* ── LIGHTBOX ── */
.blog-lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.blog-lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-overlay {
  position: absolute; inset: 0;
  background: rgba(26, 34, 18, 0.65);
  backdrop-filter: blur(6px);
}
.lightbox-box {
  position: relative; z-index: 1;
  background: var(--cream);
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 680px; width: 92%;
  max-height: 88vh; overflow-y: auto;
  transform: translateY(28px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.blog-lightbox.open .lightbox-box { transform: translateY(0) scale(1); }

.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--text-light);
  transition: color 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.lightbox-close:hover { color: var(--green-deep); transform: rotate(90deg) scale(1.1); }

.lb-video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  overflow: hidden; border-radius: 16px;
  background: #111; margin-bottom: 1.25rem;
}
.lb-video-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}
.lb-caption {
  font-family: var(--font-heading); font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic; color: var(--green-deep); text-align: center; margin-bottom: 0.75rem;
}
.lb-image-title {
  font-family: var(--font-body); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-light); text-align: center; margin-top: 0.9rem;
}
.lb-video-desc {
  font-size: 0.92rem; color: var(--text-mid); line-height: 1.7;
  text-align: center; margin-top: 0.5rem;
}

.lb-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-style: italic; font-weight: 400;
  color: var(--green-deep); line-height: 1.75;
  margin-bottom: 1.5rem;
  quotes: "\201C" "\201D";
}
.lb-quote::before {
  content: open-quote; font-size: 3.5rem; line-height: 0;
  vertical-align: -1rem; color: var(--gold); opacity: 0.45;
  margin-right: 0.1em; font-family: Georgia, serif;
}
.lb-attribution {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 1.25rem;
}
.lb-amazon {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green-moss);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: opacity 0.2s;
}
.lb-amazon:hover { opacity: 0.65; }
.lb-video-thumb {
  display: block; position: relative; border-radius: 16px;
  overflow: hidden; margin-bottom: 1.25rem; background: #111;
  aspect-ratio: 16/9;
}
.lb-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.15); transition: background 0.2s;
}
.lb-video-thumb:hover .lb-play-btn { background: rgba(0,0,0,0.05); }
.lb-play-btn svg { width: 72px; height: 50px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); transition: transform 0.2s; }
.lb-video-thumb:hover .lb-play-btn svg { transform: scale(1.08); }

.lb-image { border-radius: 16px; overflow: hidden; }
.lb-image img { width: 100%; display: block; }
.lb-reflection {
  font-family: var(--font-body); font-size: 0.95rem; font-style: normal;
  color: var(--text); line-height: 1.55; text-align: left;
}

.lb-wide { max-width: 900px !important; overflow-y: hidden !important; }
.lb-image-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.lb-image-col { display: flex; flex-direction: column; gap: 0.75rem; position: sticky; top: 0; }
.lb-image-title {
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-light); text-align: center; margin-top: 0;
}
.lb-image-text { max-height: 72vh; overflow-y: auto; padding-right: 0.75rem; }

@media (max-width: 680px) {
  .lb-image-layout { grid-template-columns: 1fr; }
  .lb-image-text { max-height: none; }

  /* jardín alto de fondo (se difumina abajo, base); el marco del post SUBE y lo solapa por delante */
  .blog-scene {
    height: clamp(450px, 96vw, 620px);
    margin-bottom: -15.5rem;
  }

  /* menú desplegable móvil oscuro en el blog (texto claro sobre crema = invisible) */
  .blog-page.night-mode .nav-links { background: #1E3010; border-color: rgba(210,230,180,0.18); }

  /* Carrusel deslizable: un panel a la vez, swipe + flechas; la altura se ajusta al panel */
  .post-pill { border-radius: 28px; padding: 1rem; }
  .pill-panels {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: flex-start;
    scroll-snap-type: x mandatory;
    gap: 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transition: height 0.35s ease;
  }
  .pill-panels::-webkit-scrollbar { display: none; }
  .pill-panel {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 20px;
    min-height: auto;
    max-height: none;
  }
  .panel-img { min-height: 160px; }

  .pill-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.9rem; }
}

/* ===== BOTANICAL ORNAMENT ===== */
.ornament {
  text-align: center;
  color: var(--green-moss);
  opacity: 0.4;
  font-size: 1.4rem;
  margin: 1rem 0;
  letter-spacing: 0.3em;
}

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 4rem; }
.about-page .section-header { margin-bottom: 1rem; }
.section-header .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 0; }
.about-page .section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.95;
  color: var(--green-deep);
}

/* ===== FOOTER ===== */
footer {
  background: var(--green-moss);
  color: rgba(255,255,255,0.8);
  padding: 1.2rem 0 1.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.footer-logo .wordmark {
  font-family: 'Quiche Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.footer-logo .tagline {
  font-family: 'Ambiguity Rounded', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(255,255,255,0.5);
}

.wa-inner {
  position: relative;
}
.wa-badge-wrap {
  position: absolute;
  top: -2rem;
  right: -1rem;
  width: 140px;
  height: 140px;
}
.wa-badge-wrap::before,
.wa-badge-wrap::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='5' fill='%23D4C87A'/%3E%3Cellipse cx='18' cy='8' rx='3.5' ry='6' fill='%234A5C32' opacity='.8'/%3E%3Cellipse cx='18' cy='28' rx='3.5' ry='6' fill='%234A5C32' opacity='.8'/%3E%3Cellipse cx='8' cy='18' rx='6' ry='3.5' fill='%234A5C32' opacity='.8'/%3E%3Cellipse cx='28' cy='18' rx='6' ry='3.5' fill='%234A5C32' opacity='.8'/%3E%3Cellipse cx='10.9' cy='10.9' rx='3.5' ry='6' transform='rotate(-45 10.9 10.9)' fill='%234A5C32' opacity='.7'/%3E%3Cellipse cx='25.1' cy='25.1' rx='3.5' ry='6' transform='rotate(-45 25.1 25.1)' fill='%234A5C32' opacity='.7'/%3E%3Cellipse cx='25.1' cy='10.9' rx='3.5' ry='6' transform='rotate(45 25.1 10.9)' fill='%234A5C32' opacity='.7'/%3E%3Cellipse cx='10.9' cy='25.1' rx='3.5' ry='6' transform='rotate(45 10.9 25.1)' fill='%234A5C32' opacity='.7'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scale(0) rotate(-30deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
/* ::before → arriba-izquierda | ::after → abajo-centro */
.wa-badge-wrap::before { top:  -16px; left:  10px; z-index: 1; }
.wa-badge-wrap::after  { bottom: -16px; left: 55px; transform: scale(0) rotate(30deg); z-index: 1; }

.wa-badge-wrap:hover::before { transform: scale(1) rotate(0deg); }
.wa-badge-wrap:hover::after  { transform: scale(1) rotate(0deg); transition-delay: 0.08s; }

/* spans: izquierda, abajo-izquierda, arriba-derecha (dentro del badge) */
.bfw {
  position: absolute;
  width: 30px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='5' fill='%23D4C87A'/%3E%3Cellipse cx='18' cy='8' rx='3.5' ry='6' fill='%234A5C32' opacity='.8'/%3E%3Cellipse cx='18' cy='28' rx='3.5' ry='6' fill='%234A5C32' opacity='.8'/%3E%3Cellipse cx='8' cy='18' rx='6' ry='3.5' fill='%234A5C32' opacity='.8'/%3E%3Cellipse cx='28' cy='18' rx='6' ry='3.5' fill='%234A5C32' opacity='.8'/%3E%3Cellipse cx='10.9' cy='10.9' rx='3.5' ry='6' transform='rotate(-45 10.9 10.9)' fill='%234A5C32' opacity='.7'/%3E%3Cellipse cx='25.1' cy='25.1' rx='3.5' ry='6' transform='rotate(-45 25.1 25.1)' fill='%234A5C32' opacity='.7'/%3E%3Cellipse cx='25.1' cy='10.9' rx='3.5' ry='6' transform='rotate(45 25.1 10.9)' fill='%234A5C32' opacity='.7'/%3E%3Cellipse cx='10.9' cy='25.1' rx='3.5' ry='6' transform='rotate(45 10.9 25.1)' fill='%234A5C32' opacity='.7'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scale(0) rotate(-20deg);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 1;
}
.bfw-1 { top: 45px; left: -20px; transition-delay: 0.04s; }
.bfw-2 { top: 105px; left: 20px; transition-delay: 0.10s; transform: scale(0) rotate(25deg); width: 26px; height: 26px; }
.bfw-3 { top: 10px;  left: 95px; transition-delay: 0.06s; transform: scale(0) rotate(-35deg); width: 26px; height: 26px; }

.wa-badge-wrap:hover .bfw-1 { transform: scale(1) rotate(-15deg); }
.wa-badge-wrap:hover .bfw-2 { transform: scale(1) rotate(20deg); }
.wa-badge-wrap:hover .bfw-3 { transform: scale(1) rotate(-25deg); }

.wa-badge {
  display: block;
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wa-badge-wrap:hover .wa-badge { transform: scale(1.06); }

/* En pantallas estrechas la caja se hace pequeña y la insignia tapaba
   el titular "Sin formularios.": la centramos arriba y reducimos su tamaño,
   dejando hueco al contenido para que no se solapen. */
@media (max-width: 640px) {
  .wa-badge-wrap {
    width: 92px;
    height: 92px;
    top: -2.8rem;
    right: 50%;
    transform: translateX(50%);
  }
  .wa-badge { width: 92px; height: 92px; }
  .wa-inner { padding-top: 4rem; }
}
.footer-center { display: none; }
.footer-right { text-align: right; font-size: 0.8rem; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.footer-right a:hover { color: var(--white); }
.footer-langs { font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 0.4rem; justify-content: flex-end; }
.footer-lang {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-lang:hover { color: rgba(255,255,255,0.9); }
.footer-lang.active { color: var(--white); font-weight: 700; }
.footer-lang-sep { color: rgba(255,255,255,0.3); }
.blog-page footer .footer-lang { color: var(--text-mid); }
.blog-page footer .footer-lang:hover,
.blog-page footer .footer-lang.active { color: var(--green-moss); }
.blog-page footer .footer-lang-sep { color: var(--text-light); }

/* Footer contact buttons */
.footer-contact-btns {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}
.footer-btns-row {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}
.footer-contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.15rem;
}
.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  font-weight: 400;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}
.footer-btn:hover { transform: scale(1.05); opacity: 0.9; }
.footer-btn { position: relative; overflow: hidden; }
.footer-btn::after {
  content: '';
  position: absolute;
  top: -14px;
  right: -14px;
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='5' fill='%23D4C87A'/%3E%3Cellipse cx='18' cy='8' rx='3.5' ry='6' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='18' cy='28' rx='3.5' ry='6' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='8' cy='18' rx='6' ry='3.5' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='28' cy='18' rx='6' ry='3.5' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='10.9' cy='10.9' rx='3.5' ry='6' transform='rotate(-45 10.9 10.9)' fill='%23fff' opacity='.75'/%3E%3Cellipse cx='25.1' cy='25.1' rx='3.5' ry='6' transform='rotate(-45 25.1 25.1)' fill='%23fff' opacity='.75'/%3E%3Cellipse cx='25.1' cy='10.9' rx='3.5' ry='6' transform='rotate(45 25.1 10.9)' fill='%23fff' opacity='.75'/%3E%3Cellipse cx='10.9' cy='25.1' rx='3.5' ry='6' transform='rotate(45 10.9 25.1)' fill='%23fff' opacity='.75'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scale(0) rotate(-30deg);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.footer-btn:hover::after { transform: scale(1) rotate(0deg); }
.footer-btn-wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.footer-btn-email {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.35);
}
.footer-btn-email:hover { background: rgba(255,255,255,0.22); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0.75rem auto 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; align-items: center; }
  .footer-contact-btns { align-items: center; }
  .footer-btns-row { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .footer-btn { justify-content: center; }
  .footer-langs { justify-content: center; }
}

/* ===== ANIMACIONES FLORES ===== */
@keyframes sway-a {
  0%, 100% { transform: rotate(-7deg) translateX(0px); }
  50%       { transform: rotate(-4deg) translateX(6px); }
}
@keyframes sway-b {
  0%, 100% { transform: rotate(4deg) translateX(0px); }
  50%       { transform: rotate(7deg) translateX(-5px); }
}
@keyframes sway-c {
  0%, 100% { transform: rotate(-3deg) translateX(0px); }
  50%       { transform: rotate(-6deg) translateX(5px); }
}
@keyframes sway-d {
  0%, 100% { transform: rotate(6deg) translateX(0px); }
  50%       { transform: rotate(3deg) translateX(-7px); }
}
@keyframes sway-e {
  0%, 100% { transform: rotate(-5deg) translateX(0px); }
  50%       { transform: rotate(-2deg) translateX(6px); }
}
@keyframes sway-f {
  0%, 100% { transform: rotate(3deg) translateX(0px); }
  50%       { transform: rotate(6deg) translateX(-5px); }
}
@keyframes sway-g {
  0%, 100% { transform: rotate(-4deg) translateX(0px); }
  50%       { transform: rotate(-1deg) translateX(5px); }
}

/* ===== PRE-FOOTER FLORES ===== */
.pre-footer-flowers {
  position: relative;
  height: 320px;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.pf-cluster {
  position: relative;
  width: 720px;
  flex-shrink: 0;
  height: 100%;
}
.pf-img {
  position: absolute;
  width: auto;
  pointer-events: none;
  user-select: none;
}

/* -- capa trasera: más pequeñas, detrás -- */
.pf-b1 { height: 180px; bottom: -30px; left:  10px; z-index: 1; opacity: 0.8; transform-origin: bottom center; animation: sway-c 5.1s ease-in-out infinite 0.4s; }
.pf-b2 { height: 170px; bottom: -30px; left: 110px; z-index: 1; opacity: 0.8; transform-origin: bottom center; animation: sway-a 4.6s ease-in-out infinite 1.3s; }
.pf-b3 { height: 185px; bottom: -30px; left: 215px; z-index: 1; opacity: 0.8; transform-origin: bottom center; animation: sway-e 5.4s ease-in-out infinite 0.8s; }
.pf-b4 { height: 175px; bottom: -30px; left: 325px; z-index: 1; opacity: 0.8; transform-origin: bottom center; animation: sway-b 4.9s ease-in-out infinite 1.9s; }
.pf-b5 { height: 180px; bottom: -30px; left: 430px; z-index: 1; opacity: 0.8; transform-origin: bottom center; animation: sway-d 5.3s ease-in-out infinite 0.6s; }
.pf-b6 { height: 170px; bottom: -30px; left: 535px; z-index: 1; opacity: 0.8; transform-origin: bottom center; animation: sway-f 4.7s ease-in-out infinite 1.1s; }

/* -- capa delantera: más grandes, delante -- */
.pf-1 { height: 300px; bottom: -70px; left:   0px; z-index: 2; transform-origin: bottom center; animation: sway-a 4.2s ease-in-out infinite; }
.pf-2 { height: 275px; bottom: -70px; left:  90px; z-index: 2; transform-origin: bottom center; animation: sway-b 5.1s ease-in-out infinite 0.7s; }
.pf-3 { height: 310px; bottom: -70px; left: 190px; z-index: 2; transform-origin: bottom center; animation: sway-c 3.8s ease-in-out infinite 1.4s; }
.pf-4 { height: 285px; bottom: -70px; left: 295px; z-index: 2; transform-origin: bottom center; animation: sway-d 5.6s ease-in-out infinite 0.3s; }
.pf-5 { height: 300px; bottom: -70px; left: 400px; z-index: 2; transform-origin: bottom center; animation: sway-e 4.5s ease-in-out infinite 1.1s; }
.pf-6 { height: 280px; bottom: -70px; left: 500px; z-index: 2; transform-origin: bottom center; animation: sway-f 5.0s ease-in-out infinite 0.5s; }
.pf-7 { height: 295px; bottom: -70px; left: 600px; z-index: 2; transform-origin: bottom center; animation: sway-g 4.3s ease-in-out infinite 1.3s; }

/* fundido hacia arriba: espacio aéreo despejado, flores emergen desde abajo */
.pre-footer-flowers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--cream) 0%, transparent 40%);
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 700px) {
  .pre-footer-flowers { height: 220px; }
  .pf-cluster { width: 100%; }
  .pf-b1, .pf-b2, .pf-b3, .pf-b4, .pf-b5, .pf-b6 { display: none; }
  .pf-1 { height: 200px; bottom: -50px; left:  0%; }
  .pf-2 { height: 185px; bottom: -50px; left: 16%; }
  .pf-3 { height: 205px; bottom: -50px; left: 32%; }
  .pf-4 { height: 190px; bottom: -50px; left: 50%; }
  .pf-5 { height: 200px; bottom: -50px; left: 66%; }
  .pf-6 { height: 188px; bottom: -50px; left: 82%; }
  .pf-7 { display: none; }
}

/* ===== HERO BOTÁNICO ===== */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}
.hero-botanical {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-botanical-left {
  bottom: -1rem;
  left: -2rem;
  width: clamp(180px, 18vw, 300px);
  opacity: 0.88;
}
.hero-botanical-right {
  bottom: -1rem;
  right: -1.5rem;
  width: clamp(120px, 12vw, 200px);
  opacity: 0.85;
}
.hero-botanical-top {
  top: 3rem;
  right: clamp(1rem, 6vw, 5rem);
  width: clamp(80px, 7vw, 130px);
  opacity: 0.5;
}
.hero { position: relative; z-index: 1; }

@media (max-width: 680px) {
  .hero-botanical-left  { width: 120px; left: -1rem; }
  .hero-botanical-right { width: 80px;  right: -0.5rem; }
  .hero-botanical-top   { display: none; }
}

/* ===== TIRA BOTÁNICA ===== */
.botanical-strip {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vw, 1.2rem);
  padding: 2rem var(--px) 0;
  background: var(--cream);
  overflow: hidden;
}
.botanical-strip img {
  height: clamp(60px, 7vw, 100px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.botanical-strip img:hover { transform: translateY(-4px) scale(1.04); }

@media (max-width: 600px) {
  .botanical-strip img:nth-child(n+4) { display: none; }
}

/* ===== SERVICES — layout editorial con 3 imágenes ===== */
.services-section {
  background: var(--cream);
}
.services-editorial {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  grid-template-rows: auto auto;
  gap: 2rem 2.5rem;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.se-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  will-change: transform;
}
.se-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.se-img-left {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 480px;
}
.se-img-right {
  grid-column: 3;
  grid-row: 1;
  height: 320px;
  margin-top: 3rem;
}
.se-img-bottom {
  grid-column: 2;
  grid-row: 2;
  height: 220px;
  max-width: 380px;
  margin: 0 auto;
}
.se-text {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
  padding: 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.se-text .eyebrow { color: var(--gold); }
.se-text .eyebrow::before, .se-text .eyebrow::after { background: var(--gold); }
.se-text h2 { color: var(--green-moss); margin: 0; }
.se-text p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; max-width: 380px; margin: 0; }
.se-modes {
  display: flex;
  gap: 1.5rem;
  color: var(--text-light);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .services-editorial {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .se-img-left, .se-img-right, .se-img-bottom { grid-column: 1; grid-row: auto; height: 240px; max-width: 100%; margin: 0; }
  .se-text { grid-column: 1; grid-row: auto; }
}

/* ===== SECCIÓN FOTO CAMPO ===== */
.nature-section {
  position: relative;
  height: clamp(280px, 40vw, 480px);
  overflow: hidden;
}
.nature-section > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
.nature-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,35,14,0.2) 0%, rgba(20,35,14,0.55) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--px);
}
.nature-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.93);
  text-align: center;
  max-width: 560px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}


/* ===== PAGE TRANSITION ===== */
/* Gestionado por main.js con sessionStorage */

/* ===== LUCIÉRNAGAS ===== */
.firefly-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.firefly-layer--below { z-index: 1; }
.firefly-layer--above { z-index: 5; }
.firefly {
  position: absolute;
  border-radius: 50%;
  background: #e8d96a;
  box-shadow: 0 0 5px 2px rgba(232,217,106,0.85);
  animation: ff-float var(--dur, 9s) ease-in-out infinite, ff-glow 2.4s ease-in-out infinite alternate;
  opacity: 0;
}
@keyframes ff-float {
  0%          { transform: translate(0,0);              opacity: 0; }
  10%         { opacity: 0.9; }
  50%         { transform: translate(var(--dx),var(--dy)); opacity: 0.75; }
  90%         { opacity: 0.85; }
  100%        { transform: translate(0,0);              opacity: 0; }
}
@keyframes ff-glow {
  0%   { box-shadow: 0 0 4px 1px rgba(232,217,106,0.6); }
  100% { box-shadow: 0 0 10px 4px rgba(232,217,106,1); }
}

/* ===== CURVED TEXT STRIP ===== */
.curved-strip {
  width: 100%;
  margin: 4rem 0 3rem;
  overflow: hidden;
}
.curved-strip .cs-svg { width: 100%; }
.curved-strip text {
  font-family: var(--font-heading);
  font-style: italic;
  letter-spacing: 0.5px;
  fill: #A89F73;
}
/* escritorio: una sola línea (original) */
.cs-desktop { display: block; height: 120px; }
.cs-desktop text { font-size: 26px; }
/* móvil: dos líneas onduladas, escalado proporcional (altura auto = sin deformar ni recortar) */
.cs-mobile { display: none; height: auto; }
.cs-mobile text { font-size: 30px; letter-spacing: 0; }
@media (max-width: 760px) {
  .cs-desktop { display: none; }
  .cs-mobile { display: block; }
}



/* ===== MARIPOSAS (about) ===== */
.butterfly-pair {
  position: absolute;
  z-index: 60;
  pointer-events: none;
  width: 0; height: 0;
}
.butterfly-pair-top {
  top: 78vh;
  left: 12%;
  animation: bf-drift-a 16s ease-in-out infinite;
}
.butterfly-pair-bottom {
  top: 260vh;
  right: 14%;
  animation: bf-drift-b 19s ease-in-out infinite;
}
@keyframes bf-drift-a {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(40px, -30px); }
  50%      { transform: translate(80px, 15px); }
  75%      { transform: translate(30px, 40px); }
}
@keyframes bf-drift-b {
  0%, 100% { transform: translate(0, 0); }
  30%      { transform: translate(-50px, 25px); }
  60%      { transform: translate(-20px, -35px); }
  85%      { transform: translate(25px, 20px); }
}
.butterfly {
  position: absolute;
  top: 0; left: 0;
  width: 30px;
  height: 30px;
}
.butterfly svg { width: 100%; height: 100%; display: block; overflow: visible; }
.butterfly-1 svg { animation: bf-flip 13s ease-in-out infinite; }
.butterfly-2 svg { animation: bf-flip-rev 9s ease-in-out infinite 4.5s; }
.butterfly-2 { width: 23px; height: 23px; }

/* giro ocasional. Empiezan encaradas (la 2 mira al lado contrario). */
@keyframes bf-flip {
  0%, 44%  { transform: scaleX(1); }
  49%      { transform: scaleX(0.12); }
  54%, 94% { transform: scaleX(-1); }
  99%      { transform: scaleX(0.12); }
  100%     { transform: scaleX(1); }
}
@keyframes bf-flip-rev {
  0%, 44%  { transform: scaleX(-1); }
  49%      { transform: scaleX(-0.12); }
  54%, 94% { transform: scaleX(1); }
  99%      { transform: scaleX(-0.12); }
  100%     { transform: scaleX(-1); }
}

/* orbitan una alrededor de la otra e intercambian lado */
.butterfly-1 { animation: orbit 5.5s linear infinite; }
.butterfly-2 { animation: orbit 5.5s linear infinite; animation-delay: -2.75s; }
@keyframes orbit {
  0%   { transform: rotate(0deg)   translate(15px) rotate(0deg); }
  100% { transform: rotate(360deg) translate(15px) rotate(-360deg); }
}

/* aleteo de perfil: el ala se pliega y abre */
.bf-wing {
  transform-box: fill-box;
  transform-origin: 90% 60%;
  animation: wing-side 0.3s ease-in-out infinite;
}
.butterfly-2 .bf-wing { animation-duration: 0.26s; }
@keyframes wing-side {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(0.45); }
}

/* recorrido: entra, se posa (pausa), se posa de nuevo, sale volando */
@keyframes bf-fly {
  0%   { transform: translate(-8vw, 24vh)  rotate(6deg); }
  14%  { transform: translate(24vw, 58vh)  rotate(0deg); }
  24%  { transform: translate(24vw, 58vh)  rotate(0deg); }
  42%  { transform: translate(56vw, 34vh)  rotate(-5deg); }
  54%  { transform: translate(56vw, 34vh)  rotate(-5deg); }
  70%  { transform: translate(80vw, 64vh)  rotate(5deg); }
  80%  { transform: translate(80vw, 64vh)  rotate(5deg); }
  100% { transform: translate(112vw, 12vh) rotate(10deg); }
}
