:root{
  --brand: #0073a0;      /* AZUL PRINCIPAL */
  --brand2: #004a78;     /* AZUL OSCURO (hover / gradientes) */
  --soft: #f2f7fb;       /* Fondo claro */
  --text: #1b1f2a;
}
/* TIPOGRAFÍA GLOBAL */
body{
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6,
.section-title,
.nav-link,
.footer-title{
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.2px;
}

body{
  color: var(--text);
}
.text-azul-fuerte {
	color: #005b93;
}
.text-azul {
	color: #009ad6;
}
.border-azul-fuerte {
  border: 4px solid #005b93 !important;
}
.border-azul-claro {
	border: 6px solid #019ad6 !important;
}
#mapa iframe {
  min-height: 470px;
}
/* NAVBAR AZUL */
.navbar-brand-blue{
  background-color: var(--brand);
}

.navbar-brand-blue .navbar-brand,
.navbar-brand-blue .nav-link{
  color: #ffffff !important;
  font-weight: 600;
}

.navbar-brand-blue .nav-link:hover{
  color: rgba(255,255,255,.85) !important;
}

.navbar-brand-blue .btn-primary{
  background-color: #ffffff;
  color: var(--brand);
  border-color: #ffffff;
}

.navbar-brand-blue .btn-primary:hover{
  background-color: rgba(255,255,255,.9);
  color: var(--brand2);
}
#logo img {
	max-width: 210px;
}
/* Icono hamburguesa blanco */
.navbar-dark .navbar-toggler{
  border-color: rgba(255,255,255,.3);
}
.navbar-dark .navbar-toggler-icon{
  filter: brightness(0) invert(1);
}

.text-primary, .btn-primary{
  --bs-primary: var(--brand);
}
.text-primary {
	color: var(--brand) !important;
}
.bg-soft{ background: var(--soft); }

.section-pad{
  padding: 64px 0;
}

.section-title{
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--brand);
	font-size: 4em;
}

.hero{
  padding: 56px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero-card{
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.video-card{
  border-radius: 33px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.video-thumb{
  position: relative;
  display:block;
  width:100%;
  border:0;
  padding:0;
  background: transparent;
  text-align: left;
}

.video-play{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#fff;
  background: rgba(0,0,0,.20);
  transition: .2s ease;
}

.video-thumb:hover .video-play{
  background: rgba(0,0,0,.35);
}

.video-caption{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.45);
  color:#fff;
  font-weight: 800;
  text-align:center;
}

.card-link{
  text-decoration: none;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}

.card-media{
  position: relative;
  height: 49vh;
  overflow:hidden;
}

.card-media img{
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.card-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.75) 100%);
  display:flex;
  align-items:center;
  padding: 18px;
}

.card-overlay-title{
  color:#fff;
  font-weight: 800;
  margin:0;
  font-size: 5rem;
}

.rating{
  letter-spacing: 2px;
  color: #1f7a1f;
  font-weight: 800;
}



.object-fit-cover{ object-fit: cover; }

.btn-link{
  text-decoration: none;
  color: var(--brand);
}
.btn-link:hover{ color: var(--brand2); }

/* PRELOADER */
#preloader{
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .35s ease, visibility .35s ease;
}

#preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner{
  text-align: center;
}

.spinner{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid rgba(11,116,184,.18);
  border-top-color: rgba(11,116,184,1);
  animation: spin 0.9s linear infinite;
  margin: 0 auto 10px;
}

.preloader-text{
  font-weight: 700;
  color: rgba(27,31,42,.75);
  letter-spacing: .3px;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

/* WOW: evita parpadeo antes de animar */
.wow{
  visibility: hidden;
}
/* FORMULARIO CONTACTO AZUL */
.contact-card{
  background-color: #009ad6;
  border-radius: 32px; /* más redondeado */
}

/* Encabezado ya no necesita fondo extra */
.contact-head{
  background: transparent;
}

.contact-head .section-title{
  color: #ffffff;
}

/* Texto general */
.contact-card,
.contact-card label,
.contact-card p,
.contact-card h2,
.contact-card h3{
  color: #ffffff;
}

/* Inputs */
.contact-card .form-control{
  background-color: transparent;
  border: none;
  color: #ffffff;
  border-radius: 0;
  border-bottom: 2px solid #fff;
}

.contact-card .form-control::placeholder{
  color: rgba(255,255,255,.7);
}

.contact-card .form-control:focus{
  background-color: rgba(255,255,255,.22);
  border-color: #ffffff;
  box-shadow: none;
  color: #ffffff;
}

/* Validación Bootstrap */
.contact-card .invalid-feedback{
  color: #ffecec;
  font-size: .85rem;
}

/* Botón enviar */
.contact-card .btn-primary{
  background-color: #ffffff;
  color: #009ad6;
  border-color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  padding: 12px 48px;
}

.contact-card .btn-primary:hover{
  background-color: rgba(255,255,255,.92);
  color: #007fb1;
}

/* Alertas */
.contact-card .alert-success{
  background-color: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  color: #ffffff;
}

.contact-card .alert-danger{
  background-color: rgba(255,0,0,.15);
  border: 1px solid rgba(255,255,255,.4);
  color: #ffffff;
}

/* Ajuste móvil */
@media (max-width: 576px){
  .contact-card{
    border-radius: 24px;
  }
}
/* FOOTER – TÍTULOS Y MENÚ */

/* Títulos */
.footer-title{
  font-size: 32px;
  color: #0073a0;
  text-align: center;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Listas sin decoración */
.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

/* Enlaces */
.footer-links li{
  margin-bottom: 8px;
}

.footer-links a{
  color: #0073a0;
  text-decoration: none;
  font-weight: lighter;
}

.footer-links a:hover{
  color: #005b93;
  text-decoration: none;
}

/* Texto normal (dirección, etc.) */
.footer-text{
  color: #0073a0;
  text-align: center;
}

/* Ajuste visual columna Social */
.footer-social{
  justify-content: center;
}
/* FOOTER HR */
.footer-hr{
  border: none;
  height: 2px;
  background-color: #0374a1;
  opacity: 1;
}
/* FOOTER BOTTOM */
.footer-bottom{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Links */
.footer-bottom-link{
  color: #0073a0;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}

.footer-bottom-link:hover{
  color: #005b93;
  text-decoration: none;
}

/* Separador tipo bullet */
.footer-separator{
  color: #0073a0;
  font-size: 1.1rem;
  line-height: 1;
}
/* HERO SLIDER 100% */
.hero-slider{
  width: 100%;
}

.hero-slider .carousel-inner{
  height: clamp(520px, 80vh, 900px);
}

.hero-slider .carousel-item{
  height: 100%;
  position: relative;
}

.hero-img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Overlay sutil para que el CTA se vea en cualquier foto */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.18) 0%,
    rgba(0,0,0,.25) 45%,
    rgba(0,0,0,.35) 100%
  );
}

/* Posición del CTA */
.hero-caption{
      position: absolute;
    left: 20%;
    bottom: 41%;
    text-align: left;
    z-index: 2;
}
.hero-caption2{
      position: absolute;
    left: 89%;
	right: 5% !important;
    bottom: 5%;
    text-align: left;
    z-index: 2;
}

/* Botón CTA: #0073a0 fondo, letras blancas */
.btn-hero-cta{
  /*background: #0073a0;
  color: #ffffff;
  border: 1px solid #0073a0;
  border-radius: 999px;
  padding: 12px 34px;
  font-weight: 700;
  text-decoration: none;*/
}

.btn-hero-cta:hover{
  
}

/* Indicadores más discretos */
.hero-slider .carousel-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
/* PLAY ICON (VIDEO) */
.video-play-icon{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Círculo */
.video-play-icon::before{
  content: "";
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}

/* Triángulo play */
.video-play-icon::after{
  content: "";
  position: absolute;
  margin-left: 4px;
  width: 0;
  height: 0;
  border-left: 18px solid #0073a0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

/* Hover sutil */
.video-thumb:hover .video-play-icon::before{
  transform: scale(1.05);
}

.video-thumb:hover .video-play-icon::after{
  border-left-color: #005b93;
}
.service-card {
  position: relative;
}

/* Imagen */
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay negro 47% */
.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.47);
  z-index: 1;
}

/* Contenedor del texto */
.service-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

/* Texto */
.service-content h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.btn-icon-top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
}

.btn-icon {
  width: 24px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Estado "abierto" */
.btn-icon-top.is-open .btn-icon {
  transform: rotate(180deg);
}
/* Card general */
.testimonial-card {
  background-color: #009ad6;
  color: #ffffff;
}

/* Header con foto + nombre + estrellas */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Foto circular */
.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.4);
	background-color: #FFF;
}

/* Contenedor nombre + rating */
.testimonial-meta {
  display: flex;
  flex-direction: column;
}

/* Nombre */
.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}

/* Estrellas */
.testimonial-rating {
  font-size: 0.85rem;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Texto del testimonio */
.testimonial-text {
  color: #ffffff;
  text-align: justify;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}
/* Contenedor 3D */
/* Mantener el slider dentro de la mitad del contenedor */
#testimonios .col-md-6:last-child{
  overflow: hidden;       /* CLAVE: evita que invada la columna izquierda */
}

/* Wrapper */
.t3d-owl-wrap{
  position: relative;
  width: 100%;
	perspective: 1200px;
	overflow: hidden;  
}
#owlTestimonios3D .owl-stage{
  transform-style: preserve-3d;
}


/* Alto (proporcional) */
#owlTestimonios3D{
  width: 100%;
  min-height: clamp(360px, 58vh, 680px);
}

/* Cada slide centrado */
#owlTestimonios3D .owl-item{
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 1 !important;
  visibility: visible !important;

  transform: translateZ(-180px) scale(.85);
  transition: transform .45s ease, opacity .45s ease;
  will-change: transform, opacity;
}

/* Card proporcional 638x945 y que se adapte a la columna */
#owlTestimonios3D .t3d-card{
   position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;           /* clave */
  overflow: hidden;       /* mantiene bordes redondeados si los usas */
  border-radius: 22px;    /* opcional */
}

#owlTestimonios3D .t3d-card img{
  width: 100%;
  height: auto;           /* clave */
  display: block;
  object-fit: initial;    /* o simplemente elimínalo */
}

/* Degradado */
#owlTestimonios3D .t3d-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 91, 151, 1) 0%,
    rgba(0, 91, 151, .85) 16%,
    rgba(0, 91, 151, 0) 45%
  );
  pointer-events: none;
}

/* Texto */
#owlTestimonios3D .t3d-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 18px 16px;
  color: #fff;
  z-index: 2;
}

#owlTestimonios3D .t3d-text{
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  text-align: center;
}

/* Coverflow: center al frente; laterales atrás */

/* Dots */
#owlTestimonios3D .owl-dots{
  margin-top: 10px;
  text-align: center;
}

#owlTestimonios3D .owl-dot span{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #009ad6;
  opacity: .55;
  margin: 0 6px;
  display: inline-block;
  transition: transform .2s ease, opacity .2s ease;
}

#owlTestimonios3D .owl-dot.active span{
  opacity: 1;
  transform: scale(1.45);
}

/* Mobile: sin laterales (queda limpio) */
@media (max-width: 767px){
  #owlTestimonios3D .owl-item{
    opacity: 1;
    transform: none;
  }
  #owlTestimonios3D .t3d-text{ font-size: 18px; }
}
/* Estado base: todos atrás */
#owlTestimonios3D .owl-item{
  opacity: 1 !important;
	visibility: visible !important;
  display: block !important;
  transform: translateZ(-180px) scale(.85);
  transition: transform .45s ease, opacity .45s ease;
}

/* Slide central */
#owlTestimonios3D .owl-item.center{
  opacity: 1 !important;
  transform: translateZ(0) scale(1);
  z-index: 3;
	pointer-events: auto;
}
#owlTestimonios3D .owl-item.is-left,
#owlTestimonios3D .owl-item.is-right{
  z-index: 2;
  opacity: .35;
  transform: scale(.90);
}
/* Slide anterior (izquierda) */
#owlTestimonios3D .owl-item.is-left{
  z-index: 2;
	opacity: .35;
  transform: scale(.90);
  transition: opacity .25s ease, transform .25s ease;
}
#owlTestimonios3D .owl-item.is-left .t3d-card{
  transform: translateX(70%) rotateY(18deg) scale(.90);
}

/* Slide siguiente (derecha) */
#owlTestimonios3D .owl-item.is-right{
  z-index: 2;
	opacity: .35;
  transform: scale(.90);
  transition: opacity .25s ease, transform .25s ease;
}
#owlTestimonios3D .owl-item.is-right .t3d-card{
  transform: translateX(-70%) rotateY(-18deg) scale(.90);
}

/* El centro NO debe heredar transform */
#owlTestimonios3D .owl-item.center .t3d-card{
  transform: none;
}
/* Ya NO recortes toda la columna (esto se come los laterales) */
#testimonios .col-md-6:last-child{
  overflow: visible;
}

/* Este es el recorte correcto, SOLO dentro de la columna */
#testimonios .t3d-clip{
  position: relative;
  overflow: hidden;  /* aquí NO */
  width: 100%;
}

/* Stage debe ser visible para que se asomen laterales */
#owlTestimonios3D .owl-stage-outer{
  overflow: hidden !important;
}

/* Asegura que el carrusel no exceda el ancho del clip */
#owlTestimonios3D{
  width: 100%;
}
/* Flechas 3D */
/* Flechas 3D usando iconos Bootstrap */
.t3d-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;

  width: 56px;
  height: 56px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;

  background: rgba(0,0,0,.25);
  backdrop-filter: blur(4px);

  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.t3d-arrow:hover{
  background: rgba(0,0,0,.45);
  transform: translateY(-50%) scale(1.08);
}

/* Posición: encima de los slides laterales */
.t3d-arrow.prev{
  left: 8%;
}

.t3d-arrow.next{
  right: 8%;
}

/* Íconos Bootstrap: tamaño y color */
.t3d-arrow .carousel-control-prev-icon,
.t3d-arrow .carousel-control-next-icon{
  width: 24px;
  height: 24px;
  background-size: 100% 100%;
  filter: none;            /* asegura blanco puro */
  opacity: 1;
}

/* Evita estilos heredados del carousel Bootstrap */
.t3d-arrow .carousel-control-prev-icon,
.t3d-arrow .carousel-control-next-icon{
  background-color: transparent;
}

/* Mobile: ocultar flechas */
@media (max-width: 767px){
  .t3d-arrow{
    display: none;
  }
}
.play-video {
	position: absolute;
    top: 29%;
    width: 100%;
    text-align: center;
}
.img-play {
	width: 15% !important;
	height: auto;
}
.video-frase {
	    position: absolute;
    bottom: 3%;
    width: 80%;
    text-align: center;
    left: 10%;
    color: #fff;
    text-shadow: 1px 1px 5px #2f2f2f;
}
.video-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  padding: 24px;
}

.video-overlay.is-open{
  display: flex;
}

.video-overlay__inner{
  width: min(1100px, 100%);
  max-height: 90vh;
}

.video-overlay__inner video{
  width: 100%;
  height: auto;
  max-height: 90vh;
  background: #000;
  border-radius: 14px;
  outline: none;
}

.video-overlay__close{
  position: fixed;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
}

.video-overlay__close:hover{
  background: rgba(255,255,255,.22);
}
a.social {
	text-decoration: none;
}
.social img {
	max-width: 32px;
	height: auto;
}
/* Estado normal */
.services-extras {
  margin-top: 1rem;
}

/* Evita “brincos” al entrar */
.services-extras.is-animating {
  will-change: transform, opacity;
}
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  text-decoration: none;
  font-family: inherit;
}

/* Círculo verde */
.whatsapp-icon {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.whatsapp-icon img {
  width: 28px;
  height: 28px;
}

/* Burbuja azul */
.whatsapp-bubble {
  background: #12b7f5;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  position: relative;
}

/* Pico del globo */
.whatsapp-bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 8px 8px 0;
  border-style: solid;
  border-color: transparent #12b7f5 transparent transparent;
}

/* Hover elegante */
.whatsapp-float:hover {
  transform: translateY(-2px);
}

.whatsapp-float:hover .whatsapp-icon,
.whatsapp-float:hover .whatsapp-bubble {
  box-shadow: 0 12px 24px rgba(0,0,0,.3);
}

/* Mobile: solo icono */
@media (max-width: 575px) {
  .whatsapp-bubble {
    display: none;
  }
}
.wa-svg {
  width: 45px;
  height: 45px;
  display: block;
}
/*HERO SLIDER */
#heroSlider .owl-nav {
	position: absolute;
	width: 100%;
	top: 45%;
	
}
.owl-theme .owl-nav [class*=owl-]:hover {
	background: transparent !important;
}
#heroSlider .owl-prev {
	left: 1%;
    position: absolute;
}
#heroSlider .owl-next {
	right: 1%;
    position: absolute;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
	    width: 5rem !important;
    height: 5rem !important;
}
/* Contenedor principal */
.hero-slider,
.hero-owl,
.hero-owl .owl-stage-outer,
.hero-owl .owl-stage,
.hero-owl .owl-item {
  width: 100%;
  overflow: hidden;
}

/* Cada slide */
.hero-slide {
  position: relative;
  width: 100%;
}

/* Wrapper que define el alto del banner */
.hero-media {
  position: relative;
  width: 100%;
  height: auto;            /* desktop */
  max-height: 900px;        /* opcional: evita excesos en pantallas enormes */
  overflow: hidden;
}

/* Imagen dentro del wrapper */
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* recorta sin deformar */
  object-position: center;  /* centra el recorte */
}

/* Importante: evita zoom raro / scroll horizontal */
body {
  overflow-x: hidden;
}

/* --- Responsive: ajusta altura del hero en pantallas pequeñas --- */
@media screen  and (max-width:1280px) {
	.card-overlay-title {
		font-size: 4rem;
	}
}


@media (max-width: 991.98px) {
  .hero-media {
    height: auto;
    max-height: 650px;
  }
}

@media (max-width: 767.98px) {
  .hero-media {
    height: auto;
    max-height: 520px;
  }

  /* Ajusta captions para que no “se salgan” */
  .hero-caption {
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 16px;
    text-align: center;
  }

  .hero-caption2 {
    right: auto;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 16px;
    text-align: center;
  }

  /* Si tu botón imagen se sale, limita ancho */
  .btn-hero-cta img {
    max-width: 78vw;
    height: auto;
  }
}
@media screen  and (max-width:470px) {
	.carousel-control-next-icon, .carousel-control-prev-icon {
	    width: 2rem !important;
    height: 2rem !important;
}
	.hero-caption {
		        width: 31%;
		left: 24%;
        bottom: 35%;
	}
	.hero-caption2 {
		width: 21%;
        left: 91%;
        bottom: 2%;
	}
	.section-title {
		    font-size: 2em;
	}
	.card-overlay-title {
		font-size: 3rem;
	}
}
@media (max-width: 420px) {
  .hero-media {
    height: auto;
    max-height: 460px;
  }

  .btn-hero-cta img {
    max-width: 82vw;
  }
}
/* Fondo más elegante */
.video-modal-content {
  background: #000;
  border-radius: 20px;
  overflow: hidden;
}

/* Contenedor vertical tipo celular */
.video-container {
  position: relative;
  width: 100%;
  max-width: 380px; /* clave: tamaño tipo smartphone */
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

/* Iframe ocupa todo */
.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Ajuste en pantallas grandes */
@media (min-width: 768px) {
  .video-container {
    max-width: 420px;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.footer-links a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767.98px) {
  .hero-slider,
  #heroSlider,
  #testimonios,
  #testimonios .row,
  #testimonios .col-md-6:last-child,
  #testimonios .t3d-clip,
  #owlTestimonios3D,
  #owlTestimonios3D .owl-stage-outer {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .hero-caption,
  .hero-caption2 {
    left: 50% !important;
    right: auto !important;
    bottom: 10% !important;
    width: 100% !important;
    max-width: 100%;
    padding: 0 16px;
    transform: translateX(-50%);
    text-align: center;
  }

  #owlTestimonios3D .owl-item.is-left .t3d-card,
  #owlTestimonios3D .owl-item.is-right .t3d-card {
    transform: none;
  }
}
