/* FAQ-only coastal treatment. Content and accordion behavior remain unchanged. */
#faq {
  position: relative;
  isolation: isolate;
  background: var(--night);
  color: var(--white);
  border-block: 1px solid #66dce81c;
}

/* Approved local Tampa waterfront photography. */
#faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    url('../images/coastal-dusk-1600.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 64%;
  opacity: .68;
}

#faq::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #03141ef5, transparent 24%, transparent 72%, #03141ef5),
    linear-gradient(100deg, #03141eb3, #05233159 43%, #03141ebd),
    radial-gradient(ellipse at 12% 76%, #0b899b36, transparent 62%);
}

#faq .faq-layout { position: relative; }
#faq .eyebrow { color: var(--aqua); }
#faq .faq-introduction h2 {
  color: var(--white);
  font-size: clamp(2.375rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.14;
  text-shadow: 0 3px 24px #00101966;
}
#faq .faq-introduction > p:last-child {
  color: #d1e4eb;
  max-width: 400px;
  text-wrap: pretty;
}
#faq .faq-introduction::after {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  margin-top: 30px;
  background: linear-gradient(90deg, var(--aqua), #66dce81a);
  box-shadow: 0 0 18px #66dce822;
}

#faq .faq-item {
  color: var(--white);
  background: #05202ee8;
  border-color: #8cc5d33d;
  box-shadow: 0 10px 28px #00101926, inset 0 1px #d6ffff05;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
#faq .faq-button { color: var(--white); }
#faq .faq-button:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: -6px;
}
#faq .faq-symbol {
  color: var(--aqua);
  background: #66dce80a;
  border-color: #66dce861;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
#faq .faq-answer p { color: #d1e4eb; }
#faq .faq-item:focus-within { border-color: #6befd88c; }
#faq .faq-item.open {
  background: linear-gradient(125deg, #105167f2, #073542f5);
  border-color: #6befd88c;
  box-shadow: 0 12px 32px #00101940, inset 3px 0 var(--aqua), inset 0 1px #c0fff019;
}
#faq .faq-item.open .faq-symbol {
  color: var(--night);
  background: var(--aqua);
  border-color: var(--aqua);
  box-shadow: 0 0 18px #6befd826;
}

@media (hover: hover) {
  #faq .faq-item:not(.open):hover {
    background: #0a3040f0;
    border-color: #66dce87a;
    box-shadow: 0 10px 30px #00101933, inset 0 1px #c0fff00d;
  }
  #faq .faq-button:hover .faq-symbol { border-color: var(--aqua); }
}

@media (max-width: 1100px) {
  #faq .faq-introduction::after { grid-column: 1 / -1; margin-top: 25px; }
  #faq::before { background-position: 45% center; }
}
@media (max-width: 550px) {
  #faq::before {
    background-image:
      url('../images/coastal-dusk-800.webp');
    background-position: 40% center;
    opacity: .6;
  }
  #faq::after {
    background:
      linear-gradient(180deg, #03141ef0, #03141e45 30%, #03141e70 74%, #03141ef5),
      linear-gradient(100deg, #04243170, #03141e66);
  }
  #faq .faq-introduction h2 { font-size: 34px; line-height: 1.18; }
  #faq .faq-introduction::after { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  #faq .faq-item, #faq .faq-symbol { transition: none; }
}
