/* Page styles (hero / sections / cards) */
.heroSection {
  position: relative;
  min-height: 100dvh;
}

.heroFigure {
  height: 100dvh;
  overflow: hidden;
}

.heroImage {
  height: 100dvh;
  object-fit: cover;
}

.heroOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  background: linear-gradient(
    135deg,
    oklch(from #f98339 l c h / 0.35) 0%,
    oklch(from #f94346 l c h / 0.18) 45%,
    oklch(from #000 l c h / 0.12) 100%
  );
}

.heroCopy {
  width: 50%;
  margin-inline-start: auto;
  color: oklch(from #fbfbfb l c h / 1);
  word-break: auto-phrase;
}

.heroKicker {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: clamp(14px, calc(13.2px + 0.25vw), 18px);
  margin-block-end: 10px;
  text-shadow: 2px 2px 8px var(--ink);
}

.heroTitle {
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: clamp(28px, calc(25.6px + 0.75vw), 40px);
  line-height: 1.15;
  margin-block-end: 12px;
  text-shadow: 2px 2px 8px var(--ink);
}

.heroSubtitle {
  font-weight: 800;
  font-size: clamp(15px, calc(14px + 0.3125vw), 20px);
  line-height: 1.7;
  color: oklch(from #fbfbfb l c h / 0.96);
  text-shadow: 2px 2px 8px var(--ink);
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 22px;
}

.heroPrimaryButton,
.heroSecondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  font-size: clamp(14px, calc(13.6px + 0.125vw), 16px);
  border: 1px solid transparent;
}

.heroPrimaryButton {
  background: oklch(from #f9a94e l c h / 0.95);
  color: oklch(from #fbfbfb l c h / 1);
  box-shadow: 0 12px 32px oklch(from #f9a94e l c h / 0.25);
}

.heroPrimaryButton:hover {
  background: oklch(from #f98339 l c h / 0.95);
}

.heroSecondaryButton {
  background: oklch(from #fbfbfb l c h / 0.1);
  border-color: oklch(from #fbfbfb l c h / 0.26);
  color: oklch(from #fbfbfb l c h / 0.97);
}

.heroSecondaryButton:hover {
  background: oklch(from #fbfbfb l c h / 0.16);
}

.pageSection {
  padding-block: 64px;
  background: var(--paper);
  scroll-margin-top: 80px;
}

.pageSectionAlt {
  background: color-mix(in oklch, var(--paper) 92%, var(--warm2) 8%);
}

.sectionInner {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

.sectionTitle {
  color: var(--warm3);
  font-size: clamp(22px, calc(20px + 0.625vw), 32px);
  font-weight: 950;
  margin-block-end: 10px;
  > span {
    display: inline-block;
  }
}

.sectionLead {
  font-size: clamp(14px, calc(13.2px + 0.25vw), 18px);
  line-height: 1.8;
  color: oklch(from #333 l c h / 0.9);
  font-weight: 800;
  margin-block-end: 26px;
}

.newsList {
  display: grid;
  gap: 10px 0;
}

.newsItem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid oklch(from #333 l c h / 0.1);
  background: oklch(from #fbfbfb l c h / 0.85);
}

.newsDate {
  font-weight: 950;
  font-size: clamp(13px, calc(12.6px + 0.125vw), 15px);
  color: oklch(from #333 l c h / 0.75);
}

.newsText {
  font-weight: 850;
  font-size: clamp(14px, calc(13.2px + 0.25vw), 16px);
  color: var(--ink);
}

.reasonGrid,
.serviceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.serviceCard {
  border-radius: var(--radius);
  border: 1px solid oklch(from #333 l c h / 0.1);
  background: oklch(from #fbfbfb l c h / 0.92);
  overflow: hidden;
  box-shadow: 0 10px 26px oklch(from #000 l c h / 0.04);
}

.serviceCardFigure {
  margin: 0;
}

.serviceCardFigure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.serviceCardTitle {
  font-size: clamp(18px, calc(17.2px + 0.25vw), 22px);
  font-weight: 950;
  letter-spacing: -0.02em;
  padding: 16px 16px 6px;
  color: var(--ink);
}

.serviceCardText {
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  font-weight: 800;
  line-height: 1.8;
  padding: 0 16px 18px;
  color: oklch(from #333 l c h / 0.86);
}

#faqSection {
  > .sectionInner {
    display: grid;
    grid-template-columns: 1fr 60%;
    gap: 16px;
    > .sectionTitle,
    .sectionLead {
      grid-column: 1/3;
    }
    > img {
      align-self: end;
    }
  }
}

.faqList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faqItem {
  border-radius: var(--radius);
  border: 1px solid oklch(from #333 l c h / 0.1);
  background: oklch(from #fbfbfb l c h / 0.88);
  padding: 16px;
}

.faqQuestion {
  font-size: clamp(16px, calc(15.2px + 0.25vw), 20px);
  font-weight: 950;
  margin-block-end: 8px;
  color: var(--ink);
}

.faqAnswer {
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  font-weight: 800;
  line-height: 1.8;
  color: oklch(from #333 l c h / 0.86);
}

#flowSection {
  > .sectionInner {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 16px;
    > .sectionTitle,
    .sectionLead {
      grid-column: 1/3;
    }
    > img {
      align-self: end;
    }
  }
}

.flowList {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.flowItem {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid oklch(from #333 l c h / 0.1);
  background: oklch(from #fbfbfb l c h / 0.88);
}

.flowBadge {
  flex: 0 0 auto;
  font-weight: 950;
  font-size: clamp(12px, calc(11.6px + 0.125vw), 14px);
  letter-spacing: 0.05em;
  padding: 10px 12px;
  border-radius: 100vmax;
  background: color-mix(in oklch, var(--warm1) 30%, var(--paper) 70%);
  color: oklch(from #333 l c h / 0.9);
  border: 1px solid oklch(from #333 l c h / 0.1);
}

.flowTitle {
  font-size: clamp(16px, calc(15.2px + 0.25vw), 20px);
  font-weight: 950;
  margin-block-end: 6px;
  color: var(--ink);
}

.flowText {
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  font-weight: 800;
  line-height: 1.8;
  color: oklch(from #333 l c h / 0.86);
}

.pricingGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricingCard {
  border-radius: var(--radius);
  border: 1px solid oklch(from #333 l c h / 0.1);
  background: oklch(from #fbfbfb l c h / 0.9);
  padding: 18px;
}

.pricingCardTitle {
  font-size: clamp(18px, calc(17.2px + 0.25vw), 22px);
  font-weight: 950;
  margin-block-end: 8px;
  color: var(--ink);
}

.pricingCardPrice {
  font-size: clamp(22px, calc(21px + 0.625vw), 30px);
  font-weight: 1000;
  color: oklch(from #f94346 l c h / 0.95);
  margin-block-end: 10px;
}

.pricingCardText {
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  font-weight: 800;
  line-height: 1.8;
  color: oklch(from #333 l c h / 0.86);
  margin-block-end: 14px;
}

.pricingCardButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 950;
  background: oklch(from #f9c54e l c h / 0.35);
  border: 1px solid oklch(from #f9c54e l c h / 0.55);
  color: oklch(from #333 l c h / 0.95);
}

.pricingCardButton:hover {
  background: oklch(from #f98339 l c h / 0.32);
}

.companyWrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.companyFigure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid oklch(from #333 l c h / 0.1);
}

.companyFigure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.companyTable {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid oklch(from #333 l c h / 0.1);
  background: oklch(from #fbfbfb l c h / 0.88);
}

.companyTh,
.companyTd {
  padding: 14px 14px;
  border-block-end: 1px solid oklch(from #333 l c h / 0.08);
}

.companyTh {
  width: 34%;
  font-weight: 950;
  color: oklch(from #333 l c h / 0.85);
  background: color-mix(in oklch, var(--warm3) 18%, var(--paper) 82%);
  font-size: clamp(13px, calc(12.6px + 0.125vw), 15px);
}

.companyTd {
  font-weight: 850;
  color: oklch(from #333 l c h / 0.88);
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  line-height: 1.8;
}

.consultGrid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0 16px;
}

.consultCard {
  display: grid;
  align-items: center;
}

.consultCard,
.consultAside {
  border-radius: var(--radius);
  border: 1px solid oklch(from #333 l c h / 0.1);
  background: oklch(from #fbfbfb l c h / 0.9);
  padding: 18px;
}

.consultCardTitle {
  font-size: clamp(18px, calc(17.2px + 0.25vw), 22px);
  font-weight: 950;
  margin-block-end: 12px;
  color: var(--ink);
}

.consultForm {
  display: grid;
  gap: 16px 0;
}

.formLabel {
  font-weight: 950;
  font-size: clamp(13px, calc(12.6px + 0.125vw), 15px);
  color: var(--ink);
}

.formInput,
.formSelect,
.formTextarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid oklch(from #333 l c h / 0.16);
  background: oklch(from #fbfbfb l c h / 0.92);
  padding: 12px;
  font-weight: 500;
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
}

.formSelect {
  color: var(--ink);
}

.formTextarea {
  resize: vertical;
  min-height: 140px;
  field-sizing: content;
}

.formInput:focus,
.formSelect:focus,
.formTextarea:focus {
  outline: 3px solid oklch(from #f94346 l c h / 0.28);
  outline-offset: 2px;
}

.formPrivacy {
  padding: 10px 12px;
  border-radius: 14px;
  background: color-mix(in oklch, var(--warm1) 14%, var(--paper) 86%);
  border: 1px solid oklch(from #f9c54e l c h / 0.28);
}

.formPrivacyText {
  font-weight: 850;
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  color: oklch(from #333 l c h / 0.88);
  line-height: 1.8;
}

.formSubmitButton {
  width: 100%;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid oklch(from #f9c54e l c h / 0.55);
  color: var(--ink);
  background: oklch(from #f9c54e l c h / 0.45);
  font-weight: 1000;
  font-size: clamp(14px, calc(13.6px + 0.125vw), 16px);
}

.formSubmitButton:hover {
  background: oklch(from #f98339 l c h / 0.35);
}

.consultAsideTitle {
  color: var(--ink);
  font-size: clamp(18px, calc(17.2px + 0.25vw), 22px);
  font-weight: 950;
  margin-block-end: 10px;
}

.consultAsideList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block-end: 12px;
}

.consultAsideItem {
  font-weight: 900;
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  color: oklch(from #333 l c h / 0.86);
  line-height: 1.6;
}

.consultAsideFigure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.consultAsideFigure img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center 0;
}

.consultAsideNote {
  margin-block-start: 12px;
  font-weight: 900;
  font-size: clamp(13px, calc(12.4px + 0.1875vw), 16px);
  line-height: 1.8;
  color: oklch(from #333 l c h / 0.86);
}

/* mobile */

@media (width < 768px) {
  .heroCopy {
    width: 100%;
    margin-inline: auto;
  }

  .pageSection {
    padding-block: 56px;
  }

  .reasonGrid,
  .serviceGrid {
    grid-template-columns: 1fr;
  }

  .serviceCardFigure img {
    height: 220px;
  }

  #faqSection {
    > .sectionInner {
      grid-template-columns: 1fr 40%;
      > .sectionTitle,
      .sectionLead {
        grid-column: 1/2;
      }
      > img {
        grid-column: 2;
        grid-row: 1/3;
        align-self: start;
      }
    }
  }

  .faqList {
    grid-column: 1/3;
  }

  #flowSection {
    > .sectionInner {
      grid-template-columns: 40% 1fr;
      > .sectionTitle,
      .sectionLead {
        grid-column: 2/3;
      }
      > img {
        grid-row: 1/3;
        align-self: start;
      }
    }
  }

  .flowList {
    grid-column: 1/3;
  }

  .pricingGrid {
    grid-template-columns: 1fr;
  }

  .consultGrid {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .consultAside {
    display: grid;
    grid-template-columns: 1fr 45%;
  }

  .consultAsideTitle,
  .consultAsideList {
    grid-column: 1/2;
  }

  .consultAsideList {
    gap: 6px 0;
    margin-block-end: 0;
  }

  .consultAsideFigure {
    grid-column: 2;
    grid-row: 1/3;
  }

  .consultAsideNote {
    grid-column: 1/3;
  }
}
