
:root {
  --night: #050b17;
  --night-2: #09172b;
  --blue: #0d6efd;
  --cyan: #00d4ff;
  --purple: #7a3dff;
  --white: #f6f8fc;
  --text: #142033;
  --muted: #64748b;
  --line: rgba(148, 163, 184, .18);
  --panel: rgba(9, 23, 43, .78);
  --shadow: 0 22px 55px rgba(3, 12, 28, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #020711;
  border-bottom: 1px solid rgba(0, 212, 255, .15);
  color: rgba(255,255,255,.78);
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar-group { display: flex; align-items: center; gap: 13px; font-size: .77rem; }
.topbar-label {
  padding: 3px 8px;
  border: 1px solid rgba(0, 212, 255, .25);
  border-radius: 999px;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.topbar-label.support {
  color: #c084fc;
  border-color: rgba(192, 132, 252, .25);
}
.topbar a:hover { color: #fff; }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 11, 24, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.nav-links { display: flex; align-items: center; gap: 25px; color: rgba(255,255,255,.82); font-size: .9rem; }
.nav-links > a:hover { color: #fff; }
.nav-cta {
  padding: 11px 16px;
  border-radius: 10px;
  color: white !important;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 10px 24px rgba(68, 71, 255, .25);
}
.menu-button { display: none; background: transparent; border: 0; cursor: pointer; }
.menu-button span { width: 26px; height: 2px; display: block; margin: 5px; background: #fff; }

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #061025 url("../img/fondo-hero.png") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,9,22,.94) 0%, rgba(4,11,27,.84) 48%, rgba(5,14,33,.48) 100%),
    radial-gradient(circle at 75% 35%, rgba(13,110,253,.24), transparent 28%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: center;
  padding: 100px 0;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 5vw, 4.55rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.hero-content > p {
  max-width: 690px;
  margin: 0;
  color: rgba(255,255,255,.73);
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.btn {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 11px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 30px rgba(67, 75, 255, .25);
}
.secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.04);
}
.support-btn {
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #22c55e);
}
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; color: rgba(255,255,255,.66); font-size: .85rem; }
.hero-points span::before { content: "✓"; margin-right: 7px; color: var(--cyan); }

.hero-card {
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8,24,48,.88), rgba(4,13,29,.8));
  border: 1px solid rgba(63, 193, 255, .22);
  box-shadow: 0 35px 75px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}
.status { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.68); font-size: .82rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 18px #22c55e; }
.hero-card h2 { margin: 22px 0; font-size: 1.65rem; line-height: 1.25; }
.mini-services { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.mini-services div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.mini-services strong { display: block; font-size: .95rem; }
.mini-services span { color: rgba(255,255,255,.55); font-size: .75rem; }

.trust-strip { background: #071326; color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid div { padding: 26px 22px; border-right: 1px solid rgba(255,255,255,.07); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; margin-bottom: 4px; font-size: .93rem; }
.trust-grid span { color: rgba(255,255,255,.52); font-size: .77rem; }

.section { padding: 100px 0; }
.light { background: #f7f9fc; }
.dark { color: #fff; background: linear-gradient(135deg, #06101f, #0a1c38); }
.section-heading { max-width: 730px; margin-bottom: 46px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .about-content h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.section-heading p, .about-content p { color: var(--muted); }
.dark .about-content p { color: rgba(255,255,255,.66); }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: 0 12px 35px rgba(15,23,42,.055);
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px;
  color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}
.service-card h3 { margin: 19px 0 10px; font-size: 1.2rem; }
.service-card p { color: var(--muted); font-size: .91rem; }
.service-card ul { padding-left: 18px; margin-bottom: 0; color: #475569; font-size: .86rem; }

.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.about-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(13,110,253,.24), transparent 48%),
    rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
}
.about-logo img { width: min(360px, 90%); border-radius: 24px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.values span {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
}

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(148,163,184,.18);
}
.step > span {
  width: 43px; height: 43px; display: grid; place-items: center;
  border-radius: 50%;
  color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}
.step h3 { margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: .88rem; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-list { display: grid; gap: 13px; }
details {
  padding: 20px 22px;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 14px;
  background: #f8fafc;
}
summary { cursor: pointer; font-weight: 700; }
details p { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }

.contact-section {
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(0,212,255,.12), transparent 25%),
    radial-gradient(circle at 85% 80%, rgba(122,61,255,.16), transparent 25%),
    #06101f;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.contact-card {
  display: grid;
  align-content: start;
  padding: 34px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045);
}
.contact-card.commercial { border-top: 4px solid var(--cyan); }
.contact-card.technical { border-top: 4px solid #22c55e; }
.contact-tag { color: var(--cyan); font-size: .73rem; font-weight: 800; letter-spacing: .13em; }
.technical .contact-tag { color: #4ade80; }
.contact-card h3 { margin: 14px 0 10px; font-size: 1.55rem; }
.contact-card p { color: rgba(255,255,255,.61); }
.contact-card > a:not(.btn) { margin: 5px 0; color: rgba(255,255,255,.84); }
.contact-card .btn { margin-top: 22px; justify-self: start; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #22c55e;
  font-weight: 800;
  box-shadow: 0 15px 32px rgba(34,197,94,.35);
}

.footer { color: rgba(255,255,255,.68); background: #020711; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 30px;
}
.footer-brand img { width: 220px; height: 75px; object-fit: contain; object-position: left; }
.footer-brand p { max-width: 320px; font-size: .85rem; }
.footer h4 { margin: 0 0 13px; color: #fff; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 8px; font-size: .85rem; }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay { transition-delay: .12s; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border-radius: 18px;
    background: #071326;
    box-shadow: 0 28px 60px rgba(0,0,0,.35);
  }
  .nav-links.open { display: flex; }
  .hero-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar-inner { padding: 8px 0; flex-direction: column; align-items: flex-start; gap: 7px; }
  .topbar-group { width: 100%; flex-wrap: wrap; gap: 7px 10px; }
  .brand img { width: 160px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 78px 0; gap: 36px; }
  .services-grid, .contact-grid, .steps, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .mini-services { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .about-logo { min-height: 320px; }
  .footer-bottom { flex-direction: column; }
}
