body,
html {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--primary-text);
  background-color: #fbfbfb;
  overflow-x: hidden;
  scroll-padding-top: 100px;
}

:root {
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --primary-text: #403b32;
  --primary: #333333;
  --primary-soft: #333333;
  --primary-bg: #e1b423;
  --primary-bg-hover: #cf9d55;
  --surface-overlay: rgba(207, 157, 87, 0.5);
  --surface-overlay-soft: rgba(235, 170, 80, 0.4);
  --radius-md: 0.5rem;
  --button-padding: 0.5rem 1rem;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-card-opaco {
  background: var(--primary-soft);
}

/* Estilo botones principales */
.button-1,
.button-2 {
  background-color: var(--primary-bg);
  color: var(--primary);
  padding: var(--button-padding);
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
}

.button-1:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.button-2:hover {
  background-color: var(--primary-bg-hover);
  color: #1e3036;
}

/* Fin estilos botones principales */

/* Estilo secciones oscuras */
.background-strong {
  background-color: #333333;
}
.background-light {
  background-color: #fff;
  border-radius: 5px;
}

/* Fin estilo secciones oscuras */

.layout_padding {
  padding: 45px 0;
}

section {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 900;
}

h1 {
  font-size: 2.583rem;
}

h2 {
  font-size: 2.083rem;
}

h3 {
  font-size: 1.583rem;
}

h4 {
  font-size: 1.333rem;
}

h5 {
  font-size: 1.083rem;
}

h6 {
  font-size: 0.917rem;
}

a,
a:hover,
a:focus {
  text-decoration: none;
  cursor: pointer;
}

a:hover,
a:focus {
  color: initial;
}

ul li {
  font-size: 1.08em;
}

.btn,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.slider_section,
.slider_section_ {
  min-height: 100vh;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}

/* Header común para páginas internas (300px) */
.slider_section_header {
  min-height: 300px;
  margin-top: 60px;
}

.slider_section_header .img_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider_section_header .img_container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(251, 251, 251, 1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.slider_section_header .img-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider_section_header .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 16s ease-in-out infinite alternate;
  -webkit-animation: hero-zoom 16s ease-in-out infinite alternate;
}

.slider_section_header.slider_section_ .detail-box,
.slider_section_header .detail-box {
  position: absolute;
  inset: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider_section_header .detail-box .inner_detail-box {
  margin-top: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slider_section_header .detail-box .inner_detail-box h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.slider_section_header .detail-box .inner_detail-box .fx-subtitle {
  position: relative;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.4);
}

/* Header split layout (50% - 50%) */
.slider_section_header.slider_section_ .detail-box-split,
.slider_section_header .detail-box-split {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  max-width: none;
  margin: 0;
}

.slider_section_header .detail-box-split .inner_detail-box {
  flex: 1;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider_section_header .detail-box-split .inner_detail-box-left {
  align-items: flex-start;
}

.slider_section_header .detail-box-split .inner_detail-box-left h1,
.slider_section_header .detail-box-split .inner_detail-box-left .fx-subtitle {
  text-align: left;
  margin: 0;
}

.slider_section_header .detail-box-split .inner_detail-box-left h1 {
  margin-bottom: 0.5rem;
}

.slider_section_header .detail-box-split .inner_detail-box-right {
  align-items: center;
}

/* Botón Hero CTA */
.button-hero {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary-bg);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.button-hero:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Responsive: Tablets */
@media (max-width: 992px) {
  .slider_section_header.slider_section_ .detail-box-split,
  .slider_section_header .detail-box-split {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .slider_section_header .detail-box .inner_detail-box h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  }

  .button-hero {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }
}

/* Responsive: Móviles */
@media (max-width: 768px) {
  .slider_section_header {
    height: 320px;
    min-height: 320px;
  }

  .slider_section_header.slider_section_ .detail-box-split,
  .slider_section_header .detail-box-split {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    padding: 0 1rem;
  }

  .slider_section_header .detail-box-split .inner_detail-box {
    flex: none;
    width: 100%;
  }

  .slider_section_header .detail-box-split .inner_detail-box-left {
    align-items: center;
  }

  .slider_section_header .detail-box-split .inner_detail-box-left h1,
  .slider_section_header .detail-box-split .inner_detail-box-left .fx-subtitle {
    text-align: center;
  }

  .slider_section_header .detail-box-split .inner_detail-box-right {
    width: auto;
  }
  
  .slider_section_header .detail-box .inner_detail-box h1 {
    font-size: 1.75rem;
  }
  
  .slider_section_header .detail-box .inner_detail-box .fx-subtitle {
    font-size: 1rem;
  }

  .button-hero {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Responsive: Móviles pequeños */
@media (max-width: 480px) {
  .slider_section_header {
    height: 300px;
    min-height: 300px;
  }

  .slider_section_header.slider_section_ .detail-box-split,
  .slider_section_header .detail-box-split {
    gap: 1rem;
    padding: 0 0.75rem;
  }

  .slider_section_header .detail-box .inner_detail-box h1 {
    font-size: 1.5rem;
  }

  .slider_section_header .detail-box .inner_detail-box .fx-subtitle {
    font-size: 0.9rem;
  }

  .button-hero {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
  }
}

.responsive-img,
.img-logo {
  max-width: 100%;
  height: auto;
}

.img-logo {
  max-height: 40px;
}

.slider_section .img-box,
.slider_section_ .img-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-zoom-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.slider_section #customCarousel1 .hero-zoom-image,
.slider_section_ #customCarousel1 .hero-zoom-image {
  animation: hero-zoom 16s ease-in-out infinite alternate;
  -webkit-animation: hero-zoom 16s ease-in-out infinite alternate;
}

/* Estilo imagen ceremonia */
ul.white-star {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
}

ul.white-star li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  min-height: 180px;
  padding: 1.5rem;
  text-align: center;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: background-color 0.35s ease, border-color 0.35s ease,
    color 0.35s ease, box-shadow 0.35s ease, opacity 0.7s ease,
    transform 0.7s ease;
}

ul.white-star li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

ul.white-star li::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
}

ul.white-star li:hover {
  background: #ffffff;
  color: var(--primary-text);
  border-color: var(--primary-bg);
}

ul.white-star li:hover::after {
  left: 140%;
  transition: left 0.8s ease;
}

ul.white-star li:hover strong {
  color: var(--primary);
}

/* fin estilo imagen ceremonia */

.slider_section #customCarousel1,
.slider_section_ #customCarousel1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-home.hero-intro-pending .slider_section #customCarousel1 {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.page-home.hero-intro-pending .slider_section.is-intro-background-visible #customCarousel1 {
  opacity: 1;
}

.slider_section #customCarousel1 .carousel-inner,
.slider_section #customCarousel1 .carousel-item,
.slider_section #customCarousel1 .img_container,
.slider_section_ #customCarousel1 .carousel-inner,
.slider_section_ #customCarousel1 .carousel-item,
.slider_section_ #customCarousel1 .img_container {
  height: 100%;
}

.slider_section #customCarousel1 .img_container,
.slider_section_ #customCarousel1 .img_container {
  position: relative;
  width: 100%;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.slider_section #customCarousel1 .img_container::after,
.slider_section_ #customCarousel1 .img_container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(251, 251, 251, 1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.slider_section .detail-box,
.slider_section_ .detail-box {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(1rem, 4vw, 3rem);
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

.slider_section .detail-box .inner_detail-box,
.slider_section_ .detail-box .inner_detail-box {
  color: var(--primary);
  width: min(100%, 1100px);
  margin: 0 auto;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-home.hero-intro-pending .slider_section .inner_detail-box > .responsive-img,
.page-home.hero-intro-pending .slider_section .inner_detail-box > h1,
.page-home.hero-intro-pending .slider_section .inner_detail-box > h2,
.page-home.hero-intro-pending .slider_section .inner_detail-box > .hero-subtitle-carousel {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-home.hero-intro-pending .slider_section.is-intro-logo-visible .inner_detail-box > .responsive-img {
  opacity: 1;
  transform: translateY(0);
}

.page-home.hero-intro-pending .slider_section.is-intro-titles-visible .inner_detail-box > h1,
.page-home.hero-intro-pending .slider_section.is-intro-titles-visible .inner_detail-box > h2 {
  opacity: 1;
  transform: translateY(0);
}

.page-home.hero-intro-pending .slider_section.is-intro-subtitles-visible .inner_detail-box > .hero-subtitle-carousel {
  opacity: 1;
  transform: translateY(0);
}

.slider_section .detail-box .inner_detail-box img,
.slider_section_ .detail-box .inner_detail-box img {
  height: 220px;
  margin-bottom: 40px;
  display: block;
  margin-inline: auto;
}

.slider_section .detail-box h1,
.slider_section_ .detail-box h1 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 6vw, 4rem);
  line-height: 1.02;
  margin: 0;
}

.slider_section .detail-box h1.fx-title,
.slider_section_ .detail-box h1.fx-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4rem);
  line-height: 1.02;
  margin: 0;
  transition: none;
  animation: none;
  transform: none;
  will-change: auto;
  font-size-adjust: 0.4;
  text-wrap: balance;
}



.slider_section .detail-box p,
.slider_section_ .detail-box p {
  margin-top: 15px;
  font-size: 1.4em;
}

.hero-subtitle-carousel {
  position: relative;
  width: 100%;
  min-height: 3.5rem;
  margin-top: 1rem;
}

.hero-subtitle-carousel .fx-subtitle {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.45),
    0 0 22px rgba(255, 255, 255, 0.22);
  transition: opacity 0.6s ease;
}

.hero-subtitle-carousel .fx-subtitle.is-active {
  opacity: 1;
}



.about_section .row {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.about_section .img-box img {
  width: 100%;
}

.about_section .about-img {
  text-align: center;
}

.about_section img {
  width: 50%;
}

.about_section .detail-box p {
  margin-top: 10px;
  margin-bottom: 35px;
}

.about-section-gradient {
  background-image: radial-gradient(
    circle at bottom,
    rgba(255, 255, 255, 50%) 0%,
    rgba(255, 255, 255, 0%) 80%
  );
  background-repeat: no-repeat;
}

#about-section-4 {
  background-color: #ffffff;
}

.mision {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.mision-panel {
  min-height: 200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background-color: white;
  border: 8px solid rgba(245, 245, 245, 0.2);
  box-shadow: 0 18px 40px rgba(30, 48, 54, 0.01);
  color: var(--primary-text);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease,
    box-shadow 0.35s ease;
}

.mision-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mision-panel-side {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--primary);
}

.mision-panel p {
  margin: 0;
  font-size: inherit;
  line-height: 1.9;
  text-align: center;
}

.mision-panel p + p,
.mision-panel .mision-list + p,
.mision-panel .mision-intro + .mision-list {
  margin-top: 1rem;
}

.mision-intro {
  font-weight: 700;
  color: var(--primary);
  text-align: left !important;
}

.mision-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.mision-list li {
  position: relative;
  font-size: inherit;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.mision-list li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: #cf9d55;
}

@media (max-width: 768px) {
  .mision {
    grid-template-columns: 1fr;
  }
}

.info_section {
  background-color: #ffffff;
  color: var(--primary);
  padding: 75px 0 75px 0;
  font-size: 0.82rem;
}

.info_section.innerpage_info_section {
  padding: 75px 0;
}

.info_section h4 {
  margin-bottom: 15px;
}

.info_section p,
.info_section li,
.info_section a {
  color: var(--primary);
  font-size: 0.7rem;
}

.info_section h6 {
  color: var(--primary);
  font-size: 1.1rem;
}

.info_section .info_contact a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--primary);
  margin-bottom: 10px;
}

.info_section .info_contact a i {
  margin-right: 5px;
  width: 25px;
}

.info_section .info_contact a:hover:hover {
  color: #e45441;
}

.info_section .social_box {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.info_section .social_box a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(30, 48, 54, 0.18);
  color: var(--primary);
  margin-right: 10px;
  margin-bottom: 10px;
}

.info_section .social_box a:hover {
  color: #cf9d55;
  border-color: #cf9d55;
}

.info_section .nav-link {
  border: 0;
  border-radius: 0;
  background-color: transparent;
  padding: 0.2rem 0;
  font-size: 0.70rem;
}

.info_section .nav-link:hover,
.info_section .nav-link:focus {
  background-color: transparent;
  border-color: transparent;
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(30, 48, 54, 0.12);
  opacity: 1;
}




.retreat_section .container-inner {
  border: 1px #efefef solid;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.retreat_section .retreat-img {
  position: relative;
  overflow: hidden;
}

.retreat_section .retreat-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
}

.retreat_section .retreat-img img {
  width: 100%;
  height: auto;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.retreat_section .container-inner:hover {
  border-color: var(--primary-bg);
}

.retreat_section .container-inner:hover .retreat-img::after {
  left: 140%;
  transition: left 0.8s ease;
}

.retreat_section .container-inner:hover .retreat-img img {
  transform: scale(1.1);
  opacity: 0.8;
}

#retreat_section .container-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease,
    border-color 0.35s ease, box-shadow 0.35s ease;
}

#retreat_section .container-inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#retreat_section .container-inner .detail-box {
  padding: 0.75rem 1rem 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 60%;
}

#retreat_section .container-inner .detail-box p,
#retreat_section .container-inner .detail-box a {
  font-size: small;
  line-height: 1.45;
}

#retreat_section .container-inner .detail-box p:first-child {
  padding-top: 0 !important;
}

#retreat_section .container-inner .detail-box p.pb-3 {
  display: none;
}

#retreat_section .container-inner .detail-box .button-1 {
  margin-top: auto;
  margin-bottom: 0 !important;
}

.retreat-img img.fx-retreat-1-image {
  width: 100%;
  max-width: 100%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.detail-box a.btn {
  background-color: var(--primary);
  color: #fff;
  border-radius: 30px;
  padding: 12px 30px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
}

.detail-box a.btn:hover {
  background-color: #1e3036;
  color: #fff;
}

.waves-container {
  position: relative;
  text-align: center;
  background: linear-gradient(
    60deg,
    rgba(83, 82, 81, 1) 0%,
    rgba(96, 95, 94, 1) 100%
  );
  color: white;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.waves {
  position: relative;
  width: 100%;
  height: 60px;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}

.opacity-01_,
.opacity-01 {
  opacity: 1;
}

a {
  color: var(--primary);
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.text-justify {
  text-align: justify;
  text-wrap: pretty;
}

/* Estilos header */

/* CABECERA TRANSPARENTE */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background-color: white;
  transform: translateY(0);
  transition: background-color 0.55s ease,
    box-shadow 0.55s ease, border-color 0.55s ease;
  animation: header-slide-down 0.7s ease;
}

.main-header.is-sticky {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 10px 30px rgba(30, 48, 54, 0.15);
  border-bottom: #fbfbfb solid 1px;
}

@keyframes header-slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-header .navbar {
  position: relative;
  z-index: 2001;
}

.main-header .container-fluid {
  position: relative;
}

.main-header .navbar-collapse,
.main-header .navbar-toggler {
  position: relative;
  z-index: 2001;
  color: var(--primary);
}

.main-header .navbar-toggler {
  border: 1px solid transparent;
  width: 42px;
  height: 42px;
  padding: 0.25rem;
}

.main-header .navbar-toggler:hover,
.main-header .navbar-toggler:active,
.main-header .navbar-toggler[aria-expanded="true"] {
  border-color: rgba(30, 48, 54, 0.22);
}

.main-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 48, 54, 0.12);
}

.main-header .navbar-toggler-icon {
  filter: none;
}

.main-header .navbar-brand .img-logo {
  max-height: 40px !important;
  width: auto;
}

.nav-link {
  border: 1px solid rgba(207, 157, 85, 0.35);
  border-radius: 999px;
  transition: color 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

.nav-link:hover,
.nav-link:focus {
  border-color: rgba(207, 157, 85, 0.7);
  background-color: rgba(207, 157, 85, 0.08);
}

.main-header .nav-link {
  color: var(--primary) !important;
  font-weight: 500;
  margin-left: 1rem;
  font-size: clamp(0.8rem, 1vw, 1rem);
  border: 0;
  border-radius: 0;
  background-color: transparent;
}

.main-header .nav-link:hover {
  color: #cf9d55 !important;
  border-color: transparent;
  background-color: transparent;
}

.main-header .navbar-nav {
  align-items: center;
}

.main-header .nav-item {
  position: relative;
}

.main-header .nav-link-group {
  display: flex;
  align-items: center;
}

.main-header .nav-item-has-children > .nav-link-group .nav-link {
  margin-right: 0.15rem;
}

.main-header .submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin-left: 0.1rem;
  border: 0;
  background: transparent;
  color: var(--primary);
  transition: color 0.25s ease, transform 0.25s ease;
}

.main-header .submenu-toggle::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
}

.main-header .submenu-toggle:hover,
.main-header .submenu-toggle:focus-visible,
.main-header .nav-item-has-children:hover > .nav-link-group .submenu-toggle,
.main-header .nav-item-has-children:focus-within > .nav-link-group .submenu-toggle {
  color: #cf9d55;
}

.main-header .submenu-toggle:focus-visible {
  outline: 2px solid rgba(207, 157, 85, 0.35);
  outline-offset: 3px;
}

.main-header .submenu {
  position: absolute;
  top: calc(100% + 0rem);
  left: 0%;
  width: min(660px, calc(100vw - 3rem));
  margin: 0;
  padding: 1.4rem 1.5rem 1.6rem;
  background-color: #ffffff;
  border: 1px solid rgba(207, 157, 85, 0.16);
  border-radius: 0.5rem;
  box-shadow: 0 28px 70px rgba(30, 48, 54, 0.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  z-index: 2100;
}

.main-header .submenu li {
  font-size: inherit;
}

.main-header .submenu-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.9fr);
  gap: 2.5rem;
  align-items: stretch;
}

.main-header .submenu-column {
  min-width: 0;
}

.main-header .submenu-column-secondary {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 1.75rem;
  border-left: 1px solid rgba(64, 59, 50, 0.1);
  background-color: #ffffff;
  background-image: linear-gradient(
      rgba(30, 48, 54, 0.24),
      rgba(30, 48, 54, 0.24)
    ),
    url("/images/imagen-05.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
  overflow: hidden;
}

.main-header .submenu-column-secondary-actividades {
  background-image: linear-gradient(
      rgba(30, 48, 54, 0.24),
      rgba(30, 48, 54, 0.24)
    ),
    url("/images/imagen-03.png");
}

.main-header .submenu-eyebrow {
  margin: 0 0 0.95rem;
  color: rgba(64, 59, 50, 0.58);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-header .submenu-summary {
  margin: 0;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}

.main-header .submenu-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.main-header .submenu-link {
  display: block;
  padding: 0.75rem 0.9rem;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: normal;
  border-radius: 1rem;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.main-header .submenu-link:hover,
.main-header .submenu-link:focus {
  color: #cf9d55;
  background-color: #fbfbfb;
}

.main-header .submenu-link-title,
.main-header .submenu-link-copy {
  display: block;
}

.main-header .submenu-link-title {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.1625rem;
  font-weight: 1000;
  line-height: 1.15;
}

.main-header .submenu-link:hover .submenu-link-title,
.main-header .submenu-link:focus .submenu-link-title,
.main-header.is-sticky .submenu-link:hover .submenu-link-title,
.main-header.is-sticky .submenu-link:focus .submenu-link-title {
  color: #cf9d55;
}


.main-header .submenu-link-copy {
  margin-top: 0.25rem;
  color: rgba(64, 59, 50, 0.72);
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.45;
}

.main-header .nav-item-has-children:hover > .submenu,
.main-header .nav-item-has-children:focus-within > .submenu,
.main-header .nav-item-has-children.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.main-header .nav-item-has-children.is-open > .nav-link-group .submenu-toggle {
  transform: none;
}

.main-header .nav-item-has-children.is-open > .nav-link-group .submenu-toggle::before,
.main-header .nav-item-has-children:hover > .nav-link-group .submenu-toggle::before,
.main-header .nav-item-has-children:focus-within > .nav-link-group .submenu-toggle::before {
  transform: rotate(45deg);
}

/* SEPARADOR ONDA */
.wave-separator {
  position: absolute;
  bottom: -2px;
  width: 110%;
  z-index: 10;
  left: -2px;
}

.wave-separator-blue {
  position: relative;
  bottom: -1px;
}

.separator-top {
  position: relative;
  bottom: -1px;
}

.separator-buttom {
  position: relative;
  bottom: 2px;
}

.wave-separator img {
  width: 100%;
  height: auto;
}

.frase {
  font-family: var(--font-body);
}

.img-detras-texto {
  background-color: white;
  border-top: white solid 8px;
  border-bottom: white solid 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 450px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.img-detras-texto.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.img-detras-texto.imagen01 {
  background-image: url("/images/imagen-01.png");
}
.img-detras-texto.imagen02 {
  background-image: url("/images/imagen-02.png");
}
.img-detras-texto.imagen03 {
  background-image: url("/images/imagen-03.png");
}
.img-detras-texto.imagen04 {
  background-image: url("/images/imagen-04.png");
}
.img-detras-texto.imagen05 {
  background-image: url("/images/imagen-05.png");
}
.img-detras-texto.imagen06 {
  background-image: url("/images/imagen-06.png");
}
.img-detras-texto.imagen07 {
  background-image: url("/images/imagen-07.png");
}
.img-detras-texto.imagen08 {
  background-image: url("/images/imagen-08.png");
}

.img-detras-texto-campo-trigo {
  background-image: url("/images/campo-trigo.png");
}

.texto-sobre-imagen,
.texto-sobre-imagen-2,
.texto-sobre-imagen-4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
}

.texto-sobre-imagen {
  padding: 1rem;
  background: var(--surface-overlay);
  text-align: center;
}

.beneficios {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  min-height: clamp(165px, 28vw, 360px);
  height: 100%;
  background-image: url("/images/book_01.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.texto-sobre-imagen-4 {
  background: var(--surface-overlay);
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  padding: 0.75rem;
  width: 90%;
}

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

.bg-opaco-footer {
  padding: 7px 4px 0px 4px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1400px) {
  .fs-xxl-6 { font-size: 1rem; }
  .fs-xxl-5 { font-size: 1.25rem; }
  .fs-xxl-4 { font-size: 1.5rem; }
  .fs-xxl-3 { font-size: 1.75rem; }
  .fs-xxl-2 { font-size: 2rem; }
  .fs-xxl-1 { font-size: 2.5rem; }
}

@media (max-width: 1200px) {
  .fs-xl-6 { font-size: 1rem; }
  .fs-xl-5 { font-size: 1.25rem; }
  .fs-xl-4 { font-size: 1.5rem; }
  .fs-xl-3 { font-size: 1.75rem; }
  .fs-xl-2 { font-size: 2rem; }
  .fs-xl-1 { font-size: 2.5rem; }

  .texto-sobre-imagen-4 {
    width: 95%;
  }

  .texto-sobre-imagen-4 p {
    margin-bottom: 0.5rem;
  }

  .texto-sobre-imagen-4 a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

}

@media (max-width: 992px) {
  .main-header .nav-item {
    width: 100%;
  }

  .main-header .navbar-nav {
    align-items: stretch;
    padding-top: 1rem;
    gap: 0.35rem;
  }

  .main-header .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.8rem 0 0.25rem;
    border-top: 1px solid rgba(30, 48, 54, 0.08);
  }

  .main-header .nav-item-has-children {
    display: block;
  }

  .main-header .nav-link-group {
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }

  .main-header .nav-link {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.9rem;
    margin-left: 0;
    padding: 0.65rem 0;
  }

  .main-header .submenu-toggle {
    width: 2.25rem;
    height: 2.25rem;
    margin-left: 0.5rem;
  }

  .main-header .submenu {
    position: static;
    box-sizing: border-box;
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    margin-top: 0.25rem;
    margin-left: 0;
    padding: 1.1rem 1rem 1.15rem;
    border: 1px solid rgba(207, 157, 85, 0.16);
    border-radius: 0.5rem;
    box-shadow: 0 28px 70px rgba(30, 48, 54, 0.16);
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    pointer-events: auto;
    transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
  }

  .main-header .submenu-panel {
    display: block;
  }

  .main-header .nav-item-has-children:not(.is-open) > .submenu {
    padding-top: 0;
    padding-bottom: 0;
  }

  .main-header .nav-item-has-children.is-open > .submenu {
    max-height: 36rem;
    padding-top: 1.1rem;
    padding-bottom: 1.15rem;
    transform: none;
  }

  .main-header .nav-item-has-children:hover > .submenu,
  .main-header .nav-item-has-children:focus-within > .submenu,
  .main-header .nav-item-has-children.is-open > .submenu {
    transform: none;
  }

  .main-header .submenu-link {
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 1rem;
  }

  .main-header .submenu-column-primary {
    display: block;
  }

  .main-header .submenu-column-secondary {
    display: none;
  }

  .main-header .submenu-link-title {
    font-family: var(--font-display);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 1000;
    line-height: 1.15;
  }

  .fs-lg-6 { font-size: 1rem; }
  .fs-lg-5 { font-size: 1.25rem; }
  .fs-lg-4 { font-size: 1.5rem; }
  .fs-lg-3 { font-size: 1.75rem; }
  .fs-lg-2 { font-size: 2rem; }
  .fs-lg-1 { font-size: 2.5rem; }

  .object-fit-cover {
    border-radius: 0.5rem;
    margin: 0 10px;
  }

  .texto-sobre-imagen-4 {
    width: 92%;
    margin-left: 10px;
  }

  .texto-sobre-imagen-4 p {
    margin-bottom: 0.5rem;
  }

  .texto-sobre-imagen-4 a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  ul.white-star {
    grid-template-columns: 1fr;
  }

  ul.white-star li {
    min-height: 110px;
    padding: 1rem;
  }
}

/* Tablet landscape - altura limitada */
@media (min-width: 768px) and (max-height: 900px) {
  .slider_section .detail-box .inner_detail-box img,
  .slider_section_ .detail-box .inner_detail-box img {
    height: 140px;
    margin-bottom: 20px;
  }

  .slider_section .detail-box h1.fx-title,
  .slider_section_ .detail-box h1.fx-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-subtitle-carousel {
    min-height: 2.5rem;
  }
}

@media (max-width: 768px) {
  .fs-md-6 { font-size: 1rem; }
  .fs-md-5 { font-size: 1.25rem; }
  .fs-md-4 { font-size: 1.5rem; }
  .fs-md-3 { font-size: 1.75rem; }
  .fs-md-2 { font-size: 2rem; }
  .fs-md-1 { font-size: 2.5rem; }

  body {
    font-size: 15px;
  }

  .slider_section,
  .slider_section_ {
    height: 100vh;
    min-height: 500px;
  }

  .slider_section .detail-box .inner_detail-box img,
  .slider_section_ .detail-box .inner_detail-box img {
    height: 120px;
    margin-bottom: 24px;
  }

  .slider_section .detail-box h1.fx-title,
  .slider_section_ .detail-box h1.fx-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .retreat_section .container {
    padding: 0 10%;
  }

  .about_section .fx-title-whatis,
  .about_section .fx-title-why,
  .about_section .fx-title-white-star,
  .about_section .fx-title-how {
    right: -30vw;
  }

  .main-header {
    background-color: rgba(255, 255, 255, 0.9);
  }

  .texto-sobre-imagen-4 {
    width: 92%;
  }
}

@media (max-width: 576px) {
  .fs-sm-6 { font-size: 1rem; }
  .fs-sm-5 { font-size: 1.25rem; }
  .fs-sm-4 { font-size: 1.5rem; }
  .fs-sm-3 { font-size: 1.75rem; }
  .fs-sm-2 { font-size: 2rem; }
  .fs-sm-1 { font-size: 2.5rem; }

  .img-detras-texto {
    min-height: 250px;
  }

  .texto-sobre-imagen {
    width: 75%;
  }
  .mision-panel {
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  .fs-xs-6 { font-size: 1rem; }
  .fs-xs-5 { font-size: 1.25rem; }
  .fs-xs-4 { font-size: 1.5rem; }
  .fs-xs-3 { font-size: 1.75rem; }
  .fs-xs-2 { font-size: 2rem; }
  .fs-xs-1 { font-size: 2.5rem; }

  .slider_section .detail-box .inner_detail-box img,
  .slider_section_ .detail-box .inner_detail-box img {
    height: 100px;
    margin-bottom: 20px;
  }

  .slider_section .detail-box h1.fx-title,
  .slider_section_ .detail-box h1.fx-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-subtitle-carousel {
    font-size: 1.1rem;
  }

  .texto-sobre-imagen {
    width: 75%;
  }
}
