/* Nexus Consultores Estratégicos: hoja de estilos principal */

:root {
  --navy: #1e2d4a;
  --navy-2: #2b3f63;
  --blue: #2b6cb0;
  --gold: #d9a23a;
  --ink: #2d3748;
  --muted: #5f6b7a;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(30, 45, 74, 0.08);
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 92%); margin: 0 auto; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); }

.eyebrow {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: bold;
  margin-bottom: .6em;
}

.note { font-size: .9rem; color: var(--muted); }
.card-note { font-size: .9rem; color: var(--navy); font-weight: bold; margin-top: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: var(--navy); font-size: .95rem; font-weight: bold; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--navy-2); }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1.4rem;
  padding: 4px 12px;
  color: var(--navy);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 88px 0;
  border-bottom: 4px solid var(--gold);
}
.hero h1, .hero .lead { color: #fff; }
.hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: #dbe4f0; max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .btn-primary { background: var(--gold); color: var(--navy); }
.hero .btn-primary:hover { background: #e8b150; }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }

.hero-pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.hero-pillars li {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.hero-pillars strong { display: block; color: #fff; }
.hero-pillars span { color: #cfd9e8; font-size: .95rem; }
.pillar-num { font-size: 1.3rem; font-weight: bold; color: var(--gold); min-width: 36px; }

/* ---------- Layouts ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.card p { color: var(--ink); }
.card h3 { margin-bottom: .6em; }

/* ---------- Suite ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.suite-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 620px; }
.suite-table th, .suite-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.suite-table thead th { background: var(--navy); color: #fff; font-size: .9rem; }
.suite-table tbody th { color: var(--navy); width: 26%; }
.suite-table td:last-child { white-space: nowrap; font-weight: bold; color: var(--navy); }
.suite-table tbody tr:nth-child(even) { background: var(--bg-alt); }

.suite-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.price-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.price-box strong { display: block; font-size: 2rem; color: var(--gold); margin: 6px 0; }
.price-box span { display: block; color: #d6dfec; font-size: .95rem; }
.price-label { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }

/* ---------- Packs ---------- */
.pack-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pack-list li {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.pack-list li:last-child { border-bottom: none; }
.pack-list strong { color: var(--navy); }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { border-left: 4px solid var(--gold); padding: 6px 0 6px 20px; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: bold;
  margin-bottom: 14px;
}
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Tecnología ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.chips li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--navy);
  font-weight: bold;
  font-size: .95rem;
}

/* ---------- CTA ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6dfec; margin: 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--gold); color: var(--navy); }
.cta-band .btn-primary:hover { background: #e8b150; }

/* ---------- Contacto y formulario ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: bold; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(43, 108, 176, 0.25);
  border-color: var(--blue);
}
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c53030; }
.field-error { color: #c53030; font-size: .85rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: bold; min-height: 1.4em; }
.form-status.ok { color: #276749; }
.form-status.error { color: #c53030; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--bg-alt); border-top: 4px solid var(--gold); padding: 56px 0 0; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 56px; width: auto; margin-bottom: 14px; }
.site-footer h3 { font-size: 1rem; }
.site-footer p { margin-bottom: .4em; font-size: .95rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding: 18px 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .two-col, .contact-grid, .suite-prices, .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cards, .values { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 16px 4%;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .main-nav.open { display: flex; }
  .nav-wrap { position: relative; }
  .cards, .values, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 60px 0; }
  .brand img { height: 44px; }
}

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