/*
   꿀클린 — field notes system
   A clean, editorial service layout: deep green structure, mint work surfaces,
   and amber actions. This layer intentionally replaces the previous visual system.
*/

:root {
  --c-canvas: #f2f5f4;
  --c-surface: #ffffff;
  --c-surface-alt: #e6efec;
  --c-brand-900: #102a2a;
  --c-brand-800: #16413d;
  --c-brand-700: #19766a;
  --c-brand-600: #248f80;
  --c-brand-500: #53b6a3;
  --c-brand-100: #d3eee7;
  --c-accent: #d97706;
  --c-accent-soft: #fff0d5;
  --c-ink: #142525;
  --c-body: #405452;
  --c-muted: #566966;
  --c-line: #c8d7d3;
  --c-line-strong: #6e918a;
  --c-on-dark: #f7fffd;
  --c-on-dark-muted: #c5ded8;
  --c-focus: #d97706;
  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --section-y: 104px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 42, 0.06), 0 8px 18px rgba(16, 42, 42, 0.05);
  --shadow-md: 0 16px 36px rgba(16, 42, 42, 0.11);
  --shadow-lg: 0 26px 70px rgba(16, 42, 42, 0.16);
}

body {
  background: var(--c-canvas);
  color: var(--c-body);
  letter-spacing: -0.025em;
}

.site-header {
  background: var(--c-brand-900);
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(16, 42, 42, 0.12);
}

.site-header__inner { min-height: 84px; }

.brand,
.brand:hover { color: var(--c-on-dark); }

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  background: var(--c-accent);
  color: var(--c-brand-900);
  transform: rotate(-4deg);
}

.brand__name { font-size: 21px; font-weight: 800; }
.brand__en { color: var(--c-on-dark-muted); letter-spacing: 0.2em; }
.nav__list { gap: var(--space-6); }

.nav__link {
  color: var(--c-on-dark-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.nav__link:hover,
.nav__item.is-current .nav__link {
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--c-accent);
}

.site-header__actions .btn--ghost {
  border-color: var(--c-on-dark-muted);
  background: transparent;
  color: var(--c-on-dark);
}

.site-header__actions .btn--ghost:hover {
  background: var(--c-on-dark);
  color: var(--c-brand-900);
}

.nav-drawer__toggle {
  border-color: var(--c-on-dark-muted);
  background: transparent;
  color: var(--c-on-dark);
}

.nav-drawer__bars,
.nav-drawer__bars::before,
.nav-drawer__bars::after { background: var(--c-accent); }

.nav-drawer__panel {
  background: var(--c-brand-900);
  border-color: var(--c-brand-700);
}

.nav-drawer__panel .nav__link {
  color: var(--c-on-dark);
  border-bottom-color: rgba(197, 222, 216, 0.2);
}

.hero {
  position: relative;
  padding: 112px 0 72px;
  background: var(--c-brand-900);
  color: var(--c-on-dark);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: -18vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(83, 182, 163, 0.26);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: var(--space-9);
}

.hero__title {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.075em;
}

.hero__title-line--accent { color: var(--c-accent); }

.hero__lead {
  max-width: 49ch;
  color: var(--c-on-dark-muted);
  font-size: var(--fs-md);
}

.hero__fact { color: var(--c-on-dark-muted); }
.hero__fact::before { color: var(--c-accent); }

.hero__panel {
  align-self: end;
  padding: var(--space-6);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  color: var(--c-body);
  box-shadow: var(--shadow-lg);
}

.hero__panel-media {
  margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-5);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.hero__panel-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__panel-title { color: var(--c-ink); font-size: var(--fs-xl); }

.hero__panel-note,
.price-list__key,
.price-list__note { color: var(--c-muted); }

.price-list { border-color: var(--c-line); }
.price-list__value { color: var(--c-brand-700); }

.kicker {
  color: var(--c-accent);
  letter-spacing: 0.22em;
}

.kicker::before {
  width: 28px;
  height: 3px;
  background: var(--c-accent);
}

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--c-surface-alt); }
.section--area { background: var(--c-brand-800); }

.section-head {
  max-width: 70ch;
  margin-bottom: var(--space-8);
}

.section-head__title {
  max-width: 13ch;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.section-head__lead { max-width: 54ch; }
.facts { background: var(--c-surface); border-color: var(--c-line); }
.facts__list { gap: 0; }

.facts__item {
  min-height: 76px;
  padding-inline: var(--space-5);
  border-left: 1px solid var(--c-line);
}

.facts__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.facts__item:first-child .facts__key { color: var(--c-accent); }

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.card {
  min-height: 276px;
  padding: var(--space-6);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-brand-500);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
}

.card:nth-child(3n) { border-top-color: var(--c-accent); }

.card:hover {
  transform: translateY(-5px);
  border-color: var(--c-brand-600);
  box-shadow: var(--shadow-md);
}

.card__num {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  background: var(--c-brand-100);
  color: var(--c-brand-800);
}

.step-list { gap: 0; }

.step {
  min-height: 174px;
  padding: var(--space-5);
  border-top: 1px solid var(--c-line-strong);
  border-left: 1px solid var(--c-line);
}

.step:first-child { border-left: 0; }
.step__num { color: var(--c-accent); }
.space-grid { gap: var(--space-4); }

.space-card__canvas,
.reference-card__canvas {
  border-radius: var(--radius-sm);
  background: var(--c-brand-100);
}

.space-card__image,
.reference-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: saturate(0.92) contrast(1.02);
}

.principle,
.manage-card,
.clause,
.faq__item,
.legal__aside,
.quote__aside,
.form,
.scope__col {
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.principle { border-left: 4px solid var(--c-brand-500); }
.principle:nth-child(2n) { border-left-color: var(--c-accent); }

.faq__item[open] {
  border-color: var(--c-brand-600);
  box-shadow: var(--shadow-sm);
}

.area__tag { border-radius: var(--radius-xs); }

.area__tag:first-child {
  background: var(--c-accent);
  color: var(--c-brand-900);
}

.cta-band { background: var(--c-accent); color: var(--c-brand-900); }
.cta-band__title { color: var(--c-brand-900); }

.cta-band__text,
.cta-band .kicker { color: #5a3507; }

.cta-band .kicker::before { background: #5a3507; }

.cta-band .btn--outline-light {
  border-color: var(--c-brand-900);
  color: var(--c-brand-900);
}

.cta-band .btn--outline-light:hover {
  background: var(--c-brand-900);
  color: #fff;
}

.btn { border-radius: var(--radius-xs); font-weight: 700; }

.btn--solid {
  background: var(--c-accent);
  color: var(--c-brand-900);
}

.btn--solid:hover { background: #f59e0b; color: var(--c-brand-900); }
.btn--ghost { border-color: var(--c-line-strong); }
.btn--light { background: var(--c-brand-100); color: var(--c-brand-900); }

.form {
  border-top: 4px solid var(--c-brand-700);
  box-shadow: var(--shadow-md);
}

.fieldset {
  border-color: var(--c-line);
  border-radius: var(--radius-xs);
  background: var(--c-canvas);
}

.field__input { border-radius: var(--radius-xs); background: #fff; }
.form__consent { border-radius: var(--radius-xs); background: var(--c-surface-alt); }

.page-hero,
.region-hero { background: var(--c-surface-alt); }

.page-hero { border-bottom: 0; }

.region-hero__media {
  border-radius: var(--radius-sm);
  border: 8px solid var(--c-surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.region-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.region-hero__title-line--accent { color: var(--c-accent); }
.site-footer { background: var(--c-brand-900); }
.site-footer__brandline .brand__mark { background: var(--c-accent); }

.catalog__head {
  max-width: 760px;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.city-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.city-directory__card {
  position: relative;
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.5rem;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  background: var(--c-brand-900);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.city-directory__card:hover {
  background: var(--c-brand-700);
  transform: translateY(-3px);
}

.city-directory__eyebrow {
  color: var(--c-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.city-directory__title {
  margin-top: auto;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  letter-spacing: -0.04em;
}

.city-directory__desc { max-width: 32rem; color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.city-directory__arrow { position: absolute; top: 1.35rem; right: 1.5rem; color: var(--c-accent); font-size: 1.4rem; }
.city-directory__backline { margin: -2rem 0 2rem; }
.city-directory__backline a { color: var(--c-teal-dark); font-weight: 800; text-decoration: none; }

.catalog-group {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}

.catalog-group__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.catalog-group__title {
  margin: 0;
  color: var(--c-ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.catalog-grid { align-items: stretch; }

.catalog-card {
  min-height: 13rem;
  padding: 0;
}

.catalog-card__link {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.45rem;
  color: inherit;
  text-decoration: none;
}

.catalog-card__arrow {
  align-self: flex-end;
  color: var(--c-teal);
  font-size: 1.35rem;
  line-height: 1;
}

.catalog-card .card__title { margin-top: 1.2rem; }
.catalog-card .card__text { margin-bottom: 1rem; }

.catalog-card__cta {
  margin-top: auto;
  color: var(--c-teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.related-services__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related-services__group {
  padding: 1.25rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
}

/* Keep the branded hero responsive after the desktop overrides above. */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }
}

.related-services__title {
  margin: 0 0 0.75rem;
  color: var(--c-ink);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.related-services__list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-services__link {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.42rem 0;
  color: var(--c-ink-soft);
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.related-services__link:hover {
  color: var(--c-teal-dark);
  border-bottom-color: var(--c-accent);
}

.related-services__link span { color: var(--c-teal); }

@media (max-width: 900px) {
  .city-directory { grid-template-columns: 1fr; }
  .related-services__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .related-services__groups { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .facts__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .hero { padding-top: 80px; }
  .hero__title { max-width: 12ch; }
}

@media (max-width: 720px) {
  :root { --section-y: 68px; }
  .hero { padding: 72px 0 40px; }
  .hero__title {
    max-width: none;
    font-size: clamp(40px, 9vw, 56px);
    line-height: 1.08;
  }
  .hero__lead { max-width: none; }
  .hero__panel { margin-top: var(--space-2); }

  .facts__item,
  .facts__item:nth-child(3) {
    padding: var(--space-4) 0;
    border-left: 0;
    border-top: 1px solid var(--c-line);
  }

  .facts__item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .card { min-height: 0; }
  .step { min-height: 0; border-left: 0; }
  .region-hero__media { border-width: 4px; }
}
