.navbar {
      background: transparent !important;
      position: absolute;
      width: 100%;
      top: 0;
      z-index: 1000;
    }
    .navbar .nav-link {
      color: #fff !important;
      font-weight: 500;
      margin-left: 15px;
    }
    .navbar-brand {
      color: #fff !important;
      font-weight: bold;
    }
    .btn-danger {
      background-color: #d40000;
      border: none;
      border-radius: 30px;
    }
    .btn-danger:hover {
      background-color: #a50000;
      
    }


    /* HERO */
    .hero {
      
      background: url("Recursos/hero-background.jpg") center/cover no-repeat;
      color: #fff;
      padding: 140px 0;
      height: 100vh; /* cubrir pantalla completa */
      position: relative;
      display: flex;
      align-items: center;
      min-height: 100vh;
      padding: 0;
    }

    /* Nueva sección para el after del hero */
    .hero-after {
      width: 100%;
      height: auto;
      padding: 24px 0;
      background: #d12323; /* se mantiene el color ya usado */
      /* Si quieres mantener la superposición, puedes usar margin-top: -1px; */
      margin-top: -1px;
    }

    /* Iconos y tipografía en after hero */
    .hero-after .after-feature-icon {
      font-size: 2rem;
      line-height: 1;
      color: #fff;
      display: inline-block;
    }
    .hero-after h6 { margin: .25rem 0; }
    .hero-after p  { opacity: .9; }

    /* SECCIONES */
    section {
      padding: 80px 0;
    }

    .section-margin {
      margin-left: 3vw;
      margin-right: 3vw;
    }



    /* QUIÉNES SOMOS */
    .about,
    #about-services {
      background: url("Recursos/background-nosotros-hero.png") center/cover no-repeat;
    }

    .about img {
      border-radius: 15px;
      max-width: 100%;
    }

    /* SERVICIOS */
   .service-card {
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 32px; /* aumentado el border radius */
  }
  .service-card img {
    width: 100%;
    object-fit: cover; /* la imagen se recorta sin deformarse */
  }
  .service-icon i {
    display: inline-block;
  }

    /* PROCESO */
    .process {
    background: #fff;
    position: relative;
  }
  .object-fit-cover {
    object-fit: cover;
  }
  .steps-img {
    max-width: 50px;   /* ancho del png vertical */
    height: auto;
  }
  #process p {
    margin-bottom: 1.5rem;
  }
    /*textimonio*/
  
  
  #testimonials .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px; /* altura mínima uniforme */
  }
  #testimonials p {
    font-size: 0.95rem;
    color: #444;
  }
  .testimonial-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    background: linear-gradient(to right, #d32f2f, #b71c1c);
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 6px 10px;
    border-bottom-left-radius: 6px;
  }


    /* PRECIOS */
    
 





    #planes {
    min-height: 100vh; /* altura de pantalla completa */
    background: url("Recursos/fondoplanes.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
  }
  .plan-card {
    background: #fff;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* que ocupe el alto de la columna */
  }
  .plan-card:hover {
    transform: scale(1.05); /* efecto agrandado */
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  }
  .plan-card h2 {
    font-size: 5rem; /* 2.5rem x 2 */
    color: #0066ff;
  }
  .plan-card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    padding-left: 0.75rem;   /* indent para el punto azul */
    margin-bottom: 1rem;     /* más separación entre puntos */
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .plan-card ul li i {
    margin-right: 0.5rem;
    flex-shrink: 0;
  }
  .plan-card .btn {
    background: #0066ff;
    border: none;
  }
  .plan-card .btn:hover {
    background: #004bcc;
  }



    



    /* CONTACTO */
    #contact {
      background: #2A3A49; /* antes: #1c1c1c */
      color: #fff;
      position: relative;
    }
    

    footer {
      background: #111;
      padding: 20px 0;
      color: #bbb;
      text-align: center;
    }



    /*nosotros*/

    
    /* HERO */
    #nosotros {
      background: url("Recursos/nosotros-hero-background.jpg") center/cover no-repeat;
    }
    .hero-nosotros {
      color: #fff;
      padding: 140px 0;
      height: 100vh; /* cubrir pantalla completa */
      position: relative;
      background: url("Recursos/nosotros-hero-background.jpg") center/cover no-repeat;
    }

    .hero-nosotros .container {
    
      position: relative;
      z-index: 2;
    }

    /* VALORES */
     #valores .card {
    border-radius: 12px;
    padding: 20px;
    min-height: 280px;
    transition: all 0.3s ease;
  }
  #valores .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  #valores .carousel-control-prev,
  #valores .carousel-control-next {
    width: 5%;
  }

  /*perfil*/

   #perfil .carousel-control-prev,
  #perfil .carousel-control-next {
    width: 5%;
  }

  /* Sobrescribe el container de Bootstrap para agregar margen horizontal */
.container {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 75vw !important;
  max-width: 100% !important;
}

/* Quita el margen izquierdo solo al logo */
.navbar .navbar-brand {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Ajusta el container de la navbar para que ocupe todo el ancho */
.navbar > .container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Aplica el margen solo a los elementos a la derecha de la navbar */
.navbar .collapse,
.navbar .navbar-collapse {
  margin-right: 8vw;
}

/* Botones de la navbar en negrita */
.navbar .btn {
  font-weight: bold;
}

/* Botón de Iniciar Sesión: fondo blanco, texto rojo, sin borde */
.navbar .btn.btn-danger[href="#login"] {
  background: #fff !important;
  color: #d40000 !important;
  border: none !important;
}

.navbar .btn.btn-danger[href="#login"]:hover,
.navbar .btn.btn-danger[href="#login"]:focus {
  background: #f8d7da !important;
  color: #a50000 !important;
  border-color: #a50000 !important;
}

.saber-mas-hero {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 10;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.saber-mas-hero-link {
  position: absolute;
  right: 0;
  left: auto;
  bottom: 2vw;
  z-index: 10;
  background: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  box-shadow: none;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
  /* Bootstrap container responsive margin */
  margin-right: var(--bs-gutter-x, 1.5rem);
}

.saber-mas-hero-link-2 {

  right: 0;
  left: auto;
  bottom: 2vw;
  z-index: 10;
  background: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  box-shadow: none;
  
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
  /* Bootstrap container responsive margin */
  
}

@media (min-width: 576px) {
  .saber-mas-hero-link {
    margin-right: calc((100vw - 540px) / 2);
  }
}
@media (min-width: 768px) {
  .saber-mas-hero-link {
    margin-right: calc((100vw - 720px) / 2);
  }
}
@media (min-width: 992px) {
  .saber-mas-hero-link {
    margin-right: calc((100vw - 960px) / 2);
  }
}
@media (min-width: 1200px) {
  .saber-mas-hero-link {
    margin-right: calc((100vw - 1140px) / 2);
  }
}
@media (min-width: 1400px) {
  .saber-mas-hero-link {
    margin-right: calc((100vw - 1320px) / 2);
  }
}
@media (max-width: 575.98px) {
  .saber-mas-hero-link {
    right: 8px;
    margin-right: 0;
    bottom: 8px;
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: #fff;
}

.process .col-md-5,
.process .col-md-5 img,
.process-img-no-margin {
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.process .col-md-5 {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.process-img-no-margin {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.process .col-md-7 h2 {
  margin-top: 3.5rem;
  margin-right: 3vw;
}

#funciona {
  background: #C40111;
  color: #fff;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 0;
  display: flex;
  align-items: stretch;
}

#funciona .container-fluid,
#funciona .row {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  height: 100%;
}

#funciona .col-md-6.p-0,
#funciona .col-md-6 {
  padding-left: 0 !important;
  padding-right: 0 !important;
  height: 100%;
  min-height: 0;
}

#funciona .col-md-6.d-flex.align-items-center {
  min-height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
}

#funciona .p-4.w-100 {
  width: 100%;
  /* Centra verticalmente el contenido respecto a la imagen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.funciona-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 0;
  max-height: none;
}

/* Ajusta la altura de la sección al alto real de la imagen */
#funciona .row.g-0 {
  min-height: 600px; /* Ajusta este valor al alto real de tu imagen */
  align-items: center;
}

@media (max-width: 991.98px) {
  #funciona .row.g-0 {
    min-height: 320px;
  }
  .funciona-img-cover {
    min-height: 180px;
  }
}

/*servicios page*/

.hero-servicios {
      
      background: url("Recursos/fondoheroservicios.jpg") center/cover no-repeat !important;
      color: #fff;
      padding: 140px 0;
      height: 100vh; /* cubrir pantalla completa */
      position: relative;
      display: flex;
      align-items: center;
      min-height: 100vh;
      padding: 0;
    }


    .service-img-box {
  position: relative;
  display: inline-block;
}

.service-img-box img {
  position: relative;
  z-index: 2;
}


/* Puntos de lista con círculos */
.list-group-item {
  border: none;
  display: flex;
  align-items: center;
}

.circle {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid #c00;
  border-radius: 50%;
  margin-right: 10px;
}

/* Números en "Cómo funciona" */
.numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78.75px;      /* 52.5px * 1.5 */
  height: 78.75px;
  min-width: 78.75px;
  min-height: 78.75px;
  max-width: 78.75px;
  max-height: 78.75px;
  background: white;
  color: #c00;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  font-size: 40.5px;    /* 27px * 1.5 */
  line-height: 1;
  flex-shrink: 0;
}

/* Carousel arrows más grandes */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  width: 3rem;
  height: 3rem;
  color: #d12323;
}

/* Carousel de servicios */
.carousel-service-img {
  max-width: 504px; /* 420px + 20% */
  width: 120%;
  height: auto;
  min-height: unset;
  max-height: unset;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  margin-bottom: 1.5rem;
  margin-left: -10%; /* Center the image visually if needed */
}

.carousel-servicios-arrow {
  width: 3.5rem;
  height: 3.5rem;
  background: #d40000;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

#carouselServicios .carousel-control-prev,
#carouselServicios .carousel-control-next {
  width: 3.5rem;
  height: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  z-index: 2;
}

#carouselServicios .carousel-control-prev {
  left: -2.5rem;
}

#carouselServicios .carousel-control-next {
  right: -2.5rem;
}

@media (max-width: 1200px) {
  #carouselServicios .carousel-control-prev {
    left: -1.2rem;
  }
  #carouselServicios .carousel-control-next {
    right: -1.2rem;
  }
}

@media (max-width: 991.98px) {
  #carouselServicios .carousel-control-prev,
  #carouselServicios .carousel-control-next {
    position: static;
    margin-top: 1.5rem;
    transform: none;
    display: inline-flex;
  }
  #carouselServicios .carousel-control-prev {
    margin-right: 1rem;
  }
  #carouselServicios .carousel-control-next {
    margin-left: 1rem;
  }
  #carouselServicios .carousel-inner {
    text-align: center;
  }
}

/* Carousel exclusivo de servicios */
#carouselServicios .carousel-service-img {
  max-width: 504px; /* 420px + 20% */
  width: 120%;
  height: auto; /* Mostrar imagen a su tamaño original */
  min-height: unset;
  max-height: unset;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  margin-bottom: 1.5rem;
  margin-left: -10%; /* Center the image visually if needed */
}

#carouselServicios .carousel-servicios-arrow {
  width: 3.5rem;
  height: 3.5rem;
  background: #d40000;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

#carouselServicios .carousel-control-prev,
#carouselServicios .carousel-control-next {
  width: 3.5rem;
  height: 3.5rem;
}

#carouselServicios .carousel-control-prev-icon,
#carouselServicios .carousel-control-next-icon {
  background: none !important;
  background-image: none !important;
  width: 2rem;
  height: 2rem;
  position: relative;
  display: inline-block;
}

#carouselServicios .carousel-control-prev-icon::after,
#carouselServicios .carousel-control-next-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  border: solid #fff;
  border-width: 0 0.35em 0.35em 0;
  padding: 0.2em;
  background: none;
  display: block;
  transform: translate(-50%, -50%);
}

#carouselServicios .carousel-control-prev-icon::after {
  transform: translate(-50%, -50%) rotate(135deg);
}

#carouselServicios .carousel-control-next-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.carousel-indicators [data-bs-target] {
  background-color: #d40000;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 6px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #a50000;
}

@media (max-width: 991.98px) {
  .carousel-service-img {
    max-width: 100%;
    height: 220px;
  }
}

@media (max-width: 767.98px) {
  .carousel-service-img {
    max-width: 100%;
    height: 160px;
  }
}
  

@media (max-width: 767.98px) {
  #carouselServicios .carousel-service-img {
    height: auto;
    min-height: unset;
    max-height: unset;
  }
}

#reserva {
  background: url("Recursos/fondoreserva.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
}
#reserva .container {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 991.98px) {
  #reserva {
    min-height: 320px;
  }
  #reserva .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.funciona-title {
  font-size: 2.8rem;
  line-height: 1.1;
}
@media (max-width: 991.98px) {
  .funciona-title {
    font-size: 2.1rem;
  }
}
@media (max-width: 576px) {
  .funciona-title {
    font-size: 1.5rem;
  }
}

#funciona .list-unstyled > li {
  margin-bottom: 2.5rem;
}

#carouselServicios {
  --bs-carousel-transition-duration: .8s;
}

#beneficios {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#beneficios .container,
#beneficios .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#beneficios .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#beneficios .col-img-beneficios {
  padding: 0 !important;
  margin: 0 !important;
}

#beneficios .beneficios-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: 0;
}

#beneficios .beneficios-left {
  padding-left: calc((100vw - 75vw) / 2) !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra verticalmente el contenido */
}

.site-footer {
  background: #0f0f10;
  color: #bbb;
}
.site-footer .footer-logo {
  height: 48px;
  width: auto;
  display: inline-block;
}
.site-footer .footer-link {
  color: #bbb;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.site-footer .footer-link:hover {
  color: #fff;
  text-decoration: none;
}
.site-footer .footer-social {
  color: #bbb;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: color .2s ease, background-color .2s ease;
}
.site-footer .footer-social:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Contacto: tarjetas y campos sobre fondo oscuro */
#contact .contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

#contact .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d40000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Campos en dark */
#contact .form-label { color: #ddd; }
#contact .form-check-label { color: #ccc; }

#contact .input-group-text {
  background: #1f2124;
  border: 1px solid #2a2c30;
  color: #bbb;
}

#contact .form-control, 
#contact .form-select, 
#contact textarea.form-control {
  background: #1a1c1f;
  border: 1px solid #2a2c30;
  color: #fff;
}

#contact .form-control::placeholder,
#contact textarea.form-control::placeholder {
  color: #8a8f98;
}

#contact .form-control:focus,
#contact .form-select:focus,
#contact textarea.form-control:focus {
  background: #1a1c1f;
  color: #fff;
  border-color: #d40000;
  box-shadow: 0 0 0 .2rem rgba(212,0,0,.15);
}

/* Ajustes de validación */
#contact .form-control.is-invalid,
#contact .form-select.is-invalid,
#contact .was-validated .form-control:invalid,
#contact .was-validated .form-select:invalid {
  border-color: #dc3545;
}

#contact .form-control.is-valid,
#contact .form-select.is-valid,
#contact .was-validated .form-control:valid,
#contact .was-validated .form-select:valid {
  border-color: #198754;
}

/* Botones sobre fondo oscuro */
#contact .btn-outline-light {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
#contact .btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* Margen derecho consistente con el container (75vw) */
.right-gutter {
  padding-right: calc((100vw - 75vw) / 2) !important;
}
@media (max-width: 575.98px) {
  .right-gutter { padding-right: 1rem !important; }
}

/* Staff: aumenta un poco el margen izquierdo del texto */
.staff-text {
  padding-left: 1.5rem;
  padding-top: 1.5rem; /* NUEVO: empuja el contenido hacia el centro en móvil */
}
@media (min-width: 992px) {
  .staff-text { 
    padding-left: 2.5rem; 
    padding-top: 10vh; /* NUEVO: centra visualmente en desktop */
  }
}
@media (min-width: 1400px) {
  .staff-text { 
    padding-left: 3rem; 
    padding-top: 12vh; /* NUEVO: un poco más en pantallas muy grandes */
  }
}

/* Carrusel Valores: escala suave en la tarjeta central */
#valoresCarousel .card {
  transition: transform .3s ease, box-shadow .3s ease;
}
#valoresCarousel .is-center .card {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Botones de carrusel reutilizables (mismo estilo que Servicios) */
.carousel-servicios-arrow {
  width: 3.5rem;
  height: 3.5rem;
  background: #d40000;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

/* Iconos de flecha dentro del botón reutilizable */
.carousel-servicios-arrow .carousel-control-prev-icon,
.carousel-servicios-arrow .carousel-control-next-icon {
  background: none !important;
  background-image: none !important;
  width: 2rem;
  height: 2rem;
  position: relative;
}
.carousel-servicios-arrow .carousel-control-prev-icon::after,
.carousel-servicios-arrow .carousel-control-next-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  border: solid #fff;
  border-width: 0 0.35em 0.35em 0;
  padding: 0.2em;
  transform: translate(-50%, -50%);
}
.carousel-servicios-arrow .carousel-control-prev-icon::after { transform: translate(-50%, -50%) rotate(135deg); }
.carousel-servicios-arrow .carousel-control-next-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Valores: controles fuera del margen y visibles */
#valoresCarousel { overflow: visible; }
#valoresCarousel .carousel-control-prev,
#valoresCarousel .carousel-control-next {
  width: 3.5rem;
  height: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  z-index: 2;
}
#valoresCarousel .carousel-control-prev { left: -2.5rem; }
#valoresCarousel .carousel-control-next { right: -2.5rem; }

/* Indicadores debajo del carrusel */
#valoresCarousel .carousel-indicators {
  position: static;
  margin-top: 1rem; /* separación con las tarjetas */
}
#valoresCarousel .carousel-indicators [data-bs-target] {
  background-color: #d40000;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: .6;
}
#valoresCarousel .carousel-indicators .active {
  opacity: 1;
  background-color: #a50000;
}

/* Responsivo: en pantallas medianas, acércalos al borde; en móviles, colócalos debajo */
@media (max-width: 1200px) {
  #valoresCarousel .carousel-control-prev { left: -1.2rem; }
  #valoresCarousel .carousel-control-next { right: -1.2rem; }
}
@media (max-width: 991.98px) {
  #valoresCarousel .carousel-control-prev,
  #valoresCarousel .carousel-control-next {
    position: static;
    transform: none;
    display: inline-flex;
    margin-top: 1rem;
  }
  #valoresCarousel .carousel-inner {
    text-align: center;
  }
}

/* Padding general para carruseles (Servicios, Perfil, Valores) */
#carouselServicios,
#perfilCarousel,
#valoresCarousel {
  padding: 1rem;
}
@media (min-width: 768px) {
  #carouselServicios,
  #perfilCarousel,
  #valoresCarousel {
    padding: 1.5rem;
  }
}
@media (min-width: 1200px) {
  #carouselServicios,
  #perfilCarousel,
  #valoresCarousel {
    padding: 2rem;
  }
}

/* Padding interno de la tarjeta dentro de los carruseles */
#carouselServicios .card,
#perfilCarousel .card,
#valoresCarousel .card {
  padding: 1rem; /* extra al padding del .card-body existente */
}

/* Padding lateral del contenedor de tarjetas (separación de flechas) */
#valoresCarousel .carousel-item > .row,
#carouselServicios .carousel-item > .row {
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 992px) {
  #valoresCarousel .carousel-item > .row,
  #carouselServicios .carousel-item > .row {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1400px) {
  #valoresCarousel .carousel-item > .row,
  #carouselServicios .carousel-item > .row {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* Perfil: padding del contenido y flechas por fuera como en Valores */
#perfilCarousel { overflow: visible; }

#perfilCarousel .carousel-item > .row {
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (min-width: 992px) {
  #perfilCarousel .carousel-item > .row {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (min-width: 1400px) {
  #perfilCarousel .carousel-item > .row {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* Reutiliza el botón circular .carousel-servicios-arrow y coloca las flechas fuera */
#perfilCarousel .carousel-control-prev,
#perfilCarousel .carousel-control-next {
  width: 3.5rem;
  height: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  z-index: 2;
}

#perfilCarousel .carousel-control-prev { left: -2.5rem; }
#perfilCarousel .carousel-control-next { right: -2.5rem; }

@media (max-width: 1200px) {
  #perfilCarousel .carousel-control-prev { left: -1.2rem; }
  #perfilCarousel .carousel-control-next { right: -1.2rem; }
}
@media (max-width: 991.98px) {
  #perfilCarousel .carousel-control-prev,
  #perfilCarousel .carousel-control-next {
    position: static;
    transform: none;
    display: inline-flex;
    margin-top: 1rem;
  }
  #perfilCarousel .carousel-inner {
    text-align: center;
  }
}

/* Perfil: fondo del bloque */
#perfil {
  background: url("Recursos/fondostaff.jpg") center/cover no-repeat;
}

/* Hero Nosotros: tamaños y espaciados */
.hero-nosotros .hero-title {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1rem; /* separación con el párrafo */
}

.hero-nosotros .outline-text {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff; /* soporte adicional */
}

.hero-nosotros .hero-lead {
  margin-bottom: 1.25rem; /* separación extra con el botón */
}

.hero-nosotros .saber-mas-hero-link-2 {
  margin-top: 1.25rem; /* más espacio respecto al párrafo */
}

/* Fondo para la sección de valores */
#valores {
  background-image: url("Recursos/fondovalores.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* VALORES: forzar texto blanco dentro de las tarjetas y mejorar contraste */
#valores .card.text-dark,
#valores .card .text-dark {
  color: #fff !important;
}
#valores .card h5,
#valores .card p,
#valores .card .small {
  color: #fff !important;
}
#valores .card {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
}

/* CONTACTO: forzar texto blanco sobre fondo oscuro */
#contact .text-dark,
#contact .card.text-dark {
  color: #fff !important;
}
#contact h1, 
#contact h2, 
#contact h3, 
#contact h4, 
#contact h5, 
#contact h6, 
#contact p, 
#contact .small {
  color: #fff;
}

/* Valores: botones dentro del col derecho con margen desde el borde (desktop) */
@media (min-width: 992px) {
  #valores .col-lg-7 .carousel-control-prev,
  #valores .col-lg-7 .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  #valores .col-lg-7 .carousel-control-prev {
    left: 1.5rem; /* margen izquierdo dentro del col derecho */
  }
  #valores .col-lg-7 .carousel-control-next {
    right: 1.5rem; /* separación desde el borde derecho */
  }
}

/* Valores: padding derecho en la columna izquierda */
#valores .valores-left {
  padding-right: 1rem;
}
@media (min-width: 768px) {
  #valores .valores-left {
    padding-right: 1.25rem;
  }
}
@media (min-width: 992px) {
  #valores .valores-left {
    padding-right: 2rem;
  }
}
@media (min-width: 1400px) {
  #valores .valores-left {
    padding-right: 3rem;
  }
}

/* Valores: centra contenido de las tarjetas (vertical y horizontal) */
#valoresCarousel .card {
  display: flex;
}
#valoresCarousel .card .card-body {
  display: flex;
  flex: 1 1 auto;
  align-items: center;        /* horizontal */
  justify-content: center;    /* vertical */
  flex-direction: column;
  text-align: center;
}

/* Iconos Bootstrap en valores: +30% */
#valoresCarousel i.bi.fs-1 {
  display: inline-block;
  transform: scale(1.3);
  transform-origin: center;
}

/* Icono imagen en tarjetas de valores (mismo tamaño que fs-1, +30%) */
#valoresCarousel .icono-valores {
  width: 3.25rem;   /* antes: 2.5rem */
  height: 3.25rem;  /* antes: 2.5rem */
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}






