/* IAlvaro Partner — paleta: Naranja + Negro */
:root {
  --orange: #ff6b00;
  --orange-dark: #e05e00;
  --black: #0a0a0a;
  --white: #ffffff;
  --text: var(--black);
  --muted: rgba(10, 10, 10, .62);
  --line: rgba(10, 10, 10, .10);
  --soft: #fff6ef;               /* tinte muy suave del naranja */
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--orange); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--black); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; white-space: nowrap; color: var(--black); }
.logo__mark { width: 22px; height: auto; flex-shrink: 0; margin-top: -4px; }
.logo--small .logo__mark { width: 18px; }
.logo__ia { color: var(--orange); }
.logo__partner { font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.logo--small { font-size: 16px; }

.lang {
  font: 700 12px/1 inherit; font-family: inherit;
  border: 1px solid var(--line); background: transparent; color: var(--black);
  padding: 8px 10px; border-radius: 999px; cursor: pointer;
}
.lang:hover { border-color: var(--black); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--black);
  font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 999px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn--small { font-size: 14px; padding: 9px 18px; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.link-arrow { font-weight: 700; color: var(--orange); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- TYPE ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
h1 { font-size: clamp(44px, 8vw, 92px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; max-width: 18ch; }
h3 { font-size: 20px; letter-spacing: -.015em; font-weight: 700; margin-bottom: 8px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 640px; margin: 28px auto 0; }
.section__lead { font-size: 19px; color: var(--muted); max-width: 620px; margin-top: 20px; }

/* ---------- HERO ---------- */
.hero { text-align: center; padding: 120px 0 96px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; margin-top: 44px; }

/* ---------- BENEFITS ---------- */
.benefits { padding: 0 0 112px; }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.benefit { border-top: 2px solid var(--black); padding-top: 24px; }
.benefit__big { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.035em; margin-bottom: 8px; color: var(--orange); }
.benefit p { color: var(--muted); }

/* ---------- SECTIONS ---------- */
.section { padding: 120px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .section__lead,
.section--dark .card p,
.section--dark .feature p:not(.eyebrow) { color: rgba(255,255,255,.66); }

/* Partner pillars */
#partner h2 { max-width: 22ch; }
.pillars { margin-top: 64px; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(255,107,0,.18); }
.pillar h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--orange); margin-bottom: 20px; }
.pillar p { color: var(--muted); }

/* Journey */
.journey { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 72px; position: relative; }
.journey::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--line); }
.step { position: relative; padding-right: 28px; }
.step__num {
  position: relative; display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--black); color: var(--orange); font-weight: 700; font-size: 14px; margin-bottom: 24px;
}
.step p { color: var(--muted); }

/* Cards */
.cards { margin-top: 64px; }
.card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 32px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--orange); transform: translateY(-3px); }
.card__icon { width: 30px; height: 30px; fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; }

.feature {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 24px; padding: 40px; border-radius: var(--radius);
  background: var(--orange); color: var(--black);
}
.feature .eyebrow { color: var(--black); }
.feature h3 { font-size: 28px; }
.section--dark .feature p:not(.eyebrow) { color: var(--black); max-width: 560px; }
.feature .btn { background: var(--black); color: var(--orange); flex-shrink: 0; }
.feature .btn:hover { background: #222; }

/* Tools */
.tool-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px; }
.tool-group { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(255,107,0,.18); }
.tool-group h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.tools { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tool {
  font-weight: 700; font-size: 17px; letter-spacing: -.015em;
  padding: 10px 18px; border-radius: 999px;
  background: var(--black); color: var(--white);
  transition: background .2s, color .2s;
}
.tool:hover { background: var(--orange); color: var(--black); }
.tools__note { margin-top: 32px; font-size: 13px; color: var(--muted); text-align: center; }

/* How */
.how { margin-top: 64px; }
.how__num { display: block; font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--orange); margin-bottom: 16px; }
.how p { color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 200px 1fr; gap: 64px; align-items: center; }
.about__avatar {
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--black); color: var(--orange);
  display: grid; place-items: center;
}
.about__avatar svg { width: 46%; height: 46%; fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; }
.about p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 20px; }

/* Contact */
.contact { text-align: center; }
.contact__inner h2, .contact__inner .section__lead { margin-left: auto; margin-right: auto; }
.contact__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.contact__meta { margin-top: 20px; color: rgba(255,255,255,.55); font-size: 15px; }
.contact__meta a:hover { color: var(--orange); }

/* Footer */
.footer { background: var(--black); color: rgba(255,255,255,.5); font-size: 13px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 24px; flex-wrap: wrap; }
.footer .logo { color: var(--white); }
.footer__legal { display: flex; gap: 20px; width: 100%; }
.footer__legal a:hover { color: var(--orange); }
.footer .logo__partner { color: rgba(255,255,255,.5); }

/* Zoom ligado al scroll (lo controla script.js) */
.zoom { opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; backface-visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .zoom { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }


/* Botón flotante de WhatsApp (siempre visible) */
.wa-float {
  position: fixed; z-index: 20;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: var(--black);
  box-shadow: 0 6px 20px rgba(10,10,10,.22), 0 2px 6px rgba(10,10,10,.12);
  transition: transform .2s ease, background .2s ease;
  animation: wa-in .5s cubic-bezier(.2,.9,.3,1.2) .8s both;
}
.wa-float:hover { background: var(--orange-dark); transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-bubble { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wa-float .wa-phone { fill: currentColor; }
@keyframes wa-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
/* Que el botón no tape el final del pie en móvil */
.footer { padding-bottom: 72px; }
@media (min-width: 900px) { .footer { padding-bottom: 0; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .journey::before { display: none; }
  .feature { flex-direction: column; align-items: flex-start; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .tool-groups { grid-template-columns: 1fr; }
  .about__avatar { width: 120px; height: 120px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 80px 0 72px; }
  .section { padding: 88px 0; }
  .journey { grid-template-columns: 1fr; }
  .logo__partner { display: none; }
  .btn--small { padding: 8px 14px; font-size: 13px; }
  .feature { padding: 28px; }
  .tool-group { padding: 24px; }
  .tool { font-size: 15px; padding: 9px 14px; }
}
