/* ============================================================
   Chooix — sitio corporativo
   Sistema visual: colores planos, tipografía limpia, sin gradientes
   ============================================================ */

:root {
  --navy: #0B1E33;
  --navy-700: #143352;
  --navy-500: #1F5A8F;
  --blue: #3A7BC8;
  --blue-soft: #DDE9F5;

  --bg: #F7F4ED;
  --surface: #FFFFFF;
  --surface-2: #FBF8F2;
  --border: #E5E0D5;
  --border-strong: #C9C2B2;

  --ink: #0B1E33;
  --ink-2: #2D3B4D;
  --muted: #5C6473;
  --faint: #8A8F99;

  --success: #1F7A4D;

  --t-display: clamp(40px, 6vw, 72px);
  --t-h1: clamp(34px, 4.4vw, 54px);
  --t-h2: clamp(26px, 3vw, 38px);
  --t-h3: clamp(20px, 2vw, 24px);
  --t-lead: clamp(17px, 1.3vw, 20px);
  --t-body: 16px;
  --t-small: 14px;
  --t-eyebrow: 12px;

  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --container: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
  line-height: 1.08;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--navy-500);
}

.lead {
  font-size: var(--t-lead);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 62ch;
}

/* CHOOIX WORDMARK */
.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: 1.35em;
  color: var(--navy);
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  line-height: 1;
}
.wordmark .mark {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  background: var(--blue);
  transform: rotate(45deg);
  align-self: center;
  margin-right: 0.05em;
  flex-shrink: 0;
}
.wordmark .name { position: relative; }

.nav .wordmark { font-size: 22px; }
.nav .wordmark .mark { width: 11px; height: 11px; }

h1 .wordmark, h2 .wordmark, .display .wordmark {
  font-size: inherit;
  letter-spacing: -0.05em;
  font-weight: 700;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 237, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--navy); }

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

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--navy); }

.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: var(--navy-500); }

.btn-arrow::after {
  content: '→';
  font-size: 17px;
  transition: transform .15s;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* Sections */
section { padding: var(--section-y) 0; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* HERO */
.hero {
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 128px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero h1 {
  font-size: var(--t-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero h1 em { font-style: normal; color: var(--blue); }

.hero-lead {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 540px;
}
.hero-stat .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stat .l {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}
.hv-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,30,51,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,30,51,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hv-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hv-tag {
  color: var(--navy-500);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
}
.hv-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}
.hv-pulse .dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hv-product {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: var(--navy);
  color: #E5EDF6;
  border-radius: var(--radius);
}
.hv-product img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.hv-product h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.hv-product p {
  color: #BFCBDB;
  font-size: 13.5px;
  line-height: 1.4;
}

.hv-metrics {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: auto;
}
.hv-metric {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.hv-metric .n {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.hv-metric .l {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
}

.hv-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 5 / 4; max-width: 560px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* Strip */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: var(--bg);
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.strip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip-items {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
}
.strip-items span { display: inline-flex; align-items: center; gap: 8px; }
.strip-items span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy-500);
}

/* Mission / Vision */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}
.vision-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vision-card .vc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
}
.vision-card .vc-label .n {
  width: 22px;
  height: 22px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--blue);
}
.vision-card h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
}
.vision-card p { color: var(--ink-2); font-size: 17px; }

@media (max-width: 760px) {
  .vision-grid { grid-template-columns: 1fr; }
}

/* Products section */
.products-wrap {
  background: var(--navy);
  color: #E5EDF6;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.products-wrap h2 { color: #fff; }
.products-wrap .eyebrow { color: var(--blue); }
.products-wrap .eyebrow::before { background: var(--blue); }
.products-wrap .lead { color: #BFCBDB; }

.product-card {
  margin-top: clamp(36px, 4vw, 56px);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.product-card .pc-visual {
  background: var(--surface-2);
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-right: 1px solid var(--border);
  min-height: 360px;
}
.product-card .pc-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,30,51,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,30,51,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.product-card .pc-visual img {
  position: relative;
  max-width: 240px;
  width: 70%;
  height: auto;
}
.product-card .pc-body {
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-card .pc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid var(--blue-soft);
  border-radius: 999px;
  background: var(--blue-soft);
}
.product-card h3 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
}
.product-card .pc-sub {
  font-size: 17px;
  color: var(--ink-2);
}
.product-card .pc-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.product-card .pc-features li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.product-card .pc-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px; height: 1px;
  background: var(--blue);
}
.product-card .pc-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}

.products-soon {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.soon-card {
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #BFCBDB;
}
.soon-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.soon-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}
.soon-card p { font-size: 13px; color: #94A3B6; line-height: 1.45; }

@media (max-width: 900px) {
  .product-card { grid-template-columns: 1fr; }
  .product-card .pc-visual { border-right: none; border-bottom: 1px solid var(--border); min-height: 240px; }
  .product-card .pc-features { grid-template-columns: 1fr; }
  .products-soon { grid-template-columns: 1fr; }
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.value {
  background: var(--surface);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value .v-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.value h3 {
  font-size: 22px;
  font-weight: 600;
}
.value p { color: var(--ink-2); font-size: 15px; }

@media (max-width: 860px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* About */
.about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.about p { color: var(--ink-2); font-size: 17px; margin-bottom: 16px; }
.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.metric {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.metric .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.metric .l { font-size: 14px; color: var(--muted); line-height: 1.4; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* CTA */
.cta { background: var(--bg); }
.cta-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); }
.cta-card p { color: #BFCBDB; font-size: 17px; margin-top: 14px; max-width: 48ch; }
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-form label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8FA4BD;
  display: block;
  margin-bottom: 6px;
}
.cta-form input, .cta-form select, .cta-form textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,.09);
}
.cta-form select option { color: var(--ink); }

.contact-channels {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #BFCBDB;
}
.channel strong { color: #fff; font-weight: 500; }
.channel .ico {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

@media (max-width: 860px) {
  .cta-card { grid-template-columns: 1fr; }
}

/* Footer */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 15px; color: var(--ink-2); }
.footer-grid a:hover { color: var(--navy); }
.footer-blurb { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 36ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
