/* ============================================================
   AURAI · Landing MVP — Editorial-luxe / "aura"
   Paleta clara, tinta casi negra, verde Aurai como acento.
   ============================================================ */

:root {
  --paper: #f6f1e7;        /* crema cálido */
  --paper-2: #efe8d8;      /* crema más profundo */
  --ink: #11150f;          /* tinta casi negra */
  --ink-soft: #3a4038;     /* gris tinta */
  --line: #d9d0bd;         /* hairlines sobre crema */
  --aura: #20cd97;         /* verde marca */
  --aura-deep: #0c7a5a;    /* verde profundo legible */
  --forest: #0c160f;       /* sección oscura */
  --lavender: #c5c7eb;     /* terciario suave */
  --shadow: 18px 18px 0 rgba(17, 21, 15, 0.06);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  position: relative;
}

/* grano sutil sobre todo el papel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--aura); color: var(--forest); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aura-deep);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 540; line-height: 1.02; letter-spacing: -0.025em; }

.display {
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  font-optical-sizing: auto;
}
.display em { font-style: italic; color: var(--aura-deep); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 700; font-size: 0.97rem;
  padding: 0.95em 1.5em;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--aura-deep); border-color: var(--aura-deep); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(12,122,90,.28); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.btn-lg { padding: 1.1em 1.8em; font-size: 1.05rem; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,241,231,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a.link { font-weight: 600; font-size: 0.95rem; position: relative; }
.nav-links a.link::after { content:""; position:absolute; left:0; bottom:-5px; height:2px; width:0; background:var(--aura-deep); transition:width .3s; }
.nav-links a.link:hover::after { width:100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display:block; width:26px; height:2px; background:var(--ink); margin:5px 0; transition:.3s; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 9vw, 110px) 0 clamp(60px, 8vw, 96px); overflow: hidden; }
.aura-bloom {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  top: -12%; right: -10%;
  background: radial-gradient(circle, rgba(32,205,151,.55), rgba(32,205,151,.12) 45%, transparent 70%);
  filter: blur(18px);
  animation: float 14s ease-in-out infinite;
}
.aura-bloom.two { top: auto; bottom: -20%; left: -14%; right: auto; width: 44vw; height: 44vw;
  background: radial-gradient(circle, rgba(197,199,235,.5), transparent 70%); animation-duration: 18s; }
@keyframes float { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-3%,4%) scale(1.06);} }

.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 14ch; margin: 0.5em 0 0; }
.hero .sub { max-width: 52ch; margin-top: 1.6rem; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); }
.hero .cta-row { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* tira de confianza */
.trust { margin-top: 3.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.trust li { display: flex; align-items: center; gap: .5em; }
.trust li::before { content: "✦"; color: var(--aura-deep); }

/* ---------- secciones genéricas ---------- */
section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.sec-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; }
.sec-num { font-family: var(--font-display); font-size: clamp(2.4rem,6vw,4rem); color: var(--line); line-height: 1; }

/* ---------- servicios / productos ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.product {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 22px; padding: 2rem 1.9rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product .tag { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--aura-deep); }
.product h3 { font-size: 1.85rem; }
.product p { color: var(--ink-soft); font-size: .98rem; }
.product .price { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); }
.product .price .setup { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; }
.product .price .care { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.product-media {
  height: 130px; border-radius: 16px; margin-bottom: .4rem;
  display: grid; place-items: center; color: var(--ink);
  background: linear-gradient(135deg, rgba(32,205,151,.18), rgba(197,199,235,.26));
  border: 1px solid var(--line); overflow: hidden;
}
.product-media svg { width: 104px; height: auto; }
.product-media .acc { stroke: var(--aura-deep); }
.product-media .acc-fill { fill: var(--aura-deep); }
.product.feature .product-media {
  background: linear-gradient(135deg, rgba(32,205,151,.28), rgba(255,255,255,.05));
  border-color: rgba(255,255,255,.16); color: var(--paper);
}
.product.feature .product-media .acc { stroke: var(--aura); }
.product.feature .product-media .acc-fill { fill: var(--aura); }
.product.feature { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.product.feature p { color: #c8d2c8; }
.product.feature .tag { color: var(--aura); }
.product.feature .price { border-top-color: rgba(255,255,255,.18); }
.product.feature .care { color: #c8d2c8; }

/* ---------- pilares / por qué ---------- */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.pillar { border-left: 2px solid var(--aura-deep); padding: 0.2rem 0 0.2rem 1.4rem; }
.pillar h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.pillar p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- modelo de precio (sección oscura) ---------- */
.model { background: var(--forest); color: var(--paper); border-radius: 32px; }
.model .wrap { padding-top: clamp(56px,8vw,90px); padding-bottom: clamp(56px,8vw,90px); }
.model .eyebrow { color: var(--aura); }
.model h2 { font-size: clamp(2rem,5vw,3.2rem); max-width: 18ch; margin: .4rem 0 1.2rem; }
.model .lead { max-width: 56ch; color: #cdd6cd; font-size: 1.1rem; }
.model-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.6rem; }
.model-card { border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 1.8rem; }
.model-card .k { font-family: var(--font-display); font-size: 2.4rem; color: var(--aura); }
.model-card h4 { font-size: 1.2rem; margin: .3rem 0 .5rem; }
.model-card p { color: #cdd6cd; font-size: .95rem; }

/* ---------- proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.step .n { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.step h3 { font-size: 1.25rem; margin: .5rem 0 .3rem; }
.step .dur { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aura-deep); }
.step p { color: var(--ink-soft); font-size: .92rem; margin-top: .4rem; }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.4rem 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.faq-q .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; background: var(--aura-deep); transition: transform .3s; }
.faq-q .plus::before { top: 12px; left: 0; width: 26px; height: 2px; }
.faq-q .plus::after { left: 12px; top: 0; width: 2px; height: 26px; }
.faq-item.open .plus::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 70ch; }

/* ---------- CTA final ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(2.4rem,7vw,5rem); max-width: 18ch; margin: 0 auto 1.2rem; }
.final h2 em { font-style: italic; color: var(--aura-deep); }
.final p { color: var(--ink-soft); max-width: 50ch; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; }
.foot-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { font-family: var(--font-display); font-size: 1.6rem; }
.foot-logo { height: 52px; width: auto; margin-bottom: .7rem; }
.foot-meta { color: var(--ink-soft); font-size: .9rem; line-height: 1.9; }
.foot-meta a:hover { color: var(--aura-deep); }
.foot-legal { margin-top: 2.4rem; font-size: .8rem; color: var(--ink-soft); display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
.stagger > *:nth-child(1){animation-delay:.05s} .stagger > *:nth-child(2){animation-delay:.15s}
.stagger > *:nth-child(3){animation-delay:.25s} .stagger > *:nth-child(4){animation-delay:.35s}
.stagger > *:nth-child(5){animation-delay:.45s}
@keyframes rise { to { opacity:1; transform:none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 24px 1.6rem;
    transform: translateY(-120%); transition: transform .35s; }
  .nav-links.open { transform: none; }
  .nav-links a.link { padding: .9rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: .8rem; }
  .nav-toggle { display: block; }
  .nav-inner { height: 72px; }
  .brand img { height: 44px; }
  .grid-products, .pillars, .model-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
