/**
 * EcoAfric Image Rendering Fixes
 * Ensures all images render with proper sizing and aspect ratios
 */

/* ========================================
   Global Image Defaults
   ======================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* High-definition rendering optimization */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
    /* Prevent image dragging */
    -webkit-user-drag: none;
    user-select: none;
}

/* For high-DPI displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ========================================
   Logo Images
   ======================================== */
.header-logo img,
.footer-logo img {
    height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

/* ========================================
   Hero/Banner Images
   ======================================== */
section[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    /* High-definition background rendering */
    -webkit-background-size: cover !important;
    image-rendering: -webkit-optimize-contrast;
}

/* Full-width banner images */
.banner-image,
img[alt="Thumbnail"] {
    width: 100% !important;
    min-height: 400px !important;
    max-height: 500px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin-bottom: 24px;
    /* High-definition rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
}

/* ========================================
   Tour Card Images
   ======================================== */
/* Tour list/grid images */
article img[alt*="tour"],
#toursContainer img,
.tour-card img,
.swiper-slide img {
    width: 100% !important;
    height: 225px !important;
    object-fit: cover !important;
    object-position: center !important;
    /* High-definition rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Tour grid spacing */
#toursContainer {
    gap: 24px !important;
}

#toursContainer > article {
    margin-bottom: 0 !important;
}

/* Tour detail page main image */
.tour-detail-image,
.tour-hero-image {
    width: 100% !important;
    max-height: 600px !important;
    object-fit: cover !important;
    object-position: center !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Tour gallery thumbnails */
.tour-gallery img,
.gallery-thumbnail {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    object-position: center !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========================================
   Destination Card Images
   ======================================== */
.top-destination-swipper .swiper-slide {
    margin-bottom: 24px !important; /* Add spacing between cards */
}

.top-destination-swipper .swiper-slide img,
.destination-card img {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    object-fit: cover !important;
    object-position: center !important;
    /* High-definition rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}

/* ========================================
   Gallery/Carousel Images - Seamless Display
   ======================================== */
/* Gallery swiper - seamless horizontal images */
.gallerySwiper .swiper-wrapper {
    margin-bottom: 0 !important;
    gap: 0 !important;
}

.gallerySwiper .swiper-slide {
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

.gallerySwiper .swiper-slide img {
    display: block !important;
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Other swiper spacing (destinations, etc) */
.top-destination-swipper .swiper-wrapper {
    margin-bottom: 24px;
}

.top-destination-swipper .swiper-slide {
    margin-bottom: 16px;
}

/* ========================================
   Feature/Icon Images
   ======================================== */
img[src*="features-"],
img[src*="dream-"],
img[src*="mission"],
img[src*="vision"] {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
}

/* Smaller feature icons */
img[src*="features-"].small-icon,
img[src*="dream-"].small-icon {
    width: 40px !important;
    height: 40px !important;
}

/* ========================================
   Blog Post Images
   ======================================== */
.blog-card img,
.blog-thumbnail,
article[class*="blog"] img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin-bottom: 16px;
    /* High-definition rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.blog-detail img,
.article-body img {
    width: 100% !important;
    height: auto !important;
    max-height: 500px !important;
    object-fit: contain !important;
    margin: 1.5rem 0;
    /* High-definition rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Blog author images */
img[alt*="author"],
.author-image {
    width: 32px !important;
    height: 32px !important;
    object-fit: cover !important;
    border-radius: 50%;
    image-rendering: -webkit-optimize-contrast;
}

/* ========================================
   Provider/Profile Images
   ======================================== */
.provider-logo,
.company-logo {
    max-width: 150px !important;
    max-height: 80px !important;
    object-fit: contain !important;
}

.provider-avatar,
.user-avatar {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover !important;
    border-radius: 50%;
}

/* ========================================
   About Page Team Cards
   ======================================== */
.eco-pg .eco-team-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.eco-pg .eco-team-card {
    display: grid !important;
    grid-template-columns: 156px minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: start !important;
    padding: 24px !important;
    overflow: hidden !important;
}

.eco-pg .eco-team-photo {
    width: 156px !important;
    max-width: 156px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    overflow: hidden !important;
    flex: 0 0 156px !important;
}

.eco-pg .eco-team-photo img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center 22% !important;
    margin: 0 !important;
}

.eco-pg .eco-team-photo img.is-fallback {
    object-fit: contain !important;
    padding: 22px !important;
}

.eco-pg .eco-team-copy {
    min-width: 0 !important;
}

.eco-pg .eco-team-copy h3,
.eco-pg .eco-team-role,
.eco-pg .eco-team-copy p {
    overflow-wrap: anywhere;
}

/* ========================================
   Visa/Document Images
   ======================================== */
img[src*="visa.png"] {
    height: 65px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* ========================================
   Mobile Responsive Adjustments
   ======================================== */
@media (max-width: 1100px) {
    .eco-pg .eco-team-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* Reduce banner heights on mobile */
    .banner-image,
    img[alt="Thumbnail"] {
        min-height: 250px !important;
        max-height: 350px !important;
    }
    
    /* Reduce destination card heights */
    .top-destination-swipper .swiper-slide img {
        min-height: 300px !important;
    }
    
    /* Keep tour cards consistent */
    article img[alt*="tour"],
    #toursContainer img,
    .tour-card img {
        height: 200px !important;
    }

    .eco-pg .eco-team-grid,
    .eco-pg .eco-team-card {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .eco-pg .eco-team-photo {
        width: min(220px, 100%) !important;
        max-width: 220px !important;
        flex-basis: auto !important;
    }
}

@media (max-width: 480px) {
    /* Further reduce on very small screens */
    .banner-image,
    img[alt="Thumbnail"] {
        min-height: 200px !important;
        max-height: 300px !important;
    }
    
    .top-destination-swipper .swiper-slide img {
        min-height: 250px !important;
    }
    
    article img[alt*="tour"],
    #toursContainer img,
    .tour-card img {
        height: 180px !important;
    }

    .eco-pg .eco-team-card {
        padding: 18px !important;
        gap: 16px !important;
    }

    .eco-pg .eco-team-photo {
        width: min(190px, 100%) !important;
        max-width: 190px !important;
    }
}

/* ========================================
   Lazy Loading / Error States
   ======================================== */
img[loading="lazy"] {
    background-color: #f3f4f6;
}

img.loading {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Prevent layout shift while loading */
img:not([src]):not([srcset]) {
    visibility: hidden;
}

/* ========================================
   Aspect Ratio Containers (for better consistency)
   ======================================== */
.aspect-ratio-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.aspect-ratio-16-9 img,
.aspect-ratio-16-9 > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aspect-ratio-16-9 img {
    object-fit: cover;
}

.aspect-ratio-4-3 {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 */
    height: 0;
    overflow: hidden;
}

.aspect-ratio-4-3 img,
.aspect-ratio-4-3 > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aspect-ratio-4-3 img {
    object-fit: cover;
}

.aspect-ratio-1-1 {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 (square) */
    height: 0;
    overflow: hidden;
}

.aspect-ratio-1-1 img,
.aspect-ratio-1-1 > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aspect-ratio-1-1 img {
    object-fit: cover;
}
/* EcoAfric marketplace polish */
.eco-whatsapp-float {
  position: fixed !important;
  right: max(22px, env(safe-area-inset-right)) !important;
  bottom: max(22px, env(safe-area-inset-bottom)) !important;
  z-index: 2147483000 !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px;
  min-height: 58px;
  border: 0;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1f8a5b;
  color: #fff !important;
  box-shadow: 0 18px 45px rgba(19, 88, 58, 0.28);
  line-height: 1;
  text-decoration: none !important;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.eco-whatsapp-float .iconify,
.eco-whatsapp-float svg {
  width: 28px !important;
  height: 28px !important;
  color: #fff !important;
  display: block;
  flex: 0 0 auto;
}
.eco-whatsapp-float:hover {
  transform: translateY(-4px);
  background: #166b46;
  box-shadow: 0 24px 60px rgba(19, 88, 58, 0.38);
}
.eco-whatsapp-float:focus-visible {
  outline: 3px solid rgba(31, 138, 91, .32);
  outline-offset: 4px;
}
.eco-whatsapp-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  width: max-content;
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #18251f;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  white-space: normal;
  box-shadow: 0 14px 34px rgba(16, 24, 20, .2);
  transform: translate(8px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}
.eco-whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: #18251f;
  transform: translateY(-50%) rotate(45deg);
}
.eco-whatsapp-float:hover .eco-whatsapp-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}
.eco-footer {
  background: #18251f;
  color: #f7f2e9;
  padding-top: 56px;
}
.eco-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(5, minmax(130px, 1fr));
  gap: 34px;
  padding-bottom: 42px;
}
.eco-footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 22px;
}
.eco-footer-copy {
  color: rgba(247, 242, 233, .74);
  max-width: 430px;
  line-height: 1.7;
}
.eco-footer h6 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}
.eco-footer ul {
  display: grid;
  gap: 10px;
  color: rgba(247, 242, 233, .68);
  font-size: 14px;
}
.eco-footer a {
  color: inherit;
  transition: color .2s ease;
}
.eco-footer a:hover {
  color: #67c19c;
}
.eco-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.eco-footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.eco-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  color: rgba(247, 242, 233, .62);
  padding: 20px;
  /* The WhatsApp button is fixed to the bottom-right of the viewport, so at the
     very bottom of the page it floats over this strip. Reserve room for it
     (button height + its inset + breathing space) so nothing in the footer can
     end up underneath it. */
  padding-bottom: calc(20px + 58px + 22px);
  font-size: 14px;
}
.eco-footer-admin-link {
  color: inherit;
  text-decoration: none;
  opacity: .85;
  transition: opacity .2s ease;
  /* Staff sign-in. It stays visually a single middle dot, but the tap target is
     a full 44px square — the bare dot with 6px of padding was about 12px wide,
     well under the minimum a thumb can reliably hit, and on a phone it also sat
     directly beneath the WhatsApp button. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}
.eco-footer-admin-link:hover,
.eco-footer-admin-link:focus-visible {
  opacity: 1;
}
.eco-footer-admin-link:focus-visible {
  outline: 2px solid rgba(247, 242, 233, .5);
  outline-offset: 2px;
  border-radius: 8px;
}
.eco-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 138, 91, .1);
  color: #1f6e4c;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eco-card-hover {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.eco-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(27, 44, 36, .12);
}
.eco-home-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
  background: #17251f;
}
.eco-home-hero-video,
.eco-home-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}
.eco-home-hero-video {
  z-index: -2;
}
.eco-home-hero-img {
  z-index: -3;
}
.eco-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.76) 37%, rgba(18,37,31,.16) 67%, rgba(18,37,31,.34) 100%);
  z-index: -1;
}
.eco-home-hero-shape {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(54vw, 760px);
  background: rgba(255,255,255,.78);
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
  z-index: 0;
}
.eco-home-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: flex;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}
.eco-home-hero-copy {
  width: min(100%, 620px);
}
.eco-home-hero-copy .eco-section-kicker {
  background: rgba(255,255,255,.88);
}
.eco-home-hero-copy h1 {
  margin: 20px 0 18px;
  color: #202823;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .98;
  font-weight: 900;
  text-transform: uppercase;
}
.eco-home-hero-copy p {
  max-width: 560px;
  color: #43514a;
  font-size: 18px;
  line-height: 1.65;
}
.eco-home-search {
  width: min(100%, 540px);
  margin-top: 34px;
  background: #26332d;
  color: #fff;
  box-shadow: 0 28px 60px rgba(24,37,31,.26);
}
.eco-home-search label {
  display: block;
  padding: 18px 24px 0;
  color: rgba(255,255,255,.66);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.eco-home-search div {
  display: grid;
  grid-template-columns: 34px 1fr 170px;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 18px 24px;
}
.eco-home-search .iconify {
  color: #f4a259;
  font-size: 28px;
}
.eco-home-search select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  appearance: none;
}
.eco-home-search option {
  color: #202823;
}
.eco-home-search button {
  height: 58px;
  border: 0;
  background: #f4a259;
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.eco-home-search button:hover {
  transform: translateY(-2px);
  background: #df8730;
  box-shadow: 0 20px 42px rgba(244,162,89,.35);
}
.eco-home-hero-notes {
  position: absolute;
  right: 40px;
  top: 35%;
  display: grid;
  gap: 46px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,.24);
}
.eco-home-hero-title {
  position: absolute;
  right: 34px;
  bottom: 18px;
  color: rgba(255,255,255,.9);
  font-size: clamp(58px, 10vw, 132px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eco-cred-strip {
  margin: -38px 0 76px;
  position: relative;
  z-index: 5;
  width: 100%;
}
.eco-cred-shell {
  position: relative;
  overflow: hidden;
  padding: 14px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(27,44,36,.12);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.eco-cred-shell::before,
.eco-cred-shell::after {
  display: none;
}
.eco-cred-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: ecoCredSlide 28s linear infinite;
  will-change: transform;
}
.eco-cred-strip:hover .eco-cred-track,
.eco-cred-strip:focus-within .eco-cred-track {
  animation-play-state: paused;
}
.eco-cred-set {
  display: flex;
  gap: 10px;
}
.eco-cred-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 18px;
  flex: 0 0 clamp(320px, 31vw, 460px);
  min-height: 240px;
  padding: 24px;
  background: #26332d;
  color: #fff;
  isolation: isolate;
  text-decoration: none;
}
.eco-cred-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18,37,31,.82), rgba(18,37,31,.18) 58%, rgba(18,37,31,.04));
  z-index: -1;
}
.eco-cred-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .35s ease;
}
.eco-cred-card:hover img {
  transform: scale(1.06);
}
.eco-tour-slide-meta {
  width: 100%;
  display: grid;
  gap: 8px;
}
.eco-tour-slide-meta span,
.eco-tour-slide-meta strong,
.eco-tour-slide-meta em {
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  color: #fff;
  background: rgba(18,37,31,.72);
  backdrop-filter: blur(8px);
  font-style: normal;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,.34);
}
.eco-tour-slide-meta span {
  background: rgba(31,138,91,.88);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.eco-tour-slide-meta strong {
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 900;
}
.eco-tour-slide-meta em {
  background: rgba(244,162,89,.9);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.eco-tour-slide-meta .iconify {
  flex: 0 0 auto;
  color: #fff;
  font-size: 20px;
}
@keyframes ecoCredSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 5px));
  }
}
.eco-home-section {
  margin-bottom: 92px;
}
.eco-title-center {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.eco-title-center h2 {
  color: #202823;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}
.eco-title-center p {
  margin-top: 14px;
  color: #6d7771;
  line-height: 1.7;
}
.eco-mark {
  display: block;
  width: 22px;
  height: 28px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #1f8a5b 0 45%, transparent 45% 55%, #26332d 55%);
  transform: skewY(-8deg);
}
.eco-mark.light {
  background: linear-gradient(135deg, #fff 0 45%, transparent 45% 55%, #f4a259 55%);
}
.eco-destination-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 34px;
}
.eco-destination-tabs a {
  color: #717d76;
  font-weight: 800;
  font-size: 14px;
}
.eco-destination-tabs a.active,
.eco-destination-tabs a:hover {
  color: #f4a259;
}
.eco-destination-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 170px;
  gap: 18px;
}
.eco-destination-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  isolation: isolate;
}
.eco-destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.68), rgba(0,0,0,.06) 62%);
  z-index: -1;
}
.eco-destination-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .35s ease;
}
.eco-destination-card:hover img {
  transform: scale(1.06);
}
.eco-destination-card span {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}
.eco-destination-card small {
  margin-top: 6px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
}
.eco-destination-card.tall {
  grid-column: span 3;
  grid-row: span 2;
}
.eco-destination-card.wide {
  grid-column: span 6;
  grid-row: span 1;
}
.eco-space-sizes {
  margin-bottom: 92px;
  padding: 74px 0 96px;
  background: #26332d;
  color: #fff;
}
.eco-space-sizes .eco-title-center h2 {
  color: #fff;
}
.eco-experience-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
}
.eco-experience-tile {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  text-align: center;
  isolation: isolate;
  transition: transform .35s ease;
}
.eco-experience-tile:hover {
  transform: translateY(32px);
}
.eco-experience-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24,37,31,.34);
  z-index: -1;
}
.eco-experience-tile:hover::after {
  background: rgba(244,162,89,.74);
}
.eco-experience-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .35s ease;
}
.eco-experience-tile:hover img {
  transform: scale(1.06);
}
.eco-experience-tile .iconify {
  font-size: 34px;
}
.eco-experience-tile strong {
  font-size: 20px;
  text-transform: uppercase;
}
.eco-community-collage {
  margin-bottom: 92px;
}
.eco-collage-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  grid-auto-rows: 220px;
  gap: 10px;
}
.eco-collage-grid img,
.eco-collage-grid a {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eco-collage-grid img:nth-child(2) {
  grid-row: span 2;
}
.eco-collage-grid img:nth-child(4) {
  grid-column: span 2;
}
.eco-collage-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 26px;
  background: #315a48;
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
}
.eco-collage-grid a strong {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.16);
  font-size: 32px;
}
@media (max-width: 900px) {
  .eco-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .eco-home-hero,
  .eco-home-hero-inner {
    min-height: 620px;
  }
  .eco-home-hero-notes,
  .eco-home-hero-title {
    display: none;
  }
  .eco-cred-card {
    flex-basis: 320px;
    min-height: 220px;
    padding: 22px;
  }
  .eco-destination-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .eco-destination-card.tall,
  .eco-destination-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .eco-experience-tiles,
  .eco-collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-collage-grid img:nth-child(2),
  .eco-collage-grid img:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 640px) {
  .eco-footer-grid {
    grid-template-columns: 1fr;
  }
  .eco-footer-bottom {
    /* Same reservation as above, sized for the 52px mobile button. */
    padding-bottom: calc(20px + 52px + 16px);
  }
  .eco-whatsapp-float {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px;
    min-height: 52px;
    right: max(16px, env(safe-area-inset-right)) !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
  .eco-whatsapp-float .iconify,
  .eco-whatsapp-float svg {
    width: 25px !important;
    height: 25px !important;
  }
  .eco-whatsapp-tooltip {
    display: none !important;
  }
  .eco-home-hero {
    min-height: auto;
  }
  .eco-home-hero::after {
    background: rgba(0,0,0,.8);
  }
  .eco-home-hero-shape {
    width: 100%;
    clip-path: none;
  }
  .eco-home-hero-inner {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .eco-home-hero-copy h1 {
    font-size: 42px;
  }
  .eco-home-search div {
    grid-template-columns: 28px 1fr;
  }
  .eco-home-search button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .eco-cred-strip {
    margin-top: 0;
  }
  .eco-destination-mosaic,
  .eco-experience-tiles,
  .eco-collage-grid {
    grid-template-columns: 1fr;
  }
  .eco-cred-shell {
    padding: 10px;
  }
  .eco-cred-shell::before,
  .eco-cred-shell::after {
    top: 10px;
    bottom: 10px;
    width: 38px;
  }
  .eco-cred-shell::before {
    left: 10px;
  }
  .eco-cred-shell::after {
    right: 10px;
  }
  .eco-cred-card {
    flex-basis: 260px;
    min-height: 210px;
    padding: 18px;
  }
  .eco-tour-slide-meta span,
  .eco-tour-slide-meta strong,
  .eco-tour-slide-meta em {
    width: 100%;
  }
  .eco-tour-slide-meta strong {
    font-size: 15px;
  }
  .eco-experience-tile:hover {
    transform: none;
  }
  .eco-collage-grid {
    grid-auto-rows: 240px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eco-cred-shell {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .eco-cred-track {
    animation: none;
  }
  .eco-cred-set[aria-hidden="true"] {
    display: none;
  }
}
