/* =========================================================
   28Lunas — Brand identity stylesheet
   Local fonts via @font-face; brand palette derived from
   Manual de Identidad Visual de 28Lunas.
   ========================================================= */

@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/MontserratAlternates-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/MontserratAlternates-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/MontserratAlternates-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/MontserratAlternates-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/MontserratAlternates-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/NotoSerif-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Borel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Borel-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Letters For Learners";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Letters for Learners_2.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/IBMPlexMono-SemiBold.ttf") format("truetype");
}

/* =================  Tokens  ================= */
:root {
  /* Brand palette — from manual */
  --rosa-suave: #fcbede;
  --rosa: #f270af;
  --rosa-uva: #994f76;
  --lila: #ca9eca;
  --uva: #99549b;
  --uva-oscura: #59345b;
  --azul-lavanda: #9aa5f4;
  --azul-uva: #6e72bb;
  --azul-noche: #4b4f7a;
  --verde-salvia: #76a08e;
  --verde-bosque: #315451;
  --verde-noche: #182826;
  --naranja: #ee7e48;
  --naranja-tierra: #d66645;
  --naranja-oscuro: #8e4332;
  --amarillo: #e8b772;
  --mostaza: #cc924c;
  --tierra: #75522d;
  --verde-lima: #d7e285; /* aprox. del verde-pista del logo segundario */

  /* Base superficies */
  --crema: #fdfaf3;
  --crema-rosa: #fdf3ee;
  --rosa-lavado: #fde7f0;
  --texto: #3a2740;
  --texto-suave: #6a5170;
  --linea: #ecd9e2;

  --acento: var(--rosa);
  --acento-fuerte: var(--rosa-uva);
  --acento-frio: var(--azul-uva);
  --acento-verde: var(--verde-salvia);

  /* Tipografía */
  --font-sans: "Montserrat Alternates", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-script: "Borel", "Brush Script MT", cursive;
  --font-handwritten: "Letters For Learners", "Comic Sans MS", cursive;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Espacios */
  --maxw: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-py: clamp(3.5rem, 8vw, 6.5rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-soft: 0 1px 2px rgba(89, 52, 91, 0.05),
    0 14px 40px -20px rgba(89, 52, 91, 0.18);
  --shadow-card: 0 1px 2px rgba(89, 52, 91, 0.05),
    0 24px 48px -28px rgba(89, 52, 91, 0.28);

  --duration: 220ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =================  Reset  ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--acento);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--uva-oscura);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
}
h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
}
h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}
p {
  margin: 0 0 1em;
}
small {
  font-size: 0.85em;
  color: var(--texto-suave);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.88rem, 1vw, 1rem);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--rosa-uva);
  display: inline-block;
  margin-bottom: 0.9rem;
}
.eyebrow--hero {
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
}

/* =================  Container  ================= */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =================  Buttons  ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  background: var(--rosa);
  color: #fff;
  transition: transform var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: var(--rosa-uva);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(242, 112, 175, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--uva-oscura);
  border-color: var(--uva-oscura);
}
.btn--ghost:hover {
  background: var(--uva-oscura);
  color: #fff;
  box-shadow: none;
}
.btn--lg {
  padding: 1rem 1.7rem;
  font-size: 0.98rem;
}
.btn .ico {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}

/* =================  Header  ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--crema) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration), background var(--duration);
}
.site-header.is-scrolled {
  border-bottom-color: var(--linea);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.44rem 0;
  gap: 0.9rem;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  color: var(--rosa);
  line-height: 1;
  text-decoration: none;
}
.nav-logo img {
  width: clamp(7rem, 10vw, 8.8rem);
  max-width: 8.8rem;
  height: auto;
  display: block;
}
.nav-logo .num {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.nav-logo .word {
  font-family: var(--font-script);
  font-size: 1.85rem;
  line-height: 1;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  gap: clamp(0.85rem, 1.35vw, 1.3rem);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  color: var(--texto);
  font-weight: 500;
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  word-break: keep-all;
}
.nav-cta {
  padding: 0.68rem 1.2rem;
  font-size: 0.88rem;
  flex: 0 0 auto;
}
.nav-links a:hover {
  color: var(--rosa-uva);
}
.nav-cta {
  display: inline-flex;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--uva-oscura);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 880px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--crema);
    border-top: 1px solid var(--linea);
    border-bottom: 1px solid var(--linea);
    padding: 0.5rem 0;
  }
  .nav.is-open .nav-links li {
    width: 100%;
  }
  .nav.is-open .nav-links a {
    display: block;
    padding: 0.95rem var(--gutter);
    border-bottom: 1px solid var(--linea);
  }
  .nav.is-open .nav-links li:last-child a {
    border-bottom: 0;
  }
  .nav.is-open .nav-cta {
    display: none;
  }
}

/* =================  Hero  ================= */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  background: linear-gradient(
      180deg,
      var(--rosa-lavado) 0%,
      var(--crema) 100%
    );
  overflow: hidden;
}
.hero-grid {
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero-text h1 {
  margin-bottom: 0.5em;
  font-size: clamp(1.75rem, 3.25vw, 2.75rem);
}
.hero-title {
  display: flex;
  flex-direction: column;
  row-gap: 0.16em;
  line-height: 1;
}
.hero-title .title-line {
  display: block;
  line-height: 1.08;
}
.hero-text h1 .accent {
  font-family: var(--font-script);
  color: var(--rosa);
  font-size: 1.05em;
  display: inline-block;
  line-height: 0;
  vertical-align: baseline;
  transform: translateY(0.08em);
}
.hero-text .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  max-width: 38ch;
  color: var(--texto);
}
.hero-text .lead + .lead {
  margin-top: -0.25rem;
}
.brand-inline {
  font-family: var(--font-script);
  color: var(--rosa);
  font-size: 1.22em;
  line-height: 0;
}
.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.hero-meta {
  display: flex;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--texto-suave);
}
.hero-meta strong {
  color: var(--uva-oscura);
}
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--rosa-lavado);
  isolation: isolate;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-moon,
.hero-flor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.hero-moon {
  width: clamp(80px, 12vw, 150px);
  right: -2.2rem;
  bottom: -2.4rem;
  transform: rotate(-12deg);
  opacity: 0.9;
  filter: drop-shadow(0 6px 18px rgba(89, 52, 91, 0.18));
}
.hero-flor {
  width: clamp(60px, 8vw, 110px);
  top: -1rem;
  right: 47%;
  transform: rotate(180deg);
  opacity: 0.65;
  display: none; /* hide; flor accent is too overlapping with text on desktop */
}
@media (min-width: 1100px) {
  .hero-flor {
    display: block;
    right: auto;
    left: -3rem;
    top: -1.5rem;
    width: 90px;
    opacity: 0.6;
    transform: rotate(-22deg);
  }
}
@media (max-width: 760px) {
  .hero-moon {
    right: -1rem;
    bottom: -1rem;
  }
  .hero-flor {
    top: 4.5rem;
    left: -1.5rem;
    width: 80px;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-image {
    order: -1;
    aspect-ratio: 4/3;
    max-height: 60vh;
  }
}

/* Floating decorations on the page edges */
.deco-floral {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* =================  Section base  ================= */
section {
  padding: var(--section-py) 0;
  position: relative;
}
section.alt {
  background: var(--crema-rosa);
}
section.dark {
  background: var(--uva-oscura);
  color: #f4e8ee;
}
section.dark h2,
section.dark h3 {
  color: #fff;
}
section.dark .eyebrow {
  color: var(--rosa-suave);
}

.section-head {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.section-head p.lead {
  font-size: 1.05rem;
  color: var(--texto-suave);
  margin-top: 0.4rem;
}

/* Editorial two-column block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split--reverse > :first-child {
  order: 2;
}
@media (max-width: 760px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .split--reverse > :first-child {
    order: 0;
  }
}

/* =================  Propósito (manifiesto)  ================= */
.purpose {
  background: var(--crema-rosa);
  text-align: center;
}
.purpose blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.45vw, 1.9rem);
  line-height: 1.35;
  color: var(--uva-oscura);
  max-width: 43ch;
  margin: 0 auto;
  padding: 0;
  position: relative;
}
.purpose blockquote p {
  margin: 0 auto 1.15rem;
  max-width: 43ch;
}
.purpose blockquote p:last-child {
  margin-bottom: 0;
}
.purpose blockquote em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--rosa);
  font-size: 1.15em;
  line-height: 0.9;
}
/* =================  Producto principal  ================= */
.kit-detail .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
}
.kit-detail .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.price-card {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.6rem 0;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.price-card .price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--uva-oscura);
}
.price-card .currency {
  font-size: 0.85rem;
  color: var(--texto-suave);
  margin-left: 0.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.price-card .note {
  font-size: 0.88rem;
  color: var(--texto-suave);
}

/* Cuatro momentos */
.moments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}
@media (max-width: 980px) {
  .moments {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .moments {
    grid-template-columns: 1fr;
  }
}
.moment {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid var(--linea);
  position: relative;
  overflow: hidden;
}
.moment .num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--rosa);
  display: block;
  margin-bottom: 0.4rem;
}
.moment h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  color: var(--uva-oscura);
}
.moment p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--texto-suave);
  margin-bottom: 0.8rem;
}
.moment .moment-note {
  margin: 0.75rem 0 0;
  color: var(--uva-oscura);
  font-weight: 700;
  font-size: 0.88rem;
}
.moment ul {
  font-size: 0.92rem;
  color: var(--texto);
  padding-left: 1.05rem;
  margin: 0;
  line-height: 1.55;
}
.moment ul li {
  margin-bottom: 0.25rem;
}
.moment::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  bottom: -28px;
  right: -28px;
  background-image: url("illustrations/luna.webp");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.18;
  transform: rotate(20deg);
}
.moment.m2::after {
  background-image: url("illustrations/flor-6.webp");
  opacity: 0.5;
}
.moment.m3::after {
  background-image: url("illustrations/hojita-1.webp");
  opacity: 0.55;
}
.moment.m4::after {
  background-image: url("illustrations/corazon-1.webp");
  opacity: 0.6;
}

.personalization {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: var(--rosa-lavado);
  border-radius: var(--radius);
}
.personalization strong {
  color: var(--uva-oscura);
}
.personalization .label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rosa);
  font-size: 0.78rem;
  display: block;
  margin-bottom: 0.55rem;
}
.personalization h3 {
  margin: 0 0 0.55rem;
  color: var(--uva-oscura);
}
.kit-note {
  max-width: 72ch;
  margin: 1.4rem auto 0;
  text-align: center;
  color: var(--texto-suave);
  font-size: 0.92rem;
}

/* =================  Infografía  ================= */
.info-figure {
  display: block;
  margin: 0 auto;
  max-width: 760px;
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--linea);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}
.info-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.info-cta {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--texto-suave);
}

/* =================  Galería  ================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
.gallery button {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease),
    filter var(--duration) var(--ease);
}
.gallery button:hover img {
  transform: scale(1.04);
  filter: brightness(0.96);
}
/* Highlight first item bigger */
.gallery > :first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1/1;
}
@media (max-width: 760px) {
  .gallery > :first-child {
    grid-column: span 2;
  }
}

/* =================  Lightbox  ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 14, 26, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--uva-oscura);
  transition: transform var(--duration) var(--ease);
}
.lightbox button:hover {
  transform: scale(1.06);
}
.lightbox .lb-close {
  top: 1rem;
  right: 1rem;
}
.lightbox .lb-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox .lb-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover {
  transform: translateY(-50%) scale(1.06);
}
.lightbox .lb-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* =================  Calma Serena  ================= */
.calma {
  background: linear-gradient(
    180deg,
    var(--crema) 0%,
    color-mix(in srgb, var(--azul-lavanda) 18%, var(--crema)) 100%
  );
}
.calma .split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.calma .split img.calma-kit-photo {
  aspect-ratio: 4 / 5;
  object-position: center 58%;
}
.calma-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (max-width: 880px) {
  .calma-products {
    grid-template-columns: repeat(2, 1fr);
  }
}
.calma-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--linea);
  display: block;
  transition: border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}
.calma-card[open] {
  border-color: rgba(242, 112, 175, 0.55);
  box-shadow: var(--shadow-soft);
}
.calma-card summary {
  list-style: none;
  cursor: pointer;
}
.calma-card summary::marker {
  content: "";
}
.calma-card summary::-webkit-details-marker {
  display: none;
}
.calma-card .img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #f7f1ed;
}
.calma-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.calma-card h3 {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  color: var(--uva-oscura);
}
.calma-card summary::after {
  content: "Más información";
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--rosa-uva);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calma-card[open] summary::after {
  content: "Ocultar información";
}
.calma-card p {
  font-size: 0.85rem;
  color: var(--texto-suave);
  margin: 0 0 0.75rem;
  text-align: left;
  line-height: 1.58;
}
.calma-copy {
  border-top: 1px solid var(--linea);
  margin-top: 1rem;
  padding-top: 1rem;
}
.calma-copy p:last-child {
  margin-bottom: 0;
}
.calma-copy strong {
  color: var(--uva-oscura);
}

/* =================  Historia  ================= */
.story {
  background: var(--crema);
  background-image: radial-gradient(
      circle at 8% 18%,
      rgba(252, 190, 222, 0.25),
      transparent 35%
    ),
    radial-gradient(
      circle at 92% 82%,
      rgba(154, 165, 244, 0.22),
      transparent 35%
    );
}
.story-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  max-width: 64ch;
  margin: 0 auto;
  border: 1px solid var(--linea);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.story-card .signoff {
  font-family: var(--font-script);
  color: var(--rosa);
  font-size: 1.6rem;
  display: block;
  margin-top: 1rem;
}
.story-card p {
  font-size: 1.05rem;
  line-height: 1.7;
}
.story-card .pull {
  font-family: var(--font-serif);
  color: var(--uva-oscura);
  font-size: 1.35rem;
  line-height: 1.4;
  border-left: 3px solid var(--rosa);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

/* =================  FAQ  ================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.05rem 1.4rem;
  font-weight: 600;
  color: var(--uva-oscura);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-family: var(--font-serif);
  color: var(--rosa);
  transition: transform var(--duration) var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item .content {
  padding: 0 1.4rem 1.2rem;
  color: var(--texto);
  line-height: 1.65;
}

/* =================  Footer  ================= */
.site-footer {
  background: var(--uva-oscura);
  color: #f4e8ee;
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: url("illustrations/luna.webp") no-repeat center/contain;
  opacity: 0.07;
  bottom: -40px;
  left: -40px;
  transform: rotate(-12deg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  position: relative;
}
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand .nav-logo .num,
.footer-brand .nav-logo .word {
  color: var(--rosa-suave);
}
.footer-brand .nav-logo img {
  width: clamp(10rem, 16vw, 13rem);
  max-width: 13rem;
}
.footer-brand p {
  margin-top: 1rem;
  width: clamp(10rem, 16vw, 13rem);
  max-width: none;
  text-align: center;
  color: #ddc7d3;
  font-size: 0.95rem;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosa-suave);
  margin: 0 0 0.9rem;
}
.footer-col a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  color: #f4e8ee;
}
.footer-col a:hover {
  color: var(--rosa-suave);
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #c9aebb;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* =================  Floating WhatsApp  ================= */
.fab-wa {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 60;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px -8px rgba(37, 211, 102, 0.55);
  transition: transform var(--duration) var(--ease);
}
.fab-wa:hover {
  transform: scale(1.06);
}
.fab-wa svg {
  width: 28px;
  height: 28px;
}
@media (max-width: 480px) {
  .fab-wa {
    bottom: 0.9rem;
    right: 0.9rem;
  }
}

/* =================  Decorations utility  ================= */
.bg-petals::before,
.bg-petals::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.55;
}
.bg-petals::before {
  width: 110px;
  height: 110px;
  top: -20px;
  left: -10px;
  background-image: url("illustrations/flor-2.webp");
  transform: rotate(-18deg);
}
.bg-petals::after {
  width: 130px;
  height: 130px;
  bottom: -28px;
  right: -10px;
  background-image: url("illustrations/flor-11.webp");
  transform: rotate(15deg);
}

/* Smaller floral accent at top of section */
.flourish {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.flourish img {
  width: 60px;
  opacity: 0.85;
}
