/* Coggni web. Réplica estática del sitio Framer (snapshot 2026-10-03). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b0b0b;
  --text: #3b3f46;
  --muted: #5d6169;
  --faint: #b3b5ba;
  --line: #eaeaea;
  --bg-soft: #f6f6f6;
  --white: #ffffff;
  --violet: #925fff;
  --lav-1: #e9e1ff;
  --lav-2: #f8f5ff;
  --blue-card: #e5eeff;
  --green-card: #eaf6f1;
  --sand-card: #fcf5e9;
  --radius: 16px;
  --container: 1200px;
  --shadow-card: 0 10px 30px rgba(17, 24, 39, 0.08), 0 2px 6px rgba(17, 24, 39, 0.06);
  --shadow-pill: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones y pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 "Inter", sans-serif; letter-spacing: -0.01em;
  padding: 11px 16px; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #262626; }
.btn-light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-pill); }
.btn-lg { padding: 13px 18px; border-radius: 12px; }
.btn-block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 450; color: var(--ink);
  background: var(--white); padding: 5px 9px; border-radius: 6px;
  box-shadow: var(--shadow-pill);
}
.badge svg { width: 14px; height: 14px; flex: none; }
.badge-violet { color: var(--violet); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 246, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 112px; gap: 24px; }
.logo img { width: 116px; height: auto; }
.nav-links {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px 6px;
  background: var(--white); border-radius: 999px;
}
.nav-links a { display: block; padding: 8px 12px; font-size: 15px; font-weight: 450; border-radius: 999px; transition: background-color .15s; }
.nav-links a:hover { background: var(--bg-soft); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 9px 12px; border-radius: 6px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%); padding: 108px 0 136px; }
.hero-grid { display: grid; grid-template-columns: 1fr 516px; gap: 48px; align-items: center; }
.hero h1 { font-size: 58px; line-height: 1.16; font-weight: 500; letter-spacing: -0.03em; max-width: 620px; }
.hero-sub { margin-top: 38px; font-size: 18px; line-height: 1.45; color: var(--text); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 50px; }
.hero-actions .btn { padding: 12px 16px; border-radius: 12px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 26px 30px; margin: 32px 0 0; padding: 0; list-style: none; max-width: 520px; }
.hero-checks li { display: flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--ink); }
.dot-check { width: 15px; height: 15px; border-radius: 50%; background: var(--violet); display: inline-grid; place-items: center; flex: none; }
.dot-check svg { width: 9px; height: 9px; color: var(--white); }

.hero-visual { position: relative; width: 100%; aspect-ratio: 516 / 500; }
.hero-visual .card {
  position: absolute; width: 74%; border-radius: 6px; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-card);
}
.hero-visual .card-resumen { left: 13%; top: 49.2%; z-index: 1; }
.hero-visual .card-ficha { left: 0; top: 25%; z-index: 2; }
.hero-visual .card-estrategia { left: 26%; top: 0; z-index: 3; }

/* ---------- Encabezados de sección ---------- */
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head h2 { margin-top: 12px; font-size: 40px; line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; }
.section-head p { margin-top: 14px; font-size: 16px; color: var(--text); }

/* ---------- Cómo funciona ---------- */
.how { padding: 18px 0 120px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 62px; align-items: stretch; }
.steps { list-style: none; margin: 0; padding: 0 0 0 20px; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-bottom: 22px; cursor: pointer; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 21.5px; top: 44px; bottom: 0; width: 1px; background: var(--line);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 19px; font-weight: 500; color: var(--faint); background: var(--bg-soft);
  transition: background-color .3s, color .3s; position: relative; z-index: 1;
}
.step h3 { font-size: 19.5px; font-weight: 450; color: var(--faint); margin-top: 9px; letter-spacing: -0.01em; transition: color .3s; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--faint); transition: color .3s; }
.step.is-active .step-num { background: var(--ink); color: var(--white); }
.step.is-active h3 { color: var(--ink); }
.step.is-active p { color: var(--text); }
.step button { all: unset; display: contents; }

.how-panel {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 526px;
  background: linear-gradient(180deg, var(--lav-1) 0%, var(--lav-2) 100%);
  display: grid; place-items: center; padding: 40px;
}
.how-panel img {
  grid-area: 1 / 1; max-height: 420px; width: auto; max-width: 100%;
  border-radius: 8px; box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease;
}
.how-panel img.is-active { opacity: 1; transform: none; }

/* ---------- Por qué Coggni ---------- */
.why { padding: 0 0 100px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: start; }
.why-card { border-radius: 8px; padding: 16px 30px 30px; }
.why-card.blue { background: var(--blue-card); }
.why-card.green { background: var(--green-card); }
.why-card.sand { background: var(--sand-card); }
.why-card .badge { box-shadow: none; border-radius: 999px; padding: 5px 9px; }
.why-card h3 { margin-top: 10px; font-size: 29.5px; line-height: 1.22; font-weight: 450; letter-spacing: -0.02em; }
.why-card p { margin-top: 16px; font-size: 16px; line-height: 1.42; color: var(--text); }

/* ---------- Toma el control ---------- */
.control { padding: 0 0 50px; }
.control-card {
  position: relative; overflow: hidden; border-radius: 20px;
  background: linear-gradient(180deg, var(--lav-1) 0%, var(--lav-2) 100%);
  display: grid; grid-template-columns: 1fr 1fr; min-height: 656px;
}
.control-copy { padding: 50px 40px 50px 50px; display: flex; flex-direction: column; }
.control-copy .badge { align-self: flex-start; }
.control-copy h2 { margin-top: 12px; font-size: 28px; line-height: 1.22; font-weight: 450; letter-spacing: -0.02em; }
.control-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 20px; }
.control-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.check-dark { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.check-dark svg { width: 15px; height: 15px; color: var(--white); }
.control-list h3 { font-size: 16.5px; font-weight: 450; margin-top: 2px; }
.control-list p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--text); }
.control-mini { margin-top: auto; padding-top: 40px; list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 32px 26px; margin-bottom: 0; }
.control-mini li { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.check-sm { width: 15px; height: 15px; border-radius: 50%; background: var(--ink); display: inline-grid; place-items: center; flex: none; }
.check-sm svg { width: 9px; height: 9px; color: var(--white); }
.control-visual { position: relative; }
.control-visual img {
  position: absolute; left: 0; top: 50px; width: 820px; max-width: none;
  border-top-left-radius: 10px; box-shadow: var(--shadow-card);
}

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%); padding: 120px 0 100px; margin-top: 44px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.split h2 { margin-top: 12px; font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; }
.split .lead { margin-top: 14px; font-size: 16px; line-height: 1.4; color: var(--text); max-width: 500px; }
.email-block { margin-top: 56px; }
.email-block h3 { font-size: 19px; font-weight: 450; }
.email-pill { display: inline-block; margin-top: 12px; background: var(--ink); color: var(--white); font-size: 14.5px; padding: 7px 12px; border-radius: 6px; }
.email-block p { margin-top: 12px; font-size: 14px; color: var(--text); max-width: 500px; }
.panel {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 40px;
}
.panel h3 { font-size: 34px; font-weight: 450; letter-spacing: -0.02em; line-height: 1.15; }
.panel p { margin-top: 14px; font-size: 16px; line-height: 1.45; color: var(--text); }
.panel .panel-actions { margin-top: 28px; display: grid; gap: 12px; }

/* ---------- Agendar demo ---------- */
.demo { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 30%); padding: 30px 0 0; }
.demo .split { padding-bottom: 120px; }
.calendly-frame {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  height: 700px;
}
.calendly-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--white) 0%, #f6f6f6 100%); }
.footer-grid { display: grid; grid-template-columns: 450px 385px 1fr; padding-top: 0; padding-bottom: 56px; }
.footer-grid .logo img { width: 94px; }
.footer-tagline { margin-top: 18px; font-size: 14.5px; color: var(--text); }
.footer-grid h4 { margin: 8px 0 0; font-size: 16px; font-weight: 450; }
.footer-grid ul { list-style: none; padding: 0; margin: 22px 0 0; font-size: 14.5px; color: var(--text); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); text-align: center; padding: 50px 0 30px; font-size: 14.5px; color: var(--text); }

/* ---------- Animación de entrada ---------- */
/* Hero: igual al sitio Framer. Texto sube 150px (delay 0.5s); tarjetas escalan desde 0.5 y suben 50px (delay 0.7s). */
@keyframes coggni-up { from { opacity: 0; transform: translateY(150px); } to { opacity: 1; transform: none; } }
@keyframes coggni-pop { from { opacity: 0; transform: translateY(50px) scale(0.5); } to { opacity: 1; transform: none; } }
.anim-up { animation: coggni-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }
.anim-pop { animation: coggni-pop 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; }
.hero-title, .hero-action { will-change: transform; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .how-panel img { transition: none; }
  .anim-up, .anim-pop { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 9px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr 440px; }
  .hero h1 { font-size: 52px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav { height: 72px; }
  .logo img { width: 110px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { border-top: 1px solid var(--line); padding: 12px 24px 24px; background: var(--bg-soft); }
  .mobile-menu.is-open { display: block; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
  .mobile-menu li a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-menu .mobile-cta { display: grid; gap: 10px; margin-top: 18px; }

  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { margin-top: 24px; }
  .hero-actions { margin-top: 32px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }

  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { padding-left: 0; }
  .how-panel { min-height: 420px; padding: 28px; }
  .how-panel img { max-height: 360px; }

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

  .control-card { grid-template-columns: 1fr; min-height: 0; }
  .control-copy { padding: 36px 28px 28px; }
  .control-visual { height: 420px; }
  .control-visual img { left: 28px; top: 0; width: 700px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split h2 { font-size: 40px; }
  .email-block { margin-top: 32px; }
  .contact { padding: 80px 0 72px; }
  .demo .split { padding-bottom: 80px; }
  .calendly-frame { height: 760px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .mobile-menu { padding: 12px 16px 24px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .hero-checks { gap: 14px 22px; }
  .section-head h2 { font-size: 34px; }
  .how-panel { min-height: 360px; padding: 20px; }
  .how-panel img { max-height: 300px; }
  .why-card { padding: 16px 22px 26px; }
  .why-card h3 { font-size: 25px; }
  .control-copy { padding: 30px 20px 24px; }
  .control-visual { height: 340px; }
  .control-visual img { left: 20px; width: 560px; }
  .panel { padding: 28px 22px; }
  .panel h3 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}
