/* ===================================
   RESPONSIVE HEADER
   =================================== */
@media (max-width: 1599px) and (min-width: 1400px) {
  .desktop-slider .slides li {
    background-size: 100% 590px;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 590px;
  }
  .sidebar {
    padding: 2px 2vw 20px 13.7vw;
  }

  .logo-placeholder {
    max-width: 20.5rem;
    min-height: 12rem;
  }

  .navigation {
    margin-bottom: 2rem;
    margin-top: 2.5rem;
    margin-left: 1.8rem;
  }

  .nav-list {
    gap: clamp(0.25rem, 0.6vw, 0.35rem);
  }

  .nav-item {
    padding: clamp(0.15rem, 0.4vw, 0.2rem) clamp(0.5rem, 0.1vw, 0.8rem);
  }

  .nav-item a {
    gap: clamp(0.8rem, 1.4vw, 1.2rem);
  }

  .nav-icon-circle {
    width: 2.4rem;
    height: 2.4rem;
  }

  .nav-item:nth-child(1) .nav-icon-circle img,
  .nav-item:nth-child(2) .nav-icon-circle img,
  .nav-item:nth-child(5) .nav-icon-circle img {
    width: 1.1rem;
    height: 1.1rem;
  }
  .nav-icon-circle img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .nav-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
  }

  .desktop-slider .flex-control-paging {
    top: 83%;
    right: 23rem;
  }

  .contact-header {
    padding: 2.2rem 2.6rem;
  }
}

@media (max-width: 1399px) and (min-width: 1280px) {
  .desktop-slider .slides li {
    background-size: 100% 505px;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 505px;
  }
  .sidebar {
    padding: 2px 2vw 20px 13.7vw;
  }

  .logo-placeholder {
    max-width: 18rem;
    min-height: 10rem;
  }

  .navigation {
    margin-bottom: 0rem;
    margin-top: 0rem;
    margin-left: 1.8rem;
  }

  .nav-list {
    gap: clamp(0.25rem, 0.6vw, 0.35rem);
  }

  .nav-item {
    padding: clamp(0.15rem, 0.4vw, 0.2rem) clamp(0.5rem, 0.1vw, 0.8rem);
  }

  .nav-item a {
    gap: clamp(0.8rem, 1.4vw, 1.2rem);
  }

  .nav-icon-circle {
    width: 2.4rem;
    height: 2.4rem;
  }

  .nav-item:nth-child(1) .nav-icon-circle img,
  .nav-item:nth-child(2) .nav-icon-circle img,
  .nav-item:nth-child(5) .nav-icon-circle img {
    width: 1.1rem;
    height: 1.1rem;
  }
  .nav-icon-circle img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .nav-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
  }

  .desktop-slider .flex-control-paging {
    top: 79%;
    right: 19rem;
  }

  .desktop-slider .flex-control-paging {
    top: 76%;
    right: 20rem;
  }

  .contact-header {
    padding: 1.8rem 2.6rem;
  }

  .contact-info {
    padding-left: 3.6vw;
  }
}

@media (max-width: 1279px) and (min-width: 1024px) {
  .desktop-slider .slides li {
    background-size: 100% 490px;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 490px;
  }
  .sidebar {
    padding: 2px 2vw 20px 13.7vw;
  }

  .logo-placeholder {
    max-width: 18rem;
    min-height: 10rem;
  }

  .navigation {
    margin-bottom: 0rem;
    margin-top: 0rem;
    margin-left: 1.8rem;
  }

  .nav-list {
    gap: clamp(0.25rem, 0.6vw, 0.35rem);
  }

  .nav-item {
    padding: clamp(0.15rem, 0.4vw, 0.2rem) clamp(0.5rem, 0.1vw, 0.8rem);
  }

  .nav-item a {
    gap: clamp(0.8rem, 1.4vw, 1.2rem);
  }

  .nav-icon-circle {
    width: 2.4rem;
    height: 2.4rem;
  }

  .nav-item:nth-child(1) .nav-icon-circle img,
  .nav-item:nth-child(2) .nav-icon-circle img,
  .nav-item:nth-child(5) .nav-icon-circle img {
    width: 1.1rem;
    height: 1.1rem;
  }
  .nav-icon-circle img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .nav-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
  }

  .desktop-slider .flex-control-paging {
    top: 76%;
    right: 18rem;
  }

  .contact-header {
    padding: 1.8rem 2.6rem;
  }

  .contact-info {
    padding-left: 3.6vw;
  }

  .contact-item {
    font-size: 1.2rem;
  }

  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .contact-icon-img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .facebook-icon .contact-icon-img {
    width: 2.1rem;
    height: 1.9rem;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .desktop-slider .slides li {
    background-size: 100% 450px;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 450px;
  }
  .sidebar {
    padding: 2px 2vw 20px 3vw;
  }

  .logo-placeholder {
    max-width: 18rem;
    min-height: 10rem;
  }

  .navigation {
    margin-bottom: 0rem;
    margin-top: 0rem;
    margin-left: 1.8rem;
  }

  .nav-list {
    gap: clamp(0.25rem, 0.6vw, 0.35rem);
  }

  .nav-item {
    padding: clamp(0.15rem, 0.4vw, 0.2rem) clamp(0.5rem, 0.1vw, 0.8rem);
  }

  .nav-item a {
    gap: clamp(0.8rem, 1.4vw, 1.2rem);
  }

  .nav-icon-circle {
    width: 2.4rem;
    height: 2.4rem;
  }

  .nav-item:nth-child(1) .nav-icon-circle img,
  .nav-item:nth-child(2) .nav-icon-circle img,
  .nav-item:nth-child(5) .nav-icon-circle img {
    width: 1.1rem;
    height: 1.1rem;
  }
  .nav-icon-circle img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .nav-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
  }

  .desktop-slider .flex-control-paging {
    top: 76%;
    right: 15rem;
  }

  .contact-header {
    padding: 1.8rem 2.6rem;
    white-space: nowrap;
  }

  .contact-info {
    padding-left: 1vw;
  }

  .contact-item {
    font-size: 1.2rem;
  }

  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .contact-icon-img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .facebook-icon .contact-icon-img {
    width: 2.1rem;
    height: 1.9rem;
  }

  .main-text .text-diseno-de .de {
    font-size: 1.4vw;
  }

  .main-text .text-ingenieria {
    font-size: 1.3vw;
  }

  .navigation {
    max-width: 28vw;
  }

  .nav-text {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  .mobile-hero-section .mobile-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .mobile-hero-section .mobile-slider .slides li {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 30rem;
  }

  .mobile-hero-section .flex-control-paging {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    width: auto;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: 999;
  }

  .mobile-hero-section .flex-control-paging li {
    margin: 0;
    display: block;
    z-index: 999;
  }

  .mobile-hero-section .flex-control-paging li a {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-indent: -9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    z-index: 999;
    position: relative;
  }

  .mobile-hero-section .flex-control-paging li a {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
  }

  .mobile-hero-section .flex-control-paging li a.flex-active {
    background: #f7bb13 !important;
    border: 2px solid #f7bb13 !important;
  }

  .mobile-hero-section .flex-control-paging li a:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.1);
  }

  /* ===================================
     OCULTAR ELEMENTOS DESKTOP
     =================================== */
  .main-container,
  .sidebar,
  .contact-header {
    display: none !important;
  }

  /* ===================================
     HEADER MÓVIL
     =================================== */
  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 60px;
    display: flex;
    align-items: center;
  }

  .mobile-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1.5rem;
    height: 100%;
  }

  .mobile-menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    transition: all 0.3s ease;
  }

  .hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--color-primary-blue);
    transition: all 0.3s ease;
    border-radius: 1px;
  }

  .mobile-menu-toggle.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
  }

  .mobile-logo-link {
    display: block;
    height: 100%;
  }

  .mobile-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
  }

  /* ===================================
     MENÚ LATERAL MÓVIL
     =================================== */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding-top: 80px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);

    overflow-y: auto; 
    overflow-x: hidden; 
    -webkit-overflow-scrolling: touch; 
  }

  .mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
  }

  .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-item {
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-menu-link {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--color-text-dark);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
  }

  .mobile-menu-link:hover {
    background-color: rgba(1, 94, 163, 0.05);
    color: var(--color-primary-blue);
  }

  .mobile-menu-link.active {
    background-color: rgba(1, 94, 163, 0.1);
    color: var(--color-primary-blue);
    font-weight: 600;
    border-left: 4px solid var(--color-primary-blue);
  }

  /* ===================================
     CONTACTO MÓVIL - HORIZONTAL BAR
     =================================== */
  .mobile-contact-section {
    margin-top: 60px;
    padding: 1rem 1.5rem;
    background-color: #1a4d72;
    background: var(--color-primary-blue);
  }

  .mobile-contact-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: none;
    margin: 0;
    gap: 0.5rem;
  }

  .mobile-contact-item {
    display: flex;
    align-items: center;
    background-color: transparent;
    border-radius: 0;
    padding: 0.5rem;
    box-shadow: none;
    transition: background-color 0.2s ease;
    flex: 1;
    justify-content: center;
  }

  .mobile-contact-item:active {
    transform: none;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-white);
    width: 100%;
    justify-content: center;
    padding: 0.3rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  .mobile-contact-link:hover,
  .mobile-contact-link:active {
    background-color: rgba(255, 255, 255, 0.15);
  }

  .mobile-contact-icon {
    width: 35px;
    height: 35px;
    background-color: var(--color-accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-contact-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  /* ===================================
     HERO MÓVIL
     =================================== */
  .mobile-hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 3rem 1.5rem;
    min-height: 30rem;
    display: flex;
    align-items: center;
  }

  .mobile-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.45) 100%
    );
    z-index: 2;
  }

  .mobile-hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
  }

  .mobile-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
  }

  .mobile-title-construccion {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.1;
    letter-spacing: 0.1rem;
  }

  .mobile-title-planeacion {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary-blue-alt);
    line-height: 1.1;
    letter-spacing: 0.1rem;
  }

  .mobile-title-diseno {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-secondary-teal);
    line-height: 1.2;
    letter-spacing: 0.1rem;
    margin-top: 0.5rem;
  }

  .mobile-title-ingenieria {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text-medium);
    line-height: 1.2;
    letter-spacing: 0.1rem;
  }

  /* ===================================
     CONTENIDO MÓVIL
     =================================== */
  .mobile-content-wrapper {
    display: block;
  }

  .content-area {
    padding: 0;
    margin: 0;
  }

  /* Asegurar que el contenido de las páginas sea visible */
  .vigovi-section,
  .second-section,
  .nosotros-hero-section,
  .mision-vision-section,
  .valores-section,
  .servicios-section,
  .contacto-hero-section,
  .contacto-info-section,
  .direccion-section,
  .mapa-section {
    margin-top: 0;
    position: relative;
    z-index: 1;
  }

  /* ===================================
     UTILIDADES MÓVIL
     =================================== */

  body.mobile-menu-open {
    overflow: hidden;
    width: 100%;
    left: 0;
    right: 0;
  }

  .mobile-contact-link,
  .mobile-menu-link,
  .mobile-menu-toggle {
    min-height: 44px;
    min-width: 44px;
    font-size: 1.3rem;
  }

  html {
    scroll-behavior: smooth;
  }

  .mobile-contact-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ===================================
     ANIMACIONES MÓVIL
     =================================== */

  .mobile-contact-item,
  .mobile-hero-title span {
    animation: fadeIn 1.2s ease-out forwards;
  }

  .mobile-title-construccion {
    animation-delay: 0.4s;
  }
  .mobile-title-planeacion {
    animation-delay: 0.5s;
  }
  .mobile-title-diseno {
    animation-delay: 0.6s;
  }
  .mobile-title-ingenieria {
    animation-delay: 0.7s;
  }

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

  /* ===================================
     STAGGER ANIMATION MENÚ
     =================================== */
  .mobile-menu-overlay.active .mobile-menu-item {
    animation: slideInLeft 0.4s ease-out forwards;
  }

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

@media screen and (min-width: 769px) {
  .mobile-header,
  .mobile-menu-overlay,
  .mobile-content-wrapper {
    display: none !important;
  }
}

@media screen and (max-width: 462px) {
  .mobile-hero-section .mobile-slider .slides li {
    min-height: 30rem;
  }
  .mobile-contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  .mobile-contact-icon {
    width: 35px;
    height: 35px;
  }

  .mobile-contact-icon img {
    width: 20px;
    height: 20px;
  }

  .mobile-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    padding: 0.8rem;
    border-radius: 50%;
    transition: background-color 0.2s ease;
  }

  .mobile-contact-text {
    display: none !important;
  }
}

/* ===================================
   RESPONSIVE FOOTER
   =================================== */
@media (max-width: 1599px) and (min-width: 1400px) {
  .footer-two-sections {
    min-height: 300px;
  }
  .footer-logo-section {
    padding: 2.5rem 0rem 2.5rem 0rem;
  }
  .footer-logo-container img {
    max-width: 300px;
    max-height: 110px;
  }

  .footer-contact-section {
    padding: 2.5rem 3.5rem;
  }
  .contact-items-container {
    gap: 5rem;
  }
  .contact-icon-simple {
    width: 25px;
    height: 25px;
  }
  .icon-blue {
    width: 17px;
    height: 17px;
  }
  .contact-label {
    font-size: 2rem;
  }
  .contact-data {
    font-size: 1.1rem;
  }
  .copyright-bar {
    min-height: 9.2rem;
  }
  .copyright-content {
    padding: 0 25rem;
  }
  .copyright-text,
  .desarrollo-por {
    font-size: 0.95rem;
  }
}

@media (max-width: 1399px) and (min-width: 1280px) {
  .footer-two-sections {
    min-height: 29.8rem;
  }

  .footer-logo-container {
    padding: 0.8rem 2.4rem;
  }

  .footer-logo-container img {
    max-width: 224px;
    max-height: 203px;
  }

  .footer-contact-section {
    padding: 1.6rem 2.4rem;
  }

  .contact-items-container {
    gap: 4.8rem;
  }

  .contact-icon-simple {
    width: 26px;
    height: 26px;
  }

  .icon-blue {
    width: 16px;
    height: 16px;
  }

  .contact-label {
    font-size: 2rem;
  }

  .contact-data {
    font-size: 1.2rem;
  }

  .copyright-bar {
    min-height: 9.6rem;
  }

  .container-footer {
    min-width: 500px;
  }
  .copyright-content {
    padding: 0 27rem;
  }
}

@media (max-width: 1279px) and (min-width: 768px) {
  .footer-two-sections {
    flex-direction: column;
    min-height: auto;
  }

  .footer-logo-section {
    justify-content: center;
  }

  .footer-logo-container {
    justify-content: center;
    padding: 0.7rem 2.1rem;
  }

  .footer-logo-container img {
    max-width: 196px;
    max-height: 178px;
  }

  .footer-contact-section {
    padding: 1.4rem 2.1rem;
  }

  .contact-items-container {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  .contact-item-horizontal {
    justify-content: center;
    text-align: center;
  }

  .contact-icon-simple {
    width: 22px;
    height: 22px;
  }

  .icon-blue {
    width: 14px;
    height: 14px;
  }

  .contact-label {
    font-size: 1.75rem;
  }

  .contact-data {
    font-size: 1.05rem;
  }

  .copyright-bar {
    min-height: 8.4rem;
  }

  .copyright-content {
    padding: 0 20rem;
  }
}

@media (max-width: 860px) {
  .copyright-content {
    justify-content: center;
  }
}

@media (max-width: 769px) {
  .footer-two-sections {
    flex-direction: column;
    min-height: auto;
  }

  .footer-logo-section {
    justify-content: center;
  }

  .footer-logo-container {
    justify-content: center;
    padding: 1rem 2rem;
  }

  .footer-logo-container img {
    max-width: 200px;
    max-height: 180px;
  }

  .footer-contact-section {
    padding: 2rem 1.5rem;
  }

  .contact-items-container {
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
  }

  .contact-item-horizontal {
    justify-content: center;
    text-align: left;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
  }

  .contact-icon-simple {
    margin-top: 0.2rem;
    width: 32px;
    height: 32px;
  }

  .icon-blue {
    width: 22px;
    height: 22px;
  }

  .contact-label {
    font-size: 1.8rem;
  }

  .contact-data {
    font-size: 1.5rem;
  }

  .copyright-bar {
    min-height: 8rem;
  }

  .copyright-content {
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
    justify-content: center;
    text-align: center;
  }

  .copyright-text,
  .desarrollo-por {
    width: 100%;
    text-align: center;
  }

  .desarrollo-por {
    justify-content: center;
  }
}

/* ===================================
   RESPONSIVE SECTIONS
   =================================== */

@media screen and (min-width: 1600px) {
  .vigovi-content-side {
    padding: 4rem 6rem 4rem 4rem;
  }
}

@media screen and (max-width: 1599px) and (min-width: 1400px) {
  .vigovi-container {
    padding: 0 0 5rem 0rem;
  }

  .vigovi-image-container {
    width: 1420px;
    height: 456px;
  }

  .vigovi-image-top {
    top: 22%;
    left: 47%;
    width: 380px;
    height: 243px;
    border: 1.3rem solid white;
  }

  .vigovi-content-side {
    padding: 3.5rem 5rem 3.5rem 0rem;
  }

  .vigovi-header {
    width: 110%;
  }

  .vigovi-constructora {
    font-size: 4.6rem;
  }

  .vigovi-brand {
    font-size: 4.2rem;
  }

  .vigovi-sa {
    font-size: 4.2rem;
  }

  .vigovi-description {
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .vigovi-description p {
    width: 95%;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 2
   =================================== */

  .second-section {
    height: calc(38vh + 17rem);
    min-height: calc(150px + 17rem);
  }

  .second-content-area {
    height: 17rem;
  }

  .second-background {
    height: 48vh;
    min-height: 150px;
  }

  .values-container {
    top: 0rem;
    gap: 4.2rem;
  }

  .value-card {
    width: 250px;
    height: 355px;
    padding: 2rem 0rem 1rem 0rem;
  }

  .value-card::before {
    width: 38px;
    height: 42px;
  }

  .value-card::after {
    width: 38px;
    height: 17px;
  }

  .value-icon {
    width: 157px;
    height: 157px;
    margin: 1.7rem 0 1.7rem 0;
  }

  .value-icon img {
    width: 80px;
    height: 80px;
  }

  .value-title {
    font-size: 2.1rem;
    top: 220px;
  }

  .value-card:first-child .value-title {
    font-size: 2.1rem;
    top: 215px;
  }

  .value-description-box {
    padding: 1rem;
    margin-top: 6.4rem;
  }

  .value-description {
    font-size: 1.23rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION NOSOTROS
   =================================== */

  .nosotros-content {
    max-width: 540px;
    width: 150%;
  }

  .nosotros-title {
    font-size: 4.1rem;
  }

  .nosotros-description {
    font-size: 1.25rem;
  }

  .nosotros-cta {
    margin-top: 4.5rem;
  }

  .nosotros-btn {
    font-size: 1.5rem;
    padding: 0.5rem 2rem;
    font-weight: 500;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 2
   =================================== */
  .mision-vision-section {
    height: 520px;
  }

  .mision-vision-container {
    max-width: 1400px;
    gap: 1.5rem;
  }

  .mision-vision-content-side {
    max-width: 713px;
    padding-left: 22rem;
  }

  .mision-vision-content {
    width: 110%;
    gap: 2.5rem;
  }

  .mision-title,
  .vision-title {
    font-size: 3rem;
    margin: 0 0 1rem 0;
  }

  .mision-block {
    margin-bottom: 0rem;
  }

  .mision-description,
  .vision-description {
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .mision-vision-image-side {
    flex: 0 0 520px;
  }

  .mision-vision-image-container {
    max-width: 520px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 3
   =================================== */
  .valores-section {
    height: 400px;
    padding: 5rem 0;
  }
  .valores-container {
    max-width: 1300px;
  }

  .valores-header {
    margin-bottom: 3.5rem;
  }

  .valores-title {
    font-size: 4.3rem;
  }

  .valores-cards-container {
    gap: 6rem;
  }

  .valor-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
  }

  .valor-icon img {
    width: 65px;
    height: 65px;
  }

  .valor-card:nth-child(2) .valor-icon img {
    width: 75px;
    height: 75px;
  }

  .valor-card:nth-child(3) .valor-icon img {
    width: 80px;
    height: 80px;
  }

  .valor-title {
    font-size: 1.5rem;
    font-weight: 700;
    max-width: 130px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 3
   =================================== */

  .servicios-section {
    padding-bottom: 7rem;
  }

  .servicios-container {
    max-width: 925px;
  }

  .servicios-header {
    margin-bottom: 5rem;
    padding-inline: 1.8rem;
  }

  .servicios-title {
    font-size: 3.6rem;
  }

  .servicios-subtitle {
    font-size: 3.3rem;
  }

  .servicios-grid {
    gap: 4rem;
  }

  .servicios-row-superior {
    gap: 4rem;
  }

  .servicio-image {
    height: 330px;
  }

  .servicio-principal .servicio-image {
    height: 320px;
  }

  .servicio-inferior .servicio-image {
    height: 320px;
  }

  .servicio-titulo {
    font-size: 1.6rem;
  }

  .servicio-principal .servicio-titulo {
    font-size: 1.6rem;
  }

  .servicio-inferior .servicio-titulo {
    font-size: 2rem;
  }

  .servicio-principal .servicio-info {
    padding: 2.2rem 2rem;
  }

  .servicio-inferior .servicio-info {
    padding: 2.2rem 2rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 4 - "ALGUNOS DE NUESTROS PROYECTOS"
   =================================== */
  .proyectos-hero-section {
    min-height: 18rem;
    padding: 4rem 33rem;
    margin-bottom: 6rem;
  }

  .proyectos-galeria-container {
    max-width: 950px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5
   =================================== */

  .contacto-hero-section {
    padding: 0rem 3rem 0rem 3rem;
    min-height: 500px;
  }

  .contacto-hero-container {
    max-width: 850px;
    gap: 2rem;
  }

  .contacto-header-banner {
    padding: 3rem 4rem;
  }

  .contacto-main-title {
    font-size: 2rem;
  }

  .contacto-subtitle {
    font-size: 1.4rem;
  }

  .contacto-form {
    gap: 0.6rem;
  }

  .form-row {
    gap: 0.6rem;
  }

  .form-input,
  .form-textarea {
    padding: 1.4rem 1.4rem;
    font-size: 1.3rem;
  }

  .contacto-submit-btn {
    font-size: 1.4rem;
    padding: 0.8rem 1.5rem;
    min-width: 140px;
  }

  .form-input::placeholder,
  .form-textarea::placeholder {
    font-size: 0.9rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5 - CONTACTO
   =================================== */
  .contacto-info-section {
    min-height: 550px;
  }

  .contacto-info-container {
    min-height: 550px;
  }

  .contacto-info-overlay-image {
    left: 40%;
    transform: translateX(-60%);
    width: 290px !important;
    height: 470px !important;
  }

  .contacto-info-overlay-image img {
    width: 290px;
    height: 480px;
    object-fit: contain;
    bottom: 0;
  }

  .contacto-info-content-side {
    padding-inline: 12rem;
  }

  .contacto-info-content {
    gap: 3rem;
    max-width: 400px;
  }

  .contacto-info-item {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .contacto-info-icon {
    width: 50px;
    height: 50px;
  }

  .contacto-info-item:nth-child(2) .contacto-info-icon img {
    width: 25px;
    height: 19px;
  }

  .contacto-info-icon img {
    width: 25px;
    height: 25px;
  }

  .contacto-info-label {
    font-size: 2rem;
  }

  .contacto-info-data {
    font-size: 2rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5 - DIRECCION
   =================================== */

  .direccion-section {
    padding: 3.3rem 0;
  }

  .direccion-icon {
    width: 28px;
    height: 28px;
  }

  .direccion-icon img {
    width: 12px;
    height: 14px;
  }

  .direccion-texto {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 1399px) and (min-width: 1280px) {
  .vigovi-container {
    padding: 0 0 4rem 0rem;
  }

  .vigovi-image-container {
    width: 1230px;
    height: 395px;
  }

  .vigovi-image-top {
    top: 22%;
    left: 47%;
    width: 330px;
    height: 211px;
    border: 1.1rem solid white;
  }

  .vigovi-content-side {
    padding: 3rem 4rem 3rem 0rem;
  }

  .vigovi-header {
    width: 110%;
  }

  .vigovi-constructora {
    font-size: 4rem;
  }

  .vigovi-brand {
    font-size: 3.6rem;
  }

  .vigovi-sa {
    font-size: 3.6rem;
  }

  .vigovi-description {
    font-size: 1.2rem;
    line-height: 1.8;
  }

  .vigovi-description p {
    width: 95%;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI SECTION 2
   =================================== */

  .second-section {
    height: calc(34vh + 15rem);
    min-height: calc(135px + 15rem);
  }

  .second-content-area {
    height: 15rem;
  }

  .second-background {
    height: 37vh;
    min-height: 135px;
  }

  .values-container {
    top: 0rem;
    gap: 3.5rem;
  }

  .value-card {
    width: 220px;
    height: 320px;
    padding: 1.8rem 0rem 0.8rem 0rem;
  }

  .value-card::before {
    width: 33px;
    height: 37px;
  }

  .value-card::after {
    width: 33px;
    height: 15px;
  }

  .value-icon {
    width: 138px;
    height: 138px;
    margin: 1.5rem 0 1.5rem 0;
  }

  .value-icon img {
    width: 70px;
    height: 70px;
  }

  .value-title {
    font-size: 1.8rem;
    top: 195px;
  }

  .value-card:first-child .value-title {
    font-size: 1.8rem;
    top: 190px;
  }

  .value-description-box {
    padding: 0.8rem;
    margin-top: 5.6rem;
  }

  .value-description {
    font-size: 1.05rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 1
   =================================== */
  .nosotros-image-side {
    aspect-ratio: 16/9;
  }

  .nosotros-content-side {
    padding: 1rem 0rem 4rem 0rem;
    left: 40%;
    width: 60%;
  }

  .nosotros-content {
    max-width: 520px;
    width: 130%;
  }

  .nosotros-title {
    font-size: 6rem;
    letter-spacing: 0;
  }

  .nosotros-description {
    font-size: 1.25rem;
    line-height: 1.8;
  }

  .nosotros-description p {
    margin: 0 0 0.5rem 0;
  }

  .nosotros-btn {
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 1
   =================================== */
  .mision-vision-section {
    height: 480px;
  }

  .mision-vision-container {
    max-width: 1300px;
    padding: 5rem 2.5rem;
    gap: 1.2rem;
  }

  .mision-vision-content-side {
    max-width: 650px;
    padding-left: 18rem;
  }

  .mision-vision-content {
    width: 110%;
    gap: 2.2rem;
  }

  .mision-title,
  .vision-title {
    font-size: 2.8rem;
    margin: 0 0 0.8rem 0;
  }

  .mision-description,
  .vision-description {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  .mision-vision-image-side {
    flex: 0 0 480px;
  }

  .mision-vision-image-container {
    max-width: 480px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 3
   =================================== */
  .valores-section {
    height: 380px;
    padding: 4.5rem 0;
  }

  .valores-container {
    max-width: 1200px;
  }

  .valores-header {
    margin-bottom: 3rem;
  }

  .valores-title {
    font-size: 4rem;
  }

  .valores-cards-container {
    gap: 5rem;
  }

  .valor-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.8rem;
  }

  .valor-icon img {
    width: 55px;
    height: 55px;
  }

  .valor-card:nth-child(2) .valor-icon img {
    width: 65px;
    height: 65px;
  }
  .valor-card:nth-child(3) .valor-icon img {
    width: 65px;
    height: 65px;
  }

  .valor-title {
    font-size: 1.4rem;
    max-width: 120px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 3
   =================================== */

  .servicios-section {
    padding-bottom: 6rem;
  }

  .servicios-container {
    max-width: 850px;
  }

  .servicios-header {
    margin-bottom: 4.5rem;
    padding-inline: 1.5rem;
  }

  .servicios-title {
    font-size: 3.3rem;
  }

  .servicios-subtitle {
    font-size: 3rem;
  }

  .servicios-grid {
    gap: 3.5rem;
  }

  .servicios-row-superior {
    gap: 3.5rem;
  }

  .servicio-image {
    height: 300px;
  }

  .servicio-principal .servicio-image {
    height: 290px;
  }

  .servicio-inferior .servicio-image {
    height: 290px;
  }

  .servicio-titulo {
    font-size: 1.5rem;
  }

  .servicio-principal .servicio-titulo {
    font-size: 1.9rem;
  }

  .servicio-inferior .servicio-titulo {
    font-size: 1.9rem;
  }

  .servicio-principal .servicio-info {
    padding: 1.8rem 2rem;
  }

  .servicio-inferior .servicio-info {
    padding: 1.8rem 2rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 4 - "ALGUNOS DE NUESTROS PROYECTOS"
   =================================== */
  .proyectos-hero-section {
    min-height: 18rem;
    padding: 4rem 29rem;
    margin-bottom: 6rem;
  }

  .proyectos-galeria-container {
    max-width: 900px;
  }
  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5
   =================================== */

  .contacto-hero-section {
    padding: 0rem 2.5rem 2.5rem 2.5rem;
    min-height: 450px;
  }

  .contacto-hero-container {
    max-width: 750px;
    gap: 1.8rem;
  }

  .contacto-header-banner {
    padding: 2.2rem 3.5rem;
  }

  .contacto-main-title {
    font-size: 1.8rem;
  }

  .contacto-subtitle {
    font-size: 1.3rem;
  }

  .contacto-form {
    gap: 0.5rem;
  }

  .form-row {
    gap: 0.5rem;
  }

  .form-input,
  .form-textarea {
    padding: 1.2rem 1.2rem;
    font-size: 1.2rem;
  }

  .contacto-submit-btn {
    font-size: 1.3rem;
    padding: 0.7rem 1.3rem;
    min-width: 130px;
  }

  .form-input::placeholder,
  .form-textarea::placeholder {
    font-size: 0.9rem;
  }
  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5 - CONTACTO
   =================================== */

  .contacto-info-section {
    min-height: 500px;
  }

  .contacto-info-container {
    min-height: 500px;
  }

  .contacto-info-overlay-image {
    left: 38%;
    transform: translateX(-55%);
    width: 250px !important;
    height: 405px !important;
  }

  .contacto-info-overlay-image img {
    width: 250px;
    height: 415px;
    object-fit: contain;
  }

  .contacto-info-content-side {
    padding-inline: 10rem;
  }

  .contacto-info-content {
    gap: 2.5rem;
    max-width: 350px;
  }

  .contacto-info-item {
    padding: 1.2rem;
    gap: 1.2rem;
  }

  .contacto-info-icon {
    width: 45px;
    height: 45px;
  }

  .contacto-info-item:nth-child(2) .contacto-info-icon img {
    width: 22px;
    height: 17px;
  }

  .contacto-info-icon img {
    width: 22px;
    height: 22px;
  }

  .contacto-info-label {
    font-size: 1.8rem;
  }

  .contacto-info-data {
    font-size: 1.8rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5 - DIRECCION
   =================================== */
  .direccion-section {
    padding: 3.2rem 0;
  }

  .direccion-icon {
    width: 26px;
    height: 26px;
  }

  .direccion-icon img {
    width: 13px;
    height: 13px;
  }

  .direccion-texto {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 1279px) and (min-width: 769px) {
  .vigovi-container {
    flex-direction: column;
    min-height: auto;
    padding: 2rem;
  }

  .vigovi-image-side {
    flex: 0 0 450px;
    width: 100%;
    justify-content: center;
  }

  .vigovi-image-container {
    width: 1000px;
    height: 321px;
  }

  .vigovi-image-top {
    top: 22%;
    left: 47%;
    width: 269px;
    height: 172px;
    border: 1rem solid white;
  }

  .vigovi-content-side {
    flex: 1;
    padding: 2rem 0;
    text-align: center;
    justify-content: center;
  }

  .vigovi-content {
    max-width: 600px;
  }

  .vigovi-header {
    margin-bottom: 2rem;
    width: 100%;
  }

  .vigovi-title {
    align-items: center;
  }

  .vigovi-constructora {
    font-size: 4.2rem;
  }

  .vigovi-brand {
    font-size: 3.8rem;
    justify-content: center;
  }

  .vigovi-sa {
    font-size: 3.8rem;
  }

  .vigovi-description {
    font-size: 1.4rem;
    line-height: 1.6;
    text-align: center;
  }

  .vigovi-description p {
    width: 100%;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI SECTION 2
   =================================== */

  .second-section {
    height: calc(30vh + 25rem);
    min-height: calc(120px + 25rem);
  }

  .second-content-area {
    height: 25rem;
  }

  .second-background {
    height: 30vh;
    min-height: 120px;
  }

  .values-container {
    top: 2rem;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .value-card {
    width: 200px;
    height: 300px;
    padding: 1.5rem 0rem 0.7rem 0rem;
  }

  .value-card::before {
    width: 30px;
    height: 32px;
  }

  .value-card::after {
    width: 30px;
    height: 12px;
  }

  .value-icon {
    width: 120px;
    height: 120px;
    margin: 1.2rem 0 1.2rem 0;
  }

  .value-icon img {
    width: 60px;
    height: 60px;
  }

  .value-title {
    font-size: 1.5rem;
    top: 175px;
  }

  .value-card:first-child .value-title {
    font-size: 1.5rem;
    top: 170px;
  }

  .value-description-box {
    padding: 0.7rem;
    margin-top: 4.8rem;
  }

  .value-description {
    font-size: 0.9rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 1
   =================================== */
  .nosotros-hero-section {
    height: auto;
    min-height: 500px;
  }

  .nosotros-hero-container {
    height: auto;
    min-height: 500px;
    align-items: stretch;
  }

  .nosotros-image-side {
    aspect-ratio: 16/9;
    min-height: 500px;
  }

  .nosotros-content-side {
    padding: 2rem 0rem 2rem 0rem;
    left: 38%;
    width: 62%;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 3rem;
  }

  .nosotros-content {
    max-width: 480px;
    width: 110%;
  }

  .nosotros-title {
    font-size: 3.8rem;
    letter-spacing: 0;
  }

  .nosotros-description {
    font-size: 1.2rem;
    line-height: 1.7;
  }

  .nosotros-description p {
    margin: 0 0 1rem 0;
  }

  .nosotros-btn {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 1
   =================================== */

  .mision-vision-section {
    height: 400px;
  }

  .mision-vision-container {
    max-width: 1100px;
    padding: 4rem 2rem;
    gap: 2rem;
  }

  .mision-vision-content-side {
    max-width: 550px;
    padding-left: 6rem;
  }

  .mision-vision-content {
    width: 100%;
    gap: 1.8rem;
  }

  .mision-title,
  .vision-title {
    font-size: 2.5rem;
    margin: 0 0 0.6rem 0;
  }

  .mision-description,
  .vision-description {
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: justify;
  }

  .mision-vision-image-side {
    flex: 0 0 420px;
  }

  .mision-vision-image-container {
    max-width: 420px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 3
   =================================== */

  .valores-section {
    height: 350px;
    padding: 4rem 0;
  }

  .valores-container {
    max-width: 1000px;
  }

  .valores-header {
    margin-bottom: 2.5rem;
  }

  .valores-title {
    font-size: 3.5rem;
  }

  .valores-cards-container {
    gap: 3.5rem;
  }

  .valor-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
  }

  .valor-icon img {
    width: 50px;
    height: 50px;
  }

  .valor-card:nth-child(2) .valor-icon img {
    width: 65px;
    height: 65px;
  }
  .valor-card:nth-child(3) .valor-icon img {
    width: 65px;
    height: 65px;
  }

  .valor-title {
    font-size: 1.3rem;
    max-width: 110px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 3
   =================================== */
  .servicios-section {
    padding-bottom: 5rem;
    padding-top: 4rem;
  }

  .servicios-container {
    max-width: 750px;
  }

  .servicios-header {
    margin-bottom: 4rem;
    padding-inline: 1.2rem;
  }

  .servicios-title {
    font-size: 3rem;
  }

  .servicios-subtitle {
    font-size: 2.5rem;
  }

  .servicios-grid {
    gap: 3rem;
  }

  .servicios-row-superior {
    gap: 3rem;
  }

  .servicio-image {
    height: 250px;
  }

  .servicio-principal .servicio-image {
    height: 240px;
  }

  .servicio-inferior .servicio-image {
    height: 240px;
  }

  .servicio-titulo {
    font-size: 1.3rem;
  }

  .servicio-principal .servicio-titulo {
    font-size: 1.7rem;
  }

  .servicio-inferior .servicio-titulo {
    font-size: 1.7rem;
  }

  .servicio-principal .servicio-info {
    padding: 1.5rem 2rem;
  }

  .servicio-inferior .servicio-info {
    padding: 1.5rem 2rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 4 - "ALGUNOS DE NUESTROS PROYECTOS"
   =================================== */
  .proyectos-hero-section {
    min-height: 18rem;
    padding: 4rem 15rem;
    margin-bottom: 0rem;
  }

  .proyectos-galeria-container {
    max-width: 740px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5
   =================================== */
  .contacto-hero-section {
    padding: 0rem 2rem 2rem 2rem;
    min-height: 400px;
  }

  .contacto-hero-container {
    max-width: 650px;
    gap: 1.5rem;
  }

  .contacto-header-banner {
    padding: 2rem 3rem;
  }

  .contacto-main-title {
    font-size: 1.6rem;
  }

  .contacto-subtitle {
    font-size: 1.2rem;
  }

  .contacto-form {
    gap: 0.4rem;
  }

  .form-row {
    gap: 0.4rem;
  }

  .form-input,
  .form-textarea {
    padding: 1rem 1rem;
    font-size: 1.1rem;
  }

  .contacto-submit-btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
    min-width: 120px;
  }

  .form-input::placeholder,
  .form-textarea::placeholder {
    font-size: 0.9rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5 - CONTACTO
   =================================== */

  .contacto-info-section {
    min-height: 450px;
  }

  .contacto-info-container {
    min-height: 450px;
  }

  .contacto-info-overlay-image {
    left: 36%;
    transform: translateX(-50%);
    width: 200px !important;
    height: 325px !important;
  }

  .contacto-info-overlay-image img {
    width: 200px;
    height: 335px;
    object-fit: contain;
  }

  .contacto-info-content-side {
    padding-inline: 8rem;
  }

  .contacto-info-content {
    gap: 2rem;
    max-width: 300px;
  }

  .contacto-info-item {
    padding: 1rem;
    gap: 1rem;
  }

  .contacto-info-icon {
    width: 40px;
    height: 40px;
  }

  .contacto-info-item:nth-child(2) .contacto-info-icon img {
    width: 20px;
    height: 15px;
  }

  .contacto-info-icon img {
    width: 20px;
    height: 20px;
  }

  .contacto-info-label {
    font-size: 1.6rem;
  }

  .contacto-info-data {
    font-size: 1.6rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5 - DIRECCION
   =================================== */
  .direccion-section {
    padding: 2.8rem 0;
  }

  .direccion-icon {
    width: 24px;
    height: 24px;
  }

  .direccion-icon img {
    width: 12px;
    height: 12px;
  }

  .direccion-texto {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  .vigovi-container {
    flex-direction: column;
    min-height: auto;
    padding: 1.5rem;
  }

  .vigovi-image-side {
    flex: 0 0 320px;
    width: 100%;
    justify-content: center;
  }

  .vigovi-image-container {
    width: 600px;
    height: 193px;
  }

  .vigovi-image-top {
    top: 22%;
    left: 47%;
    width: 162px;
    height: 103px;
    border: 0.7rem solid white;
  }

  .vigovi-content-side {
    flex: 1;
    padding: 1.5rem 0;
    text-align: center;
    justify-content: center;
  }

  .vigovi-content {
    max-width: 500px;
  }

  .vigovi-header {
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .vigovi-title {
    align-items: center;
  }

  .vigovi-constructora {
    font-size: 3rem;
  }

  .vigovi-brand {
    font-size: 2.8rem;
    justify-content: center;
  }

  .vigovi-sa {
    font-size: 2.8rem;
  }

  .vigovi-description {
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: center;
  }

  .vigovi-description p {
    width: 100%;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI SECTION 2
   =================================== */
  .values-container {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    z-index: 10;
    width: 100%;
    padding: 2rem 0;
  }

  .value-card {
    width: 200px;
    height: 300px;
    padding: 1.5rem 0rem 0.7rem 0rem;
  }

  .value-card::before {
    width: 30px;
    height: 32px;
  }

  .value-card::after {
    width: 30px;
    height: 12px;
  }

  .value-icon {
    width: 120px;
    height: 120px;
    margin: 1.2rem 0 1.2rem 0;
  }

  .value-icon img {
    width: 60px;
    height: 60px;
  }

  .value-title {
    font-size: 1.5rem;
    top: 175px;
  }

  .value-card:first-child .value-title {
    font-size: 1.8rem;
    top: 170px;
  }

  .value-description-box {
    padding: 0.7rem;
    margin-top: 4.8rem;
  }

  .value-description {
    font-size: 1.1rem;
  }

  .second-content-area {
    height: auto;
    min-height: 30rem;
  }

  .second-section {
    height: auto;
    min-height: calc(25vh + 30rem);
  }

  .second-background {
    display: none;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 1
   =================================== */

  .nosotros-hero-section {
    min-height: auto;
  }

  .nosotros-hero-container {
    flex-direction: column;
    min-height: auto;
  }

  .nosotros-image-side {
    flex: 0 0 300px;
    background-position: center top;
    aspect-ratio: auto;
  }

  .nosotros-content-side {
    flex: 1;
    padding: 3rem 2rem;
    position: relative;
    left: auto;
    width: 100%;
    text-align: center;
    justify-content: flex-start;
  }

  .nosotros-content {
    max-width: 100%;
    width: 100%;
  }

  .nosotros-header {
    margin-bottom: 2.5rem;
  }

  .nosotros-title {
    font-size: 3.5rem;
    letter-spacing: 0;
  }

  .nosotros-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 3rem;
    text-align: justify;
  }

  .nosotros-description p {
    margin-bottom: 1.5rem;
  }

  .nosotros-description br {
    display: none;
  }
  .nosotros-cta {
    text-align: center;
    margin-top: 2rem;
  }

  .nosotros-btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    width: 200px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 1
   =================================== */

  .nosotros-hero-section {
    background-image: url("../img/sections/section2/imagen1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: auto;
  }

  .nosotros-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.75) 100%
    );
    z-index: 1;
  }

  .nosotros-hero-container {
    flex-direction: column;
    min-height: 100vh;
  }

  .nosotros-image-side {
    display: none;
  }

  .nosotros-content-side {
    flex: 1;
    padding: 4rem 2rem;
    position: relative;
    left: auto;
    width: 100%;
    z-index: 2;
    background-color: transparent;
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .nosotros-content {
    max-width: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nosotros-header {
    margin-bottom: 2rem;
  }

  .nosotros-title {
    font-size: 3rem;
    letter-spacing: 0;
    margin-bottom: 2rem;
  }

  .nosotros-description {
    font-size: 1.5em;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 2.5rem;
  }

  .nosotros-description p {
    margin-bottom: 1.2rem;
  }

  .nosotros-cta {
    text-align: center;
    margin-top: 2rem;
  }

  .nosotros-btn {
    font-size: 1.5rem;
    width: auto;
    min-width: 180px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 1
   =================================== */
  .mision-vision-section {
    height: auto;
    min-height: 500px;
    padding: 3rem 0;
  }

  .mision-vision-container {
    flex-direction: column;
    max-width: 100%;
    padding: 2rem 1.5rem;
    gap: 3rem;
  }

  .mision-vision-content-side {
    max-width: 100%;
    padding-left: 0;
    order: 1;
  }

  .mision-vision-content {
    width: 100%;
    gap: 2.5rem;
    text-align: center;
    padding: 0 2rem;
  }

  .mision-title,
  .vision-title {
    font-size: 3rem;
    margin: 0 0 1rem 0;
  }

  .mision-description,
  .vision-description {
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: justify;
  }

  .mision-vision-image-side {
    flex: none;
    order: 2;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .mision-vision-image-container {
    max-width: 100%;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 2 SECTION 3
   =================================== */

  .valores-section {
    height: auto;
    min-height: 500px;
    padding: 3rem 0;
  }

  .valores-container {
    max-width: 100%;
    padding: 0 1.5rem;
  }

  .valores-header {
    margin-bottom: 3rem;
  }

  .valores-title {
    font-size: 3rem;
  }

  .valores-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  .valor-card {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: 150px;
    min-width: 120px;
  }

  @media (max-width: 500px) {
    .valor-card {
      flex: 0 0 calc(50% - 1rem);
      max-width: 180px;
    }
  }

  @media (max-width: 350px) {
    .valor-card {
      flex: 0 0 100%;
      max-width: 200px;
    }

    .valores-cards-container {
      gap: 1.5rem;
    }
  }

  .valor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 200px;
  }

  .valor-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
  }

  .valor-icon img {
    width: 55px;
    height: 55px;
  }

  .valor-card:nth-child(2) .valor-icon img {
    width: 65px;
    height: 65px;
  }
  .valor-card:nth-child(3) .valor-icon img {
    width: 65px;
    height: 65px;
  }
  .valor-title {
    font-size: 1.8rem;
    max-width: 150px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 3
   =================================== */
  .servicios-section {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }

  .servicios-container {
    max-width: 100%;
    padding: 0 1.5rem;
  }

  .servicios-header {
    margin-bottom: 3rem;
    padding-inline: 0;
    text-align: center;
  }

  .servicios-title {
    font-size: 2.8rem;
  }

  .servicios-subtitle {
    font-size: 2.8rem;
  }

  .servicios-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .servicios-row-superior {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .servicio-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .servicio-image {
    height: 250px;
  }

  .servicio-principal .servicio-image {
    height: 250px;
  }

  .servicio-inferior .servicio-image {
    height: 250px;
  }

  .servicio-titulo {
    font-size: 1.4rem;
  }

  .servicio-principal .servicio-titulo {
    font-size: 1.6rem;
  }

  .servicio-inferior .servicio-titulo {
    font-size: 1.6rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 4 - "ALGUNOS DE NUESTROS PROYECTOS"
   =================================== */
  .proyectos-hero-section {
    min-height: 12rem;
    padding: 0rem 5rem;
    margin-bottom: 0rem;
  }

  .proyectos-galeria-container {
    max-width: 750px;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5
   =================================== */
  .contacto-hero-section {
    padding: 2rem 2rem 2rem 2rem;
    min-height: 400px;
  }

  .contacto-hero-container {
    max-width: 100%;
    gap: 2rem;
  }

  .contacto-header-banner {
    padding: 2rem 1.5rem;
  }

  .contacto-main-title {
    font-size: 1.8rem;
  }

  .contacto-subtitle {
    font-size: 1.5rem;
  }

  .contacto-form {
    gap: 1rem;
  }

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

  .form-group-third {
    width: 100%;
  }

  .form-input,
  .form-textarea {
    padding: 1.2rem 1rem;
    font-size: 1.5rem;
  }

  .contacto-submit-btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    min-width: 180px;
    width: 100%;
    max-width: 280px;
  }

  .form-submit-container {
    margin-top: 1.5rem;
  }

  /* ===================================
   RESPONSIVE PARA VIGOVI PAGE 5 - CONTACTO
   =================================== */
  .contacto-info-section {
    min-height: auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem 0;
  }

  .contacto-info-container {
    flex-direction: column;
    min-height: auto;
  }

  .contacto-info-image-side {
    display: none;
  }

  .contacto-info-overlay-image {
    display: none;
  }

  .contacto-info-content-side {
    flex: 1;
    background: none;
    padding: 2rem;
    justify-content: center;
  }

  .contacto-info-content {
    gap: 2rem;
    max-width: 100%;
  }

  .contacto-info-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    padding: 2.5rem 2rem;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
  }

  .contacto-info-item:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  }

  .contacto-info-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary-blue);
    flex-shrink: 0;
  }

  .contacto-info-icon img {
    filter: brightness(0) invert(1);
  }

  .contacto-info-item:nth-child(2) .contacto-info-icon img {
    width: 25px;
    height: 19px;
  }

  .contacto-info-icon img {
    width: 25px;
    height: 25px;
  }

  .contacto-info-text {
    text-align: left;
  }

  .contacto-info-label {
    font-size: 1.8rem;
    color: var(--color-primary-blue);
  }

  .contacto-info-data {
    font-size: 1.5rem;
    color: var(--color-text-dark);
  }

  .contacto-info-data a {
    color: var(--color-primary-blue);
  }

  .contacto-info-data a:hover {
    color: var(--color-accent-yellow);
  }

  .direccion-section {
    padding: 2.5rem 0;
  }

  .direccion-container {
    padding: 0 1.5rem;
  }

  .direccion-content {
    gap: 1rem;
  }

  .direccion-icon {
    width: 28px;
    height: 28px;
  }

  .direccion-icon img {
    width: 14px;
    height: 16px;
  }

  .direccion-texto {
    font-size: 1.4rem;
    line-height: 1.6;
  }
}

/* ===================================
   RESPONSIVE PARA GALERÍA
   =================================== */

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .proyectos-galeria-section {
    padding: 5rem 3rem;
  }

  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .zoom-icon {
    width: 44px;
    height: 44px;
  }

  .zoom-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media screen and (max-width: 767px) {
  .proyectos-galeria-section {
    padding: 4rem 2rem;
  }

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

  .galeria-item {
    width: 100%;
    max-width: 100%;
    height: 280px;
    aspect-ratio: 1;
  }

  .zoom-icon {
    width: 40px;
    height: 40px;
  }

  .zoom-icon svg {
    width: 20px;
    height: 20px;
  }

  .no-imagenes {
    padding: 3rem 1.5rem;
  }

  .no-imagenes p {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ===================================
   RESPONSIVE PARA FORMULARIO
   =================================== */

@media screen and (max-width: 1279px) and (min-width: 768px) {
  .alerta-vigovi {
    max-width: 350px;
    font-size: 1.3rem;
    padding: 1.3rem 1.8rem;
  }

  .mensaje-exito {
    padding: 2rem 1.5rem;
  }

  .mensaje-exito p {
    font-size: 1.5rem;
  }

  .error-mensaje {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 767px) {
  .alerta-vigovi {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
    font-size: 1.2rem;
    padding: 1.2rem 1.5rem;
  }

  .mensaje-exito {
    padding: 2rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
  }

  .mensaje-exito .success-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .mensaje-exito p {
    font-size: 1.4rem;
  }

  .error-mensaje {
    font-size: 1rem;
    padding-left: 1.2rem;
  }

  .spinner-vigovi {
    width: 50px;
    height: 50px;
    border-width: 3px;
    margin-bottom: 1rem;
  }

  #loading-vigovi span {
    font-size: 1.4rem;
  }

  .g-recaptcha {
    transform: scale(0.85);
  }

  .recaptcha-container {
    margin: 1rem 0;
  }
}

/* ===================================
 PROYECTOS
   =================================== */

@media screen and (max-width: 1024px) {
  .proyectos-hero-container {
    max-width: 70vw;
  }

  .proyectos-subtitle {
    font-size: 4vw;
  }

  .proyectos-main-title {
    font-size: 3.5vw;
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .proyectos-hero-container {
    max-width: 85vw;
  }

  .proyectos-title {
    align-items: center;
  }

  .proyectos-subtitle {
    font-size: 5vw;
    text-align: center;
  }

  .proyectos-main-title {
    font-size: 4.5vw;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .proyectos-hero-container {
    max-width: 95vw;
  }

  .proyectos-subtitle {
    font-size: 6vw;
    line-height: 1.3;
  }

  .proyectos-main-title {
    font-size: 5.5vw;
    letter-spacing: 0.1rem;
    line-height: 1.2;
  }
}

/* ===================================
   ERROR 404
   =================================== */
@media screen and (max-width: 1024px) {
  .error-container h1 {
    font-size: 12rem;
  }

  .error-container h2 {
    font-size: 3rem;
  }

  .error-container p {
    font-size: 1.7rem;
    margin-bottom: 3.5rem;
  }
}

@media screen and (max-width: 768px) {
  .error-container {
    min-height: 80vh;
    padding: 3rem 1.5rem;
  }

  .error-container h1 {
    font-size: 10rem;
    margin-bottom: 1.5rem;
  }

  .error-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .error-container p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    max-width: 450px;
  }

  .boton-contacto {
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
  }
}

@media screen and (max-width: 480px) {
  .error-container {
    padding: 2rem 1rem;
  }

  .error-container h1 {
    font-size: 8rem;
  }

  .error-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .error-container p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
  }

  .boton-contacto {
    font-size: 1.4rem;
    padding: 1.3rem 2.5rem;
    width: 90%;
    max-width: 280px;
  }

  .boton-contacto::after {
    font-size: 1rem;
  }
}

@media screen and (max-width: 375px) {
  .error-container h1 {
    font-size: 6rem;
  }

  .error-container h2 {
    font-size: 1.8rem;
  }

  .error-container p {
    font-size: 1.3rem;
  }

  .boton-contacto {
    font-size: 1.3rem;
    padding: 1.2rem 2rem;
  }
}
