/* Variables de diseño */
:root {
  --primary-color: #1abc9c;
  --secondary-color: #3498db;
  --gold-color: #f39c12;
  --dark-color: #2c3e50;
  --darker-color: #1a252f;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --text-color: #333;
  --text-light: #666;
}
/* SVG icons inline */
.svg-check {
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 0.1rem;
}
.svg-btn-icon {
  flex-shrink: 0;
  vertical-align: middle;
  color: currentColor;
}
/* Hero moderno - Texto abajo a la izquierda */
.hero-topografia {
  position: relative;
  background: url('../assets/images/topografia-basica.webp') center/cover no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-topografia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Variantes de hero por servicio */
.hero-supervision {
  background-image: url('../assets/images/supervision-topografia.webp');
}

.hero-vias-ferreas {
  background-image: url('../assets/images/fondo-topografia.webp');
  background-position: center bottom;
}

.hero-brigadas {
  background-image: url('../assets/images/renta-brigadas.webp');
}

.hero-drones {
  background-image: url('../assets/images/drones-topograficos.webp');
}
.hero-container {
  max-width: 100%;
  width: 100%;
  margin: 0 !important;
  padding: 0 0 0 5rem !important;
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 700px !important;
  text-align: left !important;
  animation: fadeInLeft 0.8s ease-out;
  margin: 0 !important;
  margin-right: auto !important;
}
.hero-label {
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}
.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}
/* Línea dorada decorativa debajo del título */
.title-underline {
  width: 150px;
  height: 4px;
  background: var(--gold-color);
  margin: 1.5rem 0 2rem 0;
  position: relative;
}
.title-underline::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 4px;
  background: white;
}
.hero-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: white;
  margin: 0 0 2.5rem 0 !important;
  max-width: 600px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start !important;
}
.btn-hero {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.btn-primary {
  background: white;
  color: var(--primary-color);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.btn-secondary {
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  font-weight: 700;
}
.btn-secondary:hover {
  background: rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
}
/* Sección con imagen y texto lado a lado */
.section-overlay {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}
.section-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../assets/images/imagen_fondo.webp') center/cover;
  opacity: 0.03;
  pointer-events: none;
}
.section-overlay::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.overlay-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Layout invertido - imagen a la derecha */
.overlay-container.reverse {
  direction: rtl;
}

.overlay-container.reverse > * {
  direction: ltr;
}
.precision-image {
  position: relative;
  overflow: visible;
  align-self: start;
}
/* Marco decorativo con líneas doradas */
.precision-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border-top: 4px solid var(--gold-color);
  border-left: 4px solid var(--gold-color);
  z-index: 2;
}
.precision-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  border-bottom: 4px solid var(--primary-color);
  border-right: 4px solid var(--primary-color);
  z-index: 2;
}
.precision-image img {
  width: 100%;
  height: auto;
  max-height: min(52rem, 92vh);
  object-fit: cover;
  object-position: center;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  border: 8px solid white;
  transition: transform 0.4s ease;
}
.precision-image img:hover {
  transform: scale(1.02);
}
.content-card {
  background: white;
  padding: 3rem;
  position: relative;
  border: 3px solid var(--light-gray);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.content-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 50px rgba(26, 188, 156, 0.15);
}
/* Esquinas decorativas */
.content-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 60px;
  height: 60px;
  border-top: 5px solid var(--gold-color);
  border-left: 5px solid var(--gold-color);
  transition: all 0.3s ease;
}
.content-card::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 60px;
  height: 60px;
  border-bottom: 5px solid var(--primary-color);
  border-right: 5px solid var(--primary-color);
  transition: all 0.3s ease;
}
.content-card:hover::before,
.content-card:hover::after {
  width: 80px;
  height: 80px;
}
.section-tag {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-color);
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}
.content-card h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}
.section-divider {
  width: 80px;
  height: 3px;
  background: var(--gold-color);
  margin: 1.5rem 0;
}
.content-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}
.feature-list li {
  padding: 0.7rem 0;
  font-size: 1rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--medium-gray);
}
.feature-list li:last-child {
  border-bottom: none;
}
.feature-list li i {
  color: var(--primary-color);
  font-size: 1.1rem;
  min-width: 25px;
}
.feature-list li .svg-check {
  min-width: 18px;
}
/* Sección de servicios con fondo de imagen */
.services-section {
  padding: 6rem 2rem;
  background: url('../assets/images/imagen_fondo.webp') center/cover;
  position: relative;
  overflow: hidden;
}
.services-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section-header {
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-underline {
  width: 120px;
  height: 4px;
  background: var(--gold-color);
  margin: 1rem 0 1.5rem 0;
}
.section-header p {
  font-size: 1.15rem;
  color: white;
  max-width: 700px;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: stretch;
}
.service-card {
  background: white;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(243, 156, 18, 0.4);
}
/* Área de imagen arriba - limpia sin efectos */
.service-card-image {
  width: 100%;
  height: 300px;
  background: white;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* Etiqueta decorativa arriba a la izquierda */
.service-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold-color);
  color: white;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.service-card-content {
  padding: 1.5rem 2rem 2rem;
  margin: 0;
  text-align: center;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-card h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 0.8rem;
}
.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
  border-radius: 2px;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  text-align: center;
  margin: 0;
}
/* (Equipment cards removed — now uses service-carousel pattern) */

/* Sección de aplicaciones - Estilo moderno */
.applications-section {
  padding: 6rem 2rem;
  background: var(--darker-color);
  color: white;
  position: relative;
  overflow: hidden;
}
.applications-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px);
  pointer-events: none;
}
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.app-header {
  margin-bottom: 4rem;
}
.app-header h2 {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.app-header .header-underline {
  background: var(--gold-color);
}
.app-header p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  line-height: 1.7;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.app-card {
  background: rgba(255,255,255,0.05);
  padding: 3rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 420px;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.1), rgba(52, 152, 219, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.app-card:hover::before {
  opacity: 1;
}
.app-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}
.app-card-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold-color), #e67e22);
  border-radius: 50%;
  font-size: 2.5rem;
  color: white;
  transition: all 0.3s ease;
}
.app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.app-card:hover .app-card-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}
/* Variante con logo SVG multicolor */
.app-card-icon--logo {
  width: 120px;
  height: 120px;
  background: none;
  border-radius: 0;
}
.app-card-icon--logo svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.app-card:hover .app-card-icon--logo {
  transform: none;
  box-shadow: none;
}
.app-card:hover .app-card-icon--logo svg {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
.app-card h4 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.app-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}
/* Sección tecnología - Grid moderno */
.tech-section {
  padding: 6rem 2rem;
  background: var(--darker-color);
  position: relative;
  overflow: hidden;
}
.tech-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px);
  pointer-events: none;
}
.tech-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.tech-section .section-header {
  text-align: center;
}
.tech-section .section-header h2 {
  color: white;
}
.tech-section .section-header p {
  color: rgba(255,255,255,0.9);
  margin: 0 auto;
}
.tech-section .header-underline {
  margin: 1rem auto 1.5rem;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.tech-item {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--gold-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.1), rgba(52, 152, 219, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tech-item:hover::before {
  opacity: 1;
}
.tech-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  border-left-color: var(--primary-color);
  transform: translateX(5px);
}
.tech-item-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold-color), #e67e22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
  border-radius: 8px;
  position: relative;
  z-index: 2;
}
.tech-item-icon--logo {
  width: 70px;
  height: 70px;
  background: none;
  border-radius: 0;
}
.tech-item-icon--logo svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.1));
}
.tech-item:hover .tech-item-icon--logo svg {
  transform: scale(1.1);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}
/* Tabla comparativa visual */
/* === TABLA COMPARATIVA === */
.comparison-table {
  max-width: 860px;
  margin: 0 auto 3.5rem;
  border-radius: 14px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
/* Header */
.comparison-header .comparison-col--label {
  background: rgba(0,0,0,0.4);
  padding: 1.3rem 1.5rem;
  text-align: left;
  color: var(--gold-color);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.comparison-header .comparison-col--them {
  background: rgba(0,0,0,0.4);
  padding: 1.3rem 1rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.comparison-header .comparison-col--us {
  background: linear-gradient(180deg, rgba(26,188,156,0.3), rgba(26,188,156,0.15));
  padding: 1.3rem 1rem;
  border-bottom: 2px solid var(--primary-color);
}
.comparison-col--them,
.comparison-col--us {
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.comparison-col--them {
  color: #7f8c8d;
}
.comparison-col--them span {
  display: block;
  margin-top: 0.4rem;
}
.comparison-col--us {
  color: var(--primary-color);
}
.comparison-col--us span {
  display: block;
  margin-top: 0.4rem;
  color: var(--gold-color);
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(243,156,18,0.3);
}
/* Celdas del body */
.comparison-row .comparison-col--label {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-right: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: background 0.2s ease;
}
.comparison-row .comparison-col--bad {
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-right: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: background 0.2s ease;
}
.comparison-row .comparison-col--good {
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(26,188,156,0.2);
  background: rgba(26,188,156,0.08);
  transition: background 0.2s ease;
}
/* Filas alternas */
.comparison-row:nth-child(even) .comparison-col--label,
.comparison-row:nth-child(even) .comparison-col--bad {
  background: rgba(255,255,255,0.04);
}
.comparison-row:nth-child(even) .comparison-col--good {
  background: rgba(26,188,156,0.13);
}
/* Hover */
.comparison-row:hover .comparison-col--label,
.comparison-row:hover .comparison-col--bad {
  background: rgba(255,255,255,0.08);
}
.comparison-row:hover .comparison-col--good {
  background: rgba(26,188,156,0.25);
}
/* Última fila sin borde inferior */
.comparison-row:last-child .comparison-col--label,
.comparison-row:last-child .comparison-col--bad,
.comparison-row:last-child .comparison-col--good {
  border-bottom: none;
}
/* Estilos de celda */
.comparison-col--label {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
}
.comparison-col--bad {
  text-align: center;
  vertical-align: middle;
  color: rgba(231,76,60,0.7);
  font-size: 0.88rem;
}
.comparison-col--bad::before {
  content: "✕";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(231,76,60,0.12);
  color: rgba(231,76,60,0.5);
  margin-right: 0.5rem;
  vertical-align: middle;
}
.comparison-col--good {
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 1px 8px rgba(26,188,156,0.3);
}
.comparison-col--good::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #16a085);
  color: #fff;
  margin-right: 0.5rem;
  vertical-align: middle;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(26,188,156,0.35);
}
.tech-item-content {
  position: relative;
  z-index: 2;
}
.tech-item-content h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.tech-item-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
/* =============================================
   Light Background Modifier
   Alterna secciones oscuras/claras para ritmo visual
   Uso: <section class="applications-section light-bg">
   ============================================= */

/* --- Fondo y color base --- */
.applications-section.light-bg,
.tech-section.light-bg {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  color: var(--dark-color);
}
.applications-section.light-bg::before,
.tech-section.light-bg::before {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(0,0,0,0.025) 80px, rgba(0,0,0,0.025) 81px);
}

/* --- Headers --- */
.applications-section.light-bg .app-header h2,
.tech-section.light-bg .section-header h2 {
  color: var(--dark-color);
  text-shadow: none;
}
.applications-section.light-bg .app-header p,
.tech-section.light-bg .section-header p {
  color: var(--text-color);
  text-shadow: none;
}

/* --- Application cards --- */
.applications-section.light-bg .app-card {
  background: white;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.applications-section.light-bg .app-card:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
  box-shadow: 0 8px 30px rgba(26, 188, 156, 0.15);
}
.applications-section.light-bg .app-card h4 {
  color: var(--dark-color);
}
.applications-section.light-bg .app-card p {
  color: var(--text-color);
}

/* --- Tech items --- */
.tech-section.light-bg .tech-item {
  background: white;
  border: 1px solid var(--medium-gray);
  border-left: 4px solid var(--gold-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.tech-section.light-bg .tech-item:hover {
  background: #f8f9fa;
  border-color: var(--medium-gray);
  border-left-color: var(--primary-color);
  box-shadow: 0 8px 30px rgba(26, 188, 156, 0.15);
}
.tech-section.light-bg .tech-item-content h3 {
  color: var(--dark-color);
}
.tech-section.light-bg .tech-item-content p {
  color: var(--text-color);
}

/* --- Comparison table --- */
.tech-section.light-bg .comparison-table {
  background: white;
  border: 1px solid var(--medium-gray);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.tech-section.light-bg .comparison-header {
  background: #f0f2f5;
  border-bottom: 2px solid rgba(26,188,156,0.3);
}
.tech-section.light-bg .comparison-row {
  border-top: 1px solid var(--medium-gray);
}
.tech-section.light-bg .comparison-row:nth-child(even) {
  background: #f8f9fa;
}
.tech-section.light-bg .comparison-row:hover {
  background: rgba(26,188,156,0.06);
}
.tech-section.light-bg .comparison-col--label {
  color: var(--dark-color);
}
.tech-section.light-bg .comparison-col--them {
  color: #95a5a6;
}

/* --- Spec labels (orange labels in spec cards) --- */
.applications-section.light-bg .spec-label {
  color: var(--gold-color);
}

/* Formulario moderno - Nuevo diseño */
.formulario-contacto-bg {
  background: url('../assets/images/contacto-topografia.webp') center/cover no-repeat;
  position: relative;
  padding: 6rem 1rem;
  color: white;
  text-align: center;
  overflow: hidden;
}
.formulario-contacto-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.75);
  z-index: 0;
}
.formulario-contacto-overlay {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.formulario-contacto-overlay h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: white;
}
.formulario-contacto-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e5e5e5;
}
.formulario-contacto-overlay form {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}
.formulario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}
/* Labels visibles sobre cada campo */
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}
.formulario-contacto-overlay input:not([type="checkbox"]),
.formulario-contacto-overlay select,
.formulario-contacto-overlay textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  margin-bottom: 1.2rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: #222;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.formulario-contacto-overlay input::placeholder,
.formulario-contacto-overlay textarea::placeholder {
  color: #999;
  font-style: italic;
}
.formulario-contacto-overlay input:not([type="checkbox"]):focus,
.formulario-contacto-overlay select:focus,
.formulario-contacto-overlay textarea:focus {
  outline: none;
  border-color: var(--gold-color);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.25);
  background-color: #fff;
}
.formulario-contacto-overlay textarea {
  min-height: 130px;
  resize: vertical;
}
.formulario-contacto-overlay button {
  background: linear-gradient(135deg, var(--primary-color), #16a085);
  color: white;
  border: none;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
}
.formulario-contacto-overlay button:hover {
  background: linear-gradient(135deg, #16a085, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 188, 156, 0.4);
}
.mensaje-confirmacion {
  display: none;
  background-color: #e0f9e0;
  color: #2e7d32;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.mensaje-confirmacion.visible {
  display: block;
}
.checkbox-field {
  margin: 0 0 1.2rem 0;
  padding: 0;
  text-align: left;
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 400;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  cursor: pointer;
}
.checkbox-label-white {
  color: rgba(255, 255, 255, 0.9);
}
.checkbox-input {
  -webkit-appearance: auto;
  appearance: auto;
  margin: 0 !important;
  padding: 0 !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  flex-shrink: 0;
  cursor: pointer;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.privacy-link {
  color: var(--gold-color);
  text-decoration: underline;
}
/* Hint de contacto (teléfono o correo) */
.form-contact-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: -0.6rem 0 0.3rem 0;
  padding: 0;
  line-height: 1.4;
  display: none;
}
.form-contact-hint.hint-visible {
  display: block;
}
.form-contact-hint i {
  margin-right: 0.3rem;
  color: var(--gold-color);
}
.form-contact-hint.hint-ok {
  color: rgba(26, 188, 156, 0.9);
}
.form-contact-hint.hint-ok i {
  color: rgba(26, 188, 156, 0.9);
}
/* Indicador de servicio en sub-páginas */
.servicio-indicador {
  background: rgba(26, 188, 156, 0.12);
  border: 1px solid rgba(26, 188, 156, 0.3);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.88rem;
}
.servicio-indicador i {
  color: var(--gold-color);
  margin-right: 0.4rem;
}
.servicio-indicador strong {
  color: #fff;
}

/* Google reCAPTCHA */
.recaptcha-field {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}
.recaptcha-field .g-recaptcha {
  transform-origin: center;
}
@media (max-width: 380px) {
  .recaptcha-field .g-recaptcha {
    transform: scale(0.85);
    margin: -0.3rem 0;
  }
}
/* Botón deshabilitado */
.btn-enviar-contacto:disabled {
  background: #555 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none !important;
}
.btn-enviar-contacto:disabled:hover {
  background: #555 !important;
  transform: none !important;
  box-shadow: none !important;
}
/* Botón enviado exitosamente */
.btn-enviado {
  background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3) !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.campo-formulario {
  margin-bottom: 0;
}
/* Animaciones */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive */
/* Pantallas grandes (laptops) */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
  .content-card h2 {
    font-size: 2.2rem;
  }
  .section-header h2,
  .app-header h2 {
    font-size: 2.5rem;
  }
  .app-card {
    padding: 2.5rem 2rem;
    min-height: 400px;
  }
  .app-card h4 {
    font-size: 1.7rem;
  }
  .tech-item {
    padding: 2rem;
  }
  .tech-item-content h3 {
    font-size: 1.3rem;
  }
  .hero-container {
    padding: 0 0 0 4rem !important;
  }
  .hero-label {
    font-size: 0.9rem;
  }
  .title-underline {
    width: 130px;
  }
  .btn-hero {
    padding: 1rem 2.2rem;
  }
  .services-section {
    padding: 5rem 2rem;
  }
  .service-card-image {
    height: 280px;
  }
  .formulario-contacto-bg {
    padding: 5rem 1rem;
  }
  .formulario-contacto-overlay h2 {
    font-size: 2.2rem;
  }
}

/* Tablets (paisaje) */
@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .content-card h2 {
    font-size: 2rem;
  }
  .section-header h2,
  .app-header h2 {
    font-size: 2.3rem;
  }
  /* Grids a 1 columna */
  .tech-grid,
  .services-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }
  .formulario-grid {
    grid-template-columns: 1fr;
  }
  .app-card {
    min-height: 380px;
    padding: 2.5rem 2rem;
  }
  .app-card-icon {
    width: 110px;
    height: 110px;
  }
  .tech-item {
    gap: 1.5rem;
  }
  .section-overlay {
    padding: 4rem 1.5rem;
  }
  .overlay-container {
    gap: 2.5rem;
  }
  .precision-image::before,
  .precision-image::after {
    width: 80px;
    height: 80px;
  }
  .content-card::before,
  .content-card::after {
    width: 50px;
    height: 50px;
  }
  .hero-container {
    padding: 0 0 0 3rem !important;
  }
  .hero-label {
    font-size: 0.85rem;
    letter-spacing: 2.5px;
  }
  .title-underline {
    width: 120px;
  }
  .btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  .services-section {
    padding: 5rem 1.5rem;
  }
  .service-card {
    max-width: 500px;
    margin: 0 auto;
  }
  .service-card-image {
    height: 260px;
  }
  .tech-item-content p {
    font-size: 0.95rem;
  }
  /* Carrusel - layout vertical */
  .service-carousel-wrapper {
    overflow: hidden;
    border-radius: 16px;
  }
  .service-carousel-track {
    gap: 0;
  }
  .service-carousel-slide {
    min-width: 100%;
    max-width: 100%;
    height: auto;
    flex-direction: column;
    opacity: 1;
    transform: scale(1);
    filter: none;
    pointer-events: auto;
  }
  .service-carousel-slide-image {
    width: 100%;
    height: 280px;
    min-height: auto;
    max-height: none;
  }
  .service-carousel-slide-content {
    width: 100%;
    padding: 2rem 2rem 2.5rem;
  }
  .service-carousel-slide-number {
    font-size: 3rem;
  }
  .service-carousel-slide-content h3 {
    font-size: 1.35rem;
  }
}
/* Tablets (vertical) y móviles grandes */
@media (max-width: 768px) {
  .hero-container {
    padding: 0 0 0 2rem !important;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.05rem;
  }
  .section-overlay {
    padding: 3rem 2rem;
  }
  .overlay-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .precision-image {
    order: -1;
  }
  .precision-image::before,
  .precision-image::after {
    width: 50px;
    height: 50px;
  }
  .content-card {
    padding: 2rem;
  }
  .content-card h2 {
    font-size: 1.9rem;
  }
  .content-card::before,
  .content-card::after {
    width: 40px;
    height: 40px;
  }
  .services-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    max-width: 500px;
    margin: 0 auto;
  }
  .app-card {
    min-height: auto;
    padding: 2rem;
  }
  .app-card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
  }
  .app-card h4 {
    font-size: 1.5rem;
  }
  .app-card p {
    font-size: 1rem;
  }
  .section-header h2,
  .app-header h2 {
    font-size: 2.2rem;
  }
  .section-header p,
  .app-header p {
    font-size: 1.05rem;
  }
  .tech-item {
    flex-direction: column;
    gap: 1.5rem;
  }
  .tech-item-content h3 {
    font-size: 1.25rem;
  }
  /* Tabla comparativa responsive */
  .comparison-header {
    grid-template-columns: 0.8fr 1fr 1fr;
    padding: 0.8rem 1rem;
  }
  .comparison-col--them,
  .comparison-col--us {
    font-size: 0.75rem;
  }
  .comparison-col--them svg,
  .comparison-col--us svg {
    width: 22px;
    height: 22px;
  }
  .comparison-row {
    grid-template-columns: 0.8fr 1fr 1fr;
    padding: 0 1rem;
  }
  .comparison-col--label {
    font-size: 0.8rem;
    padding: 0.7rem 0;
  }
  .comparison-col--bad {
    font-size: 0.78rem;
    padding: 0.7rem 0;
  }
  .comparison-col--good {
    font-size: 0.82rem;
    padding: 0.7rem 0;
  }
  .comparison-col--bad::before,
  .comparison-col--good::before {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
  }
  .form-content {
    padding: 2rem;
  }
  /* Formulario responsive */
  .formulario-grid {
    grid-template-columns: 1fr;
  }
  .formulario-contacto-overlay {
    padding: 0 1rem;
  }
  .formulario-contacto-overlay form {
    padding: 1.5rem;
  }
  .formulario-contacto-overlay h2 {
    font-size: 1.8rem;
  }
  .formulario-contacto-overlay p {
    font-size: 1.05rem;
  }
  /* Layout reverso en móvil - mantener imagen arriba */
  .overlay-container.reverse {
    direction: ltr;
  }
  .hero-topografia {
    min-height: 65vh;
  }
  .hero-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  .title-underline {
    width: 100px;
    margin: 1.2rem 0 1.5rem;
  }
  .services-section {
    padding: 4rem 1.5rem;
  }
  .service-card-image {
    height: 250px;
  }
  .tech-item-icon {
    width: 65px;
    height: 65px;
    font-size: 1.8rem;
  }
  .tech-item-icon--logo {
    width: 65px;
    height: 65px;
  }
  .tech-item-content p {
    font-size: 0.95rem;
  }
  .feature-list li {
    font-size: 0.95rem;
    padding: 0.7rem 0;
  }
  .btn-hero {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
  /* --- Form elements y decoradores responsivos --- */
  .form-label {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }
  .form-contact-hint {
    font-size: 0.82rem;
    margin: -0.4rem 0 0.25rem 0;
  }
  .mensaje-confirmacion {
    padding: 0.8rem;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
  .section-tag {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }
  .section-divider {
    width: 70px;
    margin: 1.2rem 0;
  }
}

/* Móviles medianos */
@media (max-width: 576px) {
  .hero-topografia {
    min-height: 60vh;
    padding: 6rem 0 3rem;
  }
  .hero-container {
    padding: 0 1.5rem !important;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .btn-hero {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
  }
  .section-overlay {
    padding: 2.5rem 1.5rem;
  }
  .content-card {
    padding: 1.8rem;
  }
  .content-card h2 {
    font-size: 1.8rem;
  }
  .content-card p {
    font-size: 0.95rem;
  }
  .content-card::before,
  .content-card::after {
    width: 35px;
    height: 35px;
  }
  .precision-image::before,
  .precision-image::after {
    width: 45px;
    height: 45px;
  }
  .feature-list li {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
  .section-header h2,
  .app-header h2 {
    font-size: 1.8rem;
  }
  .section-header p,
  .app-header p {
    font-size: 1rem;
  }
  .applications-section,
  .tech-section {
    padding: 4rem 1.5rem;
  }
  .app-card {
    padding: 1.8rem;
  }
  .app-card-icon {
    width: 90px;
    height: 90px;
  }
  .app-card h4 {
    font-size: 1.4rem;
  }
  .tech-item {
    padding: 1.5rem;
  }
  .tech-item-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .tech-item-icon--logo {
    width: 60px;
    height: 60px;
  }
  .tech-item-content h3 {
    font-size: 1.2rem;
  }
  .tech-item-content p {
    font-size: 0.95rem;
  }
  /* Tabla comparativa */
  .comparison-table {
    margin-bottom: 2rem;
    border-radius: 12px;
  }
  .comparison-header {
    grid-template-columns: 0.6fr 1fr 1fr;
    padding: 0.7rem 0.8rem;
  }
  .comparison-col--them span,
  .comparison-col--us span {
    font-size: 0.62rem;
  }
  .comparison-col--them svg,
  .comparison-col--us svg {
    width: 18px;
    height: 18px;
  }
  .comparison-row {
    grid-template-columns: 0.6fr 1fr 1fr;
    padding: 0 0.8rem;
  }
  .comparison-col--label {
    font-size: 0.7rem;
    padding: 0.6rem 0;
  }
  .comparison-col--bad {
    font-size: 0.7rem;
    padding: 0.6rem 0;
    gap: 0.3rem;
  }
  .comparison-col--good {
    font-size: 0.72rem;
    padding: 0.6rem 0;
    gap: 0.3rem;
  }
  .comparison-col--bad::before,
  .comparison-col--good::before {
    width: 14px;
    height: 14px;
    font-size: 0.55rem;
  }
  .formulario-contacto-bg {
    padding: 4rem 1rem;
  }
  .formulario-contacto-overlay h2 {
    font-size: 1.7rem;
  }
  .formulario-contacto-overlay form {
    padding: 1.3rem;
  }
  .hero-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  .title-underline {
    width: 90px;
    margin: 1rem 0 1.5rem;
  }
  .overlay-container {
    gap: 2rem;
  }
  .services-section {
    padding: 3rem 1.5rem;
  }
  .service-card {
    max-width: 100%;
  }
  .service-card-image {
    height: 240px;
  }
  /* Carrusel */
  .service-carousel-slide-image {
    height: 250px;
  }
  .service-carousel-slide-content {
    padding: 1.5rem 1.5rem 2rem;
  }
  .service-carousel-slide-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-carousel-slide-content h3 {
    font-size: 1.2rem;
  }
  .service-carousel-slide-content p {
    font-size: 0.88rem;
  }
  .service-carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  .service-carousel-nav {
    gap: 0.8rem;
    margin-top: 2rem;
  }
  /* --- Form elements y decoradores responsivos --- */
  .form-contact-hint {
    font-size: 0.8rem;
    margin: -0.3rem 0 0.2rem 0;
  }
  .mensaje-confirmacion {
    padding: 0.7rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border-radius: 6px;
  }
  .section-divider {
    width: 60px;
    margin: 1rem 0;
  }
}

/* Móviles pequeños (iPhone estándar, Galaxy) */
@media (max-width: 480px) {
  .hero-topografia {
    min-height: 55vh;
    padding: 5rem 0 2rem;
  }
  .hero-container {
    padding: 0 1rem !important;
  }
  .hero-content h1 {
    font-size: 1.7rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .hero-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  .title-underline {
    width: 100px;
    margin: 1rem 0 1.5rem;
  }
  .section-overlay {
    padding: 2rem 1rem;
  }
  .content-card {
    padding: 1.5rem;
  }
  .content-card h2 {
    font-size: 1.5rem;
  }
  .content-card p {
    font-size: 0.9rem;
  }
  .content-card::before,
  .content-card::after {
    width: 30px;
    height: 30px;
  }
  .precision-image::before,
  .precision-image::after {
    width: 40px;
    height: 40px;
  }
  .feature-list li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }
  .section-header h2,
  .app-header h2 {
    font-size: 1.6rem;
  }
  .section-header p,
  .app-header p {
    font-size: 0.95rem;
  }
  .applications-section,
  .tech-section {
    padding: 3rem 1rem;
  }
  .app-card {
    padding: 1.5rem;
  }
  .app-card-icon {
    width: 80px;
    height: 80px;
  }
  .app-card h4 {
    font-size: 1.3rem;
  }
  .app-card p {
    font-size: 0.9rem;
  }
  .tech-item {
    padding: 1.3rem;
  }
  .tech-item-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }
  .tech-item-icon--logo {
    width: 55px;
    height: 55px;
  }
  .tech-item-content h3 {
    font-size: 1.15rem;
  }
  .tech-item-content p {
    font-size: 0.9rem;
  }
  .formulario-contacto-bg {
    padding: 3rem 0.5rem;
  }
  .formulario-contacto-overlay h2 {
    font-size: 1.5rem;
  }
  .formulario-contacto-overlay p {
    font-size: 1rem;
  }
  .formulario-contacto-overlay form {
    padding: 1.2rem;
  }
  .formulario-contacto-overlay input:not([type="checkbox"]),
  .formulario-contacto-overlay select,
  .formulario-contacto-overlay textarea {
    padding: 0.9rem;
    font-size: 0.95rem;
  }
  .overlay-container {
    gap: 1.5rem;
  }
  .services-section {
    padding: 2.5rem 1rem;
  }
  .service-card-image {
    height: 220px;
  }
  .service-card-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  /* Carrusel */
  .service-carousel-slide-image {
    height: 220px;
  }
  .service-carousel-slide-content {
    padding: 1.2rem;
  }
  .service-carousel-slide-number {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
  }
  .service-carousel-slide-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
  }
  .service-carousel-slide-content p {
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
  }
  .service-carousel-features li {
    font-size: 0.8rem;
    gap: 0.4rem;
  }
  .service-carousel-slide-actions {
    margin-top: 1rem;
    padding-top: 0.8rem;
  }
  .btn-cotizar-servicio,
  .btn-mas-info {
    font-size: 0.82rem;
    padding: 0.6rem 1.2rem;
    width: 100%;
    justify-content: center;
  }
  .service-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .service-carousel-dots .dot {
    width: 9px;
    height: 9px;
  }
  .service-carousel-counter {
    font-size: 0.8rem;
  }
  .service-carousel-nav {
    gap: 0.6rem;
    margin-top: 1.5rem;
  }
  /* --- Form elements y decoradores responsivos --- */
  .form-label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }
  .form-contact-hint {
    font-size: 0.78rem;
    margin: -0.2rem 0 0.15rem 0;
  }
  .mensaje-confirmacion {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
  }
  .section-tag {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
  }
  .section-divider {
    width: 55px;
    margin: 0.8rem 0;
  }
}

/* Móviles muy pequeños (iPhone SE, Android compactos) */
@media (max-width: 360px) {
  .hero-topografia {
    min-height: 50vh;
    padding: 4.5rem 0 2rem;
  }
  .hero-container {
    padding: 0 0.8rem !important;
  }
  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .hero-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
  }
  .btn-hero {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
  .title-underline {
    width: 80px;
    margin: 0.8rem 0 1.2rem;
  }
  .section-overlay {
    padding: 1.5rem 0.8rem;
  }
  .overlay-container {
    gap: 2rem;
  }
  .content-card {
    padding: 1.2rem;
  }
  .content-card h2 {
    font-size: 1.3rem;
  }
  .content-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .content-card::before,
  .content-card::after {
    width: 25px;
    height: 25px;
  }
  .precision-image::before,
  .precision-image::after {
    width: 35px;
    height: 35px;
  }
  .feature-list li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }
  .feature-list li::before {
    font-size: 0.8rem;
  }
  .applications-section,
  .tech-section {
    padding: 2.5rem 0.8rem;
  }
  .app-header h2,
  .section-header h2 {
    font-size: 1.4rem;
  }
  .app-header p,
  .section-header p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .header-underline {
    width: 60px;
    height: 3px;
  }
  .app-grid,
  .tech-grid {
    gap: 1.5rem;
  }
  .app-card {
    padding: 1.2rem;
  }
  .app-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .app-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .app-card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.2rem;
  }
  .tech-item {
    padding: 1.2rem;
    gap: 1rem;
  }
  .tech-item-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  .tech-item-icon--logo {
    width: 50px;
    height: 50px;
  }
  .tech-item-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
  }
  .tech-item-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .service-card {
    max-width: 100%;
  }
  .service-card h3 {
    font-size: 1.2rem;
  }
  .service-card p {
    font-size: 0.85rem;
  }
  .service-card-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
    top: 10px;
    left: 10px;
  }
  .formulario-contacto-bg {
    padding: 2rem 0.5rem;
  }
  .formulario-contacto-overlay {
    padding: 0 0.5rem;
  }
  .formulario-contacto-overlay h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  .formulario-contacto-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .formulario-contacto-overlay form {
    padding: 1rem;
  }
  .formulario-grid {
    gap: 0.8rem;
  }
  .formulario-contacto-overlay input:not([type="checkbox"]),
  .formulario-contacto-overlay select,
  .formulario-contacto-overlay textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
  .formulario-contacto-overlay textarea {
    min-height: 120px;
  }
  .formulario-contacto-overlay button {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  .checkbox-label {
    font-size: 0.85rem;
  }
  .checkbox-input {
    width: 16px;
    height: 16px;
  }
  .services-section {
    padding: 2rem 0.8rem;
  }
  .service-card-image {
    height: 200px;
  }
  /* Carrusel */
  .service-carousel-slide-image {
    height: 180px;
  }
  .service-carousel-slide-content {
    padding: 1rem;
  }
  .service-carousel-slide-number {
    font-size: 1.8rem;
  }
  .service-carousel-slide-content h3 {
    font-size: 1rem;
  }
  .service-carousel-slide-content p {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .service-carousel-features li {
    font-size: 0.75rem;
  }
  .service-carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .service-carousel-nav {
    gap: 0.5rem;
    margin-top: 1.2rem;
  }
  /* --- Form elements y decoradores responsivos --- */
  .form-label {
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
  }
  .form-contact-hint {
    font-size: 0.75rem;
    margin: 0 0 0.1rem 0;
  }
  .mensaje-confirmacion {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    border-radius: 6px;
  }
  .section-tag {
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
  }
  .section-divider {
    width: 50px;
    margin: 0.6rem 0;
  }
}

/* ===== VÍAS FÉRREAS - Estilos adicionales ===== */

/* Grid de 3 columnas para equipos ferroviarios */
.app-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

@media (min-width: 1100px) {
  .app-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .app-grid--three {
    grid-template-columns: 1fr;
  }
}

/* Especificaciones dentro de app-card */
.app-card .spec-list {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.app-card .spec-list strong {
  color: #f39c12;
}

/* Services grid de 3 columnas */
.services-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 1000px) {
  .services-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== CARRUSEL DE SERVICIOS (Center-Mode) ===== */

.service-carousel-wrapper {
  position: relative;
  overflow: visible;
}

.service-carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Slide: ancho fijo, no porcentaje. El JS centra el activo dinámicamente */
.service-carousel-slide {
  min-width: 1060px;
  max-width: 1060px;
  height: 540px;
  flex-shrink: 0;
  display: flex;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0.35;
  transform: scale(0.95);
  filter: blur(1px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Slide activo: nítido, tamaño completo, interactivo */
.service-carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.service-carousel-slide-image {
  width: 48%;
  height: 100%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.service-carousel-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-carousel-slide.active:hover .service-carousel-slide-image img {
  transform: scale(1.04);
}

.service-carousel-slide-content {
  width: 52%;
  padding: 1.8rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.service-carousel-slide-number {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.2rem;
  opacity: 0.4;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -3px;
  user-select: none;
}

.service-carousel-slide-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.service-carousel-slide-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
  border-radius: 2px;
}

.service-carousel-slide-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.2rem;
}

.service-carousel-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-carousel-features li {
  font-size: 0.88rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-carousel-features li i,
.service-carousel-features li .svg-check {
  color: var(--primary-color);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.service-carousel-slide-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Navegación del carrusel */
.service-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.service-carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-carousel-arrow:hover {
  background: var(--gold-color);
  border-color: var(--gold-color);
  color: #fff;
  transform: scale(1.08);
}

.service-carousel-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.service-carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.service-carousel-dot.active {
  background: var(--gold-color);
  border-color: var(--gold-color);
  transform: scale(1.25);
}

.service-carousel-dot:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.6);
}

.service-carousel-counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  min-width: 40px;
  text-align: center;
}

/* Botones CTA */
.btn-cotizar-servicio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--gold-color);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-cotizar-servicio:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.35);
}

.btn-mas-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: transparent;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-mas-info:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ===== CARRUSEL DE EQUIPOS — Overrides ===== */

/* Sin blur ni transparencia en slides inactivos */
#carouselEquipos .service-carousel-slide {
  opacity: 1;
  filter: none;
  transform: scale(0.92);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafb 100%);
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

#carouselEquipos .service-carousel-slide.active {
  transform: scale(1);
  border-color: var(--gold-color);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(243, 156, 18, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Imagen del equipo — más presencia */
#carouselEquipos .service-carousel-slide-image {
  position: relative;
}
#carouselEquipos .service-carousel-slide-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.12), transparent);
  pointer-events: none;
}

/* Badge AMBERG sobre la imagen */
#carouselEquipos .service-carousel-slide-image::before {
  content: 'AMBERG';
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: var(--gold-color);
  color: white;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

/* Contenido — tipografía y espaciado mejorados */
#carouselEquipos .service-carousel-slide-content {
  padding: 2rem 2.5rem 2rem 3rem;
  position: relative;
  justify-content: center;
}

/* Barra dorada lateral decorativa */
#carouselEquipos .service-carousel-slide-content::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  bottom: 2.5rem;
  left: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--gold-color), var(--primary-color));
  border-radius: 2px;
}

/* Número de slide — más sutil */
#carouselEquipos .service-carousel-slide-number {
  font-size: 3.5rem;
  opacity: 0.15;
  margin-bottom: 0;
  letter-spacing: -2px;
}

/* Título del equipo — mayor jerarquía */
#carouselEquipos .service-carousel-slide-content h3 {
  font-size: 1.8rem;
  color: var(--dark-color);
  letter-spacing: -0.3px;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
}

#carouselEquipos .service-carousel-slide-content h3::after {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-color), var(--primary-color));
}

/* Descripción */
#carouselEquipos .service-carousel-slide-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4a5568;
  margin-bottom: 1.2rem;
}

/* Features — mejor diseño */
#carouselEquipos .service-carousel-features {
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.04), rgba(243, 156, 18, 0.04));
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(26, 188, 156, 0.1);
  margin: 0;
}

#carouselEquipos .service-carousel-features li {
  font-size: 0.88rem;
  color: #374151;
  font-weight: 500;
  padding: 0.15rem 0;
}

/* Botón cotizar — más prominente */
#carouselEquipos .service-carousel-slide-actions {
  margin-top: 1.2rem;
  padding-top: 0;
  border-top: none;
}

#carouselEquipos .btn-cotizar-servicio {
  padding: 0.9rem 2rem;
  font-size: 0.92rem;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

/* Responsive: tablet */
@media (max-width: 900px) {
  #carouselEquipos .service-carousel-slide-content::before {
    display: none;
  }
  #carouselEquipos .service-carousel-slide-content {
    padding: 2rem;
  }
  #carouselEquipos .service-carousel-slide-content h3 {
    font-size: 1.4rem;
  }
  #carouselEquipos .service-carousel-slide-image::before {
    top: 0.8rem;
    left: 0.8rem;
    font-size: 0.65rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Responsive: mobile */
@media (max-width: 576px) {
  #carouselEquipos .service-carousel-slide {
    transform: scale(1);
    border-width: 1px;
  }
  #carouselEquipos .service-carousel-slide.active {
    border-width: 2px;
  }
  #carouselEquipos .service-carousel-features {
    padding: 0.8rem 1rem;
  }
  #carouselEquipos .service-carousel-slide-content h3 {
    font-size: 1.2rem;
  }
  #carouselEquipos .service-carousel-slide-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 360px) {
  #carouselEquipos .service-carousel-features {
    padding: 0.6rem 0.8rem;
  }
  #carouselEquipos .service-carousel-features li {
    font-size: 0.78rem;
  }
}

/* Sin zoom en hover para imágenes de equipos */
#carouselEquipos .service-carousel-slide.active:hover .service-carousel-slide-image img {
  transform: none;
}

/* Subtítulo de la sección Equipos — más presencia */
#equipos .section-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  border-left: 3px solid var(--gold-color);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  max-width: none;
  line-height: 1.6;
}

