/* Landing "Claude para Profesionales" — estilo propio, independiente de la
   plataforma (tokens.css/app.css NO se usan aquí). Paleta del deck. */
:root {
  --acc: #d07051;
  --acc-soft: #fdf3ee;
  --acc-2: #b85a3d;
  --acc-2-soft: #fbe5dc;
  --acc-deep: #9a4a30;
  --s-50: #f8fafc; --s-100: #f1f5f9; --s-200: #e2e8f0; --s-300: #cbd5e1;
  --s-400: #94a3b8; --s-500: #64748b; --s-600: #475569; --s-700: #334155;
  --s-800: #1e293b; --s-900: #0f172a;
  --max-w: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--s-800);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--s-900); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--s-700); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section.alt { background: var(--s-50); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head p { font-size: 1.05rem; color: var(--s-600); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--acc-2); font-weight: 700; background: var(--acc-soft);
  padding: 0.4rem 0.85rem; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--acc); }

.hl {
  color: var(--acc); background: var(--acc-soft);
  padding: 0 0.4rem 0.15rem; border-radius: 0.6rem;
  display: inline-block; transform: rotate(-1.5deg);
}

.card {
  background: #fff; border: 1px solid var(--s-200); border-radius: 18px;
  padding: 1.75rem; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10); }

/* CTA */
.btn-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--acc); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem;
  padding: 1rem 2rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(208, 112, 81, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-cta:hover {
  background: var(--acc-2); transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(208, 112, 81, 0.45);
}
.btn-cta-arrow { transition: transform 0.2s ease; }
.btn-cta:hover .btn-cta-arrow { transform: translateX(4px); }
.cta-cerradas {
  display: inline-block; font-weight: 600; color: var(--s-500);
  background: var(--s-100); border: 1px dashed var(--s-300);
  padding: 0.9rem 1.75rem; border-radius: 999px;
}

/* Reveals — solo cuando el JS cargó (html.js); sin JS todo queda visible */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js [data-reveal="2"] { transition-delay: 0.15s; }
html.js [data-reveal="3"] { transition-delay: 0.3s; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(208, 112, 81, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(208, 112, 81, 0.10) 0%, transparent 50%),
    linear-gradient(135deg, #fff 0%, var(--acc-soft) 100%);
  background-size: 160% 160%;
  animation: hero-drift 14s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem;
  align-items: center; min-height: 82vh; padding-top: 4rem; padding-bottom: 2rem;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; margin-bottom: 1rem; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--s-600); font-weight: 500; max-width: 560px; margin-bottom: 2rem; }
.hero-brand { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.hero-brand img { height: 30px; opacity: 0.85; }
.hero-brand span { font-size: 0.85rem; color: var(--s-500); font-weight: 600; }
.hero-media { position: relative; }
.hero-media img.hero-foto {
  border-radius: 24px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.hero-star {
  position: absolute; top: -28px; right: -20px; width: 88px; height: 88px;
  animation: star-float 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 18px rgba(208, 112, 81, 0.35));
}
@keyframes star-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  .hero-star { animation: none; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 3rem; }
  .hero-media { max-width: 420px; }
  .section { padding: 3.5rem 0; }
}

/* ─── Intro ────────────────────────────────────────────────── */
.porque-claude { margin-top: 1rem; }
.claude-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.claude-card .card-num {
  font-size: 0.8rem; font-weight: 800; color: var(--acc);
  letter-spacing: 0.15em; margin-bottom: 0.5rem;
}
.intro-nota {
  margin-top: 2.5rem;
  background: var(--acc-soft); border: 1px solid var(--acc-2-soft);
  border-left: 4px solid var(--acc); border-radius: 14px;
  padding: 1.5rem 1.75rem;
}
.intro-nota p { margin: 0; font-size: 1.05rem; color: var(--s-700); }
@media (max-width: 860px) {
  .claude-grid { grid-template-columns: 1fr; }
}

/* ─── Quién ────────────────────────────────────────────────── */
.quien-grid { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: center; }
.quien-foto img {
  border-radius: 18px; aspect-ratio: 9 / 11; object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}
.quien-nombre { margin-top: 1rem; display: flex; flex-direction: column; }
.quien-nombre strong { color: var(--s-900); }
.quien-nombre span { font-size: 0.85rem; color: var(--s-500); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 2rem; }
.stat {
  text-align: center; padding: 1.25rem 0.5rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--s-200);
}
.stat.accent { background: var(--acc-soft); border-color: var(--acc-2-soft); }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--s-900); line-height: 1.1; }
.stat.accent .stat-num { color: var(--acc); }
.stat-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--s-600); font-weight: 600;
}
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; color: var(--s-700); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 13px; height: 7px;
  border-left: 2.5px solid var(--acc); border-bottom: 2.5px solid var(--acc);
  transform: rotate(-45deg);
}
.quien-ovo { color: var(--s-600); }
.clientes { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--s-200); }
.clientes-label {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--s-400); font-weight: 700; margin-bottom: 1.25rem;
}
/* Carrusel de clientes: auto-scroll + arrastre (JS en landing.js) */
.clientes-viewport { overflow: hidden; }
.clientes-track {
  display: flex; width: max-content;
  cursor: grab; touch-action: pan-y; will-change: transform;
  user-select: none; -webkit-user-select: none;
}
.clientes-track:active { cursor: grabbing; }
.clientes-set { display: flex; flex-shrink: 0; align-items: center; }
.cliente-logo {
  flex-shrink: 0; width: 170px; height: 56px; margin: 0 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.cliente-logo img {
  max-height: 44px; max-width: 130px; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.cliente-logo:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 860px) {
  .quien-grid { grid-template-columns: 1fr; }
  .quien-foto { max-width: 320px; margin: 0 auto; }
}

/* ─── Formato ──────────────────────────────────────────────── */
.formato-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.formato-grid h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.formato-grid p { margin: 0; font-size: 0.92rem; color: var(--s-600); }

/* ─── Temario (timeline) ───────────────────────────────────── */
.timeline { position: relative; padding-left: 4.5rem; max-width: 860px; }
.timeline::before {
  content: ""; position: absolute; left: 1.9rem; top: 1.5rem; bottom: 1.5rem;
  width: 4px; border-radius: 4px;
  background: linear-gradient(to bottom, var(--acc), var(--acc-2));
}
.tl-item { position: relative; margin-bottom: 1.5rem; }
.tl-dot {
  position: absolute; left: -4.5rem; top: 0.5rem;
  width: 3.8rem; height: 3.8rem; border-radius: 999px;
  background: #fff; border: 4px solid var(--acc); color: var(--acc);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
  box-shadow: 0 8px 22px rgba(208, 112, 81, 0.22); z-index: 1;
}
.tl-card {
  background: #fff; border: 1px solid var(--s-200); border-left: 5px solid var(--acc);
  border-radius: 16px; padding: 1.5rem 2rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.tl-card h3 { margin-bottom: 0.75rem; }
.tl-card ul { margin: 0; padding-left: 1.1rem; color: var(--s-700); font-size: 0.95rem; }
.tl-card li { margin-bottom: 0.35rem; }
.tl-act {
  margin: 1rem 0 0; font-size: 0.9rem; color: var(--acc-deep);
  background: var(--acc-soft); border-radius: 10px; padding: 0.6rem 0.9rem;
}

/* ─── Resultados ───────────────────────────────────────────── */
.resultados-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.checklist.grande li { font-size: 1.05rem; margin-bottom: 0.9rem; }
.pwc-card {
  text-align: center; background: var(--acc-soft); border: 1px solid var(--acc-2-soft);
  border-radius: 18px; padding: 2.25rem 2rem;
}
.pwc-num { display: block; font-size: 3.5rem; font-weight: 900; color: var(--acc); line-height: 1; }
.pwc-texto { margin: 1rem 0; font-size: 0.95rem; color: var(--s-700); }
.pwc-fuente { font-size: 0.75rem; color: var(--s-500); }
@media (max-width: 860px) {
  .formato-grid { grid-template-columns: 1fr; }
  .resultados-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 3.5rem; }
  .tl-dot { left: -3.5rem; width: 3rem; height: 3rem; font-size: 1rem; }
}

/* ─── Lo que incluye ───────────────────────────────────────── */
.incluye-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 3rem; }
.inc-item {
  display: flex; align-items: center; gap: 0.9rem;
  background: #fff; border: 1px solid var(--s-200); border-radius: 14px;
  padding: 1rem 1.25rem; font-weight: 600; color: var(--s-800);
}
.inc-icon { font-size: 1.3rem; }
.incluye-extra { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.cert-card { background: #fff; border: 1px solid var(--s-200); border-radius: 18px; padding: 1.5rem; }
.cert-card img { border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12); }
.cert-card p { margin: 1rem 0 0; font-size: 0.9rem; color: var(--s-600); text-align: center; }
.garantia { text-align: center; }
.garantia svg { width: 150px; margin: 0 auto 1rem; display: block; }
.garantia p { font-size: 0.95rem; color: var(--s-600); max-width: 380px; margin: 0 auto; }

/* ─── CTA final + footer ───────────────────────────────────── */
.cta-final { text-align: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(208, 112, 81, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(208, 112, 81, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #fff 0%, var(--acc-soft) 100%);
}
.cta-final p { max-width: 520px; margin: 0 auto 2rem; }
@media (max-width: 860px) {
  .incluye-grid, .incluye-extra { grid-template-columns: 1fr; }
}
