/* =========================================================================
   Mónica Patiño · Aromaterapia Swiss Just
   Paleta de marca del cliente: magenta #E91E63 + violeta #6331E9 + blanco.
   Display: Fraunces · Cuerpo: Jost.
   ========================================================================= */

:root {
  /* --- color --- */
  --magenta:      #E91E63;
  --magenta-deep: #C2185B;
  --violet:       #6331E9;
  --violet-soft:  #B79CF2;
  --plum-ink:     #2E1D33;   /* texto: ciruela profunda, no negro */
  --plum-soft:    #6B5570;   /* texto secundario */
  --paper:        #FFFDFB;   /* fondo blanco cálido */
  --blush:        #FBEEF4;   /* lavado rosa */
  --lilac:        #F3EFFC;   /* lavado violeta */
  --line:         rgba(46, 29, 51, 0.10);
  --line-strong:  rgba(46, 29, 51, 0.16);

  --grad: linear-gradient(120deg, var(--magenta) 0%, #A22CC0 55%, var(--violet) 100%);
  --grad-soft: linear-gradient(160deg, var(--blush) 0%, var(--lilac) 100%);

  /* --- tipografía --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- medidas --- */
  --wrap: 1140px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- reset ligero --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--plum-ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--plum-ink); color: #fff; padding: 0.6rem 1rem;
  border-radius: 10px; text-decoration: none; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* eyebrows / labels */
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--magenta-deep); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--violet-soft); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 251, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum-soft); }

.nav-list { display: flex; align-items: center; gap: 2rem; }
.nav-list a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--plum-ink); transition: color 0.2s var(--ease); }
.nav-list a:not(.nav-cta):hover { color: var(--magenta-deep); }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--grad); color: #fff !important;
  padding: 0.55rem 1.15rem; border-radius: 999px;
  box-shadow: 0 6px 18px -8px rgba(233, 30, 99, 0.7);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(233, 30, 99, 0.8); }

.nav-toggle { display: none; }

/* =========================================================================
   BOTONES
   ========================================================================= */
.btn {
  --wa: 0;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 0;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px -12px rgba(163, 44, 192, 0.75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(163, 44, 192, 0.85); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn-ghost {
  background: transparent; color: var(--plum-ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta-deep); }
.btn-card {
  background: #fff; color: var(--magenta-deep);
  border: 1.5px solid var(--line-strong); font-size: 0.95rem;
  padding: 0.7rem 1.25rem; margin-top: auto; align-self: flex-start;
}
.btn-card:hover { border-color: var(--magenta); background: var(--blush); transform: translateY(-1px); }

.btn-wa-icon {
  width: 18px; height: 18px; flex: none;
  background: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15l-1.3 4.7 4.8-1.3A10 10 0 1 0 12 2Zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .3-3.4-.7-2.9-1.2-4.7-4.1-4.8-4.3-.2-.2-1.2-1.6-1.2-3s.7-2.1 1-2.4c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .6l-.4.6c-.2.2-.3.4-.1.7.2.3.9 1.4 1.9 2.3 1.3 1.1 2.3 1.5 2.6 1.6.3.1.5.1.7-.1l.9-1c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.5.4.1.1.1.7-.2 1.4Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15l-1.3 4.7 4.8-1.3A10 10 0 1 0 12 2Zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .3-3.4-.7-2.9-1.2-4.7-4.1-4.8-4.3-.2-.2-1.2-1.6-1.2-3s.7-2.1 1-2.4c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .6l-.4.6c-.2.2-.3.4-.1.7.2.3.9 1.4 1.9 2.3 1.3 1.1 2.3 1.5 2.6 1.6.3.1.5.1.7-.1l.9-1c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.5.4.1.1.1.7-.2 1.4Z'/%3E%3C/svg%3E");
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--magenta-deep); text-decoration: none;
  margin-top: 0.5rem;
}
.link-arrow span { transition: transform 0.2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(4.5rem, 12vw, 8rem); max-width: 780px; }
.hero-title {
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  font-weight: 400; letter-spacing: -0.025em; margin-bottom: 1.5rem;
  font-optical-sizing: auto;
}
.hero-title em { font-style: italic; color: var(--magenta-deep); }
.hero-lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--plum-soft); max-width: 34ch; margin-bottom: 2.25rem; }
.hero-lead strong { color: var(--plum-ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-breath {
  margin-top: 2.5rem; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--violet); opacity: 0.75;
}

/* halo de aroma que respira — la firma */
.hero-halo {
  position: absolute; z-index: 1;
  top: -22%; right: -8%; width: min(58vw, 640px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
    rgba(233, 30, 99, 0.42) 0%,
    rgba(163, 44, 192, 0.30) 34%,
    rgba(99, 49, 233, 0.12) 58%,
    transparent 72%);
  filter: blur(18px);
  border-radius: 50%;
  animation: breathe 9s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: 0.85; }
  45%      { transform: scale(1.09); opacity: 1;    }
}

/* =========================================================================
   BENEFICIOS
   ========================================================================= */
.benefits { padding-block: clamp(3rem, 7vw, 5rem); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.benefit { text-align: left; }
.benefit-ico {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem;
  border-radius: 14px; background: var(--blush); border: 1px solid var(--line);
}
.benefit-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--magenta-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.benefit p { font-size: 0.96rem; color: var(--plum-soft); }

/* =========================================================================
   SOBRE MÍ
   ========================================================================= */
.about { padding-block: clamp(3rem, 8vw, 6rem); background: var(--paper); }
.about-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-media { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.about-medallion {
  position: relative; width: min(74vw, 320px); aspect-ratio: 1;
  border-radius: 50%; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 30px 60px -30px rgba(163, 44, 192, 0.6);
}
.medallion-initials { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 6rem); color: #fff; font-style: italic; letter-spacing: -0.02em; }
.medallion-ring { position: absolute; inset: 14px; border: 1.5px solid rgba(255,255,255,0.55); border-radius: 50%; }
.about-media-note { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum-soft); }
.about-copy h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.25rem; }
.about-copy p { color: var(--plum-soft); margin-bottom: 1rem; max-width: 52ch; }
.about-copy strong { color: var(--plum-ink); font-weight: 600; }

/* =========================================================================
   SECCIÓN — cabeceras
   ========================================================================= */
.section-head { max-width: 46ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.section-intro { color: var(--plum-soft); }

/* =========================================================================
   COLECCIONES
   ========================================================================= */
.collections { padding-block: clamp(3.5rem, 8vw, 6rem); background: linear-gradient(180deg, var(--paper) 0%, var(--blush) 100%); }
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 1.75rem); }
.col-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 20px 40px -34px rgba(46, 29, 51, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.col-card:hover { transform: translateY(-4px); box-shadow: 0 30px 55px -30px rgba(163, 44, 192, 0.45); border-color: var(--violet-soft); }
.col-card--feature { background: linear-gradient(165deg, #fff 0%, var(--lilac) 100%); border-color: var(--violet-soft); }
.col-card--feature .col-card-top h3 { padding-right: 6rem; }  /* reserva espacio para la etiqueta */
.col-tag {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  color: #fff; background: var(--violet); padding: 0.3rem 0.7rem; border-radius: 999px;
}
.col-card-top h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.col-card-top p { font-size: 0.95rem; color: var(--plum-soft); margin-bottom: 1.25rem; }
.col-items { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.5rem; }
.col-items li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  font-size: 0.95rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--line);
}
.col-items li span { font-size: 0.8rem; color: var(--plum-soft); white-space: nowrap; letter-spacing: 0.04em; }
.col-note { margin-top: 2.5rem; text-align: center; font-size: 0.95rem; color: var(--plum-soft); }

/* =========================================================================
   CÓMO COMPRAR
   ========================================================================= */
.how { padding-block: clamp(3.5rem, 8vw, 6rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); counter-reset: none; }
.step { position: relative; padding-top: 0.5rem; }
.step-num {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem;
  font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: #fff;
  background: var(--grad); border-radius: 50%;
  box-shadow: 0 12px 24px -12px rgba(233, 30, 99, 0.7);
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--plum-soft); font-size: 0.98rem; max-width: 34ch; }

/* =========================================================================
   CONTACTO
   ========================================================================= */
.contact { position: relative; overflow: hidden; background: var(--plum-ink); color: #fff; }
.contact-inner { position: relative; z-index: 2; text-align: center; padding-block: clamp(4rem, 10vw, 7rem); max-width: 640px; margin-inline: auto; }
.contact-inner h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 1rem; color: #fff; }
.contact-lead { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin-bottom: 2.25rem; }
.contact-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.75rem; margin-top: 2.5rem; font-size: 0.92rem; }
.contact-meta a { color: var(--violet-soft); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.contact-meta a:hover { border-color: var(--violet-soft); }
.contact-place { color: rgba(255,255,255,0.6); }
.contact-halo {
  position: absolute; z-index: 1; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: min(90vw, 780px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,99,0.42) 0%, rgba(99,49,233,0.28) 40%, transparent 68%);
  filter: blur(30px); animation: breathe 11s var(--ease) infinite;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: #241528; color: rgba(255,255,255,0.7); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-inner { display: flex; flex-direction: column; gap: 0.85rem; max-width: 640px; }
.footer-brand { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.footer-disclaimer { font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.55); }
.footer-legal { font-size: 0.82rem; color: rgba(255,255,255,0.62); }

/* =========================================================================
   REVELADO AL SCROLL
   ========================================================================= */
.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: 940px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; width: 18px; height: 2px; background: var(--plum-ink); border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-list {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
    box-shadow: 0 20px 30px -20px rgba(46,29,51,0.4);
    clip-path: inset(0 0 100% 0); pointer-events: none; opacity: 0;
    transition: clip-path 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .nav-list.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; opacity: 1; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; padding-top: 0.75rem; }
  .nav-list a:not(.nav-cta) { display: block; padding: 0.9rem 0; }
  .nav-cta { justify-content: center; }

  .benefits-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .col-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .hero-lead { max-width: none; }
}

/* =========================================================================
   ACCESIBILIDAD — movimiento reducido
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
