@font-face {
  font-family: "엄마사랑 손글씨";
  src: url("/assets/gaegu-wordmark.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard Home";
  src: url("/assets/pretendard-compact.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
.home-page {
  --ink: #382f29;
  --green: #944b39;
  --muted: #6c5e53;
  --cream: #fffaf4;
  --line: #e7dcd0;
  --pale: #f5eadd;
  --white: #fffdfa;
  --accent: #944b39;
  --accent-hover: #793b2b;
  font-family: "Pretendard Home", Pretendard, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
.home-page .container {
  width: min(1080px, calc(100% - 64px));
}
.home-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  background: var(--cream);
  border-color: var(--line);
  backdrop-filter: none;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: "엄마사랑 손글씨", "Apple SD Gothic Neo", sans-serif;
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark span {
  color: var(--accent);
  font-family: "Pretendard Home", Pretendard, sans-serif;
  font-size: 0.56em;
  letter-spacing: 0;
}
.home-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.home-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 650;
}
.home-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
html:has(.home-page) {
  scroll-padding-top: 92px;
}
.home-page main [id] {
  scroll-margin-top: 0;
}
.home-page main h2 {
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.3;
  font-weight: 740;
  letter-spacing: -0.045em;
}
.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(285px, 1fr);
  align-items: center;
  gap: 36px 64px;
  padding-block: 48px 42px;
}
.welcome-kicker,
.section-kicker {
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.welcome-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.welcome-kicker > span {
  width: 7px;
  height: 7px;
  background: #b58665;
  border-radius: 50%;
}
.welcome h1 {
  font-size: clamp(36px, 4.3vw, 54px);
  font-weight: 770;
  line-height: 1.2;
  letter-spacing: -0.06em;
}
.welcome h1 .hero-ending {
  color: inherit;
}
.welcome-intro {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}
.welcome-intro strong {
  color: var(--ink);
  font-weight: 650;
}
.consult-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
.welcome .consult-actions {
  margin-top: 25px;
}
.consult-primary,
.consult-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease;
}
.consult-primary {
  background: var(--accent);
  color: #fff;
}
.consult-primary:hover {
  background: var(--accent-hover);
}
.consult-phone {
  background: var(--white);
  border-color: #d5b8a4;
  color: var(--accent-hover);
}
.consult-phone:hover {
  background: var(--pale);
  border-color: #b8896e;
}
.consult-phone strong {
  white-space: nowrap;
  font-weight: 700;
}
.consult-actions .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}
.welcome-card {
  position: relative;
  padding: 29px 30px 0;
  border: 1px solid #dfc9b7;
  border-radius: 18px;
  background: #f7eee3;
  box-shadow: 0 5px 0 #f0e3d5;
}
.welcome-card-label {
  font-size: 15px;
  color: var(--muted);
}
.welcome-card-service {
  margin-top: 12px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.welcome-card-price {
  color: var(--accent);
  font-size: 54px;
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.welcome-card-price > span {
  font-size: 24px;
  margin-left: 3px;
}
.welcome-price-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 650;
}
.welcome-price-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.welcome-price-link > span {
  font-size: 24px;
}
.welcome-fees {
  border-top: 1px solid #ddc9b8;
  margin-top: 15px;
  padding-block: 15px;
  font-size: 14px;
  color: var(--muted);
}
.service-pricing {
  padding-block: 39px 43px;
  background: var(--white);
  border-block: 1px solid var(--line);
}
.compact-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 23px;
}
.compact-heading > p {
  color: var(--muted);
  font-size: 16px;
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.care-grid li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}
.care-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 42px;
  flex: 0 0 36px;
  color: var(--accent);
}
.care-icon .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.5;
}
.care-grid h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.care-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 3px;
}
.rates-block {
  margin-top: 37px;
}
.rates-heading {
  margin-bottom: 19px;
}
.rates-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.35fr);
  gap: 30px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.short-rates {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.partial-rate > span {
  font-size: 17px;
  font-weight: 650;
}
.partial-rate > strong {
  display: block;
  font-size: 33px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.partial-rate small {
  font-size: 20px;
  margin-left: 3px;
}
.partial-rate > p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
}
.extra-rates {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.extra-rates > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
  padding-block: 5px;
}
.extra-rates dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cooking-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}
.rates-table caption {
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 13px;
}
.rates-table thead {
  background: #f0e4d7;
}
.rates-table th,
.rates-table td {
  text-align: center;
  padding: 12px 8px;
  border-bottom: 1px solid #e4d7c9;
}
.rates-table thead th {
  font-size: 15px;
  font-weight: 650;
}
.rates-table tbody th {
  font-size: 15px;
  font-weight: 550;
}
.rates-table tbody th > span {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.rates-table td {
  font-weight: 650;
  white-space: nowrap;
}
.rates-table th:first-child {
  width: 34%;
}
.rates-condition {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.rates-confirmation {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}
.rates-confirmation .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 3px;
}
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  padding-block: 48px;
}
.about-copy .section-kicker {
  margin-bottom: 10px;
}
.about-description {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  max-width: 38ch;
}
.team-facts {
  display: flex;
  gap: 33px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.team-facts li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.team-facts strong {
  color: var(--accent);
  font-size: 27px;
  font-weight: 740;
  line-height: 1.4;
  letter-spacing: -0.035em;
}
.team-facts span {
  color: var(--muted);
  font-size: 14px;
}
.manager-name {
  font-size: 15px;
  color: var(--muted);
  margin-top: 21px;
}
.manager-name strong {
  color: var(--ink);
  font-weight: 650;
  margin-left: 6px;
}
.usage-guide {
  padding-top: 3px;
}
.usage-guide h3 {
  font-size: 20px;
  margin-bottom: 11px;
  font-weight: 700;
}
.guide-detail {
  border-bottom: 1px solid var(--line);
}
.guide-detail:first-of-type {
  border-top: 1px solid var(--line);
}
.guide-detail > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 57px;
  padding-block: 13px;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.guide-detail > summary::-webkit-details-marker {
  display: none;
}
.guide-detail summary > span {
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}
.guide-detail[open] summary > span {
  transform: rotate(45deg);
}
.guide-detail summary:hover {
  color: var(--accent);
}
.guide-detail > div {
  padding-bottom: 18px;
  font-size: 16px;
  color: var(--muted);
}
.guide-detail p + p {
  margin-top: 8px;
}
.guide-detail ul {
  margin: 0;
  padding-left: 20px;
}
.guide-detail li + li {
  margin-top: 7px;
}
.consult-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 29px 32px;
  border: 1px solid #e0cbb9;
  border-radius: 16px;
  background: var(--pale);
  margin-bottom: 42px;
}
.consult-bottom .section-kicker {
  margin-bottom: 6px;
}
.home-page .consult-bottom h2 {
  font-size: 29px;
}
.consult-bottom h2 + p {
  margin-top: 7px;
  font-size: 16px;
  color: var(--muted);
}
.home-footer {
  background: #f8efe5;
  border-top: 1px solid var(--line);
}
.home-footer-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 18px 26px;
  padding-block: 27px 20px;
  color: var(--muted);
  font-size: 15px;
}
.home-footer .wordmark {
  font-size: 35px;
}
.home-footer .wordmark + p {
  margin-top: 8px;
  font-size: 14px;
}
.business-info {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 22px;
  margin: 0;
  align-content: start;
}
.business-info > div {
  display: flex;
  gap: 7px;
}
.business-info dt {
  font-weight: 650;
  color: var(--ink);
}
.business-info dd {
  margin: 0;
}
.footer-bottom-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.footer-legal {
  margin: 0;
  font-size: 14px;
}
.home-footer .footer-link {
  font-size: inherit;
  color: var(--muted);
  margin-left: 10px;
}
/* The three-step inquiry keeps its existing fields and behavior. */
.home-page .dialog-header {
  justify-content: flex-end;
  margin-bottom: 3px;
}
.home-page .quote-dialog .dialog-description,
.home-page .quote-step .field label,
.home-page .quote-group legend,
.home-page .quote-choice > span,
.home-page .quote-navigation > .button {
  font-size: 16px;
}
.home-page .quote-step .field input,
.home-page .quote-step .field select,
.home-page .quote-step .field textarea {
  font-size: 16px;
  border-color: var(--line);
}
.home-page .quote-choice > span {
  border-color: var(--line);
}
.home-page .quote-choice input:checked + span,
.home-page .quote-estimate {
  background: var(--pale);
  border-color: #d4ad98;
}
.home-page .quote-estimate p,
.home-page .quote-hint,
.home-page .form-note,
.home-page .consent-label,
.home-page .quote-validation,
.home-page .form-status,
.home-page .info-content p {
  font-size: 15px;
  color: var(--muted);
}
.home-page .quote-validation {
  color: var(--accent);
}
.home-page .button-primary:hover {
  background: var(--accent-hover);
}
.home-page .quote-bottom-note {
  font-size: 14px;
}
.home-page .quote-dialog .icon-button {
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 960px) {
  .welcome {
    gap: 30px;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  }
  .welcome-card {
    padding: 24px 23px 0;
  }
  .care-grid {
    gap: 10px;
  }
  .care-grid li {
    gap: 8px;
    padding: 14px 10px;
  }
  .care-icon {
    flex-basis: 27px;
    width: 27px;
  }
  .care-grid h3 {
    font-size: 17px;
  }
  .rates-layout {
    gap: 23px;
    padding: 22px;
  }
  .short-rates {
    padding-right: 20px;
  }
  .about-section {
    gap: 40px;
  }
  .consult-bottom {
    padding: 25px;
  }
}
@media (max-width: 760px) {
  .home-page .container {
    width: calc(100% - 40px);
  }
  .welcome {
    grid-template-columns: 1fr;
    padding-block: 31px 30px;
    gap: 24px;
  }
  .welcome h1 {
    font-size: clamp(34px, 7.2vw, 48px);
  }
  .welcome-intro {
    margin-top: 16px;
  }
  .welcome .consult-actions {
    margin-top: 21px;
  }
  .welcome-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0 12px;
    padding: 18px 21px 0;
    border-radius: 13px;
  }
  .welcome-card-label {
    grid-column: 1;
    font-size: 14px;
  }
  .welcome-card-service {
    grid-column: 1;
    margin-top: 4px;
    font-size: 19px;
  }
  .welcome-card-price {
    grid-column: 1;
    font-size: 39px;
  }
  .welcome-card-price > span {
    font-size: 21px;
  }
  .welcome-price-link {
    grid-column: 2;
    grid-row: 2 / 4;
    margin: 0;
    font-size: 15px;
    gap: 8px;
    white-space: nowrap;
  }
  .welcome-fees {
    grid-column: 1 / -1;
    padding-block: 11px;
    margin-top: 11px;
  }
  .care-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .care-grid li {
    padding: 16px;
    gap: 10px;
  }
  .rates-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .short-rates {
    border-right: 0;
    padding-right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .extra-rates {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 0 20px;
    margin: 0;
    align-self: center;
  }
  .cooking-note {
    grid-column: 1 / -1;
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
  }
  .rates-table caption {
    padding-top: 2px;
  }
  .rates-confirmation {
    justify-content: flex-start;
  }
  .about-section {
    padding-block: 35px;
    gap: 26px;
    grid-template-columns: 1fr;
  }
  .desktop-break {
    display: none;
  }
  .about-description {
    max-width: none;
    margin-top: 10px;
  }
  .team-facts {
    margin-top: 17px;
    gap: 36px;
  }
  .manager-name {
    margin-top: 15px;
  }
  .consult-bottom {
    margin-bottom: 30px;
    gap: 19px;
  }
  .home-footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  html:has(.home-page) {
    scroll-padding-top: 80px;
  }
  .home-page {
    font-size: 17px;
    padding-bottom: 0;
  }
  .home-page .container {
    width: calc(100% - 36px);
  }
  .home-page .site-header {
    height: 64px;
  }
  .home-page .header-inner {
    gap: 8px;
  }
  .wordmark {
    font-size: 34px;
  }
  .home-nav {
    gap: 16px;
  }
  .home-nav a {
    font-size: 14px;
  }
  .welcome {
    padding-block: 28px;
    gap: 21px;
  }
  .welcome-kicker {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .welcome h1 {
    font-size: clamp(30px, 8.8vw, 42px);
  }
  .hero-ending {
    display: block;
  }
  .welcome-intro {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 15px;
  }
  .welcome-intro strong {
    display: inline;
  }
  .consult-actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    width: 100%;
    gap: 8px;
  }
  .consult-primary,
  .consult-phone {
    padding: 10px 8px;
    font-size: 16px;
    gap: 6px;
  }
  .consult-phone strong {
    display: block;
    font-size: 15px;
  }
  .consult-phone .icon {
    width: 17px;
    height: 17px;
  }
  .welcome-card {
    padding: 15px 17px 0;
  }
  .welcome-card-service {
    font-size: 18px;
  }
  .welcome-card-price {
    font-size: 36px;
  }
  .welcome-price-link {
    font-size: 14px;
    gap: 4px;
  }
  .welcome-price-link > span {
    font-size: 21px;
  }
  .welcome-fees {
    font-size: 13px;
  }
  .home-page main h2 {
    font-size: 26px;
  }
  .service-pricing {
    padding-block: 28px;
  }
  .compact-heading {
    gap: 5px;
    margin-bottom: 17px;
  }
  .compact-heading > p {
    font-size: 15px;
  }
  .care-grid {
    gap: 9px;
  }
  .care-grid li {
    align-items: flex-start;
    gap: 9px;
    padding: 14px 11px;
  }
  .care-icon {
    width: 23px;
    flex-basis: 23px;
    height: 28px;
  }
  .care-icon .icon {
    width: 23px;
    height: 23px;
  }
  .care-grid h3 {
    font-size: 17px;
  }
  .care-grid p {
    font-size: 14px;
  }
  .rates-block {
    margin-top: 27px;
  }
  .rates-layout {
    padding: 17px 14px;
    gap: 20px;
    border-radius: 12px;
  }
  .short-rates {
    gap: 0 14px;
  }
  .partial-rate > span {
    font-size: 15px;
  }
  .partial-rate > strong {
    font-size: 29px;
  }
  .partial-rate small {
    font-size: 17px;
  }
  .partial-rate > p {
    font-size: 14px;
  }
  .extra-rates {
    padding-left: 14px;
  }
  .extra-rates > div {
    display: block;
    font-size: 15px;
    padding-block: 4px;
  }
  .extra-rates dd {
    font-size: 16px;
  }
  .rates-table {
    font-size: 16px;
  }
  .rates-table th,
  .rates-table td {
    padding: 12px 3px;
  }
  .rates-table thead th,
  .rates-table tbody th {
    font-size: 14px;
  }
  .rates-table tbody th > span {
    font-size: 13px;
  }
  .rates-table caption {
    font-size: 16px;
  }
  .rates-condition,
  .rates-confirmation {
    font-size: 14px;
  }
  .about-description {
    font-size: 16px;
  }
  .team-facts {
    gap: 28px;
  }
  .team-facts strong {
    font-size: 26px;
  }
  .guide-detail > summary {
    font-size: 16px;
  }
  .consult-bottom {
    padding: 23px 19px;
  }
  .home-page .consult-bottom h2 {
    font-size: 25px;
  }
  .consult-bottom h2 + p {
    font-size: 15px;
  }
  .home-footer-inner {
    padding-block: 24px 18px;
  }
}
@media (max-width: 350px) {
  .home-page .container {
    width: calc(100% - 28px);
  }
  .wordmark {
    font-size: 31px;
  }
  .home-nav {
    gap: 12px;
  }
  .home-nav a {
    font-size: 13px;
  }
  .care-grid li {
    display: block;
  }
  .care-icon {
    margin-bottom: 4px;
  }
  .rates-layout {
    padding-inline: 10px;
  }
  .rates-table {
    font-size: 15px;
  }
  .consult-actions {
    grid-template-columns: 1fr 1.35fr;
  }
  .consult-phone strong {
    font-size: 14px;
  }
  .consult-phone .icon {
    display: none;
  }
  .welcome-price-link {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.home-page) {
    scroll-behavior: auto;
  }
  .consult-primary,
  .consult-phone {
    transition: none;
  }
}

.admin-entry {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.admin-entry:hover,
.admin-entry:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}
.admin-entry svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-page .receipt-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 32px 24px 24px;
  text-align: center;
  border-radius: 24px;
  color: var(--ink);
  background: var(--cream);
}
.success-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
}
.success-mark .icon { width: 32px; height: 32px; }
.home-page .receipt-dialog h2 { margin: 0 0 14px; font-size: 26px; }
.receipt-dialog p { margin: 0; }
.receipt-dialog #success-description,
.receipt-dialog #phone-confirm-description { font-size: 18px; line-height: 1.7; }
.receipt-dialog .contact-phone {
  margin: 18px 0;
  color: var(--accent);
  font-size: clamp(24px, 7vw, 32px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.receipt-dialog .success-note { margin: 22px 0; font-size: 15px; color: var(--muted); }
.receipt-dialog .button { width: 100%; min-height: 52px; font-size: 18px; }
.phone-confirm-actions { display: grid; gap: 10px; margin-top: 24px; }
