/*

TemplateMo 567 Nomad Force

https://templatemo.com/tm-567-nomad-force

*/


/* agregadas por Horacio */

.bg-securiton {
  background-color: #006b3a;
}

.text-red {
  color: red;
}

.neon-text {
      text-shadow: 0 0 10px rgb(194, 8, 79), 0 0 20px rgb(94, 9, 44), 0 0 30px rgb(1, 1, 12);
    }


/*-------------------------------------------------------
    ESTO ES EL CARROUSEL DE CLIENTES
-----------------------------------------------------*/

  /* Estilos para la sección de clientes */
           .partners-section {
            width: 100%;
            max-width: 1200px;
            padding: 30px;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
        }

        /* Contenedor principal de la marquesina */
        .marquee-container {
            width: 100%;
            overflow: hidden; /* Oculta los logos que están fuera de la vista */
            padding: 20px 0;
            /* border-top: 1px solid #eee;
            border-bottom: 1px solid #eee; */
        }

        /* Contenido animado: debe ser lo suficientemente ancho para contener dos sets de logos */
        .marquee-content {
            display: flex;
            white-space: nowrap; /* Evita que los logos salten a una nueva línea */
            animation: scrolling 30s linear infinite; /* Animación continua */
            width: fit-content; /* Se ajustará al contenido duplicado */
        }

        /* Los logos individualmente */
        .logo-item {
            flex-shrink: 0; /* Impide que los logos se encojan */
            width: 200px; /* Ancho fijo solicitado (200px) */
            height: 100px; /* Altura sugerida para los logos */
            margin: 0 40px; /* Espacio entre logos */
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0.7; /* Suavizar logos */
            transition: opacity 0.3s;
        }

        .logo-item:hover {
            opacity: 1; /* Mostrar color completo al pasar el ratón */
        }
        
        .logo-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 6px;
        }

        /* Definición de la animación de desplazamiento */
        @keyframes scrolling {
            0% {
                transform: translateX(0); /* Empieza a la izquierda */
            }
            100% {
                /* Se desplaza exactamente a la mitad de su ancho, haciendo que la duplicación 
                   parezca un ciclo infinito. Es importante que el contenido se duplique 
                   exactamente para que el bucle sea perfecto. */
                transform: translateX(-50%);
            }
        }

        /* Detener la animación al pasar el ratón para facilitar la interacción */
        .marquee-container:hover .marquee-content {
            animation-play-state: paused;
        }


/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #bc2610;
  --section-bg-color:             #f9f9f9;
  --dark-color:                   #000000;
  --grey-color:                   #fcfeff;
  --text-secondary-white-color:   rgba(255, 255, 255, 0.98);
  --title-color:                  #565758;
  --p-color:                      #717275;

  --body-font-family:           'Noto Sans JP', sans-serif;

  --h1-font-size:               72px;
  --h2-font-size:               42px;
  --h3-font-size:               36px;
  --h4-font-size:               32px;
  --h5-font-size:               24px;
  --h6-font-size:               22px;
  --p-font-size:                20px;
  --copyright-text-font-size:   14px;
  --custom-link-font-size:      12px;

  --font-weight-light:          300;
  --font-weight-normal:         400;
  --font-weight-bold:           700;
  --font-weight-black:          900;
}

body,
html {
  height: 100%;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  background: linear-gradient(to top, #000, transparent 90%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  text-align: center;
}

/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

.team-thumb {
  background: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  padding: 22px 32px 32px 32px;
}

.carousel-control-next,
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
  width: 5.2rem;
}

/* Ambos anclados desde la derecha; next con margen, prev separado por el ancho del botón + gap */
.carousel-control-next {
  right: 1.75rem;
  left: auto;
}

.carousel-control-prev {
  right: calc(1.75rem + 5.2rem + 0.6rem); /* margen + ancho botón next + gap */
  left: auto;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: #bc2610;
  background-size: 55% 55%;
  border-radius: 10px;
  width: 4.8rem;
  height: 2.8rem;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.carousel-control-next:hover .carousel-control-next-icon,
.carousel-control-prev:hover .carousel-control-prev-icon {
  background-color: #9a1e0c;
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0,0,0,0.55);
}

/*---------------------------------------
  PORTFOLIO               
-----------------------------------------*/
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  margin: 20px;
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/

.news,
.related-news {
  background: var(--section-bg-color);
}

.news-thumb {
  position: relative;
}

.news-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--title-color);
  display: inline-block;
}

.news-title-link:hover {
  color: var(--dark-color);
}

.portfolio-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: #198754;
}

.news-image-hover-warning::after {
  background: #ffc107;
}

.news-image-hover-primary::after {
  background: #0d6efd;
}

.news-image-hover-success::after {
  background: #198754;
}

.news-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.02);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.contact-phone-card {
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--dark-color);
  transition: border-color .25s, background .25s, color .25s;
}
.contact-phone-card:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}
.contact-phone-card:hover .contact-phone-number {
  color: var(--white-color);
}
.contact-phone-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white-color);
  transition: background .25s;
}
.contact-phone-card:hover .contact-phone-icon {
  background: rgba(255,255,255,.25);
}
.contact-phone-number {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: .02em;
  color: var(--dark-color);
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form button[type='submit'],
.contact-form-btn {
  display: inline-block;
  width: auto;
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 12px 28px;
  transition: all 0.6s ease-out;
  cursor: pointer;
}

.contact-form button[type='submit']:hover,
.contact-form-btn:hover {
  background: var(--primary-color);
}

.contact-form-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
  opacity: 0.6;
}

.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--dark-color);
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.site-footer h5 {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  margin-bottom: .4rem;
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--copyright-text-font-size);
  line-height: 1.8;
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin-top: .75rem;
  margin-bottom: .75rem;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .team-thumb {
    left: 0;
    width: auto;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
}

@media screen and (max-width: 767px) {
  .news-detail-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 360px) {
  h1 {
    font-size: 32px;
  }

  .heroText p {
    font-size: 14px;
  }
}

@media screen and (max-width: 359px) {
  .news-detail-title {
    font-size: 22px;
  }
}


/* --- STATS --- */
.sia-stats {
  background: #fff;
  padding: 4.5rem 0;
}
.sia-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(0,0,0,.08);
}
.sia-stat-item:last-child {
  border-right: none;
}
.sia-stat-number {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--primary-color, #bc2610);
  line-height: 1;
  margin-bottom: .4rem;
}
.sia-stat-label {
  display: block;
  font-size: .78rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
}
@media screen and (max-width: 767px) {
  .sia-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .sia-stat-item:last-child {
    border-bottom: none;
  }
}

/* --- OFFSET PARA NAVBAR FIJA AL SALTAR A ANCLAS --- */
#about,
#portfolio,
#contact {
  scroll-margin-top: 120px;
}
#about {
  padding-top: 60px;
}

/* --- FUENTE "NUESTRA EXPERIENCIA" — iguala a párrafos de Nosotros --- */
#about .custom-link-black {
  font-size: var(--p-font-size);
  color: var(--p-color);
  font-family: var(--body-font-family);
}

/* --- TARJETAS DE TRABAJOS REALIZADOS --- */
.work-card {
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.15) !important;
}
.work-card-img {
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.work-card-title {
  font-weight: 700;
  color: var(--primary-color, #bc2610);
  font-size: 1.05rem;
  margin-bottom: .75rem;
}
.work-card .card-text {
  font-size: .92rem;
  line-height: 1.65;
  color: #444;
}
.work-card-footer {
  background: transparent;
  border-top: 1px solid #f0f0f0;
  padding: .65rem 1rem;
  color: #666;
  font-size: .82rem;
}

/* --- MENÚ: flecha indicadora solo en hover ---
   La regla base de templatemo-nomad-force.css muestra la flecha tanto en
   :hover como en .nav-item.active. Acá la ocultamos en la sección activa
   para que la flecha funcione únicamente como indicador al pasar el mouse.
*/
.navbar-nav .nav-item.active .nav-link::after {
  opacity: 0;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}
.navbar-nav .nav-item.active .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  transform: translateY(0);
}

/* --- COMPACTACIÓN HERO / STATS / PARTNERS --- */
.sia-stats {
  padding: 2.5rem 0;
}
#partners.section-padding {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
#trabajos {
  scroll-margin-top: 120px;
}

/*---------------------------------------
  AJUSTES RESPONSIVE FINOS (mobile/tablet)
  Compacta la presentación en pantallas
  chicas sin afectar el diseño de escritorio.
-----------------------------------------*/

/* Tablet: 768px – 991px */
@media screen and (max-width: 991px) {
  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  .sia-stats {
    padding: 3rem 0;
  }
  .site-footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }
  #about {
    padding-top: 30px;
  }
  #about,
  #portfolio,
  #contact {
    scroll-margin-top: 90px;
  }
  .work-card-img {
    height: 190px;
  }
}

/* Móvil: ≤767px */
@media screen and (max-width: 767px) {
  /* Tipografía de párrafos más compacta */
  p,
  #about .custom-link-black,
  .site-footer .custom-link {
    font-size: 17px;
  }

  /* Menos aire vertical entre secciones */
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Stats compactos */
  .sia-stats {
    padding: 2.25rem 0;
  }
  .sia-stat-item {
    padding: 1rem .5rem;
  }
  .sia-stat-label {
    font-size: .7rem;
    letter-spacing: 1.2px;
  }

  /* Marquesina de logos proporcionada al ancho móvil */
  .logo-item {
    width: 130px;
    height: 65px;
    margin: 0 18px;
  }
  .marquee-container {
    padding: 12px 0;
  }

  /* Nosotros: neutralizar espacios heredados de Bootstrap en móvil */
  #about {
    padding-top: 10px;
  }
  #about .container.mb-5 {
    margin-bottom: 1.25rem !important;
  }
  #about .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
  #about .me-4 {
    margin-right: 0 !important;
  }
  #about hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  #about h2.mb-3 {
    margin-bottom: .75rem !important;
  }

  /* Títulos de sección con menos separación */
  #portfolio h2.mb-5,
  .contact h2.mb-4 {
    margin-bottom: 1.25rem !important;
  }

  /* Anclas: compensar navbar reducido */
  #about,
  #portfolio,
  #contact {
    scroll-margin-top: 80px;
  }

  /* Cards de Trabajos: altura proporcional al ancho en móvil */
  .work-card-img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .work-card .card-body {
    padding: 1rem;
  }
  .work-card .card-text {
    font-size: .88rem;
    line-height: 1.55;
  }

  /* Footer compacto */
  .site-footer {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }
  .site-footer .custom-link.mb-5 {
    margin-bottom: 1.5rem !important;
  }

  /* Carrusel del hero: ocultar botones de navegación en móvil */
  .carousel-control-next,
  .carousel-control-prev {
    display: none;
  }
}

/* Teléfonos muy pequeños: ≤400px */
@media screen and (max-width: 400px) {
  .logo-item {
    width: 110px;
    height: 55px;
    margin: 0 12px;
  }
  .sia-stat-number {
    font-size: 2rem;
  }
  /* aspect-ratio ya gestiona la altura en móvil, no se necesita override */
}
    height: 180px;
  }
  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Teléfonos muy pequeños: ≤400px */
@media screen and (max-width: 400px) {
  .logo-item {
    width: 110px;
    height: 55px;
    margin: 0 12px;
  }
  .sia-stat-number {
    font-size: 2rem;
  }
  /* aspect-ratio ya gestiona la altura en móvil, no se necesita override */
}

/* Teléfonos muy pequeños: ≤400px */
@media screen and (max-width: 400px) {
  .logo-item {
    width: 110px;
    height: 55px;
    margin: 0 12px;
  }
  .sia-stat-number {
    font-size: 2rem;
  }
  /* aspect-ratio ya gestiona la altura en móvil, no se necesita override */
}
