/* ===========================
   AIMSA CONTROL – styles.css
   =========================== */

:root {
  --navy:      #072A59;
  --navy-dark: #041A3A;
  --navy-mid:  #0A3570;
  --accent:    #67BFC5;
  --accent-dark:#4AAAB0;
  --gray:      #4A4F5A;
  --gray-light:#8A909E;
  --white:     #FFFFFF;
  --off-white: #F4F6F9;
  --steel:     #E2E6EE;
  --text:      #111827;
  --text-muted:#5A6275;

  --font-main: 'Montserrat', 'Arial', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1200px;
  --radius:    3px;
  --shadow:    0 2px 16px rgba(7,42,89,0.10);
  --shadow-lg: 0 8px 40px rgba(7,42,89,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-label {
  color: var(--accent);
  margin-bottom: 0.85rem;
  display: block;
}
.accent { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.4rem;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-accent {
  background: var(--accent);
  color: var(--navy-dark);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(103,191,197,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(4,26,58,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(103,191,197,0.12);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 28px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo img.logo-white {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(103,191,197,0.08);
}
.nav-cta {
  margin-left: 1rem;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 66px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 55% 45%;
}

/* Lado izquierdo: gradiente azul profundo */
.hero-gradient-side {
  background: linear-gradient(
    135deg,
    #021428 0%,
    #041A3A 40%,
    #072A59 80%,
    #0A3570 100%
  );
  position: relative;
}

/* Lado derecho: imagen */
.hero-image-side {
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Fade que une la imagen con el gradiente izquierdo */
.hero-image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(4,26,58,1) 0%,
    rgba(4,26,58,0.6) 25%,
    rgba(4,26,58,0.15) 65%,
    rgba(4,26,58,0) 100%
  );
}
/* Fade inferior para el ticker */
.hero-image-side::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(to top, rgba(4,26,58,0.7), transparent);
}

/* Grid industrial sobre la imagen */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103,191,197,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,191,197,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Línea lateral izquierda */
.hero-sideline {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-sideline span {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  white-space: nowrap;
  color: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-family: var(--font-mono);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  padding: 5rem 2rem 8rem;
  margin-left: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(103,191,197,0.1);
  border: 1px solid rgba(103,191,197,0.35);
  color: var(--accent);
  padding: 0.32rem 0.85rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* Headline con línea dinámica */
.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.4rem;
}
.hero-line-static {
  display: block;
}
.hero-line-dynamic {
  display: block;
  position: relative;
  height: 1.15em;
  overflow: hidden;
}
.hero-word {
  display: block;
  position: absolute;
  top: 0; left: 0;
  color: var(--accent);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-word.active {
  opacity: 1;
  transform: translateY(0);
}
.hero-word.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-sub strong {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 0 2.25rem 0 0;
}
.stat:first-child { padding-left: 0; }
.stat-num {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-main);
}
.stat-plus {
  color: var(--accent);
}
.stat-label {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.3rem;
  font-weight: 600;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  margin-right: 2.25rem;
}

/* Ticker */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(103,191,197,0.12);
  border-top: 1px solid rgba(103,191,197,0.2);
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
}
.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  padding: 0 2rem;
}
.ticker-dot {
  color: var(--accent);
  font-size: 0.5rem;
  opacity: 0.6;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ── */
.about {
  padding: 6rem 0;
  background: var(--white);
}
.about h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.about p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
  line-height: 1.78;
}
.about p strong { color: var(--navy); font-weight: 700; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.value-icon { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.value-item strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 1px; }
.value-item span { font-size: 0.78rem; color: var(--text-muted); }

.about-card.industrial {
  background: var(--navy-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 86px;
}
.about-card-header {
  background: var(--accent);
  color: var(--navy-dark);
  padding: 0.8rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.about-metric-list { padding: 1.1rem 1.5rem; display: flex; flex-direction: column; gap: 0; }
.about-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.about-metric:last-child { border-bottom: none; }
.metric-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.metric-value { font-size: 0.85rem; color: var(--white); font-weight: 700; text-align: right; }
.about-card-cta { padding: 1.1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); }
.about-card-cta .btn { width: 100%; justify-content: center; }

/* ── SERVICES ── */
.services {
  padding: 6rem 0;
  background: var(--navy-dark);
  color: var(--white);
}
.services .section-label { color: var(--accent); }
.services h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.section-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  margin-bottom: 2.75rem;
  line-height: 1.7;
}
.services-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.75rem;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2.25rem;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.service-card:hover {
  border-color: rgba(103,191,197,0.35);
  transform: translateY(-2px);
}
.service-card-number {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.1em;
}
.service-img-wrap {
  width: 100%;
  height: 200px;
  margin-bottom: 1.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(103,191,197,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-img-wrap img[src=""] {
  display: none;
}
.service-img-wrap:has(img[src=""]) {
  position: relative;
}
.service-img-wrap:has(img[src=""])::after {
  content: 'AGREGAR IMAGEN';
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(103,191,197,0.4);
}
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.65rem; }
.service-card p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 1.4rem; line-height: 1.7; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.75rem; }
.service-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
  padding-left: 1.1rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.service-cta {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.service-cta:hover { color: var(--white); }

.services-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2.25rem;
}
.service-mini {
  padding: 1.4rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: border-color 0.25s;
}
.service-mini:hover { border-color: rgba(103,191,197,0.25); }
.service-mini-icon { color: var(--accent); margin-bottom: 0.9rem; }
.service-mini h4 { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.service-mini p { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ── WHY ── */
.why {
  padding: 6rem 0;
  background: var(--off-white);
}
.why .section-label { color: var(--accent); }
.why h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2.75rem;
  line-height: 1.2;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 1.85rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { border-color: rgba(103,191,197,0.3); box-shadow: var(--shadow); }
.why-num { color: var(--accent); font-size: 0.72rem; letter-spacing: 0.1em; margin-bottom: 0.65rem; display: block; }
.why-card h3 { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.3; }
.why-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }

/* ── PROJECTS ── */
.projects {
  padding: 6rem 0;
  background: var(--white);
}
.projects .section-label { color: var(--accent); }
.projects h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.projects .section-sub { color: var(--text-muted); margin-bottom: 2.75rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.project-card {
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  background: var(--white);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.project-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--off-white);
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.04); }

/* Placeholder de imagen */
.project-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: var(--off-white);
  border-bottom: 2px dashed var(--steel);
  color: var(--gray-light);
}
.project-img-placeholder svg { opacity: 0.4; }
.project-img-placeholder span {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--gray-light);
  text-align: center;
  line-height: 1.5;
}

.project-info { padding: 1.6rem; }
.project-tag {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.6rem;
  display: block;
}
.project-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.55rem; line-height: 1.3; }
.project-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.1rem; }
.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.project-chips span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--off-white);
  border: 1px solid var(--steel);
  border-radius: 2px;
  color: var(--navy);
  letter-spacing: 0.02em;
}

/* ── COVERAGE ── */
.coverage {
  padding: 6rem 0;
  background: var(--navy);
  color: var(--white);
}
.coverage .section-label { color: var(--accent); }
.coverage h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.coverage .section-sub { color: rgba(255,255,255,0.5); margin-bottom: 2.75rem; }
.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.states-grid { display: flex; flex-direction: column; gap: 2rem; }
.region-label {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  display: block;
  border-bottom: 1px solid rgba(103,191,197,0.18);
  padding-bottom: 0.45rem;
}
.state-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.state-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.state-tag:hover {
  background: rgba(103,191,197,0.14);
  border-color: rgba(103,191,197,0.45);
  color: var(--white);
}
.coverage-cta-box { position: sticky; top: 86px; }
.coverage-cta-inner {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.coverage-icon { color: var(--accent); margin-bottom: 1.1rem; }
.coverage-cta-inner h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; line-height: 1.3; }
.coverage-cta-inner p { font-size: 0.83rem; color: rgba(255,255,255,0.5); margin-bottom: 1.4rem; line-height: 1.7; }
.coverage-cta-inner .btn { width: 100%; justify-content: center; }

/* ── CONTACT ── */
.contact {
  padding: 6rem 0;
  background: var(--off-white);
}
.contact .section-label { color: var(--accent); }
.contact h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.contact .section-sub { color: var(--text-muted); margin-bottom: 2.25rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Imagen real de contacto */
.contact-img-real {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-lg);
}
.contact-img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Placeholder de imagen (por si se necesita) */
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--steel);
  border: 2px dashed #C8CFD8;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gray-light);
  margin-bottom: 0.85rem;
}
.contact-img-placeholder svg { opacity: 0.35; }
.contact-img-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.6;
  color: var(--gray-light);
}
.contact-img-caption {
  color: var(--gray-light);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

/* Columna info */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--steel);
  transition: background 0.2s;
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { background: var(--off-white); }
.contact-row.whatsapp-row:hover { background: rgba(37,211,102,0.05); }
.contact-row-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.contact-row.whatsapp-row .contact-row-icon { color: #25D366; background: rgba(37,211,102,0.08); }
.contact-row-text { flex: 1; }
.contact-row-text strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-row-text span { font-size: 0.8rem; color: var(--text-muted); }
.contact-row-arrow { color: var(--gray-light); flex-shrink: 0; transition: color 0.2s, transform 0.2s; }
.contact-row:hover .contact-row-arrow { color: var(--accent); transform: translateX(3px); }

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer-brand p { font-size: 0.83rem; line-height: 1.75; margin-bottom: 1rem; }
.footer-domain { color: var(--accent); font-size: 0.72rem; letter-spacing: 0.1em; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col strong { font-size: 0.77rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.footer-col a, .footer-col span { font-size: 0.83rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 200;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-main);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.3s;
  white-space: nowrap;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-float span { max-width: 160px; overflow: hidden; }

/* ── CLIENTS ── */
.clients {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--steel);
}
.clients .section-label { color: var(--accent); }
.clients h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.clients .section-sub { color: var(--text-muted); margin-bottom: 2.75rem; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.client-logo-wrap {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.client-logo-wrap:hover {
  border-color: rgba(103,191,197,0.5);
  box-shadow: var(--shadow);
}
.client-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.3s ease;
}
.client-logo-wrap:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ── RESPONSIVE ── */

html, body { overflow-x: hidden; }

/* ── Tablet landscape · ≤1080px ── */
@media (max-width: 1080px) {
  .about-grid                { grid-template-columns: 1fr; }
  .about-visual              { order: -1; }
  .about-card.industrial     { position: static; }
  .coverage-layout           { grid-template-columns: 1fr; }
  .coverage-cta-box          { position: static; }
  .contact-layout            { grid-template-columns: 1fr; }
  .contact-image-col         { position: static; }
  .contact-img-real          { aspect-ratio: 16 / 7; }
  .projects-grid             { grid-template-columns: repeat(2, 1fr); }
  .clients-grid              { grid-template-columns: repeat(4, 1fr); }
  .about, .services, .why,
  .projects, .clients,
  .coverage, .contact        { padding: 4.5rem 0; }
}

/* ── Tablet portrait · ≤900px ── */
@media (max-width: 900px) {
  .services-main             { grid-template-columns: 1fr; }
  .services-main .service-img-wrap { height: 220px; }
  .why-grid                  { grid-template-columns: repeat(2, 1fr); }
  .clients-grid              { grid-template-columns: repeat(2, 1fr); }
  .footer-grid               { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links              { grid-template-columns: repeat(2, 1fr); }
  .about, .services, .why,
  .projects, .clients,
  .coverage, .contact        { padding: 4rem 0; }
  .footer                    { padding: 3rem 0 0; }
}

/* ── Mobile · ≤700px ── */
@media (max-width: 700px) {

  /* NAV */
  .nav-links, .nav-cta       { display: none; }
  .nav-hamburger             { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 0.4rem;
    z-index: 99;
  }
  .nav-links.open a          { padding: 0.75rem 1rem; font-size: 0.97rem; }

  /* HERO — colapsar split, imagen como fondo sutil */
  .hero-bg                   { display: block; }
  .hero-gradient-side {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #021428 0%, #041A3A 50%, #072A59 100%);
  }
  .hero-image-side           { position: absolute; inset: 0; opacity: 0.14; }
  .hero-image-fade           { background: rgba(4,26,58,0.5); }
  .hero-sideline             { display: none; }
  .hero-content              { padding: 3rem 1.5rem 6.5rem; max-width: 100%; }
  .hero-headline             { font-size: clamp(1.9rem, 7.5vw, 2.8rem); line-height: 1.15; }
  .hero-sub                  { font-size: 0.94rem; max-width: 100%; }
  .hero-actions              { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero-actions .btn         { justify-content: center; }
  .hero-stats                { flex-direction: column; align-items: flex-start; gap: 1rem; border-top: none; padding-top: 1.5rem; }
  .stat-divider              { display: none; }
  .stat                      { padding: 0; }

  /* SECTIONS */
  .about, .services, .why,
  .projects, .coverage,
  .contact                   { padding: 3.5rem 0; }
  .footer                    { padding: 2.5rem 0 0; }

  /* ABOUT */
  .values-grid               { grid-template-columns: 1fr; }
  .about-grid                { gap: 2rem; }

  /* SERVICES */
  .service-img-wrap          { height: 170px; }
  .service-card              { padding: 1.6rem; }
  .services-secondary        { grid-template-columns: 1fr; }
  .service-mini              { padding: 1.2rem; }

  /* WHY */
  .why-grid                  { grid-template-columns: 1fr; }
  .why-card                  { padding: 1.5rem; }

  /* PROJECTS */
  .projects-grid             { grid-template-columns: 1fr; }

  /* CLIENTS */
  .clients-grid              { grid-template-columns: repeat(2, 1fr); }
  .client-logo-wrap          { height: 90px; padding: 1.1rem 1.4rem; }

  /* COVERAGE */
  .coverage-cta-inner .btn   { font-size: 0.83rem; }

  /* CLIENTS */
  .client-logo-wrap          { height: 80px; padding: 1rem; }

  /* CONTACT */
  .contact-img-real          { aspect-ratio: 4 / 3; }

  /* FOOTER */
  .footer-links              { grid-template-columns: 1fr; }
  .footer-bottom             { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* WA FLOAT */
  .wa-float span             { display: none; }
  .wa-float                  { border-radius: 50%; padding: 1rem; bottom: 1.2rem; right: 1.2rem; }
}

/* ── Mobile pequeño · ≤480px ── */
@media (max-width: 480px) {
  .container                 { padding: 0 1.1rem; }

  /* HERO */
  .hero-content              { padding: 2.5rem 1.1rem 5.5rem; }
  .hero-headline             { font-size: clamp(1.65rem, 9vw, 2.1rem); }
  .hero-badge                { font-size: 0.62rem; padding: 0.28rem 0.7rem; }
  .hero-sub                  { font-size: 0.88rem; }
  .stat-num                  { font-size: 1.75rem; }
  .stat-label                { font-size: 0.68rem; }

  /* HEADINGS */
  .about h2, .services h2,
  .why h2, .projects h2,
  .coverage h2, .contact h2  { font-size: clamp(1.35rem, 6.5vw, 1.7rem); }
  .section-sub               { font-size: 0.88rem; }

  /* SERVICES */
  .service-img-wrap          { height: 150px; }
  .service-card              { padding: 1.25rem; }
  .service-card h3           { font-size: 1.1rem; }
  .service-mini              { padding: 1rem; }

  /* WHY */
  .why-card                  { padding: 1.25rem; }
  .why-card h3               { font-size: 0.9rem; }

  /* ABOUT CARD */
  .about-metric              { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .metric-value              { text-align: left; }

  /* CONTACT */
  .contact-row               { padding: 0.95rem 1rem; gap: 0.7rem; }
  .contact-row-icon          { width: 38px; height: 38px; flex-shrink: 0; }
  .contact-row-text strong   { font-size: 0.84rem; }
  .contact-row-text span     { font-size: 0.74rem; }

  /* FOOTER */
  .footer-brand p            { font-size: 0.8rem; }
  .footer-col strong         { font-size: 0.7rem; }
  .footer-col a,
  .footer-col span           { font-size: 0.78rem; }
  .footer-bottom             { font-size: 0.7rem; }
}
