@font-face{
  font-family:"Open Sauce Two";
  src:url("./fonts/open-sauce-two-semibold.ttf") format("truetype");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Open Sauce Two";
  src:url("./fonts/open-sauce-two-black.ttf") format("truetype");
  font-weight:900;
  font-style:normal;
  font-display:swap;
}
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  color-scheme: light;
  --bg:#f4f8ff;
  --surface:#ffffff;
  --surface-soft:#eef5ff;
  --surface-ink:#071120;
  --surface-ink-soft:#0d1830;
  --text:#0f1d36;
  --text-soft:#546b8d;
  --text-faint:#7f95b2;
  --line:rgba(78,109,164,.16);
  --line-strong:rgba(78,109,164,.3);
  --primary:#2f6bff;
  --primary-strong:#1d4dcb;
  --accent:#00c2ff;
  --success:#1db954;
  --radius:18px;
  --radius-lg:30px;
  --shadow:0 18px 48px rgba(31,58,112,.1);
  --shadow-lg:0 28px 72px rgba(18,42,92,.16);
  --font:"Open Sauce Two",system-ui,sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,monospace;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;color-scheme:light}
section[id],
[id="plataforma"],
[id="seguridad"],
[id="servicios"],
[id="precios"],
[id="contacto"],
[id="utilidades"]{
  scroll-margin-top: 132px;
}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  color-scheme:light;
  background:
    radial-gradient(circle at 10% 8%, rgba(47,107,255,.12), transparent 18%),
    radial-gradient(circle at 86% 14%, rgba(0,194,255,.12), transparent 20%),
    linear-gradient(180deg,#f8fbff 0%,#f3f8ff 48%,#ecf4ff 100%);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
img,video{display:block;max-width:100%}

.shell{width:min(var(--max),calc(100% - 48px));margin:0 auto}

.site-header{
  position:fixed;top:0;left:0;right:0;z-index:200;
  background:rgba(248,251,255,.72);
  backdrop-filter:blur(18px);
  border-bottom:1px solid transparent;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.site-header.scrolled{
  background:rgba(255,255,255,.94);
  border-bottom-color:var(--line);
  box-shadow:0 10px 28px rgba(20,43,84,.06);
}
.nav-shell{
  width:min(1440px,calc(100% - 64px));
  min-height:150px;
  display:grid;
  grid-template-columns:minmax(430px,520px) minmax(max-content,1fr) auto;
  align-items:center;
  gap:32px;
}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand-full{
  max-width:520px;
  flex-shrink:0;
  justify-self:start;
  text-decoration:none;
}
.brand-logo-header{
  display:block;
  width:100%;
  max-width:520px;
  height:auto;
  object-fit:contain;
  object-position:left center;
}

.main-nav{display:flex;justify-content:center;gap:2px;min-width:max-content}
.main-nav a,.mobile-menu a{
  padding:14px 12px;border-radius:999px;
  color:var(--text-soft);font-size:1rem;font-weight:800;
  white-space:nowrap;
  transition:.18s ease;
}
.main-nav a:hover,.mobile-menu a:hover{background:rgba(47,107,255,.08);color:var(--text)}

.header-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;justify-self:end;margin-left:8px}
.header-actions .btn{white-space:nowrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:58px;padding:0 24px;border-radius:999px;
  white-space:nowrap;flex-shrink:0;
  border:1px solid transparent;font-size:.98rem;font-weight:800;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-strong) 100%);
  color:#fff;box-shadow:0 16px 30px rgba(47,107,255,.25)
}
.btn-ghost{
  background:rgba(255,255,255,.8);
  border-color:var(--line);
  color:var(--text);
}
.btn-outline{
  background:transparent;border-color:var(--line-strong);color:var(--text);
}
.btn-lg{min-height:54px;padding:0 28px;font-size:.98rem}

.menu-toggle{
  display:none;flex-direction:column;gap:4px;border:none;background:none;padding:6px;cursor:pointer
}
.menu-toggle span{width:20px;height:2px;border-radius:2px;background:var(--text)}
.mobile-menu{
  display:none;flex-direction:column;gap:4px;padding:0 24px 18px;background:rgba(255,255,255,.97);
  border-top:1px solid var(--line);
}
.mobile-menu.open{display:flex}

.hero{
  min-height:100vh;
  padding:120px 24px 60px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:28px;
  align-items:stretch;
}
.hero-media,.hero-panel-wrap{position:relative}
.hero-media{
  min-height:700px;border-radius:36px;overflow:hidden;background:#dce8f8;
  box-shadow:var(--shadow-lg);
}
.hero-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.hero-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(248,251,255,.06) 0%,rgba(248,251,255,.22) 100%),
    linear-gradient(90deg,rgba(248,251,255,.04) 0%,rgba(248,251,255,.28) 100%),
    radial-gradient(circle at 82% 20%, rgba(47,107,255,.10), transparent 24%);
}
.hero-kicker{
  position:absolute;top:28px;left:28px;z-index:2;
  font-size:.74rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:rgba(15,29,54,.72)
}
.hero-media-copy{
  position:absolute;left:36px;right:36px;bottom:40px;z-index:2;color:var(--text);
  max-width:680px;
  padding:24px 24px 20px;
  background:linear-gradient(180deg,rgba(248,251,255,.72) 0%,rgba(248,251,255,.56) 100%);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.56);
  border-radius:28px;
  box-shadow:0 28px 56px rgba(7,20,42,.18);
}
.hero-media-copy h2{
  margin:0 0 14px;font-size:clamp(2.2rem,4vw,4.4rem);line-height:.98;letter-spacing:-.06em;font-weight:900;max-width:640px;
  text-shadow:0 1px 0 rgba(255,255,255,.24);
}
.hero-media-copy p{margin:0;max-width:560px;font-size:1rem;color:rgba(15,29,54,.88)}

.hero-panel-wrap{display:flex;align-items:center}
.hero-panel{
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.56);
  border-radius:32px;
  padding:34px 32px;
  box-shadow:var(--shadow-lg);
}
.hero-lockup{
  width:min(720px,100%);
  height:auto;
  margin:0 0 18px;
  mix-blend-mode:multiply;
}
.eyebrow{
  margin:0 0 14px;
  font-size:.72rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--primary)
}
.hero-panel h1{
  margin:0 0 16px;font-size:clamp(2.3rem,3.5vw,4rem);line-height:.98;letter-spacing:-.06em;font-weight:900
}
.lead{
  margin:0 0 24px;font-size:1rem;color:var(--text-soft)
}
.hero-actions-stack{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.hero-points{display:grid;gap:12px;padding:0;margin:0}
.hero-points li{
  position:relative;padding-left:22px;color:var(--text-soft);font-size:.95rem
}
.hero-points li::before{
  content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--accent))
}

.section{padding:96px 0}
.section-white{background:transparent}
.section-dark{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(47,107,255,.12), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(0,194,255,.10), transparent 20%),
    linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%);
  color:var(--text);
}
.security-shell{
  position:relative;
  z-index:2;
  padding-right:0;
}
.section-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
  opacity:.92;
  filter:saturate(1.12) contrast(1.06) brightness(1.01);
  z-index:0;
}
.section-dark-overlay{
  z-index:1;
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(248,251,255,.16) 0%,rgba(248,251,255,.1) 38%,rgba(248,251,255,.04) 68%,rgba(248,251,255,.01) 100%),
    linear-gradient(180deg,rgba(248,251,255,.01) 0%,rgba(248,251,255,.04) 100%);
}
.section-head{
  max-width:840px;margin-bottom:40px
}
.section-head h2{
  margin:0 0 14px;font-size:clamp(2rem,4vw,3.6rem);line-height:1.02;letter-spacing:-.05em;font-weight:900
}
.section-head p{margin:0;font-size:1rem;color:var(--text-soft);max-width:700px}
.section-head.on-dark{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(109,142,201,.16);
  border-radius:30px;
  padding:26px 28px;
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow-lg);
}
.section-head.on-dark h2{color:var(--text)}
.section-head.on-dark p{color:var(--text-soft)}

.feature-grid,.security-grid,.report-grid,.utility-grid,.history-grid,.pricing-grid,.useful-links-grid{
  display:grid;gap:18px
}
.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.security-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:900px;
}
.report-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.utility-grid,.useful-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.history-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:28px}
.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

.feature-card,.security-card,.report-card,.utility-card,.history-item,.pricing-card{
  border-radius:28px;padding:28px;background:rgba(255,255,255,.86);border:1px solid rgba(109,142,201,.14);box-shadow:var(--shadow)
}
.security-card{
  background:rgba(255,255,255,.92);
  border-color:rgba(109,142,201,.14);
  color:var(--text)
}
.feature-index{
  display:inline-flex;margin-bottom:18px;font-family:var(--font-mono);font-size:.76rem;color:var(--primary);font-weight:600
}
.feature-card h3,.security-card h3,.report-card h3,.utility-card h3,.history-item h3{
  margin:0 0 10px;font-size:1.18rem;line-height:1.15;letter-spacing:-.03em;font-weight:900
}
.feature-card p,.security-card p,.report-card p,.utility-card p,.history-item p{
  margin:0;color:var(--text-soft);font-size:.95rem
}
.security-card p{color:var(--text-soft)}

.pricing-card{
  background:#fff;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.pricing-card-featured{
  background:linear-gradient(180deg,#ffffff 0%,#edf4ff 100%);
  border-color:rgba(47,107,255,.24);
  box-shadow:0 24px 60px rgba(31,58,112,.14);
}
.pricing-label{
  display:inline-flex;
  align-self:flex-start;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(47,107,255,.08);
  color:var(--primary);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.pricing-card h3{
  margin:0;
  font-size:2.4rem;
  line-height:1;
  letter-spacing:-.05em;
  font-weight:900;
}
.pricing-term{
  margin:0 0 8px;
  color:var(--text-soft);
  font-size:.92rem;
}
.pricing-points{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.pricing-points li{
  position:relative;
  padding-left:18px;
  color:var(--text-soft);
}
.pricing-points li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--accent));
}

.feature-card h3,
.security-card h3,
.report-card h3,
.utility-card h3,
.pricing-card h3{
  text-wrap:balance;
}

.split-intro{
  display:grid;grid-template-columns:1fr .85fr;gap:24px;align-items:end;margin-bottom:28px
}
.split-intro p{margin:0;color:var(--text-soft)}

.history-item span{
  display:block;margin-bottom:18px;font-family:var(--font-mono);font-size:2rem;font-weight:600;color:var(--primary)
}
.history-visual{
  border-radius:34px;overflow:hidden;box-shadow:var(--shadow-lg);min-height:320px
}
.history-visual img{width:100%;height:100%;object-fit:cover}

.utility-card{
  display:block;background:rgba(255,255,255,.9);
}
.utility-card:hover{
  border-color:rgba(47,107,255,.28);
  transform:translateY(-2px);
}

.section-history-teaser{
  padding-top:24px;
}
.history-teaser-shell{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:end;
  padding:30px 34px;
  background:#fff;
  border:1px solid rgba(109,142,201,.14);
  border-radius:32px;
  box-shadow:var(--shadow);
}
.contact-shell{padding-top:8px}
.contact-card{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:center;
  padding:34px 36px;
  border-radius:32px;
  background:linear-gradient(180deg,#ffffff 0%,#edf5ff 100%);
  border:1px solid rgba(109,142,201,.14);
  color:var(--text);
  box-shadow:var(--shadow-lg);
}
.contact-card h2{
  margin:0 0 14px;
  font-size:clamp(2rem,3.8vw,3.2rem);
  line-height:1.02;
  letter-spacing:-.05em;
  font-weight:900;
}
.contact-card p{
  margin:0;
  color:var(--text-soft);
}
.contact-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 16px;
}
.contact-form label{
  display:grid;
  gap:8px;
}
.contact-form span{
  font-size:.84rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-soft);
  font-weight:700;
}
.contact-form input,
.contact-form textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  border-radius:18px;
  padding:16px 18px;
  font:inherit;
  outline:none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color:var(--text-faint);
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color:rgba(47,107,255,.34);
  background:#fff;
  box-shadow:0 0 0 4px rgba(47,107,255,.08);
}
.contact-form-full{
  grid-column:1 / -1;
}
.contact-form-actions{
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
}
.contact-note{
  font-size:.94rem;
  color:var(--text-soft) !important;
}
.contact-form.sent .contact-note::before{
  content:"Solicitud registrada. ";
}
.section-links{
  padding-top:20px;
}

.cta-band{
  padding:0 0 96px;
}
.cta-shell{
  background:linear-gradient(180deg,#ffffff 0%,#edf5ff 100%);
  color:var(--text);
  border:1px solid rgba(109,142,201,.14);
  border-radius:36px;padding:42px 40px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;box-shadow:var(--shadow-lg)
}
.cta-shell h2{margin:0;font-size:clamp(2rem,3.8vw,3.4rem);line-height:1.03;letter-spacing:-.05em;font-weight:900}
.cta-actions{display:flex;flex-wrap:wrap;gap:12px}

.site-footer{
  background:#fff;border-top:1px solid var(--line);padding:74px 0 56px
}
.footer-shell{display:grid;grid-template-columns:1fr .9fr;gap:32px}
.footer-copy h2{margin:0 0 14px;font-size:2.2rem;line-height:1.02;letter-spacing:-.05em;font-weight:900}
.footer-copy p{margin:0;max-width:560px;color:var(--text-soft)}
.footer-brand{
  width:min(420px,100%);
  height:auto;
  margin:0 0 18px;
  mix-blend-mode:multiply;
}
.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.footer-links h3{margin:0 0 12px;font-size:.9rem;font-weight:900}
.footer-links a{display:block;margin-bottom:8px;color:var(--text-soft);font-size:.92rem}
.footer-links a:hover{color:var(--text)}

.reveal{opacity:0;transform:translateY(28px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}

.history-page{
  background:linear-gradient(180deg,#f7fbff 0%,#eef5ff 100%);
}
.history-main{
  padding-top:120px;
}
.history-hero{
  padding-bottom:32px;
}
.history-hero h1{
  margin:0 0 14px;
  font-size:clamp(2.4rem,5vw,4.7rem);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:900;
}
.timeline-shell{
  display:grid;
  gap:18px;
}
.timeline-item{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:24px;
  align-items:start;
  padding:28px 30px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(109,142,201,.14);
  box-shadow:var(--shadow);
}
.timeline-year{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:64px;
  padding:0 18px;
  border-radius:18px;
  background:linear-gradient(135deg,#edf4ff 0%,#f8fbff 100%);
  color:var(--primary-strong);
  font-size:1.18rem;
  font-weight:900;
}
.timeline-item h2{
  margin:0 0 10px;
  font-size:1.35rem;
  line-height:1.08;
  font-weight:900;
  letter-spacing:-.03em;
}
.timeline-item p{
  margin:0;
  color:var(--text-soft);
}
.timeline-item-sources{
  align-items:start;
}
.source-list{
  margin:18px 0 0;
  padding-left:18px;
  display:grid;
  gap:10px;
}
.source-list a{
  color:var(--primary-strong);
  font-weight:700;
}
.source-list a:hover{
  color:var(--primary);
}

@media (max-width: 1280px){
  .nav-shell{
    width:min(100% - 44px,1240px);
    grid-template-columns:minmax(360px,420px) minmax(max-content,1fr) auto;
    min-height:124px;
    gap:18px;
  }
  .brand-full{max-width:420px}
  .brand-logo-header{max-width:420px}
  .main-nav{
    gap:2px;
  }
  .main-nav a{
    padding:10px 7px;
    font-size:.84rem;
  }
  .header-actions{
    gap:6px;
  }
  .header-actions .btn{
    min-height:50px;
    padding:0 16px;
    font-size:.9rem;
  }
  .header-actions .btn-ghost{display:none}
  .main-nav a:last-child{display:none}
}

@media (max-width: 1180px){
  .hero{grid-template-columns:1fr;padding-top:110px}
  .hero-media{min-height:560px}
  .hero-panel-wrap{order:-1}
  .feature-grid,.utility-grid,.useful-links-grid,.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .split-intro,.footer-shell,.cta-shell{grid-template-columns:1fr}
  .contact-card,.history-teaser-shell{grid-template-columns:1fr}
  .section-video{
    top:0;
    right:0;
    bottom:0;
    width:100%;
    border-radius:0;
    opacity:.82;
    filter:saturate(1.1) contrast(1.05) brightness(1.03);
  }
  .section-dark-overlay{
    background:
      linear-gradient(180deg,rgba(248,251,255,.01) 0%,rgba(248,251,255,.06) 100%),
      radial-gradient(circle at 20% 20%, rgba(47,107,255,.04), transparent 20%);
  }
  .security-grid{max-width:none}
}
@media (max-width: 1240px){
  .main-nav,.header-actions .btn{display:none}
  .menu-toggle{display:flex}
  .feature-grid,.security-grid,.report-grid,.utility-grid,.history-grid,.footer-links,.pricing-grid,.useful-links-grid{grid-template-columns:1fr}
  .shell{width:min(var(--max),calc(100% - 28px))}
  .nav-shell{width:min(var(--max),calc(100% - 28px));grid-template-columns:1fr auto;min-height:104px;gap:18px}
  .brand-full{max-width:360px}
  .brand-logo-header{max-width:360px}
  .hero{padding-left:14px;padding-right:14px}
  .hero-media{min-height:460px;border-radius:28px}
  .hero-media-copy{left:24px;right:24px;bottom:28px;padding:20px 20px 18px}
  .hero-panel{border-radius:28px;padding:28px 22px}
  .cta-shell{padding:32px 22px;border-radius:30px}
  .timeline-item{grid-template-columns:1fr}
  .contact-form{grid-template-columns:1fr}
}

@media (max-width: 640px){
  .site-header{
    background:rgba(248,251,255,.92);
    backdrop-filter:blur(14px);
  }
  .nav-shell{
    min-height:88px;
    gap:12px;
  }
  .brand-full{max-width:260px}
  .brand-logo-header{max-width:260px}
  .hero{
    padding:96px 10px 40px;
    gap:18px;
  }
  .hero-media{
    min-height:280px;
    border-radius:22px;
  }
  .hero-kicker{
    top:18px;
    left:18px;
    font-size:.62rem;
  }
  .hero-media-copy{
    left:18px;
    right:18px;
    bottom:18px;
    padding:16px 16px 14px;
    border-radius:22px;
  }
  .hero-media-copy h2{
    font-size:1.35rem;
    line-height:1.02;
    max-width:none;
    margin-bottom:10px;
  }
  .hero-media-copy p{
    font-size:.86rem;
    line-height:1.45;
  }
  .hero-panel{
    padding:20px 16px;
    border-radius:22px;
  }
  .hero-lockup{
    width:100%;
    max-width:300px;
    margin:0 0 12px;
  }
  .eyebrow{
    font-size:.62rem;
    margin-bottom:10px;
  }
  .hero-panel h1{
    font-size:2rem;
    line-height:.98;
    margin-bottom:12px;
  }
  .lead{
    font-size:.92rem;
    margin-bottom:18px;
  }
  .hero-points{
    gap:8px;
  }
  .hero-points li{
    font-size:.86rem;
    padding-left:18px;
  }
  .section{
    padding:68px 0;
  }
  .section-head h2,
  .contact-card h2,
  .cta-shell h2,
  .history-hero h1{
    font-size:2rem;
  }
  .history-teaser-shell,
  .contact-card,
  .cta-shell{
    padding:24px 18px;
    border-radius:24px;
  }
  .feature-card,
  .security-card,
  .report-card,
  .utility-card,
  .history-item,
  .pricing-card,
  .timeline-item{
    padding:22px 18px;
    border-radius:22px;
  }
  .mobile-menu{
    padding:0 14px 14px;
  }
  .mobile-menu a{
    padding:12px 10px;
    font-size:.96rem;
  }
}
