/* ============================================================
   STRATEGIQ — Landing styles
   Paleta: cálido (no negro), naranja #FF6A00 como acento
   ============================================================ */

:root {
  --orange: #FF6A00;
  --orange-soft: #FF8A2A;
  --orange-glow: #FFB36B;
  --orange-tint: rgba(255, 106, 0, 0.08);
  --orange-tint-2: rgba(255, 106, 0, 0.16);

  --ink: #1A1612;
  --ink-2: #3A332D;
  --ink-3: #6B635B;
  --ink-4: #9C948B;

  --bone: #FAF7F2;
  --bone-2: #F3EEE5;
  --bone-3: #E8E1D4;
  --paper: #FFFFFF;

  --rule: rgba(26, 22, 18, 0.10);
  --rule-strong: rgba(26, 22, 18, 0.18);

  --serif: 'Playfair Display', 'Cinzel', Georgia, serif;
  --sans: 'Montserrat', 'Optima', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(26, 22, 18, 0.04), 0 2px 8px rgba(26, 22, 18, 0.04);
  --shadow-md: 0 4px 14px rgba(26, 22, 18, 0.06), 0 14px 40px rgba(26, 22, 18, 0.08);
  --shadow-lg: 0 30px 80px rgba(26, 22, 18, 0.12);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Soft paper grain background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(26, 22, 18, 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 0;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(44px, 6.4vw, 88px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: 18px; }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
}

em.it { font-style: italic; color: var(--orange); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 106, 0, 0.34);
  background: var(--orange-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn .arrow {
  transition: transform 200ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(250, 247, 242, 0.78);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-links a {
  color: var(--ink-2);
  transition: color 200ms ease;
  position: relative;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-copy h1 .accent {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero-copy .lede { margin: 28px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.phase-stepper {
  margin-top: 56px;
  max-width: 580px;
}
/* Variante full-width: cuando vive debajo del hero-grid, no junto al copy */
.hero-stepper {
  max-width: 920px;
  margin: 90px auto 0;
  padding: 32px 40px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(26,22,18,0.03), 0 18px 50px rgba(26,22,18,0.06);
  position: relative;
}
.hero-stepper .ps-eyebrow { justify-content: center; text-align: center; margin-bottom: 32px; }
.ps-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ps-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--orange);
}
.ps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding-top: 4px;
}
/* Rails sit BEHIND the nodes, spanning from first node center to last node center */
.ps-rail, .ps-rail-fill {
  position: absolute;
  top: 12px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 2px;
}
.ps-rail { background: var(--rule-strong); }
.ps-rail-fill {
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-soft) 100%);
  transform-origin: left center;
  animation: ps-fill 10s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(255,106,0,0.35);
}
@keyframes ps-fill {
  0%   { transform: scaleX(0); }
  20%  { transform: scaleX(0.25); }
  40%  { transform: scaleX(0.50); }
  60%  { transform: scaleX(0.75); }
  80%  { transform: scaleX(1.00); }
  90%  { transform: scaleX(1.00); }
  100% { transform: scaleX(0); }
}

.ps-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  z-index: 1;
}
.ps-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bone);
  border: 2px solid var(--rule-strong);
  position: relative;
  transition: all 300ms ease;
  z-index: 1;
}
.ps-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 250ms ease, transform 350ms ease;
}
.ps-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  transition: color 300ms ease;
}
.ps-label {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-4);
  transition: color 300ms ease;
  line-height: 1.2;
  max-width: 10ch;
}

/* Activate each node in sequence, in sync with the rail fill */
.ps-node {
  animation: ps-node-cycle 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}
@keyframes ps-node-cycle {
  0%, 5%   { /* pre-active state */ }
  6%, 18%  {
    --active: 1;
  }
  19%, 100% { /* passed state */ }
}

/* Drive child styles via a sibling animation on the node */
.ps-node .ps-dot {
  animation: ps-dot 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}
.ps-node .ps-dot::after {
  animation: ps-halo 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}
.ps-node .ps-num {
  animation: ps-num 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}
.ps-node .ps-label {
  animation: ps-label 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}

@keyframes ps-dot {
  0%, 4%   { background: var(--bone); border-color: var(--rule-strong); transform: scale(1); }
  6%, 18%  { background: var(--orange); border-color: var(--orange); transform: scale(1.15); }
  20%, 100% { background: var(--orange); border-color: var(--orange); transform: scale(1); }
}
@keyframes ps-halo {
  0%, 4%   { opacity: 0; transform: scale(0.7); }
  6%       { opacity: 0.9; transform: scale(0.7); }
  18%      { opacity: 0; transform: scale(1.4); }
  100%     { opacity: 0; }
}
@keyframes ps-num {
  0%, 4%   { color: var(--ink-3); }
  6%, 100% { color: var(--orange); }
}
@keyframes ps-label {
  0%, 4%   { color: var(--ink-4); }
  6%, 100% { color: var(--ink); }
}

/* Hero visual: AI Operations Console */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  align-self: stretch;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv-halo {
  position: absolute;
  inset: -10% -5% -5% -5%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,178,107,0.40), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(255,106,0,0.22), transparent 60%);
  filter: blur(28px);
  z-index: 0;
  animation: hv-breathe 8s ease-in-out infinite;
}
@keyframes hv-breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.04); opacity: 1; }
}

.ai-console {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow:
    0 1px 2px rgba(26,22,18,0.05),
    0 24px 60px rgba(26,22,18,0.14),
    0 2px 6px rgba(255,106,0,0.06);
  overflow: hidden;
  font-size: 13px;
}

/* Header */
.ai-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(180deg, var(--bone) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--rule);
}
.ai-brand { display: flex; align-items: center; gap: 10px; }
.ai-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--orange-glow), var(--orange) 70%);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.18);
}
.ai-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.ai-title .ai-sub { color: var(--ink-3); font-weight: 500; }
.ai-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #1f8a5b;
  background: rgba(31,138,91,0.10);
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
}
.live-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2bb673;
  box-shadow: 0 0 0 0 rgba(43,182,115,0.5);
  animation: live-pulse 1.8s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(43,182,115,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(43,182,115,0); }
  100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); }
}

/* Pipeline */
.ai-pipeline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(255,106,0,0.02), transparent);
}
.pipe-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.pipe-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bone-2);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--ink-3);
  transition: all 200ms ease;
}
.pipe-ico.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  box-shadow: 0 6px 14px rgba(255,106,0,0.32);
  animation: pipe-pulse 2.6s ease-in-out infinite;
}
@keyframes pipe-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.pipe-line {
  position: relative;
  height: 2px;
  background: var(--rule);
  border-radius: 2px;
  overflow: hidden;
}
.pipe-pulse {
  position: absolute;
  top: 0; left: -30%;
  height: 100%; width: 30%;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: pipe-flow 2.8s linear infinite;
}
@keyframes pipe-flow {
  0% { left: -30%; }
  100% { left: 100%; }
}

/* Recomendación */
.ai-reco {
  margin: 0 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255,106,0,0.04), rgba(255,138,42,0.02));
  border: 1px solid rgba(255,106,0,0.20);
  border-radius: 14px;
}
.reco-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 6px;
}
.reco-title {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}
.reco-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px;
  color: var(--ink-3);
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.reco-conf {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 9px;
  font-weight: 600;
  color: var(--ink-2);
}
.reco-conf::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.reco-impact {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  margin-bottom: 12px;
}
.reco-impact-lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 600;
}
.reco-impact-val {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.reco-period {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
}
.reco-actions { display: flex; gap: 8px; }
.reco-btn {
  flex: 1;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: default;
  border: 1px solid transparent;
  transition: transform 180ms ease;
}
.reco-btn.primary { background: var(--orange); color: white; }
.reco-btn.ghost   { background: var(--paper); color: var(--ink-2); border-color: var(--rule-strong); }

/* Feed */
.ai-feed {
  padding: 14px 18px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.feed-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  font-size: 12.5px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
  animation: feed-in 600ms ease backwards;
}
.feed-row:first-child { border-top: 0; }
.feed-row:nth-child(2) { animation-delay: 200ms; }
.feed-row:nth-child(3) { animation-delay: 400ms; opacity: 0.7; }
@keyframes feed-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: none; }
}
.feed-row:nth-child(3) { animation: feed-in 600ms 400ms ease backwards, feed-fade 0ms 1000ms forwards; }
@keyframes feed-fade { to { opacity: 0.6; } }
.feed-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(43,182,115,0.14);
  color: #1f8a5b;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.feed-txt { color: var(--ink); font-weight: 500; }
.feed-val {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-tint);
  border-radius: 999px;
  padding: 2px 9px;
}
.feed-time {
  font-size: 11px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}

/* ---------- Section base ---------- */
section { position: relative; }
.section {
  padding: 110px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 18px; }

/* ---------- Phases (timeline) ---------- */
.phases {
  background:
    linear-gradient(180deg, var(--bone) 0%, var(--bone-2) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.phase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.phase-track::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--rule-strong) 0 6px, transparent 6px 12px);
}
.phase {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 28px 24px 26px;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  position: relative;
  z-index: 1;
}
.phase:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,106,0,0.4);
}
.phase-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--orange);
  margin-bottom: 18px;
}
.phase h3 { margin-bottom: 10px; }
.phase p { color: var(--ink-3); font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
  position: relative;
  overflow: hidden;
}
.service::after {
  content: '';
  position: absolute;
  inset: auto -40% -40% auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,106,0,0.10), transparent 70%);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(255,106,0,0.4);
  box-shadow: var(--shadow-md);
}
.service:hover::after { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--orange-tint);
  display: grid; place-items: center;
  color: var(--orange);
}
.service h3 { font-size: 22px; }
.service p { color: var(--ink-3); margin: 0; line-height: 1.6; }
.service ul { list-style: none; padding: 0; margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
.service ul li { padding: 6px 0; border-top: 1px dashed var(--rule); }
.service ul li::before { content: '— '; color: var(--orange); }

/* ---------- Value strip ---------- */
.value-strip {
  background: var(--ink);
  color: #F3EEE5;
  padding: 70px 0;
  border-radius: 24px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}
.value-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(255,106,0,0.22), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(255,138,42,0.10), transparent 50%);
  pointer-events: none;
}
.value-strip .container { position: relative; z-index: 1; }
.value-strip h2 { color: white; max-width: 18ch; }
.value-strip h2 .accent {
  background: linear-gradient(120deg, var(--orange-soft), var(--orange-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.value-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.value-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-item {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.value-item .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--orange-soft);
}
.value-item .t {
  font-family: var(--serif);
  font-size: 20px;
  color: white;
  margin: 6px 0 6px;
}
.value-item .d {
  font-size: 13.5px;
  color: rgba(243, 238, 229, 0.7);
  line-height: 1.5;
}

/* ---------- Industries ---------- */
.industries {
  background: var(--bone-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.industry-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.industry {
  padding: 28px 14px;
  border-right: 1px solid var(--rule);
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-2);
  font-style: italic;
  transition: background 200ms ease, color 200ms ease;
  cursor: default;
}
.industry:last-child { border-right: 0; }
.industry:hover { background: var(--paper); color: var(--orange); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.contact-side .lede { margin-top: 20px; }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.contact-item:first-child { border-top: 0; }
.contact-item .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--orange-tint);
  color: var(--orange);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-item .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.contact-item .val { font-size: 15px; color: var(--ink); font-weight: 500; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}
.form-card h3 { margin-bottom: 6px; font-size: 26px; }
.form-card .form-sub { color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: var(--bone);
  color: var(--ink);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }

/* Field error state */
.field.has-error input,
.field.has-error textarea,
.field.has-error select,
.newsletter-input.has-error input {
  border-color: #c83232;
  background: rgba(200, 50, 50, 0.04);
  box-shadow: 0 0 0 4px rgba(200, 50, 50, 0.10);
}
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #9A2A2A;
  letter-spacing: 0.01em;
}
.consent.has-error span { color: #9A2A2A; }
.consent .field-error { margin-left: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); margin: 8px 0 22px; }
.consent input { margin-top: 3px; accent-color: var(--orange); }
.form-feedback {
  font-size: 13px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  display: none;
}
.form-feedback.show { display: block; }
.form-feedback.ok { background: rgba(36, 132, 78, 0.08); color: #1F6A3E; border: 1px solid rgba(36,132,78,0.25); }
.form-feedback.err { background: rgba(200, 50, 50, 0.08); color: #9A2A2A; border: 1px solid rgba(200,50,50,0.22); }

/* ---------- Newsletter ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.newsletter {
  padding: 40px 0 80px;
  position: relative;
}
.newsletter-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 60px 60px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.newsletter-glow {
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 200%;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,178,107,0.30), transparent 55%),
    radial-gradient(circle at 60% 50%, rgba(255,106,0,0.18), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.newsletter-copy { position: relative; z-index: 1; }
.newsletter-copy h2 { font-size: clamp(28px, 3vw, 38px); margin: 16px 0 14px; }
.newsletter-copy p { color: var(--ink-3); font-size: 15.5px; max-width: 42ch; margin: 0; line-height: 1.55; }

.newsletter-form { position: relative; z-index: 1; }
.newsletter-input {
  display: flex;
  gap: 10px;
  background: var(--bone);
  padding: 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.newsletter-input:focus-within {
  border-color: var(--orange);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(255,106,0,0.12);
}
.newsletter-input input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.newsletter-input input::placeholder { color: var(--ink-4); }
.newsletter-input .btn { padding: 14px 22px; }
.newsletter-consent {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12px; color: var(--ink-3);
  margin-top: 14px;
}
.newsletter-consent input { margin-top: 3px; accent-color: var(--orange); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(243, 238, 229, 0.7);
  padding: 70px 0 30px;
  font-size: 13.5px;
}
.footer .container { display: grid; gap: 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand p { max-width: 36ch; line-height: 1.55; }
.footer h5 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange-soft); margin: 0 0 18px; font-family: var(--sans); font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px;
  font-size: 12px; color: rgba(243, 238, 229, 0.5);
}

/* ---------- Chatbot ---------- */
.cbot-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: white;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(255,106,0,0.4), 0 4px 10px rgba(0,0,0,0.1);
  display: grid; place-items: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.cbot-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 22px 50px rgba(255,106,0,0.5); }
.cbot-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0.35;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0; }
}
.cbot-fab.open::after { display: none; }

.cbot-panel {
  position: fixed;
  right: 22px;
  bottom: 102px;
  z-index: 100;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 130px);
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}
.cbot-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cbot-header {
  background: linear-gradient(135deg, var(--ink) 0%, #2a221b 100%);
  color: white;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.cbot-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(255,106,0,0.35), transparent 60%);
}
.cbot-header > * { position: relative; z-index: 1; }
.cbot-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cbot-avatar img { width: 34px; }
.cbot-title { font-family: var(--serif); font-size: 17px; line-height: 1.1; }
.cbot-sub {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange-glow); margin-top: 3px;
  display: flex; align-items: center; gap: 6px;
}
.cbot-sub .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #6EE7A4; box-shadow: 0 0 0 3px rgba(110,231,164,0.25); }
.cbot-close {
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
}
.cbot-close:hover { background: rgba(255,255,255,0.18); }

.cbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cbot-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.cbot-msg.bot {
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.cbot-msg.user {
  background: var(--orange);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.cbot-typing {
  display: inline-flex; gap: 4px; align-items: center; padding: 4px 0;
}
.cbot-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4);
  animation: typing 1.2s infinite ease-in-out;
}
.cbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.cbot-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.cbot-actions {
  display: flex; gap: 8px;
  padding: 10px 16px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.cbot-chip {
  font-size: 12px;
  font-family: var(--sans);
  padding: 7px 12px;
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 180ms ease;
}
.cbot-chip:hover { background: var(--orange-tint); color: var(--orange); border-color: var(--orange); }

.cbot-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.cbot-input input {
  flex: 1;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 14px;
  border: 1px solid var(--rule);
  background: var(--bone);
  border-radius: 999px;
  outline: none;
  color: var(--ink);
}
.cbot-input input:focus { border-color: var(--orange); background: var(--paper); }
.cbot-send, .cbot-wa {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 180ms ease, background 180ms ease;
}
.cbot-send { background: var(--orange); color: white; }
.cbot-send:hover { transform: scale(1.06); background: var(--orange-soft); }
.cbot-wa { background: #25D366; color: white; }
.cbot-wa:hover { transform: scale(1.06); background: #1ebb59; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 70px 0 90px; }
  .hero-visual { margin: 0 auto; max-width: 460px; min-height: 0; }
  .phase-stepper { max-width: none; margin-top: 44px; }
  .phase-track { grid-template-columns: repeat(2, 1fr); }
  .phase-track::before { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .industry-row { grid-template-columns: repeat(3, 1fr); }
  .industry-row .industry:nth-child(3n) { border-right: 0; }
  .value-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .newsletter-card { grid-template-columns: 1fr; gap: 30px; padding: 44px 36px; }
  .section { padding: 80px 0; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav.mobile-open .nav-links {
    display: flex;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px 28px 24px;
    border-bottom: 1px solid var(--rule);
    gap: 18px;
  }
  .phase-stepper { margin-top: 38px; }
  .hero-stepper { padding: 26px 22px; border-radius: 18px; }
  .hero-stepper .ps-eyebrow { margin-bottom: 22px; font-size: 10px; letter-spacing: 0.18em; }
  .ps-label { font-size: 9.5px; letter-spacing: 0.04em; max-width: none; }
  .ps-num { font-size: 12px; margin-top: 6px; }
  .phase-track { grid-template-columns: 1fr; gap: 18px; }
  .phase { padding: 24px 22px 22px; }
  .phase-num { width: 34px; height: 34px; margin-bottom: 14px; font-size: 13px; }
  .services-grid { grid-template-columns: 1fr; }
  .industry-row { grid-template-columns: 1fr 1fr; }
  .industry-row .industry { border-right: 1px solid var(--rule) !important; }
  .industry-row .industry:nth-child(2n) { border-right: 0 !important; }
  .form-row { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .newsletter-card { padding: 34px 22px; }
  .newsletter-input { flex-direction: column; border-radius: 18px; padding: 10px; gap: 8px; }
  .newsletter-input input { padding: 12px 14px; }
  .newsletter-input .btn { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .cbot-panel { right: 12px; bottom: 92px; height: calc(100vh - 110px); }
  .cbot-fab { right: 16px; bottom: 16px; width: 58px; height: 58px; }
}

/* Stepper: vertical timeline en pantallas estrechas */
@media (max-width: 560px) {
  .hero-stepper {
    padding: 24px 22px 26px;
    margin-top: 34px;
  }
  .hero-stepper .ps-eyebrow {
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 22px;
  }
  .ps-track {
    grid-template-columns: 1fr;
    row-gap: 18px;
    padding: 4px 0 4px 6px;
  }
  /* Riel vertical, anclado al centro de los dots (9px = mitad de 18px) */
  .ps-rail, .ps-rail-fill {
    top: 12px;
    bottom: 12px;
    left: 15px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .ps-rail-fill {
    background: linear-gradient(180deg, var(--orange) 0%, var(--orange-soft) 100%);
    transform-origin: top center;
    animation: ps-fill-v 10s ease-in-out infinite;
  }
  @keyframes ps-fill-v {
    0%   { transform: scaleY(0); }
    20%  { transform: scaleY(0.25); }
    40%  { transform: scaleY(0.50); }
    60%  { transform: scaleY(0.75); }
    80%  { transform: scaleY(1.00); }
    90%  { transform: scaleY(1.00); }
    100% { transform: scaleY(0); }
  }
  .ps-node {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
  }
  .ps-num {
    margin-top: 0;
    font-size: 13px;
    min-width: 22px;
  }
  .ps-label {
    font-size: 11px;
    letter-spacing: 0.06em;
    max-width: none;
    flex: 1;
  }
}
