:root {
  --navy: #0B1F3A;
  --navy-2: #102A4D;
  --sapphire: #0F52BA;
  --blue: #4DA3FF;
  --gray: #D5D9E0;
  --accent: #D4A017; /* dorado del logo */
  --ink: #14233A;
  --muted: #55627A;
  --bg: #ffffff;
  --bg-soft: #F4F6FA;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
code { font-size: .92em; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 58, .92);
  backdrop-filter: blur(10px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; }
.brand img { height: 38px; width: auto; } /* el símbolo es más alto que ancho: solo se fija la altura */
.footer .brand img { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn) { text-decoration: none; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.nav-links > a:not(.btn):hover { color: #fff; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: rgba(255, 255, 255, .7); font: inherit; font-size: .8rem; font-weight: 600; padding: 5px 11px; cursor: pointer; }
.lang button.active { background: #fff; color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 6px 18px rgba(212, 160, 23, .28); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 9px 16px; font-size: .9rem; box-shadow: none; }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero {
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(77, 163, 255, .28), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0D2F63 60%, var(--sapphire) 130%);
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow.dark { color: var(--sapphire); }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 20px; font-size: 1.12rem; color: rgba(255, 255, 255, .84); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.hero-points li::before { content: "◆"; color: var(--blue); font-size: .7em; margin-right: 8px; vertical-align: 2px; }


.shot { margin: 0; }
.shot-frame { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); }
.shot-frame img { width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; font-size: .85rem; color: rgba(255, 255, 255, .65); text-align: center; }
.shot-wide { max-width: 900px; margin: 56px auto 0; }
.shot-light .shot-frame { box-shadow: var(--shadow); border-color: #E6EAF1; }

.showcase { margin-top: 72px; display: grid; gap: 64px; }
.show-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.show-reverse .show-text { order: 2; }
.show-reverse { grid-template-columns: 1.2fr .8fr; }
.show-text h3 { font-size: 1.35rem; margin-bottom: 12px; }
.show-text p { color: var(--muted); }
.show-note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: -24px; }

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
.section-light { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 22em; }
.section-lead { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 40em; }

.cards { display: grid; gap: 22px; margin-top: 44px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid #E6EAF1; border-radius: var(--radius); padding: 26px; }
.section:not(.section-light) .card { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; fill: none; stroke: var(--sapphire); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card.industry { border-top: 3px solid var(--sapphire); }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 24px; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--navy); font-family: 'Sora', sans-serif; font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: rgba(255, 255, 255, .78); font-size: .98rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.why-list li { padding: 18px 0 18px 22px; border-left: 3px solid var(--blue); margin-bottom: 14px; }
.why-list strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.02rem; margin-bottom: 4px; }
.why-list span { color: var(--muted); font-size: .97rem; }

/* ---------- Contacto ---------- */
.cta { background: linear-gradient(150deg, var(--sapphire), var(--navy)); color: #fff; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 20em; }
.cta p { margin-top: 16px; color: rgba(255, 255, 255, .84); font-size: 1.08rem; }
.cta .btn { margin-top: 32px; }
.cta-mail { font-size: .95rem !important; }
.cta-mail { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.cta-mail a { color: #fff; }
.copy { background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff; font: inherit; font-size: .85rem; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.copy:hover { background: rgba(255, 255, 255, .1); }

.demo-form { width: 100%; max-width: 720px; margin-top: 36px; padding: 28px; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea { font: inherit; color: var(--ink); padding: 11px 13px; border: 1px solid #C9D0DC; border-radius: 10px; background: #fff; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--sapphire); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.demo-form .btn { margin-top: 0; border: 0; cursor: pointer; font-family: inherit; }
.demo-form .btn:disabled { opacity: .6; cursor: default; transform: none; }
.demo-form p { margin-top: 0; }
.demo-form .form-privacy { font-size: .85rem; color: var(--muted); }
.demo-form .form-privacy a { color: var(--sapphire); }
.demo-form .form-status { font-size: .97rem; padding: 12px 14px; border-radius: 10px; background: #EAF2FF; color: var(--navy); }
.demo-form .form-status.error { background: #FFF3D1; color: #5E4300; }
.cta-mail { margin-top: 26px !important; }
.privacy-link { color: inherit; }

/* ---------- Aviso de privacidad ---------- */
.legal-nav { display: flex; gap: 20px; font-size: .92rem; }
.legal-nav a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.legal { max-width: 760px; padding-top: 64px; padding-bottom: 80px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.15rem; margin-top: 32px; }
.legal p { margin-top: 10px; color: #3A4960; }
.legal a { color: var(--sapphire); }
.legal .legal-date { font-size: .9rem; color: var(--muted); }
.legal hr { border: 0; border-top: 1px solid var(--gray); margin: 64px 0; }

/* ---------- Pie ---------- */
.footer { background: #081729; color: rgba(255, 255, 255, .65); padding: 28px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand { color: #fff; font-size: 1.05rem; }

/* ---------- Adaptación a pantallas pequeñas ---------- */
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid, .why-grid { grid-template-columns: 1fr; gap: 44px; }
  .show-row, .show-reverse { grid-template-columns: 1fr; gap: 24px; }
  .show-reverse .show-text { order: 0; }
  .showcase { margin-top: 56px; gap: 48px; }
  .cards.three, .steps { grid-template-columns: 1fr; }
  .demo-form { grid-template-columns: 1fr; padding: 22px; }
  .section { padding: 64px 0; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--navy); padding: 22px 20px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-links.open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
