/* =========================================================
   GEOMEXSA, A.C. - CSS PRINCIPAL
========================================================= */

/* VARIABLES */

:root {
  --blue: #2e3192;
  --blue-light: #b7e3f7;
  --primary: #2e3192;
  --primary-dark: #1e2638;
  --black: #1e2638;
  --black-soft: #28324a;
  --dark: #2e3192;
  --gray-dark: #6e6e73;
  --gray: #6e6e73;
  --gray-light: #ededed;
  --white: #ffffff;
  --border: #d9dde3;
  --accent: #b7e3f7;
}

/* RESET Y GENERAL */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  margin: 0;
  padding: 320px 0 0;
  overflow-x: clip;
  font-family: Arial, sans-serif;
  color: var(--black);
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

section {
  scroll-margin-top: 90px;
}

.container,
.container-fluid {
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

button,
input,
textarea,
select {
  max-width: 100%;
  font: inherit;
}

/* NAVBAR */

.geomesxa-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 10px 0 0;
  background: var(--white);
  border-bottom: 3px solid var(--blue-light);
  box-shadow: 0 5px 20px rgba(30, 38, 56, 0.12);
}

.geomesxa-navbar > .container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.geomesxa-navbar .navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  color: var(--primary-dark);
}

.geomesxa-navbar .logo {
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
  object-position: center;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.empresa-nombre {
  color: var(--blue);
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
}

.empresa-eslogan {
  color: var(--gray-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.geomesxa-navbar .navbar-collapse {
  width: 100%;
  justify-content: center;
}

.geomesxa-navbar .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
  padding: 4px 0 8px;
}

.geomesxa-navbar .nav-link {
  position: relative;
  padding: 13px 12px !important;
  color: var(--primary-dark) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.geomesxa-navbar .nav-link,
.geomesxa-navbar .nav-link.active {
  color: var(--black) !important;
}

.geomesxa-navbar .nav-link::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 3px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.geomesxa-navbar .nav-link:hover::after,
.geomesxa-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.geomesxa-navbar .btn-contacto {
  margin-left: 5px;
  padding: 9px 15px !important;
  color: var(--blue) !important;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--blue);
  border-radius: 4px;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.geomesxa-navbar .btn-contacto {
  color: var(--white) !important;
  background: var(--blue);
  border-color: var(--blue);
}

.geomesxa-navbar .navbar-toggler {
  display: none;
  color: var(--blue);
  background-color: #fff;
  border: 1px solid var(--blue-light);
}

.geomesxa-navbar .navbar-toggler-icon {
  background-image: url("data/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232e3192' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.geomesxa-navbar .navbar-toggler {
  box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.15);
}

/* GALERÍA HORIZONTAL DE SERVICIOS */

.servicios-marquee {
  position: relative;
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  overflow: hidden;
  background: var(--primary-dark);
  border-top: 1px solid rgba(183, 227, 247, 0.3);
}

.servicios-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding-left: 16px;
  animation: recorridoServicios 45s linear infinite;
  will-change: transform;
}

.servicios-marquee:hover .servicios-track {
  animation-play-state: paused;
}

.servicio-slide {
  position: relative;
  flex: 0 0 250px;
  width: 250px;
  height: 125px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.servicio-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-slide:hover img {
  transform: scale(1.08);
}

.servicio-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 38, 56, 0.9), transparent 70%);
  content: "";
}

.servicio-slide span {
  position: absolute;
  right: 8px;
  bottom: 9px;
  left: 8px;
  z-index: 1;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

@keyframes recorridoServicios {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* BOTONES */

.btn-primary {
  padding: 13px 25px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 2px;
  font-weight: 600;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  color: var(--primary-dark);
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}

/* HERO PRINCIPAL */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background:
    linear-gradient(rgba(20, 25, 35, 0.58), rgba(20, 25, 35, 0.58)),
    url("../img/img2.jpeg") center center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 25px;
}

/* TÍTULO ARRIBA Y CENTRADO */
.hero-title {
  width: 100%;
  text-align: center;
  margin-bottom: 55px;
}

.hero-title h1 {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--accent);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  padding-top: 50px;
}

.hero-right {
  position: relative;
  left: auto;
  width: 100%;
  max-width: 850px;
  margin: 0 0 0 auto;
  padding: 25px 0 35px;
  box-sizing: border-box;
  color: #fff;
  text-align: right;
  background: transparent;
}

.hero-description {
  width: 100%;
  max-width: 850px;
  margin: 0 0 30px auto;
  color: var(--gray-light);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.7;
  text-align: right;
}

.hero-services {
  width: 100%;
  max-width: 700px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.hero-services li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
  padding: 0;
  color: #fff;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}

.hero-services li i {
  flex: 0 0 24px;
  width: 24px;
  margin: 4px 0 0;
  color: var(--accent);
  font-size: 21px;
  text-align: center;
}
/* ADAPTACIÓN A CELULARES */

/* SECCIONES GENERALES */

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--primary-dark);
}

.section-blue {
  background: var(--dark);
}

.section-heading {
  max-width: 750px;
}

.section-heading.text-center {
  margin-right: auto;
  margin-left: auto;
}

.section-label {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: justify;
}

.section-label.blue {
  color: var(--blue-light);
}

.section h2,
.contact-section h2 {
  margin: 15px 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.section-heading p,
.section > .container > .row > .col-lg-6 > p {
  color: var(--gray-dark);
  font-size: 17px;
  line-height: 1.8;
}

.section-dark .section-heading p {
  color: #e0e3e6;
}

.section-line {
  width: 65px;
  height: 4px;
  margin: 20px 0 30px;
  background: var(--blue);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

.about-list li i {
  flex-shrink: 0;
  margin-top: 7px;
  color: var(--blue);
  font-size: 12px;
}

.about-list li span {
  flex: 1;
}

/* QUIÉNES SOMOS - IMAGEN CIRCULAR */

.about-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 430px;
}

.about-image-circle {
  position: relative;
  flex-shrink: 0;
  width: 390px;
  height: 390px;
  overflow: hidden;
  background: var(--white);
  border: 8px solid var(--white);
  border-radius: 50%;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(46, 49, 146, 0.25),
    0 0 0 12px rgba(46, 49, 146, 0.05);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.about-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.7s ease,
    filter 0.5s ease;
}

.about-image-wrapper:hover .about-image-circle {
  transform: translateY(-8px);
  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(46, 49, 146, 0.4),
    0 0 0 12px rgba(46, 49, 146, 0.08);
}

.about-image-wrapper:hover .about-image-circle img {
  transform: scale(1.08);
}

.about-image-wrapper::before {
  display: none;
}

.about-image-number {
  position: absolute;
  right: 35px;
  bottom: 35px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  color: var(--primary-dark);
  background: var(--blue-light);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(46, 49, 146, 0.25);
  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.about-image-wrapper:hover .about-image-number {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1) rotate(8deg);
}

/* EXPERIENCIA */

#experiencias .section-label {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--blue-light);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 3px;
}

#experiencias .section-line {
  width: 75px;
  height: 4px;
  margin: 20px 0 30px;
  background: var(--blue-light);
}

#experiencias .experience-description {
  margin-bottom: 25px;
  color: var(--white);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.9;
  text-align: justify;
}

#experiencias .experience-image {
  width: 100%;
  height: 360px;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

#experiencias .experience-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

#experiencias .experience-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.28);
}

#experiencias .experience-image:hover img {
  transform: scale(1.05);
}

/* SEPARACIÓN VERTICAL ENTRE LOS DOS BLOQUES */

#experiencias .experience-row {
  margin-bottom: 70px;
}

#experiencias .experience-row:last-child {
  margin-bottom: 0;
}

/* SERVICIOS - TARJETAS GENERALES */

.service-card {
  height: 100%;
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover {
  border-top-color: var(--blue);
  box-shadow: 0 15px 40px rgba(30, 38, 56, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  color: var(--blue);
  background: rgba(183, 227, 247, 0.35);
  border-radius: 4px;
  font-size: 27px;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-3px);
}

.service-card h3 {
  margin: 0 0 25px;
  color: var(--black);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.service-subgroup {
  margin-top: 25px;
}

.service-subgroup h4 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.service-card p {
  margin: 0 0 12px;
  color: var(--gray-dark);
  font-size: 14px;
  line-height: 1.7;
}

.service-subgroup ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-subgroup li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 27px;
  color: var(--gray-dark);
  font-size: 14px;
  line-height: 1.7;
}

.service-subgroup li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: var(--primary-dark);
  background: var(--blue-light);
  border-radius: 50%;
  content: "\2713";
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

.service-subgroup li:last-child {
  margin-bottom: 0;
}

/* CONTACTO */

.contact-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  color: var(--white);
  background: var(--primary-dark);
}

.contact-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.contact-person {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.5s ease;
}

.contact-image-wrapper:hover .contact-person {
  transform: scale(1.03);
}

.contact-content {
  position: relative;
  z-index: 2;
  padding: 35px 35px 35px 45px;
}

.contact-content h2 {
  max-width: 600px;
  margin: 18px 0;
  color: var(--white);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
}

.contact-content p {
  max-width: 520px;
  margin: 0 0 30px;
  color: #e0e3e6;
  font-size: 18px;
  line-height: 1.8;
}

.contact-content .section-line {
  width: 65px;
  height: 4px;
  margin: 22px 0 28px;
  background: var(--blue-light);
}

.contact-content .btn-primary {
  display: inline-block;
  padding: 14px 30px;
  color: var(--primary-dark);
  background: var(--blue-light);
  border: 1px solid var(--blue-light);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.contact-content .btn-primary:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

/* FOOTER */

.footer {
  width: 100%;
  padding: 78px 0 68px;
  overflow: hidden;
  color: var(--gray-dark);
  background: var(--white);
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(280px, 460px) auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  width: min(85%, 1320px);
  margin: 0 auto;
}

.footer-left,
.footer-right {
  min-width: 0;
}

.footer-logo {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  margin-bottom: 32px;
  object-fit: contain;
}

.footer-text {
  margin: 0 0 10px;
  color: var(--gray-dark);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

.footer-telefonos a {
  color: var(--gray-dark) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.footer-telefonos a:hover {
  color: var(--blue) !important;
}

.footer-text a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--blue-light);
  text-underline-offset: 4px;
}

.footer-text a:hover {
  color: var(--primary-dark);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.social-icons a {
  color: var(--blue);
  font-size: 31px;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-right {
  padding-top: 80px;
  text-align: right;
}

.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu li {
  margin-bottom: 16px;
}

.footer-menu a {
  position: relative;
  color: var(--primary-dark);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-menu a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transition: width 0.3s ease;
}

.footer-menu a:hover {
  color: var(--blue);
}

.footer-menu a:hover::after {
  width: 100%;
}

.footer-copy {
  margin-top: 35px;
  color: var(--gray-dark);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.footer hr {
  margin: 40px 0 20px;
  border-color: var(--border);
}

/* WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--white) !important;
  background: #25d366;
  border-radius: 50%;
  font-size: 30px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.whatsapp-float::before {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #25d366;
  border-radius: 50%;
  content: "";
  animation: whatsapp-pulse 2s infinite;
  opacity: 0.7;
}

.whatsapp-float:hover {
  color: var(--white) !important;
  background: #20bd5a;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* HERO INTERNO */

.inner-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 55vh;
  background: url("../img/Geotecnia/E.Geotecnia2.Portada.Inicio.png") center /
    cover no-repeat;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(30, 38, 56, 0.88),
    rgba(30, 38, 56, 0.3)
  );
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-hero-content {
  max-width: 800px;
  padding-top: 80px;
}

.inner-hero-content .hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 650px;
  margin: 0;
  padding: 0;
  color: var(--blue-light);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}

.inner-hero-content h1 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(45px, 6vw, 75px);
  font-weight: 800;
  line-height: 1.05;
}

.inner-hero-content p {
  max-width: 680px;
  margin: 0;
  color: #e0e3e6;
  font-size: 18px;
  line-height: 1.8;
}

/* PERFIL DE EMPRESA */

.company-profile {
  margin: 0;
  color: var(--gray-dark);
  font-size: 18px;
  line-height: 1.9;
}

/* MISIÓN, VISIÓN Y FILOSOFÍA */

.company-section {
  padding: 90px 0;
}

.company-section-dark {
  color: var(--white);
  background: var(--primary-dark);
}

.company-section-light {
  color: var(--black);
  background: var(--gray-light);
}

.company-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
}

.company-number::after {
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 15px;
  background: var(--blue-light);
  content: "";
}

.company-section h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}

.company-section p {
  max-width: 850px;
  margin: 0;
  font-size: 18px;
  line-height: 1.9;
  text-align: justify;
}

.company-section-dark p {
  color: #d0d5da;
}

.company-section-light p {
  color: var(--gray-dark);
}

.company-cta {
  padding: 90px 0;
  color: var(--white);
  background: var(--blue);
}

.company-cta h2 {
  max-width: 700px;
  margin: 15px 0;
  font-size: clamp(35px, 5vw, 55px);
  font-weight: 800;
  line-height: 1.1;
}

.company-cta p {
  max-width: 650px;
  margin-bottom: 0;
  color: #f0f1fa;
  font-size: 17px;
  line-height: 1.8;
}

/* ICONOGRAFÍA DE EMPRESA */

.company-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  margin-bottom: 25px;
  color: var(--blue);
  background: rgba(183, 227, 247, 0.25);
  border: 1px solid rgba(46, 49, 146, 0.25);
  border-radius: 12px;
  font-size: 34px;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.company-section-dark .company-icon {
  color: var(--blue-light);
  background: rgba(183, 227, 247, 0.12);
  border-color: rgba(183, 227, 247, 0.35);
}

.company-section-light .company-icon {
  color: var(--blue);
  background: var(--white);
  border-color: rgba(46, 49, 146, 0.25);
}

.company-icon:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(46, 49, 146, 0.25);
}

/* PÁGINA SERVICIOS - HERO */

.services-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62vh;
  background: url("../img/Geotecnia/Geotecnia.png") center center / cover
    no-repeat;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(30, 38, 56, 0.88),
    rgba(30, 38, 56, 0.3)
  );
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 70px;
}

.services-hero-content .hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 650px;
  margin: 0;
  padding: 0;
  color: var(--blue-light);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}

.services-hero-content h1 {
  margin: 12px 0 20px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.services-hero-content p {
  max-width: 650px;
  margin: 0;
  color: var(--gray-light);
  font-size: 17px;
  line-height: 1.8;
}

/* SERVICIOS - INTRODUCCIÓN */

.services-intro {
  padding: 100px 0 90px;
  background: var(--white);
}

.services-intro h2 {
  max-width: 650px;
  margin: 15px 0 0;
  color: var(--black);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
}

.services-intro p {
  max-width: 500px;
  margin: 0;
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.9;
}

/* SERVICIOS - CATÁLOGO */

.services-catalog {
  padding: 0 0 100px;
  background: #f3f5f7;
}

.service-category {
  position: relative;
  margin-bottom: 30px;
  padding: 55px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-category:last-child {
  margin-bottom: 0;
}

.service-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(30, 38, 56, 0.1);
}

.service-category::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--blue);
  content: "";
}

.service-category-dark {
  color: var(--white);
  background: var(--primary-dark);
  border-color: var(--black-soft);
}

.service-category-dark::before {
  background: var(--blue-light);
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.service-category-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  color: var(--blue);
  background: rgba(183, 227, 247, 0.25);
  border: 1px solid rgba(46, 49, 146, 0.25);
  border-radius: 6px;
  font-size: 27px;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.service-category-dark .service-category-icon {
  color: var(--blue-light);
  background: rgba(183, 227, 247, 0.1);
  border-color: rgba(183, 227, 247, 0.3);
}

.service-category:hover .service-category-icon {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.service-category-header > div:last-child {
  min-width: 0;
}

.service-category-label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.service-category-dark .service-category-label {
  color: var(--blue-light);
}

.service-category-header h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.service-category-dark .service-category-header h2 {
  color: var(--white);
}

.service-category-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 5px;
}

.service-category-dark .service-category-content {
  background: #394254;
  border-color: #394254;
}

.service-subcategory {
  min-width: 0;
  min-height: 190px;
  padding: 30px;
  background: var(--white);
}

.service-category-dark .service-subcategory {
  background: #222c3d;
}

.service-subcategory.full-width {
  grid-column: 1 / -1;
}

.service-subcategory h3 {
  position: relative;
  margin: 0 0 18px;
  padding-left: 15px;
  color: var(--black);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.service-category-dark .service-subcategory h3 {
  color: var(--white);
}

.service-subcategory h3::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 3px;
  height: calc(100% - 6px);
  background: var(--blue);
  border-radius: 2px;
  content: "";
}

.service-subcategory p {
  margin: 0 0 17px;
  color: var(--gray-dark);
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.service-category-dark .service-subcategory p {
  color: #d0d5da;
}

.service-subcategory ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-subcategory li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 25px;
  color: var(--gray-dark);
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.service-category-dark .service-subcategory li {
  color: #d0d5da;
}

.service-subcategory li:last-child {
  margin-bottom: 0;
}

.service-subcategory li::before {
  position: absolute;
  top: 3px;
  left: 0;
  color: var(--blue);
  content: "\f00c";
  font-family: "Font Awesome 7 Free";
  font-size: 13px;
  font-weight: 900;
  line-height: 1.75;
}

.service-category-dark .service-subcategory li::before {
  color: var(--blue-light);
}

.service-subcategory .row {
  display: flex;
  align-items: center;
}

.service-subcategory .row > .col-md-5 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-subcategory .service-subcategory-image {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* SERVICIOS - CTA */

.services-cta {
  padding: 100px 0;
  color: var(--white);
  background: var(--primary-dark);
}

.services-cta h2 {
  max-width: 700px;
  margin: 15px 0;
  color: var(--white);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
}

.services-cta p {
  max-width: 650px;
  margin: 0;
  color: #d0d5da;
  font-size: 16px;
  line-height: 1.8;
}

/* QUIÉNES SOMOS - SECCIONES CON IMÁGENES */

.company-image-section {
  padding: 85px 0;
  overflow: hidden;
}

.company-image-section:nth-of-type(even) {
  background: var(--white);
}

.company-image-section:nth-of-type(odd) {
  background: var(--gray-light);
}

.company-image-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 25px 15px;
}

.company-image-content h2 {
  margin: 15px 0 20px;
  color: var(--black);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
}

.company-image-content p {
  margin: 0;
  color: var(--gray-dark);
  font-size: 17px;
  line-height: 1.9;
}

.company-round-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 430px;
}

.company-round-image .about-image-circle {
  flex-shrink: 0;
  width: 370px;
  height: 370px;
  overflow: hidden;
  background: var(--white);
  border: 8px solid var(--white);
  border-radius: 50%;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(46, 49, 146, 0.25),
    0 0 0 12px rgba(46, 49, 146, 0.05);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.company-round-image .about-image-circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.company-round-image:hover .about-image-circle {
  transform: translateY(-8px);
  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(46, 49, 146, 0.4),
    0 0 0 12px rgba(46, 49, 146, 0.08);
}

.company-round-image:hover .about-image-circle img {
  transform: scale(1.08);
}

.company-round-image .about-image-number {
  position: absolute;
  right: max(5%, calc((100% - 370px) / 2 - 15px));
  bottom: 25px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  color: var(--primary-dark);
  background: var(--blue-light);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(46, 49, 146, 0.25);
  transition: transform 0.4s ease;
}

.company-round-image:hover .about-image-number {
  transform: scale(1.1) rotate(8deg);
}

/* DISEÑO RESPONSIVO UNIFICADO */

:root {
  --page-gutter: clamp(16px, 3vw, 40px);
  --section-space: clamp(52px, 7vw, 100px);
}

html {
  scroll-padding-top: 100px;
}

body {
  padding-top: 405px;
  overflow-x: clip;
}

.container,
.container-fluid,
.row > *,
[class*="col-"] {
  min-width: 0;
}

p,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: anywhere;
}

.section,
.company-section,
.company-image-section,
.contact-section,
.services-intro,
.services-catalog,
.services-cta,
.company-cta {
  scroll-margin-top: 100px;
}

/* NAVBAR: LOGO CENTRADO Y MENÚ DEBAJO */

.geomesxa-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 10px 0 0;
  background: var(--white);
  border-bottom: 3px solid var(--blue-light);
  box-shadow: 0 5px 20px rgba(30, 38, 56, 0.12);
}

.geomesxa-navbar > .container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.geomesxa-navbar .navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  color: var(--primary-dark);
}

.geomesxa-navbar .logo {
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
  object-position: center;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.empresa-nombre {
  color: var(--blue);
  font-size: clamp(17px, 1.8vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
}

.empresa-eslogan {
  color: var(--gray-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.geomesxa-navbar .navbar-collapse {
  display: flex;
  justify-content: center;
  width: 100%;
}

.geomesxa-navbar .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
  padding: 4px 0 8px;
}

.geomesxa-navbar .nav-link {
  position: relative;
  padding: 13px 12px !important;
  color: var(--primary-dark) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.geomesxa-navbar .nav-link:hover,
.geomesxa-navbar .nav-link.active {
  color: var(--blue) !important;
}

.geomesxa-navbar .nav-link::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 3px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.geomesxa-navbar .nav-link:hover::after,
.geomesxa-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.geomesxa-navbar .btn-contacto {
  margin-left: 5px;
  padding: 9px 15px !important;
  color: var(--blue) !important;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--blue);
  border-radius: 4px;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.geomesxa-navbar .btn-contacto:hover {
  color: var(--white) !important;
  background: var(--blue);
  border-color: var(--blue);
}

.geomesxa-navbar .navbar-toggler {
  display: none;
  flex-shrink: 0;
  color: var(--blue);
  background-color: #fff;
  border: 1px solid var(--blue-light);
}

.geomesxa-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232e3192' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.geomesxa-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.15);
}

/* GALERÍA HORIZONTAL ANIMADA */

.servicios-marquee {
  position: relative;
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  overflow: hidden;
  background: var(--primary-dark);
  border-top: 1px solid rgba(183, 227, 247, 0.3);
}

.servicios-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding-left: 16px;
  animation: recorridoServicios 45s linear infinite;
  will-change: transform;
}

.servicios-marquee:hover .servicios-track {
  animation-play-state: paused;
}

.servicio-slide {
  position: relative;
  flex: 0 0 250px;
  width: 250px;
  height: 125px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.servicio-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servicio-slide:hover img {
  transform: scale(1.08);
}

.servicio-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 38, 56, 0.9), transparent 70%);
  content: "";
  pointer-events: none;
}

.servicio-slide span {
  position: absolute;
  right: 8px;
  bottom: 9px;
  left: 8px;
  z-index: 1;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

@keyframes recorridoServicios {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* AJUSTES GENERALES */

.hero-right {
  width: min(100%, 850px);
  max-width: 100%;
  margin-right: 0;
}

@media (min-width: 1201px) {
  body {
    padding-top: 405px;
  }

  .footer-container {
    width: min(90%, 1320px);
  }

  .hero-content {
    max-width: 1320px;
  }
}

/* LAPTOPS */

@media (min-width: 992px) and (max-width: 1200px) {
  body {
    padding-top: 405px;
  }

  .geomesxa-navbar .logo {
    width: 175px;
    height: 175px;
  }

  .geomesxa-navbar .navbar-nav {
    gap: 2px;
  }

  .geomesxa-navbar .nav-link {
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 12px;
  }

  .geomesxa-navbar .btn-contacto {
    margin-left: 3px;
    padding: 8px 10px !important;
    font-size: 12px;
  }

  .servicio-slide {
    flex-basis: 230px;
    width: 230px;
    height: 115px;
  }

  .servicios-track {
    gap: 14px;
    animation-duration: 40s;
  }

  .hero-content {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }

  .hero-right {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
  }

  .hero-description {
    font-size: clamp(18px, 2vw, 23px);
  }

  .hero-services li {
    padding-left: 25px;
  }

  .about-image-circle {
    width: min(340px, 32vw);
    height: min(340px, 32vw);
  }

  .footer-container {
    width: 90%;
    gap: 35px;
  }

  .service-category {
    padding: 42px;
  }

  .company-round-image .about-image-circle {
    width: 330px;
    height: 330px;
  }
}

/* TABLETAS Y PANTALLAS MENORES DE 992 PX */

@media (max-width: 991.98px) {
  body {
    padding-top: 300px;
  }

  .geomesxa-navbar {
    padding-top: 8px;
  }

  .geomesxa-navbar > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggler"
      "menu menu";
    align-items: center;
    column-gap: 10px;
  }

  .geomesxa-navbar .navbar-brand {
    grid-area: brand;
    justify-content: center;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .geomesxa-navbar .logo {
    width: 135px;
    height: 135px;
  }

  .geomesxa-navbar .navbar-toggler {
    display: block;
    grid-area: toggler;
    margin: 0;
    padding: 8px 10px;
  }

  .geomesxa-navbar .navbar-collapse {
    grid-area: menu;
    display: none;
    width: 100%;
  }

  .geomesxa-navbar .navbar-collapse.show {
    display: flex;
    flex-direction: column;
  }

  .geomesxa-navbar .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 8px 0 12px;
  }

  .geomesxa-navbar .nav-item {
    width: 100%;
    text-align: center;
  }

  .geomesxa-navbar .nav-link {
    display: inline-block;
    max-width: 100%;
    padding: 10px 12px !important;
    font-size: 13px;
    white-space: normal;
  }

  .geomesxa-navbar .nav-link::after {
    right: 20%;
    bottom: 3px;
    left: 20%;
  }

  .geomesxa-navbar .btn-contacto {
    margin: 5px auto;
  }

  .servicios-marquee {
    margin-top: 6px;
    padding: 10px 0;
  }

  .servicios-track {
    gap: 13px;
    padding-left: 13px;
    animation-duration: 38s;
  }

  .servicio-slide {
    flex-basis: 220px;
    width: 220px;
    height: 110px;
  }

  .hero {
    min-height: 80svh;
    background-position: 60% center;
  }

  .hero-content {
    padding: 45px var(--page-gutter) 40px;
  }

  .hero-title {
    margin-bottom: 30px;
  }

  .hero-title h1 {
    padding-top: 10px;
    font-size: clamp(32px, 5vw, 48px);
  }

  .hero-right {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 0;
    text-align: left;
  }

  .hero-description {
    max-width: 760px;
    font-size: clamp(17px, 2.2vw, 21px);
    text-align: left;
  }

  .hero-services li {
    padding-left: 0;
    font-size: 16px;
  }

  .about-image-wrapper {
    min-height: 360px;
  }

  .about-image-circle {
    width: min(320px, 42vw);
    height: min(320px, 42vw);
  }

  .about-image-number {
    right: max(7%, calc((100% - 320px) / 2 - 12px));
    bottom: 20px;
    width: 62px;
    height: 62px;
    font-size: 21px;
  }

  .section {
    padding: 72px 0;
  }

  .experience-card,
  .service-card {
    padding: 28px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-image-wrapper {
    height: 400px;
  }

  .contact-content {
    padding: 25px 10px 0;
  }

  .footer {
    padding: 60px 0 50px;
  }

  .footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    width: calc(100% - 48px);
    text-align: center;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .footer-logo {
    width: 190px;
    margin: 0 auto 22px;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-menu a {
    font-size: 18px;
    white-space: normal;
  }

  .footer-copy {
    max-width: 420px;
    margin: 25px auto 0;
  }

  .inner-hero {
    min-height: 48svh;
    background-position: center;
  }

  .inner-hero-content {
    padding: 65px 0 35px;
  }

  .inner-hero-content h1 {
    font-size: clamp(38px, 6vw, 52px);
  }

  .company-section,
  .company-cta,
  .services-cta {
    padding: 68px 0;
  }

  .company-section h2 {
    margin-bottom: 20px;
  }

  .services-hero {
    min-height: 54svh;
    background-position: center;
  }

  .services-hero-content {
    padding: 55px 0 35px;
  }

  .services-intro {
    padding: 70px 0 60px;
  }

  .service-category {
    padding: 32px;
  }

  .service-category-header {
    gap: 18px;
    margin-bottom: 28px;
  }

  .service-subcategory {
    min-height: 0;
    padding: 24px;
  }

  .company-image-section {
    padding: 60px 0;
  }

  .company-round-image {
    min-height: 340px;
  }

  .company-round-image .about-image-circle {
    width: 300px;
    height: 300px;
  }

  .company-round-image .about-image-number {
    right: max(7%, calc((100% - 300px) / 2 - 12px));
    bottom: 18px;
    width: 58px;
    height: 58px;
    font-size: 20px;
  }
}

/* =========================================================
   TABLETAS PEQUEÑAS Y MÓVILES
========================================================= */

@media (max-width: 767.98px) {
  :root {
    --page-gutter: 20px;
  }

  html {
    scroll-padding-top: 20px;
    overflow-x: clip;
  }

  body {
    padding-top: 0 !important;
    overflow-x: clip;
  }

  /* NAVBAR */

  .geomesxa-navbar {
    position: sticky !important;
    top: 0 !important;
    right: auto !important;
    left: auto !important;
    inset: auto;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 6px 0 0;
    overflow: visible;
    box-sizing: border-box;
    transform: none !important;
    background: #ffffff;
    border-bottom: 2px solid #2e3192;
    box-shadow: 0 3px 12px rgba(30, 38, 56, 0.12);
  }

  .geomesxa-navbar > .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "menu";
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .geomesxa-navbar .navbar-brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 125px;
    margin: 0;
    padding: 0 48px;
    box-sizing: border-box;
    gap: 0;
  }

  .geomesxa-navbar .logo {
    display: block;
    flex: 0 1 auto;
    width: 125px;
    height: 125px;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
  }

  /* BOTÓN DEL MENÚ: POSICIÓN ESTABLE */

  .geomesxa-navbar .navbar-toggler {
    position: absolute !important;
    top: 42px;
    right: 12px;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 8px;
    border: 1px solid #2e3192;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
    transform: none !important;
  }

  .geomesxa-navbar .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.15);
  }

  .geomesxa-navbar .navbar-toggler-icon {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232e3192' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
  }

  /* MENÚ DESPLEGABLE */

  .geomesxa-navbar .navbar-collapse {
    grid-area: menu;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(46, 49, 146, 0.2);
    box-sizing: border-box;
  }

  .geomesxa-navbar .navbar-collapse.show {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }

  .geomesxa-navbar .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 8px 0 12px;
    box-sizing: border-box;
  }

  .geomesxa-navbar .nav-item {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .geomesxa-navbar .nav-link {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 11px 16px !important;
    color: #1e2638 !important;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  .geomesxa-navbar .nav-link:hover,
  .geomesxa-navbar .nav-link.active {
    color: #2e3192 !important;
  }

  .geomesxa-navbar .nav-link::after {
    right: 20%;
    bottom: 3px;
    left: 20%;
    height: 2px;
    background: #2e3192;
  }

  .geomesxa-navbar .btn-contacto {
    display: inline-block;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 8px auto;
    padding: 9px 16px !important;
    white-space: normal;
  }

  /* GALERÍA DE SERVICIOS */

  .servicios-marquee {
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
    padding: 9px 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .servicios-track {
    display: flex;
    width: max-content;
    max-width: none;
    gap: 12px;
    padding-left: 12px;
    animation-duration: 34s;
  }

  .servicio-slide {
    flex: 0 0 195px;
    width: 195px;
    height: 100px;
  }

  .servicio-slide span {
    font-size: 12px;
  }

  /* HERO PRINCIPAL */

  .hero {
    min-height: 80svh;
    padding: 25px 0;
    background-position: 62% center;
  }

  .hero-content {
    padding: 35px var(--page-gutter) 25px;
  }

  .hero-title {
    margin-bottom: 22px;
  }

  .hero-title h1 {
    padding-top: 0;
    font-size: clamp(30px, 7.5vw, 42px);
    line-height: 1.15;
  }

  .hero-right {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 15px 0;
    text-align: left;
  }

  .hero-description {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
  }

  .hero-services li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    padding-left: 0;
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-services li i {
    flex: 0 0 20px;
    width: 20px;
    margin-left: 0;
    font-size: 18px;
  }

  /* SECCIONES */

  .section {
    padding: 56px 0;
  }

  .section h2,
  .contact-section h2 {
    font-size: clamp(28px, 6.8vw, 38px);
    line-height: 1.2;
  }

  .section-label {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .section-heading p,
  .section > .container > .row > .col-lg-6 > p {
    font-size: 15px;
    line-height: 1.75;
  }

  /* IMÁGENES CIRCULARES */

  .about-image-wrapper {
    min-height: 290px;
    margin-top: 12px;
  }

  .about-image-circle {
    width: min(250px, 70vw);
    height: min(250px, 70vw);
    border-width: 6px;
  }

  .about-image-number {
    right: 7%;
    bottom: 10px;
    width: 50px;
    height: 50px;
    font-size: 17px;
  }

  /* TARJETAS */

  .experience-card,
  .service-card {
    padding: 24px 20px;
  }

  .experience-card h3,
  .service-card h3 {
    font-size: 21px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
    font-size: 23px;
  }

  /* CONTACTO */

  .contact-section {
    padding: 42px 0 48px;
  }

  .contact-image-wrapper {
    height: min(320px, 82vw);
    margin-bottom: 18px;
  }

  .contact-content {
    padding: 12px 0 0;
  }

  .contact-content h2 {
    font-size: clamp(29px, 7vw, 37px);
  }

  .contact-content p {
    font-size: 15px;
    line-height: 1.75;
  }

  .contact-content .btn-primary {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  /* FOOTER */

  .footer {
    padding: 45px 0 38px;
  }

  .footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 36px);
    gap: 30px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .footer-logo {
    width: min(180px, 70%);
    margin: 0 auto 20px;
  }

  .footer-text {
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .social-icons a {
    font-size: 28px;
  }

  .footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
  }

  .footer-menu li {
    margin-bottom: 12px;
  }

  .footer-menu a {
    font-size: 16px;
  }

  .footer-copy {
    max-width: 290px;
    margin: 20px auto 0;
    font-size: 10px;
  }

  /* BOTÓN WHATSAPP */

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 49px;
    height: 49px;
    font-size: 24px;
  }

  /* PÁGINAS INTERIORES */

  .inner-hero {
    min-height: 48svh;
    background-position: center;
  }

  .inner-hero-content {
    padding: 55px 0 30px;
  }

  .inner-hero-content .hero-subtitle {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .inner-hero-content h1 {
    font-size: clamp(32px, 7.5vw, 42px);
  }

  .inner-hero-content p,
  .company-profile,
  .company-section p,
  .company-cta p,
  .services-cta p {
    font-size: 15px;
    line-height: 1.75;
  }

  .company-section,
  .company-cta,
  .services-cta {
    padding: 52px 0;
  }

  .company-section h2,
  .company-cta h2,
  .services-cta h2 {
    font-size: clamp(29px, 7vw, 38px);
  }

  .company-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    font-size: 26px;
  }

  /* PÁGINA DE SERVICIOS */

  .services-hero {
    min-height: 58svh;
    background-position: 60% center;
  }

  .services-hero-overlay {
    background: rgba(30, 38, 56, 0.62);
  }

  .services-hero-content {
    padding: 45px 0 30px;
  }

  .services-hero-content h1 {
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: -0.5px;
  }

  .services-hero-content p {
    font-size: 15px;
    line-height: 1.75;
  }

  .services-intro {
    padding: 50px 0 42px;
  }

  .services-intro h2 {
    font-size: clamp(30px, 7.5vw, 40px);
  }

  .services-intro p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
  }

  .services-catalog {
    padding-bottom: 42px;
  }

  .service-category {
    margin-bottom: 18px;
    padding: 24px 17px;
    border-radius: 6px;
  }

  .service-category-header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .service-category-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .service-category-label {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .service-category-header h2 {
    font-size: clamp(21px, 5.5vw, 29px);
  }

  .service-category-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-subcategory,
  .service-subcategory.full-width {
    grid-column: auto;
    min-height: 0;
    padding: 20px 17px;
  }

  .service-subcategory h3 {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .service-subcategory p,
  .service-subcategory li {
    font-size: 13px;
    line-height: 1.7;
  }

  .service-subcategory .row {
    flex-direction: column;
  }

  .service-subcategory .row > .col-md-5,
  .service-subcategory .row > .col-md-7 {
    width: 100%;
  }

  .service-subcategory .service-subcategory-image {
    max-width: 380px;
    margin: 0 auto 18px;
  }

  /* IMÁGENES DE EMPRESA */

  .company-image-section {
    padding: 42px 0;
  }

  .company-image-content {
    padding: 14px 0;
  }

  .company-image-content h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .company-image-content p {
    font-size: 15px;
    line-height: 1.75;
  }

  .company-round-image {
    min-height: 275px;
    margin-top: 12px;
  }

  .company-round-image .about-image-circle {
    width: min(235px, 68vw);
    height: min(235px, 68vw);
    border-width: 6px;
  }

  .company-round-image .about-image-number {
    right: 7%;
    bottom: 8px;
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
}

/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 480px) {
  :root {
    --page-gutter: 16px;
  }

  .geomesxa-navbar {
    padding-top: 5px;
  }

  .geomesxa-navbar > .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .geomesxa-navbar .navbar-brand {
    min-height: 110px;
    padding-right: 45px;
    padding-left: 45px;
  }

  .geomesxa-navbar .logo {
    width: 110px;
    height: 110px;
  }

  .geomesxa-navbar .navbar-toggler {
    top: 34px;
    right: 10px;
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .geomesxa-navbar .navbar-toggler-icon {
    width: 22px;
    height: 22px;
  }

  .geomesxa-navbar .navbar-nav {
    padding-top: 6px;
    padding-bottom: 10px;
  }

  .geomesxa-navbar .nav-link {
    padding: 10px 12px !important;
    font-size: 12px;
  }

  .empresa-nombre {
    font-size: clamp(12px, 3.4vw, 15px);
    letter-spacing: 0.2px;
  }

  .empresa-eslogan {
    max-width: 165px;
    font-size: 9px;
    letter-spacing: 0.2px;
  }

  .servicios-marquee {
    margin-top: 4px;
    padding: 8px 0;
  }

  .servicios-track {
    gap: 10px;
    padding-left: 10px;
    animation-duration: 30s;
  }

  .servicio-slide {
    flex-basis: 160px;
    width: 160px;
    height: 82px;
  }

  .servicio-slide span {
    font-size: 11px;
  }

  .hero-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-title h1 {
    font-size: clamp(27px, 7.8vw, 35px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-services li {
    font-size: 13px;
  }

  .about-image-wrapper {
    min-height: 255px;
  }

  .about-image-circle {
    width: min(215px, 70vw);
    height: min(215px, 70vw);
  }

  .about-image-number {
    right: 5%;
    bottom: 7px;
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .service-category {
    padding: 20px 13px;
  }

  .service-category-header {
    gap: 10px;
  }

  .service-category-icon {
    flex-basis: 41px;
    width: 41px;
    height: 41px;
    font-size: 17px;
  }

  .service-category-header h2 {
    font-size: 21px;
  }

  .service-subcategory {
    padding: 18px 14px;
  }

  .company-round-image {
    min-height: 245px;
  }

  .company-round-image .about-image-circle {
    width: min(205px, 68vw);
    height: min(205px, 68vw);
  }

  .company-round-image .about-image-number {
    right: 5%;
    width: 43px;
    height: 43px;
    font-size: 15px;
  }

  .footer-container {
    width: calc(100% - 28px);
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}

/* DISPOSITIVOS SIN HOVER */

@media (hover: none) {
  .experience-card:hover,
  .service-card:hover,
  .service-category:hover,
  .about-image-wrapper:hover .about-image-circle,
  .company-round-image:hover .about-image-circle,
  .contact-image-wrapper:hover .contact-person,
  .whatsapp-float:hover {
    transform: none;
  }

  .servicios-marquee:hover .servicios-track {
    animation-play-state: running;
  }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .servicios-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* IMAGEN CIRCULAR: PLANTA */

#experiencias .experience-image img[src*="Planta.png"] {
  width: 182px;
  height: 182px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

#experiencias .experience-image:has(img[src*="Planta.png"]) {
  width: 182px;
  height: 182px;
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* IMAGEN DERECHA: CONSERVAR FORMATO RECTANGULAR */

#experiencias .experience-image:has(img[src*="Img9.png"]) {
  width: 100%;
  height: 450px;
  margin: 10px 0 0;
  overflow: hidden;
  border-radius: 12px;
}

#experiencias .experience-image:has(img[src*="Img9.png"]) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* RESPONSIVE */

@media (max-width: 767.98px) {
  #experiencias .experience-image:has(img[src*="Planta.png"]) {
    width: 170px;
    height: 170px;
  }

  #experiencias .experience-image img[src*="Planta.png"] {
    width: 170px;
    height: 170px;
  }

  #experiencias .experience-image:has(img[src*="Img9.png"]) {
    height: 260px;
  }
}

@media (max-width: 480px) {
  #experiencias .experience-image:has(img[src*="Img9.png"]) {
    height: 220px;
  }
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.cf-turnstile {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    min-height: 65px;
    margin: 15px auto;
    visibility: visible !important;
    opacity: 1 !important;
    box-sizing: border-box;
}

/* Tablets */
@media (max-width: 768px) {
    .cf-turnstile {
        transform: scale(0.95);
        transform-origin: center center;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .cf-turnstile {
        transform: scale(0.85);
        transform-origin: center center;
        margin: 12px auto;
        min-height: 60px;
    }
}

/* Celulares pequeños */
@media (max-width: 360px) {
    .cf-turnstile {
        transform: scale(0.78);
        transform-origin: center center;
        min-height: 55px;
    }
}

.swal2-container {
    z-index: 999999 !important;
}

.swal2-popup {
    position: relative;
    z-index: 1000000 !important;
}

.swal2-backdrop-show {
    z-index: 999998 !important;
}
