/* Eco-Cottage Chilika — FAQ (scoped) */

.ecof-page {
  --ecof-ink: hsl(152, 38%, 14%);
  --ecof-gold: hsl(var(--main-h), var(--main-s), var(--main-l));
  --ecof-gold-dark: #cf8d10;
  --ecof-leaf: hsl(152, 36%, 26%);
  --ecof-cream: #f6f3ea;
  --ecof-muted: hsl(var(--heading-color) / 0.72);
  --ecof-soft: hsl(152, 28%, 96%);
  background: var(--ecof-cream);
  color: hsl(var(--heading-color));
  overflow: hidden;
}

.ecof-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(28rem, 62vh, 40rem);
  display: flex;
  align-items: center;
  padding: clamp(9rem, 15vw, 11rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--ecof-ink);
}

.ecof-hero__bg,
.ecof-hero__bg::before,
.ecof-hero__bg::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -3;
}

.ecof-hero__bg {
  background:
    linear-gradient(105deg, hsl(152, 38%, 10%, 0.95), hsl(152, 32%, 14%, 0.72) 48%, hsl(152, 28%, 16%, 0.2)),
    var(--ecof-hero-bg, url("../images/thumbs/banner-bg.jpg")) center / cover no-repeat;
}

.ecof-hero__bg::before {
  z-index: -2;
  background:
    radial-gradient(circle at 18% 30%, hsl(var(--main-h), var(--main-s), var(--main-l), 0.22), transparent 24rem),
    linear-gradient(180deg, transparent 72%, var(--ecof-cream));
}

.ecof-hero__bg::after {
  z-index: -1;
  background-image:
    linear-gradient(hsl(var(--white) / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--white) / 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
}

.ecof-hero__ring {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  animation: ecofFloat 7s ease-in-out infinite;
}

.ecof-hero__ring--one {
  width: clamp(6rem, 14vw, 12rem);
  aspect-ratio: 1;
  right: 10%;
  top: 22%;
  border: 1px solid hsl(var(--main-h), var(--main-s), var(--main-l), 0.5);
}

.ecof-hero__ring--two {
  width: clamp(4rem, 10vw, 8rem);
  aspect-ratio: 1;
  left: 42%;
  bottom: 18%;
  background: hsl(var(--white) / 0.08);
  animation-delay: -2s;
}

.ecof-crumb {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
  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;
}

.ecof-crumb a {
  color: hsl(var(--white));
  text-decoration: none;
}

.ecof-crumb a:hover,
.ecof-crumb a:focus {
  color: var(--ecof-gold);
}

.ecof-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--ecof-gold-dark);
  font-size: clamp(0.72rem, 1.35vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ecof-kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: currentColor;
}

.ecof-hero .ecof-kicker {
  color: var(--ecof-gold);
}

.ecof-hero__title {
  max-width: 14ch;
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
  color: hsl(var(--white));
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.ecof-hero__text {
  max-width: 38rem;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem);
  color: hsl(var(--white) / 0.82);
  font-size: clamp(1rem, 1.75vw, 1.1rem);
  line-height: 1.75;
}

.ecof-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ecof-btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--body-font);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.ecof-btn--gold {
  color: hsl(0, 0%, 12%);
  background: var(--ecof-gold);
  box-shadow: 0 16px 38px -22px hsl(var(--main-h), var(--main-s), 34%);
}

.ecof-btn--ghost {
  color: hsl(var(--white));
  border: 1px solid hsl(var(--white) / 0.28);
  background: hsl(var(--white) / 0.08);
}

.ecof-btn--ghost:hover,
.ecof-btn--ghost:focus {
  color: var(--ecof-ink);
  background: hsl(var(--white));
}

.ecof-faq-section {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(circle at 92% 0%, hsl(var(--main-h), var(--main-s), var(--main-l), 0.16), transparent 20rem),
    var(--ecof-soft);
}

.ecof-faq-section__title {
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ecof-leaf);
  margin-bottom: 0.5rem;
}

.ecof-faq-section__sub {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  color: var(--ecof-muted);
  max-width: 38rem;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.65;
}

.ecof-faq .room-details-accordion-item {
  border-radius: 0.65rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid hsl(152, 32%, 24%, 0.1);
  background: hsl(var(--white));
  box-shadow: 0 12px 36px -28px hsl(152, 32%, 22%, 0.45);
}

.ecof-faq .room-details-accordion-button {
  color: var(--ecof-leaf);
  font-weight: 700;
}

.ecof-faq .room-details-accordion-button:not(.collapsed) {
  color: var(--ecof-leaf);
  background: hsl(152, 32%, 97%);
}

.ecof-faq .room-details-accordion-body {
  background: hsl(var(--white));
}

.ecof-faq .room-details-accordion-body p {
  color: var(--ecof-muted);
  line-height: 1.7;
}

.ecof-cta-bar {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: clamp(1rem, 2.5vw, 1.35rem);
  background: linear-gradient(120deg, var(--ecof-leaf) 0%, hsl(152, 34%, 20%) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 20px 50px -36px hsl(152, 32%, 18%);
}

.ecof-cta-bar p {
  margin: 0;
  color: hsl(var(--white) / 0.92);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 36rem;
  line-height: 1.55;
}

.ecof-cta-bar__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  color: hsl(0, 0%, 12%);
  background: var(--ecof-gold);
  border: 0;
  box-shadow: 0 14px 32px -18px hsl(var(--main-h), var(--main-s), 30%);
}

.ecof-cta-bar__btn:hover,
.ecof-cta-bar__btn:focus {
  color: hsl(0, 0%, 12%);
  filter: brightness(1.05);
}

.ecof-bottom-space {
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--ecof-soft);
}

@keyframes ecofFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -0.65rem, 0);
  }
}

@media (max-width: 991.98px) {
  .ecof-hero {
    min-height: auto;
    padding-top: 8rem;
  }
}

@media (max-width: 575.98px) {
  .ecof-hero {
    padding-top: 7.25rem;
  }

  .ecof-hero__title {
    max-width: 100%;
  }

  .ecof-hero__actions,
  .ecof-btn {
    width: 100%;
  }

  .ecof-cta-bar__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecof-hero__ring {
    animation: none;
  }
}
