/* ==========================================================================
   jazminbfit  ·  editorial warm minimal
   Paleta y tipografía tomadas del feed de Instagram de Jazmín.
   ========================================================================== */

:root {
  --paper: #f6f1ec;
  --paper-2: #efe6de;
  --paper-3: #e6d8ce;
  --ink: #241a16;
  --ink-soft: #5d4a42;
  --ink-faint: #8c7a72;
  --pink: #e0507a;
  --pink-deep: #c23c64;
  --pink-soft: #f7d6e0;
  --line: rgba(36, 26, 22, 0.14);
  --line-strong: rgba(36, 26, 22, 0.28);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Archivo", "Helvetica Neue", Helvetica, sans-serif;

  --step: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grano de papel: la textura que separa esto de un template limpio */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.26'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.015em; line-height: 1.06; }

.display { font-family: var(--display); font-optical-sizing: auto; }
.display em {
  font-style: italic;
  color: var(--pink);
  font-weight: 400;
}

h1.display { font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.1rem); }
h2.display { font-size: clamp(2.05rem, 1.4rem + 2.6vw, 3.4rem); }
h3 { font-family: var(--display); font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

.lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.28rem); color: var(--ink-soft); max-width: 54ch; }

.eyebrow, .kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
  margin: 0 0 1.1rem;
}
.kicker { color: var(--ink-faint); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1.25rem;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- botones ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.55rem;
  font-family: var(--body); font-size: 0.94rem; font-weight: 500;
  letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; border-radius: 100px; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--pink); }

.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn-ghost { color: var(--ink); padding-inline: 0.4rem; }
.btn-ghost svg { transition: transform 0.25s var(--ease); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-sm { padding: 0.62rem 1.15rem; font-size: 0.86rem; }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 1.02rem; }
.btn-lg svg { width: 21px; height: 21px; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); }

.head-inner { display: flex; align-items: center; gap: 1.5rem; padding: 0.85rem 0; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-style: italic; font-size: 1rem;
  border-radius: 50%;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-weight: 500; font-size: 1.02rem; }
.brand-text small { white-space: nowrap; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: flex; gap: 1.7rem; }
.nav a {
  text-decoration: none; font-size: 0.9rem; color: var(--ink-soft);
  position: relative; padding-block: 0.2rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--pink); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.head-actions { display: flex; align-items: center; gap: 0.8rem; }

.lang {
  text-decoration: none; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: 100px;
  padding: 0.42rem 0.85rem; transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lang:hover { border-color: var(--pink); color: var(--pink); }

.burger { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 0.5rem 0 1.5rem; border-top: 1px solid var(--line); }
.mobile-nav a { text-decoration: none; padding: 0.85rem 0; font-family: var(--display); font-size: 1.4rem; border-bottom: 1px solid var(--line); }
.mobile-lang { color: var(--pink); }

/* ---------- hero ---------- */

.hero { padding: clamp(3rem, 2rem + 5vw, 6rem) 0 clamp(2.5rem, 2rem + 3vw, 4rem); }

.hero-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-copy .lead { margin-top: 1.6rem; }
h1.display { margin-bottom: 0.2em; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 2rem; }

.facts { list-style: none; margin: 2.6rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.8rem 1.9rem; }
.facts li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; color: var(--ink-soft); }
.facts svg { width: 15px; height: 15px; fill: var(--pink); flex: none; }

.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  border-radius: 220px 220px 18px 18px;   /* arco editorial, no tarjeta genérica */
  filter: saturate(0.94) contrast(1.02);
}
.hero-figure::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1px solid var(--line-strong);
  border-radius: 220px 220px 18px 18px;
}

.sticker {
  position: absolute; left: -1.4rem; bottom: 2.2rem;
  background: var(--pink); color: #fff;
  font-family: var(--display); font-style: italic; font-size: 1rem;
  padding: 0.75rem 1.3rem; border-radius: 100px; white-space: nowrap;
  transform: rotate(-6deg);
  box-shadow: 0 12px 28px rgba(224, 80, 122, 0.28);
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--ink); color: var(--paper);
  overflow: hidden; padding: 0.95rem 0;
  border-block: 1px solid var(--ink);
}
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  animation: slide 42s linear infinite;
}
.marquee-track span { font-family: var(--display); font-style: italic; font-size: 1.35rem; white-space: nowrap; }
.marquee-track i { color: var(--pink); font-style: normal; font-size: 0.6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */

.section { padding-block: var(--section-y); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }

/* sobre mí */

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 5vw, 5.5rem); align-items: start; }
.about-figure { margin: 0; position: relative; }
.about-figure img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%;
  border-radius: 2px;
}
.about-figure::before {
  content: ""; position: absolute; inset: -1.1rem -1.1rem auto auto;
  width: 9rem; height: 9rem; border-radius: 50%;
  background: var(--pink-soft); z-index: -1;
}
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { color: var(--ink-soft); max-width: 56ch; }

.pull {
  margin: 2.4rem 0 0; padding: 0 0 0 1.6rem;
  border-left: 2px solid var(--pink);
  position: relative;
}
.pull p {
  font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.35; color: var(--ink); margin: 0;
}
.squiggle { position: absolute; left: 1.6rem; bottom: -1.1rem; width: 9rem; height: 12px; color: var(--pink-soft); }

/* método */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; }
.step:nth-child(2) { margin-top: 3rem; }   /* rompe la grilla a propósito */
.step:nth-child(3) { margin-top: 1.4rem; }
.step figure { margin: 0 0 1.4rem; }
.step img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.step-n {
  display: inline-block; font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.18em;
  color: var(--pink); margin-bottom: 0.5rem;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* precios */

.pricing { background: var(--paper-2); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }

.plan {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  padding: 2rem 1.6rem; position: relative;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(36, 26, 22, 0.09); }

.plan-featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan-featured .plan-summary, .plan-featured .plan-features li { color: rgba(246, 241, 236, 0.74); }
.plan-featured .plan-price span { color: rgba(246, 241, 236, 0.6); }
.plan-featured svg { fill: var(--pink); }
.plan-featured .btn-solid { background: var(--pink); color: #fff; }
.plan-featured .btn-solid:hover { background: var(--paper); color: var(--ink); }

.plan-badge {
  position: absolute; top: -0.72rem; left: 1.6rem;
  background: var(--pink); color: #fff;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 0.32rem 0.72rem; border-radius: 100px;
}

.plan h3 { font-size: 1.18rem; margin-bottom: 1rem; }
.plan-price { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; margin-bottom: 0.75rem; }
.plan-price strong { font-family: var(--display); font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; }
.plan-price span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.plan-summary { font-size: 0.9rem; color: var(--ink-soft); }

.plan-features { list-style: none; margin: 1.1rem 0 1.9rem; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; }
.plan-featured .plan-features { border-top-color: rgba(246, 241, 236, 0.18); }
.plan-features li { display: flex; gap: 0.55rem; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.plan-features svg { width: 15px; height: 15px; fill: var(--pink); flex: none; margin-top: 0.22rem; }

.plan .btn { margin-top: auto; justify-content: center; }
.plans-note { margin-top: 2rem; font-size: 0.84rem; color: var(--ink-faint); max-width: 52ch; }

/* testimonios */

.testimonials { background: var(--ink); color: var(--paper); }
.section-head-dark .kicker { color: rgba(246, 241, 236, 0.5); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 1.6rem; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--display); font-size: 1.22rem; line-height: 1.45; margin: 0;
  color: rgba(246, 241, 236, 0.92);
}
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 3rem; line-height: 0.6; color: var(--pink); margin-bottom: 0.6rem; }
.quote figcaption { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid rgba(246, 241, 236, 0.16); }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: flex; flex-direction: column; }
.quote figcaption strong { font-size: 0.92rem; font-weight: 500; }
.quote figcaption small { font-size: 0.76rem; color: rgba(246, 241, 236, 0.55); }

/* galería */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 2px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figure:nth-child(2) { margin-top: 2.4rem; }

/* preguntas */

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: var(--display); font-size: 1.12rem; position: relative;
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--pink); }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 1.75rem;
  width: 11px; height: 11px; border-right: 1.5px solid var(--pink); border-bottom: 1.5px solid var(--pink);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding: 0 2.5rem 1.5rem 0; }
.faq-answer p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; max-width: 60ch; }

/* contacto */

.contact-card {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: clamp(2.5rem, 2rem + 4vw, 5rem);
  border-radius: var(--radius); text-align: center;
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; width: 22rem; height: 22rem; border-radius: 50%;
  background: radial-gradient(circle, var(--pink-soft), transparent 68%);
  top: -9rem; right: -7rem; pointer-events: none;
}
.contact-card .lead { margin-inline: auto; }
.contact-card h2 { margin-bottom: 1rem; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.9rem; margin-top: 2.4rem; position: relative; }
.contact-meta { margin: 2rem 0 0; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--ink-faint); }

/* footer */

.site-foot { border-top: 1px solid var(--line); padding-top: 3.2rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: start; }
.foot-name { font-family: var(--display); font-size: 1.45rem; margin: 0 0 0.35rem; }
.foot-tag { color: var(--ink-soft); font-size: 0.9rem; margin: 0; max-width: 34ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot-links a { font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.foot-links a:hover { color: var(--pink); border-bottom-color: var(--pink); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 2.6rem; padding: 1.3rem 0 2rem; }
.foot-bottom p { margin: 0; font-size: 0.78rem; color: var(--ink-faint); }

/* whatsapp flotante */

.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 0.85rem 1.2rem; border-radius: 100px;
  box-shadow: 0 12px 30px rgba(36, 26, 22, 0.25);
  transform: translateY(120%); transition: transform 0.4s var(--ease), background-color 0.25s var(--ease);
}
.wa-float.is-visible { transform: translateY(0); }
.wa-float:hover { background: var(--pink); }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }
.wa-float span { font-size: 0.88rem; }

/* animación de entrada */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }
  .site-head.is-open .mobile-nav { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 27rem; }
  .hero-figure img { aspect-ratio: 1 / 1; border-radius: 200px 200px 14px 14px; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 22rem; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps, .quotes { grid-template-columns: 1fr; }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
  .step { display: grid; grid-template-columns: 8rem 1fr; column-gap: 1.4rem; align-items: start; }
  .step figure { grid-row: span 3; margin-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
  .gallery-grid figure:nth-child(2) { margin-top: 0; }
}

@media (max-width: 620px) {
  .head-actions .btn-sm { display: none; }
  .plans { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .step figure { margin-bottom: 1rem; max-width: 16rem; }
  .sticker { left: 50%; bottom: -1.1rem; transform: translateX(-50%) rotate(-4deg); }
  .hero-figure::after { display: none; }
  .marquee-track span { font-size: 1.1rem; }
  .foot-links { gap: 1rem 1.2rem; }
  .wa-float span { display: none; }
  .wa-float { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
