/* ==========================================================================
   Alejandra Camacho Rincón — sitio personal
   Fotografía grande, titulares enormes (sans en negrita + serif en cursiva),
   palabras resaltadas con color y bloques pastel. Paleta de marca:
   ciruela, terracota, crema y lavanda sobre un fondo cálido muy claro.
   ========================================================================== */

:root {
  --paper: #fbf8f4;          /* fondo cálido muy claro */
  --white: #ffffff;
  --head: #25141f;           /* titulares: ciruela casi negro */
  --ink: #2e2420;            /* texto */
  --ink-soft: #6a5d56;
  --plum: #4a2340;           /* botón principal y bloques oscuros */
  --plum-hover: #5e3354;
  --terracotta: #b8664a;
  --terracotta-text: #9a4f36;
  --cream: #f3e9dc;
  --peach: #f2cdb9;          /* resaltado y bloque pastel */
  --lav: #d9cde8;            /* resaltado y bloque pastel */
  --lav-soft: #ebe5f3;
  --sky: #cdd9e5;
  --line: #e7e0d8;
  --purple: #7a4890;         /* fondo de la foto principal */

  --sans-display: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --script: 'Caveat', 'Segoe Script', cursive;

  --r-lg: 24px;
  --r-md: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--plum); color: var(--white); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Titulares ---------- */

h1, h2, h3 {
  font-family: var(--sans-display);
  color: var(--head);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }

/* Palabra en cursiva serif, como en los referentes */
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Palabras resaltadas con color */
mark { background: none; color: inherit; }
.chip {
  display: inline;
  padding: 0.02em 0.22em 0.1em;
  border-radius: 0.24em;
  color: var(--head);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.chip--peach { background: var(--peach); }
.chip--lav { background: var(--lav); }
.chip--sky { background: var(--sky); }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}

.lead {
  font-size: clamp(1.1rem, 1.9vw, 1.28rem);
  line-height: 1.55;
  max-width: 34rem;
}
.muted { color: var(--ink-soft); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  background: var(--lav); color: var(--head);
}
.tag--peach { background: var(--peach); }
.tag--white { background: var(--white); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  padding: 17px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--plum);
  background: var(--plum);
  color: var(--white);
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease), color 200ms var(--ease);
}
.btn:hover { background: var(--plum-hover); border-color: var(--plum-hover); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--light { background: var(--white); border-color: var(--white); color: var(--head); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); }

.btn--ghost { background: transparent; color: var(--head); border-color: #cdbfb3; }
.btn--ghost:hover { background: var(--white); border-color: var(--plum); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

.btn--small { padding: 12px 20px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.wordmark { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.wordmark img { height: 52px; width: auto; display: block; }
.site-footer .wordmark img { height: 60px; }
@media (max-width: 640px) { .wordmark img { height: 44px; } }

/* Patrón de marca (monograma ACR), teñido con --pat */
.has-pattern { position: relative; isolation: isolate; overflow: hidden; }
.has-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--pat, #eadccf);
  -webkit-mask: url("images/patron.svg") 0 0 / 360px 360px;
          mask: url("images/patron.svg") 0 0 / 360px 360px;
}
.has-pattern--fade::before {
  opacity: .6;
  -webkit-mask-image: linear-gradient(#000, transparent 92%), url("images/patron.svg");
  -webkit-mask-composite: source-in; mask-composite: intersect;
  -webkit-mask-size: 100% 100%, 360px 360px; mask-size: 100% 100%, 360px 360px;
  -webkit-mask-repeat: no-repeat, repeat; mask-repeat: no-repeat, repeat;
}
.section--plum.has-pattern { --pat: rgba(255, 255, 255, .07); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--ink);
  padding: 6px 0; border-bottom: 1.5px solid transparent;
  transition: border-color 200ms var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current='page']:not(.btn) { border-bottom-color: var(--terracotta); }

/* ---------- Secciones ---------- */

.section { padding: clamp(72px, 10vw, 132px) 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--plum { background: var(--plum); color: #f4ecf2; }
.section--plum h2, .section--plum h3 { color: var(--white); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 52rem; }

/* ---------- Hero con foto a pantalla completa ---------- */

.hero--photo {
  position: relative;
  background: var(--purple);
  color: var(--white);
  overflow: hidden;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; left: 0; top: 0;
  width: 74%; height: 100%;
  object-fit: cover; object-position: 0% 18%;
  /* se funde con el morado de la pared, para que el texto quede sobre color liso */
  -webkit-mask-image: linear-gradient(to right, #000 76%, transparent 100%);
  mask-image: linear-gradient(to right, #000 76%, transparent 100%);
}
.hero--photo .container { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.hero-copy { margin-left: auto; max-width: 560px; }
.hero--photo h1 { color: var(--white); }
.hero--photo .lead { margin: 28px 0 36px; color: #f4ecf8; }
.hero--photo .eyebrow { color: #f0e4f7; }
.hero-note { margin: 26px 0 0; font-size: 0.95rem; color: #eadcf2; }


/* ---------- Hero con video (prueba) ---------- */
.hero--video { display: block; min-height: 0; }
.hero--video .container { padding-block: clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.hero-video { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #2a1533; box-shadow: 0 30px 60px -28px rgba(20, 6, 30, .55); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-sound {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .94); color: var(--head); font: 600 .88rem/1 var(--sans);
  transition: transform 200ms var(--ease), background 200ms;
}
.video-sound svg { width: 18px; height: 18px; }
.video-sound:hover { transform: translateY(-1px); background: #fff; }
.video-sound:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.hero--video .hero-copy { margin-left: 0; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-video { max-width: 460px; }
}

/* ---------- Hero partido (texto + foto) ---------- */

.hero--split { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.split-hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center;
}
.split-hero .lead { margin: 26px 0 34px; }

.photo { border-radius: var(--r-lg); overflow: hidden; background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 4 / 3; }

/* ---------- Texto ---------- */

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.cols-2 p { margin: 0; }
.statement h2 { max-width: 16ch; }
.statement .cols-2 { max-width: 62rem; }

.prose p { max-width: 36rem; }

.footnote { margin-top: 28px; font-size: 0.93rem; color: var(--ink-soft); max-width: 36rem; }

/* ---------- Método (4 bloques pastel) ---------- */

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  list-style: none; margin: 0; padding: 0;
}
.step {
  border-radius: var(--r-md);
  padding: 30px 26px 34px;
  min-height: 300px;
  display: flex; flex-direction: column;
}
.step .n {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 4.2rem; line-height: 1; letter-spacing: -0.04em;
  margin-bottom: auto; padding-bottom: 36px; opacity: 0.85;
}
.step h3 { margin-bottom: 10px; font-size: 1.55rem; }
.step p { margin: 0; font-size: 1rem; line-height: 1.55; }
.step--peach { background: var(--peach); color: var(--head); }
.step--lav { background: var(--lav); color: var(--head); }
.step--sky { background: var(--sky); color: var(--head); }
.step--plum { background: var(--plum); color: #f4ecf2; }
.step--plum h3 { color: var(--white); }
.steps--three { grid-template-columns: repeat(3, 1fr); }
.steps--three .step { min-height: 240px; }

/* ---------- Dos caminos con foto ---------- */

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path { display: flex; flex-direction: column; gap: 22px; text-decoration: none; }
.path .photo { aspect-ratio: 5 / 4; }
.path .photo img { transition: transform 700ms var(--ease); }
.path:hover .photo img { transform: scale(1.03); }
.path h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 14px 0 10px; }
.path p { color: var(--ink-soft); max-width: 30rem; margin: 0 0 18px; }

.link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--head);
  text-decoration: none; border-bottom: 2px solid var(--terracotta); padding-bottom: 3px;
}
.link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
a:hover .link svg, .link:hover svg { transform: translateX(4px); }

/* ---------- Sobre mí ---------- */

.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 7vw, 104px); align-items: center; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; align-items: baseline; }
.facts strong { font-family: var(--sans-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--head); min-width: 5.2rem; }

/* ---------- Banda final ---------- */

.cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.cta-grid h2 { margin-bottom: 34px; }
.cta-grid .photo { aspect-ratio: 4 / 5; max-width: 420px; justify-self: end; width: 100%; }

.cta-simple h2 { margin-bottom: 32px; max-width: 20ch; }

/* ---------- Lista con check ---------- */

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23B8664A'%3E%3Cpath d='M232.49 80.49l-128 128a12 12 0 0 1-17 0l-56-56a12 12 0 1 1 17-17L96 183 215.51 63.51a12 12 0 0 1 17 17Z'/%3E%3C/svg%3E");
}

/* Pasos numerados del diagnóstico */
.howto { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: howto; }
.howto li { position: relative; padding-left: 58px; counter-increment: howto; }
.howto li::before {
  content: counter(howto); position: absolute; left: 0; top: -2px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--peach); color: var(--head);
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
}
.howto li:nth-child(2)::before { background: var(--lav); }
.howto li:nth-child(3)::before { background: var(--sky); }
.howto strong { color: var(--head); }

/* ---------- Incluye (mentoría) ---------- */

.includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.includes > div { border-radius: var(--r-md); padding: 26px 24px 28px; }
.includes > div:nth-child(1) { background: var(--peach); }
.includes > div:nth-child(2) { background: var(--lav); }
.includes > div:nth-child(3) { background: var(--sky); }
.includes > div:nth-child(4) { background: var(--cream); }
.includes strong {
  display: block; font-family: var(--sans-display); font-weight: 800; font-size: 1.45rem;
  letter-spacing: -0.025em; color: var(--head); margin-bottom: 6px; line-height: 1.1;
}
.includes span { font-size: 0.97rem; color: var(--ink); }

/* ---------- Precios ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); padding: 38px 32px 34px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
}
.plan--lav { background: var(--lav-soft); border-color: transparent; }
.plan--plum { background: var(--plum); border-color: transparent; color: #f1e6ee; }
.plan-top { min-height: 32px; margin-bottom: 16px; }
.plan h3 { font-size: 1.9rem; margin-bottom: 6px; }
.plan .sub { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 28px; }

.price-usd {
  font-family: var(--sans-display); font-weight: 800; color: var(--head);
  font-size: 3.3rem; letter-spacing: -0.045em; line-height: 1;
}
.price-usd small { font-size: 1rem; letter-spacing: 0; font-family: var(--sans); font-weight: 700; margin-right: 8px; color: var(--ink-soft); }
.price-cop { margin-top: 10px; color: var(--ink-soft); font-size: 1.02rem; }
.strike { text-decoration: line-through; color: var(--ink-soft); font-size: 0.95rem; margin-top: 14px; min-height: 1.5em; }
.per { margin: 22px 0 28px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, 0.1); font-size: 0.97rem; color: var(--ink-soft); }
.per strong { color: var(--head); font-weight: 700; }
.pay { margin-top: auto; display: grid; gap: 10px; }

.plan--plum h3, .plan--plum .price-usd, .plan--plum .per strong { color: var(--white); }
.plan--plum .sub, .plan--plum .price-cop, .plan--plum .strike, .plan--plum .per, .plan--plum .price-usd small { color: #d9c7d3; }
.plan--plum .per { border-top-color: rgba(255, 255, 255, 0.2); }
.plan--plum .btn { background: var(--white); border-color: var(--white); color: var(--head); }
.plan--plum .btn:hover { background: var(--cream); border-color: var(--cream); }
.plan--plum .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.plan--plum .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

.pay-note { margin-top: 28px; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Preguntas frecuentes ---------- */

.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 44px 26px 0; position: relative;
  font-family: var(--sans-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 400; font-size: 1.8rem; color: var(--terracotta);
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 44px 28px 0; margin: 0; color: var(--ink-soft); }

/* ---------- Formulario ---------- */

.form-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.form-card > .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.form-card > .photo img { object-position: 50% 48%; }
.form-body { padding: clamp(26px, 4vw, 40px); }
.form-body h2 { font-size: 2rem; margin-bottom: 8px; letter-spacing: -0.03em; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; color: var(--head); }
.field input[type='text'], .field input[type='email'] {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid #d9cdc2; border-radius: 14px; padding: 15px 18px;
  transition: border-color 200ms var(--ease);
}
.field input:focus { outline: 2px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.field input[aria-invalid='true'] { border-color: #9f2f2d; }
.field .error { color: #9f2f2d; font-size: 0.9rem; margin-top: 6px; min-height: 1.2em; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); margin: 4px 0 24px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--plum); flex: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; font-size: 0.95rem; min-height: 1.4em; }
.form-msg.is-error { color: #9f2f2d; }
.success:focus { outline: none; }
.success h2 { margin: 16px 0 12px; }

/* ---------- Pie ---------- */

.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.97rem; }
.footer-links a:hover { color: var(--plum); }
.legal { margin-top: 36px; font-size: 0.85rem; color: var(--ink-soft); max-width: 46rem; }
.legal p { margin: 0 0 8px; }

/* ---------- Movimiento sutil ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; transform: translateY(14px);
    transition: opacity 650ms var(--ease), transform 650ms var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps--three { grid-template-columns: 1fr; }
  .includes { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .split-hero, .about, .cta-grid, .cols-2, .paths { grid-template-columns: 1fr; }
  .cta-grid .photo { justify-self: start; max-width: 360px; }
  .about .photo { max-width: 520px; }
  .split-hero .photo--portrait { aspect-ratio: 1 / 1; max-width: 560px; }
}

@media (max-width: 860px) {
  /* Foto arriba y texto debajo, sobre el morado de la foto */
  .hero--photo { display: block; min-height: 0; }
  .hero-bg {
    position: static; width: 100%; height: clamp(340px, 92vw, 560px); object-position: 18% 14%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-copy { margin-left: 0; max-width: none; }
  .hero--photo .container { padding-block: 40px 64px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .header-inner { flex-wrap: wrap; padding-block: 12px; gap: 10px 20px; min-height: 0; }
  .nav { gap: 18px; flex-wrap: wrap; }
  .steps, .includes { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step .n { padding-bottom: 22px; font-size: 3.4rem; }
  .btn-row .btn { width: 100%; }
  .facts li { flex-direction: column; gap: 2px; }
}
