/* RESET GLOBAL & ZERO SCROLL (100vw x 100vh) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #071a44;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
}

/* CORTINA DE TRANSICIÓN ARQUITECTÓNICA DE LUJO */
.page-transition-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #071a44;
  z-index: 999999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100vw);
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.4);
  border-left: 4px solid #ff9000;
}

/* Al hacer click: se desplaza desde la derecha cubriendo la pantalla */
.page-transition-curtain.cover-screen {
  transform: translateX(0vw) !important;
}

/* Al cargar la nueva página: sale desplazándose hacia la izquierda */
.page-transition-curtain.exit-left {
  transform: translateX(-100vw) !important;
}

.transition-brand-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.page-transition-curtain.cover-screen .transition-brand-content,
.page-transition-curtain.exit-left .transition-brand-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.transition-logo {
  height: 115px;
  width: auto;
  max-width: 85vw;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.transition-line {
  width: 90px;
  height: 3px;
  background: #ff9000;
  border-radius: 3px;
}

/* 1. HEADER */
.site-header {
  height: 7.5vh;
  width: 100vw;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  z-index: 20;
}

.header-logo {
  height: 65px;
  max-height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 800;
  color: #0a2259;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 6px;
}

.header-nav a.active {
  color: #0a2259;
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0052cc;
  border-radius: 2px;
}

.header-nav a:hover {
  color: #ff9000;
}

.btn-header-cta {
  background-color: #ff9000;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 144, 0, 0.3);
  transition: background-color 0.2s;
}

.btn-header-cta:hover {
  background-color: #e07f00;
}

.mobile-menu-toggle,
.mobile-dropdown-menu {
  display: none;
}

/* 2. HERO SECTION (CON EFECTO ZOOM HACIA LAS ESTRUCTURAS DE LA DERECHA) */
.hero-section {
  height: 35.5vh;
  width: 100vw;
  position: relative;
  background-color: #071a44;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 45px;
  flex-shrink: 0;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform-origin: 85% 50%;
  animation: heroZoomStructures 15s ease-in-out infinite alternate;
}

@keyframes heroZoomStructures {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.25);
  }
}

.hero-content {
  max-width: 500px;
  color: #ffffff;
  z-index: 2;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #ff9000;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 15, 45, 0.4);
  animation: heroSlideFromLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.dash-line {
  width: 24px;
  height: 2px;
  background-color: #ff9000;
  display: inline-block;
  border-radius: 1px;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  animation: heroSlideFromLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.highlight-orange {
  color: #ff9d00;
  text-shadow: 0 2px 4px rgba(0, 15, 45, 0.4);
}

.hero-description {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #dce7f7;
  margin-bottom: 22px;
  font-weight: 400;
  animation: heroSlideFromLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.btn-hero-solid {
  background-color: #ff9000;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 144, 0, 0.35);
  transition: background-color 0.2s;
  animation: heroSlideFromLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}

.btn-hero-solid:hover {
  background-color: #e07f00;
}

.btn-hero-outline {
  background-color: rgba(4, 20, 56, 0.5);
  border: 1px solid rgba(140, 175, 230, 0.45);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.2s;
  animation: heroSlideFromRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
}

.btn-hero-outline:hover {
  border-color: #a0c4ff;
}

@keyframes heroSlideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 3. SERVICIOS */
.services-section {
  height: 22vh !important;
  width: 100vw !important;
  background: #ffffff !important;
  padding: 8px 45px 0 45px !important;
  display: flex !important;
  align-items: flex-start !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

.services-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  height: 100% !important;
  align-items: flex-start !important;
  overflow: visible !important;
}

/* ANIMACIONES INDIVIDUALES POR BLOQUE DE SERVICIO (DELIMITADAS AL ESPACIO DE CADA TARJETA) */
.service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  height: 100% !important;
  justify-content: flex-start !important;
  padding: 0 4px !important;
  position: relative !important;
  overflow: visible !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Secuencia individual 1 a 6 de Izquierda a Derecha */
.service-card:nth-child(1) {
  animation: cardSlideLeft 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

.service-card:nth-child(2) {
  animation: cardSlideBottom 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.service-card:nth-child(3) {
  animation: cardSlideTop 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.service-card:nth-child(4) {
  animation: cardSlideLeft 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both;
}

.service-card:nth-child(5) {
  animation: cardSlideBottom 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}

.service-card:nth-child(6) {
  animation: cardSlideTop 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.75s both;
}

@keyframes cardSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-35px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardSlideBottom {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardSlideTop {
  0% {
    opacity: 0;
    transform: translateY(-35px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 138px !important;
  max-height: 138px !important;
  border-radius: 14px !important;
  margin-bottom: 22px !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

.card-top-img {
  width: 100% !important;
  height: 138px !important;
  max-height: 138px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  display: block !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

.icon-badge-circle {
  position: absolute !important;
  bottom: -6px !important;
  left: 14px !important;
  transform: none !important;
  width: 56px !important;
  height: 56px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
  border: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 5 !important;
}

.icon-badge-circle img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  display: block !important;
}

.service-card-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #071a44 !important;
  margin-top: 2px !important;
  margin-bottom: 3px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-align: center !important;
  width: 100% !important;
}

.service-card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11px !important;
  color: #556987 !important;
  line-height: 1.38 !important;
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 95% !important;
  width: 100% !important;
  font-weight: 500 !important;
}

/* 4. PROYECTOS DESTACADOS (ANIMACIONES DE ENTRADA SECUENCIAL) */
.projects-section {
  height: 16.5vh !important;
  width: 100vw !important;
  background: #ffffff !important;
  padding: 0 45px 18px 45px !important;
  display: flex !important;
  align-items: flex-start !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.projects-info {
  flex: 0 0 35% !important;
  max-width: 35% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.projects-section .projects-tagline-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
  animation: projectSlideFromLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.8s both !important;
}

.projects-section .blue-dash-line {
  width: 20px !important;
  height: 2px !important;
  background-color: #0052cc !important;
  display: inline-block !important;
  border-radius: 1px !important;
}

.projects-section .projects-tagline {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0052cc !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
}

.projects-section .projects-main-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  color: #071a44 !important;
  line-height: 1.25 !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.2px !important;
  text-transform: uppercase !important;
  animation: projectSlideFromLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.95s both !important;
}

.text-highlight-blue {
  color: #0052cc !important;
}

.projects-blue-link {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  color: #0052cc !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  animation: projectSlideFromLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.1s both !important;
}

.projects-blue-link:hover {
  text-decoration: underline;
}

.projects-gallery {
  flex: 1;
  display: flex;
  gap: 12px;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}

.projects-gallery .project-card-img {
  flex: 1 !important;
  height: 140px !important;
  max-height: 144px !important;
  min-width: 0 !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
}

/* IMÁGENES ENTRAN UNA A UNA INICIANDO DESDE LA ÚLTIMA (LA MÁS A LA DERECHA) AL TERMINAR LA 2ª SECCIÓN */
.projects-gallery .project-card-img:nth-child(3) {
  animation: projectSlideFromRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.2s both !important;
}

.projects-gallery .project-card-img:nth-child(2) {
  animation: projectSlideFromRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.45s both !important;
}

.projects-gallery .project-card-img:nth-child(1) {
  animation: projectSlideFromRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.7s both !important;
}

@keyframes projectSlideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes projectSlideFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 5. FOOTER UNIFICADO COMPACTO Y ELEGANTE (18vh) */
.site-footer {
  height: 18vh;
  max-height: 18vh;
  min-height: 18vh;
  flex: 0 0 18vh;
  flex-shrink: 0;
  width: 100vw;
  background-color: #071a44;
  color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
  overflow: visible;
}

.footer-wave-top {
  position: absolute;
  top: -38px;
  left: 0;
  width: 100vw;
  height: 40px;
  line-height: 0;
  z-index: 100;
  pointer-events: none;
}

.footer-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-main-body {
  padding: 4px 45px 0 45px;
  flex: 1;
  display: flex;
  align-items: center;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-brand {
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 42px;
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-left: 0;
  margin-bottom: 4px;
}

.brand-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-bottom: 8px;
  text-align: left;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #ffffff;
  color: #071a44;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.social-btn:hover {
  background: #ff9000;
  color: #ffffff;
}

.footer-title {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-menu,
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.contact-info li {
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-col-newsletter {
  max-width: 200px;
}

.newsletter-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
}

.newsletter-input-group {
  display: flex;
  border-radius: 5px;
  overflow: hidden;
}

.newsletter-input-group input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-right: none;
  font-size: 10px;
  outline: none;
  background: #0b2559;
  color: #ffffff;
  border-radius: 5px 0 0 5px;
}

.newsletter-input-group input::placeholder {
  color: #94a3b8;
}

.newsletter-input-group button {
  background: #ff9000;
  border: none;
  color: #ffffff;
  padding: 0 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 5px 5px 0;
}

/* BARRA INFERIOR DE COPYRIGHT (AZUL VIBRANTE) */
.copyright-bottom-bar {
  background-color: #004ce6;
  padding: 6px 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #ffffff;
  font-weight: 500;
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
}

.legal-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.legal-links a {
  color: #ffffff;
  text-decoration: none;
}

.legal-sep {
  opacity: 0.6;
}

/* BOTÓN HAMBURGUESA OCULTO EN PC ESCRITORIO */
.mobile-menu-toggle {
  display: none;
}

.mobile-cta-btn {
  display: none;
}

/* ====================================================
   ESTILOS RESPONSIVE PARA MÓVILES (MENOS DE 768px)
   LA VERSIÓN DE ESCRITORIO (PC) PERMANECE 100% INTACTA
   ==================================================== */
@media (max-width: 768px) {
  html, body, .page-wrapper {
    height: auto !important;
    min-height: 100vh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  /* 1. HEADER MÓVIL CON MENÚ HAMBURGUESA */
  .site-header {
    height: 65px !important;
    padding: 0 20px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    z-index: 100 !important;
  }

  .desktop-cta-btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 28px !important;
    height: 20px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 101 !important;
  }

  .mobile-menu-toggle span {
    width: 100% !important;
    height: 3px !important;
    background-color: #071a44 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg) !important;
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg) !important;
  }

  .header-nav {
    display: none !important;
    position: absolute !important;
    top: 65px !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 16px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    z-index: 99 !important;
  }

  .header-nav.mobile-open {
    display: flex !important;
  }

  .header-nav a {
    font-size: 13px !important;
    text-align: center !important;
    padding: 8px 0 !important;
    color: #0a2259 !important;
  }

  .header-nav a.mobile-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ff9000 !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 144, 0, 0.4) !important;
    margin-top: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. HERO MÓVIL (RESALTAR ESTRUCTURAS DE LA DERECHA) */
  .hero-section {
    height: auto !important;
    min-height: 480px !important;
    padding: 50px 20px !important;
    position: relative !important;
  }

  .hero-bg-wrapper::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(4, 20, 56, 0.82) 0%, rgba(4, 20, 56, 0.65) 100%) !important;
    z-index: 2 !important;
  }

  .hero-bg-img {
    object-fit: cover !important;
    object-position: 85% center !important; /* RESALTA LAS ESTRUCTURAS EN LUGAR DEL MAR */
  }

  .hero-content {
    position: relative !important;
    z-index: 3 !important;
  }

  .hero-title {
    font-size: 28px !important;
  }

  .hero-description {
    font-size: 13px !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .btn-hero-solid, .btn-hero-outline {
    text-align: center !important;
    justify-content: center !important;
  }

  /* 3. SERVICIOS (SECCIÓN 2 EN 1 SOLA COLUMNA) */
  .services-section {
    height: auto !important;
    padding: 30px 20px !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important; /* 1 SOLA COLUMNA PARA IMÁGENES SEGÚN TU SOLICITUD */
    gap: 32px !important;
    height: auto !important;
  }

  .service-card:not(:last-child)::after {
    display: none !important;
  }

  .card-img-wrapper {
    height: 220px !important;
    max-height: none !important;
  }

  .card-top-img {
    height: 220px !important;
    max-height: none !important;
  }

  /* 4. PROYECTOS DESTACADOS (SECCIÓN 3 EN 1 SOLA COLUMNA) */
  .projects-section {
    height: auto !important;
    padding: 30px 20px !important;
  }

  .projects-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
  }

  .projects-info {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .projects-main-title {
    font-size: 24px !important;
  }

  .projects-gallery {
    flex-direction: column !important; /* 1 SOLA COLUMNA PARA IMÁGENES SEGÚN TU SOLICITUD */
    width: 100% !important;
    gap: 20px !important;
  }

  .project-card-img {
    width: 100% !important;
    height: 220px !important;
    max-height: none !important;
  }

  /* 5. FOOTER MÓVIL REORGANIZADO Y ESTRUCTURADO */
  .site-footer {
    height: auto !important;
    min-height: auto !important;
  }

  .footer-main-body {
    padding: 30px 20px 25px 20px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 2 COLUMNAS LATERALES PARA NAVEGACIÓN Y SERVICIOS */
    gap: 24px 16px !important;
    width: 100% !important;
  }

  /* Marca arriba a ancho completo con línea divisoria */
  .footer-col-brand {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
    align-items: flex-start !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-bottom: 18px !important;
  }

  .brand-text {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
    margin-bottom: 12px !important;
  }

  /* Títulos del footer (Blanco original #ffffff) */
  .footer-title {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.8px !important;
  }

  .footer-menu li a, .contact-info li span {
    font-size: 11px !important;
    line-height: 1.6 !important;
  }

  /* Contacto a ancho completo abajo */
  .footer-col:nth-child(4) {
    grid-column: 1 / -1 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-top: 18px !important;
  }

  /* Newsletter a ancho completo al final */
  .footer-col-newsletter {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .newsletter-input-group {
    width: 100% !important;
    margin-top: 8px !important;
    display: flex !important;
  }

  .newsletter-input-group input {
    padding: 9px 12px !important;
    font-size: 11px !important;
  }

  .copyright-bottom-bar {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    text-align: center !important;
    font-size: 9.5px !important;
  }
}

/* ==========================================================================
   PÁGINA SOBRE NOSOTROS (NOSOTROS.HTML)
   ========================================================================== */

/* 1. HERO SOBRE NOSOTROS */
.about-hero-section {
  height: 38vh;
  width: 100vw;
  background: #071a44;
  padding: 0 0 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-shrink: 0;
  overflow: hidden;
}

.about-hero-content {
  flex: 1;
  max-width: 530px;
  padding-right: 10px;
}

.about-tagline-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.amber-dash-line {
  width: 28px;
  height: 2px;
  background-color: #ff9000;
  display: inline-block;
}

.about-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: #ff9000;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-main-title {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.text-highlight-amber {
  color: #ff9000;
}

.about-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 14px;
  font-weight: 500;
}

.semi-bold {
  font-weight: 600;
  color: #ffffff;
}

.about-hero-img-wrap {
  flex: 1;
  height: 100%;
  max-height: 100%;
  width: 100%;
  flex-shrink: 0;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.05);
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2. SECCIÓN VALORES Y FILOSOFÍA (5 COLUMNAS COMPACTAS Y CENTRADAS EXACTAS) */
.about-values-section {
  height: 19.5vh;
  width: 100vw;
  background: #f8fafd;
  padding: 0 45px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  height: 100%;
  align-items: center;
}

.value-col {
  padding: 0 14px;
  border-right: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  height: 75%;
}

.value-col:last-child {
  border-right: none;
}

.value-icon-wrap {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #071a44;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9.5px;
  line-height: 1.4;
  color: #556987;
  font-weight: 400;
  max-width: 92%;
}

.value-list {
  font-family: 'Plus Jakarta Sans', sans-serif;
  list-style-type: disc;
  list-style-position: inside;
  text-align: left;
  font-size: 9.5px;
  line-height: 1.45;
  color: #556987;
  font-weight: 500;
  margin: 0 auto;
}

.value-list li {
  margin-bottom: 1px;
}

/* REGLAS RESPONSIVE PARA SOBRE NOSOTROS EN MÓVIL */
@media (max-width: 768px) {
  .about-hero-section {
    height: auto !important;
    flex-direction: column !important;
    padding: 30px 20px !important;
    gap: 24px !important;
  }

  .about-hero-content {
    max-width: 100% !important;
  }

  .about-main-title {
    font-size: 24px !important;
  }

  .about-hero-img-wrap {
    width: 100% !important;
    height: 220px !important;
  }

  .about-values-section {
    height: auto !important;
    padding: 30px 20px !important;
  }

  .about-values-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .value-col {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 20px !important;
  }

  .value-col:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}

/* ==========================================================================
   PÁGINA DE CONTACTO (CONTACTO.HTML - RÉPLICA EXACTA A CONTACTO.JPEG)
   ========================================================================== */

/* 1. SECCIÓN CONTÁCTANOS (HERO & FORMULARIO FIEL A REFERENCIA) */
.contact-hero-section {
  height: 48vh;
  width: 100vw;
  background: #ffffff;
  padding: 0 45px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.contact-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
  height: 94%;
}

.contact-info-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-tagline-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-line {
  width: 26px;
  height: 3px;
  background: #f59e0b;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
}

.contact-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #071a44;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.text-highlight-blue {
  color: #004ce6;
}

.contact-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 22px;
  font-weight: 500;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #edf2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: #004ce6;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.item-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  color: #334155;
  font-weight: 600;
}

/* COLUMNA FORMULARIO */
.contact-form-col {
  width: 100%;
  height: 100%;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #071a44;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: space-between;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form-grid input[type="text"],
.contact-form-grid input[type="email"],
.contact-form-grid input[type="tel"],
.contact-form-grid textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12.5px;
  color: #1e293b;
  background: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
  border-color: #0052cc;
}

.contact-form-grid textarea {
  resize: none;
  height: 85px;
}

.form-row-checkbox {
  margin: 3px 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #556987;
  cursor: pointer;
  font-weight: 500;
}

.checkbox-container a {
  color: #0052cc;
  text-decoration: underline;
  font-weight: 600;
}

.btn-send-message {
  background: #f59e0b;
  color: #ffffff;
  border: none;
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
}

.btn-send-message:hover {
  background: #d97706;
  transform: translateY(-1px);
}

/* 2. SECCIÓN BANNER AGENDA CITA & MAPA (CARDS REDONDEADAS CON MARGEN INFERIOR AMPLIO) */
.contact-cards-section {
  height: 26.5vh;
  width: 100vw;
  background: #ffffff;
  padding: 0 45px 20px 45px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.contact-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  height: 88%;
}

/* CARD AGENDA CITA */
.appointment-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(90deg, #071a44 0%, #071a44 42%, rgba(7, 26, 68, 0.8) 68%, rgba(7, 26, 68, 0.25) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80') right center/cover no-repeat;
  padding: 18px 24px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(7, 26, 68, 0.12);
}

.appointment-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

/* CARD MAPA INTERACTIVO GOOGLE MAPS */
.map-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f6;
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 20px rgba(7, 26, 68, 0.08);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.office-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  max-width: 270px;
  z-index: 3;
}

.contact-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  height: 88%;
}

/* CARD AGENDA CITA */
.appointment-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(90deg, #071a44 0%, #071a44 42%, rgba(7, 26, 68, 0.8) 68%, rgba(7, 26, 68, 0.25) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80') right center/cover no-repeat;
  padding: 18px 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(7, 26, 68, 0.12);
}

.appointment-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.appointment-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.appointment-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
}

.appointment-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.appointment-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10.5px;
  color: #cbd5e1;
  line-height: 1.35;
  margin-bottom: 8px;
}

.btn-appointment-cta {
  background: #ff9000;
  color: #ffffff;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  align-self: flex-start;
  transition: background 0.2s;
}

.btn-appointment-cta:hover {
  background: #e68200;
}

/* CARD MAPA INTERACTIVO DE GOOGLE MAPS */
.map-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f6;
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 20px rgba(7, 26, 68, 0.08);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.office-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  max-width: 270px;
  z-index: 3;
}

.office-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.office-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #071a44;
  letter-spacing: 0.4px;
}

.office-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  color: #556987;
  line-height: 1.3;
}

.contact-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  width: 100%;
  height: 92%;
}

/* CARD AGENDA CITA */
.appointment-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(90deg, #071a44 0%, #071a44 42%, rgba(7, 26, 68, 0.8) 68%, rgba(7, 26, 68, 0.25) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80') right center/cover no-repeat;
  padding: 22px 28px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(7, 26, 68, 0.12);
}

.appointment-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.appointment-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.appointment-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
}

.appointment-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.appointment-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 12px;
}

.btn-appointment-cta {
  background: #ff9000;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  align-self: flex-start;
  transition: background 0.2s;
}

.btn-appointment-cta:hover {
  background: #e68200;
}

/* CARD MAPA DE UBICACIÓN */
.map-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f6 url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?w=800&q=80') center/cover no-repeat;
  border: 1px solid #cbd5e1;
}

.map-center-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.blue-pin-pulse {
  animation: floatPin 2s infinite ease-in-out;
}

@keyframes floatPin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.office-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  max-width: 290px;
  z-index: 3;
}

.office-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.office-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: #071a44;
  letter-spacing: 0.4px;
}

.office-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9.5px;
  color: #556987;
  line-height: 1.35;
}

/* RESPONSIVE MÓVIL (PANTALLAS < 900px) */
@media (max-width: 900px) {
  html, body {
    overflow-y: auto !important;
    height: auto !important;
  }

  .page-wrapper {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .site-header {
    height: 65px !important;
    padding: 0 20px !important;
    position: relative !important;
  }

  .desktop-cta-btn {
    display: none !important;
  }

  /* BOTÓN HAMBURGUESA MÓVIL (ESTILOS ORIGINALES DEL HOME) */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-around !important;
    width: 30px !important;
    height: 24px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 1001 !important;
  }

  .mobile-menu-toggle span {
    width: 100% !important;
    height: 3px !important;
    background-color: #071a44 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    display: block !important;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  /* MENÚ MÓVIL DESPLEGABLE (ESTILOS EXACTOS ORIGINALES DEL HOME) */
  .header-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: absolute !important;
    top: 65px !important;
    left: 0 !important;
    width: 100vw !important;
    background-color: #ffffff !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0 12px 32px rgba(7, 26, 68, 0.15) !important;
    padding: 24px 24px 30px 24px !important;
    gap: 16px !important;
    z-index: 1000 !important;
    transform: translateY(-150%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .header-nav.mobile-open,
  .header-nav.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header-nav a {
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #071a44 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 6px 0 !important;
    border-bottom: none !important;
    position: relative !important;
    display: inline-block !important;
  }

  .header-nav a.active {
    color: #071a44 !important;
  }

  .header-nav a.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 30px !important;
    height: 3px !important;
    background-color: #0052cc !important;
    border-radius: 2px !important;
  }

  .mobile-cta-btn {
    background: linear-gradient(90deg, #ff9000 0%, #ff9a00 100%) !important;
    color: #ffffff !important;
    text-align: center !important;
    border-radius: 10px !important;
    border-bottom: none !important;
    margin-top: 10px !important;
    padding: 12px 24px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 12.5px !important;
    letter-spacing: 0.5px !important;
    width: 100% !important;
    max-width: 320px !important;
    box-shadow: 0 4px 14px rgba(255, 144, 0, 0.4) !important;
    display: inline-block !important;
  }

  /* SECCIÓN 1 CONTACTO */
  .contact-hero-section {
    height: auto !important;
    padding: 30px 20px !important;
  }

  .contact-hero-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    gap: 30px !important;
  }

  .contact-info-col,
  .contact-form-col {
    max-width: 100% !important;
    width: 100% !important;
  }

  .contact-form-card {
    height: auto !important;
    padding: 24px 20px !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* SECCIÓN 2 CONTACTO */
  .contact-cards-section {
    height: auto !important;
    padding: 20px !important;
  }

  .contact-cards-container {
    grid-template-columns: 1fr !important;
    height: auto !important;
    gap: 20px !important;
  }

  .appointment-card {
    height: auto !important;
    padding: 20px !important;
  }

  .map-card {
    height: 250px !important;
  }

  /* FOOTER MÓVIL */
  .site-footer {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    flex: none !important;
    background-color: #071a44 !important;
    padding-top: 35px !important;
  }

  .footer-main-body {
    padding: 20px !important;
    background-color: #071a44 !important;
  }

  .footer-grid {
    flex-direction: column !important;
    gap: 24px !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-col,
  .footer-col-brand,
  .footer-col-newsletter {
    max-width: 100% !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .brand-text {
    text-align: center !important;
  }

  .footer-menu,
  .contact-info {
    align-items: center !important;
  }

  .footer-menu li,
  .contact-info li {
    justify-content: center !important;
  }

  .newsletter-input-group {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .copyright-bottom-bar {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
    padding: 14px 20px !important;
  }
}

/* ==========================================================================
   PÁGINA DE SERVICIOS (SERVICIOS.HTML - RÉPLICA EXACTA A SERVICIOS.JPEG)
   ========================================================================== */

.services-hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw;
  height: 44vh !important;
  background-color: #071a44;
  overflow: hidden;
  flex-shrink: 0;
}

.services-hero-content {
  background-color: #071a44;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left !important;
  align-items: flex-start !important;
  animation: cardSlideLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0s both !important;
}

.services-tagline-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.services-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #ff9000;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.services-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  text-align: left !important;
}

.text-highlight-amber {
  color: #ff9000;
}

.services-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 10px;
  font-weight: 400;
  text-align: left !important;
  width: 100%;
}

.services-hero-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  animation: cardSlideTop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both !important;
}

.services-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* REJILLA DE SERVICIOS PRESTADOS (5 COLUMNAS ELEGANTES CENTRADAS VERTICALMENTE) */
.services-cards-section {
  height: 26.5vh !important;
  width: 100vw !important;
  background: #ffffff !important;
  padding: 0 45px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.services-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 18px !important;
  width: 100% !important;
  align-items: center !important;
  align-content: center !important;
}

.services-cards-grid .service-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 20px 18px !important;
  box-shadow: 0 6px 18px rgba(7, 26, 68, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  justify-content: center !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.services-cards-grid .service-card:nth-child(1) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both !important;
}

.services-cards-grid .service-card:nth-child(2) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both !important;
}

.services-cards-grid .service-card:nth-child(3) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both !important;
}

.services-cards-grid .service-card:nth-child(4) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both !important;
}

.services-cards-grid .service-card:nth-child(5) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both !important;
}

.services-cards-grid .service-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(7, 26, 68, 0.1) !important;
  border-color: #0052cc !important;
}

.service-icon-wrap {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #edf2fe !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
  align-self: center !important;
}

.services-cards-grid .service-card-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #071a44 !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.4px !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  width: 100% !important;
}

.services-cards-grid .service-card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  text-align: center !important;
  width: 100% !important;
}

/* RESPONSIVE MÓVIL SERVICIOS */
@media (max-width: 900px) {
  .services-hero-section {
    height: auto !important;
    padding: 30px 20px !important;
  }

  .services-hero-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    height: auto !important;
  }

  .services-hero-img-wrap {
    height: 230px !important;
  }

  .services-cards-section {
    height: auto !important;
    padding: 20px !important;
  }

  .services-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    height: auto !important;
  }
}

/* ==========================================================================
   PÁGINA DE PROYECTOS (PROYECTOS.HTML - RÉPLICA EXACTA A PROYECTOS.JPEG)
   ========================================================================== */

.projects-hero-section {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  width: 100vw !important;
  height: 44vh !important;
  background-color: #071a44 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.projects-hero-content {
  background-color: #071a44 !important;
  padding: 40px 60px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
  align-items: flex-start !important;
  animation: cardSlideLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0s both !important;
}

.projects-hero-section .projects-tagline-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.projects-hero-section .projects-tagline {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #ff9000 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

.projects-hero-section .projects-main-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.3px !important;
  text-align: left !important;
}

.projects-hero-section .projects-desc {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #cbd5e1 !important;
  margin-bottom: 10px !important;
  font-weight: 400 !important;
  text-align: left !important;
  width: 100% !important;
}

.projects-hero-img-wrap {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
  animation: cardSlideTop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both !important;
}

.projects-hero-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* REJILLA DE PROYECTOS DESTACADOS (4 COLUMNAS ELEGANTES EXACTAS A LA REFERENCIA Y CENTRADAS VERTICALMENTE) */
.projects-cards-section {
  height: 26.5vh !important;
  width: 100vw !important;
  background: #ffffff !important;
  padding: 0 45px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.projects-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  align-items: center !important;
  align-content: center !important;
}

.projects-cards-grid .project-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(7, 26, 68, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.projects-cards-grid .project-card:nth-child(1) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both !important;
}

.projects-cards-grid .project-card:nth-child(2) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both !important;
}

.projects-cards-grid .project-card:nth-child(3) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both !important;
}

.projects-cards-grid .project-card:nth-child(4) {
  animation: cardSlideBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both !important;
}

.projects-cards-grid .project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(7, 26, 68, 0.1);
  border-color: #0052cc;
}

.project-card-img-wrap {
  width: 100%;
  height: 125px;
  overflow: hidden;
}

.projects-cards-grid .project-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.project-card:hover .project-card-img {
  transform: scale(1.04);
}

.project-card-content {
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.project-category-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #0052cc;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.project-card-title {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #071a44;
  margin-bottom: 5px;
  line-height: 1.25;
}

.project-card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 10px;
}

.project-card-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #0052cc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.project-card-link:hover {
  color: #003899;
  gap: 8px;
}

/* RESPONSIVE MÓVIL PROYECTOS */
@media (max-width: 900px) {
  .projects-hero-section {
    height: auto !important;
    padding: 30px 20px !important;
  }

  .projects-hero-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    height: auto !important;
  }

  .projects-hero-img-wrap {
    height: 230px !important;
  }

  .projects-cards-section {
    height: auto !important;
    padding: 20px !important;
  }

  .projects-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    height: auto !important;
  }
}

/* ==========================================================================
   PIE DE PÁGINA (SITE FOOTER DEFINITIVO - OLA SOBREPUESTA Y CERO BRECHA INFERIOR)
   ========================================================================== */
.site-footer {
  height: 22vh !important;
  max-height: 22vh !important;
  width: 100vw !important;
  background-color: #071a44 !important;
  color: #ffffff !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  box-sizing: border-box !important;
  margin-top: auto !important;
}

.footer-wave-top {
  position: absolute !important;
  top: -34px !important;
  left: 0 !important;
  width: 100vw !important;
  height: 36px !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: transparent !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

.footer-wave-svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.footer-main-body {
  padding: 6px 45px 0 45px !important;
  height: calc(22vh - 28px) !important;
  max-height: calc(22vh - 28px) !important;
  display: flex !important;
  align-items: center !important;
  background-color: #071a44 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.footer-grid {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 24px !important;
  align-items: flex-start !important;
}

.footer-col {
  display: flex !important;
  flex-direction: column !important;
}

.footer-col-brand {
  max-width: 250px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.footer-logo {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  object-fit: contain !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.brand-text {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  text-align: left !important;
}

.social-icons {
  display: flex !important;
  gap: 8px !important;
}

.social-btn {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #071a44 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.social-btn svg {
  fill: currentColor !important;
  width: 11px !important;
  height: 11px !important;
}

.footer-title,
.footer-col-title {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif !important;
}

.footer-menu,
.contact-info {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.footer-menu li,
.contact-info li {
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  font-size: 11px !important;
}

.footer-menu a:hover {
  color: #ffffff !important;
}

.contact-info svg {
  color: #3b82f6 !important;
  flex-shrink: 0 !important;
  width: 11px !important;
  height: 11px !important;
}

.footer-col-newsletter {
  max-width: 260px !important;
}

.newsletter-sub {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 8px !important;
}

.newsletter-input-group {
  display: flex !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.newsletter-input-group input {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  outline: none !important;
  width: 150px !important;
  height: 28px !important;
  box-sizing: border-box !important;
}

.newsletter-input-group button {
  background: #ff9000 !important;
  border: none !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  cursor: pointer !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.newsletter-input-group button svg {
  width: 11px !important;
  height: 11px !important;
}

/* ==========================================================================
   BARRA INFERIOR DE COPYRIGHT (AZUL VIBRANTE #004CE6 UNIFICADA Y VISIBLE)
   ========================================================================== */
.copyright-bottom-bar {
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  background-color: #004ce6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 45px !important;
  font-size: 10.5px !important;
  color: #ffffff !important;
  width: 100% !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 20 !important;
}

.copyright-bottom-bar span,
.copyright-bottom-bar p,
.copyright-bottom-bar a {
  color: #ffffff !important;
  font-size: 9.5px !important;
  text-decoration: none !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.copyright-bottom-bar .legal-links {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* ==========================================================================
   ADAPTACIÓN PROPORCIONAL EXACTA PARA LAPTOPS Y PANTALLAS COMPACTAS
   (ANCHO > 900PX Y ALTURA <= 850PX) - 100% FIEL AL DISEÑO EN 1 PANTALLA
   ========================================================================== */
@media (min-width: 901px) and (max-height: 850px) {

  /* 1. HEADER */
  .site-header {
    height: 6.5vh !important;
    min-height: 46px !important;
    padding: 0 35px !important;
  }
  .header-logo {
    height: 46px !important;
    max-height: 46px !important;
  }
  .header-nav {
    gap: 20px !important;
  }
  .header-nav a {
    font-size: 10.5px !important;
  }
  .btn-header-cta {
    padding: 6px 15px !important;
    font-size: 10.5px !important;
  }

  /* 2. HOME (INDEX.HTML) - ESPACIOS APROVECHADOS AL MÁXIMO CON IMÁGENES GRANDES Y NÍTIDAS */
  .hero-section {
    height: 33.5vh !important;
    padding: 0 clamp(24px, 3.5vw, 45px) !important;
  }
  .hero-content {
    max-width: clamp(380px, 38vw, 480px) !important;
  }
  .hero-subtitle {
    font-size: clamp(9px, 1.3vh, 11px) !important;
    margin-bottom: clamp(4px, 0.8vh, 7px) !important;
  }
  .dash-line {
    width: clamp(14px, 1.8vw, 20px) !important;
    height: 2px !important;
  }
  .hero-title {
    font-size: clamp(20px, 3.4vh, 30px) !important;
    line-height: 1.15 !important;
    margin-bottom: clamp(6px, 1vh, 9px) !important;
  }
  .hero-description {
    font-size: clamp(9.5px, 1.4vh, 11.5px) !important;
    line-height: 1.35 !important;
    margin-bottom: clamp(8px, 1.3vh, 13px) !important;
  }
  .hero-buttons {
    gap: clamp(8px, 1.2vw, 14px) !important;
  }
  .btn-hero-solid, .btn-hero-outline {
    padding: clamp(5px, 0.9vh, 9px) clamp(12px, 1.4vw, 20px) !important;
    font-size: clamp(9.5px, 1.3vh, 11.5px) !important;
  }

  /* SERVICIOS SECCIÓN 2 EN HOME (IMÁGENES GRANDES, VISIBLES Y SIN ESPACIOS EN BLANCO EXCESIVOS) */
  .services-section {
    height: 22.5vh !important;
    padding: 6px 35px 2px 35px !important;
  }
  .services-grid {
    gap: 10px !important;
  }
  .card-img-wrapper {
    height: clamp(78px, 11.2vh, 98px) !important;
    max-height: clamp(78px, 11.2vh, 98px) !important;
    margin-bottom: 8px !important;
  }
  .card-top-img {
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 12px !important;
  }
  .icon-badge-circle {
    width: 36px !important;
    height: 36px !important;
    bottom: -5px !important;
    left: 8px !important;
  }
  .icon-badge-circle img {
    width: 17px !important;
    height: 17px !important;
  }
  .service-card-title {
    font-size: 9px !important;
    font-weight: 700 !important;
    margin-top: 1px !important;
    margin-bottom: 2px !important;
  }
  .service-card-desc {
    font-size: 8.5px !important;
    line-height: 1.22 !important;
  }

  /* PROYECTOS SECCIÓN 3 EN HOME (GALERÍA GRANDE Y NÍTIDA) */
  .projects-section {
    height: 18.5vh !important;
    padding: 4px 35px 4px 35px !important;
  }
  .projects-section .projects-tagline-wrap {
    margin-bottom: 2px !important;
  }
  .projects-section .projects-tagline {
    font-size: 9.5px !important;
  }
  .projects-section .projects-main-title {
    font-size: clamp(15px, 2.2vh, 19px) !important;
    margin-bottom: 3px !important;
    line-height: 1.15 !important;
  }
  .projects-blue-link {
    font-size: 10px !important;
    margin-top: 2px !important;
  }
  .projects-gallery {
    gap: 10px !important;
  }
  .projects-gallery .project-card-img {
    height: clamp(74px, 11vh, 94px) !important;
    max-height: clamp(74px, 11vh, 94px) !important;
    border-radius: 10px !important;
  }

  /* 3. NOSOTROS (NOSOTROS.HTML) */
  .about-hero-section {
    height: 37vh !important;
    padding: 0 0 0 35px !important;
    gap: 20px !important;
  }
  .about-hero-content {
    max-width: 440px !important;
  }
  .about-tagline-wrap {
    margin-bottom: 4px !important;
  }
  .about-tagline {
    font-size: 10px !important;
  }
  .about-main-title {
    font-size: clamp(17px, 2.4vh, 21px) !important;
    margin-bottom: 6px !important;
    line-height: 1.18 !important;
  }
  .about-desc {
    font-size: 10px !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }
  .about-values-section {
    height: 18.5vh !important;
    padding: 0 35px !important;
  }
  .value-col {
    padding: 0 8px !important;
  }
  .value-icon-wrap {
    margin-bottom: 2px !important;
  }
  .value-icon-wrap svg {
    width: 20px !important;
    height: 20px !important;
  }
  .value-title {
    font-size: 9px !important;
    margin-bottom: 2px !important;
  }
  .value-desc, .value-list {
    font-size: 8px !important;
    line-height: 1.25 !important;
  }

  /* 4. SERVICIOS (SERVICIOS.HTML - TARJETAS AMPLIAS Y ESPACIOSAS) */
  .services-hero-section {
    height: 39vh !important;
  }
  .services-hero-content {
    padding: 24px 35px !important;
  }
  .services-tagline-wrap {
    margin-bottom: 6px !important;
  }
  .services-tagline {
    font-size: 10.5px !important;
  }
  .services-main-title {
    font-size: clamp(18px, 2.6vh, 23px) !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
  }
  .services-desc {
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
  }
  .services-cards-section {
    height: 31.5vh !important;
    padding: 0 35px !important;
    display: flex !important;
    align-items: center !important;
  }
  .services-cards-grid {
    gap: 16px !important;
  }
  .services-cards-grid .service-card {
    padding: clamp(16px, 2.2vh, 22px) clamp(12px, 1.2vw, 16px) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(7, 26, 68, 0.06) !important;
  }
  .service-icon-wrap {
    width: clamp(38px, 5vh, 46px) !important;
    height: clamp(38px, 5vh, 46px) !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
  }
  .service-icon-wrap svg {
    width: clamp(20px, 2.8vh, 25px) !important;
    height: clamp(20px, 2.8vh, 25px) !important;
  }
  .services-cards-grid .service-card-title {
    font-size: clamp(10.5px, 1.4vh, 12px) !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }
  .services-cards-grid .service-card-desc {
    font-size: clamp(9.5px, 1.3vh, 11px) !important;
    line-height: 1.38 !important;
  }

  /* 5. PROYECTOS (PROYECTOS.HTML - TARJETAS AMPLIAS CON FOTOS GRANDES) */
  .projects-hero-section {
    height: 39vh !important;
  }
  .projects-hero-content {
    padding: 24px 35px !important;
  }
  .projects-hero-section .projects-tagline-wrap {
    margin-bottom: 6px !important;
  }
  .projects-hero-section .projects-tagline {
    font-size: 10.5px !important;
  }
  .projects-hero-section .projects-main-title {
    font-size: clamp(18px, 2.6vh, 23px) !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
  }
  .projects-hero-section .projects-desc {
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
  }
  .projects-cards-section {
    height: 31.5vh !important;
    padding: 0 35px !important;
    display: flex !important;
    align-items: center !important;
  }
  .projects-cards-grid {
    gap: 16px !important;
  }
  .projects-cards-grid .project-card {
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(7, 26, 68, 0.06) !important;
  }
  .projects-cards-grid .project-card-img-wrap {
    height: clamp(85px, 12vh, 115px) !important;
  }
  .projects-cards-grid .project-card-content {
    padding: clamp(8px, 1.2vh, 12px) clamp(10px, 1.2vw, 14px) clamp(10px, 1.4vh, 14px) clamp(10px, 1.2vw, 14px) !important;
  }
  .projects-cards-grid .project-category-text {
    font-size: clamp(8.5px, 1.2vh, 10px) !important;
    margin-bottom: 3px !important;
  }
  .projects-cards-grid .project-card-title {
    font-size: clamp(12px, 1.6vh, 14.5px) !important;
    margin-bottom: 4px !important;
  }
  .projects-cards-grid .project-card-desc {
    font-size: clamp(9px, 1.3vh, 10.5px) !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }
  .projects-cards-grid .project-card-link {
    font-size: clamp(9.5px, 1.3vh, 11px) !important;
  }

  /* 6. CONTACTO (CONTACTO.HTML) */
  .contact-hero-section {
    height: 44vh !important;
    padding: 0 35px !important;
  }
  .contact-hero-container {
    gap: 20px !important;
  }
  .contact-tagline-wrap {
    margin-bottom: 4px !important;
  }
  .contact-tagline {
    font-size: 10px !important;
  }
  .contact-main-title {
    font-size: clamp(17px, 2.4vh, 22px) !important;
    margin-bottom: 4px !important;
    line-height: 1.15 !important;
  }
  .contact-desc {
    font-size: 10px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }
  .contact-details-list {
    gap: 6px !important;
  }
  .contact-item {
    gap: 6px !important;
  }
  .contact-icon-circle {
    width: 28px !important;
    height: 28px !important;
  }
  .contact-icon-circle svg {
    width: 14px !important;
    height: 14px !important;
  }
  .item-label {
    font-size: 8.5px !important;
  }
  .item-val {
    font-size: 9.5px !important;
  }
  .contact-form-card {
    padding: 10px 16px !important;
    border-radius: 12px !important;
  }
  .form-card-title {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }
  .contact-form-grid {
    gap: 5px !important;
  }
  .contact-form-grid input[type="text"],
  .contact-form-grid input[type="email"],
  .contact-form-grid input[type="tel"],
  .contact-form-grid textarea {
    padding: 4px 8px !important;
    font-size: 10px !important;
    border-radius: 5px !important;
  }
  .contact-form-grid textarea {
    height: 40px !important;
  }
  .btn-send-message {
    padding: 5px 14px !important;
    font-size: 10px !important;
    border-radius: 5px !important;
  }
  .contact-cards-section {
    height: 24vh !important;
    padding: 0 35px 6px 35px !important;
  }
  .contact-cards-container {
    gap: 14px !important;
  }
  .appointment-card {
    padding: 10px 14px !important;
    border-radius: 12px !important;
  }
  .appointment-icon-circle {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 2px !important;
  }
  .appointment-icon-circle svg {
    width: 12px !important;
    height: 12px !important;
  }
  .appointment-tagline {
    font-size: 8px !important;
  }
  .appointment-title {
    font-size: 12px !important;
    margin-bottom: 2px !important;
  }
  .appointment-desc {
    font-size: 8.5px !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
  }
  .btn-appointment-cta {
    padding: 3px 10px !important;
    font-size: 9px !important;
  }
  .map-card {
    border-radius: 12px !important;
  }
  .office-badge {
    bottom: 6px !important;
    right: 6px !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    max-width: 190px !important;
  }
  .office-badge-icon {
    width: 20px !important;
    height: 20px !important;
  }
  .office-badge-icon svg {
    width: 11px !important;
    height: 11px !important;
  }
  .office-title {
    font-size: 8px !important;
  }
  .office-desc {
    font-size: 7px !important;
  }

  /* 7. FOOTER PROPORCIONAL PARA LAPTOP */
  .site-footer {
    height: 16.5vh !important;
    min-height: 16.5vh !important;
    max-height: 16.5vh !important;
    flex: 0 0 16.5vh !important;
    margin-top: auto !important;
  }
  .footer-wave-top {
    top: -20px !important;
    height: 22px !important;
  }
  .footer-main-body {
    padding: 0 35px 0 35px !important;
  }
  .footer-logo {
    height: clamp(34px, 4.5vh, 40px) !important;
    max-height: clamp(34px, 4.5vh, 40px) !important;
    width: auto !important;
    margin-bottom: 4px !important;
  }
  .brand-text {
    font-size: 8px !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }
  .social-icons {
    gap: 5px !important;
  }
  .social-btn {
    width: 19px !important;
    height: 19px !important;
  }
  .social-btn svg {
    width: 9.5px !important;
    height: 9.5px !important;
  }
  .footer-title {
    font-size: 9px !important;
    margin-bottom: 2px !important;
  }
  .footer-menu li,
  .contact-info li {
    font-size: 8px !important;
    line-height: 1.2 !important;
    gap: 3px !important;
  }
  .newsletter-sub {
    font-size: 8px !important;
    margin-bottom: 2px !important;
  }
  .newsletter-input-group input {
    height: 20px !important;
    font-size: 8.5px !important;
    padding: 2px 6px !important;
    width: 110px !important;
  }
  .newsletter-input-group button {
    height: 20px !important;
    padding: 2px 6px !important;
  }
  .copyright-bottom-bar {
    height: 19px !important;
    min-height: 19px !important;
    max-height: 19px !important;
    padding: 0 35px !important;
    font-size: 8px !important;
  }
  .copyright-bottom-bar span,
  .copyright-bottom-bar p,
  .copyright-bottom-bar a {
    font-size: 7.5px !important;
  }
}

/* ==========================================================================
   MASTER RESPONSIVE MOBILE MEDIA QUERY (MAX-WIDTH: 900PX)
   APLICA A TODAS LAS PÁGINAS (HOME, NOSOTROS, SERVICIOS, PROYECTOS, CONTACTO)
   ========================================================================== */
@media (max-width: 900px) {
  html, body, .page-wrapper {
    height: auto !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  /* 1. HEADER Y NAVEGACIÓN MÓVIL */
  .site-header {
    height: 65px !important;
    padding: 0 20px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    z-index: 100 !important;
  }

  .desktop-cta-btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 28px !important;
    height: 20px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 101 !important;
  }

  .mobile-menu-toggle span {
    width: 100% !important;
    height: 3px !important;
    background-color: #071a44 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg) !important;
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg) !important;
  }

  .header-nav {
    display: none !important;
    position: absolute !important;
    top: 65px !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 14px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    z-index: 99 !important;
    box-sizing: border-box !important;
  }

  .header-nav.mobile-open {
    display: flex !important;
  }

  .header-nav a {
    font-size: 14px !important;
    text-align: center !important;
    padding: 8px 0 !important;
    color: #071a44 !important;
  }

  .header-nav a.mobile-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ff9000 !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 144, 0, 0.4) !important;
    margin-top: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. HEROS DE TODAS LAS PÁGINAS (HOME, NOSOTROS, SERVICIOS, PROYECTOS, CONTACTO) */
  .hero-section,
  .about-hero-section,
  .services-hero-section,
  .projects-hero-section,
  .contact-hero-section {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100vw !important;
    padding: 35px 20px !important;
    gap: 24px !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .hero-content,
  .about-hero-content,
  .services-hero-content,
  .projects-hero-content,
  .contact-info-col,
  .contact-form-col {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  .about-hero-img-wrap,
  .services-hero-img-wrap,
  .projects-hero-img-wrap {
    width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .hero-title,
  .about-main-title,
  .services-main-title,
  .projects-main-title,
  .contact-main-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .btn-hero-solid, .btn-hero-outline {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* 3. REJILLAS Y CONTENEDORES DE TARJETAS DE TODAS LAS PÁGINAS */
  .services-section,
  .services-cards-section,
  .projects-section,
  .projects-cards-section,
  .about-values-section,
  .contact-cards-section {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 30px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100vw !important;
    box-sizing: border-box !important;
  }

  .services-grid,
  .services-cards-grid,
  .projects-cards-grid,
  .about-values-grid,
  .contact-cards-container,
  .contact-hero-container {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    height: auto !important;
  }

  .projects-container {
    flex-direction: column !important;
    height: auto !important;
    gap: 24px !important;
  }

  .projects-info {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .projects-gallery {
    flex-direction: column !important;
    width: 100% !important;
    gap: 16px !important;
    height: auto !important;
  }

  .projects-gallery .project-card-img {
    width: 100% !important;
    height: 200px !important;
    max-height: 200px !important;
  }

  /* 4. FOOTER EN MÓVIL (TODAS LAS PÁGINAS) - TOTALMENTE CENTRADO */
  .site-footer {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-main-body {
    height: auto !important;
    max-height: none !important;
    padding: 30px 20px 24px 20px !important;
  }

  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .footer-col,
  .footer-col-brand,
  .footer-col-newsletter {
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-col-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-bottom: 18px !important;
  }

  .footer-logo {
    margin: 0 auto 12px auto !important;
  }

  .footer-title,
  .newsletter-sub,
  .brand-text {
    text-align: center !important;
    width: 100% !important;
  }

  .footer-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-menu li {
    text-align: center !important;
  }

  .social-icons {
    justify-content: center !important;
    margin: 12px auto 0 auto !important;
  }

  .newsletter-input-group {
    width: 100% !important;
    max-width: 320px !important;
    margin: 10px auto 0 auto !important;
    display: flex !important;
    justify-content: center !important;
  }

  .newsletter-input-group input {
    flex: 1 !important;
  }

  .copyright-bottom-bar {
    height: auto !important;
    min-height: 44px !important;
    max-height: none !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
}


