/* =============================================
   ELMOV S.A. — Estilos principales
   Paleta: Azul acerado #2B5F8E · Verde #00A550
   Tipografía: Manrope (Google Fonts)
   ============================================= */

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

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

:root {
  --azul: #1A6B7D;
  --azul-osc: #134F5E;
  --azul-claro: #2389A0;
  --teal: #0E4D5C;
  --verde: #00A550;
  --verde-osc: #008040;
  --cyan: #00B4C5;
  --blanco: #ffffff;
  --gris-claro: #f4f7f8;
  --gris-medio: #dde5e8;
  --gris-texto: #5a6f78;
  --negro-soft: #0f2029;
  --font: 'Manrope', sans-serif;
  --sombra: 0 4px 24px rgba(26, 107, 125, 0.10);
  --sombra-lg: 0 8px 40px rgba(26, 107, 125, 0.15);
  --radio: 8px;
  --radio-lg: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--negro-soft);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Tipografía global ---- */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.seccion-titulo {
  text-align: center;
  margin-bottom: 12px;
  color: var(--azul);
}

.seccion-subtitulo {
  text-align: center;
  color: var(--gris-texto);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 56px;
  font-weight: 400;
}

.linea-verde {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--verde);
  border-radius: 2px;
  margin: 14px auto 20px;
}

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radio);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primario {
  background: var(--verde);
  color: var(--blanco);
  border-color: var(--verde);
}

.btn-primario:hover {
  background: var(--verde-osc);
  border-color: var(--verde-osc);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 165, 80, 0.30);
}

.btn-secundario {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secundario:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--blanco);
}

.btn-outline {
  background: transparent;
  color: var(--azul);
  border-color: var(--azul);
}

.btn-outline:hover {
  background: var(--azul);
  color: var(--blanco);
  transform: translateY(-2px);
}

/* ======================================================
   NAVEGACIÓN
   ====================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gris-medio);
  transition: box-shadow var(--transition);
}

#navbar.scrolled {
  box-shadow: var(--sombra);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 150px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icono {
  display: none;
}

.logo-img {
  height: 150px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-texto {
  display: none;
}

.logo-subtexto {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gris-texto);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--negro-soft);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.activo {
  color: var(--azul);
  background: var(--gris-claro);
}

.nav-cta {
  background: var(--verde) !important;
  color: var(--blanco) !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
}

.nav-cta:hover {
  background: var(--verde-osc) !important;
  color: var(--blanco) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--negro-soft);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.abierto span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.abierto span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.abierto span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ======================================================
   HERO — Parallax con fondo fijo
   ====================================================== */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 88px;
  background-image: url('../images/shutterstock_2610313475.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: var(--teal);
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(14, 77, 92, 0.55) 0%,
      rgba(19, 79, 94, 0.50) 40%,
      rgba(26, 107, 125, 0.45) 100%);
  z-index: 1;
}

#home::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 2;
}

#presentacion,
#servicios,
#sectores,
#equipo,
#experiencia,
#contacto,
footer {
  position: relative;
  z-index: 10;
}

.hero-parallax-bg,
.hero-overlay,
.hero-bg,
.hero-patron {
  display: none;
}

.hero-contenido {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 165, 80, 0.20);
  border: 1px solid rgba(0, 165, 80, 0.40);
  color: #5ce0c8;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--verde);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 165, 80, 0.30);
}

.hero-titulo {
  color: var(--blanco);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-titulo em {
  font-style: normal;
  color: #5ce0c8;
}

.hero-bajada {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 620px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-numero {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1;
}

.stat-numero span {
  color: #5ce0c8;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ======================================================
   SECCIÓN PRESENTACIÓN
   ====================================================== */
#presentacion {
  background: var(--gris-claro);
  padding: 72px 0;
}

.presentacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.presentacion-texto h2 {
  color: var(--azul);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.presentacion-texto p {
  color: var(--gris-texto);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

.propuesta-lista {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.propuesta-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.propuesta-icono {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(0, 165, 80, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
  font-size: 1rem;
}

.propuesta-item p {
  font-size: 0.92rem;
  color: var(--negro-soft);
  margin: 0;
  padding-top: 6px;
  line-height: 1.6;
}

.presentacion-visual {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-osc) 100%);
  border-radius: var(--radio-lg);
  padding: 40px;
  color: var(--blanco);
  box-shadow: var(--sombra-lg);
}

.pv-titulo {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.area-tag {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.area-tag:hover {
  background: rgba(0, 165, 80, 0.20);
  border-color: rgba(0, 165, 80, 0.40);
}

.area-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--verde);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ======================================================
   SERVICIOS
   ====================================================== */
#servicios {
  padding: 96px 0;
  background: var(--blanco);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.servicio-card {
  background: var(--blanco);
  border: 1px solid var(--gris-medio);
  border-radius: var(--radio-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.servicio-card:hover {
  box-shadow: var(--sombra-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.servicio-card:hover::before {
  transform: scaleX(1);
}

/* Imagen de cabecera de cada tarjeta de servicio */
.servicio-img {
  margin: -36px -28px 0;
  height: 180px;
  overflow: hidden;
}

.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-card:hover .servicio-img img {
  transform: scale(1.05);
}

.servicio-numero {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--verde);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.servicio-titulo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.3;
}

.servicio-texto {
  font-size: 0.92rem;
  color: var(--gris-texto);
  line-height: 1.7;
  flex: 1;
}

.servicio-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--azul);
  margin-top: 8px;
  transition: gap var(--transition);
}

.servicio-cta:hover {
  gap: 10px;
  color: var(--verde);
}

/* ======================================================
   SECTORES
   ====================================================== */
#sectores {
  padding: 80px 0;
  background: var(--gris-claro);
}

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.sector-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(26, 107, 125, 0.06);
  transition: all var(--transition);
  border-left: 4px solid transparent;
}

.sector-card:hover {
  box-shadow: var(--sombra-lg);
  transform: translateY(-3px);
  border-left-color: var(--verde);
}

.sector-icono {
  font-size: 2rem;
  line-height: 1;
}

/* Imagen de cabecera en tarjetas de sector destacadas */
.sector-img {
  margin: -32px -28px 0 -32px;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radio-lg) var(--radio-lg) 0 0;
}

.sector-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-img img {
  transform: scale(1.05);
}

.sector-nombre {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul);
}

.sector-texto {
  font-size: 0.9rem;
  color: var(--gris-texto);
  line-height: 1.7;
}

/* ======================================================
   EQUIPO
   ====================================================== */
#equipo {
  padding: 10px 0;
  background: var(--blanco);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.equipo-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: all var(--transition);
  border: 1px solid var(--gris-medio);
}

.equipo-card:hover {
  box-shadow: var(--sombra-lg);
  transform: translateY(-4px);
}

.equipo-foto-wrap {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.equipo-foto-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.equipo-card:hover .equipo-foto-wrap img {
  transform: scale(1.04);
}

.equipo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(14, 77, 92, 0.7), transparent);
  pointer-events: none;
}

.equipo-info {
  padding: 28px;
}

.equipo-nombre {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 4px;
}

.equipo-cargo {
  font-size: 0.85rem;
  color: var(--verde);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.equipo-bio {
  font-size: 0.88rem;
  color: var(--gris-texto);
  line-height: 1.7;
  margin-bottom: 20px;
}

.equipo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  background: var(--gris-claro);
  color: var(--azul);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid var(--gris-medio);
}

.equipo-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0077b5;
  transition: opacity var(--transition);
}

.equipo-linkedin:hover {
  opacity: 0.7;
}

.linkedin-icon {
  width: 18px;
  height: 18px;
  background: #0077b5;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: serif;
  line-height: 1;
}

/* ======================================================
   EXPERIENCIA / CLIENTES
   ====================================================== */
#experiencia {
  padding: 30px 0;
  background: var(--gris-claro);
}

.clientes-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.clientes-intro p {
  color: var(--gris-texto);
  font-size: 1rem;
  line-height: 1.7;
}

.clientes-nota {
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  margin-top: 10px !important;
  font-style: italic;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.cliente-item {
  background: var(--blanco);
  border: 1px solid var(--gris-medio);
  border-radius: var(--radio);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: all var(--transition);
}

.cliente-item:hover {
  border-color: var(--azul);
  box-shadow: var(--sombra);
  transform: translateY(-2px);
}

.cliente-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all var(--transition);
}

.cliente-item:hover img {
  filter: grayscale(0%) opacity(1);
}

.cta-experiencia {
  text-align: center;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-osc) 100%);
  border-radius: var(--radio-lg);
  padding: 64px 40px;
  color: var(--blanco);
}

.cta-experiencia h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-experiencia p {
  opacity: 0.8;
  margin-bottom: 32px;
  font-size: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================================================
   CONTACTO
   ====================================================== */
#contacto {
  padding: 96px 0;
  background: var(--blanco);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contacto-info h2 {
  color: var(--azul);
  margin-bottom: 16px;
}

.contacto-info>p {
  color: var(--gris-texto);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contacto-dato {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.dato-icono {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(26, 107, 125, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--azul);
}

.dato-texto strong {
  display: block;
  font-size: 0.82rem;
  color: var(--gris-texto);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.dato-texto span,
.dato-texto a {
  font-size: 0.95rem;
  color: var(--negro-soft);
  font-weight: 500;
}

.dato-texto a:hover {
  color: var(--azul);
}

/* ---- Formulario ---- */
.contacto-form {
  background: var(--gris-claro);
  border-radius: var(--radio-lg);
  padding: 48px 40px;
}

.contacto-form h3 {
  color: var(--azul);
  margin-bottom: 32px;
  font-size: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grupo {
  margin-bottom: 20px;
}

.form-grupo label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--negro-soft);
  margin-bottom: 8px;
}

.form-grupo input,
.form-grupo select,
.form-grupo textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gris-medio);
  border-radius: var(--radio);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--negro-soft);
  background: var(--blanco);
  transition: all var(--transition);
  outline: none;
}

.form-grupo input:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(26, 107, 125, 0.10);
}

.form-grupo textarea {
  resize: vertical;
  min-height: 130px;
}

.form-grupo 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 d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-mensaje-ok,
.form-mensaje-error {
  display: none;
  padding: 14px 20px;
  border-radius: var(--radio);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-mensaje-ok {
  background: rgba(0, 165, 80, 0.10);
  color: var(--verde-osc);
  border: 1px solid rgba(0, 165, 80, 0.25);
}

.form-mensaje-error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.20);
}

.btn-enviar {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
  margin-top: 8px;
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: var(--negro-soft);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.75;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--verde);
  color: var(--blanco);
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--verde);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.5;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--verde);
}

/* ======================================================
   ANIMACIONES DE ENTRADA
   ====================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.4s;
}

.fade-up:nth-child(6) {
  transition-delay: 0.5s;
}

/* ======================================================
   RESPONSIVE — TABLETS
   ====================================================== */
@media (max-width: 1024px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .presentacion-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ======================================================
   RESPONSIVE — MÓVILES
   ====================================================== */
@media (max-width: 768px) {
  /* ------------------------------
     Solo navegación móvil
     ------------------------------ */

  #navbar {
    z-index: 10000;
  }

  .nav-inner {
    height: 88px;
  }

  .logo-img {
    height: 72px;
    width: auto;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 10002;
  }

  .nav-links.abierto {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    position: fixed;
    top: 88px;
    left: 0;
    right: 0;

    width: 100%;
    height: auto;
    max-height: calc(100dvh - 88px);

    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(12px);

    padding: 22px 28px 30px;
    gap: 6px;

    z-index: 10001;
    overflow-y: auto;

    box-shadow: 0 18px 35px rgba(15, 32, 41, 0.16);
    border-top: 1px solid var(--gris-medio);
  }

  .nav-links.abierto li {
    width: 100%;
  }

  .nav-links.abierto a {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 48px;

    padding: 12px 18px;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 500;

    color: var(--negro-soft);
    background: transparent;

    border-bottom: none;
    border-radius: 8px;
  }

  .nav-links.abierto a:hover,
  .nav-links.abierto a.activo {
    color: var(--azul);
    background: var(--gris-claro);
  }

  .nav-links.abierto .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    margin-top: 12px;

    background: var(--verde) !important;
    color: var(--blanco) !important;

    border-radius: var(--radio) !important;
    font-weight: 700 !important;
    border-bottom: none;
  }

  .nav-links.abierto .nav-cta:hover {
    background: var(--verde-osc) !important;
    color: var(--blanco) !important;
  }

  /* ------------------------------
     Resto responsive original
     ------------------------------ */

  .hero-btns {
    flex-direction: column;
  }

  .hero-stats {
    gap: 24px;
  }

  /* iOS no soporta background-attachment: fixed */
  #home {
    background-attachment: scroll;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .equipo-grid {
    grid-template-columns: 1fr;
  }

  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .presentacion-visual {
    display: none;
  }

  .contacto-form {
    padding: 32px 24px;
  }

  .cta-experiencia {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .clientes-grid {
    grid-template-columns: 1fr;
  }

  .sectores-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
}