:root {
  --navy: #0C263F;
  --navy-2: #144D7F;
  --cyan: #2EAFE7;
  --cyan-2: #58BFEC;
  --orange: #FF6A3D;
  --orange-2: #FFB199;
  --bg: #F7FAFC;
  --card: #FFFFFF;
  --border: #E4EAF0;
  --text: #10202F;
  --text-dim: #5B6B7A;
  --ok: #12B76A;
  --warn: #F79009;
  --bad: #F04438;
  --radius: 20px;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", -apple-system, "system-ui", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; color: var(--text-dim); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 24px rgba(255,106,61,.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255,106,61,.45); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { color: var(--navy); opacity: .8; }
.btn--ghost:hover { opacity: 1; }
.btn--lg { padding: 17px 30px; font-size: 16px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(247,250,252,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }
.nav__logo { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.nav__links { display: flex; gap: 26px; font-weight: 700; font-size: 14.5px; }
.nav__links a { color: var(--text-dim); }
.nav__links a:hover { color: var(--navy); }
.nav__cta { display: flex; gap: 10px; }
.nav__right { display: flex; align-items: center; gap: 14px; flex: none; }
.btn--client { padding: 10px 18px; font-size: 13.5px; white-space: nowrap; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--navy); display: block; }

/* Hero */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; z-index: 0; }
.hero__blob--1 { width: 480px; height: 480px; background: var(--cyan); top: -180px; right: -120px; }
.hero__blob--2 { width: 380px; height: 380px; background: var(--orange); bottom: -160px; left: -100px; opacity: .25; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--navy); color: var(--navy);
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  background: #fff;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dot--live { box-shadow: 0 0 0 4px rgba(18,183,106,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.12; font-weight: 800; margin-top: 20px; }
h1 .hl { color: var(--orange); }
.hero__sub { font-size: 17px; max-width: 46ch; margin-top: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__stats { display: flex; gap: 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border); }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: 24px; color: var(--navy); }
.hero__stats span { font-size: 13px; color: var(--text-dim); }

.hero__art { position: relative; }
.hero__photo { border-radius: 28px; box-shadow: 0 30px 60px rgba(12,38,63,.25); aspect-ratio: 4/3.3; object-fit: cover; }
.hero__card {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 14px 30px rgba(12,38,63,.18); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; gap: 8px; color: var(--navy);
}
.hero__card strong { color: var(--orange); font-family: var(--font-display); }
.hero__card--1 { top: -18px; left: -18px; }
.hero__card--2 { bottom: -18px; right: -18px; }

/* Hero gauge — perceived vs real availability */
.gauge-panel { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 22px 24px; box-shadow: 0 30px 60px rgba(12,38,63,.18); }
.gauge-delta {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: 13px; padding: 8px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 10px 22px rgba(255,106,61,.4); animation: gaugePulse 2.4s ease-in-out infinite; z-index: 2;
}
@keyframes gaugePulse { 0%,100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .gauge-delta { animation: none; } }
.gauge-pair { display: flex; align-items: center; justify-content: center; gap: 10px; }
.gauge { position: relative; width: 168px; height: 168px; border-radius: 50%; flex: none; }
.gauge-inner {
  position: absolute; inset: 22px; border-radius: 50%; background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.gauge-inner .g-num { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--navy); line-height: 1; }
.gauge-inner .g-num.hl { color: var(--orange); }
.gauge-inner .g-cap { font-size: 10.5px; color: var(--text-dim); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-top: 5px; max-width: 11ch; }
.gauge-arrow { font-size: 24px; color: var(--text-dim); flex: none; font-family: var(--font-display); }
.gauge-foot { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 16px; }
@media (max-width: 520px) {
  .gauge { width: 128px; height: 128px; }
  .gauge-inner { inset: 16px; }
  .gauge-inner .g-num { font-size: 23px; }
  .gauge-arrow { font-size: 18px; }
}

/* Sections */
.section { padding: 90px 0; }
.section--alt { background: #fff; }
.section--dark { background: var(--navy); }
.section--dark p { color: #B8C6D4; }
.section--dark .step h3 { color: #fff; }
h2.light { color: #fff; }
.kicker { color: var(--orange); font-weight: 800; letter-spacing: .1em; font-size: 12.5px; margin-bottom: 10px; }
.kicker--light { color: var(--cyan-2); }
.section h2 { font-size: clamp(26px, 3.2vw, 36px); max-width: 22ch; }
.section__lead { max-width: 56ch; font-size: 16px; margin-bottom: 40px; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; border-top: 4px solid var(--navy);
  box-shadow: 0 8px 20px rgba(12,38,63,.05);
}
.feature--orange { border-top-color: var(--orange); }
.feature--cyan { border-top-color: var(--cyan); }
.feature__icon { font-size: 30px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; }
.feature p { font-size: 14.5px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.step__num { display: block; font-family: var(--font-display); font-size: 36px; color: var(--orange); margin-bottom: 10px; }
.step p { font-size: 14.5px; }

/* Gallery */
.gallery { grid-template-columns: repeat(2, 1fr); }
.gallery__item:nth-child(3) { grid-column: 1 / -1; }
.gallery__item { margin: 0; }
.gallery__item figcaption { font-size: 13px; color: var(--text-dim); margin-top: 10px; text-align: center; }
.gallery__item--photo img { border-radius: var(--radius); height: 240px; width: 100%; object-fit: cover; box-shadow: 0 10px 24px rgba(12,38,63,.1); }
.gallery__item--dash img { height: auto; aspect-ratio: 21 / 10; object-fit: contain; background: #eef2f6; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; box-shadow: 0 10px 24px rgba(12,38,63,.1); }
.placeholder {
  height: 240px; border-radius: var(--radius); border: 2px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--text-dim); background: #fff; font-size: 13.5px; text-align: center;
}
.placeholder span { font-size: 30px; }

/* Problem/solution scenarios */
.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.scenario {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 8px 20px rgba(12,38,63,.06);
  display: flex; flex-direction: column;
}
.scenario img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.scenario__body { padding: 22px; }
.scenario__body .stat {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 12px;
  color: var(--orange); background: rgba(255,106,61,.12); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.scenario__body h3 { font-size: 16.5px; margin-bottom: 12px; }
.scenario__body p { font-size: 13.5px; margin-bottom: 10px; }
.scenario__body p strong { color: var(--navy); }
.scenario__body p:last-child { margin-bottom: 0; }

/* Contact */
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(12,38,63,.06); }
.form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--text-dim); font-weight: 700; }
.form input, .form textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: var(--font-body); font-size: 14.5px;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cyan); }
.form__status { font-size: 13.5px; min-height: 1.2em; margin: 0; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: var(--bad); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; background: #fff; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__logo { height: 30px; }
.footer p, .footer a { font-size: 13px; margin: 0; color: var(--text-dim); }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav.nav--open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 20px 24px 24px;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.nav--open .nav__links { flex-direction: column; gap: 18px; }
  .nav.nav--open .nav__cta { flex-direction: column; gap: 10px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; margin-top: 10px; margin-bottom: 10px; }
  .grid--3 { grid-template-columns: 1fr; }
  .scenarios { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contacto { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 50px; }
  .section { padding: 60px 0; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .hero__card { position: static; margin-top: 10px; display: inline-flex; }
  .hero__blob { display: none; }
  .btn--client { padding: 8px 12px; font-size: 12px; }
  .nav__right { gap: 8px; }
  .nav__logo { height: 32px; }
}
