
:root {
  --dark: #05070D;
  --dark2: #08162B;
  --primary: #1F4E8C;
  --primary-dark: #163A6A;
  --accent: #1683FF;
  --light: #F5F7FA;
  --white: #FFFFFF;
  --gray: #B8C0CC;
  --muted: #566070;
  --text: #111827;
  --line: rgba(255,255,255,.12);
  --soft-border: rgba(8,22,43,.08);
  --shadow: 0 20px 60px rgba(0,0,0,.15);
  --whatsapp: #25D366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--light);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(5,7,13,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  flex-shrink: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
}

.brand strong { color: var(--accent); }

.menu-wrap {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: 130px;
}

.header-actions {
  position: fixed;
  right: 28px;
  top: 41px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1100;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--white);
  font-weight: 600;
}

.menu a { opacity: .9; transition: .2s; }
.menu a:hover { color: var(--accent); opacity: 1; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 999px;
  opacity: .85;
}

.lang-switch a:hover {
  background: rgba(255,255,255,.10);
  opacity: 1;
}

.lang-switch .active {
  background: var(--primary);
  color: var(--white);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.btn {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(31,78,140,.35);
}
.btn.primary:hover { background: var(--primary-dark); }
.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
}
.btn.secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(31,78,140,.35);
}
.btn.dark { background: var(--dark); color: var(--white); }
.btn.full { width: 100%; }

.hero {
  padding: 150px 0 90px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 25%, rgba(31,78,140,.45), transparent 30%),
    linear-gradient(135deg, var(--dark), var(--dark2));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 800;
}
.eyebrow.blue { color: var(--primary); }
.hero .eyebrow.blue { color: var(--accent); }

h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -2px;
}
.hero h1 { color: var(--white); }

.hero-text {
  margin-top: 22px;
  max-width: 560px;
  color: var(--gray);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  min-height: 430px;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.screen {
  height: 300px;
  padding: 22px;
  border-radius: 22px;
  background: #07101F;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(31,78,140,.25);
}

.screen-top {
  height: 20px;
  width: 45%;
  margin-bottom: 30px;
  border-radius: 20px;
  background: rgba(22,131,255,.45);
}

.metric {
  position: relative;
  height: 45px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--primary), rgba(31,78,140,.10));
  opacity: .9;
  overflow: visible;
}
.metric.small { width: 70%; }

.pill {
  position: absolute;
  top: 50%;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0,0,0,.20);
  transform: translateY(-50%) scale(1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pill:hover {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 14px 32px rgba(0,0,0,.30), 0 0 12px rgba(31,78,140,.35);
}
.pill.right { right: 10px; }
.pill.left { left: 10px; }

.services {
  padding: 86px 0;
  background: var(--light);
}

.section-head {
  max-width: 750px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2,
.advantages h2,
.contact h2,
.contact-form-grid h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -1px;
}

.section-head h2,
.contact h2,
.contact-form-grid h1 {
  color: var(--primary);
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 420px;
  padding: 28px 22px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(10,20,40,.08);
  border: 1px solid var(--soft-border);
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 60px rgba(10,20,40,.14);
}

.number {
  color: var(--primary);
  font-size: 26px;
  font-weight: 900;
}

.icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  border-radius: 20px;
  background: #EEF4FF;
  font-size: 30px;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.25;
}

.service-card p {
  color: #536070;
  line-height: 1.55;
  font-size: 15px;
}

.service-card ul {
  margin-top: 18px;
  list-style: none;
}

.service-card li {
  margin: 11px 0;
  color: #222;
  font-size: 14px;
}

.service-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--primary);
  font-weight: 900;
}

.anchor-offset {
  position: relative;
  top: -120px;
  height: 0;
  visibility: hidden;
}

.advantages {
  padding: 70px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--dark), var(--dark2));
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.advantages h2 { color: var(--white); }
.advantages-text p {
  margin-top: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.advantage {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
}

.advantage strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 18px;
}

.advantage span {
  color: var(--gray);
  line-height: 1.5;
}

.contact {
  padding: 78px 0;
  background: var(--white);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
  background: #F7F9FC;
  border: 1px solid var(--soft-border);
}

.contact p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-box {
  display: grid;
  gap: 14px;
}

.contact-item {
  justify-content: flex-start;
  gap: 10px;
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(31,78,140,.25);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.contact-item:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(31,78,140,.28);
}

.remote-note { margin-top: 24px; }
.remote-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 18px;
}
.remote-note span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.remote-extra {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}
.remote-extra a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}
.remote-extra a:hover { color: var(--primary); }

.remote-disclaimer {
  position: absolute;
  right: 42px;
  bottom: 24px;
  margin: 0;
  max-width: 440px;
  font-size: 11px;
  line-height: 1.4;
  color: #7a8494;
  text-align: right;
}

.contact-body {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 25%, rgba(31,78,140,.45), transparent 30%),
    linear-gradient(135deg, var(--dark), var(--dark2));
}

.contact-page {
  padding-top: 130px;
  min-height: 100vh;
  background: transparent;
}

.contact-form-section {
  padding: 70px 0 90px;
  background: transparent;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 40px;
  align-items: start;
  padding: 42px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.contact-form-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid rgba(31,78,140,.18);
  font: inherit;
  color: var(--text);
  background: #f7f9fc;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(31,78,140,.12);
}

.form-group textarea { resize: vertical; }

.steps {
  display: grid;
  gap: 14px;
}
.step-card {
  padding: 18px;
  background: #f7f9fc;
  border: 1px solid rgba(31,78,140,.12);
  border-radius: 16px;
}
.step-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
}
.step-card span {
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  padding: 46px 0 24px;
  background: #000;
  color: #aeb7c4;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer img {
  width: 90px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 14px;
}

.footer a,
.footer span,
.footer p {
  display: block;
  margin: 6px 0;
  color: #aeb7c4;
  font-size: 13px;
  opacity: .85;
}

.footer a {
  transition: .2s;
}
.footer a:hover {
  color: var(--accent);
  opacity: 1;
}

.copy {
  margin-top: 38px;
  text-align: center;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}



/* =========================
   WAKECONTROL
========================= */

.wakecontrol-section {
  padding: 78px 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(31, 78, 140, 0.18), transparent 32%),
    linear-gradient(135deg, #05070D, #08162B);
  color: var(--white);
}

.wakecontrol-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.wakecontrol-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wakecontrol-image img {
  width: min(100%, 360px);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}

.wakecontrol-content h2 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.wakecontrol-content p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 17px;
  max-width: 640px;
}

.wakecontrol-content ul {
  margin: 22px 0 28px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.wakecontrol-content li {
  color: var(--gray);
  font-size: 15px;
}

.wakecontrol-content li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 8px;
}

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-text { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { height: 74px; }
  .brand span {
    display: inline;
    font-size: 12px;
    letter-spacing: .35px;
  }
  .brand img {
    width: 54px;
    height: 54px;
  }
  .menu-toggle { display: block; }
  .header-actions {
    position: fixed;
    right: 14px;
    top: 37px;
    transform: translateY(-50%);
    gap: 12px;
  }

  .lang-switch {
    padding: 5px;
    font-size: 12px;
  }

  .lang-switch a,
  .lang-switch span {
    min-width: 30px;
    padding: 5px 7px;
  }

  .menu-wrap {
    margin-left: 0;
    padding-right: 0;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px;
    background: rgba(5,7,13,.98);
  }
  .menu-wrap.active { display: flex; }
  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero { padding-top: 120px; }
  .hero-grid,
  .contact-grid,
  .contact-form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    min-height: 340px;
    padding: 22px;
  }
  .service-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .service-card { min-height: auto; }
  .contact-grid,
  .contact-form-grid {
    padding: 28px;
  }
  .remote-disclaimer {
    position: static;
    margin-top: 10px;
    max-width: none;
    text-align: left;
  }
  .anchor-offset { top: -90px; }

  .wakecontrol-grid {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .wakecontrol-image {
    order: -1;
  }

  .wakecontrol-image img {
    width: min(100%, 280px);
  }
}



/* Campo anti-spam oculto para formularios */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================
   COMO TRABAJAMOS
========================= */
.process-section { padding: 86px 0; background: var(--light); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { padding: 26px 22px; background: var(--white); border: 1px solid var(--soft-border); border-radius: 22px; box-shadow: 0 12px 40px rgba(10,20,40,.08); transition: transform .25s ease, box-shadow .25s ease; }
.process-card:hover { transform: translateY(-6px); box-shadow: 0 22px 60px rgba(10,20,40,.13); }
.process-card span { display: inline-flex; margin-bottom: 14px; color: var(--primary); font-size: 24px; font-weight: 900; }
.process-card h3 { color: var(--primary); font-size: 19px; line-height: 1.25; margin-bottom: 10px; }
.process-card p { color: var(--muted); line-height: 1.55; font-size: 15px; }
/* =========================
   PAGINAS LEGALES
========================= */
.legal-section { padding: 70px 0 90px; }
.legal-card { max-width: 920px; padding: 42px; border-radius: 28px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.legal-card h1 { color: var(--primary); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -1px; margin-bottom: 10px; }
.legal-card h2 { margin-top: 28px; margin-bottom: 8px; color: var(--primary); font-size: 21px; }
.legal-card p { color: var(--muted); line-height: 1.7; margin: 10px 0; }
.legal-card a { color: var(--primary); font-weight: 700; }
.legal-updated { font-size: 14px; color: #7a8494 !important; }
.footer-legal-links { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.footer-legal-links a, .footer-legal-links span { display: inline; margin: 0; font-size: 12px; }
@media (max-width: 1100px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 780px) { .process-grid { grid-template-columns: 1fr; } .legal-card { padding: 28px; } }
