/* =========================================
   CoHome SG — Homepage Styles
   ========================================= */

/* ── Hero ── */
.hero {
  position: relative;
  height: 82vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease, transform 7s ease;
  transform: scale(1.05);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.35) 0%,
    rgba(26, 26, 46, 0.7) 60%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 70px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.4);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-eyebrow .material-icons { font-size: 1rem; }

.hero-slide-texts {
  position: relative;
  min-height: 160px;
  margin-bottom: 24px;
}

.hero-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-text em {
  font-style: italic;
  color: var(--accent);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-weight: 400;
}

/* Search Bar */
.hero-search {
  display: flex;
  justify-content: center;
}

.hero-search-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  padding: 20px 20px 20px 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(200, 169, 110, 0.25);
  max-width: 900px;
  width: 100%;
  backdrop-filter: blur(20px);
}

.hero-search-fields {
  display: flex;
  align-items: center;
  flex: 1;
}

.search-group {
  flex: 1;
  padding: 4px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.search-group-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}
.search-group-label .material-icons {
  color: var(--accent);
  font-size: 0.95rem;
}

.search-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--off-white);
  border: 1.5px solid var(--light-grey);
  border-radius: 999px;
  padding: 9px 12px 9px 14px;
  transition: var(--transition);
  cursor: pointer;
}
.search-select-wrap:hover,
.search-select-wrap:focus-within {
  border-color: var(--accent);
  background: rgba(200, 169, 110, 0.06);
}
.search-select-wrap select {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2px;
}
.search-arrow {
  color: var(--text-muted);
  font-size: 1.15rem;
  pointer-events: none;
  flex-shrink: 0;
  transition: color 0.2s;
}
.search-select-wrap:hover .search-arrow,
.search-select-wrap:focus-within .search-arrow {
  color: var(--accent);
}

.search-group-sep {
  width: 1px;
  height: 52px;
  background: var(--mid-grey);
  flex-shrink: 0;
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--primary);
  border: none;
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(200, 169, 110, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.search-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(200, 169, 110, 0.55);
}
.search-btn .material-icons { font-size: 1.1rem; }

/* Indicators */
.hero-indicators {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--accent);
}

/* Scroll arrow */
.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-arrow {
  animation: bounce 2s infinite;
  color: rgba(255,255,255,0.7);
}
.hero-scroll-arrow .material-icons { font-size: 2rem; }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Section sub */
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: -28px;
  margin-bottom: 48px;
}

/* ── Locations ── */
.locations-section { background: var(--off-white); }

.location-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid var(--mid-grey);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.tab-btn:hover::before {
  opacity: 0.08;
}
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(0);
}
.tab-btn.active::before {
  opacity: 0;
}

.tab-skeleton {
  height: 44px;
  width: 160px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 40px;
}

.location-panel {
  display: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.location-panel.active {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
  opacity: 1;
  transform: translateX(0);
}

.panel-skeleton { margin-top: 0; }

/* Left column — property image */
.location-img-col {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.location-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(transparent, rgba(26, 26, 46, 0.9));
  color: var(--white);
}
.location-img-overlay h3 { font-family: var(--font-heading); color: var(--white); margin-bottom: 4px; }
.location-img-overlay .badge-district {
  display: inline-block;
  background: rgba(200, 169, 110, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Right column — carousel */
.location-carousel-col {
  overflow: hidden;
}

.location-carousel-wrapper {
  position: relative;
}
.location-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  scrollbar-width: auto;
  scrollbar-color: #888 #e0e0e0;
  cursor: grab;
}
.location-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.location-carousel::-webkit-scrollbar {
  height: 10px;
}

.location-carousel::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 999px;
}

.location-carousel::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 999px;
  border: 2px solid #e0e0e0;
}

.location-carousel:hover::-webkit-scrollbar-thumb {
  background: #666;
}

.location-carousel:active::-webkit-scrollbar-thumb,
.location-carousel.is-dragging::-webkit-scrollbar-thumb {
  background: #555;
}

.location-carousel-progress {
  display: none;
  position: relative;
  margin-top: 12px;
  height: 8px;
  background: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
}

.location-carousel-progress-bar {
  display: block;
  height: 100%;
  width: 28%;
  border-radius: inherit;
  background: #888;
  transition: margin-left 0.12s ease, width 0.12s ease;
  pointer-events: none;
}
.location-carousel .room-card {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 14px);
  min-width: 260px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── How It Works ── */
.how-section {
  background: var(--white);
}
.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.how-step {
  flex: 1;
  min-width: 220px;
  text-align: center;
  padding: 40px 32px;
  position: relative;
}
.how-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: -16px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
}
.how-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.2);
}
.how-icon .material-icons { color: var(--accent); font-size: 1.8rem; }
.how-step h3 { font-family: var(--font-heading); margin-bottom: 12px; }
.how-step p { color: var(--text-muted); font-size: 0.95rem; }

.how-connector {
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  flex-shrink: 0;
  border-radius: 2px;
}

/* ── Perks ── */
.perks-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.perks-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a96e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.perks-section .section-title { color: var(--white); font-size: 2.4rem; }
.perks-section .section-title::after { background: var(--gold-gradient); }

.perks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.perk-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 169, 110, 0.15);
  border-radius: var(--border-radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.perk-card:hover {
  background: rgba(200, 169, 110, 0.1);
  border-color: rgba(200, 169, 110, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.perk-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.12);
  border: 1px solid rgba(200, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.perk-icon .material-icons { color: var(--accent); font-size: 1.8rem; }
.perk-card h4 { color: var(--white); font-family: var(--font-heading); margin-bottom: 8px; font-size: 1.2rem; }
.perk-card p { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── Audience ── */
.audience-section { background: var(--off-white); }
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.audience-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.audience-img {
  height: 260px;
  overflow: hidden;
}
.audience-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s ease; }
.audience-card:hover .audience-img img { transform: scale(1.05); }

.audience-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.audience-icon .material-icons { color: var(--accent); font-size: 1.4rem; }
.audience-body h3 { margin-bottom: 12px; }
.audience-body p { color: var(--text-muted); font-size: 0.95rem; flex: 1; }

/* ── Testimonials ── */
.testimonials-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 40px;
  font-family: var(--font-heading);
  font-size: 300px;
  color: rgba(200, 169, 110, 0.04);
  line-height: 1;
  pointer-events: none;
}
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-title::after { background: var(--gold-gradient); }

.testimonial-carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.testimonial-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 169, 110, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(200, 169, 110, 0.08);
  border-color: rgba(200, 169, 110, 0.3);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}
.testimonial-stars .material-icons { color: var(--accent); font-size: 1.1rem; }

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.testimonial-role { color: rgba(255,255,255,0.45); font-size: 0.8rem; }

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  z-index: 4;
  transition: var(--transition);
}
.testimonial-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}
.testimonial-nav .material-icons { font-size: 1.4rem; }
.testimonial-nav.prev { left: -24px; }
.testimonial-nav.next { right: -24px; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.test-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ── CTA ── */
.cta-section {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  background: var(--off-white);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0d1b2a 100%);
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23c8a96e' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.cta-inner {
  position: relative;
  text-align: center;
  z-index: 2;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 169, 110, 0.12);
  border: 1px solid rgba(200, 169, 110, 0.35);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: var(--border-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta-heading {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}
.cta-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-note {
  color: rgba(255,255,255,0.35);
  font-size: 0.825rem;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .perks-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .location-panel.active { grid-template-columns: 1fr; }
  .location-img-col { aspect-ratio: 16/9; }
  .perks-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding-bottom: 80px;
  }
  .hero-content {
    padding-top: 90px;
    width: 100%;
  }
  .hero-slide-texts {
    min-height: 110px;
    margin-bottom: 16px;
  }
  .hero-text {
    font-size: clamp(1.55rem, 5.5vw, 2.2rem);
  }
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .hero-search-card { flex-direction: column; border-radius: var(--border-radius-lg); padding: 20px; gap: 16px; }
  .hero-search-fields { flex-direction: column; width: 100%; gap: 0; }
  .search-group { width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--light-grey); }
  .search-group:last-child { border-bottom: none; }
  .search-group-sep { display: none; }
  .search-btn { width: 100%; justify-content: center; }
  .hero-indicators { bottom: 20px; }
  .hero-scroll { bottom: 48px; }
  .how-steps { flex-direction: column; }
  .how-connector { width: 2px; height: 40px; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 calc(100% - 0px); }
  .testimonial-nav.prev { left: -8px; }
  .testimonial-nav.next { right: -8px; }
  .location-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding-bottom: 8px;
    margin-bottom: 24px;
  }
  .tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .location-carousel {
    padding-bottom: 4px;
    cursor: default;
    scroll-snap-type: x mandatory;
  }
  .location-carousel::-webkit-scrollbar {
    height: 0;
    display: none;
  }
  .location-carousel {
    scrollbar-width: none;
  }
  .location-carousel-progress {
    display: block;
  }
}
@media (max-width: 480px) {
  .perks-grid { grid-template-columns: 1fr 1fr; }
}

/* ── FAQ Section ── */
.faq-section {
  background: var(--off-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--light-grey);
  transition: background 0.2s;
}

.faq-item:first-child {
  border-top: 1px solid var(--light-grey);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  background: var(--white);
  border-radius: 8px;
  padding: 0 20px;
  border-bottom-color: transparent;
  margin-bottom: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question[aria-expanded="true"] {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.faq-answer.open {
  max-height: 500px;
  padding: 4px 0 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .faq-question {
    font-size: 0.97rem;
    padding: 18px 0;
  }
}
