/* Eco-Cottage Chilika — Overview (scoped) */

.ecov-page {
  --ecov-ink: hsl(var(--main-two-h), var(--main-two-s), var(--main-two-l));
  --ecov-gold: hsl(var(--main-h), var(--main-s), var(--main-l));
  --ecov-gold-dark: #cf8d10;
  --ecov-leaf: hsl(152, 36%, 26%);
  --ecov-leaf-soft: hsl(152, 32%, 96%);
  --ecov-cream: #f6f3ea;
  --ecov-muted: hsl(var(--heading-color) / 0.72);
  background: var(--ecov-cream);
  color: hsl(var(--heading-color));
  overflow: hidden;
}

.ecov-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(42rem, 88vh, 56rem);
  display: flex;
  align-items: center;
  padding: clamp(9rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6.5rem);
  background: var(--ecov-ink);
}

.ecov-hero__bg,
.ecov-hero__bg::before,
.ecov-hero__bg::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -3;
}

.ecov-hero__bg {
  background:
    linear-gradient(100deg, hsl(152, 38%, 10%, 0.94) 0%, hsl(152, 36%, 14%, 0.7) 48%, hsl(152, 30%, 16%, 0.28) 100%),
    var(--ecov-hero-bg, url("../images/thumbs/banner-bg.jpg")) center / cover no-repeat;
}

.ecov-hero__bg::before {
  z-index: -2;
  background-image:
    linear-gradient(hsl(var(--white) / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--white) / 0.07) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.ecov-hero__bg::after {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 26%, hsl(var(--main-h), var(--main-s), var(--main-l), 0.22), transparent 22rem),
    radial-gradient(circle at 82% 78%, hsl(152, 38%, 35%, 0.18), transparent 22rem),
    linear-gradient(180deg, transparent 74%, var(--ecov-cream) 100%);
}

.ecov-hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
  animation: ecovFloat 7s ease-in-out infinite;
}

.ecov-hero__orb--one {
  width: clamp(8rem, 18vw, 16rem);
  aspect-ratio: 1;
  right: 8%;
  top: 20%;
  border: 1px solid hsl(var(--main-h), var(--main-s), var(--main-l), 0.55);
}

.ecov-hero__orb--two {
  width: clamp(5rem, 12vw, 10rem);
  aspect-ratio: 1;
  left: 46%;
  bottom: 13%;
  background: hsl(var(--white) / 0.08);
  animation-delay: -2.2s;
}

.ecov-crumb {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
  padding: 0.5rem 0.85rem;
  border: 1px solid hsl(var(--white) / 0.18);
  border-radius: 999px;
  color: hsl(var(--white) / 0.74);
  background: hsl(var(--white) / 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.76rem;
  font-weight: 700;
}

.ecov-crumb a {
  color: hsl(var(--white));
  text-decoration: none;
}

.ecov-crumb a:hover,
.ecov-crumb a:focus {
  color: var(--ecov-gold);
}

.ecov-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: var(--ecov-gold-dark);
  font-size: clamp(0.72rem, 1.35vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ecov-kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: currentColor;
}

.ecov-hero .ecov-kicker {
  color: var(--ecov-gold);
}

.ecov-hero__title {
  max-width: 12ch;
  margin-bottom: clamp(1rem, 2.4vw, 1.35rem);
  color: hsl(var(--white));
  font-family: var(--heading-font);
  font-size: clamp(3rem, 7.2vw, 6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.ecov-hero__text {
  max-width: 41rem;
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
  color: hsl(var(--white) / 0.82);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.75;
}

.ecov-hero__actions,
.ecov-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.ecov-btn {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  font-family: var(--body-font);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.ecov-btn--gold {
  color: hsl(0, 0%, 12%);
  background: var(--ecov-gold);
  box-shadow: 0 18px 42px -24px hsl(var(--main-h), var(--main-s), 34%);
}

.ecov-btn--ghost {
  color: hsl(var(--white));
  border: 1px solid hsl(var(--white) / 0.28);
  background: hsl(var(--white) / 0.08);
}

.ecov-btn--ghost:hover,
.ecov-btn--ghost:focus {
  color: var(--ecov-leaf);
  background: hsl(var(--white));
}

.ecov-showcase {
  position: relative;
  max-width: 38rem;
  margin-left: auto;
  padding: clamp(0.65rem, 1.8vw, 0.95rem);
  border: 1px solid hsl(var(--white) / 0.22);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(145deg, hsl(var(--white) / 0.16), hsl(var(--white) / 0.06));
  box-shadow: 0 34px 86px -44px hsl(0, 0%, 0%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ecov-showcase__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.08 / 1;
  border-radius: clamp(1rem, 2.5vw, 1.45rem);
  background: var(--ecov-leaf);
}

.ecov-showcase__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, hsl(152, 38%, 10%, 0.45));
}

.ecov-showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.ecov-float-card {
  position: absolute;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.65rem;
  min-width: 13rem;
  padding: 0.95rem 1rem;
  border: 1px solid hsl(var(--white) / 0.28);
  border-radius: 1rem;
  color: hsl(var(--white));
  background: hsl(152, 36%, 14%, 0.86);
  box-shadow: 0 22px 46px -30px hsl(0, 0%, 0%);
  backdrop-filter: blur(12px);
  animation: ecovFloat 5.8s ease-in-out infinite;
}

.ecov-float-card i {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  color: hsl(0, 0%, 12%);
  background: var(--ecov-gold);
  font-size: 1.15rem;
}

.ecov-float-card span {
  color: var(--ecov-gold);
  font-family: var(--heading-font);
  font-size: 1.2rem;
  line-height: 1;
}

.ecov-float-card p {
  margin: 0;
  color: hsl(var(--white) / 0.78);
  font-size: 0.82rem;
  line-height: 1.35;
}

.ecov-float-card--top {
  top: 11%;
  left: -1.5rem;
}

.ecov-float-card--bottom {
  right: -1rem;
  bottom: 10%;
  animation-delay: -1.8s;
}

.ecov-story {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 12% 10%, hsl(var(--main-h), var(--main-s), var(--main-l), 0.18), transparent 22rem),
    radial-gradient(circle at 90% 110%, hsl(152, 36%, 35%, 0.16), transparent 22rem),
    var(--ecov-cream);
}

.ecov-story__title {
  max-width: 13ch;
  margin-bottom: 0;
  color: var(--ecov-ink);
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.05;
}

.ecov-story__text {
  margin-bottom: 0;
  color: var(--ecov-muted);
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.8;
}

.ecov-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.ecov-feature {
  position: relative;
  min-height: 16rem;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  border: 1px solid hsl(152, 32%, 28%, 0.09);
  border-radius: 1.35rem;
  background: hsl(var(--white));
  box-shadow: 0 24px 62px -44px hsl(152, 32%, 24%, 0.55);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.ecov-feature::after {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: hsl(152, 36%, 35%, 0.14);
}

.ecov-feature:hover {
  transform: translateY(-0.45rem);
  border-color: hsl(var(--main-h), var(--main-s), var(--main-l), 0.45);
  box-shadow: 0 30px 70px -42px hsl(152, 32%, 24%, 0.7);
}

.ecov-feature i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.15rem;
  border-radius: 999px;
  color: hsl(0, 0%, 12%);
  background: var(--ecov-gold);
  font-size: 1.35rem;
}

.ecov-feature h3 {
  margin-bottom: 0.65rem;
  color: var(--ecov-leaf);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 400;
}

.ecov-feature p {
  margin-bottom: 0;
  color: var(--ecov-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.ecov-cta {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  background: var(--ecov-cream);
}

.ecov-cta__inner {
  justify-content: space-between;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, hsl(152, 38%, 12%, 0.94), hsl(152, 32%, 22%, 0.9)),
    var(--ecov-cta-bg, url("../images/thumbs/banner-bg.jpg")) center / cover no-repeat;
  box-shadow: 0 28px 70px -48px hsl(152, 38%, 14%);
}

.ecov-cta__inner h2 {
  margin-bottom: 0;
  color: hsl(var(--white));
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400;
}

.ecov-cta .ecov-kicker {
  color: var(--ecov-gold);
}

@keyframes ecovFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -0.75rem, 0);
  }
}

@media (max-width: 1199.98px) {
  .ecov-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .ecov-hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .ecov-showcase {
    max-width: 100%;
    margin-left: 0;
  }

  .ecov-float-card--top {
    left: 1rem;
  }

  .ecov-float-card--bottom {
    right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .ecov-hero__title,
  .ecov-story__title {
    max-width: 100%;
  }

  .ecov-feature-grid {
    grid-template-columns: 1fr;
  }

  .ecov-feature {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .ecov-hero {
    padding-top: 7.25rem;
  }

  .ecov-crumb {
    border-radius: 0.85rem;
  }

  .ecov-hero__actions,
  .ecov-btn {
    width: 100%;
  }

  .ecov-showcase {
    padding: 0.55rem;
  }

  .ecov-showcase__image {
    aspect-ratio: 0.95 / 1;
  }

  .ecov-float-card {
    position: static;
    min-width: 0;
    margin-top: 0.65rem;
    animation: none;
  }

  .ecov-cta__inner {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecov-hero__orb,
  .ecov-float-card {
    animation: none;
  }
}
