.faq-page,
.directions-page {
  --subpage-title-hero: clamp(1.85rem, 2.8vw, 2.45rem);
  --subpage-title-section: clamp(1.55rem, 2.2vw, 2.05rem);
  --subpage-title-card: clamp(1.3rem, 1.8vw, 1.75rem);
  --subpage-title-aside: 1.7rem;
  --subpage-title-cta: clamp(1.65rem, 2.4vw, 2.15rem);
}

.faq-page {
  color: #012d28;
  background: #faf9f5;
}

.faq-hero {
  position: relative;
  min-height: 23rem;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(197, 168, 128, 0.2), transparent 27%),
    radial-gradient(circle at 8% 100%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #012d28 0%, #013a33 58%, #052f2c 100%);
}

.faq-hero::before {
  position: absolute;
  top: -9rem;
  right: -5rem;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(197, 168, 128, 0.26);
  border-radius: 50%;
  content: "";
}

.faq-hero::after {
  position: absolute;
  right: 13rem;
  bottom: -15rem;
  width: 29rem;
  height: 29rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.faq-shell {
  width: min(100% - 3rem, 80rem);
  margin-inline: auto;
}

.faq-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
  gap: 5rem;
  align-items: end;
  min-height: 23rem;
  padding-block: 2.75rem 3.5rem;
}

.faq-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.faq-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.faq-breadcrumb a:hover {
  color: #ffffff;
}

.faq-breadcrumb__current {
  color: #dcc5a6;
}

.faq-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: #dcc5a6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.faq-eyebrow::before {
  width: 2rem;
  height: 1px;
  background: #c5a880;
  content: "";
}

.faq-hero h1,
.faq-sidebar h2,
.faq-cta h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.faq-hero h1 {
  max-width: 48rem;
  font-size: var(--subpage-title-hero);
  font-weight: 600;
  line-height: 1.28;
}

.faq-hero__description {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  line-height: 1.85;
  word-break: keep-all;
}

.faq-hero__card {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 15rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.faq-hero__card::after {
  position: absolute;
  right: -2rem;
  bottom: -4.5rem;
  color: rgba(255, 255, 255, 0.055);
  content: "?";
  font-family: inherit;
  font-size: 14rem;
  line-height: 1;
}

.faq-hero__card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  line-height: 1.7;
  word-break: keep-all;
}

.faq-hero__card strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
}

.faq-content {
  padding-block: 4.5rem 5.5rem;
  background:
    linear-gradient(180deg, rgba(238, 238, 232, 0.5), transparent 9rem),
    #faf9f5;
}

.faq-content__grid {
  display: grid;
  grid-template-columns: 18.5rem minmax(0, 1fr);
  gap: 5.5rem;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 7rem;
}

.faq-sidebar__label {
  margin: 0 0 0.8rem;
  color: #9b7448;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.faq-sidebar h2 {
  font-size: var(--subpage-title-aside);
  line-height: 1.45;
}

.faq-sidebar__copy {
  margin: 1rem 0 1.6rem;
  color: #687872;
  font-size: 0.86rem;
  line-height: 1.8;
  word-break: keep-all;
}

.faq-sidebar__contact {
  padding: 1.35rem;
  border: 1px solid #deded7;
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(1, 45, 40, 0.05);
}

.faq-sidebar__contact-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: #012d28;
  font-size: 0.82rem;
  font-weight: 700;
}

.faq-sidebar__contact-title .material-symbols-outlined {
  color: #9b7448;
  font-size: 1.1rem;
}

.faq-sidebar__phone {
  display: block;
  margin-bottom: 0.65rem;
  color: #012d28;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.faq-sidebar__hours {
  margin: 0 0 1.1rem;
  color: #71807a;
  font-size: 0.72rem;
  line-height: 1.6;
}

.faq-sidebar__booking {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 999px;
  color: #ffffff;
  background: #012d28;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.faq-sidebar__booking:hover {
  background: #02443c;
  transform: translateY(-1px);
}

.faq-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.faq-toolbar__title {
  margin: 0;
  color: #012d28;
  font-family: inherit;
  font-size: var(--subpage-title-section);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.faq-toolbar__count {
  color: #88948f;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.faq-filter {
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid #d6dad6;
  border-radius: 999px;
  color: #53665f;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.faq-filter:hover,
.faq-filter[aria-pressed="true"] {
  border-color: #012d28;
  color: #ffffff;
  background: #012d28;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #dfe2de;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(1, 45, 40, 0.025);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.faq-item[hidden] {
  display: none;
}

.faq-item[open] {
  border-color: rgba(155, 116, 72, 0.42);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(1, 45, 40, 0.07);
}

.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) 2.4rem;
  gap: 1rem;
  align-items: center;
  min-height: 5.5rem;
  padding: 1.1rem 1.35rem;
  color: #012d28;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #d5dad6;
  border-radius: 999px;
  color: #012d28;
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.faq-item[open] summary::after {
  border-color: #012d28;
  color: #ffffff;
  background: #012d28;
  content: "−";
}

.faq-item__number {
  color: #b08b5f;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.faq-item__question {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  word-break: keep-all;
}

.faq-item__answer {
  margin: 0 4.75rem 0 4.55rem;
  padding: 0 0 1.65rem;
  color: #667770;
  font-size: 0.9rem;
  line-height: 1.9;
  word-break: keep-all;
}

.faq-empty {
  padding: 3rem;
  border: 1px dashed #cfd5d0;
  border-radius: 1rem;
  color: #667770;
  text-align: center;
}

.faq-cta {
  position: relative;
  overflow: hidden;
  padding-block: 3.75rem;
  color: #ffffff;
  background: #012d28;
}

.faq-cta::after {
  position: absolute;
  top: -11rem;
  right: 4%;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: 50%;
  content: "";
}

.faq-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.faq-cta h2 {
  max-width: 42rem;
  font-size: var(--subpage-title-cta);
  line-height: 1.4;
}

.faq-cta p {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.8;
  word-break: keep-all;
}

.faq-cta__actions {
  display: flex;
  gap: 0.7rem;
  flex: none;
}

.faq-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.15rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.faq-cta__button--kakao {
  border-color: #c5a880;
  color: #012d28;
  background: #c5a880;
}

.faq-cta__button:hover {
  border-color: #ffffff;
  color: #012d28;
  background: #ffffff;
}

@media (max-width: 1023px) {
  .faq-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    padding-block: 2.75rem 3.5rem;
  }

  .faq-hero__card {
    max-width: 31rem;
  }

  .faq-content__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .faq-sidebar {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
    gap: 2rem;
    align-items: end;
  }

  .faq-sidebar__copy {
    margin-bottom: 0;
  }

  .faq-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 639px) {
  .faq-shell {
    width: min(100% - 2rem, 80rem);
  }

  .faq-hero {
    min-height: auto;
  }

  .faq-hero__inner {
    min-height: auto;
    padding-block: 2.25rem 3rem;
  }

  .faq-breadcrumb {
    margin-bottom: 2.5rem;
  }

  .faq-hero__card {
    min-height: 12rem;
    padding: 1.5rem;
  }

  .faq-content {
    padding-block: 3.5rem;
  }

  .faq-sidebar {
    display: block;
  }

  .faq-sidebar__contact {
    margin-top: 1.6rem;
  }

  .faq-toolbar {
    display: block;
  }

  .faq-toolbar__count {
    display: block;
    margin-top: 0.65rem;
  }

  .faq-item summary {
    grid-template-columns: 1.55rem minmax(0, 1fr) 2.1rem;
    gap: 0.65rem;
    min-height: 5rem;
    padding: 1rem;
  }

  .faq-item summary::after {
    width: 2rem;
    height: 2rem;
  }

  .faq-item__question {
    font-size: 0.95rem;
  }

  .faq-item__answer {
    margin: 0 1.1rem 0 3.2rem;
    padding-bottom: 1.35rem;
    font-size: 0.84rem;
  }

  .faq-cta {
    padding-block: 3.25rem;
  }

  .faq-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .faq-cta__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-page *,
  .faq-page *::before,
  .faq-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
