/* ==========================================================================
   AMPLEX — theme a medida (wireframe v5 aprobado)
   ========================================================================== */
:root {
  --blue: #0980bf;
  --blue-dk: #0668a0;
  --blue-lt: #e8f4fb;
  --blue-mid: #cce8f5;
  --blue-deep: #055a8a;
  --blue-sky: #2aaae0;
  --accent: #7fd4f7;
  --gray-bg: #f2f3f5;
  --gray-1: #e2e4e8;
  --gray-2: #b0b8c4;
  --gray-3: #7a8494;
  --carbon: #1c2026;
  --surface: #ffffff;
  --footer-bg: #0a1520;
  --wa: #25d366;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow: 0 4px 24px rgba(9, 128, 191, 0.10);
  --shadow-md: 0 8px 40px rgba(9, 128, 191, 0.18);
  --grad-hero: linear-gradient(135deg, #055a8a 0%, #0980bf 55%, #2aaae0 100%);
  --tri-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpolygon points='30,4 52,48 8,48' fill='none' stroke='white' stroke-width='2'/%3E%3Cpolygon points='30,16 44,40 16,40' fill='white'/%3E%3C/svg%3E");
}

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

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

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--gray-bg);
  color: var(--carbon);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dk); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ── Botones píldora ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  transition: all 0.2s;
}
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 2px 12px rgba(9, 128, 191, 0.3); }
.btn-blue:hover { background: var(--blue-dk); transform: translateY(-1px); color: #fff; }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); }
.btn-white:hover { background: var(--blue-lt); transform: translateY(-1px); color: var(--blue-dk); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); font-weight: 600; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* ── Chips ───────────────────────────────────────────────────────────── */
.chip { display: inline-block; padding: 5px 14px; border-radius: 50px; font-size: 12.5px; font-weight: 700; }
.chip-blue { background: var(--blue-lt); color: var(--blue); }
.chip-dark { background: var(--blue); color: #fff; }
.chip-gray { background: var(--gray-1); color: var(--gray-3); }

/* ── Navegación ──────────────────────────────────────────────────────── */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--gray-1);
  position: sticky;
  top: 0;
  z-index: 900;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a {
  color: var(--gray-3);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links > a:hover { color: var(--blue); }
.nav-cta { padding: 10px 22px; font-size: 13.5px; }
.lang-switcher { display: flex; gap: 2px; border: 1.5px solid var(--gray-1); border-radius: 50px; padding: 2px; }
.lang-item {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  color: var(--gray-3);
}
.lang-item.active { background: var(--blue); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--carbon); margin: 5px 0; border-radius: 2px; transition: all 0.25s; }

/* ── Hero de portada ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 90px 48px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}
.hero-pattern { position: absolute; inset: 0; opacity: 0.07; background-image: var(--tri-pattern); background-size: 60px 60px; pointer-events: none; }
.hero-text { position: relative; z-index: 1; max-width: 640px; justify-self: end; width: 100%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 15px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.hero-text h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; color: #fff; line-height: 1.12; margin-bottom: 18px; }
.hero-text h1 em { font-style: normal; color: var(--accent); }
.hero-text p { color: rgba(255, 255, 255, 0.78); font-size: 16px; margin-bottom: 28px; line-height: 1.75; text-align: justify; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 14px; }
.hero-visual { position: relative; z-index: 1; }
.hero-visual img {
  border-radius: var(--r-lg);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ── Hero de páginas internas ────────────────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  padding: 72px 24px;
  text-align: center;
  overflow: hidden;
}
.page-hero-slim { padding: 48px 24px; }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.7; }

/* ── Secciones ───────────────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}
.section-title { font-size: clamp(26px, 2.6vw, 32px); font-weight: 900; color: var(--carbon); margin-bottom: 14px; line-height: 1.2; text-align: center; }
.section-sub { font-size: 16px; color: var(--gray-3); max-width: 640px; line-height: 1.75; text-align: justify; margin: 0 auto; }
.section-more { text-align: center; margin-top: 40px; }

/* ── 30 segundos ─────────────────────────────────────────────────────── */
.thirty { background: var(--surface); padding: 56px 0; }
.thirty-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-3);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}
.thirty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.thirty-item { background: var(--gray-bg); border-radius: var(--r-md); padding: 22px; border: 1px solid var(--gray-1); }
.thirty-q { font-size: 13px; color: var(--blue); margin-bottom: 8px; font-weight: 700; }
.thirty-a { font-size: 14px; color: var(--carbon); line-height: 1.6; text-align: justify; }

/* ── Stats ───────────────────────────────────────────────────────────── */
.stats {
  background: var(--blue);
  padding: 48px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.stats::before { content: ""; position: absolute; inset: 0; opacity: 0.05; background-image: var(--tri-pattern); background-size: 60px 60px; }
.stat { text-align: center; position: relative; z-index: 1; }
.stat-num { font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-top: 8px; }

/* ── Etapas (portada) ────────────────────────────────────────────────── */
.etapas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.etapa {
  background: var(--gray-bg);
  border-radius: var(--r-md);
  padding: 22px;
  border: 1px solid var(--gray-1);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.etapa::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-sky)); }
.etapa:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.etapa-photo { border-radius: var(--r-sm); overflow: hidden; margin-bottom: 16px; }
.etapa-photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.etapa-num {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
  background: var(--blue-lt);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
}
.etapa h4 { font-size: 17px; font-weight: 800; color: var(--carbon); margin-bottom: 8px; }
.etapa p { font-size: 13.5px; color: var(--gray-3); line-height: 1.6; text-align: justify; }

/* ── Etapas (página solución) ────────────────────────────────────────── */
.etapas-full { display: flex; flex-direction: column; gap: 24px; margin-top: 44px; }
.etapa-full {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: var(--gray-bg);
  border: 1px solid var(--gray-1);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.etapa-full:hover { box-shadow: var(--shadow); }
.etapa-full:nth-child(even) { grid-template-columns: 1fr 380px; }
.etapa-full:nth-child(even) .etapa-full-photo { order: 2; }
.etapa-full-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.etapa-full-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.etapa-full-body h3 { font-size: 22px; font-weight: 900; margin: 10px 0 10px; }
.etapa-full-body p { font-size: 14.5px; color: var(--gray-3); line-height: 1.7; text-align: justify; }
.etapa-incluye { margin-top: 12px; font-size: 13px !important; }
.etapa-incluye strong { color: var(--blue); }

/* ── Comparativo ─────────────────────────────────────────────────────── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.compare-card { border-radius: var(--r-md); padding: 30px; border: 1.5px solid var(--gray-1); background: var(--surface); }
.compare-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.compare-card p { font-size: 14.5px; color: var(--gray-3); line-height: 1.7; }
.compare-bad h4 { color: var(--gray-3); }
.compare-good { border-color: var(--blue); background: var(--blue-lt); }
.compare-good h4 { color: var(--blue-dk); }
.compare-note { margin-top: 10px; font-size: 13px !important; font-weight: 600; }

/* ── Portafolio ──────────────────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 32px; justify-content: center; }
.filter-label { font-size: 13px; font-weight: 700; color: var(--gray-3); margin-right: 4px; }
.chip-filter { background: var(--surface); color: var(--gray-3); border: 1.5px solid var(--gray-1); cursor: pointer; font-family: inherit; transition: all 0.15s; }
.chip-filter:hover { border-color: var(--blue); color: var(--blue); }
.chip-filter.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.project-card {
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--gray-1);
  transition: all 0.2s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card.oculto { display: none; }
.project-thumb { display: block; background: var(--blue-mid); position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.thumb-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 40px; opacity: 0.4; }
.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 1;
}
.project-info { padding: 20px; }
.project-sector { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 5px; }
.project-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.project-name a { color: var(--carbon); }
.project-name a:hover { color: var(--blue); }
.project-meta { font-size: 12.5px; color: var(--gray-3); }
.project-result { font-size: 13px; color: var(--gray-3); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gray-1); }

/* ── Ficha de proyecto ───────────────────────────────────────────────── */
.proj-hero { background: var(--surface); border-bottom: 1px solid var(--gray-1); padding: 40px 0 56px; }
.proj-back { font-size: 13.5px; font-weight: 600; display: inline-block; margin-bottom: 24px; }
.proj-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.proj-hero-text h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 900; line-height: 1.15; margin: 8px 0 16px; }
.proj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.proj-intro { color: var(--gray-3); font-size: 15px; line-height: 1.75; text-align: justify; }
.proj-hero-photo img { border-radius: var(--r-md); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.proj-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proj-field { background: var(--surface); border-radius: var(--r-md); padding: 26px; border: 1px solid var(--gray-1); }
.proj-field > label {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.proj-field p { font-size: 14.5px; color: var(--gray-3); line-height: 1.7; text-align: justify; }
.proj-resultado { font-weight: 700; color: var(--blue-dk) !important; font-size: 16px !important; }
.proj-etapas { display: flex; flex-wrap: wrap; gap: 8px; }

.proj-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.proj-gallery figure { border-radius: var(--r-sm); overflow: hidden; }
.proj-gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.3s; }
.proj-gallery figure:hover img { transform: scale(1.05); }

.proj-testimonio {
  margin-top: 48px;
  background: var(--blue-lt);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 30px 34px;
}
.proj-testimonio p { font-size: 16.5px; line-height: 1.75; color: var(--carbon); font-style: italic; }
.proj-testimonio cite { display: block; margin-top: 14px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--blue-dk); }

/* ── Sectores ────────────────────────────────────────────────────────── */
.sectores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 28px;
  border: 1px solid var(--gray-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s;
}
.sector-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sector-icon { width: 48px; height: 48px; background: var(--blue-lt); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sector-card h3 { font-size: 17px; font-weight: 800; }
.sector-desc { font-size: 13.5px; color: var(--gray-3); line-height: 1.65; text-align: justify; flex-grow: 1; }
.sector-link { font-size: 13.5px; font-weight: 700; }

/* ── Aliados ─────────────────────────────────────────────────────────── */
.aliados-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.aliado {
  background: var(--gray-bg);
  border-radius: var(--r-md);
  padding: 22px;
  border: 1px solid var(--gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  transition: all 0.2s;
}
.aliado:hover { box-shadow: var(--shadow); }
.aliado img { max-height: 56px; width: auto; filter: grayscale(1); opacity: 0.75; transition: all 0.2s; }
.aliado:hover img { filter: none; opacity: 1; }

/* ── Nosotros ────────────────────────────────────────────────────────── */
.timeline { margin-top: 36px; }
.tl-item { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--gray-1); }
.tl-item:last-child { border-bottom: 0; }
.tl-year { font-size: 18px; font-weight: 900; color: var(--blue); }
.tl-desc { font-size: 14.5px; color: var(--gray-3); line-height: 1.7; text-align: justify; }
.foto-historia { margin-top: 36px; }
.foto-historia img { border-radius: var(--r-md); width: 100%; }
.foto-historia figcaption { font-size: 12.5px; color: var(--gray-3); margin-top: 10px; text-align: center; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; max-width: 900px; margin-left: auto; margin-right: auto; }
.team-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
.team-card { text-align: center; background: var(--gray-bg); border-radius: var(--r-md); padding: 28px 20px; border: 1px solid var(--gray-1); }
.team-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--blue-mid);
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card h3 { font-size: 15.5px; font-weight: 800; }
.team-card p { font-size: 13px; color: var(--gray-3); margin-top: 4px; }
.team-subtitle { text-align: center; font-size: 15px; font-weight: 800; color: var(--gray-3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 48px; }

/* ── Contacto ────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h2, .contact-form-col h2 { font-size: 22px; font-weight: 900; margin-bottom: 22px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-icon { width: 42px; height: 42px; background: var(--blue-lt); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-text label { font-size: 11.5px; font-weight: 700; color: var(--gray-3); display: block; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-text p { font-size: 14.5px; color: var(--carbon); }
.map-embed { margin-top: 24px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--gray-1); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

.form { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--gray-1); border-radius: var(--r-md); padding: 30px; }
.form-inline { max-width: 720px; margin: 32px auto 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { grid-template-columns: 1fr 1.2fr auto; align-items: end; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--gray-3); display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-1);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-family: inherit;
  background: var(--gray-bg);
  color: var(--carbon);
  transition: border 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { resize: vertical; }
.field-btn .btn { width: 100%; justify-content: center; }
.field-legal { font-size: 13px; color: var(--gray-3); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.field-legal input { margin-top: 3px; }
.form-trust { font-size: 12.5px; color: var(--gray-3); text-align: center; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
.form-alert { border-radius: var(--r-md); padding: 18px 24px; margin: 24px 0 0; font-size: 14.5px; font-weight: 600; }
.form-ok { background: #e5f7ec; color: #14683a; border: 1.5px solid #9adbb6; }
.form-error { background: #fdecec; color: #8f2222; border: 1.5px solid #f0b1b1; }

/* ── Banda CTA ───────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: 0.05; background-image: var(--tri-pattern); background-size: 60px 60px; }
.cta-band h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; color: #fff; margin-bottom: 12px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin: 0 auto 26px; font-size: 15.5px; position: relative; max-width: 560px; }
.cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-microcopy { font-size: 12px; color: rgba(255, 255, 255, 0.4); margin-top: 16px; position: relative; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); }
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
}
.footer-brand p { font-size: 13px; color: #4a6070; margin-top: 14px; line-height: 1.75; }
.footer-contact a { color: #6a8095; }
.site-footer h5 { font-size: 11.5px; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer li a { font-size: 13px; color: #4a6070; }
.site-footer li a:hover { color: var(--accent); }
.footer-bottom {
  background: #060e18;
  padding: 16px 24px;
  font-size: 12px;
  color: #2a3a4a;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── WhatsApp flotante ───────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 950;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ── Prosa (páginas legales) ─────────────────────────────────────────── */
.prose h2 { font-size: 22px; font-weight: 800; margin: 32px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 800; margin: 24px 0 10px; }
.prose p, .prose li { font-size: 15px; color: #3a4250; line-height: 1.8; margin-bottom: 12px; text-align: justify; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 64px 32px; }
  .hero-text { justify-self: start; }
  .thirty-grid, .sectores-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .etapas { grid-template-columns: repeat(2, 1fr); }
  .etapa-full, .etapa-full:nth-child(even) { grid-template-columns: 1fr; }
  .etapa-full:nth-child(even) .etapa-full-photo { order: 0; }
  .aliados-grid { grid-template-columns: repeat(3, 1fr); }
  .proj-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--gray-1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 4px; font-size: 15.5px; border-bottom: 1px solid var(--gray-bg); }
  .nav-cta { margin-top: 12px; justify-content: center; }
  .lang-switcher { align-self: flex-start; margin-top: 10px; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 24px; }
  .hero-text p, .thirty-a, .section-sub, .etapa p, .proj-field p,
  .sector-desc, .tl-desc, .proj-intro, .compare-card p { text-align: left; }
  .thirty-grid, .sectores-grid, .portfolio-grid, .etapas,
  .compare-grid, .proj-detail-grid, .proj-gallery, .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 36px 20px; }
  .aliados-grid, .team-grid, .team-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 24px; }
  .tl-item { grid-template-columns: 70px 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .etapa-full-body { padding: 24px; }
  .form { padding: 22px; }
}
