/* ============================================
   KOMET — Estilos globales
   Sistema de diseño dark sobrio y profesional
   ============================================ */

:root {
  /* Fondos */
  --bg-deep: #0a1626;
  --bg-base: #0d1e34;
  --bg-elev: #112a45;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.035);

  /* Bordes */
  --border-soft: rgba(200, 215, 240, 0.05);
  --border-mid: rgba(200, 215, 240, 0.10);
  --border-strong: rgba(200, 215, 240, 0.18);

  /* Texto */
  --text-primary: #e6ecf3;
  --text-secondary: #8a9bb4;
  --text-muted: #5a6a80;

  /* Acento (azul acero, un solo color) */
  --accent: #6b95c4;
  --accent-bright: #8ab4d8;
  --accent-deep: #4a7ba3;
  --accent-soft: rgba(107, 149, 196, 0.10);

  /* Acento cálido (ámbar apagado, para destacar) */
  --accent-warm: #c9a55c;

  /* Estados */
  --success: #5bba8f;
  --danger: #d97a7a;
  --whatsapp: #1ea952;
  --whatsapp-hover: #1a8f47;

  /* Gradientes sutiles */
  --grad-primary: linear-gradient(135deg, #6b95c4 0%, #8a96a8 100%);
  --grad-warm: linear-gradient(135deg, #c9a55c 0%, #b8956a 100%);

  /* Tipografía */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;

  /* Espaciado */
  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 4px;

  /* Sombras */
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ====== Contenedor ====== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ====== Tipografía ====== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
}

h4 {
  font-size: 1.1rem;
  font-weight: 500;
}

p {
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.text-gradient {
  color: var(--text-primary);
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 400;
}

/* ====== Botones ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #0a1626;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--border-strong);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
}

/* ====== Navbar ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 22, 38, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: padding 0.25s ease, background 0.25s ease;
}

.navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(10, 22, 38, 0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.nav-logo .logo-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: #0a1626;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-menu a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-soft);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ====== Hero ====== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 0%, transparent 40%, rgba(10, 22, 38, 0.55) 75%, var(--bg-deep) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(138, 180, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 180, 216, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, #000 35%, transparent 75%);
}

#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 820px;
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 .text-gradient {
  color: var(--text-primary);
}

.hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.hero-meta strong {
  color: var(--text-primary);
  font-weight: 500;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 10;
  pointer-events: none;
}

.credit {
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  z-index: 20;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  pointer-events: none;
  opacity: 0.6;
}

/* ====== Secciones ====== */
section {
  position: relative;
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header p.lead {
  margin-top: 1rem;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.section-divider {
  width: 32px;
  height: 1px;
  background: var(--border-strong);
  margin: 0 auto 1.5rem;
}

.section-header.left .section-divider {
  margin: 0 0 1.5rem;
}

/* ====== Cards genéricas ====== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-mid);
}

.card .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--accent-bright);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ====== Grid layouts ====== */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ====== Producto card (sector pages) ====== */
.product {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.product:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-mid);
}

.product-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--accent-bright);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}
}

.product-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.product h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  font-weight: 500;
}

.product-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1rem;
  font-style: normal;
  opacity: 1;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.product-points {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-points li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.product-points li:first-child {
  border-top: none;
  padding-top: 0;
}

.product-points li strong {
  display: block;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.product-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 6px;
  height: 1px;
  background: var(--border-strong);
}

.product-points li:first-child::before {
  top: 0.4rem;
}

.product-result {
  background: transparent;
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

.product-result strong {
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.3rem;
}

/* ====== Stats ====== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.stat {
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--border-soft);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* ====== Feature / Pillars ====== */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.pillar {
  text-align: left;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pillar:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-mid);
}

.pillar-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  color: var(--accent-bright);
  margin-bottom: 1rem;
}

.pillar h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.pillar p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ====== Process / Pasos ====== */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  position: relative;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.process-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-mid);
}

.process-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.85rem;
  font-feature-settings: 'tnum';
  margin-bottom: 1rem;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ====== Testimonios ====== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.testimonial:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-mid);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  padding-top: 0;
  font-style: normal;
}

.testimonial-quote::before {
  content: '';
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  font-weight: 500;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ====== FAQ ====== */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  background: var(--bg-card-hover);
  border-color: var(--border-mid);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  font-weight: 300;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}

.faq-item .faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ====== Sector preview (home) ====== */
.sector-card {
  position: relative;
  display: block;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.sector-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.sector-card .sector-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  color: var(--accent-bright);
}

.sector-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.sector-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sector-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  letter-spacing: 0.02em;
}

.sector-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.sector-card:hover .sector-link {
  gap: 0.65rem;
}

/* ====== Page hero (sectores) ====== */
.page-hero {
  position: relative;
  padding: 8rem 0 4.5rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(closest-side, rgba(107, 149, 196, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 1rem;
}

.page-hero p.lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* ====== About / Komet story ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-visual {
  position: relative;
  min-height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
  overflow: hidden;
}

.about-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0;
  position: relative;
  z-index: 1;
}

.about-divider::before,
.about-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.about-divider .mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-bright);
}

.about-visual::before {
  content: none;
}

.about-flag {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.about-flag .flag {
  display: inline-block;
  width: 22px;
  height: 14px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-soft);
}

.flag-mx {
  background: linear-gradient(to bottom, #006847 0%, #006847 33%, #fff 33%, #fff 66%, #ce1126 66%);
  position: relative;
}
.flag-co {
  background: linear-gradient(to bottom, #fcd116 0%, #fcd116 50%, #003893 50%, #003893 75%, #ce1126 75%);
}

.about-quote {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
  font-style: normal;
  padding-left: 0.85rem;
  border-left: 2px solid var(--accent);
}

.about-quote::before {
  content: none;
}

.about-meta {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.75rem;
  font-weight: 500;
}

/* ====== Logos strip ====== */
.logos-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  align-items: center;
  padding: 2rem 0;
  opacity: 0.7;
}

.logo-pill {
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ====== CTA banner ====== */
.cta-banner {
  position: relative;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: none;
}

.cta-banner > * {
  position: relative;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.cta-banner p {
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-banner .ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== Contact form ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.5rem;
}

.contact-info {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.contact-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.contact-info > p {
  margin-bottom: 1.75rem;
  line-height: 1.65;
  font-size: 0.92rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--accent-bright);
  font-size: 0.9rem;
}

.contact-list strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.contact-list a,
.contact-list span {
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.5;
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.contact-form h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.contact-form > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-group label .req {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
}

.form-group textarea {
  min-height: 120px;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: var(--danger);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-status {
  font-size: 0.88rem;
  color: var(--success);
  display: none;
}

.form-status.error {
  color: var(--danger);
}

.form-status.show {
  display: inline-block;
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ====== WhatsApp flotante ====== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition: background 0.2s ease;
  text-decoration: none;
}

.whatsapp-float::before {
  content: none;
}

.whatsapp-float:hover {
  background: var(--whatsapp-hover);
  color: #fff;
}

/* ====== Footer ====== */
.footer {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding: 3.5rem 0 1.75rem;
  margin-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 1rem 0 1.25rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-brand .flags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  font-size: 0.78rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
  font-size: 0.95rem;
}

.footer-social a:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--text-secondary);
  margin-left: 1.25rem;
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

/* ====== Animaciones de entrada ====== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(10) { transition-delay: 0.50s; }

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 22, 38, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    gap: 0.25rem;
    align-items: stretch;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-menu a {
    padding: 0.75rem 1rem;
  }
  .nav-cta .btn {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 3.5rem 0;
  }
  .hero {
    padding: 6rem 1rem 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom a {
    margin: 0 0.5rem;
  }
  .whatsapp-float {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    bottom: 18px;
    right: 18px;
  }
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }
  .stat:last-child {
    border-bottom: none;
  }
}
