:root {
  --azul-oscuro: #072E52;
  --verde-pastel: #B2C995;
  --blanco: #FFFFFF;
}


@font-face {
  font-family: 'Causten';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Causten-Regular.woff2') format('woff2'),
       url('../fonts/Causten-Regular.woff') format('woff'),
       url('../fonts/Causten-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'Causten';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/Causten-SemiBold.woff2') format('woff2'),
       url('../fonts/Causten-SemiBold.woff') format('woff'),
       url('../fonts/Causten-SemiBold.otf') format('opentype');
}
@font-face {
  font-family: 'Causten';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Causten-Bold.woff2') format('woff2'),
       url('../fonts/Causten-Bold.woff') format('woff'),
       url('../fonts/Causten-Bold.otf') format('opentype');
}



* {
  font-family: 'Causten'!important;
}

body, p, .card-text, .container, .card-body {
  font-family: 'Causten'!important;
  font-weight: 400;
}

nav, .btn, strong {
  font-family: 'Causten'!important;
  font-weight: 600;
}

h2, .section-title {
  font-family: 'Causten'!important;
  font-weight: 700;
}

.section-title {
  font-family: 'Causten'!important;
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
  color: inherit;
}


.fas,
.fas:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;     
}

p {
  text-align: justify;
}


html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}


.bg-verde-pastel { background-color: var(--verde-pastel) !important; }
.text-azul-oscuro { color: var(--azul-oscuro) !important; }
.bg-azul-oscuro { background-color: var(--azul-oscuro) !important; color: var(--blanco) !important; }


.btn-circle {
  background-color: var(--azul-oscuro);
  color: white;
  border-radius: 50%;
  padding: 0.75rem;
  font-size: 2rem;
}

.hover-effect:hover {
  background-color: var(--azul-oscuro);
  color: #fff !important;
  transition: all 0.3s ease;
}


.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.carousel-indicators button {
  background-color: #cccccc !important;
  opacity: 0.6;
}
.carousel-indicators .active {
  background-color: var(--azul-oscuro) !important;
  opacity: 1;
}

#heroCarousel.carousel-fade .carousel-item {
  transition: opacity 1.5s ease-in-out;
}


.menu1-section { background-color: var(--verde-pastel); color: var(--azul-oscuro); }
.menu2-section,
.menu4-section { background-color: var(--verde-pastel); color: var(--azul-oscuro); }


#beneficiosCarousel {
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}


#beneficiosCarousel .carousel-inner {
  overflow-x: hidden;
  position: relative;
}


#beneficiosCarousel:hover .carousel-inner {
  overflow: visible;
}

#beneficiosCarousel .carousel-item {
  overflow: visible;
}


#beneficiosCarousel .beneficio-item img {
  width: 120%;
  max-width: 750px;
  height: auto;
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}


#beneficiosCarousel .beneficio-item img:hover {
  transform: scale(1.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  z-index: 20;
}


@media (max-width: 767.98px) {
  #beneficiosCarousel .beneficio-item {
    align-items: center !important;
  }
  #beneficiosCarousel .beneficio-item img {
    width: 80%;
    max-width: none;
    margin: 0 auto;
  }
}

#beneficiosCarousel .carousel-control-prev,
#beneficiosCarousel .carousel-control-next {
  z-index: 10;
  visibility: visible;
  opacity: 1;
}

#beneficiosCarousel .carousel-control-prev {
  left: 0;
  transform: translate(-2rem, -50%);
  width: 3rem;
  height: 3rem;
}

#beneficiosCarousel .carousel-control-next {
  right: 0;
  transform: translate(2rem, -50%);
  width: 3rem;
  height: 3rem;
}


.site-footer { background-color: #222; padding: 0.5rem 0; }
.footer-image { max-width: 230px; width: 100%; height: auto; }


@media (max-width: 767.98px) {
  #beneficiosCarousel .beneficio-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 1rem;
  }
  #beneficiosCarousel .beneficio-item img {
    width: 95%;       
    max-width: 350px; 
    margin: 0 auto 1rem;
  }
  #beneficiosCarousel .beneficio-item > div {
    padding: 0 1rem;
  }
}


#beneficiosCarousel .beneficio-item {
  justify-content: center;
}


#beneficiosCarousel .beneficio-item img {
  width: 1200px;    
  height: auto;    
}



#beneficiosCarousel .beneficio-item img:active,
#beneficiosCarousel .beneficio-item img:focus {
  transform: scale(1.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  z-index: 20;
}


#beneficiosCarousel .beneficio-item img {
  outline: none;
}


#beneficiosCarousel .carousel-indicators {
  bottom: -20px;
}

#menu3 .carousel-inner,
#menu3 .carousel-item {
  overflow: visible;     
}


.beneficio-item {
  overflow: visible;
  position: relative;
}

.beneficio-item img {
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.beneficio-item:hover img {
  transform: translateY(-8px);                                 
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));         
  z-index: 5;                                                   
}

#beneficiosCarousel::-webkit-scrollbar {
  display: none;
}


#beneficiosCarousel {
  scrollbar-width: none;       
  -ms-overflow-style: none;   
}

.icon-text-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.icon-text-row .icon {
  font-size: 2.1rem;
  color: var(--azul-oscuro);
  min-width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}
.icon-text-row .icon + .icon-title {
  margin-top: 0;
}
.icon-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--azul-oscuro);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.icon-text-row p {
  margin-bottom: 0;
}

#menu4 .d-flex.align-items-start.gap-3 {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
#menu4 .d-flex .fa-3x {
  font-size: 2.3rem;
  min-width: 2.7rem;
  color: var(--azul-oscuro);
  margin-top: 0.15em;
  display: flex;
  align-items: center;
  justify-content: center;
}
#menu4 h5.fw-bold {
  font-size: 1.22rem;
  font-weight: 600 !important;
  color: var(--azul-oscuro);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
#menu4 p {
  margin-bottom: 0;
  font-size: 1rem;
}
@media (max-width: 767.98px) {
  #menu4 .d-flex.align-items-start.gap-3 {
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }
  #menu4 .d-flex .fa-3x {
    font-size: 2rem;
    min-width: 2.2rem;
  }
  #menu4 h5.fw-bold {
    font-size: 1.08rem;
  }
}

.tablet-sim {
  background: #f5f5f5;
  border-radius: 2.2rem;
  border: 8px solid #111;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  max-width: 900px;
  width: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.2rem 3.5rem;
  position: relative;
}


.tablet-camera {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 14px;
  background: #222;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.tablet-camera-dot {
  width: 8px;
  height: 8px;
  background: #444;
  border-radius: 50%;
  margin-right: 6px;
}
.tablet-camera-dot:last-child {
  margin-right: 0;
}

@media (max-width: 1000px) {
  .tablet-sim {
    max-width: 98vw;
    padding: 1.2rem 0.7rem;
    border-width: 5px;
    border-radius: 1.2rem;
  }
  .tablet-camera {
    top: 10px;
    width: 32px;
    height: 10px;
  }
  .tablet-camera-dot {
    width: 6px;
    height: 6px;
  }
}

.menu5-section ul {
  margin-bottom: 0.7rem;
}
.menu5-section li {
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 0.2rem;
}
.menu5-section h3 {
  color: #1a7c3e;
  font-size: 1.5rem;
  font-weight: bold;
}

#slogan-section {
  background-color: var(--verde-pastel) !important;
}
#slogan-section img {
  background: transparent;
}

.preguntas-list li {
  font-size: 1.13rem;
  color: #222;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  border-radius: 0.7rem;
  padding: 0.45rem 0.9rem 0.45rem 0.5rem;
  box-shadow: 0 1px 6px 0 rgba(60,60,60,0.04);
  transition: background 0.2s;
}
.preguntas-list li:hover {
  background: #eaf7ed;
}
.preguntas-list i {
  min-width: 1.3em;
  font-size: 1.1em;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .preguntas-list li {
    font-size: 1rem;
    padding: 0.4rem 0.6rem 0.4rem 0.4rem;
  }
}


@media (max-width: 600px) {
  .tablet-sim {
    max-width: 430px;
    min-width: 320px;
    width: 100vw;
    height: 820px; 
    border-radius: 2.8rem;
    border-width: 8px;
    padding: 2.2rem 1.2rem 2.2rem 1.2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .preguntas-scroll {
    overflow-y: auto;
    max-height: 600px;
    width: 100%;
    padding-right: 2px;
    margin-bottom: 0.5rem;
  }
  .iphone-notch {
    width: 120px;
    height: 28px;
    border-radius: 0 0 28px 28px/0 0 22px 22px;
  }
}


.iphone-notch { display: none; }

.tablet-note {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  font-size: 0.98rem;
  color: #555;
  background: rgba(255,255,255,0.92);
  border-radius: 0.7rem;
  padding: 0.18rem 1.1rem;
  box-shadow: 0 1px 6px 0 rgba(60,60,60,0.04);
  font-style: italic;
  letter-spacing: 0.01em;
  z-index: 3;
}
@media (max-width: 900px) {
  .tablet-note {
    font-size: 0.92rem;
    padding: 0.13rem 0.7rem;
    bottom: 7px;
  }
}

.tablet-note-outer {
  margin-top: 0.7rem;
  font-size: 1.01rem;
  color: #555;
  background: rgba(255,255,255,0.97);
  border-radius: 0.7rem;
  padding: 0.18rem 1.1rem;
  box-shadow: 0 1px 6px 0 rgba(60,60,60,0.04);
  font-style: italic;
  letter-spacing: 0.01em;
  display: inline-block;
}
@media (max-width: 900px) {
  .tablet-note-outer {
    font-size: 0.95rem;
    padding: 0.13rem 0.7rem;
    margin-top: 0.4rem;
  }
}

/* Flechas personalizadas para el carousel de beneficios */
#beneficiosCarousel .custom-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid #21823b;
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(33,130,59,0.13);
  z-index: 20;
  transition: background 0.2s, box-shadow 0.2s, border 0.2s;
  color: #21823b;
  opacity: 0.98;
}
#beneficiosCarousel .custom-carousel-arrow:hover {
  background: #21823b;
  color: #fff;
  border-color: #21823b;
}
#beneficiosCarousel .custom-carousel-arrow:focus {
  outline: 2px solid #21823b;
}
#beneficiosCarousel .carousel-control-prev.custom-carousel-arrow {
  left: 1.2rem;
}
#beneficiosCarousel .carousel-control-next.custom-carousel-arrow {
  right: 1.2rem;
}
@media (max-width: 600px) {
  #beneficiosCarousel .custom-carousel-arrow {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;
  }
  #beneficiosCarousel .carousel-control-prev.custom-carousel-arrow {
    left: 0.2rem;
    right: auto; /* Asegura que solo left esté activo */
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #beneficiosCarousel .carousel-control-next.custom-carousel-arrow {
    right: 0.2rem;
    left: auto; /* Asegura que solo right esté activo */
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

#beneficiosCarousel .custom-carousel-arrow span.fa-solid {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome', sans-serif !important;
  font-weight: 900 !important;
  font-style: normal;
  font-size: 2rem !important;
  color: #21823b !important;
  line-height: 1;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
#beneficiosCarousel .custom-carousel-arrow:hover span.fa-solid {
  color: #fff !important;
}
