/* =============================================================
   SIETEH — Portfolio v2 stylesheet
   Tono: corporativo, oscuro, alto contraste
   Mobile-first responsive
   ============================================================= */

/* Screen-reader only — visible to crawlers / assistive tech, hidden visually */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand */
  --navy-deep:    #060f1f;
  --navy-900:     #091a33;
  --navy-800:     #0d2a4e;
  --navy-700:     #1a4a8a;
  --navy-600:     #1e3a6e;
  --blue:         #2563eb;
  --blue-bright:  #3b82f6;
  --blue-soft:    #93b8e8;
  --amber:        #1BA4AD;
  --amber-glow:   #7DDDE3;
  --amber-deep:   #0d6b71;
  --amber-light:  #cdf0f2;

  --green:        #16a34a;
  --green-pale:   #dcfce7;
  --green-deep:   #166534;

  /* Neutrals */
  --bg:           #ffffff;
  --bg-soft:      #f7f8fa;
  --bg-alt:       #eef1f6;
  --line:         #d6deea;
  --line-soft:    #e5eaf2;
  --text:         #0f172a;
  --text-mute:    #475569;
  --text-soft:    #64748b;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(15,23,42,.04), 0 1px 1px rgba(15,23,42,.03);
  --sh-2: 0 4px 14px rgba(13,42,78,.08);
  --sh-3: 0 12px 40px rgba(13,42,78,.14);
  --sh-amber: 0 8px 24px rgba(27,164,173,.32);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --nav-h: 72px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   NAV (sticky)
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(6, 15, 31, .92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 100;
  transition: background .25s;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  height: 100%;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
  height: 48px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
}
.nav-logo:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.nav-logo-img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}
@keyframes pulse { 0%,100% {opacity:1; box-shadow:0 0 0 0 rgba(27,164,173,.5)} 50% {opacity:.6; box-shadow:0 0 0 6px rgba(27,164,173,0)} }

.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.72);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }

.nav-cta {
  background: var(--amber);
  color: var(--navy-900);
  font-weight: 700; font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  display: inline-flex; align-items: center; gap: 7px;
  transition: opacity .2s, transform .2s;
  border: none;
}
.nav-cta:hover { opacity: .92; transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }
.nav-cta .em { font-size: 14px; line-height: 1; }

.nav-toggle {
  display: none;
  background: transparent; border: none;
  color: #fff; padding: 8px;
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL SECTION CHROME
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.section--dark {
  background: var(--navy-900);
  color: #fff;
}
.section--soft { background: var(--bg-soft); }
.section--alt  { background: var(--bg-alt); }

.container { max-width: 1280px; margin: 0 auto; }

.eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px;
  background: var(--amber); display: inline-block;
}
.section--dark .eyebrow { color: var(--amber-glow); }
.section--dark .eyebrow::before { background: var(--amber-glow); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.08;
  color: var(--navy-900);
  margin: 0 0 14px;
  max-width: 800px;
  text-wrap: balance;
}
.section--dark .section-title { color: #fff; }

.section-lede {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-mute);
  max-width: 680px;
  line-height: 1.6;
  margin: 0 0 48px;
  text-wrap: pretty;
}
.section--dark .section-lede { color: var(--blue-soft); }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 1200px 700px at 75% -10%, rgba(37,99,235,.28), transparent 60%),
    radial-gradient(ellipse 800px 500px at 10% 110%, rgba(27,164,173,.10), transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: #fff;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}
/* Electric lines decoration */
.hero-lines {
  position: absolute; right: -80px; top: 60px;
  width: 540px; height: 540px;
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}
.hero-lines svg { width: 100%; height: 100%; }

.hero-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.hero-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 40px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(27,164,173,.10);
  border: 1px solid rgba(27,164,173,.4);
  color: var(--amber-glow);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .02em;
}
.hero-badge i { width: 14px; height: 14px; stroke: currentColor; }

.hero-cert {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md);
  padding: 10px 16px;
  text-align: right;
  flex-shrink: 0;
}
.hero-cert .row {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--blue-soft);
  font-weight: 500;
  margin-top: 4px;
}
.hero-cert .row:first-child { margin-top: 0; color: var(--amber-glow); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.hero-cert i { width: 12px; height: 12px; }

.hero h1 {
  font-size: clamp(36px, 6.5vw, 76px);
  font-weight: 900;
  letter-spacing: -2.4px;
  line-height: .98;
  margin: 0 0 24px;
  max-width: 900px;
  text-wrap: balance;
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero h1 .sub-line {
  display: block;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -.4px;
  color: var(--blue-soft);
  margin-top: 16px;
  line-height: 1.4;
  max-width: 720px;
}

.hero-tagline {
  background: rgba(27,164,173,.08);
  border-left: 3px solid var(--amber);
  padding: 14px 20px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  max-width: 640px;
  margin: 32px 0 40px;
}
.hero-tagline p {
  margin: 0;
  font-size: 15px; font-style: italic; font-weight: 500;
  color: var(--amber-glow);
  text-wrap: pretty;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-size: 15px; font-weight: 700;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--amber); color: var(--navy-900);
  box-shadow: var(--sh-amber);
}
.btn--primary:hover { background: var(--amber-glow); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(27,164,173,.4); }
.btn--ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); }
.btn--dark {
  background: var(--navy-900); color: #fff;
}
.btn--dark:hover { background: var(--navy-800); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 32px;
  max-width: 900px;
}
.stat { padding-right: 16px; position: relative; }
.stat + .stat { padding-left: 20px; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: rgba(255,255,255,.10);
}
.stat .num {
  display: block;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800; line-height: 1;
  letter-spacing: -1px;
  color: #fff;
  font-feature-settings: 'tnum';
}
.stat .num em { color: var(--amber); font-style: normal; font-weight: 800; }
.stat .lbl {
  display: block; margin-top: 8px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--blue-soft);
}

/* ═══════════════════════════════════════════════════════════════
   POR QUÉ SIETEH
   ═══════════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--navy-800);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-800);
  box-shadow: var(--sh-2);
}
.why-card:hover::before { transform: scaleY(1); }

.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--navy-900);
  color: var(--amber);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.why-icon i { width: 26px; height: 26px; stroke-width: 1.8; }
.why-card h3 {
  font-size: 19px; font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 10px;
  letter-spacing: -.3px;
}
.why-card p {
  font-size: 14px; color: var(--text-mute);
  line-height: 1.6; margin: 0 0 14px;
}
.why-card .stat-line {
  font-size: 12px; font-weight: 700;
  color: var(--amber-deep);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 8px;
}
.why-card .stat-line i { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════
   PARÁMETROS
   ═══════════════════════════════════════════════════════════════ */
.params-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.param {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 22px 18px;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.section--dark .param {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}
.param:hover { border-color: var(--blue); box-shadow: var(--sh-2); }
.section--dark .param:hover { border-color: var(--amber); box-shadow: 0 6px 18px rgba(0,0,0,.3); }

.param .val {
  font-size: 28px; font-weight: 800;
  color: var(--amber);
  line-height: 1; letter-spacing: -.8px;
  font-feature-settings: 'tnum';
}
.section--dark .param .val { color: var(--amber-glow); }

.param .desc {
  font-size: 13px; font-weight: 500;
  color: var(--text-mute);
  margin-top: 12px;
  line-height: 1.5;
}
.section--dark .param .desc { color: var(--blue-soft); }

.param .src {
  font-size: 10px; font-weight: 700;
  color: var(--blue);
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex; align-items: center; gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.section--dark .param .src { color: var(--blue-soft); border-color: rgba(255,255,255,.10); }
.param .src i { width: 12px; height: 12px; }

/* ═══════════════════════════════════════════════════════════════
   SERVICIOS
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.service::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--amber);
  opacity: 0; transition: opacity .3s;
}
.service:hover {
  border-color: var(--navy-800);
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  color: var(--navy-800);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.service-icon i { width: 22px; height: 22px; stroke-width: 1.8; }
.service:hover .service-icon { background: var(--navy-800); color: var(--amber); }
.service h4 {
  font-size: 15px; font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -.2px;
}
.service p {
  font-size: 13px; color: var(--text-mute);
  margin: 0; line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   WORKFLOW (interactive)
   ═══════════════════════════════════════════════════════════════ */
.workflow {
  background: var(--navy-deep);
  border-radius: var(--r-xl);
  padding: 40px;
  border: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.workflow::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle 600px at 90% -10%, rgba(27,164,173,.10), transparent 70%),
    radial-gradient(circle 500px at 0% 110%, rgba(37,99,235,.10), transparent 70%);
  pointer-events: none;
}
.workflow > * { position: relative; }

.wf-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}
.wf-tab {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 18px 16px;
  text-align: left;
  color: #fff;
  transition: background .2s, border-color .2s, transform .2s;
  position: relative;
  cursor: pointer;
}
.wf-tab:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.wf-tab[aria-selected="true"] {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 12px 28px rgba(0,0,0,.4);
}
.wf-tab[aria-selected="true"]::after {
  content: ''; position: absolute;
  left: 50%; bottom: -16px; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--amber);
}

.wf-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
  margin-bottom: 12px;
  transition: background .2s, color .2s;
}
.wf-tab[aria-selected="true"] .wf-num {
  background: var(--amber); color: var(--navy-900);
}
.wf-tab h4 {
  font-size: 14px; font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -.1px;
  color: #fff;
}
.wf-tab .wf-norm {
  font-size: 10px; font-weight: 600;
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.wf-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  margin-top: 12px;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn { from {opacity:0;transform:translateY(8px)} to {opacity:1;transform:none} }

.wf-detail-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.wf-detail-head .pill {
  background: var(--amber);
  color: var(--navy-900);
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.wf-detail h3 {
  font-size: 24px; font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -.4px;
}
.wf-detail .lede {
  font-size: 14px; color: var(--blue-soft);
  margin: 0 0 18px; line-height: 1.6;
}
.wf-detail ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.wf-detail li {
  font-size: 13.5px;
  color: #cdd9ec;
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.wf-detail li::before {
  content: ''; position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 2px;
  background: var(--amber);
}

.wf-meta {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
  align-self: start;
}
.wf-meta-row { display: flex; flex-direction: column; gap: 4px; }
.wf-meta-row .k {
  font-size: 10px; font-weight: 700;
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.wf-meta-row .v {
  font-size: 16px; font-weight: 600;
  color: #fff;
}
.wf-meta-row .v.amber { color: var(--amber-glow); }

/* ═══════════════════════════════════════════════════════════════
   PROYECTOS
   ═══════════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.project:hover {
  transform: translateY(-4px);
  border-color: var(--navy-800);
  box-shadow: var(--sh-3);
}
.project-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.project-photo image-slot {
  display: block;
  width: 100%; height: 100%;
}
.project-photo-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(6,15,31,.86);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: 6px;
  z-index: 5;
}
.project-photo-tag i { width: 13px; height: 13px; color: var(--amber); }

.project-head {
  background: var(--navy-900);
  color: #fff;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 12px;
}
.project-tag {
  margin-left: auto;
  background: rgba(27,164,173,.18);
  color: var(--amber-glow);
  font-size: 10.5px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: 5px;
  flex-shrink: 0;
}
.project-tag i { width: 12px; height: 12px; }
.project-head-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(27,164,173,.15);
  color: var(--amber);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.project-head-icon i { width: 18px; height: 18px; }
.project-head h3 {
  font-size: 14px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0; line-height: 1.3;
}
.project-head .loc {
  font-size: 12px; color: var(--blue-soft);
  margin-top: 4px;
}

.project-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.project-table {
  width: 100%;
  border-collapse: collapse;
}
.project-table tr { border-bottom: 1px solid var(--line-soft); }
.project-table tr:last-child { border-bottom: none; }
.project-table td {
  font-size: 12.5px;
  padding: 8px 0;
  vertical-align: top;
}
.project-table td:first-child {
  color: var(--text-soft);
  font-weight: 600;
  width: 42%;
  padding-right: 8px;
}
.project-table td:last-child {
  color: var(--text);
  font-weight: 500;
}
.project-callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--navy-900);
  font-weight: 500;
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.5;
}
.project-callout i { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; margin-top: 1px; }
.project-check {
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--green-deep);
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.project-check i { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex; flex-direction: column;
  gap: 12px;
  max-width: 880px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open], .faq-item:hover { border-color: var(--navy-800); }
.faq-item[open] { box-shadow: var(--sh-2); }
.faq-q {
  list-style: none;
  padding: 18px 22px;
  font-size: 15px; font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--navy-900);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .25s;
}
.faq-item[open] .faq-q .plus {
  background: var(--amber);
  transform: rotate(45deg);
}
.faq-q .plus i { width: 16px; height: 16px; stroke-width: 2.4; }
.faq-a {
  padding: 0 22px 22px;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.65;
}
.faq-a strong { color: var(--navy-800); font-weight: 600; }
.faq-a .ref {
  display: inline-block;
  background: var(--amber-light);
  color: var(--amber-deep);
  font-size: 11px; font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  letter-spacing: .04em;
  margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACTO / FORMULARIO
   ═══════════════════════════════════════════════════════════════ */
.contact {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: ''; position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 700px at 100% 0%, rgba(27,164,173,.10), transparent 60%),
    radial-gradient(circle 600px at 0% 100%, rgba(37,99,235,.15), transparent 60%);
  pointer-events: none;
}
.contact > * { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.1;
  margin: 0 0 14px;
  text-wrap: balance;
}
.contact-info p.lede {
  font-size: 15px; color: var(--blue-soft);
  margin: 0 0 28px; line-height: 1.6;
}
.contact-info .info-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.contact-info .info-row:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-info .info-row .ico {
  width: 40px; height: 40px;
  background: rgba(27,164,173,.12);
  color: var(--amber);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info .info-row .ico i { width: 18px; height: 18px; }
.contact-info .info-row .k {
  font-size: 11px; font-weight: 600;
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-info .info-row .v {
  font-size: 14px; font-weight: 600; color: #fff;
  margin-top: 2px;
}
.contact-info .info-row .v a:hover { color: var(--amber-glow); }

.form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 11px; font-weight: 700;
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.field label .req { color: var(--amber); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #fff;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(147,184,232,.55); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber);
  background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 3px rgba(27,164,173,.15);
}
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2393b8e8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field select option { background: var(--navy-900); color: #fff; }
.field textarea { resize: vertical; min-height: 96px; }

.chips {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 4px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  color: #cdd9ec;
  font-size: 12.5px; font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.chip input { display: none; }
.chip:hover { border-color: rgba(255,255,255,.24); color: #fff; }
.chip.checked {
  background: rgba(27,164,173,.18);
  border-color: var(--amber);
  color: var(--amber-glow);
}
.chip .check { width: 14px; height: 14px; opacity: 0; transition: opacity .2s; }
.chip.checked .check { opacity: 1; color: var(--amber); }

.form-foot {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.form-foot .legal {
  font-size: 12px;
  color: var(--blue-soft);
  max-width: 380px;
  line-height: 1.5;
}
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-send {
  background: var(--amber); color: var(--navy-900);
  font-weight: 700; font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .2s, transform .2s;
  box-shadow: var(--sh-amber);
}
.btn-send:hover { transform: translateY(-1px); }
.btn-send:disabled { opacity: .65; cursor: wait; }
.btn-wa {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  transition: background .2s;
}
.btn-wa:hover { background: rgba(255,255,255,.12); }

.success {
  display: none;
  margin-top: 20px;
  background: rgba(22,163,74,.10);
  border: 1px solid rgba(22,163,74,.4);
  border-radius: var(--r-md);
  padding: 18px 22px;
  color: #86efac;
}
.success h4 { margin: 0 0 4px; color: #4ade80; font-size: 15px; font-weight: 700; }
.success p { margin: 0; font-size: 13px; color: #bbf7d0; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: #03080f;
  color: #fff;
  padding: 48px var(--gutter) 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo-img {
  width: 280px;
  max-width: 100%;
  height: auto;
  background: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  margin: 0 0 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  display: block;
}
.footer-brand p {
  font-size: 12.5px; color: var(--blue-soft);
  line-height: 1.6; margin: 0; max-width: 380px;
}
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  color: var(--amber-glow);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col li { font-size: 13px; color: var(--blue-soft); }
.footer-col li a:hover { color: var(--amber-glow); }
.footer-bottom {
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; color: #5a6b85;
  flex-wrap: wrap; gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .params-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .wf-tabs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .wf-tab { padding: 14px 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .lbl { display: none; }
  .nav-cta { padding: 9px 12px; }
  .nav-logo { height: 42px; padding: 4px 10px; }
  .footer-logo-img { width: 240px; padding: 14px 18px; }

  .hero { padding: calc(var(--nav-h) + 60px) var(--gutter) 72px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; row-gap: 24px; }
  .stat + .stat::before { display: none; }
  .stat + .stat { padding-left: 0; }
  .stat { padding-right: 8px; }

  .why-grid,
  .params-grid,
  .services-grid,
  .projects-grid { grid-template-columns: 1fr; }

  .workflow { padding: 24px 20px; }
  .wf-tabs {
    display: flex; gap: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px 24px; padding: 4px 20px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .wf-tabs::-webkit-scrollbar { height: 4px; }
  .wf-tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 100px; }
  .wf-tab {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
  .wf-tab[aria-selected="true"]::after { display: none; }
  .wf-panel { grid-template-columns: 1fr; padding: 24px; gap: 24px; }

  .form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .legal { max-width: none; }
  .form-actions { width: 100%; }
  .btn-send, .btn-wa { flex: 1; justify-content: center; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero h1 { letter-spacing: -1.4px; }
}

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(6,15,31,.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 16px var(--gutter) 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .25s, opacity .25s;
}
.nav-drawer.open {
  display: flex;
  transform: none;
  opacity: 1;
}
.nav-drawer a {
  font-size: 15px; font-weight: 500;
  color: #fff;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-drawer a:last-child { border-bottom: none; }

@media print {
  @page { size: A4 landscape; margin: 0; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .nav, .nav-drawer, .nav-toggle, .nav-cta { display: none !important; }
  .section { padding: 32px; page-break-after: always; }
  .hero { padding: 60px 32px; }
}
