body {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  border-bottom: 1px solid rgba(231, 231, 231, 0.7);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(95, 111, 58, 0.12);
}

.brand-link img {
  filter: saturate(0.96);
}

.nav-link {
  position: relative;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  height: 2px;
  background: var(--color-lime);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-page .hero-section {
  min-height: 490px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 27%, rgba(255, 255, 255, 0.68) 44%, rgba(255, 255, 255, 0.08) 63%),
    var(--home-hero-image, url("../../design/imagenes/hero-image-home.jpg"));
  background-position: center right;
}

.home-page .hero-container {
  min-height: 490px;
}

.home-page .hero-content {
  width: min(100%, 430px);
}

.home-page .hero-title {
  color: #242424;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.27;
}

.home-page .hero-title strong {
  color: var(--color-olive);
  font-weight: 400;
}

.home-page .hero-actions .ev-btn {
  font-weight: 500;
}

.home-page .hero-rule,
.home-page .section-rule {
  background: var(--color-olive);
}

.ev-btn,
.whatsapp-button,
.language-option {
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.language-switcher {
  position: relative;
}

.language-current {
  min-width: 78px;
}

.language-flag.fi {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 24, 15, 0.08);
  background-size: cover;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 92px;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(95, 111, 58, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(14px);
}

.language-menu[hidden] {
  display: none;
}

.language-menu__option {
  width: 100%;
  min-width: 0;
  height: 36px;
  justify-content: flex-start;
  border-color: transparent;
  box-shadow: none;
}

.ev-btn:hover,
.ev-btn:focus-visible,
.whatsapp-button:hover,
.whatsapp-button:focus-visible,
.language-option:hover,
.language-option:focus-visible {
  transform: translateY(-2px);
}

.ev-btn:active,
.whatsapp-button:active,
.language-option:active {
  transform: translateY(0);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.home-page .values-section {
  padding: 28px 0 31px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
}

.home-page .value-item {
  border-radius: var(--radius-sm);
  transition: transform var(--transition-medium), background-color var(--transition-medium), box-shadow var(--transition-medium);
}

.home-page .value-item:hover {
  background: rgba(248, 250, 245, 0.72);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.home-page .value-icon {
  background: #efeee6;
  color: #7d8438;
  box-shadow: inset 0 0 0 1px rgba(95, 111, 58, 0.08);
}

.home-page .value-icon i {
  font-size: 35px;
  line-height: 1;
}

.home-page .value-item h3 {
  font-weight: 500;
}

.home-page .intro-section {
  padding: 11px 0 8px;
}

.home-page .intro-copy h2 {
  color: var(--color-olive);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.home-page .intro-copy .section-rule {
  margin-top: 24px;
}

.home-page .intro-text {
  margin: 30px 0 42px;
}

.home-page .intro-button {
  font-weight: 500;
}

.home-page .intro-media img {
  box-shadow: 0 16px 36px rgba(32, 37, 24, 0.08);
  object-position: center;
}

.home-page .cta-section,
.tours-page .cta-section,
.tour-detail-page .cta-section,
.info-page .cta-section,
.contact-page .cta-section {
  background-color: #5f6f3a;
  background-image: url("../img/banners/banner-mapa-mundo.jpg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.home-page .cta-section::before,
.tours-page .cta-section::before,
.tour-detail-page .cta-section::before,
.info-page .cta-section::before,
.contact-page .cta-section::before {
  background:
    linear-gradient(90deg, rgba(63, 74, 42, 0.16) 0%, rgba(63, 74, 42, 0.04) 48%, rgba(63, 74, 42, 0.12) 100%);
}

.home-page .cta-eyebrow,
.tours-page .cta-eyebrow,
.tour-detail-page .cta-eyebrow,
.info-page .cta-eyebrow,
.contact-page .cta-eyebrow {
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.home-page .cta-copy h2,
.tours-page .cta-copy h2,
.tour-detail-page .cta-copy h2,
.info-page .cta-copy h2,
.contact-page .cta-copy h2 {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.home-page .cta-rule,
.tours-page .cta-rule,
.tour-detail-page .cta-rule,
.info-page .cta-rule,
.contact-page .cta-rule {
  width: 38px;
  height: 2px;
  background: var(--color-white);
}

.home-page .cta-copy p:last-child,
.tours-page .cta-copy p:last-child,
.tour-detail-page .cta-copy p:last-child,
.info-page .cta-copy p:last-child,
.contact-page .cta-copy p:last-child {
  font-weight: 400;
}

.home-page .whatsapp-button,
.tours-page .whatsapp-button,
.tour-detail-page .whatsapp-button,
.info-page .whatsapp-button,
.contact-page .whatsapp-button {
  width: 228px;
  min-height: 46px;
  padding: 10px 20px;
  gap: 7px;
  border-radius: 25px;
  color: var(--color-olive-dark);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.home-page .whatsapp-icon,
.tours-page .whatsapp-icon,
.tour-detail-page .whatsapp-icon,
.info-page .whatsapp-icon,
.contact-page .whatsapp-icon {
  display: inline-flex;
  width: 24px;
  min-width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  background: #58bd67;
  color: var(--color-white);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(30, 90, 42, 0.18);
}

.home-page .whatsapp-icon i,
.tours-page .whatsapp-icon i,
.tour-detail-page .whatsapp-icon i,
.info-page .whatsapp-icon i,
.contact-page .whatsapp-icon i {
  display: block;
  font-size: 15px;
  line-height: 1;
}

.home-page .ev-btn-light-outline,
.tours-page .ev-btn-light-outline,
.tour-detail-page .ev-btn-light-outline,
.info-page .ev-btn-light-outline,
.contact-page .ev-btn-light-outline {
  width: 228px;
  min-height: 45px;
  padding-inline: 25px;
  border-color: rgba(255, 255, 255, 0.82);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
}

.home-page .ev-btn-light-outline .btn-arrow,
.tours-page .ev-btn-light-outline .btn-arrow,
.tour-detail-page .ev-btn-light-outline .btn-arrow,
.info-page .ev-btn-light-outline .btn-arrow,
.contact-page .ev-btn-light-outline .btn-arrow {
  font-size: 15px;
  font-weight: 400;
}

.whatsapp-icon {
  color: var(--color-white);
  font-size: 14px;
}

.social-links a,
.contact-icon {
  display: grid;
  place-items: center;
}

.contact-icon::before,
.contact-icon::after {
  display: none;
}

.contact-icon i {
  font-size: 16px;
}

.responsible-tourism span {
  display: inline-flex;
  align-items: center;
}

.home-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.has-home-animations .home-animate:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}
