  @keyframes float {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-8px);
    }
  }

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: #4CAF50; }
}

@keyframes typeEffect {
  0% {
    width: 0;
    border-right: 2px solid #4CAF50;
  }
  99% {
    border-right: 2px solid #4CAF50;
  }
  100% {
    width: 100%;
    border-right: none;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  .about-box.compact-layout {
    padding: 3rem 3.5rem; /* Aumentado de 2rem 2.5rem */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Igual espacio para texto e imagen */
    gap: 3rem; /* Aumentado de 2rem */
    align-items: center;
  }

  .about-text p {
    font-size: 1.1rem; /* Aumentado de 1rem */
    color: #555;
    line-height: 1.8; /* Aumentado de 1.6 */
    margin-bottom: 1.5rem; /* Aumentado de 1rem */
  }

  .about-columns {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .about-columns ul {
    flex: 1;
    padding-left: 0;
  }
  .about-columns li {
    background: #f7faf9;
    border-left: 4px solid #3A7D44;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .about-image.reduced-img img {
    width: 100%; /* Cambié de max-width a width para forzar el ancho completo */
    height: auto;
    max-height: 600px; /* Aumentado de 500px */
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15); /* Sombra más pronunciada */
    border: 6px solid white; /* Aumentado de 4px */
    object-fit: cover; /* Asegura que la imagen cubra bien el espacio */
  }

  .stat-icon-animated {
    animation: float 3s ease-in-out infinite;
    display: inline-block;
  }

  .about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .about-box {
    display: flex;
    gap: 4rem;
    background: white;
    padding: 3rem 4rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border-left: 6px solid #2196F3;
    align-items: center;
    flex-wrap: wrap;
  }
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typeEffect 2.8s steps(28, end) forwards;
  font-weight: 700;
  color: #4CAF50;
}
  .about-text {
    order: 1;
    flex: 1.1;
    min-width: 350px; /* Aumentado de 320px */
  }
  /* Imagen más grande y destacada */
  .pro-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 4px solid white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  }

  .about-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem; /* antes 2.4rem */
    color: #1565C0;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .about-text h2 i {
    margin-right: 12px;
    color: #2196F3;
  }

  .about-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
  }

  .about-text ul li {
    margin-bottom: 1rem;
    font-size: 1.2rem; /* antes 1.1rem */
    color: #444;
    display: flex;
    align-items: center;
  }

  .about-text ul li i {
    color: #2196F3;
    margin-right: 10px;
  }

  .about-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
  }



  .badge-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #666;
  }

  .circle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border: 2px solid white;
  }

  .circle-icon.secondary {
    background: #1976D2;
  }





  .image-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center center;
  }

  .image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }

  .image-wrapper img {
    transition: inherit;
    display: block;
  }



  .image-label {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #2196F3;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  /* Reset y estilos base */
  :root {
    --primary-color: #1E3A8A;
    --secondary-color: #2E7D32;
    --accent-color: #E3B23C;
    --dark-color: #1B1B1B;
    --medium-color: #455A64;
    --light-color: #F4F6F9;
    --background-color: #FFFFFF;
    --white: #FFFFFF;
    --success-color: #43A047;
    --warning-color: #FFA000;
    --error-color: #E53935;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease-in-out;
    --border-radius: 6px;
    --color-azul: #2A5C8D;
      --color-azul-oscuro: #1a4165;
      --color-verde: #3A7D44;
      --color-verde-oscuro: #2a5c2f;
      --patron-topografia: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.03"><path d="M30 30 L70 30 L70 70 L30 70 Z" fill="none" stroke="white" stroke-width="1"/><circle cx="50" cy="50" r="3" fill="white"/><path d="M10 50 H90 M50 10 V90" stroke="white" stroke-width="0.5"/></svg>');
    }

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

  body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-color);
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }

  /* Reemplaza la regla global por esto */
  img {
      max-width: 100%;
      height: auto;
      display: block;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header */
  .main-header {
    height: 110px; /* antes 90px */
    padding: 0 3rem; /* más aire lateral */
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: none;
    gap: 0;

  }

  .main-header.scrolled {
    padding: 1rem 3rem; /* actualizado */
    background-color: var(--dark-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .logo-area {
    display: flex;
    align-items: center;
  }

  .logo-img {
    max-height: 90px; /* antes 75px */
    height: auto;
  }

  .logo-text-img {
    max-height: 160px; /* antes 135px */
    height: auto;
    margin-left: -4px;
  }
  .nav-menu ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
  }

  .nav-menu a {
    font-weight: 600;
    color: var(--white);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.5rem;
    letter-spacing: 0.6px;
  }

  .main-header.scrolled .nav-menu a {
    color: var(--white);
  }

  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
  }

  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: 100%;
  }

  .nav-menu a.active {
    color: var(--accent-color);
  }

  /* Menú hamburguesa */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
  }

  .hamburger.active .top {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .middle {
    opacity: 0;
  }

  .hamburger.active .bottom {
    transform: translateY(-8px) rotate(-45deg);
  }

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* semitransparente */
  z-index: 998; /* debajo del menú y del botón hamburguesa */
  display: none;
}

.menu-overlay.active {
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  height: 75vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  margin-top: 0;
  overflow: hidden;

  background-image: linear-gradient(rgba(42, 92, 141, 0.8), rgba(42, 92, 141, 0.9)), url('images/hero-topografia.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed; /* 👈 ESTA ES LA CLAVE */
}

/* Fondo hero con fade in suave */
.hero-bg-fade {
  background-image: url('assets/images/hero-blur.jpg'); /* Imagen borrosa primero */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  position: relative;
  color: white;
  opacity: 0;
  animation: heroFadeIn 1.2s ease-in-out forwards;
}

/* Imagen borrosa base */
.hero-bg-fade {
  background-image: url('../assets/images/hero-blur.jpg'); /* imagen borrosa */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  position: relative;
  opacity: 0;
  animation: heroFadeIn 1.2s ease-in-out forwards;
}

/* Imagen real encima de la borrosa */
.hero-bg-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-1920.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  animation: heroImageFadeIn 1.8s ease-in-out forwards 0.4s;
}

/* Overlay degradado, NO SE CAMBIA */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.15));
  z-index: 1;
  pointer-events: none;
}

/* Contenido */
.home-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
}

/* Animaciones */
@keyframes heroFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes heroImageFadeIn {
  to {
    opacity: 1;
  }
}


  .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    opacity: 0.9;
  }
.tel-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(76, 175, 80, 0.25);
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.tel-button i {
  color: var(--success-color);
  font-size: 1.5rem;
}
.home-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

/* ✨ Capa de difuminado oscuro sin afectar el HTML */
.home-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 2;
  pointer-events: none;
}

/* ✨ Asegura que el contenido esté por encima del overlay */
.home-content-wrapper {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
}

.home-box {
  background-color: rgba(0, 0, 0, 0.6); /* Un poco más clara */
  padding: 2.5rem 3rem;
  border-radius: 14px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  margin: 0 auto;
  max-width: 960px;
  animation: fadeInUp 1s ease-out forwards;
  transition: all 0.4s ease;
}


.home-box h1 {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* NUEVO: Estilo limpio sin efecto máquina de escribir */
.titulo-simple {
  font-weight: 700;
  font-size: 2.6rem;
  color: white;
}

/* Mantiene animación fade-in solo en subtítulo */
.fade-in-delayed {
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.8s;
  font-weight: 700;
  color: white;
  text-align: center;
}


.home-box p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: white;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.home-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.typewriter-wrapper {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

/* =============================================
   ESTILOS BASE: Sección de Estadísticas / Stats Grid
   ============================================= */


.stat-box {
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #fff, #fff);
}

.stat-box .top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
}

.stat-box .icon {
  font-size: 2.8rem;
  margin-bottom: 0.6rem;
}

.stat-box h4 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.stat-box p {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
  color: var(--medium-color);
}

/* =============================================
   MODIFICACIONES INDIVIDUALES POR COLOR
   ============================================= */
.stat-blue {
  background: linear-gradient(180deg, #E3F2FD, #FFFFFF);
}
.stat-blue .top-bar { background: var(--primary-color); }
.stat-blue .icon { color: var(--primary-color); }
.stat-blue h4 { color: #0D47A1; }

.stat-green {
  background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
}
.stat-green .top-bar { background: var(--secondary-color); }
.stat-green .icon { color: var(--secondary-color); }
.stat-green h4 { color: #2E7D32; }

.stat-orange {
  background: linear-gradient(180deg, #FFF3E0, #FFFFFF);
}
.stat-orange .top-bar { background: var(--accent-color); }
.stat-orange .icon { color: var(--accent-color); }
.stat-orange h4 { color: #EF6C00; }

.stat-brown {
  background: linear-gradient(180deg, #EFEBE9, #FFFFFF);
}
.stat-brown .top-bar { background: #5D4037; }
.stat-brown .icon { color: #5D4037; }
.stat-brown h4 { color: #4E342E; }

.stat-cyan {
  background: linear-gradient(180deg, #E1F5FE, #FFFFFF);
}
.stat-cyan .top-bar { background: #0288D1; }
.stat-cyan .icon { color: #0288D1; }
.stat-cyan h4 { color: #01579B; }

.stat-purple {
  background: linear-gradient(180deg, #F3E5F5, #FFFFFF);
}
.stat-purple .top-bar { background: #8E24AA; }
.stat-purple .icon { color: #8E24AA; }
.stat-purple h4 { color: #6A1B9A; }

.stat-teal {
  background: linear-gradient(180deg, #E0F2F1, #FFFFFF);
}
.stat-teal .top-bar { background: #00796B; }
.stat-teal .icon { color: #00796B; }
.stat-teal h4 { color: #004D40; }


  /* Botones */
  .btn-glow {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(42, 92, 141, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-primary);
  }

  .btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 92, 141, 0.4);
    background: #1E4A75;
  }

  .btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-primary);
  }

  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
  }

  /* Secciones */
  .section {
    padding: 5rem 0;
    background-color: var(--white);
  }

  .section-alt {
    background-color: var(--light-color);
  }

  .section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    width: 100%;
  }

  .section-title h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
  }

  .section-subtitle {
    color: var(--medium-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
  }

  /* Servicios */
  .service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    text-align: center;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border-top-color: var(--accent-color);
  }

  .service-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
  }

  .service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
  }

  .service-card p {
    color: var(--medium-color);
    line-height: 1.7;
  }

  /* Equipos */
  .equipment-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .equipment-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    background: var(--light-color);
    padding: 1rem;
  }

  .equipment-card h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .equipment-card p {
    color: var(--medium-color);
    line-height: 1.6;
  }
  .servicio-card-hover {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 4px solid #4CAF50; /* Puedes cambiar según color de cada tarjeta */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    will-change: transform;
  }

  .servicio-card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }

  /* Testimonios */
  .testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .testimonial-card::before {
    content: '★★★★★';
    position: absolute;
    top: -20px;
    left: 20px;
    background: linear-gradient(to right, var(--primary-color), #81C784);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-color);
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-color);
  }

  /* Footer */
  .footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 0;
  }

  .footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
  }

  .footer-column h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
  }

  .footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
  }

  .footer-column p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    opacity: 0.8;
  }

  .footer-column i {
    margin-right: 10px;
    color: var(--accent-color);
  }

  .footer-column a {
    color: var(--white);
    transition: var(--transition);
    opacity: 0.8;
  }

  .footer-column a:hover {
    color: var(--accent-color);
    opacity: 1;
  }

  .social-links {
    display: flex;
    gap: 1rem;
  }

  .social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
    opacity: 0.8;
  }

  .social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
    opacity: 1;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
  }

  /* Efectos especiales para topografía */
  .topo-marker {
    position: relative;
  }

  .topo-marker::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .topo-marker:hover::after {
    transform: scaleX(1);
  }
  /* Clases para fondos profesionales */
  .professional-bg {
      padding: 1rem 1rem 2rem;
      position: relative;
      z-index: 2;
      box-shadow: inset 0 0 80px rgba(0,0,0,0.15);
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }

    .professional-bg::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: var(--patron-topografia);
      background-blend-mode: overlay;
      z-index: -1;
    }

    .bg-azul {
      background: linear-gradient(145deg, var(--color-azul-oscuro) 0%, var(--color-azul) 100%);
    }

    .bg-verde {
      background: linear-gradient(145deg, var(--color-verde-oscuro) 0%, var(--color-verde) 100%);
    }

    /* Animación de ola sutil */
    @keyframes wave {
      0% { transform: translateX(0) translateY(0); }
      50% { transform: translateX(25%) translateY(10px); }
      100% { transform: translateX(0) translateY(0); }
    }

    .professional-bg::after {
      content: '';
      position: absolute;
      bottom: -10%; left: -50%;
      width: 200%; height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
      z-index: -1;
      animation: wave 15s infinite ease-in-out;
    }

    /* Contenedor de estadísticas mejorado */
    .stats-container {
      max-width: 1200px;
      margin: 0 auto;
      transition: all 0.4s ease-out;
    }

    .stats-container:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  backdrop-filter: blur(3px);
  transition: all 0.3s ease;
  min-height: 200px;
}



    /* Efecto de carga progresiva */
    @keyframes fadeInUpScale {
      from { opacity: 0; transform: translateY(20px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .professional-bg.animated {
      animation: fadeInUpScale 1s ease-out forwards;
    }

    /* Efecto hover para bloques individuales */
    .stat-block:hover {
      transform: scale(1.02);
      z-index: 2;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
      /* Añade estos nuevos estilos */
      .pro-bg-section {
      --topography-green: #3A7D44;
      --topography-dark-green: #2a5c2f;
      padding: 6rem 1rem; /* Aumentado de 4rem */
      position: relative;
      overflow: hidden;
      z-index: 1;
    }
    
    .pro-bg-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: 
        linear-gradient(145deg, var(--topography-dark-green) 0%, var(--topography-green) 100%),
        radial-gradient(circle at 75% 30%, rgba(255,255,255,0.1) 0%, transparent 30%);
      z-index: -2;
    }
    
    .pro-bg-section::after {
      content: '';
      position: absolute;
      bottom: -50%;
      right: -50%;
      width: 100%;
      height: 100%;
      background: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120" opacity="0.03"><path d="M60 0 L120 60 L60 120 L0 60 Z" fill="none" stroke="white" stroke-width="1.2"/><circle cx="60" cy="60" r="8" fill="white"/><path d="M20 60 H100 M60 20 V100" stroke="white" stroke-width="0.8"/></svg>');
      background-size: 120px 120px;
      opacity: 0.8;
      z-index: -1;
      animation: patternMove 60s linear infinite;
    }
    
    @keyframes patternMove {
      0% { transform: translate(0, 0); }
      100% { transform: translate(-120px, -120px); }
    }
    
    


  /* Efecto hover para las tarjetas de servicio */
  .btn-glow-effect {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    will-change: transform;
    position: relative;
    z-index: 1;
  }

  .btn-glow-effect:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
  }

  /* Ya no animamos la imagen directamente */
  .btn-glow-effect img {
    transition: filter 0.3s ease;
    filter: brightness(1) contrast(1);
  }

  /* Efecto para el botón interno */
  .btn-glow-effect:hover a {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .btn-glow-effect a {
    transition: all 0.3s ease;
  }

  /* Estructura mejorada para las tarjetas de servicio */
  .servicio-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 4px solid #4CAF50;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Contenedor de imagen de servicio */
  .servicio-img-container {
    height: 260px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #e9f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }

  .servicio-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      transition: transform 0.4s ease;
      background: #f5f5f5; /* Fondo si la imagen no cubre todo */
  }

  .servicio-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .servicio-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .servicio-content ul {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    padding-left: 1.2rem;
    flex-grow: 1;
  }

  .servicio-btn {
    color: white;
    background-color: #4CAF50;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0.8rem;
    border-radius: 6px;
    margin-top: auto;
    transition: all 0.3s ease;
  }

  /* Efectos hover */
  .servicio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
  .servicio-card-hover.verde { border-top: 4px solid #4CAF50; }
  .servicio-card-hover.azul { border-top: 4px solid #2196F3; }
  .servicio-card-hover.naranja { border-top: 4px solid #FF9800; }
  .servicio-card-hover.morado { border-top: 4px solid #9C27B0; }


  .equipment-header {
    text-align: center;
    margin-bottom: 4rem;
  }

  .equipment-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.6rem;
    color: white;
    position: relative;
    display: inline-block;
  }

  .equipment-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
  }

  .equipment-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 1rem auto 0;
    line-height: 1.65;
  }

  .equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .pro-equipo-card {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    min-height: 340px;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }

  .pro-equipo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }

  .pro-equipo-card.reverse {
    flex-direction: row-reverse;
  }
  .pro-equipo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 16px;
    pointer-events: none;
    transition: box-shadow 0.3s ease;
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.05); /* Default sutil */
  }

  /* Colores personalizados por tipo (sin necesidad de hover) */
  .pro-equipo-card.verde::before {
    box-shadow: inset 0 0 0 4px #A5D6A7; /* Verde claro, contrasta con fondo verde */
  }

  .pro-equipo-card.azul::before {
    box-shadow: inset 0 0 0 4px #90CAF9; /* Azul claro */
  }

  .pro-equipo-card.naranja::before {
    box-shadow: inset 0 0 0 4px #FFCC80; /* Naranja claro */
  }

  .pro-equipo-card.morado::before {
    box-shadow: inset 0 0 0 4px #CE93D8; /* Morado claro */
  }
  .pro-equipo-card:hover::before {
    box-shadow: inset 0 0 0 4px var(--color-verde);
  }

  /* Color dinámico según tipo */
  .pro-equipo-card.azul:hover::before { box-shadow: inset 0 0 0 4px var(--color-azul); }
  .pro-equipo-card.naranja:hover::before { box-shadow: inset 0 0 0 4px var(--accent-color); }
  .pro-equipo-card.morado:hover::before { box-shadow: inset 0 0 0 4px #9C27B0; }
  .pro-equipo-card.verde:hover::before { box-shadow: inset 0 0 0 4px var(--color-verde); }

  .pro-equipo-card img {
    width: 44%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #ddd;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    background: #fff;
  }


  .pro-equipo-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1b1b1b;
    font-family: 'Poppins', sans-serif;
  }

  .pro-equipo-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.65;
  }
  /* Contenedor ajustado */
  .with-accent-bar {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(to right, #ffffff 65%, #f1f9fd 100%);
    border-left: 8px solid #3A7D44;
    border-bottom: 4px solid #2196F3;
  }

  .pro-box {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem 5rem; /* Aumentado de 3rem 4rem */
    border-radius: 16px; /* Aumentado de 14px */
    max-width: 1400px; /* Aumentado de 1200px */
    background-color: #fdfefe;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    flex-wrap: wrap;
  }

  /* Título más fuerte y profesional */
  .pro-title {
    font-size: 3rem; /* Aumentado de 2.8rem */
    font-weight: 700;
    color: #1565C0;
    line-height: 1.3;
    margin-bottom: 2rem; /* Aumentado de 1.5rem */
  }

  /* Párrafo descriptivo */
  .pro-box p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 2rem;
  }

  /* Icono de etiqueta en imagen */
  .pro-image-label {
    bottom: 12px !important;
    right: 12px !important;
    font-size: 1rem; /* Aumentado de 0.85rem */
    padding: 1rem 1.8rem !important; /* Aumentado de 0.6rem 1.2rem */
    background: #2196F3;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 600;
  }

  .pro-title span {
    background: linear-gradient(to right, #3A7D44, #2a5c2f);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
  }

  .precision-badge {
    display: inline-block;
    margin-top: 2rem;
    background: linear-gradient(135deg, #1565C0, #2196F3);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease;
  }

  .precision-badge i {
    margin-right: 10px;
    font-size: 1.2rem;
  }

  .precision-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  .precision-badge-inside {
    position: absolute;
    bottom: 2px; /* Antes: 12px */
    right: 2px;  /* Antes: 12px */
    background: linear-gradient(135deg, #0D47A1, #2196F3);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: 40px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    cursor: default;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .image-wrapper:hover .precision-badge-inside {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #1565C0, #42A5F5);
  }

  .image-wrapper:hover .precision-badge-inside i {
    transform: rotate(-5deg) scale(1.1);
    color: white;
  }

  .precision-badge-inside i {
    font-size: 1.2rem;
    color: #BBDEFB;
    transition: transform 0.4s ease;
  }

  /* Hover con escala y brillo */
  .precision-badge-inside:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #1565C0, #42A5F5);
  }

  .precision-badge-inside:hover i {
    transform: rotate(-5deg) scale(1.1);
    color: white;
  }
.clients-section {
  padding: 5rem 1rem;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.clients-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.clients-header {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-header h2 {
  font-family: 'Poppins', sans-serif;
  color: #222;
  font-size: 2.6rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.clients-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, #4CAF50, #2196F3);
  border-radius: 4px;
}

.clients-header p {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.client-card {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 200px;
  /* No necesitas opacity ni transform aquí si usas AOS */
  transition: transform 0.3s ease;
}

.client-card img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: filter 0.3s ease;
}

.client-card:hover img {
  filter: grayscale(0%) opacity(1);
}
/* === BOTONES GLOBALES === */
.btn-glow {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.15rem;
  transition: all 0.3s ease;
}

/* Botón de cotización */
.solicitar-cotizacion-btn {
  background: #4CAF50;
  color: white;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

/* Botón de llamada */
.btn-glow.llamar-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-glow i {
  margin-right: 8px;
}

  /* Mantiene la animación de "Adaptadas a tus Proyectos" */
  .fade-in-delayed {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.8s;
    font-weight: 700;
    color: white;
    margin-top: 0.5rem;
    text-align: center;
  }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Estilo general para visibilidad condicional */
.desktop-visible {
  display: block;
}

.mobile-visible {
  display: none;
}














 /* --------------------------------------------
    ESTILOS PARA LA SECCIÓN DE SERVICIOS (Supervisión)
  -------------------------------------------- */

/* Contenedor principal */
.servicio-full {
  padding: 4rem 0;
  scroll-margin-top: 150px;
  background: #f1f3f6;
}

/* Variantes de fondo */
.fondo-azul-topografia {
  background: linear-gradient(135deg, #243e63, #2e5a8c);
}

.fondo-verde-topografia {
  background: linear-gradient(135deg, #1c5d3a, #298858);
}

.fondo-gris-claro {
  background: linear-gradient(to bottom right, #f5f7fa, #e9eef3);
  border-top: 1px solid #d1d8df;
  border-bottom: 1px solid #d1d8df;
}

.fondo-beige-consulta {
  background-color: #e9dbc8;
  border-top: 4px solid #d1bfa5;
  border-bottom: 4px solid #d1bfa5;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.03);
}

/* Contenedor del servicio */
.servicio-contenedor {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 2rem;
  padding: 0 4vw;
  flex-wrap: wrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-contenedor.reverse {
  flex-direction: row-reverse;
}

/* Efectos hover */
.servicio-contenedor:hover .servicio-info:hover ~ .servicio-imagen,
.servicio-contenedor:hover .servicio-imagen:hover ~ .servicio-info {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.servicio-info:hover,
.servicio-imagen:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Columna de información */
.servicio-info {
  flex: 1 1 400px;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, #ffffff 60%, #f1f6f9);
  border-left: 8px solid #1abc9c;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Columna de imagen */
.servicio-imagen {
  flex: 1.1;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Textos */
.servicio-titulo {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  line-height: 1.3;
}

.servicio-descripcion {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  color: #333;
}

/* Lista de características */
.servicio-lista {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2.2rem;
}

.servicio-lista li {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.7rem;
}

.servicio-lista i {
  color: #1abc9c;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Botones */
.botones-servicio {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.botones-servicio a {
  flex: 1 1 260px;
  max-width: 320px;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
}

.servicio-boton {
  display: inline-block;
  background: linear-gradient(90deg, #14548f, #1abc9c);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(26, 188, 156, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

.servicio-boton:hover {
  background: linear-gradient(90deg, #1abc9c, #14548f);
  transform: translateY(-2px);
}

.servicio-boton.cotiza-btn {
  background-color: #2A5C8D;
  color: white;
}

.servicio-boton.cotiza-btn:hover {
  background-color: #20476f;
}

/* Botón "Ver más detalles" */
.ver-detalles-btn {
  background: linear-gradient(135deg, #14548f, #1abc9c);
  color: white;
  box-shadow: 0 8px 24px rgba(20, 84, 143, 0.25);
}

.ver-detalles-btn:hover {
  background: linear-gradient(135deg, #1abc9c, #14548f);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(20, 84, 143, 0.35);
}

/* Botón "Cotización" */
.cotiza-btn {
  background: linear-gradient(135deg, #0f406e, #007BFF);
  color: white;
  box-shadow: 0 8px 24px rgba(15, 64, 110, 0.25);
}

.cotiza-btn:hover {
  background: linear-gradient(135deg, #007BFF, #0f406e);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(15, 64, 110, 0.35);
}

/* --------------------------------------------
    ESTILOS PARA EL MODAL DE DETALLES
  -------------------------------------------- */
.modal-servicio {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  animation: fadeIn 0.4s ease-out;
}

.modal-contenido-grid {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  margin: 5% auto;
  padding: 2.5rem 2rem;
  border-radius: 18px;
  max-width: 1100px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
  font-family: 'Lato', sans-serif;
  border-top: 6px solid;
  border-image: linear-gradient(to right, #1abc9c, #14548f) 1;
  animation: popupIn 0.4s ease-out;
  position: relative;
  gap: 2rem;
  align-items: flex-start;
}

.modal-imagen {
  flex: 0 0 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  min-height: 420px;
}

.modal-imagen img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
}

.modal-texto {
  flex: 1 1 60%;
  color: #333;
  font-size: 0.98rem;
  line-height: 1.65;
}

.modal-texto h3 {
  font-size: 1.6rem;
  color: #14548f;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.modal-separador {
  height: 4px;
  width: 60px;
  background: linear-gradient(to right, #1abc9c, #14548f);
  border-radius: 6px;
  margin-bottom: 1.6rem;
}

.modal-texto p {
  margin-bottom: 1.4rem;
  text-align: justify;
  color: #444;
}

.modal-cerrar {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #666;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.modal-cerrar:hover {
  background: #f0f0f0;
  color: #000;
  transform: scale(1.05);
}

/* Animaciones */
@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --------------------------------------------
    ESTILOS PARA OTRAS SECCIONES (NO APARECEN EN EL HTML PROPORCIONADO)
  -------------------------------------------- */

/* Hero Section */
.service-hero {
  background: linear-gradient(rgba(42, 92, 141, 0.85), rgba(42, 92, 141, 0.9)),
              url('../assets/images/servicios-hero.jpg') center/cover no-repeat;
  min-height: 55vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2.5rem 1rem;
  position: relative;
}

.service-hero-content {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text-box {
  background-color: rgba(0, 0, 0, 0.45);
  padding: 1.5rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.hero-text-box h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text-box p {
  font-size: 1.05rem;
  max-width: 100%;
  margin: 0 auto;
  color: #f5f5f5;
  opacity: 0.95;
  line-height: 1.5;
}

/* Navegación de anclas */
.service-nav {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
  position: sticky;
  top: 110px;
  z-index: 90;
  backdrop-filter: blur(5px);
}

.service-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-nav a {
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-nav a:hover,
.service-nav a.active {
  background: var(--color-azul);
  color: white;
}

/* Secciones de servicios genéricas */
.service-section {
  padding: 5rem 1rem;
  scroll-margin-top: 180px;
}

.service-section:nth-child(odd) {
  background: #f9f9f9;
}

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

.service-content p {
  max-width: 700px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-card.reverse .service-image {
  order: 2;
}

.service-card.reverse .service-content {
  order: 1;
}

.service-content {
  padding: 2rem;
}

.service-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-image:hover img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-verde);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 2;
}

.service-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.service-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 4px;
  background: var(--color-azul);
  border-radius: 2px;
}

.service-features {
  margin: 2rem 0;
  padding-left: 0;
}

.service-features li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.8rem;
  list-style: none;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--color-verde);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  background: var(--color-azul);
  color: white;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
}

.service-cta:hover {
  background: var(--color-azul-oscuro);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42,92,141,0.3);
}

/* Sección de consulta */
.custom-service {
  background: linear-gradient(135deg, var(--color-azul-oscuro), var(--color-azul));
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}

.custom-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--patron-topografia);
  opacity: 0.1;
}

.custom-service h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.custom-service p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
}

.custom-service-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  background: white;
  color: var(--color-azul);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.custom-service-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.custom-service-btn:hover::after {
  left: 100%;
}

.custom-service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Formulario de contacto */
.service-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
  border-color: var(--color-azul);
  outline: none;
}

.service-form button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: var(--color-azul);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-form button[type="submit"]:hover {
  background: var(--color-azul-oscuro);
}
/* Botón Primario - Versión Mejorada */
.principal-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: auto;
  min-width: 200px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;            /* <- Cambiado */
  align-items: center;            /* <- Añadido */
  justify-content: center;        /* <- Añadido */
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.principal-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-hover);
  transition: width 0.3s ease;
  z-index: -1;
}

.principal-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.principal-primary:hover::before {
  width: 100%;
}

/* Botón Secundario - Con fondo sólido */
.principal-secondary {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: auto;
  min-width: 200px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.principal-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--secondary-hover, #444); /* Color al pasar el mouse */
  transition: width 0.3s ease;
  z-index: -1;
}

.principal-secondary:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.principal-secondary:hover::before {
  width: 100%;
}

/* Efecto de onda al hacer clic */
.principal-primary:active, 
.principal-secondary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Contacto info */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--color-azul);
}

.contact-info i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Separador SVG */
.svg-separador {
  margin-top: -1px;
  overflow: hidden;
  line-height: 0;
}

.svg-separador svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Servicio con imagen de fondo */
.custom-service-imagen {
  position: relative;
  background: url('../assets/images/supervision-edificion.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
  overflow: hidden;
  z-index: 1;
}

.custom-service-imagen::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.custom-service-overlay {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.custom-service-imagen h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.custom-service-imagen p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
  color: #f3f3f3;
}

/* Formulario de contacto con fondo */
.formulario-contacto-bg {
  background: url('../assets/images/contacto-topografia.jpg') 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(19, 19, 19, 0.6);
  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.08);
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.formulario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.formulario-contacto-overlay input,
.formulario-contacto-overlay select,
.formulario-contacto-overlay textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  margin-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.92);
  color: #333;
  font-size: 1rem;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.15);
}

.formulario-contacto-overlay input:focus,
.formulario-contacto-overlay select:focus,
.formulario-contacto-overlay textarea:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.4);
}

.formulario-contacto-overlay textarea {
  min-height: 150px;
}

.formulario-contacto-overlay button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.formulario-contacto-overlay button:hover {
  background-color: #43a047;
}

/* Hero Acerca de */
.hero.acerca-hero {
  position: relative;
  height: 75vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url('../assets/images/acerca_de_nosotros.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-overlay h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-overlay .hero-acento {
  color: var(--accent-color);
}

.hero-overlay p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
/* ===== Panel de Cotización Mejorado ===== */
:root {
  --color-primario: #2563eb;
  --color-primario-hover: #1d4ed8;
  --color-secundario: #f8fafc;
  --color-texto: #1e293b;
  --color-texto-secundario: #64748b;
  --color-borde: #e2e8f0;
  --color-fondo: #ffffff;
  --color-fondo-panel: linear-gradient(180deg, #eaf2ff, #f1f5f9);
  --color-sombra: rgba(0, 0, 0, 0.1);
  --color-error: #dc2626;
  --color-exito: #4CAF50;
  --radio-borde: 12px;
}

/* Estado cuando el panel está abierto */
body.panel-abierto {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}
  .btn-cotizacion {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #4CAF50;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
  }
/* Contenedor principal del panel */
.cotizacion-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 500px;
  max-width: 95vw;
  height: 100vh;
  background: var(--color-fondo-panel);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 999999;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
  box-sizing: border-box;
  border-left: 1px solid var(--color-borde);
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}

.cotizacion-panel.activo {
  right: 0;
}

/* Contenedor de contenido con scroll */
.cotizacion-contenido {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem 2rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primario) var(--color-borde);
}

/* Estilos del scrollbar para navegadores WebKit */
.cotizacion-contenido::-webkit-scrollbar {
  width: 6px;
}

.cotizacion-contenido::-webkit-scrollbar-track {
  background: var(--color-borde);
  border-radius: 3px;
}

.cotizacion-contenido::-webkit-scrollbar-thumb {
  background-color: var(--color-primario);
  border-radius: 3px;
}

/* Fondo oscuro */
.fondo-cotizacion {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.fondo-cotizacion.oculto {
  display: none;
  opacity: 0;
  pointer-events: none;
}

/* Botón de cierre */
.cerrar-cotizacion {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background-color: #fecaca;
  border: none;
  font-size: 1.8rem;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 10000;
}

.cerrar-cotizacion:hover {
  background-color: #dc2626;
  color: white;
  transform: scale(1.05);
}

/* Encabezado */
.cotizacion-encabezado {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.cotizacion-encabezado h2 {
  font-size: 1.75rem;
  color: var(--color-texto);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.cotizacion-encabezado p {
  font-size: 1rem;
  color: var(--color-texto-secundario);
  line-height: 1.6;
  max-width: 80%;
  margin: 0 auto;
}

/* Formulario */
.cotizacion-formulario {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cotizacion-formulario label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-texto);
  font-size: 0.9375rem;
}

.opcional {
  font-weight: 400;
  color: var(--color-texto-secundario);
}

/* Inputs + Textareas */
.cotizacion-formulario input,
.cotizacion-formulario select,
.cotizacion-formulario textarea {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border: 1px solid var(--color-borde);
  min-width: 0;
  border-radius: var(--radio-borde);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  background-color: var(--color-fondo);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.05);
  line-height: 1.5;
  color: var(--color-texto);
}

.cotizacion-formulario input:hover,
.cotizacion-formulario select:hover,
.cotizacion-formulario textarea:hover {
  border-color: var(--color-primario);
}

.cotizacion-formulario input:focus,
.cotizacion-formulario select:focus,
.cotizacion-formulario textarea:focus {
  border-color: var(--color-primario);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cotizacion-formulario textarea {
  resize: vertical;
  min-height: 120px;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
}
/* Select personalizado */
.cotizacion-formulario select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%232563eb' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  cursor: pointer;
  padding-right: 2.5rem;
}
/* Botón de envío */
.btn-enviar-cotizacion {
  width: 100%;
  background-color: var(--color-primario);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem;
  border: none;
  border-radius: var(--radio-borde);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-enviar-cotizacion:hover {
  background-color: var(--color-primario-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-enviar-cotizacion svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn-enviar-cotizacion:hover svg {
  transform: translateX(4px);
}

/* Validación */
.cotizacion-formulario input:invalid,
.cotizacion-formulario select:invalid {
  border-color: var(--color-error);
}

.cotizacion-formulario input:invalid:focus,
.cotizacion-formulario select:invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}


.encabezado-icono {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primario);
}

.encabezado-icono svg {
  width: 28px;
  height: 28px;
}



.campo-formulario {
  position: relative;
}

.campo-formulario-doble {
  display: flex;
  gap: 1rem;
}

.campo-formulario-doble > div {
  flex: 1;
  position: relative;
}



/* Iconos dentro del input */
.campo-formulario::before,
.campo-formulario-doble > div::before {
  content: attr(data-icon);
  position: absolute;
  top: 2.9rem;
  left: 1rem;
  color: var(--color-texto-secundario);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.campo-formulario:focus-within::before,
.campo-formulario-doble > div:focus-within::before {
  color: var(--color-primario);
}



/* Separador */
.separador-formulario {
  border: none;
  border-top: 1px solid var(--color-borde);
  margin: 1rem 0;
}



.campo-valido input,
.campo-valido select,
.campo-valido textarea {
  border: 2px solid var(--color-exito) !important;
}

.campo-invalido input,
.campo-invalido select,
.campo-invalido textarea {
  border: 2px solid var(--color-error) !important;
}



/* --------------------------------------------
  ESTILOS ESPECÍFICOS PARA ACERCA-DE.HTML
-------------------------------------------- */

/* Estilos generales para las secciones "Acerca de" */
/* Estilos generales para las secciones "Acerca de" */
.acerca-full {
  padding: 3.5rem 0;
  scroll-margin-top: 110px;
  background-color: #f7f9fc;
}

/* Contenedor principal */
.acerca-contenedor {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  padding: 0 1.5rem;
  flex-wrap: nowrap;
}

/* Inversión de columnas */
.acerca-reverse {
  flex-direction: row-reverse;
}

/* Columna de información */
.acerca-info {
  flex: 1 1 680px;
  padding: 2rem 2.2rem;
  background: rgba(255, 255, 255, 0.97);
  border-left: 10px solid #2A5C8D;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
  max-width: 740px;
  position: relative;
  animation: fadeInLeft 1s ease forwards;
  opacity: 0;
}

.acerca-info[data-aos] {
  opacity: 1;
}

.acerca-info::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, #1abc9c, #2A5C8D);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  opacity: 0.3;
}

/* Columna de imagen */
.acerca-imagen {
  flex: 1 1 580px;
  max-width: 700px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  animation: zoomIn 1.1s ease both;

}

.acerca-imagen[data-aos] {
  opacity: 1;
}

.acerca-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.acerca-imagen:hover img {
  transform: scale(1.045);
}

/* Hover Effects */
.acerca-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.acerca-imagen:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

/* Textos */
.acerca-titulo {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #1a1a1a;
  line-height: 1.3;
}
.acerca-subtitulo {
  font-size: 1.3rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.acerca-descripcion {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: #3a3a3a;
}

/* Separador decorativo */
.acerca-separador {
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #1abc9c, #2A5C8D);
  margin: 1rem 0 2rem;
  border-radius: 3px;
}

.acerca-lista {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.acerca-lista li {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  color: #1a1a1a;
  font-weight: 600;
}

.acerca-lista i {
  margin-right: 8px;
  font-size: 1.1rem;
  margin-top: 2px;
  color: #d4af37; /* Icono dorado tipo medalla */
}

.acerca-destacado {
  background: rgba(26, 188, 156, 0.04);
  border: 2px solid #1abc9c; /* Borde completo en verde */
  padding: 1.5rem 1.5rem 1.2rem 1.5rem;
  border-radius: 10px;
  margin: 1.5rem auto; /* ✅ Centramos visualmente el cuadro dentro de su columna */
  max-width: 520px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}


/* Fondos personalizados */
.bg-acerca {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

.fondo-beige-consulta {
  background: linear-gradient(135deg, #f8f4e9 0%, #e9dbc8 100%);
  border-top: 1px solid #d1d8df;
  border-bottom: 1px solid #d1d8df;
}
/* Imagen de perfil especial para fundador */
.acerca-imagen-perfil {
  flex: 1 1 580px;
  max-width: 700px;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
animation: zoomIn 1.1s ease both;
}

.acerca-imagen-perfil[data-aos] {
  opacity: 1;
}

.acerca-imagen-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Cuadro de texto sobre la imagen del fundador */
.acerca-perfil-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(42, 92, 141, 0.88);
  color: white;
  padding: 1.5rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  backdrop-filter: blur(4px);
  text-align: center;
}

.acerca-perfil-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: white;
  font-weight: 700;
}

.acerca-perfil-cargo {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #1abc9c;
}

.acerca-perfil-experiencia {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Animaciones clave */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* Fondo de sección */
.bg-diferenciales {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 6rem 2rem;
  color: #ffffff;
}

.diferenciales-titulo {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #4da9ff, #81e6f3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtítulo */
.diferenciales-subtitulo {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #ffffff !important;
}


/* Línea decorativa */
.diferenciales-separador {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1abc9c, #2A5C8D);
  margin: 0 auto 1.5rem;
  border-radius: 3px;
}

/* Grid */
.diferenciales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjetas */
.diferencial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.diferencial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

/* Íconos */
.diferencial-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  color: #1abc9c;
}

/* Título de la tarjeta */
.diferencial-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Texto de la tarjeta */
.diferencial-card p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.97);
}



/* Fondo profesional */
.bg-valores {
  background: linear-gradient(135deg, #f4f6f9 0%, #dce3ec 100%);
  padding: 6rem 2rem;
}

/* Contenedor principal */
.valores-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Contenido izquierdo */
.valores-content {
  flex: 1 1 600px;
}

/* Imagen lateral */
.valores-image {
  flex: 1 1 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.valores-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

/* Títulos */
.valores-titulo {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.valores-separador {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1abc9c, #2a5c8d);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.valores-descripcion {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2.5rem;
}

/* Grid de valores */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

/* Tarjetas de valores */
.valor-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.valor-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

/* Iconos */
.valor-icon {
  font-size: 2rem;
  color: #1abc9c;
  flex-shrink: 0;
}

/* Texto */
.valor-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2a2a2a;
}

.valor-text p {
  font-size: 0.97rem;
  line-height: 1.5;
  color: #555;
}


/* Fondo oscuro profesional */
.bg-tecnologia {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 6rem 2rem;
  color: #ffffff;
}

/* Encabezado */
.tech-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.tech-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.tech-separador {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1abc9c, #2A5C8D);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.tech-subtitulo {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

/* Grid horizontal */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* Tarjetas */
.tech-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 2rem 1.7rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

/* Imagen */
.tech-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.4rem;
}

/* Título de tarjeta */
.tech-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

/* Descripción */
.tech-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}


/* Sección CTA */
.about-cta {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, #2A5C8D, #14548f); /* Más vibrante y corporativo */
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 70%);
  z-index: 0;
}

.cta-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Título principal */
.about-cta h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Párrafo informativo */
.about-cta p {
  font-size: 1.2rem;
  color: #eaf2f9;
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  opacity: 0.95;
}

/* Contenedor de los botones */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Botón principal */
.cta-button {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background-color: #14548f; /* Azul profesional */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Hover para el botón principal */
.cta-button:hover {
  background-color: #0e3f6d;
  transform: translateY(-2px);
}

/* Botón secundario */
.cta-button.secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

/* Hover para el botón secundario */
.cta-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Botón principal */
.msn-cotizacion {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: white;
  color: #2A5C8D;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.msn-cotizacion:hover {
  background: #f7fafd;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Botón secundario */
.msn-secondary {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.msn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: #eaf2f9;
  color: #eaf2f9;
}













/* Fondo general para sección de contacto */
.bg-contacto {
  background: url('../assets/images/fondo-contacto.jpg') center center / cover no-repeat;
  padding: 5rem 2rem;
  color: #fff;
  position: relative;
}

.contacto-contenedor {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Contenedor del formulario */
.contacto-formulario {
  flex: 1 1 560px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 2rem 2.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.contacto-formulario form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Grupos de campos */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Inputs y campos generales */
input, select, textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: border 0.2s ease, background 0.3s ease;
}

input::placeholder, select::placeholder, textarea::placeholder {
  color: #ddd;
}

input:focus, select:focus, textarea:focus {
  border-color: #1abc9c;
  background-color: rgba(255, 255, 255, 0.12);
  outline: none;
}

/* Botón de envío */
.contacto-btn {
  padding: 0.9rem 1.5rem;
  background: linear-gradient(90deg, #1abc9c, #2a5c8d);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contacto-btn:hover {
  background: linear-gradient(90deg, #16a085, #145374);
}

/* Mensaje de éxito */
.contacto-mensaje-exito {
  background-color: #d1f3d1;
  color: #226d2e;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contacto-titulo {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: left;
}

.contacto-separador {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1abc9c, #2a5c8d);
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.contacto-descripcion {
  font-size: 1.05rem;
  color: #f0f0f0;
  margin-bottom: 2rem;
}

.contacto-info {
  flex: 1 1 400px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.info-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-block i {
  font-size: 1.5rem;
  color: #1abc9c;
  margin-top: 0.3rem;
}

.info-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.info-block p,
.info-block span {
  font-size: 0.95rem;
  color: #e4e4e4;
  margin: 0;
}


.contacto-whatsapp {
  margin-top: 2rem;
}

.contacto-whatsapp a {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contacto-whatsapp a:hover {
  background-color: #1ebe5d;
}
.contacto-pg-section {
  padding: 6rem 2rem;
  background: linear-gradient(
    rgba(10, 25, 55, 0.85),
    rgba(10, 25, 55, 0.85)
  ),
  url('/assets/images/fondo-topografia.jpg') center/cover no-repeat;
  font-family: 'Segoe UI', sans-serif;
  color: white;
}
select option {
  background-color: #ffffff; /* Fondo claro para opciones */
  color: #222222;            /* Texto oscuro para buena legibilidad */
}

/* --------------------------------------------
   PREGUNTAS FRECUENTES – ESTILO PROFESIONAL
-------------------------------------------- */
.bg-fondo-blanco {
  background-color: #ffffff;
  padding: 6rem 2rem;
}

.titulo-preguntas {
  font-size: 2.6rem;
  font-weight: 800;
  text-align: center;
  color: #2a2a2a;
}

.separador-preguntas {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #1abc9c, #ff5f6d);
  margin: 1rem auto 1.5rem;
  border-radius: 4px;
}

.subtitulo-preguntas {
  font-size: 1.15rem;
  color: #666;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.preguntas-frecuentes-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.preguntas-frecuentes-item {
  background: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 6px solid transparent;
}

.pregunta-toggle {
  background: #f9c846; /* Amarillo fuerte */
  border: none;
  width: 100%;
  padding: 1.3rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.pregunta-toggle:hover {
  background: #ff5f6d; /* Coral */
  color: #fff;
}

.pregunta-toggle:hover i {
  color: #fff;
}

.pregunta-toggle i {
  color: #444;
  transition: transform 0.3s, color 0.3s;
}

.respuesta {
  padding: 1rem 1.5rem 1.5rem;
  font-size: 1rem;
  color: #444;
  display: none;
  background: #fff7e6;
  border-radius: 0 0 12px 12px;
  border-top: 1px solid #ffd27f;
  animation: fadeIn 0.4s ease-in-out;
}

.preguntas-frecuentes-item.open {
  border-left: 6px solid #ff5f6d; /* Borde lateral activo */
}

.preguntas-frecuentes-item.open .respuesta {
  display: block;
}

.preguntas-frecuentes-item.open .pregunta-toggle {
  background: #ff5f6d;
  color: #fff;
}

.preguntas-frecuentes-item.open .pregunta-toggle i {
  transform: rotate(180deg);
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===================================== */
/* Bloque de Ayuda Técnica Personalizada */
/* ===================================== */

.bloque-contacto-ayuda {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

.bloque-contacto-ayuda-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.bloque-contacto-ayuda h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.bloque-contacto-ayuda p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  color: #dfe7f2;
  line-height: 1.7;
}

.bloque-contacto-ayuda-botones {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Botones: estilos base */
.bloque-contacto-ayuda-botones .btnay-llamar,
.bloque-contacto-ayuda-botones .btnay-mensaje {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Botón de llamada */
.bloque-contacto-ayuda-botones .btnay-llamar {
  background-color: #ffffff;
  color: #2a5c8d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.bloque-contacto-ayuda-botones .btnay-llamar i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.bloque-contacto-ayuda-botones .btnay-llamar:hover {
  background-color: #f3f7fa;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Botón de mensaje */
.bloque-contacto-ayuda-botones .btnay-mensaje {
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.bloque-contacto-ayuda-botones .btnay-mensaje i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.bloque-contacto-ayuda-botones .btnay-mensaje:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: #eaeaea;
}
input[type="checkbox"].checkbox-personalizado {
  width: 18px;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  background-color: white;
  border: 2px solid #4CAF50;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-right: 8px;
}

input[type="checkbox"].checkbox-personalizado:checked::before {
  content: "✔";
  position: absolute;
  top: 0;
  left: 2px;
  font-size: 16px;
  color: #4CAF50;
}
.client-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
}

.client-nombre {
  background-color: #2e86de; /* 🔵 Azul profesional, puedes cambiarlo */
  color: #fff;               /* ✅ Blanco para contraste */
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.6rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* sombra sutil */
}


/* Aplicaciones específicas para móviles */
@media (max-width: 360px) {
  .main-header {
    padding: 0 1rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-img {
    max-height: 60px;
  }

  .logo-text-img {
    max-height: 100px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    z-index: 1000;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu a {
    font-size: 1.2rem;
  }

  .hero {
    height: auto;
    min-height: 420px;
    padding: 2rem 1rem;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .tel-button {
    font-size: 1.2rem;
    padding: 4px 10px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    color: var(--accent-color);
  }

  .tel-button i {
    font-size: 1.2rem;
    margin-left: 5px;
  }

  .desktop-visible {
    display: none !important;
  }

  .mobile-visible {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-header.scrolled {
    padding: 0 1rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .home-section {
    padding: 2rem 0.5rem;
    min-height: 600px;
    background-attachment: scroll;
  }

  .home-content-wrapper {
    padding: 0 10px;
  }

  .home-box {
    padding: 2.4rem 1rem 2.2rem;
    border-radius: 14px;
    max-width: 98%;
  }

  .home-box h1 {
    font-size: 1.4rem;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .home-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding: 0 0.3rem;
  }

  .home-buttons {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
.principal-primary,
  .principal-secondary {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    min-width: 160px;
    width: 100%;
    margin-bottom: 0.8rem; /* ✅ Separación entre botones */
  }

  .principal-secondary:last-child {
    margin-bottom: 0;
  }

  .principal-primary:hover,
  .principal-secondary:hover {
    transform: translateY(-2px);
  }

  .principal-primary:active,
  .principal-secondary:active {
    transform: translateY(0);
  }

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .stat-box {
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .stat-box .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
  }

  .stat-box .icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .stat-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
  }

  .stat-box p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
  }

  /* Colores específicos */
  .stat-blue {
    background: linear-gradient(180deg, #E3F2FD, #FFFFFF);
  }

  .stat-blue .top-bar {
    background: var(--primary-color);
  }

  .stat-blue .icon {
    color: var(--primary-color);
  }

  .stat-green {
    background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
  }

  .stat-green .top-bar {
    background: var(--secondary-color);
  }

  .stat-green .icon {
    color: var(--secondary-color);
  }

  .stat-orange {
    background: linear-gradient(180deg, #FFF3E0, #FFFFFF);
  }

  .stat-orange .top-bar {
    background: var(--accent-color);
  }

  .stat-orange .icon {
    color: var(--accent-color);
  }

  .stat-brown {
    background: linear-gradient(180deg, #EFEBE9, #FFFFFF);
  }

  .stat-brown .top-bar {
    background: #5D4037;
  }

  .stat-brown .icon {
    color: #5D4037;
  }

  .stat-cyan {
    background: linear-gradient(180deg, #E1F5FE, #FFFFFF);
  }

  .stat-cyan .top-bar {
    background: #0288D1;
  }

  .stat-cyan .icon {
    color: #0288D1;
  }

  .stat-purple {
    background: linear-gradient(180deg, #F3E5F5, #FFFFFF);
  }

  .stat-purple .top-bar {
    background: #8E24AA;
  }

  .stat-purple .icon {
    color: #8E24AA;
  }

  .stat-teal {
    background: linear-gradient(180deg, #E0F2F1, #FFFFFF);
  }

  .stat-teal .top-bar {
    background: #00796B;
  }

  .stat-teal .icon {
    color: #00796B;
  }
  .typewriter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
  }

  .typewriter-wrapper .typewriter {
    font-size: 0;
    color: transparent;
    animation: none !important;
    position: relative;
  }

  .typewriter-wrapper .typewriter::before,
  .typewriter-wrapper .typewriter::after {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-align: center;
    width: 100%;
  }

  .typewriter-wrapper .typewriter::before {
    content: "SOLUCIONES";
    color: white;
    animation-delay: 0.3s;
  }

  .typewriter-wrapper .typewriter::after {
    content: "TOPOGRÁFICAS";
    color: #4CAF50;
    animation-delay: 0.6s;
  }

  .home-box h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .typewriter-wrapper {
    margin-bottom: 0.3rem;
  }

  .fade-in-delayed {
    animation-delay: 0.5s !important;
    margin-top: 0;
  }

  /* MODIFICACIONES PRINCIPALES PARA LA SECCIÓN DE EXPERTOS */
  .pro-bg-section {
    padding: 2rem 0.9rem;
  }

  .pro-box {
    display: flex !important;
    flex-direction: column !important;
    padding: 1.2rem 0 !important;
    gap: 1.2rem !important;
  }

  .about-text {
    order: 1;
    min-width: unset;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .about-text h2.pro-title {
    font-size: 1.95rem;
    line-height: 1.2;
    margin: 0 0 0.8rem 0;
    padding: 0 0.5rem;
    text-align: left;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .about-columns {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 0.5rem;
  }

  .about-columns ul {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .about-columns li {
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 0.9rem 1rem;
    width: calc(100% - 1rem);
    margin: 0 auto;
    display: block;
  }

  .about-image {
    order: 2 !important;
    width: 100% !important;
    margin: 1rem 0 0 0 !important;
    padding: 0 !important;
    display: block !important;
    float: none !important;
  }


.about-buttons {
  order: 3; /* Empujamos este bloque al final */
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
  .image-wrapper img,
  .pro-image-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: none !important;
    display: block !important;
    float: none !important;
  }


.image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  width: calc(100% - 2rem); /* deja 1rem a cada lado */
  margin: 0 auto; /* centra la imagen */
}


.image-wrapper img {
  max-height: 180px; /* más compacto */
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
  height: auto;
  border: none;
  display: block;
}

.precision-badge-inside {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
  background-color: #2196F3;
  color: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


  .with-accent-bar {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: 4px solid #3A7D44;
    border-bottom: 2px solid #2196F3;
  }

  .pro-title span {
    padding: 0.2rem 0.4rem;
    font-size: 1rem;
  }

  .pro-image-wrapper img {
    border-width: 2px;
  }

.btn-primary.pro-btn {
  max-width: 90%;
  width: auto;
  margin: 1rem auto 0 auto;
  display: block;
  text-align: center;
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
}
  .services-highlights {
    padding: 2rem 1rem !important;
  }

  .services-highlights h2,
  .services-highlights p,
  .services-highlights .btn-glow,
  .services-highlights .servicio-card-hover {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .services-highlights h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .services-highlights p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .services-highlights .btn-glow.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
  }

  .services-highlights .servicio-card-hover.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }

  .services-highlights .servicio-card-hover {
    width: 100% !important;
    margin: 0 auto 2rem auto !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .services-highlights .servicio-card-hover img {
    height: 160px !important;
    object-fit: cover;
    width: 100%;
  }

  .services-highlights h2 {
    font-size: 1.8rem !important;
    text-align: center;
  }

  .services-highlights p {
    font-size: 1rem !important;
    padding: 0 0.5rem;
    line-height: 1.5;
  }

  .services-highlights .btn-glow {
    font-size: 1rem !important;
    padding: 0.8rem 1.5rem !important;
    margin-top: 2rem;
    width: auto;
  }

  .services-highlights h3 {
    font-size: 1.1rem !important;
  }

  .services-highlights ul {
    font-size: 0.9rem !important;
    padding-left: 1rem;
  }

  .services-highlights a {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.8rem !important;
  }

  .services-highlights > div > div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding: 0 0.5rem !important;
  }
  .equipment-section {
    padding: 2rem 1rem !important;
  }

  .equipment-header h2,
  .equipment-header p,
  .pro-equipo-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .equipment-header h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .equipment-header p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .pro-equipo-card.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }

  .equipment-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .equipment-header h2 {
    font-size: 1.8rem !important;
    color: white;
    position: relative;
    display: inline-block;
  }

  .equipment-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
  }

  .equipment-header p {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.9);
    margin: 1rem auto 0;
    line-height: 1.6;
    max-width: 100%;
  }

  .equipment-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .pro-equipo-card {
    flex-direction: column !important;
    padding: 1.5rem !important;
    min-height: auto !important;
    align-items: flex-start !important;
  }

  .pro-equipo-card.reverse {
    flex-direction: column-reverse !important;
  }

  .pro-equipo-card img {
    width: 100% !important;
    margin-bottom: 1.2rem !important;
    border-radius: 12px !important;
  }

  .pro-equipo-content h3 {
    font-size: 1.3rem !important;
    margin-bottom: 0.8rem !important;
  }

  .pro-equipo-content p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .pro-equipo-card::before {
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.04);
  }

  .pro-equipo-card.verde::before {
    box-shadow: inset 0 0 0 3px #A5D6A7;
  }

  .pro-equipo-card.azul::before {
    box-shadow: inset 0 0 0 3px #90CAF9;
  }

  .pro-equipo-card.naranja::before {
    box-shadow: inset 0 0 0 3px #FFCC80;
  }

  .pro-equipo-card.morado::before {
    box-shadow: inset 0 0 0 3px #CE93D8;
  }
  .clients-section {
    padding: 3rem 1rem;
  }

  .clients-header h2 {
    font-size: 1.8rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header h2::after {
    width: 50%;
    height: 3px;
    bottom: -6px;
  }

  .clients-header h2.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-header p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header p.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-logos {
    gap: 1.5rem;
  }

  .client-card {
    width: 140px;
    height: 90px;
    padding: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .client-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  .client-card img {
    max-height: 50px;
  }
  .btn-glow {
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  .solicitar-cotizacion-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .btn-glow.llamar-btn {
    width: 100%;
    text-align: center;
  }

  /* --------------------------------------------
    ESTILOS DE MEDIA PARA SERVICIOS.HTML
  -------------------------------------------- */  
.service-nav {
  display: none !important;
}

.mobile-services-menu {
  display: block;
}

/* CONTENEDOR FIJO PARA BOTÓN Y MENÚ */
.services-wrapper {
  position: fixed;
  right: 0;
  bottom: 15%; /* 🔽 Ahora el botón está un poco más abajo */
  z-index: 9999;
}

/* BOTÓN VERTICAL PEGADO A LA DERECHA */
.open-services-tab {
  background-color: var(--primary-color);
  color: white;
  padding: 0.4rem 0.5rem; /* 🔹 Mucho más compacto pero cómodo */
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.2rem; /* 🔹 Texto se mantiene grande */
  font-weight: 900;
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.25);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  z-index: 2;
}


.open-services-tab .arrow {
  animation: bounceArrow 1s infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
}

/* MENÚ POSICIONADO ENCIMA DEL BOTÓN */
.side-services-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 210px;
  background-color: #1f1f2e; /* 🔹 Color más oscuro y elegante */
  z-index: 1;
  padding: 0.3rem 0.4rem; /* 🔹 Mucho más compacto */
  box-shadow: -3px 4px 12px rgba(0, 0, 0, 0.25);
  border-radius: 12px 0 0 12px;
  display: none;
  flex-direction: column;
  transition: right 0.35s ease;
}

/* MOSTRAR MENÚ CUANDO ESTÁ ABIERTO */
.side-services-menu.open {
  display: flex;
}

.close-services-button {
  position: absolute;
  left: -14px;  /* 🔹 un poco más adentro que antes */
  top: -14px;   /* 🔹 subimos el círculo para colocarlo en la esquina */
  background-color: white;
  color: #1f1f2e;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 9999;
}


.close-services-button:hover {
  background-color: #e0e0e0;
}


/* LISTADO DE ENLACES DE SERVICIOS */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem; /* 🔹 Mucho más pegado */
}

.services-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: white; /* 🔹 Texto blanco para contraste con fondo oscuro */
  text-decoration: none;
  padding: 0.35rem 0.6rem; /* 🔹 Más compacto pero aún clicable */
  border-radius: 6px;
  transition: background-color 0.3s;
}

.services-list a:hover {
  background-color: var(--primary-color);
  color: white;
}


/* OCULTAR BOTÓN CUANDO MENÚ ESTÁ ABIERTO */
.side-services-menu.open ~ .open-services-tab {
  display: none !important;
}
/* ANIMACIÓN DE ENTRADA (aparecer deslizándose) */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMACIÓN DE SALIDA (desaparecer deslizándose) */
@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* CLASES PARA CONTROLAR ESTAS ANIMACIONES */
.side-services-menu.anim-in {
  animation: slideIn 0.3s ease-out forwards;
}

.side-services-menu.anim-out {
  animation: slideOut 0.3s ease-in forwards;
}
.services-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.5); /* Oscurece ligeramente */
  backdrop-filter: blur(4px);        /* 🔹 Difuminado suave */
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* MOSTRAR EL FONDO AL ACTIVARSE */
.services-overlay.active {
  display: block;
  opacity: 1;
}

/* --------------------------------------------
   ESTILOS DE MEDIA PARA SERVICIOS.HTML BLOQUES DE SERVICIOS
-------------------------------------------- */
   /* Contenedor principal optimizado */
  .contenedor-botones-movil {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Estilos base para botones móviles */
  .boton-principal-movil,
  .boton-secundario-movil {
    padding: 0.85rem 1.2rem;
    border-radius: var(--radio-bordes);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transicion-rapida);
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
  }

  /* Botón principal móvil */
  .boton-principal-movil {
    background-color: var(--color-primario);
    color: var(--color-texto);
    box-shadow: var(--sombra-suave);
  }

  .boton-principal-movil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-primario-hover);
    transition: width 0.25s ease;
    z-index: -1;
  }

  .boton-principal-movil:hover,
  .boton-principal-movil:focus {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    outline: none;
  }

  .boton-principal-movil:hover::before,
  .boton-principal-movil:focus::before {
    width: 100%;
  }

  /* Botón secundario móvil */
  .boton-secundario-movil {
    background-color: transparent;
    color: var(--color-secundario);
    border: 2px solid var(--color-secundario);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .boton-secundario-movil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-secundario);
    transition: width 0.25s ease;
    z-index: -1;
  }

  .boton-secundario-movil:hover,
  .boton-secundario-movil:focus {
    color: var(--color-texto);
    transform: translateY(-2px);
    box-shadow: var(--sombra-suave);
    outline: none;
  }

  .boton-secundario-movil:hover::before,
  .boton-secundario-movil:focus::before {
    width: 100%;
  }

  /* Efecto activo para ambos botones */
  .boton-principal-movil:active,
  .boton-secundario-movil:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }

  /* Icono optimizado para móvil */
  .icono-movil {
    font-size: 0.9rem;
  }

.modal-servicio {
    padding: 0.5rem;
  }

  .modal-contenido-grid {
    display: flex;
    flex-direction: column !important;
    padding: 1rem 0.8rem;
    max-width: 100%;
    border-radius: 14px;
  }

  .modal-texto {
    order: 1 !important;
    flex: 1 1 auto;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0;
    text-align: left;
  }

  .modal-texto h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.6rem;
  }

  .modal-texto p {
    margin-bottom: 0.6rem;
  }

  .modal-texto p:last-of-type {
    margin-bottom: 0; /* 🔥 Elimina separación antes de la imagen */
  }

  .modal-texto .modal-cerrar {
    top: -10px;
    right: -10px;
    font-size: 1.6rem;
  }

  .modal-imagen {
    order: 2 !important;
    flex: 0 0 auto;
    min-height: auto;
    padding: 0;
    margin-top: 0; /* 🔥 Eliminamos separación vertical */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-imagen img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 0; /* 🔥 Si no quieres bordes visuales redondeados */
  }


/* Fondo oscuro que cubre toda la pantalla */
#fondo-cotizacion {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 9998;
  display: none;
}

#fondo-cotizacion.activo {
  display: block;
}

/* Panel del formulario */
.cotizacion-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background-color: white;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: -4px 0 12px rgba(0,0,0,0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.cotizacion-panel.activo {
  transform: translateX(0);
}

.cotizacion-contenido {
  position: relative;
  padding: 1.2rem 1rem;
}
.cerrar-cotizacion {
  position: fixed;
  top: -0.5rem;     /* ⬆️ Subido más arriba */
  left: -0.5rem;    /* ⬅️ Más a la izquierda */
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  background-color: #f44336;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


.cotizacion-panel.activo .cerrar-cotizacion {
  display: block !important;
}

/* Scroll bloqueado en body */
.bloquear-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Contenido general */
.cotizacion-encabezado {
  margin-bottom: 1.5rem;
}

.cotizacion-encabezado h2 {
  font-size: 1.4rem;
  line-height: 1.2;
}

.cotizacion-encabezado p {
  font-size: 0.92rem;
  max-width: 100%;
  line-height: 1.4;
  margin-top: 0.4rem;
}

.cotizacion-formulario {
  gap: 1rem;
}

.cotizacion-formulario label {
  font-size: 0.9rem;
}

.cotizacion-formulario input,
.cotizacion-formulario select,
.cotizacion-formulario textarea {
  padding: 0.75rem 0.9rem 0.75rem 2.4rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

.cotizacion-formulario textarea {
  min-height: 100px;
}

.campo-formulario::before,
.campo-formulario-doble > div::before {
  font-size: 0.95rem;
  top: 2.6rem;
  left: 0.9rem;
}

.campo-formulario {
  margin-bottom: 0.2rem;
}

.campo-formulario-doble {
  flex-direction: column;
  gap: 0.5rem;
}

.campo-formulario-doble > div {
  width: 100%;
}

.btn-enviar-cotizacion {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-enviar-cotizacion svg {
  width: 18px;
  height: 18px;
}

.separador-formulario {
  margin: 1.2rem 0;
}

.encabezado-icono {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.encabezado-icono svg {
  width: 22px;
  height: 22px;
}

/* Estados visuales */
.campo-valido input,
.campo-valido select,
.campo-valido textarea {
  border-width: 2px;
}

.campo-invalido input,
.campo-invalido select,
.campo-invalido textarea {
  border-width: 2px;
}

/* Scroll personalizado */
.cotizacion-contenido::-webkit-scrollbar {
  width: 5px;
}

.cotizacion-contenido::-webkit-scrollbar-track {
  background: var(--color-borde);
}

.cotizacion-contenido::-webkit-scrollbar-thumb {
  background-color: var(--color-primario);
}
/* --------------------------------------------
   ESTILOS ESPECÍFICOS PARA ACERCA-DE.HTML (360px)
-------------------------------------------- */
.acerca-full {
  padding: 2.5rem 0;
}

.acerca-contenedor {
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
}

.acerca-info {
  flex: 1 1 auto;
  padding: 1.5rem 1.2rem;
  max-width: 100%;
  border-left: 6px solid #2A5C8D;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.acerca-info::after {
  width: 5px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.acerca-imagen,
.acerca-imagen-perfil {
  flex: 1 1 auto;
  max-width: 100%;
  min-height: 300px; /* Aumentado de 240px */
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.acerca-imagen img,
.acerca-imagen-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

.acerca-titulo {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.acerca-subtitulo {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.acerca-descripcion {
  font-size: 0.97rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.acerca-separador {
  width: 70px;
  height: 3px;
  margin: 0.8rem 0 1.5rem;
}

.acerca-lista li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.acerca-destacado {
  padding: 1.2rem 1rem;
  margin: 1.2rem 0;
  border-radius: 8px;
}

.acerca-perfil-info {
  padding: 0.4rem 0.5rem;
  background: rgba(42, 92, 141, 0.9);
  color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  text-align: center;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
  display: block; /* ← ELIMINA gap de flex */
  line-height: 1; /* ← ANULA espaciado vertical */
}

.acerca-perfil-info h3 {
  font-size: 0.95rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
}

.acerca-perfil-cargo {
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #1abc9c;
}

.acerca-perfil-experiencia {
  font-size: 0.75rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}



/* --------------------------------------------
   SECCIÓN: Lo Que Nos Hace Diferentes (360px)
-------------------------------------------- */
 .bg-diferenciales {
    padding: 4rem 1.2rem;
    text-align: center;
  }

  .diferenciales-titulo {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .diferenciales-subtitulo {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .diferenciales-separador {
    width: 60px;
    height: 3px;
    margin-bottom: 1.2rem;
  }

  .diferenciales-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.2rem;
  }

  .diferencial-card {
    padding: 1.4rem 1rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

  .diferencial-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .diferencial-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .diferencial-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

/* --------------------------------------------
   SECCIÓN: Valores (360px)
-------------------------------------------- */
  .bg-valores {
    padding: 4rem 1.2rem;
  }

  .valores-container {
    flex-direction: column;
    gap: 2rem;
  }

  .valores-content,
  .valores-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .valores-image {
    min-height: 240px;
    border-radius: 16px;
  }

  .valores-image img {
    border-radius: 16px;
  }

  .valores-titulo {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .valores-separador {
    width: 60px;
    height: 3px;
    margin-bottom: 1.2rem;
  }

  .valores-descripcion {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .valores-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .valor-item {
    padding: 1.4rem 1rem;
    border-radius: 14px;
    gap: 1rem;
  }

  .valor-icon {
    font-size: 1.7rem;
  }

  .valor-text h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }

  .valor-text p {
    font-size: 0.9rem;
    line-height: 1.45;
  }
/* --------------------------------------------
   SECCIÓN: Tecnología (360px)
-------------------------------------------- */
/* Fondo oscuro profesional */
.bg-tecnologia {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 3rem 1rem;
  color: #ffffff;
}

/* Encabezado */
.tech-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.tech-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.tech-separador {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #1abc9c, #2A5C8D);
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.tech-subtitulo {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 90%;
}

/* Grid vertical */
.tech-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

/* Tarjeta vertical */
.tech-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  width: 100%;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

/* Imagen en la tarjeta */
.tech-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Título */
.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #ffffff;
  line-height: 1.2;
}

/* Descripción */
.tech-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin: 0;
}


/* --------------------------------------------
   SECCIÓN: CTA (360px)
-------------------------------------------- */
  .about-cta {
    padding: 3.5rem 1rem;
    background: linear-gradient(135deg, #2A5C8D, #14548f);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .about-cta::before {
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
  }

  .cta-container {
    padding: 0;
  }

  .about-cta h2 {
    font-size: 2rem;
    line-height: 1.35;
    margin-bottom: 1.2rem;
  }

  .about-cta p {
    font-size: 1rem;
    margin-bottom: 2.2rem;
    padding: 0 0.5rem;
    line-height: 1.6;
  }

 .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  }

  .cta-button.secondary {
    border-width: 1.5px;
  }

  .msn-cotizacion,
  .msn-secondary {
    font-size: 1rem;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
/* --------------------------------------------
   FORMULARIO DE CONTACTO – AJUSTES 360px
-------------------------------------------- */
  /* 📌 Sección general */
  .bg-contacto {
    padding: 3.5rem 1rem;
    background-position: center;
    background-size: cover;
  }

  .contacto-contenedor {
    flex-direction: column;
    gap: 2rem;
  }

  /* 📌 Formulario */
  .contacto-formulario {
    padding: 1.6rem 1.2rem 2rem;
    border-radius: 16px;
  }

  .contacto-formulario form {
    gap: 1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .form-group label {
    font-size: 0.92rem;
  }

  input,
  select,
  textarea {
    font-size: 0.95rem;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
  }

  .contacto-btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .contacto-mensaje-exito {
    font-size: 0.9rem;
    padding: 0.9rem;
    border-radius: 8px;
  }

  /* 📌 Títulos y descripción */
  .contacto-titulo {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .contacto-separador {
    width: 60px;
    height: 3px;
    margin: 0 auto 1rem;
  }

  .contacto-descripcion {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1.8rem;
  }

  /* 📌 Información de contacto */
  .contacto-info {
    padding: 1.6rem 1.2rem;
    border-radius: 16px;
  }

  .info-block {
    flex-direction: row;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .info-block i {
    font-size: 1.3rem;
    margin-top: 0.2rem;
  }

  .info-block h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .info-block p,
  .info-block span {
    font-size: 0.9rem;
  }

  /* 📌 Botón de WhatsApp */
  .contacto-whatsapp {
    margin-top: 1.5rem;
    text-align: center;
  }

  .contacto-whatsapp a {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  /* 📌 Sección secundaria de fondo si aplica */
  .contacto-pg-section {
    padding: 4rem 1rem;
    background-position: center;
    background-size: cover;
  }


  /* ===================================== */
/* Sección Servicio Ayuda Renombrada */
/* ===================================== */

.seccion-servicio-ayuda {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

.servicio-ayuda-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.seccion-servicio-ayuda h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.seccion-servicio-ayuda p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  color: #dfe7f2;
  line-height: 1.7;
}

.servicio-ayuda-botones {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Estilos base para ambos botones */
.servicio-ayuda-botones .btnsv-llamar,
.servicio-ayuda-botones .btnsv-mensaje {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Botón primario */
.servicio-ayuda-botones .btnsv-llamar {
  background-color: #ffffff;
  color: #2a5c8d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.servicio-ayuda-botones .btnsv-llamar i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.servicio-ayuda-botones .btnsv-llamar:hover {
  background-color: #f3f7fa;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Botón secundario */
.servicio-ayuda-botones .btnsv-mensaje {
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.servicio-ayuda-botones .btnsv-mensaje i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.servicio-ayuda-botones .btnsv-mensaje:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: #eaeaea;
}
  }
/* Aplicaciones específicas para móviles */
@media (max-width: 480px) {
  .main-header {
    padding: 0 1.5rem;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-img {
    max-height: 65px;
  }

  .logo-text-img {
    max-height: 110px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    z-index: 1000;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu a {
    font-size: 1.3rem;
  }

  .hero {
    height: auto;
    min-height: 450px;
    padding: 2.5rem 1.5rem;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .tel-button {
    font-size: 1.3rem;
    padding: 5px 12px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    color: var(--accent-color);
  }

  .tel-button i {
    font-size: 1.3rem;
    margin-left: 6px;
  }

  .desktop-visible {
    display: none !important;
  }

  .mobile-visible {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-header.scrolled {
    padding: 0 1.5rem;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .home-section {
    padding: 2.5rem 1rem;
    min-height: 650px;
    background-attachment: scroll;
  }

  .home-content-wrapper {
    padding: 0 15px;
  }

  .home-box {
    padding: 2.8rem 1.5rem 2.5rem;
    border-radius: 16px;
    max-width: 98%;
  }

  .home-box h1 {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 1.2rem;
  }

  .home-box p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    padding: 0 0.5rem;
  }

  .home-buttons {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .principal-primary,
  .principal-secondary {
    font-size: 1rem;
    padding: 0.9rem 2rem;
    min-width: 180px;
    width: 100%;
    margin-bottom: 0.8rem; /* ✅ Separación entre botones */
  }

  .principal-secondary:last-child {
    margin-bottom: 0;
  }

  .principal-primary:hover,
  .principal-secondary:hover {
    transform: translateY(-2px);
  }

  .principal-primary:active,
  .principal-secondary:active {
    transform: translateY(0);
  }
  .stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .stat-box {
    padding: 1.2rem;
    text-align: center;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .stat-box .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
  }

  .stat-box .icon {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
  }

  .stat-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
  }

  .stat-box p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
  }

  /* Colores específicos */
  .stat-blue {
    background: linear-gradient(180deg, #E3F2FD, #FFFFFF);
  }

  .stat-blue .top-bar {
    background: var(--primary-color);
  }

  .stat-blue .icon {
    color: var(--primary-color);
  }

  .stat-green {
    background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
  }

  .stat-green .top-bar {
    background: var(--secondary-color);
  }

  .stat-green .icon {
    color: var(--secondary-color);
  }

  .stat-orange {
    background: linear-gradient(180deg, #FFF3E0, #FFFFFF);
  }

  .stat-orange .top-bar {
    background: var(--accent-color);
  }

  .stat-orange .icon {
    color: var(--accent-color);
  }

  .stat-brown {
    background: linear-gradient(180deg, #EFEBE9, #FFFFFF);
  }

  .stat-brown .top-bar {
    background: #5D4037;
  }

  .stat-brown .icon {
    color: #5D4037;
  }

  .stat-cyan {
    background: linear-gradient(180deg, #E1F5FE, #FFFFFF);
  }

  .stat-cyan .top-bar {
    background: #0288D1;
  }

  .stat-cyan .icon {
    color: #0288D1;
  }

  .stat-purple {
    background: linear-gradient(180deg, #F3E5F5, #FFFFFF);
  }

  .stat-purple .top-bar {
    background: #8E24AA;
  }

  .stat-purple .icon {
    color: #8E24AA;
  }

  .stat-teal {
    background: linear-gradient(180deg, #E0F2F1, #FFFFFF);
  }

  .stat-teal .top-bar {
    background: #00796B;
  }

  .stat-teal .icon {
    color: #00796B;
  }

  .typewriter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
  }

  .typewriter-wrapper .typewriter {
    font-size: 0;
    color: transparent;
    animation: none !important;
    position: relative;
  }

  .typewriter-wrapper .typewriter::before,
  .typewriter-wrapper .typewriter::after {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-align: center;
    width: 100%;
  }

  .typewriter-wrapper .typewriter::before {
    content: "SOLUCIONES";
    color: white;
    animation-delay: 0.3s;
  }

  .typewriter-wrapper .typewriter::after {
    content: "TOPOGRÁFICAS";
    color: #4CAF50;
    animation-delay: 0.6s;
  }

  .home-box h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .typewriter-wrapper {
    margin-bottom: 0.4rem;
  }

  .fade-in-delayed {
    animation-delay: 0.5s !important;
    margin-top: 0;
  }

  /* MODIFICACIONES PRINCIPALES PARA LA SECCIÓN DE EXPERTOS */
  .pro-bg-section {
    padding: 2.5rem 1.2rem;
  }

  .pro-box {
    display: flex !important;
    flex-direction: column !important;
    padding: 1.5rem 0 !important;
    gap: 1.5rem !important;
  }

  .about-text {
    order: 1;
    min-width: unset;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .about-text h2.pro-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    padding: 0 0.8rem;
    text-align: left;
  }

  .about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    padding: 0 0.8rem;
  }

  .about-columns {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0 0.8rem;
  }

  .about-columns ul {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .about-columns li {
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
  }

  .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 1.2rem;
    width: calc(100% - 1.5rem);
    margin: 0 auto;
    display: block;
  }

  .about-image {
    order: 2 !important;
    width: 100% !important;
    margin: 1.5rem 0 0 0 !important;
    padding: 0 !important;
    display: block !important;
    float: none !important;
  }

  .about-buttons {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .image-wrapper img,
  .pro-image-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: none !important;
    display: block !important;
    float: none !important;
  }

  .image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    width: calc(100% - 2.5rem);
    margin: 0 auto;
  }

  .image-wrapper img {
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
    height: auto;
    border: none;
    display: block;
  }

  .precision-badge-inside {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    background-color: #2196F3;
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .with-accent-bar {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: 4px solid #3A7D44;
    border-bottom: 2px solid #2196F3;
  }

  .pro-title span {
    padding: 0.3rem 0.5rem;
    font-size: 1.1rem;
  }

  .pro-image-wrapper img {
    border-width: 2px;
  }

  .btn-primary.pro-btn {
    max-width: 90%;
    width: auto;
    margin: 1.5rem auto 0 auto;
    display: block;
    text-align: center;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
  }

  .services-highlights {
    padding: 2.5rem 1.5rem !important;
  }

  .services-highlights h2,
  .services-highlights p,
  .services-highlights .btn-glow,
  .services-highlights .servicio-card-hover {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .services-highlights h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .services-highlights p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .services-highlights .btn-glow.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
  }

  .services-highlights .servicio-card-hover.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }

  .services-highlights .servicio-card-hover {
    width: 100% !important;
    margin: 0 auto 2.5rem auto !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .services-highlights .servicio-card-hover img {
    height: 180px !important;
    object-fit: cover;
    width: 100%;
  }

  .services-highlights h2 {
    font-size: 2rem !important;
    text-align: center;
  }

  .services-highlights p {
    font-size: 1.1rem !important;
    padding: 0 0.8rem;
    line-height: 1.5;
  }

  .services-highlights .btn-glow {
    font-size: 1.1rem !important;
    padding: 1rem 1.8rem !important;
    margin-top: 2.5rem;
    width: auto;
  }

  .services-highlights h3 {
    font-size: 1.2rem !important;
  }

  .services-highlights ul {
    font-size: 1rem !important;
    padding-left: 1.2rem;
  }

  .services-highlights a {
    font-size: 0.9rem !important;
    padding: 0.6rem 1rem !important;
  }

  .services-highlights > div > div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 0.8rem !important;
  }

  .equipment-section {
    padding: 2.5rem 1.5rem !important;
  }

  .equipment-header h2,
  .equipment-header p,
  .pro-equipo-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .equipment-header h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .equipment-header p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .pro-equipo-card.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }

  .equipment-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .equipment-header h2 {
    font-size: 2rem !important;
    color: white;
    position: relative;
    display: inline-block;
  }

  .equipment-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
  }

  .equipment-header p {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.2rem auto 0;
    line-height: 1.6;
    max-width: 100%;
  }

  .equipment-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
  }

  .pro-equipo-card {
    flex-direction: column !important;
    padding: 2rem !important;
    min-height: auto !important;
    align-items: flex-start !important;
  }

  .pro-equipo-card.reverse {
    flex-direction: column-reverse !important;
  }

  .pro-equipo-card img {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    border-radius: 14px !important;
  }

  .pro-equipo-content h3 {
    font-size: 1.4rem !important;
    margin-bottom: 1rem !important;
  }

  .pro-equipo-content p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
  }

  .pro-equipo-card::before {
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.04);
  }

  .pro-equipo-card.verde::before {
    box-shadow: inset 0 0 0 3px #A5D6A7;
  }

  .pro-equipo-card.azul::before {
    box-shadow: inset 0 0 0 3px #90CAF9;
  }

  .pro-equipo-card.naranja::before {
    box-shadow: inset 0 0 0 3px #FFCC80;
  }

  .pro-equipo-card.morado::before {
    box-shadow: inset 0 0 0 3px #CE93D8;
  }

  .clients-section {
    padding: 3.5rem 1.5rem;
  }

  .clients-header h2 {
    font-size: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header h2::after {
    width: 50%;
    height: 3px;
    bottom: -6px;
  }

  .clients-header h2.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-header p {
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 0 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header p.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-logos {
    gap: 2rem;
  }

  .client-card {
    width: 160px;
    height: 100px;
    padding: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .client-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  .client-card img {
    max-height: 60px;
  }

  .btn-glow {
    font-size: 1.1rem;
    padding: 1.2rem 2.2rem;
  }

  .solicitar-cotizacion-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .btn-glow.llamar-btn {
    width: 100%;
    text-align: center;
  }

  /* --------------------------------------------
    ESTILOS DE MEDIA PARA SERVICIOS.HTML
  -------------------------------------------- */  
  .service-nav {
    display: none !important;
  }

  .mobile-services-menu {
    display: block;
  }

  /* CONTENEDOR FIJO PARA BOTÓN Y MENÚ */
  .services-wrapper {
    position: fixed;
    right: 0;
    bottom: 15%;
    z-index: 9999;
  }

  /* BOTÓN VERTICAL PEGADO A LA DERECHA */
  .open-services-tab {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 0.6rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.3rem;
    font-weight: 900;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.25);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    z-index: 2;
  }

  .open-services-tab .arrow {
    animation: bounceArrow 1s infinite;
  }

  @keyframes bounceArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
  }

  /* MENÚ POSICIONADO ENCIMA DEL BOTÓN */
  .side-services-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 240px;
    background-color: #1f1f2e;
    z-index: 1;
    padding: 0.4rem 0.5rem;
    box-shadow: -3px 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 12px 0 0 12px;
    display: none;
    flex-direction: column;
    transition: right 0.35s ease;
  }

  /* MOSTRAR MENÚ CUANDO ESTÁ ABIERTO */
  .side-services-menu.open {
    display: flex;
  }

  .close-services-button {
    position: absolute;
    left: -16px;
    top: -16px;
    background-color: white;
    color: #1f1f2e;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 9999;
  }

  .close-services-button:hover {
    background-color: #e0e0e0;
  }

  /* LISTADO DE ENLACES DE SERVICIOS */
  .services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .services-list a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: background-color 0.3s;
  }

  .services-list a:hover {
    background-color: var(--primary-color);
    color: white;
  }

  /* OCULTAR BOTÓN CUANDO MENÚ ESTÁ ABIERTO */
  .side-services-menu.open ~ .open-services-tab {
    display: none !important;
  }

  /* ANIMACIÓN DE ENTRADA (aparecer deslizándose) */
  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ANIMACIÓN DE SALIDA (desaparecer deslizándose) */
  @keyframes slideOut {
    0% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(20px);
    }
  }

  /* CLASES PARA CONTROLAR ESTAS ANIMACIONES */
  .side-services-menu.anim-in {
    animation: slideIn 0.3s ease-out forwards;
  }

  .side-services-menu.anim-out {
    animation: slideOut 0.3s ease-in forwards;
  }

  .services-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  /* MOSTRAR EL FONDO AL ACTIVARSE */
  .services-overlay.active {
    display: block;
    opacity: 1;
  }
/* --------------------------------------------
   ESTILOS DE MEDIA PARA SERVICIOS.HTML BLOQUES DE SERVICIOS (480px)
-------------------------------------------- */
   /* Contenedor principal optimizado */
  .contenedor-botones-movil {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Estilos base para botones móviles */
  .boton-principal-movil,
  .boton-secundario-movil {
    padding: 1rem 1.5rem;
    border-radius: var(--radio-bordes);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transicion-rapida);
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
  }

  /* Botón principal móvil */
  .boton-principal-movil {
    background-color: var(--color-primario);
    color: var(--color-texto);
    box-shadow: var(--sombra-suave);
  }

  .boton-principal-movil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-primario-hover);
    transition: width 0.25s ease;
    z-index: -1;
  }

  .boton-principal-movil:hover,
  .boton-principal-movil:focus {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    outline: none;
  }

  .boton-principal-movil:hover::before,
  .boton-principal-movil:focus::before {
    width: 100%;
  }

  /* Botón secundario móvil */
  .boton-secundario-movil {
    background-color: transparent;
    color: var(--color-secundario);
    border: 2px solid var(--color-secundario);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
  }

  .boton-secundario-movil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-secundario);
    transition: width 0.25s ease;
    z-index: -1;
  }

  .boton-secundario-movil:hover,
  .boton-secundario-movil:focus {
    color: var(--color-texto);
    transform: translateY(-2px);
    box-shadow: var(--sombra-suave);
    outline: none;
  }

  .boton-secundario-movil:hover::before,
  .boton-secundario-movil:focus::before {
    width: 100%;
  }

  /* Efecto activo para ambos botones */
  .boton-principal-movil:active,
  .boton-secundario-movil:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }

  /* Icono optimizado para móvil */
  .icono-movil {
    font-size: 1rem;
  }

  .modal-servicio {
    padding: 1rem;
  }

  .modal-contenido-grid {
    display: flex;
    flex-direction: column !important;
    padding: 1.5rem 1.2rem;
    max-width: 100%;
    border-radius: 16px;
  }

  .modal-texto {
    order: 1 !important;
    flex: 1 1 auto;
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 0;
    text-align: left;
  }

  .modal-texto h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .modal-texto p {
    margin-bottom: 0.8rem;
  }

  .modal-texto p:last-of-type {
    margin-bottom: 0;
  }

  .modal-texto .modal-cerrar {
    top: -12px;
    right: -12px;
    font-size: 1.8rem;
  }

  .modal-imagen {
    order: 2 !important;
    flex: 0 0 auto;
    min-height: auto;
    padding: 0;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-imagen img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 0;
  }

  /* Fondo oscuro que cubre toda la pantalla */
  #fondo-cotizacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: none;
  }

  #fondo-cotizacion.activo {
    display: block;
  }

  /* Panel del formulario */
  .cotizacion-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background-color: white;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: -4px 0 12px rgba(0,0,0,0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .cotizacion-panel.activo {
    transform: translateX(0);
  }

  .cotizacion-contenido {
    position: relative;
    padding: 1.5rem 1.2rem;
  }

  .cerrar-cotizacion {
    position: fixed;
    top: -0.5rem;
    left: -0.5rem;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
    background-color: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  .cotizacion-panel.activo .cerrar-cotizacion {
    display: block !important;
  }

  /* Scroll bloqueado en body */
  .bloquear-scroll {
    overflow: hidden;
    height: 100vh;
  }

  /* Contenido general */
  .cotizacion-encabezado {
    margin-bottom: 2rem;
  }

  .cotizacion-encabezado h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .cotizacion-encabezado p {
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.4;
    margin-top: 0.6rem;
  }

  .cotizacion-formulario {
    gap: 1.2rem;
  }

  .cotizacion-formulario label {
    font-size: 1rem;
  }

  .cotizacion-formulario input,
  .cotizacion-formulario select,
  .cotizacion-formulario textarea {
    padding: 0.9rem 1.1rem 0.9rem 2.6rem;
    font-size: 1rem;
    border-radius: 10px;
  }

  .cotizacion-formulario textarea {
    min-height: 120px;
  }

  .campo-formulario::before,
  .campo-formulario-doble > div::before {
    font-size: 1.05rem;
    top: 2.8rem;
    left: 1rem;
  }

  .campo-formulario {
    margin-bottom: 0.3rem;
  }

  .campo-formulario-doble {
    flex-direction: column;
    gap: 0.8rem;
  }

  .campo-formulario-doble > div {
    width: 100%;
  }

  .btn-enviar-cotizacion {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .btn-enviar-cotizacion svg {
    width: 20px;
    height: 20px;
  }

  .separador-formulario {
    margin: 1.5rem 0;
  }

  .encabezado-icono {
    width: 52px;
    height: 52px;
    margin-bottom: 1.2rem;
  }

  .encabezado-icono svg {
    width: 24px;
    height: 24px;
  }

  /* Estados visuales */
  .campo-valido input,
  .campo-valido select,
  .campo-valido textarea {
    border-width: 2px;
  }

  .campo-invalido input,
  .campo-invalido select,
  .campo-invalido textarea {
    border-width: 2px;
  }

  /* Scroll personalizado */
  .cotizacion-contenido::-webkit-scrollbar {
    width: 6px;
  }

  .cotizacion-contenido::-webkit-scrollbar-track {
    background: var(--color-borde);
  }

  .cotizacion-contenido::-webkit-scrollbar-thumb {
    background-color: var(--color-primario);
  }

  /* --------------------------------------------
     ESTILOS ESPECÍFICOS PARA ACERCA-DE.HTML (480px)
  -------------------------------------------- */
  .acerca-full {
    padding: 3rem 0;
  }

  .acerca-contenedor {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .acerca-info {
    flex: 1 1 auto;
    padding: 2rem 1.5rem;
    max-width: 100%;
    border-left: 6px solid #2A5C8D;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .acerca-info::after {
    width: 6px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
  }

  .acerca-imagen,
  .acerca-imagen-perfil {
    flex: 1 1 auto;
    max-width: 100%;
    min-height: 340px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
  }

  .acerca-imagen img,
  .acerca-imagen-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
  }

  .acerca-titulo {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }

  .acerca-subtitulo {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
  }

  .acerca-descripcion {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .acerca-separador {
    width: 80px;
    height: 4px;
    margin: 1rem 0 1.8rem;
  }

  .acerca-lista li {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
  }

  .acerca-destacado {
    padding: 1.5rem 1.2rem;
    margin: 1.5rem 0;
    border-radius: 10px;
  }

  .acerca-perfil-info {
    padding: 0.6rem 0.7rem;
    background: rgba(42, 92, 141, 0.9);
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    text-align: center;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    display: block;
    line-height: 1;
  }

  .acerca-perfil-info h3 {
    font-size: 1.05rem;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
  }

  .acerca-perfil-cargo {
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
    line-height: 1;
    color: #1abc9c;
  }

  .acerca-perfil-experiencia {
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }

  /* --------------------------------------------
     SECCIÓN: Lo Que Nos Hace Diferentes (480px)
  -------------------------------------------- */
  .bg-diferenciales {
    padding: 5rem 1.5rem;
    text-align: center;
  }

  .diferenciales-titulo {
    font-size: 2.3rem;
    margin-bottom: 1rem;
  }

  .diferenciales-subtitulo {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .diferenciales-separador {
    width: 70px;
    height: 4px;
    margin-bottom: 1.5rem;
  }

  .diferenciales-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .diferencial-card {
    padding: 1.8rem 1.2rem;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

  .diferencial-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
  }

  .diferencial-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .diferencial-card p {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* --------------------------------------------
     SECCIÓN: Valores (480px)
  -------------------------------------------- */
  .bg-valores {
    padding: 5rem 1.5rem;
  }

  .valores-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .valores-content,
  .valores-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .valores-image {
    min-height: 280px;
    border-radius: 18px;
  }

  .valores-image img {
    border-radius: 18px;
  }

  .valores-titulo {
    font-size: 2.3rem;
    margin-bottom: 1rem;
  }

  .valores-separador {
    width: 70px;
    height: 4px;
    margin-bottom: 1.5rem;
  }

  .valores-descripcion {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
  }

  .valores-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .valor-item {
    padding: 1.8rem 1.2rem;
    border-radius: 16px;
    gap: 1.2rem;
  }

  .valor-icon {
    font-size: 1.9rem;
  }

  .valor-text h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
  }

  .valor-text p {
    font-size: 1rem;
    line-height: 1.45;
  }

  /* --------------------------------------------
     SECCIÓN: Tecnología (480px)
  -------------------------------------------- */
  .bg-tecnologia {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    padding: 4rem 1.5rem;
    color: #ffffff;
  }

  /* Encabezado */
  .tech-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
  }

  .tech-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
  }

  .tech-separador {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1abc9c, #2A5C8D);
    border-radius: 2px;
    margin: 0 auto 1.2rem;
  }

  .tech-subtitulo {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 90%;
  }

  /* Grid vertical */
  .tech-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    margin: 0 auto;
  }

  /* Tarjeta vertical */
  .tech-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    width: 100%;
  }

  .tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  }

  /* Imagen en la tarjeta */
  .tech-card img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1.5rem;
  }

  /* Título */
  .tech-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
    line-height: 1.2;
  }

  /* Descripción */
  .tech-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    margin: 0;
  }

  /* --------------------------------------------
     SECCIÓN: CTA (480px)
  -------------------------------------------- */
  .about-cta {
    padding: 4.5rem 1.5rem;
    background: linear-gradient(135deg, #2A5C8D, #14548f);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .about-cta::before {
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
  }

  .cta-container {
    padding: 0;
  }

  .about-cta h2 {
    font-size: 2.3rem;
    line-height: 1.35;
    margin-bottom: 1.5rem;
  }

  .about-cta p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    line-height: 1.6;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2rem;
    padding: 0 1.5rem;
  }

  .cta-button {
    width: 100%;
    max-width: 320px;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  }

  .cta-button.secondary {
    border-width: 1.5px;
  }

  .msn-cotizacion,
  .msn-secondary {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
/* --------------------------------------------
   FORMULARIO DE CONTACTO – AJUSTES 480px
-------------------------------------------- */
  /* 📌 Sección general */
  .bg-contacto {
    padding: 4.5rem 1.5rem;
    background-position: center;
    background-size: cover;
  }

  .contacto-contenedor {
    flex-direction: column;
    gap: 2.5rem;
  }

  /* 📌 Formulario */
  .contacto-formulario {
    padding: 2rem 1.5rem 2.5rem;
    border-radius: 18px;
  }

  .contacto-formulario form {
    gap: 1.2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1.2rem;
  }

  .form-group label {
    font-size: 1rem;
  }

  input,
  select,
  textarea {
    font-size: 1.05rem;
    padding: 0.8rem 1.1rem;
    border-radius: 10px;
  }

  .contacto-btn {
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    border-radius: 10px;
  }

  .contacto-mensaje-exito {
    font-size: 1rem;
    padding: 1.1rem;
    border-radius: 10px;
  }

  /* 📌 Títulos y descripción */
  .contacto-titulo {
    font-size: 2.1rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .contacto-separador {
    width: 70px;
    height: 4px;
    margin: 0 auto 1.2rem;
  }

  .contacto-descripcion {
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 2.2rem;
  }

  /* 📌 Información de contacto */
  .contacto-info {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .info-block {
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .info-block i {
    font-size: 1.5rem;
    margin-top: 0.3rem;
  }

  .info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .info-block p,
  .info-block span {
    font-size: 1rem;
  }

  /* 📌 Botón de WhatsApp */
  .contacto-whatsapp {
    margin-top: 2rem;
    text-align: center;
  }

  .contacto-whatsapp a {
    padding: 0.9rem 1.3rem;
    font-size: 1.05rem;
    border-radius: 10px;
  }

  /* 📌 Sección secundaria de fondo si aplica */
  .contacto-pg-section {
    padding: 5rem 1.5rem;
    background-position: center;
    background-size: cover;
  }

  /* ===================================== */
  /* Sección Servicio Ayuda Renombrada (480px) */
  /* ===================================== */

  .seccion-servicio-ayuda {
    padding: 7rem 2.5rem;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
  }

  .servicio-ayuda-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .seccion-servicio-ayuda h2 {
    font-size: 2.9rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }

  .seccion-servicio-ayuda p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    color: #dfe7f2;
    line-height: 1.7;
  }

  .servicio-ayuda-botones {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  /* Estilos base para ambos botones */
  .servicio-ayuda-botones .btnsv-llamar,
  .servicio-ayuda-botones .btnsv-mensaje {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.3rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 240px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  /* Botón primario */
  .servicio-ayuda-botones .btnsv-llamar {
    background-color: #ffffff;
    color: #2a5c8d;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  }

  .servicio-ayuda-botones .btnsv-llamar i {
    margin-right: 12px;
    font-size: 1.2rem;
  }

  .servicio-ayuda-botones .btnsv-llamar:hover {
    background-color: #f3f7fa;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  }

  /* Botón secundario */
  .servicio-ayuda-botones .btnsv-mensaje {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
  }

  .servicio-ayuda-botones .btnsv-mensaje i {
    margin-right: 12px;
    font-size: 1.2rem;
  }

  .servicio-ayuda-botones .btnsv-mensaje:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: #eaeaea;
  }
 }
  /* Aplicaciones específicas para 576px */
@media (max-width: 576px) {
  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 1.5rem;
    height: 85px; /* ✅ Altura fija */
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent; /* ✅ Inicio transparente */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .logo-img {
    max-height: 65px;
  }

  .logo-text-img {
    max-height: 110px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    z-index: 1000;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu a {
    font-size: 1.3rem;
  }

  .hero {
    height: auto;
    min-height: 450px;
    padding: 2.5rem 1.5rem;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .tel-button {
    font-size: 1.3rem;
    padding: 5px 12px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    color: var(--accent-color);
  }

  .tel-button i {
    font-size: 1.3rem;
    margin-left: 6px;
  }

  .desktop-visible {
    display: none !important;
  }

  .mobile-visible {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-header.scrolled {
    padding: 0 1.5rem;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .home-section {
    padding: 2.5rem 1rem;
    min-height: 650px;
    background-attachment: scroll;
  }

  .home-content-wrapper {
    padding: 0 15px;
  }

  .home-box {
    padding: 2.6rem 1.5rem 2.4rem;
    border-radius: 16px;
    max-width: 98%;
  }

  .home-box h1 {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }

  .home-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    padding: 0 0.5rem;
  }

  .home-buttons {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
 .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    grid-auto-rows: auto;
  }

  .stat-box {
    width: 100%;
    max-width: 280px;
    padding: 1.2rem;
    text-align: center;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
  }

  /* Centra solo la última si hay número impar */
  .stats-grid > .stat-box:nth-last-child(1):nth-child(odd) {
    grid-column: span 2;
    justify-self: center;
    max-width: 280px;
  }

  .stat-box .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
  }

  .stat-box .icon {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
  }

  .stat-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
  }

  .stat-box p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
  }

  /* Colores específicos */
  .stat-blue {
    background: linear-gradient(180deg, #E3F2FD, #FFFFFF);
  }
  .stat-blue .top-bar { background: var(--primary-color); }
  .stat-blue .icon { color: var(--primary-color); }

  .stat-green {
    background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
  }
  .stat-green .top-bar { background: var(--secondary-color); }
  .stat-green .icon { color: var(--secondary-color); }

  .stat-orange {
    background: linear-gradient(180deg, #FFF3E0, #FFFFFF);
  }
  .stat-orange .top-bar { background: var(--accent-color); }
  .stat-orange .icon { color: var(--accent-color); }

  .stat-brown {
    background: linear-gradient(180deg, #EFEBE9, #FFFFFF);
  }
  .stat-brown .top-bar { background: #5D4037; }
  .stat-brown .icon { color: #5D4037; }

  .stat-cyan {
    background: linear-gradient(180deg, #E1F5FE, #FFFFFF);
  }
  .stat-cyan .top-bar { background: #0288D1; }
  .stat-cyan .icon { color: #0288D1; }

  .stat-purple {
    background: linear-gradient(180deg, #F3E5F5, #FFFFFF);
  }
  .stat-purple .top-bar { background: #8E24AA; }
  .stat-purple .icon { color: #8E24AA; }

  .stat-teal {
    background: linear-gradient(180deg, #E0F2F1, #FFFFFF);
  }
  .stat-teal .top-bar { background: #00796B; }
  .stat-teal .icon { color: #00796B; }

  .typewriter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
  }

  .typewriter-wrapper .typewriter {
    font-size: 0;
    color: transparent;
    animation: none !important;
    position: relative;
  }

  .typewriter-wrapper .typewriter::before,
  .typewriter-wrapper .typewriter::after {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-align: center;
    width: 100%;
  }

  .typewriter-wrapper .typewriter::before {
    content: "SOLUCIONES";
    color: white;
    animation-delay: 0.3s;
  }

  .typewriter-wrapper .typewriter::after {
    content: "TOPOGRÁFICAS";
    color: #4CAF50;
    animation-delay: 0.6s;
  }

  .home-box h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .typewriter-wrapper {
    margin-bottom: 0.4rem;
  }

  .fade-in-delayed {
    animation-delay: 0.5s !important;
    margin-top: 0;
  }

  /* MODIFICACIONES PRINCIPALES PARA LA SECCIÓN DE EXPERTOS */
  .pro-bg-section {
    padding: 2.5rem 1.2rem;
  }

  .pro-box {
    display: flex !important;
    flex-direction: column !important;
    padding: 1.5rem 0 !important;
    gap: 1.5rem !important;
  }

  .about-text {
    order: 1;
    min-width: unset;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .about-text h2.pro-title {
    font-size: 2.1rem;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    padding: 0 0.8rem;
    text-align: left;
  }

  .about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    padding: 0 0.8rem;
  }

  .about-columns {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0 0.8rem;
  }

  .about-columns ul {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .about-columns li {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 1.2rem;
    width: calc(100% - 1.5rem);
    margin: 0 auto;
    display: block;
  }

  .about-image {
    order: 2 !important;
    width: 100% !important;
    margin: 1.2rem 0 0 0 !important;
    padding: 0 !important;
    display: block !important;
    float: none !important;
  }

  .about-buttons {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
  }

  .image-wrapper img,
  .pro-image-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: none !important;
    display: block !important;
    float: none !important;
  }

  .image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    width: calc(100% - 2.5rem);
    margin: 0 auto;
  }

  .image-wrapper img {
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
    height: auto;
    border: none;
    display: block;
  }

  .precision-badge-inside {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    background-color: #2196F3;
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .with-accent-bar {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: 4px solid #3A7D44;
    border-bottom: 2px solid #2196F3;
  }

  .pro-title span {
    padding: 0.25rem 0.5rem;
    font-size: 1.1rem;
  }

  .pro-image-wrapper img {
    border-width: 2px;
  }

  .btn-primary.pro-btn {
    max-width: 90%;
    width: auto;
    margin: 1.2rem auto 0 auto;
    display: block;
    text-align: center;
    font-size: 1rem;
    padding: 0.9rem 1.3rem;
    border-radius: 10px;
  }

  .services-highlights {
    padding: 2.5rem 1.5rem !important;
  }

  .services-highlights h2,
  .services-highlights p,
  .services-highlights .btn-glow,
  .services-highlights .servicio-card-hover {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .services-highlights h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .services-highlights p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .services-highlights .btn-glow.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
  }

  .services-highlights .servicio-card-hover.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }

  .services-highlights .servicio-card-hover {
    width: 100% !important;
    margin: 0 auto 2.5rem auto !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .services-highlights .servicio-card-hover img {
    height: 180px !important;
    object-fit: cover;
    width: 100%;
  }

  .services-highlights h2 {
    font-size: 2rem !important;
    text-align: center;
  }

  .services-highlights p {
    font-size: 1.1rem !important;
    padding: 0 1rem;
    line-height: 1.6;
  }

  .services-highlights .btn-glow {
    font-size: 1.1rem !important;
    padding: 0.9rem 1.7rem !important;
    margin-top: 2.2rem;
    width: auto;
  }

  .services-highlights h3 {
    font-size: 1.2rem !important;
  }

  .services-highlights ul {
    font-size: 1rem !important;
    padding-left: 1.2rem;
  }

  .services-highlights a {
    font-size: 0.9rem !important;
    padding: 0.6rem 0.9rem !important;
  }

  .services-highlights > div > div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.8rem !important;
    padding: 0 1rem !important;
  }

  .equipment-section {
    padding: 2.5rem 1.5rem !important;
  }

  .equipment-header h2,
  .equipment-header p,
  .pro-equipo-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .equipment-header h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .equipment-header p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .pro-equipo-card.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }

  .equipment-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .equipment-header h2 {
    font-size: 2rem !important;
    color: white;
    position: relative;
    display: inline-block;
  }

  .equipment-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
  }

  .equipment-header p {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.2rem auto 0;
    line-height: 1.6;
    max-width: 100%;
  }

  .equipment-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
  }

  .pro-equipo-card {
    flex-direction: column !important;
    padding: 1.8rem !important;
    min-height: auto !important;
    align-items: flex-start !important;
  }

  .pro-equipo-card.reverse {
    flex-direction: column-reverse !important;
  }

  .pro-equipo-card img {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    border-radius: 14px !important;
  }

  .pro-equipo-content h3 {
    font-size: 1.4rem !important;
    margin-bottom: 1rem !important;
  }

  .pro-equipo-content p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
  }

  .pro-equipo-card::before {
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.04);
  }

  .pro-equipo-card.verde::before {
    box-shadow: inset 0 0 0 3px #A5D6A7;
  }

  .pro-equipo-card.azul::before {
    box-shadow: inset 0 0 0 3px #90CAF9;
  }

  .pro-equipo-card.naranja::before {
    box-shadow: inset 0 0 0 3px #FFCC80;
  }

  .pro-equipo-card.morado::before {
    box-shadow: inset 0 0 0 3px #CE93D8;
  }

  .clients-section {
    padding: 3.5rem 1.5rem;
  }

  .clients-header h2 {
    font-size: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header h2::after {
    width: 50%;
    height: 3px;
    bottom: -6px;
  }

  .clients-header h2.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header p.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-logos {
    gap: 2rem;
  }

  .client-card {
    width: 160px;
    height: 100px;
    padding: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .client-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  .client-card img {
    max-height: 60px;
  }

  .btn-glow {
    font-size: 1.1rem;
    padding: 1.1rem 2.2rem;
  }

  .solicitar-cotizacion-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 1.2rem;
  }

  .btn-glow.llamar-btn {
    width: 100%;
    text-align: center;
  }
/* --------------------------------------------
    ESTILOS DE MEDIA PARA SERVICIOS.HTML
-------------------------------------------- */  
  .servicio-full {
    padding: 1.5rem 1rem;
  }

  .servicio-contenedor {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0;
  }

  .servicio-info {
    padding: 1.2rem;
    border-left: 5px solid #1abc9c;
    border-radius: 10px;
  }

  .servicio-titulo {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .servicio-descripcion {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .servicio-lista {
    margin-bottom: 1.2rem;
  }

  .servicio-lista li {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
  }

  .servicio-lista i {
    font-size: 0.95rem;
    margin-right: 7px;
  }

  .servicio-imagen {
    order: 1;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
  }

  .servicio-imagen img {
    width: 100%;
    height: auto;
    display: block;
  }

.botones-servicio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.botones-servicio a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  min-width: 240px;
  max-width: 300px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.35s ease;
}

.botones-servicio a i {
  margin-right: 0.6rem;
}
/* --------------------------------------------
   ESTILOS DE MEDIA PARA SERVICIOS.HTML BLOQUES DE SERVICIOS
-------------------------------------------- */
 .modal-servicio {
    padding: 0.5rem;
  }

  .modal-contenido-grid {
    display: flex;
    flex-direction: column !important;
    padding: 1rem 0.8rem;
    max-width: 100%;
    border-radius: 12px;
  }

  .modal-texto {
    order: 1 !important;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0;
    text-align: left;
  }

  .modal-texto h3 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.6rem;
  }

  .modal-texto p {
    margin-bottom: 0.6rem;
  }

  .modal-texto p:last-of-type {
    margin-bottom: 0;
  }

  .modal-texto .modal-cerrar {
    top: -6px;
    right: -6px;
    font-size: 1.5rem;
  }

  .modal-imagen {
    order: 2 !important;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .modal-imagen img {
    width: 100%;
    max-width: 100%;
    max-height: 350px; /* 🔹 Aumentamos tamaño máximo */
    object-fit: cover;  /* 🔹 Más agresivo que contain para evitar espacios muertos */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  #fondo-cotizacion {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1.5px);
  }

  .cotizacion-panel {
    max-width: 100%;
    height: 100vh;
    box-shadow: none;
  }

  .cotizacion-contenido {
    padding: 1rem;
  }

  .cerrar-cotizacion {
    top: 0.2rem;
    left: 0.2rem;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .cotizacion-encabezado {
    margin-bottom: 1.2rem;
  }

  .cotizacion-encabezado h2 {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .cotizacion-encabezado p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .cotizacion-formulario {
    gap: 1rem;
  }

  .cotizacion-formulario label {
    font-size: 0.85rem;
  }

  .cotizacion-formulario input,
  .cotizacion-formulario select,
  .cotizacion-formulario textarea {
    padding: 0.7rem 1rem 0.7rem 2.4rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .cotizacion-formulario textarea {
    min-height: 90px;
  }

  .campo-formulario::before,
  .campo-formulario-doble > div::before {
    font-size: 0.9rem;
    top: 2.5rem;
    left: 0.8rem;
  }

  .campo-formulario {
    margin-bottom: 0.3rem;
  }

  .campo-formulario-doble {
    flex-direction: column;
    gap: 0.5rem;
  }

  .campo-formulario-doble > div {
    width: 100%;
  }

  .btn-enviar-cotizacion {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .btn-enviar-cotizacion svg {
    width: 18px;
    height: 18px;
  }

  .separador-formulario {
    margin: 1rem 0;
  }

  .encabezado-icono {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
  }

  .encabezado-icono svg {
    width: 22px;
    height: 22px;
  }

  .campo-valido input,
  .campo-valido select,
  .campo-valido textarea,
  .campo-invalido input,
  .campo-invalido select,
  .campo-invalido textarea {
    border-width: 2px;
  }

  .cotizacion-contenido::-webkit-scrollbar {
    width: 4px;
  }

  .cotizacion-contenido::-webkit-scrollbar-track {
    background: var(--color-borde);
  }

  .cotizacion-contenido::-webkit-scrollbar-thumb {
    background-color: var(--color-primario);
  }
/* --------------------------------------------
   ESTILOS DE MEDIA PARA SERVICIOS.HTML MENÚ LATERAL
-------------------------------------------- */
  
  .service-nav {
    display: none !important;
  }

  .mobile-services-menu {
    display: block;
  }

  /* CONTENEDOR FIJO PARA BOTÓN Y MENÚ */
  .services-wrapper {
    position: fixed;
    right: 0;
    bottom: 15%;
    z-index: 9999;
  }

  /* BOTÓN VERTICAL PEGADO A LA DERECHA */
  .open-services-tab {
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 0.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.2rem;
    font-weight: 900;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.25);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    z-index: 2;
  }

  .open-services-tab .arrow {
    animation: bounceArrow 1s infinite;
  }

  @keyframes bounceArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
  }

  /* MENÚ POSICIONADO ENCIMA DEL BOTÓN */
  .side-services-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 210px;
    background-color: #1f1f2e;
    z-index: 1;
    padding: 0.3rem 0.4rem;
    box-shadow: -3px 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 12px 0 0 12px;
    display: none;
    flex-direction: column;
    transition: right 0.35s ease;
  }

  .side-services-menu.open {
    display: flex;
  }

  .close-services-button {
    position: absolute;
    left: -14px;
    top: -14px;
    background-color: white;
    color: #1f1f2e;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 9999;
  }

  .close-services-button:hover {
    background-color: #e0e0e0;
  }

  /* LISTADO DE ENLACES DE SERVICIOS */
  .services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .services-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    transition: background-color 0.3s;
  }

  .services-list a:hover {
    background-color: var(--primary-color);
    color: white;
  }

  /* OCULTAR BOTÓN CUANDO MENÚ ESTÁ ABIERTO */
  .side-services-menu.open ~ .open-services-tab {
    display: none !important;
  }

  /* ANIMACIÓN DE ENTRADA */
  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ANIMACIÓN DE SALIDA */
  @keyframes slideOut {
    0% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(20px);
    }
  }

  .side-services-menu.anim-in {
    animation: slideIn 0.3s ease-out forwards;
  }

  .side-services-menu.anim-out {
    animation: slideOut 0.3s ease-in forwards;
  }

  .services-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .services-overlay.active {
    display: block;
    opacity: 1;
  }
/* --------------------------------------------
   ESTILOS ESPECÍFICOS PARA ACERCA-DE.HTML (576px)
-------------------------------------------- */

 /* --------------------------------------------
   ESTILOS ESPECÍFICOS PARA ACERCA-DE.HTML (576px)
-------------------------------------------- */
.acerca-full {
  padding: 3rem 0;
}

.acerca-contenedor {
  flex-direction: column;
  gap: 2rem;
  padding: 0 1.5rem;
}

.acerca-info {
  flex: 1 1 auto;
  padding: 2rem 1.5rem;
  max-width: 100%;
  border-left: 6px solid #2A5C8D;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.acerca-info::after {
  width: 5px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.acerca-imagen,
.acerca-imagen-perfil {
  flex: 1 1 auto;
  max-width: 100%;
  min-height: 320px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.acerca-imagen img,
.acerca-imagen-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

.acerca-titulo {
  font-size: 2.1rem;
  margin-bottom: 1.2rem;
}

.acerca-subtitulo {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.acerca-descripcion {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.acerca-separador {
  width: 80px;
  height: 3px;
  margin: 1rem 0 1.8rem;
}

.acerca-lista li {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.acerca-destacado {
  padding: 1.4rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 10px;
}

.acerca-perfil-info {
  padding: 0.6rem 0.8rem;
  background: rgba(42, 92, 141, 0.9);
  color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  text-align: center;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  display: block;
  line-height: 1;
}

.acerca-perfil-info h3 {
  font-size: 1.05rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
}

.acerca-perfil-cargo {
  font-size: 0.85rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #1abc9c;
}

.acerca-perfil-experiencia {
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* --------------------------------------------
   SECCIÓN: Lo Que Nos Hace Diferentes (576px)
-------------------------------------------- */
.bg-diferenciales {
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.diferenciales-titulo {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.diferenciales-subtitulo {
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  padding: 0 1rem;
}

.diferenciales-separador {
  width: 70px;
  height: 3px;
  margin-bottom: 1.5rem;
}

.diferenciales-grid {
  grid-template-columns: 1fr;
  gap: 1.8rem;
  padding: 0 0.5rem;
}

.diferencial-card {
  padding: 1.6rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.diferencial-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.diferencial-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.diferencial-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------
   SECCIÓN: Valores (576px)
-------------------------------------------- */
.bg-valores {
  padding: 4.5rem 1.5rem;
}

.valores-container {
  flex-direction: column;
  gap: 2.5rem;
}

.valores-content,
.valores-image {
  flex: 1 1 100%;
  max-width: 100%;
}

.valores-image {
  min-height: 280px;
  border-radius: 16px;
}

.valores-image img {
  border-radius: 16px;
}

.valores-titulo {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.valores-separador {
  width: 70px;
  height: 3px;
  margin-bottom: 1.5rem;
}

.valores-descripcion {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.valores-grid {
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.valor-item {
  padding: 1.6rem 1.2rem;
  border-radius: 14px;
  gap: 1.2rem;
}

.valor-icon {
  font-size: 1.8rem;
}

.valor-text h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.valor-text p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --------------------------------------------
   SECCIÓN: Tecnología (576px)
-------------------------------------------- */
.bg-tecnologia {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 3.5rem 1.5rem;
  color: #ffffff;
}

.tech-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.tech-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.tech-separador {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #1abc9c, #2A5C8D);
  border-radius: 2px;
  margin: 0 auto 1.2rem;
}

.tech-subtitulo {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 90%;
}

.tech-grid {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  width: 100%;
  margin: 0 auto;
}

.tech-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  width: 100%;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.tech-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.tech-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  line-height: 1.3;
}

.tech-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------
   SECCIÓN: CTA (576px)
-------------------------------------------- */
.about-cta {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #2A5C8D, #14548f);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
}

.cta-container {
  padding: 0;
}

.about-cta h2 {
  font-size: 2.2rem;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.about-cta p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
  line-height: 1.6;
}

.cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.8rem;
    padding: 0 1.5rem;
  }

  .cta-button {
    width: 100%;
    max-width: 320px;
    padding: 0.85rem 1.4rem;
    font-size: 1.05rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
  }

  .cta-button.secondary {
    border-width: 2px;
  }

.msn-cotizacion,
.msn-secondary {
  font-size: 1.05rem;
  padding: 1.1rem 2.2rem;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
}@media (min-width: 577px) and (max-width: 768px) {
  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 2rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .logo-img {
    max-height: 70px;
  }

  .logo-text-img {
    max-height: 120px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    z-index: 1000;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
  }

/* ESTILOS DEL BOTÓN HAMBURGUESA - AHORA VISIBLE */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
  }

  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--light-color);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
  }


  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu a {
    font-size: 1.4rem;
  }

  .hero {
    height: auto;
    min-height: 500px;
    padding: 3rem 2rem;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .tel-button {
    font-size: 1.4rem;
    padding: 6px 14px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    color: var(--accent-color);
  }

  .tel-button i {
    font-size: 1.4rem;
    margin-left: 8px;
  }

  .desktop-visible {
    display: none !important;
  }

  .mobile-visible {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-header.scrolled {
    padding: 0 2rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .home-section {
    padding: 3rem 1.5rem;
    min-height: 700px;
    background-attachment: scroll;
  }

  .home-content-wrapper {
    padding: 0 20px;
  }

  .home-box {
    padding: 3rem 2rem 2.8rem;
    border-radius: 18px;
    max-width: 98%;
  }

  .home-box h1 {
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 1.4rem;
  }

  .home-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .home-buttons {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    grid-auto-rows: auto;
  }

  .stat-box {
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
    text-align: center;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
  }

  /* Centra solo la última si hay número impar */
  .stats-grid > .stat-box:nth-last-child(1):nth-child(odd) {
    grid-column: span 2;
    justify-self: center;
    max-width: 300px;
  }

  .stat-box .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
  }

  .stat-box .icon {
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
  }

  .stat-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
  }

  .stat-box p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
  }

  /* Colores específicos */
  .stat-blue {
    background: linear-gradient(180deg, #E3F2FD, #FFFFFF);
  }
  .stat-blue .top-bar { background: var(--primary-color); }
  .stat-blue .icon { color: var(--primary-color); }

  .stat-green {
    background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
  }
  .stat-green .top-bar { background: var(--secondary-color); }
  .stat-green .icon { color: var(--secondary-color); }

  .stat-orange {
    background: linear-gradient(180deg, #FFF3E0, #FFFFFF);
  }
  .stat-orange .top-bar { background: var(--accent-color); }
  .stat-orange .icon { color: var(--accent-color); }

  .stat-brown {
    background: linear-gradient(180deg, #EFEBE9, #FFFFFF);
  }
  .stat-brown .top-bar { background: #5D4037; }
  .stat-brown .icon { color: #5D4037; }

  .stat-cyan {
    background: linear-gradient(180deg, #E1F5FE, #FFFFFF);
  }
  .stat-cyan .top-bar { background: #0288D1; }
  .stat-cyan .icon { color: #0288D1; }

  .stat-purple {
    background: linear-gradient(180deg, #F3E5F5, #FFFFFF);
  }
  .stat-purple .top-bar { background: #8E24AA; }
  .stat-purple .icon { color: #8E24AA; }

  .stat-teal {
    background: linear-gradient(180deg, #E0F2F1, #FFFFFF);
  }
  .stat-teal .top-bar { background: #00796B; }
  .stat-teal .icon { color: #00796B; }

  .typewriter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
  }

  .typewriter-wrapper .typewriter {
    font-size: 0;
    color: transparent;
    animation: none !important;
    position: relative;
  }

  .typewriter-wrapper .typewriter::before,
  .typewriter-wrapper .typewriter::after {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-align: center;
    width: 100%;
  }

  .typewriter-wrapper .typewriter::before {
    content: "SOLUCIONES";
    color: white;
    animation-delay: 0.3s;
  }

  .typewriter-wrapper .typewriter::after {
    content: "TOPOGRÁFICAS";
    color: #4CAF50;
    animation-delay: 0.6s;
  }

  .home-box h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .typewriter-wrapper {
    margin-bottom: 0.5rem;
  }

  .fade-in-delayed {
    animation-delay: 0.5s !important;
    margin-top: 0;
  }

  /* MODIFICACIONES PRINCIPALES PARA LA SECCIÓN DE EXPERTOS */
  .pro-bg-section {
    padding: 3rem 1.5rem;
  }

  .pro-box {
    display: flex !important;
    flex-direction: column !important;
    padding: 2rem 0 !important;
    gap: 2rem !important;
  }

  .about-text {
    order: 1;
    min-width: unset;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .about-text h2.pro-title {
    font-size: 2.3rem;
    line-height: 1.3;
    margin: 0 0 1.2rem 0;
    padding: 0 1rem;
    text-align: left;
  }

  .about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .about-columns {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  .about-columns ul {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .about-columns li {
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
  }

  .btn-primary {
    font-size: 1.2rem;
    padding: 1.1rem 1.5rem;
    width: calc(100% - 2rem);
    margin: 0 auto;
    display: block;
  }

  .about-image {
    order: 2 !important;
    width: 100% !important;
    margin: 1.5rem 0 0 0 !important;
    padding: 0 !important;
    display: block !important;
    float: none !important;
  }

  .about-buttons {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .image-wrapper img,
  .pro-image-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: none !important;
    display: block !important;
    float: none !important;
  }

  .image-wrapper {
    border-radius: 14px;
    overflow: hidden;
    width: calc(100% - 3rem);
    margin: 0 auto;
  }

  .image-wrapper img {
    max-height: 250px;
    object-fit: cover;
    border-radius: 14px;
    width: 100%;
    height: auto;
    border: none;
    display: block;
  }

  .precision-badge-inside {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background-color: #2196F3;
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .with-accent-bar {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: 5px solid #3A7D44;
    border-bottom: 3px solid #2196F3;
  }

  .pro-title span {
    padding: 0.3rem 0.6rem;
    font-size: 1.2rem;
  }

  .pro-image-wrapper img {
    border-width: 3px;
  }

  .btn-primary.pro-btn {
    max-width: 90%;
    width: auto;
    margin: 1.5rem auto 0 auto;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
  }

  .services-highlights {
    padding: 3rem 2rem !important;
  }

  .services-highlights h2,
  .services-highlights p,
  .services-highlights .btn-glow,
  .services-highlights .servicio-card-hover {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .services-highlights h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .services-highlights p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .services-highlights .btn-glow.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
  }

  .services-highlights .servicio-card-hover.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }

  .services-highlights .servicio-card-hover {
    width: 100% !important;
    margin: 0 auto 3rem auto !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .services-highlights .servicio-card-hover img {
    height: 220px !important;
    object-fit: cover;
    width: 100%;
  }

  .services-highlights h2 {
    font-size: 2.2rem !important;
    text-align: center;
  }

  .services-highlights p {
    font-size: 1.2rem !important;
    padding: 0 1.5rem;
    line-height: 1.6;
  }

  .services-highlights .btn-glow {
    font-size: 1.2rem !important;
    padding: 1rem 2rem !important;
    margin-top: 2.5rem;
    width: auto;
  }

  .services-highlights h3 {
    font-size: 1.3rem !important;
  }

  .services-highlights ul {
    font-size: 1.1rem !important;
    padding-left: 1.5rem;
  }

  .services-highlights a {
    font-size: 1rem !important;
    padding: 0.7rem 1rem !important;
  }

  .services-highlights > div > div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 1.5rem !important;
  }

  .equipment-section {
    padding: 3rem 2rem !important;
  }

  .equipment-header h2,
  .equipment-header p,
  .pro-equipo-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .equipment-header h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .equipment-header p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .pro-equipo-card.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }

  .equipment-header {
    text-align: center;
    margin-bottom: 3.5rem;
  }

  .equipment-header h2 {
    font-size: 2.2rem !important;
    color: white;
    position: relative;
    display: inline-block;
  }

  .equipment-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
  }

  .equipment-header p {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem auto 0;
    line-height: 1.6;
    max-width: 100%;
  }

  .equipment-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
  }

  .pro-equipo-card {
    flex-direction: column !important;
    padding: 2rem !important;
    min-height: auto !important;
    align-items: flex-start !important;
  }

  .pro-equipo-card.reverse {
    flex-direction: column-reverse !important;
  }

  .pro-equipo-card img {
    width: 100% !important;
    margin-bottom: 2rem !important;
    border-radius: 16px !important;
  }

  .pro-equipo-content h3 {
    font-size: 1.5rem !important;
    margin-bottom: 1.2rem !important;
  }

  .pro-equipo-content p {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
  }

  .pro-equipo-card::before {
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.04);
  }

  .pro-equipo-card.verde::before {
    box-shadow: inset 0 0 0 4px #A5D6A7;
  }

  .pro-equipo-card.azul::before {
    box-shadow: inset 0 0 0 4px #90CAF9;
  }

  .pro-equipo-card.naranja::before {
    box-shadow: inset 0 0 0 4px #FFCC80;
  }

  .pro-equipo-card.morado::before {
    box-shadow: inset 0 0 0 4px #CE93D8;
  }

  .clients-section {
    padding: 4rem 2rem;
  }

  .clients-header h2 {
    font-size: 2.2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header h2::after {
    width: 50%;
    height: 4px;
    bottom: -8px;
  }

  .clients-header h2.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-header p {
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header p.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-logos {
    gap: 2.5rem;
  }

  .client-card {
    width: 180px;
    height: 120px;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .client-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  .client-card img {
    max-height: 70px;
  }

  .btn-glow {
    font-size: 1.2rem;
    padding: 1.2rem 2.4rem;
  }

  .solicitar-cotizacion-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .btn-glow.llamar-btn {
    width: 100%;
    text-align: center;
  }


  /* --------------------------------------------
      ESTILOS DE MEDIA PARA SERVICIOS.HTML (768PX)
  -------------------------------------------- */  

  .servicio-full {
    padding: 1.5rem 1rem;
  }

  .servicio-contenedor {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0;
  }

  .servicio-info {
    padding: 1.2rem;
    border-left: 5px solid #1abc9c;
    border-radius: 10px;
  }

  .servicio-titulo {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .servicio-descripcion {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .servicio-lista {
    margin-bottom: 1.2rem;
  }

  .servicio-lista li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .servicio-lista i {
    font-size: 1rem;
    margin-right: 7px;
  }

  .servicio-imagen {
    order: 1;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
  }

  .servicio-imagen img {
    width: 100%;
    height: auto;
    display: block;
  }

  .botones-servicio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
  }

  .botones-servicio a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    min-width: 200px;
    max-width: 280px;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
  }

  .botones-servicio a i {
    margin-right: 0.5rem;
  }
 /* --------------------------------------------
     ESTILOS DE MEDIA PARA SERVICIOS.HTML BLOQUES DE SERVICIOS - 768px
  -------------------------------------------- */

  .modal-servicio {
    padding: 1rem;
  }

  .modal-contenido-grid {
    display: flex;
    flex-direction: column !important;
    padding: 1.2rem 1rem;
    max-width: 100%;
    border-radius: 14px;
    gap: 1rem;
  }

  .modal-texto {
    order: 1 !important;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0;
    text-align: left;
  }

  .modal-texto h3 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 0.8rem;
  }

  .modal-texto p {
    margin-bottom: 0.8rem;
  }

  .modal-texto p:last-of-type {
    margin-bottom: 0;
  }

  .modal-texto .modal-cerrar {
    top: -8px;
    right: -8px;
    font-size: 1.7rem;
  }

  .modal-imagen {
    order: 2 !important;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .modal-imagen img {
    width: 100%;
    max-width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
  }

  #fondo-cotizacion {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
  }

  .cotizacion-panel {
    max-width: 100%;
    height: 100vh;
    box-shadow: none;
  }

  .cotizacion-contenido {
    padding: 1.2rem;
  }

  .cerrar-cotizacion {
    top: 0.4rem;
    left: 0.4rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .cotizacion-encabezado {
    margin-bottom: 1.5rem;
  }

  .cotizacion-encabezado h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .cotizacion-encabezado p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .cotizacion-formulario {
    gap: 1.2rem;
  }

  .cotizacion-formulario label {
    font-size: 0.95rem;
  }

  .cotizacion-formulario input,
  .cotizacion-formulario select,
  .cotizacion-formulario textarea {
    padding: 0.9rem 1rem 0.9rem 2.4rem;
    font-size: 1rem;
    border-radius: 9px;
  }

  .cotizacion-formulario textarea {
    min-height: 120px;
  }

  .campo-formulario::before,
  .campo-formulario-doble > div::before {
    font-size: 1rem;
    top: 2.6rem;
    left: 1rem;
  }

  .campo-formulario {
    margin-bottom: 0.4rem;
  }

  .campo-formulario-doble {
    flex-direction: column;
    gap: 0.6rem;
  }

  .campo-formulario-doble > div {
    width: 100%;
  }

  .btn-enviar-cotizacion {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: 11px;
  }

  .btn-enviar-cotizacion svg {
    width: 20px;
    height: 20px;
  }

  .separador-formulario {
    margin: 1.4rem 0;
  }

  .encabezado-icono {
    width: 52px;
    height: 52px;
    margin-bottom: 1.2rem;
  }

  .encabezado-icono svg {
    width: 24px;
    height: 24px;
  }

  .campo-valido input,
  .campo-valido select,
  .campo-valido textarea,
  .campo-invalido input,
  .campo-invalido select,
  .campo-invalido textarea {
    border-width: 2px;
  }

  .cotizacion-contenido::-webkit-scrollbar {
    width: 5px;
  }

  .cotizacion-contenido::-webkit-scrollbar-track {
    background: var(--color-borde);
  }

  .cotizacion-contenido::-webkit-scrollbar-thumb {
    background-color: var(--color-primario);
  }



  /* OCULTAR EL MENÚ HORIZONTAL */
  .service-nav {
    display: none !important;
  }

  .mobile-services-menu {
    display: block !important;
  }

  .services-wrapper {
    position: fixed;
    right: 0;
    bottom: 15%;
    z-index: 9999;
  }

  /* BOTÓN VERTICAL PEGADO A LA DERECHA */
  .open-services-tab {
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 0.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.2rem;
    font-weight: 900;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.25);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    z-index: 2;
  }

  .open-services-tab .arrow {
    animation: bounceArrow 1s infinite;
  }

  @keyframes bounceArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
  }

  /* MENÚ POSICIONADO ENCIMA DEL BOTÓN */
  .side-services-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 210px;
    background-color: #1f1f2e;
    z-index: 1;
    padding: 0.3rem 0.4rem;
    box-shadow: -3px 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 12px 0 0 12px;
    display: none;
    flex-direction: column;
    transition: right 0.35s ease;
  }

  .side-services-menu.open {
    display: flex;
  }

  .close-services-button {
    position: absolute;
    left: -14px;
    top: -14px;
    background-color: white;
    color: #1f1f2e;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 9999;
  }

  .close-services-button:hover {
    background-color: #e0e0e0;
  }

  /* LISTADO DE ENLACES DE SERVICIOS */
  .services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .services-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    transition: background-color 0.3s;
  }

  .services-list a:hover {
    background-color: var(--primary-color);
    color: white;
  }

  /* OCULTAR BOTÓN CUANDO MENÚ ESTÁ ABIERTO */
  .side-services-menu.open ~ .open-services-tab {
    display: none !important;
  }

  /* ANIMACIÓN DE ENTRADA */
  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ANIMACIÓN DE SALIDA */
  @keyframes slideOut {
    0% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(20px);
    }
  }

  .side-services-menu.anim-in {
    animation: slideIn 0.3s ease-out forwards;
  }

  .side-services-menu.anim-out {
    animation: slideOut 0.3s ease-in forwards;
  }

  .services-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .services-overlay.active {
    display: block;
    opacity: 1;
  }


/* --------------------------------------------
   ESTILOS DE MEDIA PARA SERVICIOS.HTML BLOQUES DE SERVICIOS (576px)
-------------------------------------------- */
  .modal-servicio {
    padding: 1rem;
  }

  .modal-contenido-grid {
    display: flex;
    flex-direction: column !important;
    padding: 1.5rem 1.2rem;
    max-width: 100%;
    border-radius: 16px;
  }

  .modal-texto {
    order: 1 !important;
    flex: 1 1 auto;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0;
    text-align: left;
  }

  .modal-texto h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.8rem;
  }

  .modal-texto p {
    margin-bottom: 0.8rem;
  }

  .modal-texto p:last-of-type {
    margin-bottom: 0;
  }

  .modal-texto .modal-cerrar {
    top: -10px;
    right: -10px;
    font-size: 1.8rem;
  }

  .modal-imagen {
    order: 2 !important;
    flex: 0 0 auto;
    min-height: auto;
    padding: 0;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

.modal-imagen img {
  width: 100%;
  max-width: 100%;
  max-height: 280px; /* antes 420px */
  height: auto;
  object-fit: contain; /* mejor que cover en este caso para mantener proporción */
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

  /* Fondo oscuro que cubre toda la pantalla */
  #fondo-cotizacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: none;
  }

  #fondo-cotizacion.activo {
    display: block;
  }

  /* Panel del formulario */
  .cotizacion-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: white;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: -4px 0 12px rgba(0,0,0,0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .cotizacion-panel.activo {
    transform: translateX(0);
  }

  .cotizacion-contenido {
    position: relative;
    padding: 1.5rem 1.2rem;
  }

  .cerrar-cotizacion {
    position: fixed;
    top: -0.5rem;
    left: -0.5rem;
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
    background-color: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  .cotizacion-panel.activo .cerrar-cotizacion {
    display: block !important;
  }

  .bloquear-scroll {
    overflow: hidden;
    height: 100vh;
  }

  

/* --------------------------------------------
   ESTILOS ESPECÍFICOS PARA ACERCA-DE.HTML (768px)
-------------------------------------------- */
/* --------------------------------------------
   ESTILOS ESPECÍFICOS PARA ACERCA-DE.HTML (768px)
-------------------------------------------- */
.acerca-full {
  padding: 4rem 0;
}

.acerca-contenedor {
  flex-direction: column;
  gap: 2.5rem;
  padding: 0 2rem;
}

.acerca-info {
  flex: 1 1 auto;
  padding: 2.5rem 2rem;
  max-width: 100%;
  border-left: 6px solid #2A5C8D;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.acerca-info::after {
  width: 5px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.acerca-imagen,
.acerca-imagen-perfil {
  flex: 1 1 auto;
  max-width: 100%;
  min-height: 360px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.acerca-imagen img,
.acerca-imagen-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

.acerca-titulo {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.acerca-subtitulo {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.acerca-descripcion {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.acerca-separador {
  width: 90px;
  height: 3px;
  margin: 1.2rem 0 2rem;
}

.acerca-lista li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.acerca-destacado {
  padding: 1.6rem 1.5rem;
  margin: 1.8rem 0;
  border-radius: 12px;
}

.acerca-perfil-info {
  padding: 0.8rem 1rem;
  background: rgba(42, 92, 141, 0.9);
  color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  text-align: center;
  font-size: 1rem;
  backdrop-filter: blur(4px);
  display: block;
  line-height: 1;
}

.acerca-perfil-info h3 {
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
}

.acerca-perfil-cargo {
  font-size: 0.95rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #1abc9c;
}

.acerca-perfil-experiencia {
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* --------------------------------------------
   SECCIÓN: Lo Que Nos Hace Diferentes (768px)
-------------------------------------------- */
.bg-diferenciales {
  padding: 5rem 2rem;
  text-align: center;
}

.diferenciales-titulo {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.diferenciales-subtitulo {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  padding: 0 1.5rem;
}

.diferenciales-separador {
  width: 80px;
  height: 3px;
  margin-bottom: 1.8rem;
}

.diferenciales-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
}

.diferencial-card {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.diferencial-icon {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.diferencial-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.diferencial-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --------------------------------------------
   SECCIÓN: Valores (768px)
-------------------------------------------- */
.bg-valores {
  padding: 5rem 2rem;
}

.valores-container {
  flex-direction: column;
  gap: 3rem;
}

.valores-content,
.valores-image {
  flex: 1 1 100%;
  max-width: 100%;
}

.valores-image {
  min-height: 320px;
  border-radius: 16px;
}

.valores-image img {
  border-radius: 16px;
}

.valores-titulo {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.valores-separador {
  width: 80px;
  height: 3px;
  margin-bottom: 1.8rem;
}

.valores-descripcion {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.valores-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.valor-item {
  padding: 1.8rem 1.5rem;
  border-radius: 14px;
  gap: 1.5rem;
}

.valor-icon {
  font-size: 2rem;
}

.valor-text h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.valor-text p {
  font-size: 1.05rem;
  line-height: 1.5;
}

/* --------------------------------------------
   SECCIÓN: Tecnología (768px)
-------------------------------------------- */
.bg-tecnologia {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 4rem 2rem;
  color: #ffffff;
}

.tech-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.tech-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.tech-separador {
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #1abc9c, #2A5C8D);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.tech-subtitulo {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 90%;
}

.tech-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  margin: 0 auto;
}

.tech-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  width: 100%;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.tech-card img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.tech-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #ffffff;
  line-height: 1.3;
}

.tech-card p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------
   SECCIÓN: CTA (768px)
-------------------------------------------- */
.about-cta {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #2A5C8D, #14548f);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
}

.cta-container {
  padding: 0;
}

.about-cta h2 {
  font-size: 2.5rem;
  line-height: 1.35;
  margin-bottom: 1.8rem;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
  line-height: 1.6;
}

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 2rem;
  }

  .cta-button {
    width: 100%;
    max-width: 360px;
    padding: 1rem 1.6rem;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }

  .cta-button.secondary {
    border-width: 2px;
  }

.msn-cotizacion,
.msn-secondary {
  font-size: 1.1rem;
  padding: 1.2rem 2.4rem;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
}

@media (min-width: 769px) and (max-width: 1024px) {


  .logo-img {
    max-height: 70px;
  }

  .logo-text-img {
    max-height: 120px;
  }

  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background-color: transparent;
    padding: 0;
    width: auto;
    position: relative;
  }

  .nav-menu ul {
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }

  .nav-menu a {
    font-size: 1.15rem;
    white-space: nowrap;
  }

  .hamburger {
    display: none;
  }

  .hero {
    min-height: 550px;
    padding: 4rem 2.5rem;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .tel-button {
    font-size: 1.2rem;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
  }

  .tel-button i {
    font-size: 1.2rem;
    margin-left: 6px;
  }

  .desktop-visible {
    display: flex !important;
  }

  .mobile-visible {
    display: none !important;
  }


  .home-section {
    padding: 4rem 2.5rem;
    min-height: 750px;
  }

  .home-content-wrapper {
    padding: 0 2.5rem;
  }

  .home-box {
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    max-width: 90%;
    margin: 0 auto;
  }

  .home-box h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .home-box p {
    font-size: 1.2rem;
    padding: 0 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  .home-buttons {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .typewriter-wrapper {
    margin-bottom: 0.6rem;
  }

  .typewriter-wrapper .typewriter::before {
    font-size: 2.2rem;
  }

  .typewriter-wrapper .typewriter::after {
    font-size: 2.2rem;
  }

  .fade-in-delayed {
    animation-delay: 0.5s !important;
  }



  .pro-bg-section {
    padding: 3rem 2rem;
  }

  .pro-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    padding: 2.5rem 0 !important;
  }
 .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Igual que en 768px */
    gap: 1.5rem;
    grid-auto-rows: auto;
    justify-items: stretch; /* ✅ Ajustado para usar todo el ancho */
  }

  .stat-box {
    width: 100%;
    padding: 1.8rem;
    text-align: center;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    margin: 0; /* ✅ Eliminado el auto para expandir bien */
  }

  /* Centra solo la última tarjeta si hay número impar de tarjetas */
  .stats-grid > .stat-box:nth-last-child(1):nth-child(odd) {
    grid-column: span 2;
    justify-self: center;
    max-width: 500px; /* ✅ Ajuste para centrar tarjeta impar sin perder estilo */
  }

  .stat-box .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
  }

  .stat-box .icon {
    font-size: 2.6rem;
    margin-bottom: 0.6rem;
  }

  .stat-box h4 {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
  }

  .stat-box p {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
  }

  /* Colores */
  .stat-blue {
    background: linear-gradient(180deg, #E3F2FD, #FFFFFF);
  }
  .stat-blue .top-bar { background: var(--primary-color); }
  .stat-blue .icon { color: var(--primary-color); }

  .stat-green {
    background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
  }
  .stat-green .top-bar { background: var(--secondary-color); }
  .stat-green .icon { color: var(--secondary-color); }

  .stat-orange {
    background: linear-gradient(180deg, #FFF3E0, #FFFFFF);
  }
  .stat-orange .top-bar { background: var(--accent-color); }
  .stat-orange .icon { color: var(--accent-color); }

  .stat-brown {
    background: linear-gradient(180deg, #EFEBE9, #FFFFFF);
  }
  .stat-brown .top-bar { background: #5D4037; }
  .stat-brown .icon { color: #5D4037; }

  .stat-cyan {
    background: linear-gradient(180deg, #E1F5FE, #FFFFFF);
  }
  .stat-cyan .top-bar { background: #0288D1; }
  .stat-cyan .icon { color: #0288D1; }

  .stat-purple {
    background: linear-gradient(180deg, #F3E5F5, #FFFFFF);
  }
  .stat-purple .top-bar { background: #8E24AA; }
  .stat-purple .icon { color: #8E24AA; }

  .stat-teal {
    background: linear-gradient(180deg, #E0F2F1, #FFFFFF);
  }
  .stat-teal .top-bar { background: #00796B; }
  .stat-teal .icon { color: #00796B; }

  .about-text {
    width: 100%;
    padding: 0 2rem !important;
    order: 1;
  }

  .about-text h2.pro-title {
    text-align: center;
    font-size: 2.2rem;
    padding: 0;
  }

  .about-text p {
    text-align: justify;
    font-size: 1.1rem;
  }

  .about-columns {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .about-columns ul {
    width: 100%;
  }

  .about-columns li {
    padding: 0.8rem 1.5rem;
    font-size: 1.05rem;
  }

  .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 1.6rem;
    display: inline-block;
    width: auto;
  }

.about-image {
  order: 2 !important;
  width: 100% !important;
  padding: 0 2rem !important;
  margin: 0 auto;
  max-width: 600px; /* 🔽 Reducción de 700px a 600px */
}


  .about-buttons {
    order: 3;
    margin: 2rem auto 0 auto;
    text-align: center;
  }



  .image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
  }

.image-wrapper img,
.pro-image-wrapper img {
  width: 100% !important;
  height: auto !important;
  border-radius: 16px !important;
  object-fit: cover;
  max-height: 320px; /* 🔽 Reducción de 400px a 320px */
}

  .precision-badge-inside {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: #2196F3;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  .with-accent-bar {
    padding-left: 1.5rem;
    border-left: 5px solid #3A7D44;
    border-bottom: 2px solid #2196F3;
  }

.pro-title span {
  font-size: 1.8rem; /* antes 1.2rem */
  background-color: #3A7D44;
  color: white;
  padding: 0.4rem 1rem; /* más espacio interno */
  border-radius: 8px;
  margin-right: 0.5rem;
  display: inline-block;
}


  .btn-primary.pro-btn {
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 14px;
    display: inline-block;
  }

  .services-highlights {
    padding: 4rem 3rem !important;
  }

  .services-highlights h2,
  .services-highlights p,
  .services-highlights .btn-glow,
  .services-highlights .servicio-card-hover {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .services-highlights h2.show,
  .services-highlights p.show,
  .services-highlights .btn-glow.show,
  .services-highlights .servicio-card-hover.show {
    opacity: 1;
    transform: translateY(0);
  }

  .services-highlights h2 {
    font-size: 2.4rem !important;
    text-align: center;
  }

  .services-highlights p {
    font-size: 1.25rem !important;
    padding: 0 1.5rem;
    line-height: 1.7;
  }

  .services-highlights .btn-glow {
    font-size: 1.2rem !important;
    padding: 1rem 2.2rem !important;
    margin-top: 2.5rem;
    width: auto;
  }

  .services-highlights h3 {
    font-size: 1.4rem !important;
  }

  .services-highlights ul {
    font-size: 1.1rem !important;
    padding-left: 1.5rem;
  }

  .services-highlights a {
    font-size: 1rem !important;
    padding: 0.7rem 1rem !important;
  }

  .services-highlights > div > div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 1rem !important;
  }

  .services-highlights .servicio-card-hover {
    width: 100% !important;
    margin: 0 auto 2.5rem auto !important;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

.services-highlights .servicio-card-hover > div:first-child {
  height: 360px !important; /* antes 320px */
}

.services-highlights .servicio-card-hover img {
  height: 360px !important; /* mantiene proporción con el contenedor */
  object-fit: cover;
  width: 100%;
  border-radius: 16px;
}


  .equipment-section {
    padding: 4rem 3rem !important;
  }

  .equipment-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .equipment-header h2 {
    font-size: 2.4rem !important;
    color: white;
    position: relative;
  }

  .equipment-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
  }

  .equipment-header p {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem auto 0;
    line-height: 1.7;
    max-width: 100%;
  }

  .equipment-grid {
    display: flex !important;
    flex-direction: column;
    gap: 2.5rem;
  }

  .pro-equipo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 1.8rem;
    border-radius: 14px;
    background-color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  }

  .pro-equipo-card.reverse {
    flex-direction: row-reverse !important;
  }

  .pro-equipo-card img {
    width: 260px;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  .pro-equipo-content {
    flex: 1;
  }

  .pro-equipo-content h3 {
    font-size: 1.6rem !important;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .pro-equipo-content p {
    font-size: 1.2rem !important;
    line-height: 1.6;
    color: #333;
  }

  /* Opcional: Ajustes por color si quieres mantener */
  .pro-equipo-card::before {
    content: none;
  }

  .pro-equipo-card.verde { border-left: 4px solid #4CAF50; }
  .pro-equipo-card.azul { border-left: 4px solid #2196F3; }
  .pro-equipo-card.naranja { border-left: 4px solid #FF9800; }
  .pro-equipo-card.morado { border-left: 4px solid #9C27B0; }


  .clients-section {
    padding: 4rem 3rem;
  }

  .clients-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .clients-header h2 {
    font-size: 2.4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: relative;
  }

  .clients-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    bottom: -6px;
    left: 0;
    background-color: #ccc;
  }

  .clients-header h2.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-header p {
    font-size: 1.25rem;
    line-height: 1.7;
    padding: 0 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header p.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.2rem;
  }

  .client-card {
    width: 190px;
    height: 115px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .client-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  .client-card img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
  }

  .btn-glow {
    font-size: 1.25rem;
    padding: 1.3rem 2.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-glow:hover {
    background-color: #3A7D44;
  }

  .solicitar-cotizacion-btn {
    width: 100%;
    text-align: center;
    margin: 2rem 0;
  }

  .btn-glow.llamar-btn {
    width: 100%;
    text-align: center;
  }
 /* --------------------------------------------
      ESTILOS DE MEDIA PARA SERVICIOS.HTML (1024PX)
  -------------------------------------------- */  

  .servicio-full {
    padding: 2rem 2rem;
  }

  .servicio-contenedor {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
  }

  .servicio-info {
    padding: 1.5rem;
    border-left: 6px solid #1abc9c;
    border-radius: 12px;
  }

  .servicio-titulo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .servicio-descripcion {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .servicio-lista {
    margin-bottom: 1.5rem;
  }

  .servicio-lista li {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .servicio-lista i {
    font-size: 1.1rem;
    margin-right: 8px;
  }

  .servicio-imagen {
    order: 1;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1.2rem;
  }

  .servicio-imagen img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }

  .botones-servicio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .botones-servicio a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    min-width: 220px;
    max-width: 300px;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
  }

  .botones-servicio a i {
    margin-right: 0.6rem;
  }
/* --------------------------------------------
    ESTILOS DE MEDIA PARA SERVICIOS.HTML
-------------------------------------------- */  

.service-nav {
  display: flex;
  justify-content: center;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 80px;
  z-index: 998;
  padding: 0.3rem 0.5rem; /* 🔽 Reducción extra */
  overflow-x: auto;
  white-space: nowrap;
}

.service-nav ul {
  display: flex;
  gap: 0.6rem; /* 🔽 Aún más compacto */
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.service-nav li {
  display: inline-flex;
  align-items: center;
}

.service-nav a {
  font-size: 0.85rem; /* 🔽 Más pequeño */
  font-weight: 600;
  text-decoration: none;
  color: #333;
  padding: 0.3rem 0.5rem; /* 🔽 Menos relleno horizontal */
  display: flex;
  align-items: center;
  gap: 3px; /* 🔽 Menor separación ícono-texto */
  white-space: nowrap;
  transition: color 0.3s ease;
}

.service-nav a i {
  font-size: 0.9rem; /* 🔽 Íconos más pequeños */
}
 /* --------------------------------------------
     ESTILOS DE MEDIA PARA SERVICIOS.HTML BLOQUES DE SERVICIOS (1024px)
  -------------------------------------------- */

  .modal-servicio {
    padding: 1.5rem;
  }

  .modal-contenido-grid {
    display: flex;
    flex-direction: column !important;
    padding: 1.8rem 1.4rem;
    max-width: 100%;
    border-radius: 16px;
    gap: 1rem;
  }

  .modal-texto {
    order: 1 !important;
    flex: 1 1 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 0;
    text-align: left;
  }

  .modal-texto h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .modal-texto p {
    margin-bottom: 0.8rem;
  }

  .modal-texto p:last-of-type {
    margin-bottom: 0;
  }

  .modal-texto .modal-cerrar {
    top: -10px;
    right: -10px;
    font-size: 1.8rem;
  }

  .modal-imagen {
    order: 2 !important;
    flex: 0 0 auto;
    min-height: auto;
    padding: 0;
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-imagen img {
    width: 100%;
    max-width: 100%;
    max-height: 320px; /* Ajustado a una altura moderada para 1024px */
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  }

  /* Fondo oscuro que cubre toda la pantalla */
  #fondo-cotizacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: none;
  }

  #fondo-cotizacion.activo {
    display: block;
  }

  /* Panel del formulario */
  .cotizacion-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 540px;
    height: 100vh;
    background-color: white;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: -4px 0 14px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .cotizacion-panel.activo {
    transform: translateX(0);
  }

  .cotizacion-contenido {
    position: relative;
    padding: 1.8rem 1.4rem;
  }

  .cerrar-cotizacion {
    position: fixed;
    top: 0.4rem;
    left: 0.4rem;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
    background-color: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  .cotizacion-panel.activo .cerrar-cotizacion {
    display: block !important;
  }

  .bloquear-scroll {
    overflow: hidden;
    height: 100vh;
  }
/* --------------------------------------------
   ESTILOS ESPECÍFICOS PARA ACERCA-DE.HTML (1024px)
   Estructura vertical: texto arriba, imagen abajo
-------------------------------------------- */

.about-section {
    padding: 5rem 3rem;
    background: linear-gradient(to bottom right, #f1f5f9, #e8f1f9);
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    flex-direction: column;
    gap: 3rem;
    padding: 0;
}

.about-content {
    width: 100%;
    padding: 0;
    margin-bottom: 2.5rem;
}

.about-content h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.separador {
    width: 80px;
    height: 5px;
    margin: 0 auto 2rem;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tarjeta-texto {
    border-left: 6px solid #2A5C8D;
    padding-left: 2rem;
    margin: 0 auto;
    max-width: 800px;
}

.about-image {
    width: 100%;
    max-width: 800px;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.about-image img {
    border-radius: 14px;
    width: 100%;
    height: auto;
}

/* --------------------------------------------
   ESTILOS PARA FUNDADOR (1024px) - Estructura vertical
-------------------------------------------- */
.founder-section {
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-container {
    flex-direction: column;
    gap: 3rem;
}

.founder-content {
    width: 100%;
    max-width: 800px;
    padding: 0;
    margin: 0 auto 3rem;
}

.founder-content h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.founder-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 2rem;
}

.tarjeta-fundador {
    border-left: 6px solid #2A5C8D;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
}

.founder-image {
    width: 100%;
    max-width: 600px;
    padding: 1rem;
    margin: 0 auto;
    position: relative;
}

.founder-info {
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    margin: -3rem auto 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid #cce7f5;
    z-index: 1;
}

.founder-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #2A5C8D;
}

.founder-title {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
    font-weight: 600;
}

.founder-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

/* --------------------------------------------
   SECCIÓN: Lo Que Nos Hace Diferentes (1024px)
-------------------------------------------- */
.diferenciales-section {
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    text-align: center;
}

.section-header .separador {
    margin: 0.8rem auto 0;
}

.diferenciales-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.diferencial-card {
    flex: 1 1 calc(33.333% - 2.5rem);
    min-width: 280px;
    max-width: 320px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.diferencial-icon {
    font-size: 2.8rem;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

.diferencial-card h3 {
    font-size: 1.4rem;
    text-align: center;
}

.diferencial-card p {
    font-size: 1.1rem;
    text-align: center;
}

/* --------------------------------------------
   SECCIÓN: Tecnología y Servicios (1024px)
-------------------------------------------- */
.bg-acerca {
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.tech-card {
    flex: 1 1 calc(33.333% - 3rem);
    min-width: 280px;
    max-width: 320px;
}

.tech-card img {
    max-height: 250px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.servicio-card {
    padding: 2.5rem 2rem;
    max-width: 320px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

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

.servicio-card h3 {
    font-size: 1.4rem;
    text-align: center;
}

.servicio-card p {
    font-size: 1.1rem;
    text-align: center;
}

.btn-servicio {
    display: block;
    margin: 0 auto;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

/* --------------------------------------------
   SECCIÓN: Valores (1024px) - OPTIMIZADA
-------------------------------------------- */
.valores-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom right, #dce9df, #e7edf3);
  max-width: 1024px;
  margin: 0 auto;
  border-top: 1px solid #cfdcd4;
  border-bottom: 1px solid #cfdcd4;
  box-shadow: inset 0 8px 20px rgba(0, 0, 0, 0.015), inset 0 -8px 20px rgba(0, 0, 0, 0.01);
}

.valores-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}

.valores-content {
  width: 100%;
  max-width: 850px;
  text-align: center;
}

.valores-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #2A5C8D;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.valores-content > p {
  font-size: 1.15rem;
  color: #444;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.valor-item {
  display: flex;
  gap: 1.2rem;
  background: white;
  padding: 1.5rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: flex-start;
}

.valor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.valor-icon {
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #14548f, #1abc9c);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.valor-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #14548f;
  margin-bottom: 0.3rem;
}

.valor-text p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Imagen al final */
.valores-image {
  width: 100%;
  max-width: 720px;
  margin: 3rem auto 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  padding: 0.6rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.valores-image:hover {
  transform: translateY(-5px);
}

.valores-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}


/* --------------------------------------------
   SECCIÓN: Tecnología (1024px)
-------------------------------------------- */
.tech-section {
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 2.5rem;
    text-align: center;
}

.section-header p {
    font-size: 1.15rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tech-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.tech-card {
    flex: 1 1 calc(33.333% - 3rem);
    min-width: 280px;
    max-width: 320px;
    transition: transform 0.3s ease;
}

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

.tech-card img {
    height: 240px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.tech-card h3 {
    font-size: 1.4rem;
    text-align: center;
}

.tech-card p {
    font-size: 1.1rem;
    text-align: center;
}

/* --------------------------------------------
   SECCIÓN: CTA (1024px)
-------------------------------------------- */
.about-cta {
    padding: 6rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-cta p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.msn-cotizacion,
.msn-secondary {
    font-size: 1.15rem;
    padding: 1.2rem 3rem;
    min-width: 250px;
    transition: all 0.3s ease;
}

.msn-cotizacion:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 92, 141, 0.3);
}

.msn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
}
@media (min-width: 1025px) and (max-width: 1280px) {


  .logo-img {
    max-height: 75px;
  }

  .logo-text-img {
    max-height: 130px;
  }

  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background-color: transparent;
    padding: 0;
    width: auto;
  }

  .nav-menu ul {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }

  .nav-menu a {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .hamburger {
    display: none;
  }

  .hero {
    min-height: 600px;
    padding: 4.5rem 3rem;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.4rem;
  }

  .tel-button {
    font-size: 1.25rem;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
  }

  .tel-button i {
    font-size: 1.25rem;
    margin-left: 6px;
  }

  .desktop-visible {
    display: flex !important;
  }

  .mobile-visible {
    display: none !important;
  }



  .home-section {
    padding: 4rem 3rem;
    min-height: 800px;
  }

  .home-content-wrapper {
    padding: 0 3rem;
  }

  .home-box {
    padding: 4rem 3rem;
    border-radius: 20px;
    max-width: 85%;
    margin: 0 auto;
  }

  .home-box h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .home-box p {
    font-size: 1.25rem;
    padding: 0 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  .home-buttons {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .typewriter-wrapper {
    margin-bottom: 0.6rem;
  }

  .typewriter-wrapper .typewriter::before,
  .typewriter-wrapper .typewriter::after {
    font-size: 2.4rem;
  }

  .fade-in-delayed {
    animation-delay: 0.5s !important;
  }

  .pro-bg-section {
    padding: 3.5rem 3rem;
  }

  .pro-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.8rem !important;
    padding: 2.8rem 0 !important;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    grid-auto-rows: auto;
    justify-items: stretch;
  }

  .stat-box {
    width: 100%;
    padding: 2rem;
    text-align: center;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    margin: 0;
  }

  .stats-grid > .stat-box:nth-last-child(1):nth-child(odd) {
    grid-column: span 2;
    justify-self: center;
    max-width: 540px;
  }

  .stat-box .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
  }

  .stat-box .icon {
    font-size: 2.8rem;
    margin-bottom: 0.6rem;
  }

  .stat-box h4 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
  }

  .stat-box p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
  }

  /* Colores por tipo de stat */
  .stat-blue {
    background: linear-gradient(180deg, #E3F2FD, #FFFFFF);
  }
  .stat-blue .top-bar { background: var(--primary-color); }
  .stat-blue .icon { color: var(--primary-color); }

  .stat-green {
    background: linear-gradient(180deg, #E8F5E9, #FFFFFF);
  }
  .stat-green .top-bar { background: var(--secondary-color); }
  .stat-green .icon { color: var(--secondary-color); }

  .stat-orange {
    background: linear-gradient(180deg, #FFF3E0, #FFFFFF);
  }
  .stat-orange .top-bar { background: var(--accent-color); }
  .stat-orange .icon { color: var(--accent-color); }

  .stat-brown {
    background: linear-gradient(180deg, #EFEBE9, #FFFFFF);
  }
  .stat-brown .top-bar { background: #5D4037; }
  .stat-brown .icon { color: #5D4037; }

  .stat-cyan {
    background: linear-gradient(180deg, #E1F5FE, #FFFFFF);
  }
  .stat-cyan .top-bar { background: #0288D1; }
  .stat-cyan .icon { color: #0288D1; }

  .stat-purple {
    background: linear-gradient(180deg, #F3E5F5, #FFFFFF);
  }
  .stat-purple .top-bar { background: #8E24AA; }
  .stat-purple .icon { color: #8E24AA; }

  .stat-teal {
    background: linear-gradient(180deg, #E0F2F1, #FFFFFF);
  }
  .stat-teal .top-bar { background: #00796B; }
  .stat-teal .icon { color: #00796B; }

  .about-text {
    width: 100%;
    padding: 0 3rem !important;
    order: 1;
  }

  .about-text h2.pro-title {
    text-align: center;
    font-size: 2.4rem;
    padding: 0;
  }

  .about-text p {
    text-align: justify;
    font-size: 1.15rem;
  }

  .about-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .about-columns ul {
    width: 100%;
  }

  .about-columns li {
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
  }

  .btn-primary {
    font-size: 1.15rem;
    padding: 1rem 1.8rem;
    display: inline-block;
    width: auto;
  }

  .about-buttons {
    order: 3;
    margin: 2.2rem auto 0 auto;
    text-align: center;
  }

  .about-image {
    order: 2 !important;
    width: 100% !important;
    padding: 0 3rem !important;
    margin: 0 auto;
    max-width: 720px;
  }

  .image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
  }

  .image-wrapper img,
  .pro-image-wrapper img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    object-fit: cover;
    max-height: 360px;
  }

  .precision-badge-inside {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: #2196F3;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .with-accent-bar {
    padding-left: 1.8rem;
    border-left: 5px solid #3A7D44;
    border-bottom: 2px solid #2196F3;
  }

  .pro-title span {
    font-size: 1.9rem;
    background-color: #3A7D44;
    color: white;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    margin-right: 0.5rem;
    display: inline-block;
  }

  .btn-primary.pro-btn {
    font-size: 1.1rem;
    padding: 1rem 1.6rem;
    margin-top: 1.5rem;
    border-radius: 14px;
    display: inline-block;
  }

  .services-highlights {
    padding: 4rem 3.5rem !important;
  }

  .services-highlights h2,
  .services-highlights p,
  .services-highlights .btn-glow,
  .services-highlights .servicio-card-hover {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .services-highlights h2.show,
  .services-highlights p.show,
  .services-highlights .btn-glow.show,
  .services-highlights .servicio-card-hover.show {
    opacity: 1;
    transform: translateY(0);
  }

  .services-highlights h2 {
    font-size: 2.6rem !important;
    text-align: center;
  }

  .services-highlights p {
    font-size: 1.3rem !important;
    padding: 0 2rem;
    line-height: 1.8;
  }

  .services-highlights .btn-glow {
    font-size: 1.3rem !important;
    padding: 1rem 2.5rem !important;
    margin-top: 2.5rem;
    width: auto;
  }

  .services-highlights h3 {
    font-size: 1.45rem !important;
  }

  .services-highlights ul {
    font-size: 1.15rem !important;
    padding-left: 1.5rem;
  }

  .services-highlights a {
    font-size: 1.05rem !important;
    padding: 0.7rem 1.1rem !important;
  }

  .services-highlights > div > div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 2rem !important;
  }

  .services-highlights .servicio-card-hover {
    width: 100% !important;
    margin: 0 auto 2.5rem auto !important;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .services-highlights .servicio-card-hover > div:first-child {
    height: 400px !important;
  }

  .services-highlights .servicio-card-hover img {
    height: 400px !important;
    object-fit: cover;
    width: 100%;
    border-radius: 16px;
  }

  .equipment-section {
    padding: 4rem 4rem !important;
  }

  .equipment-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .equipment-header h2 {
    font-size: 2.6rem !important;
    color: white;
    position: relative;
  }

  .equipment-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
  }

  .equipment-header p {
    font-size: 1.3rem !important;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem auto 0;
    line-height: 1.8;
    max-width: 100%;
  }

  .equipment-grid {
    display: flex !important;
    flex-direction: column;
    gap: 2.8rem;
  }

  .pro-equipo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.2rem;
    padding: 2.2rem;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  }

  .pro-equipo-card.reverse {
    flex-direction: row-reverse !important;
  }

  .pro-equipo-card img {
    width: 280px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .pro-equipo-content {
    flex: 1;
  }

  .pro-equipo-content h3 {
    font-size: 1.7rem !important;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .pro-equipo-content p {
    font-size: 1.25rem !important;
    line-height: 1.75;
    color: #333;
  }

  .pro-equipo-card::before {
    content: none;
  }

  .pro-equipo-card.verde {
    border-left: 4px solid #4CAF50;
  }

  .pro-equipo-card.azul {
    border-left: 4px solid #2196F3;
  }

  .pro-equipo-card.naranja {
    border-left: 4px solid #FF9800;
  }

  .pro-equipo-card.morado {
    border-left: 4px solid #9C27B0;
  }
  .clients-section {
    padding: 4rem 4rem;
  }

  .clients-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .clients-header h2 {
    font-size: 2.6rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: relative;
  }

  .clients-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    bottom: -6px;
    left: 0;
    background-color: #ccc;
  }

  .clients-header h2.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-header p {
    font-size: 1.3rem;
    line-height: 1.8;
    padding: 0 3.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .clients-header p.show {
    opacity: 1;
    transform: translateY(0);
  }

  .clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.4rem;
  }

  .client-card {
    width: 200px;
    height: 120px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .client-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  .client-card img {
    max-height: 75px;
    max-width: 100%;
    object-fit: contain;
  }

  .btn-glow {
    font-size: 1.3rem;
    padding: 1.3rem 2.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-glow:hover {
    background-color: #3A7D44;
  }

  .solicitar-cotizacion-btn {
    width: 100%;
    text-align: center;
    margin: 2rem 0;
  }

  .btn-glow.llamar-btn {
    width: 100%;
    text-align: center;
  }

}
