.faq-page {
  --faq-ink: #163e42;
  --faq-copy: #354f51;
  --faq-subtle: #506867;
  --faq-rule: #d5e1dd;
  background: #fafbf8;
}

.faq-page .site-header {
  background: #10383e;
}

.faq-page .site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #e3c39c;
  text-underline-offset: .4em;
}

.faq-hero {
  padding: clamp(7.8rem, 10vw, 9.2rem) 0 clamp(2.5rem, 5vw, 4.8rem);
  overflow: hidden;
  background: linear-gradient(111deg, #10383e 12%, #18494c 78%, #215256);
  color: #fff;
}

.faq-hero-inner {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.faq-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  margin-bottom: clamp(1.25rem, 2.6vw, 2.25rem);
  color: #d6e4df;
  font-size: .9rem;
}

.faq-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.faq-crumbs [aria-hidden] { color: #acc0b9; }

.faq-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.05rem, 5.8vw, 5.35rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.035em;
}

.faq-hero h1 em {
  display: block;
  color: #ead0ab;
  font-style: normal;
  font-weight: inherit;
}

.faq-hero .faq-intro {
  max-width: 45ch;
  margin: 1.4rem 0 0;
  color: #e3edeb;
  font-size: clamp(1.04rem, 1.45vw, 1.24rem);
  line-height: 1.65;
}

.faq-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.64;
  object-fit: cover;
  object-position: 70% 49%;
  border-radius: clamp(1.9rem, 4.5vw, 4.7rem) .7rem clamp(1.9rem, 4.5vw, 4.7rem) .7rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(12rem, .65fr) minmax(0, 2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(2.7rem, 5vw, 5.2rem) clamp(3rem, 6vw, 6rem);
}

.faq-contents {
  position: sticky;
  top: 6.8rem;
  align-self: start;
  min-width: 0;
}

.faq-contents-title {
  margin: 0 0 .8rem;
  color: var(--faq-ink);
  font-family: var(--display);
  font-size: 1.24rem;
  font-weight: 500;
}

.faq-contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #c1d2ca;
}

.faq-contents a {
  display: block;
  width: fit-content;
  padding: .47rem .96rem;
  color: var(--faq-copy);
  font-size: 1rem;
  line-height: 1.45;
  text-decoration: none;
}

.faq-contents a:is(:hover, :focus-visible) {
  color: #123e39;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.faq-groups, .faq-topic { min-width: 0; }
.faq-topic + .faq-topic { margin-top: clamp(2.8rem, 5.8vw, 5rem); }

.faq-topic h2, .faq-consult h2 {
  margin: 0;
  color: var(--faq-ink);
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.024em;
}

.faq-topic h2 {
  padding-bottom: 1.08rem;
  border-bottom: 1px solid #829f98;
}

.faq-topic details {
  border-bottom: 1px solid var(--faq-rule);
}

.faq-topic summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1.05rem .15rem 1.05rem 0;
  color: var(--faq-ink);
  font-family: var(--ui);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  font-weight: 500;
  line-height: 1.43;
  list-style: none;
  cursor: pointer;
}

.faq-topic summary::-webkit-details-marker { display: none; }
.faq-topic summary::marker { content: ''; }

.faq-topic summary .faq-toggle {
  display: grid;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  color: #356661;
  border: 1px solid #aec3b9;
  border-radius: 50%;
}

.faq-toggle::before, .faq-toggle::after {
  content: '';
  grid-area: 1 / 1;
  width: .65rem;
  height: 1.5px;
  background: currentColor;
}

.faq-toggle::after { transform: rotate(90deg); }
.faq-topic [open] > summary .faq-toggle::after { visibility: hidden; }
.faq-topic [open] > summary .faq-toggle { background: #e7efea; }
.faq-topic summary:hover span:first-child { text-decoration: underline; text-underline-offset: .2em; }

.faq-answer {
  padding: 0 clamp(.2rem, 3vw, 2.7rem) 1.4rem 0;
  color: var(--faq-copy);
  font-size: 1rem;
  line-height: 1.72;
  overflow-wrap: break-word;
}

.faq-answer p, .faq-answer ol { margin: 0; max-width: 72ch; }
.faq-answer p + p, .faq-answer ol + p, .faq-answer table { margin-top: .85rem; }
.faq-answer strong { font-weight: 600; color: #264948; }
.faq-answer a { color: #15554f; text-decoration: underline; text-underline-offset: .18em; }
.faq-answer a:hover { color: #173b3b; }
.faq-answer .faq-reading { font-size: .92rem; line-height: 1.65; }
.faq-reading span { margin-inline: .3rem; }
.faq-steps { padding-left: 1.55rem; }
.faq-steps li { padding-left: .18rem; }
.faq-steps li + li { margin-top: .48rem; }
.faq-steps li::marker { color: #41615b; font-weight: 600; }

.faq-prices { width: 100%; max-width: 37rem; border-collapse: collapse; text-align: left; }
.faq-prices caption { padding: .15rem 0 .6rem; color: var(--faq-subtle); text-align: left; font-size: .9rem; }
.faq-prices th, .faq-prices td { padding: .65rem .55rem; border-bottom: 1px solid var(--faq-rule); text-align: left; }
.faq-prices thead th { color: var(--faq-ink); background: #e9f0eb; font-size: .9rem; font-weight: 600; }
.faq-prices th[scope="row"] { font-weight: 500; }
.faq-prices small { display: block; color: var(--faq-subtle); font-size: .9rem; font-weight: 400; }
.faq-prices tr > :last-child { text-align: right; white-space: nowrap; }

.faq-consult { padding: clamp(2.5rem, 5vw, 4.6rem) 0; background: #e6eeea; }
.faq-consult .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.faq-consult h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); }
.faq-consult p { max-width: 58ch; margin: .7rem 0 0; color: var(--faq-copy); font-size: 1rem; line-height: 1.65; }
.faq-consult .cta-v33 { flex-shrink: 0; font-size: 1rem; }
.faq-page main :focus-visible { outline: 3px solid #276e6a; outline-offset: 3px; }
.faq-page .faq-hero :focus-visible { outline-color: #f1d4a8; }

@media (max-width: 850px) {
  .faq-layout { grid-template-columns: 1fr; gap: 2.35rem; }
  .faq-contents { position: static; }
  .faq-contents ul { display: flex; flex-wrap: wrap; gap: .45rem; border: 0; }
  .faq-contents a { display: flex; align-items: center; min-height: 2.75rem; padding: .4rem .85rem; border: 1px solid #b8cbc1; border-radius: 1.4rem; font-size: .94rem; }
}

@media (max-width: 650px) {
  .faq-hero { padding-top: 6.45rem; padding-bottom: 1.8rem; }
  .faq-hero-inner { grid-template-columns: 1fr; gap: 1.45rem; }
  .faq-hero h1 { font-size: clamp(2.8rem, 9.6vw, 3.7rem); }
  .faq-crumbs { margin-bottom: 1rem; }
  .faq-hero .faq-intro { margin-top: 1rem; }
  .faq-hero-photo { aspect-ratio: 2.65; object-position: 65% 45%; }
  .faq-layout { padding-top: 1.9rem; }
  .faq-consult .container { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

@media (max-width: 370px) {
  .faq-contents a, .faq-prices th, .faq-prices td { padding-inline: .47rem; }
}
