/* ==========================================================================
   Yeliterapias — paleta y estilos base
   60-70% marfil #FAF6F8 y morado #54206F · 20-30% morado oscuro #32152F
   5-10% fucsia #B52B73 (acento puntual) · #C9A0B5 solo en detalles finos
   ========================================================================== */

:root {
  --purple-deep: #54206F;
  --fuchsia: #B52B73;
  --ivory: #FAF6F8;
  --plum-dark: #32152F;
  --lavender-border: #A985C7;
  --rose-gold: #C9A0B5;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-script: 'Allura', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--plum-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- claim (Mirar · Asentir · Transformar) ---------- */

.claim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  row-gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.8rem;
  max-width: 100%;
}

.claim .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fuchsia);
  flex: none;
}

/* ============================== HEADER =================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(50, 21, 47, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(169, 133, 199, 0.18);
}

/* se "suelta" justo cuando el footer entra en pantalla, para que nunca
   tape el logo/firma del footer en páginas cortas o pantallas altas
   (ver el script al final del body) */
.site-header.is-released {
  position: static;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__icon {
  width: 50px;
  height: auto;
  flex: none;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

.site-nav a:hover { color: var(--fuchsia); }

.header-cta {
  flex: none;
  padding: 11px 26px;
  font-size: 0.7rem;
}

.site-nav .header-cta--mobile { display: none; }

.nav-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  position: relative;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ============================== HERO ==================================== */

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--purple-deep);
  padding: 80px 24px;
}

/* ---------- glow suave detrás del video, da profundidad ---------- */

.hero__glow {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -8%;
  width: 640px;
  height: 640px;
  max-width: 60vw;
  max-height: 60vw;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(181, 43, 115, 0.4) 0%, rgba(84, 32, 111, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

/* ---------- visual: el video, enmarcado como un ojo de buey ---------- */

.hero__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 0 10px rgba(201, 160, 181, 0.1);
  animation: heroFloat 7s ease-in-out infinite;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* medido sobre el frame real del video: el símbolo queda unos 100px a la
   derecha del centro del cuadro (2560px de ancho) — se compensa acá. */
.hero__video--desktop {
  object-position: 77% center;
}

.hero__video.is-active {
  opacity: 1;
}

/* si la dueña sube una foto propia desde el dashboard, reemplaza al video */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero__photo.is-active {
  opacity: 1;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video-frame { animation: none; }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 28px;
  max-width: 640px;
}

.hero__eyebrow.claim {
  justify-content: flex-start;
  color: #F1E4EC;
}

.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: normal;
  color: #FFFFFF;
  font-size: clamp(2rem, 4.1vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.hero__subtitle {
  margin: 0;
  max-width: 460px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 38px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--fuchsia) 100%);
  box-shadow: 0 12px 28px -12px rgba(181, 43, 115, 0.65);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(181, 43, 115, 0.8);
}

.btn--outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ============================ SERVICIOS =================================== */

.services-section {
  background: var(--ivory);
  padding: 120px 0;
}

.services-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.services-header .eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fuchsia);
  margin-bottom: 18px;
}

.services-header h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--purple-deep);
  margin: 0 0 18px;
}

.services-header p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #4a3450;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--plum-dark);
  border: 1px solid rgba(169, 133, 199, 0.15);
  border-radius: 6px;
  padding: 42px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--fuchsia);
  transform: translateY(-4px);
}

.service-card__photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin: -8px -2px 4px;
}

.service-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.service-card__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: #fff;
  margin: 0;
}

.service-card__price {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.service-card__price-clp {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fuchsia);
}

.service-card__price-usd {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.service-card__text {
  flex: 1;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.service-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-gold);
}

.service-card__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-deep), var(--fuchsia));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(181, 43, 115, 0.65);
}

.service-card__cta svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* ============================ CONTENIDO ================================== */

.content-section {
  background: var(--ivory);
  padding: 120px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

/* ---------- her photo: a designated, elegant slot ---------- */

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1.5px solid var(--rose-gold);
  border-radius: 16px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.about-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--purple-deep), var(--plum-dark));
  box-shadow: 0 24px 60px -20px rgba(50, 21, 47, 0.4);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo__placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.about-photo__placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--rose-gold);
  opacity: 0.85;
}

.about-photo__placeholder span {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-photo-caption {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--purple-deep);
  opacity: 0.75;
  text-align: center;
}

.script-accent {
  display: block;
  font-family: var(--font-script);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--fuchsia);
  margin: 0 0 6px -2px;
}

.content-editorial .eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fuchsia);
  margin-bottom: 22px;
}

.content-editorial h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  color: var(--purple-deep);
  margin: 0 0 26px;
}

.content-editorial h2 em {
  font-style: italic;
  color: var(--fuchsia);
}

.content-editorial p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4a3450;
  margin: 0 0 20px;
}

.content-editorial p:last-child { margin-bottom: 0; }

.keywords-block {
  background: var(--plum-dark);
  border-radius: 4px;
  padding: 48px 36px;
}

.keywords-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.keywords-list li {
  padding: 26px 0;
  border-bottom: 1px solid rgba(181, 43, 115, 0.4);
}

.keywords-list li:first-child { padding-top: 0; }
.keywords-list li:last-child { border-bottom: none; padding-bottom: 0; }

.keywords-list .kw {
  display: block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--rose-gold);
}

.keywords-list .kw-sub {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: rgba(250, 246, 248, 0.55);
}

/* ============================ PROCESO ==================================== */

.process-section {
  background: var(--ivory);
  padding: 40px 0 140px;
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.process-header .eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fuchsia);
  margin-bottom: 18px;
}

.process-header h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--purple-deep);
  margin: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.process-card {
  position: relative;
  overflow: hidden;
  background: var(--plum-dark);
  border: 1px solid rgba(169, 133, 199, 0.15);
  border-radius: 6px;
  padding: 40px 36px 36px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.process-card:hover {
  border-color: var(--fuchsia);
  transform: translateY(-4px);
}

.process-card__number {
  position: absolute;
  top: -6px;
  right: 20px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 6.5rem;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.process-card__title {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 12px;
}

.process-card__text {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ============================== FOOTER ==================================== */

.site-footer {
  background: var(--plum-dark);
  border-top: 1px solid rgba(201, 160, 181, 0.25);
  padding: 76px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand .brand__icon { width: 58px; }

.footer-brand .brand__name {
  font-size: 1.4rem;
}

.footer-signature {
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-signature .dot { width: 4px; height: 4px; }

.footer-divider {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 190px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  justify-content: center;
}

.footer-divider__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fuchsia);
  flex: none;
}

.footer-signature-sub {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-gold);
}

.footer-brand .footer-desc {
  margin: 6px 0 0;
  max-width: 280px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-social__link {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social__link svg {
  width: 17px;
  height: 17px;
}

.footer-social__link:hover {
  border-color: var(--fuchsia);
  color: var(--fuchsia);
  transform: translateY(-2px);
}

.footer-col h4 {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-gold);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--fuchsia); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  /* solo arriba/abajo — el padding izquierdo/derecho ya lo pone .container,
     no pisarlo o el texto queda pegado al borde en mobile */
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-bottom p {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================ RESPONSIVE ================================== */

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__content {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .hero__eyebrow.claim,
  .hero__actions {
    justify-content: center;
  }

  .hero__subtitle { max-width: 480px; }

  .hero__visual {
    max-width: 320px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-wrap {
    max-width: 300px;
    margin: 0 auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .keywords-block { padding: 44px 32px; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: var(--plum-dark);
    border-bottom: 1px solid rgba(169, 133, 199, 0.18);
    padding: 26px 32px 30px;
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .header-cta { display: none; }
  .site-nav .header-cta--mobile { display: inline-flex; }

  .nav-toggle { display: flex; }
}

@media (max-width: 520px) {
  .hero { padding: 56px 20px 48px; }
  .hero__eyebrow.claim {
    font-size: 0.6rem;
    letter-spacing: 0.09em;
    gap: 7px;
  }
  .hero__eyebrow.claim .dot { width: 4px; height: 4px; }
  .btn { padding: 14px 28px; }
  .content-section { padding: 80px 0; }
  .services-section { padding: 80px 0; }
  .process-section { padding: 20px 0 90px; }
  .header-inner { padding: 14px 20px; }

  .footer-inner { grid-template-columns: 1fr; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { padding-top: 56px; }
}
