/* ═══════════════════════════════════════════════════
   BINTIX.MX — Sistema de diseño unificado
   v2 — incluye estilos de páginas pilar
   ═══════════════════════════════════════════════════ */

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

:root {
  /* Colores */
  --negro:        #080A0D;
  --negro-2:      #0F1318;
  --verde:        #A8C800;
  --verde-dark:   #7A9200;
  --petroleo:     #1E6B7F;
  --petroleo-c:   #2B8FA8;
  --blanco:       #FFFFFF;
  --gris:         #F4F5F2;
  --texto:        #1A1D23;
  --texto-muted:  #5A6070;
  --border-light: rgba(0,0,0,0.07);
  --border-dark:  rgba(255,255,255,0.09);

  /* Tipografía */
  --font:         'Helvetica Neue', Arial, sans-serif;

  /* Espaciado / dimensiones */
  --nav-height:   108px;
  --nav-compact:  72px;
  --radius-card:  16px;
  --radius-sm:    8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--texto);
  background: #fff;
  overflow-x: hidden;
}

/* ── Animaciones globales ── */
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.5); }
}
@keyframes wab {
  0%,100%,80% { transform: translateY(0); }
  40%          { transform: translateY(-8px); }
  60%          { transform: translateY(-4px); }
}

/* ═══════════════════════════════════════════════════
   NAVEGACIÓN
   ═══════════════════════════════════════════════════ */
body > nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: var(--nav-height);
  border-bottom: 1px solid var(--border-dark);
  transition: height .35s ease, box-shadow .35s ease;
}
body > nav::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: rgba(8,10,13,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body > nav.compact {
  height: var(--nav-compact);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.nav-brand img.iso {
  display: block;
  height: 80px; width: 80px;
  transition: height .35s ease, width .35s ease;
}
.nav-brand img.wm {
  display: block;
  height: 32px; width: 183px;
  opacity: .95;
  transition: height .35s ease, width .35s ease;
}
body > nav.compact .nav-brand img.iso { height: 48px; width: 48px; }
body > nav.compact .nav-brand img.wm  { height: 20px; width: 114px; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13.5px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--verde); }

.nav-links .nav-cta,
.nav-cta {
  background: var(--verde); color: var(--negro);
  font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 6px;
  border: none; cursor: pointer;
  margin-left: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--verde-dark); transform: translateY(-1px); }

.nav-ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-ham span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all .3s ease;
}
.nav-ham.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.active span:nth-child(2) { opacity: 0; }
.nav-ham.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed;
  top: var(--nav-compact); left: 0; right: 0;
  background: rgba(8,10,13,0.98);
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-dark);
  gap: 16px;
  z-index: 99;
}
.nav-links.open a, .nav-links.open .nav-cta { display: flex !important; }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 52px 90px;
  overflow: hidden;
  background: var(--negro);
}
#hc { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(to top, var(--negro) 0%, transparent 100%);
  z-index: 1;
}
.h-left {
  position: absolute; top: 0; bottom: 0; left: 0; width: 60%;
  background: linear-gradient(to right, rgba(8,10,13,0.88) 0%, transparent 100%);
  z-index: 1;
}
.hcont { position: relative; z-index: 2; max-width: 680px; }

.ep {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.96);
  border-radius: 10px; padding: 14px 24px;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--verde);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.ep span { font-size: 17px; font-weight: 700; color: #0F1318; letter-spacing: -0.3px; }

.hero h1 {
  font-size: 56px; font-weight: 800;
  line-height: 1.08; letter-spacing: -2px;
  color: #fff; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--verde); }
.hero p {
  font-size: 17px; line-height: 1.72;
  color: rgba(255,255,255,0.62);
  max-width: 560px; margin-bottom: 40px;
  font-weight: 300;
}
.hbtns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Botón primario */
.bp {
  background: var(--verde); color: var(--negro);
  font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: 8px;
  border: none; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background .2s, transform .15s;
}
.bp:hover { background: var(--verde-dark); transform: translateY(-2px); }

/* Botón secundario ghost */
.bs {
  background: transparent;
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  padding: 14px 28px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.22);
  text-decoration: none; display: inline-block;
  transition: border-color .2s, color .2s;
}
.bs:hover { border-color: var(--verde); color: var(--verde); }

/* Botón WhatsApp */
.bwa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 14px 22px; border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.bwa:hover { background: #1fbc5a; transform: translateY(-2px); }

/* Stats hero */
.hs {
  position: relative; z-index: 2;
  display: flex; gap: 52px;
  margin-top: 60px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.sn { font-size: 30px; font-weight: 800; color: var(--verde); letter-spacing: -1px; }
.sl { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }

/* ═══════════════════════════════════════════════════
   SECCIONES GENERALES
   ═══════════════════════════════════════════════════ */
section { padding: 88px 52px; }

.ey {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--verde-dark); margin-bottom: 14px;
}
h2 {
  font-size: 36px; font-weight: 800;
  letter-spacing: -1px; line-height: 1.15;
  margin-bottom: 18px;
}
.lead {
  font-size: 16px; line-height: 1.75;
  color: var(--texto-muted); margin-bottom: 24px;
}
.sect-header { max-width: 640px; margin: 0 auto 52px; text-align: center; }

/* ═══════════════════════════════════════════════════
   SECCIÓN — EL PROBLEMA
   ═══════════════════════════════════════════════════ */
.prob-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: stretch;
}
.prob-left {
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.prob-text-group {}
.prob-checklist { display: flex; flex-direction: column; gap: 10px; }
.prob-check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #fff; border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}
.prob-check-item span { font-size: 14px; color: #1A1D23; font-weight: 500; }

.prob-right { display: flex; flex-direction: column; gap: 16px; }

/* Grid comparativo */
.pg {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(0,0,0,0.06);
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.pc { background: #fff; padding: 22px 24px; }
.pc.bg { background: var(--gris); }
.pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pt2 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 3px;
}
.pt2.bad  { color: #b03a2e; }
.pt2.good { color: var(--verde-dark); }
.pc-title { font-size: 14px; font-weight: 700; color: #1A1D23; }
.pc p { font-size: 13px; line-height: 1.7; color: var(--texto-muted); }

/* Laptop SVG wrapper */
.laptop-wrap { display: flex; justify-content: center; }

/* ═══════════════════════════════════════════════════
   SECCIÓN — SERVICIOS
   ═══════════════════════════════════════════════════ */
.sg {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sc {
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.sc:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.09); }
.sc.star { border: 2px solid var(--verde); }

.si { width: 100%; height: 210px; object-fit: cover; display: block; background: var(--negro-2); }

/* Placeholder de imagen cuando no existe */
.si-placeholder {
  width: 100%; height: 210px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: rgba(255,255,255,0.15);
}
.si-placeholder.ia  { background: linear-gradient(135deg, #080A0D 0%, #0d1a10 100%); }
.si-placeholder.bi  { background: linear-gradient(135deg, #080A0D 0%, #0a1520 100%); }
.si-placeholder.dig { background: linear-gradient(135deg, #080A0D 0%, #12100a 100%); }
.si-placeholder.sas { background: linear-gradient(135deg, #080A0D 0%, #100a18 100%); }

.sb { padding: 24px 28px 28px; }
.bdg {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 14px;
}
.bv  { background: rgba(168,200,0,0.12);  color: var(--verde-dark); }
.bpt { background: rgba(30,107,127,0.10); color: var(--petroleo); }
.ba  { background: rgba(180,120,0,0.10);  color: #7A5200; }
.bpu { background: rgba(90,60,150,0.10);  color: #4A2D96; }

.st2 { font-size: 18px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 10px; }
.sd  { font-size: 13.5px; line-height: 1.66; color: var(--texto-muted); margin-bottom: 16px; }
.tgs { display: flex; flex-wrap: wrap; gap: 6px; }
.tg  {
  font-size: 11px; padding: 4px 12px;
  border-radius: 20px;
  background: var(--gris); color: var(--texto-muted);
  border: 1px solid rgba(0,0,0,0.05);
}
.sl2 {
  font-size: 13px; color: var(--petroleo-c); font-weight: 600;
  display: block; margin-top: 16px;
  text-decoration: none;
  transition: color .2s;
}
.sl2:hover { color: var(--verde-dark); }

/* ═══════════════════════════════════════════════════
   SECCIÓN — CÓMO TRABAJAMOS
   ═══════════════════════════════════════════════════ */
.pw { background: var(--negro-2); }
.pw h2 { color: #fff; }
.pw .lead { color: rgba(255,255,255,0.5); }
.pw .ey { color: rgba(168,200,0,0.7); }

.prc {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative;
}
.prc::before {
  content: '';
  position: absolute; top: 23px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,200,0,0.35) 20%, rgba(168,200,0,0.35) 80%, transparent);
}
.pst { text-align: center; padding: 0 18px; }
.pn {
  width: 46px; height: 46px; border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--negro);
  border: 2px solid var(--verde);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: var(--verde);
}
.ptit { font-size: 14.5px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.pdc  { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.45); }

/* ═══════════════════════════════════════════════════
   SECCIÓN — POR QUÉ BINTIX (tabla comparativa)
   ═══════════════════════════════════════════════════ */
.dt {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-light);
}
.dt th {
  padding: 14px 24px; text-align: left;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.dt th:first-child { background: var(--gris); color: var(--texto-muted); border-bottom: 2px solid var(--border-light); }
.dt th.cb { background: var(--negro); color: var(--verde); border-bottom: 2px solid rgba(168,200,0,0.3); }
.dt th.cc { background: #f7f7f7; color: #999; border-bottom: 2px solid var(--border-light); }

.dt td { padding: 16px 24px; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.dt tr:last-child td { border-bottom: none; }
.dt td:first-child { color: var(--texto-muted); background: #fff; font-weight: 500; }

.dt td.bc { background: rgba(168,200,0,0.04); }
.dt td.bcc { background: #fafafa; }

.chk { color: var(--verde-dark); font-weight: 700; }
.nope { color: #ccc; }

/* ═══════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════ */
.ctaw {
  background: var(--negro);
  text-align: center;
  padding: 100px 52px;
  position: relative; overflow: hidden;
}
.ctaw::before {
  content: '';
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,200,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cey {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--verde); margin-bottom: 18px;
}
.ch {
  font-size: 40px; font-weight: 800;
  letter-spacing: -1.2px; line-height: 1.1;
  color: #fff; max-width: 580px;
  margin: 0 auto 18px;
}
.cs {
  font-size: 17px; color: rgba(255,255,255,0.5);
  max-width: 460px; margin: 0 auto 40px;
  line-height: 1.65; font-weight: 300;
}
.cbt { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cn { font-size: 12px; color: rgba(255,255,255,0.28); margin-top: 20px; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
footer {
  background: #040608;
  padding: 44px 52px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ft-brand { display: flex; align-items: center; gap: 12px; }
.ft-brand img.iso { height: 36px; }
.ft-brand img.wm  { height: 16px; opacity: .7; }

.flinks { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.flinks a {
  font-size: 13px; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color .2s;
}
.flinks a:hover { color: var(--verde); }

.fct { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.fct a {
  font-size: 13px; color: rgba(255,255,255,0.75);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.fct a:hover { color: var(--verde); }
.wa-num { font-size: 11px; color: rgba(255,255,255,0.4); margin-left: 2px; }
.fcopy { font-size: 11.5px; color: rgba(255,255,255,0.4); text-align: right; line-height: 1.6; }

/* ─ Footer link WA ─ */
.waft {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
   ═══════════════════════════════════════════════════ */
.wafloat {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  animation: wab 3s ease-in-out 2s infinite;
}
.wafloat svg { width: 28px; height: 28px; fill: #fff; }
.watip {
  position: absolute; right: 66px;
  background: rgba(8,10,13,0.92); color: #fff;
  font-size: 12px; font-weight: 500;
  white-space: nowrap; padding: 6px 12px;
  border-radius: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.wafloat:hover .watip { opacity: 1; }

/* ═══════════════════════════════════════════════════
   RESPONSIVIDAD
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  body > nav { padding: 0 24px; height: 72px; }
  body > nav.compact { height: 64px; }
  .nav-brand img.iso { height: 52px; width: 52px; }
  .nav-brand img.wm  { height: 20px; width: 115px; }
  .nav-links a, .nav-cta { display: none; }
  .nav-ham { display: flex; }

  .hero { padding: 100px 24px 60px; }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .ep span { font-size: 14px; }
  .hs { gap: 28px; }

  section { padding: 60px 24px; }
  h2 { font-size: 28px; }

  .prob-layout { grid-template-columns: 1fr; gap: 36px; }
  .prob-left { justify-content: flex-start; gap: 24px; }

  .sg  { grid-template-columns: 1fr 1fr; gap: 14px; }
  .prc { grid-template-columns: 1fr 1fr; gap: 32px; }
  .prc::before { display: none; }

  footer { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .ft-brand { justify-content: center; }
  .fcopy { text-align: center; }
  .fct { align-items: center; }

  .ctaw { padding: 70px 24px; }
  .ch { font-size: 30px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .ep { padding: 10px 16px; }
  .ep span { font-size: 13px; }

  .sg  { grid-template-columns: 1fr; }
  .prc { grid-template-columns: 1fr; }
  .pg  { grid-template-columns: 1fr; }
  .cbt { flex-direction: column; align-items: stretch; }
  .cbt .bp, .cbt .bwa { text-align: center; justify-content: center; }

  .dt { font-size: 12px; }
  .dt th, .dt td { padding: 10px 14px; }
}

/* ═══════════════════════════════════════════════════
   PÁGINAS PILAR — Componentes adicionales
   ═══════════════════════════════════════════════════ */

/* ── Hero de página (sin canvas) ── */
.page-hero {
  background: var(--negro);
  padding: 160px 52px 100px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -200px; right: -100px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,200,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(to top, #fff 0%, transparent 100%);
  pointer-events: none;
}
.page-hero.bg-dark::after { background: linear-gradient(to top, var(--negro-2) 0%, transparent 100%); }

.ph-inner { position: relative; z-index: 2; max-width: 760px; }
.ph-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(168,200,0,0.1);
  border: 1px solid rgba(168,200,0,0.25);
  border-radius: 20px; padding: 6px 16px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--verde); margin-bottom: 28px;
}
.page-hero h1 {
  font-size: 52px; font-weight: 800;
  line-height: 1.08; letter-spacing: -1.8px;
  color: #fff; margin-bottom: 22px;
}
.page-hero h1 em { font-style: normal; color: var(--verde); }
.page-hero .sub {
  font-size: 18px; line-height: 1.68;
  color: rgba(255,255,255,0.58);
  max-width: 620px; margin-bottom: 40px;
  font-weight: 300;
}
.ph-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ph-stat-n { font-size: 28px; font-weight: 800; color: var(--verde); letter-spacing: -1px; }
.ph-stat-l { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* ── Sección con fondo oscuro (reutilizable) ── */
.s-dark { background: var(--negro-2); }
.s-dark h2      { color: #fff; }
.s-dark .ey     { color: rgba(168,200,0,0.7); }
.s-dark .lead   { color: rgba(255,255,255,0.5); }

/* ── Contexto / problema del mercado ── */
.ctx-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.ctx-left {}
.ctx-right { display: flex; flex-direction: column; gap: 16px; }

.stat-card {
  background: #fff; border-radius: 14px;
  border: 1px solid var(--border-light);
  padding: 28px 32px;
  display: flex; align-items: flex-start; gap: 20px;
}
.stat-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-card-icon.vd  { background: rgba(168,200,0,0.12); }
.stat-card-icon.pt  { background: rgba(43,143,168,0.12); }
.stat-card-icon.amb { background: rgba(180,120,0,0.10); }
.stat-card-icon.pu  { background: rgba(90,60,150,0.10); }
.stat-card-num  { font-size: 28px; font-weight: 800; color: var(--verde); letter-spacing: -1px; }
.stat-card-txt  { font-size: 13px; line-height: 1.6; color: var(--texto-muted); margin-top: 4px; }

/* ── Filosofía / diferenciador ── */
.phil-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.phil-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}
.phil-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(168,200,0,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.phil-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.phil-card p  { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.45); }

/* ── Casos de uso / servicios específicos ── */
.uc-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.uc-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  background: #fff; padding: 28px 24px;
  transition: transform .25s, box-shadow .25s;
}
.uc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }
.uc-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; color: var(--verde-dark);
  margin-bottom: 14px;
}
.uc-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--texto); }
.uc-card p  { font-size: 13.5px; line-height: 1.65; color: var(--texto-muted); }
.uc-tags    { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* ── Impacto por área ── */
.impact-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.impact-card {
  background: #fff; border-radius: 14px;
  border: 1px solid var(--border-light);
  padding: 24px 20px;
  text-align: center;
}
.impact-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(168,200,0,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.impact-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.impact-card p  { font-size: 12.5px; line-height: 1.6; color: var(--texto-muted); }

/* ── Proceso paso a paso (vertical) ── */
.proc-v { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.proc-step {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; position: relative;
}
.proc-step:not(:last-child) .ps-line {
  position: absolute; left: 29px; top: 60px; bottom: -24px;
  width: 2px; background: rgba(168,200,0,0.2);
}
.ps-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--negro); border: 2px solid var(--verde);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--verde);
  flex-shrink: 0; position: relative; z-index: 1;
}
.ps-body { padding-bottom: 40px; }
.ps-body h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ps-body p  { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.ps-dur {
  display: inline-block; margin-top: 10px;
  font-size: 11px; font-weight: 700; color: var(--verde-dark);
  letter-spacing: 1px;
}

/* ── FAQ Accordion ── */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden; background: #fff;
}
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px;
  background: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: var(--font);
  font-size: 15px; font-weight: 600; color: var(--texto);
  transition: background .2s;
}
.faq-q:hover { background: var(--gris); }
.faq-q.open  { background: var(--gris); color: var(--verde-dark); }
.faq-arrow {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid currentColor; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  font-size: 14.5px; line-height: 1.75; color: var(--texto-muted);
}
.faq-a.open { max-height: 400px; padding: 4px 24px 22px; }

/* ── Responsive páginas pilar ── */
@media (max-width: 900px) {
  .page-hero { padding: 110px 24px 80px; }
  .page-hero h1 { font-size: 34px; letter-spacing: -1px; }
  .page-hero .sub { font-size: 16px; }
  .ph-stats { gap: 28px; }

  .ctx-grid   { grid-template-columns: 1fr; gap: 32px; }
  .phil-grid  { grid-template-columns: 1fr 1fr; gap: 16px; }
  .uc-grid    { grid-template-columns: 1fr 1fr; gap: 16px; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  .page-hero h1 { font-size: 28px; }
  .phil-grid    { grid-template-columns: 1fr; }
  .uc-grid      { grid-template-columns: 1fr; }
  .impact-grid  { grid-template-columns: 1fr 1fr; }
  .proc-step    { grid-template-columns: 48px 1fr; gap: 16px; }
}

/* ═══════════════════════════════════════════════════
   FASE 3 — Nosotros + Contacto
   ═══════════════════════════════════════════════════ */

/* ── Nosotros: manifiesto / quote grande ── */
.manifesto {
  background: var(--negro);
  padding: 100px 52px;
  text-align: center;
  position: relative; overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,200,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.mq {
  font-size: 32px; font-weight: 800;
  line-height: 1.25; letter-spacing: -1px;
  color: #fff; max-width: 820px; margin: 0 auto 24px;
  position: relative; z-index: 1;
}
.mq em { font-style: normal; color: var(--verde); }
.mqs {
  font-size: 16px; color: rgba(255,255,255,0.45);
  max-width: 540px; margin: 0 auto;
  line-height: 1.7; font-weight: 300;
  position: relative; z-index: 1;
}

/* ── Nosotros: valores ── */
.vals-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.val-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}
.val-num {
  font-size: 36px; font-weight: 800;
  color: rgba(168,200,0,0.15);
  letter-spacing: -2px; line-height: 1;
  margin-bottom: 16px;
}
.val-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.val-card p  { font-size: 14px; line-height: 1.72; color: var(--texto-muted); }

/* ── Nosotros: historia en línea de tiempo ── */
.timeline { max-width: 700px; margin: 0 auto; }
.tl-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px; position: relative;
}
.tl-item:not(:last-child) .tl-line {
  position: absolute; left: 39px; top: 48px; bottom: -28px;
  width: 2px; background: rgba(168,200,0,0.15);
}
.tl-year {
  font-size: 12px; font-weight: 800; color: var(--verde);
  letter-spacing: 1px; padding-top: 14px; text-align: right;
}
.tl-body { padding-bottom: 40px; }
.tl-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.tl-body p  { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.48); }

/* ── Nosotros: promesa ── */
.promise-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.promise-list { display: flex; flex-direction: column; gap: 20px; }
.pl-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.pl-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(168,200,0,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.pl-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pl-item p  { font-size: 13.5px; line-height: 1.65; color: var(--texto-muted); }

/* ── Contacto: layout ── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.ci-block h3 { font-size: 14px; font-weight: 700; color: var(--texto-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.ci-block a  { font-size: 16px; font-weight: 600; color: var(--texto); text-decoration: none; display: flex; align-items: center; gap: 10px; transition: color .2s; }
.ci-block a:hover { color: var(--verde-dark); }
.ci-block p  { font-size: 15px; line-height: 1.65; color: var(--texto); }

/* ── Formulario de contacto ── */
.contact-form {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.cf-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.5px; }
.cf-sub   { font-size: 14px; color: var(--texto-muted); margin-bottom: 28px; }

.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: 12px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--texto-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 14px; color: var(--texto);
  padding: 12px 16px;
  background: var(--gris);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%; padding: 15px;
  background: var(--verde); color: var(--negro);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; margin-top: 8px;
  transition: background .2s, transform .15s;
}
.form-submit:hover { background: var(--verde-dark); transform: translateY(-1px); }

.form-note { font-size: 12px; color: var(--texto-muted); text-align: center; margin-top: 14px; }

/* Mensaje de éxito */
.form-success {
  display: none; text-align: center; padding: 32px 16px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(168,200,0,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.form-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.form-success p  { font-size: 14px; color: var(--texto-muted); }

/* ── FAQ Nosotros (mini) ── */
.nos-faq { max-width: 680px; }

/* ── Mapa / ubicación placeholder ── */
.location-card {
  background: var(--negro-2);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  border: 1px solid var(--border-dark);
}
.location-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.lc-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
}
.lc-item svg { flex-shrink: 0; margin-top: 2px; }
.lc-item p   { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.55); }
.lc-item strong { color: rgba(255,255,255,0.85); }

/* ── Responsive Fase 3 ── */
@media (max-width: 900px) {
  .manifesto { padding: 70px 24px; }
  .mq { font-size: 24px; }
  .vals-grid    { grid-template-columns: 1fr 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .vals-grid { grid-template-columns: 1fr; }
  .mq { font-size: 20px; }
  .contact-form { padding: 28px 20px; }
}
