/* ============================================================
   NOVAQ Solutions — Estilos globales
   Sistema visual: dark navy + acentos teal
   Tipografía: Syne (display) · DM Sans (cuerpo) · DM Mono (etiquetas)
   ============================================================ */

:root {
  --navy:       #1a2b35;   /* Fondo principal */
  --navy-light: #243646;   /* Fondo secundario / cards */
  --teal:       #00b4c8;   /* Acento principal */
  --teal-dark:  #0090a3;   /* Acento hover */
  --teal-soft:  rgba(0, 180, 200, 0.12); /* Fondos sutiles */
  --white:      #f0f4f6;   /* Texto principal */
  --muted:      #7a99aa;   /* Texto secundario */
  --border:     rgba(0, 180, 200, 0.2);  /* Bordes */

  --max:        1160px;
  --radius:     10px;
  --shadow:     0 8px 24px rgba(0, 180, 200, 0.3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { position: relative; padding: 88px 0; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 14px 0 12px;
}
.section-head p { color: var(--muted); font-size: 17px; font-weight: 300; }

.section-line { position: relative; }
.section-line::after {
  content: '';
  position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 1px;
  background: var(--border);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: #00d4eb; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--white); border-color: var(--border); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }

.btn-wa { background: #25d366; color: #06301a; }
.btn-wa:hover { background: #2fe675; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37, 211, 102, .3); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(36, 54, 70, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); background: rgba(26, 43, 53, 0.92); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.brand-text span { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; font-weight: 400; color: var(--white);
  position: relative; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--teal); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .25s; }
.nav-toggle span + span { margin-top: 5px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--navy-light);
  border-left: 1px solid var(--border);
  padding: 90px 28px 40px;
  display: flex; flex-direction: column; gap: 8px;
  transition: right .3s ease; z-index: 60;
}
.nav-drawer.open { right: 0; }
.nav-drawer a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--border); }
.nav-drawer .btn { margin-top: 20px; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-close { position: absolute; top: 26px; right: 26px; background: none; border: none; color: var(--white); font-size: 30px; cursor: pointer; line-height: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #1a2b35 0%, #243646 60%, #1a3545 100%);
  padding: 110px 0 96px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(0, 180, 200, 0.08); pointer-events: none;
}
.hero::before { width: 480px; height: 480px; top: -160px; right: -120px; }
.hero::after { width: 300px; height: 300px; bottom: -120px; left: -80px; }

.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-watermark {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(280px, 38vw, 520px);
  top: 50%; right: -60px; transform: translateY(-50%);
  opacity: 0.06;
}
@media (max-width: 768px) { .hero-watermark { right: -120px; opacity: 0.05; } }
.hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  margin: 18px 0 20px;
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--teal); }
.hero p { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); font-weight: 300; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* dotted decorative grid */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .4;
  background-image: radial-gradient(rgba(0,180,200,0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,.6), transparent 70%);
  mask-image: linear-gradient(135deg, rgba(0,0,0,.6), transparent 70%);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
}
.stat-card .num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 46px; color: var(--teal); line-height: 1; }
.stat-card .desc { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--teal); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--teal); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; font-weight: 300; flex-grow: 1; }
.card .more { color: var(--teal); font-family: 'DM Mono', monospace; font-size: 13px; margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.card:hover .more { gap: 12px; }

/* ============================================================
   WHY / FEATURE COLUMNS
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { padding: 4px; }
.feature .f-num { font-family: 'DM Mono', monospace; color: var(--teal); font-size: 13px; letter-spacing: 1px; }
.feature h3 { font-size: 21px; font-weight: 700; margin: 12px 0 10px; }
.feature p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  background: linear-gradient(135deg, #243646 0%, #1a3545 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(0,180,200,0.08); top: -120px; right: -80px;
}
.cta-block h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-block p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-weight: 300; position: relative; }
.cta-block .hero-actions { justify-content: center; margin-top: 0; position: relative; }

/* ============================================================
   SERVICES PAGE — expanded blocks
   ============================================================ */
.service-block {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
}
.service-block .s-icon {
  width: 64px; height: 64px; border-radius: 14px; background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
}
.service-block .s-icon svg { width: 32px; height: 32px; stroke: var(--teal); }
.service-block h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.service-block .s-tag { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 1px; color: var(--teal); text-transform: uppercase; }
.service-block .s-desc { color: var(--white); font-weight: 300; margin: 14px 0 18px; }
.s-sub { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .5px; margin: 18px 0 10px; color: var(--white); }
.s-list { display: grid; gap: 9px; }
.s-list li { color: var(--muted); font-size: 15px; font-weight: 300; padding-left: 26px; position: relative; }
.s-list li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  border: 2px solid var(--teal); border-radius: 3px; transform: rotate(45deg);
}
.s-meta { display: inline-block; margin-top: 16px; padding: 8px 14px; background: var(--teal-soft); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--teal); font-family: 'DM Mono', monospace; }

/* ============================================================
   NOSOTROS
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about-grid p { color: var(--muted); font-weight: 300; margin-bottom: 16px; }
.about-visual {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(135deg, #243646, #1a3545);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-visual::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(0,180,200,0.08); top: -60px; left: -60px; }
.about-visual img { width: 55%; opacity: .92; position: relative; z-index: 1; }

/* ---------- Fundadora ---------- */
.founder-frame { position: relative; max-width: 440px; margin-left: auto; }
.founder-frame::after {
  content: ''; position: absolute; z-index: 0;
  width: 72%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: rgba(0, 180, 200, 0.10); top: -26px; right: -26px;
}
.founder-photo {
  position: relative; z-index: 1;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}
.founder-photo img { width: 100%; display: block; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.founder-card {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(26, 43, 53, 0.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px;
}
.founder-card .fc-mark { width: 38px; height: 38px; flex-shrink: 0; }
.founder-card .fc-mark img { width: 100%; height: 100%; object-fit: contain; }
.founder-card strong { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; color: var(--white); display: block; line-height: 1.1; }
.founder-card .fc-role { color: var(--teal); font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: .3px; line-height: 1.45; display: block; margin-top: 4px; }

.founder-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.founder-chips span {
  font-family: 'DM Mono', monospace; font-size: 12px; color: var(--teal);
  background: var(--teal-soft); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px;
}

@media (max-width: 768px) {
  .founder-frame { margin: 0 auto; }
}

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: var(--navy-light); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: border-color .25s, transform .25s;
}
.value-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.value-card .v-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value-card .v-icon svg { width: 24px; height: 24px; stroke: var(--teal); }
.value-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14px; font-weight: 300; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }

.contact-info .info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .i-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; }
.contact-info .i-icon svg { width: 22px; height: 22px; stroke: var(--teal); }
.contact-info .i-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.contact-info .i-value { font-size: 16px; color: var(--white); margin-top: 2px; }
.contact-info .i-value:hover { color: var(--teal); }

.form-wrap { background: var(--navy-light); border: 1px solid var(--border); border-radius: 14px; padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 15px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* Checkbox de consentimiento */
.field-check { display: flex; align-items: flex-start; gap: 11px; margin: 6px 0 22px; }
.field-check input[type="checkbox"] {
  width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0;
  accent-color: var(--teal); cursor: pointer;
}
.field-check label {
  font-family: 'DM Sans', sans-serif; font-size: 13.5px; font-weight: 300;
  color: var(--muted); line-height: 1.55; cursor: pointer;
  text-transform: none; letter-spacing: 0; margin: 0;
}
.field-check a { color: var(--teal); text-decoration: underline; }

/* ============================================================
   LEGAL PAGES (Aviso de Privacidad / Términos)
   ============================================================ */
.legal-content { max-width: 820px; }
.legal-content h2 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--white); margin: 40px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 17px; color: var(--white); margin: 22px 0 8px; }
.legal-content p { color: var(--muted); font-weight: 300; margin-bottom: 14px; }
.legal-content a { color: var(--teal); text-decoration: underline; }
.legal-content ul { display: grid; gap: 8px; margin: 6px 0 18px; }
.legal-content li { color: var(--muted); font-weight: 300; padding-left: 24px; position: relative; }
.legal-content li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 10px;
  border: 2px solid var(--teal); border-radius: 2px; transform: rotate(45deg);
}
.legal-content strong { color: var(--white); font-weight: 500; }
.legal-meta {
  display: inline-block; margin-bottom: 36px; padding: 8px 14px;
  background: var(--teal-soft); border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Mono', monospace; font-size: 13px; color: var(--teal);
}

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 13px; transition: color .2s; }
.footer-legal a:hover { color: var(--teal); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-light); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer .f-about { color: var(--muted); font-size: 14px; font-weight: 300; max-width: 320px; }
.footer h4 { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: var(--muted); font-size: 13px; font-family: 'DM Mono', monospace; }

/* ============================================================
   ANIMATIONS — reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid, .features-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .stats-grid, .cards-grid, .features-grid, .value-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-block { grid-template-columns: 1fr; padding: 28px; }
  .cta-block { padding: 44px 26px; }
  .hero-actions .btn, .cta-block .btn { flex: 1; min-width: 140px; }
}
