:root {
  --navy-950: #07111f;
  --navy-900: #0b1728;
  --navy-800: #10233b;
  --navy-700: #173052;
  --gold: #c8a65a;
  --gold-soft: #ead9a5;
  --cream: #f7f3ea;
  --cream-2: #fffaf0;
  --white: #ffffff;
  --ink: #152033;
  --muted: #667085;
  --line: rgba(16, 35, 59, 0.12);
  --font-serif: 'Noto Serif KR', Georgia, serif;
  --font-sans: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --max: 1120px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.18);
  --ease: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  padding-bottom: 66px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
}

.topbar__brand {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
}

.topbar__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.93) 0%, rgba(7, 17, 31, 0.78) 43%, rgba(7, 17, 31, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.15) 0%, rgba(7, 17, 31, 0.82) 100%),
    url('images/hero-bg.jpg') center / cover no-repeat;
  transform: scale(1.01);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto clamp(18px, 5vw, 72px) 0 auto;
  width: min(48vw, 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 166, 90, 0.8));
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 120px 0 78px;
}

.hero__badge,
.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(200, 166, 90, 0.52);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7.4vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
}

.hero__lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(1.22rem, 3vw, 2.05rem);
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: -0.035em;
}

.hero__sub {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.98rem, 2vw, 1.13rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 18px 42px rgba(200, 166, 90, 0.28);
}

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.btn--submit {
  width: 100%;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-head {
  max-width: 760px;
}

.section-head--compact {
  max-width: 620px;
}

.section-head__eyebrow {
  color: var(--gold);
  background: rgba(200, 166, 90, 0.08);
}

.section-head__title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
  color: var(--navy-950);
}

.section-head__desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.reason {
  background: var(--cream);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.reason-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.reason-card--strong {
  color: var(--white);
  border-color: rgba(200, 166, 90, 0.38);
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow);
}

.reason-card__kicker {
  display: block;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.reason-card h3 {
  margin-top: 46px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.reason-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.reason-card--strong p {
  color: rgba(255, 255, 255, 0.72);
}

.demand {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.94), rgba(16, 35, 59, 0.95)),
    url('images/hero-bg.jpg') center / cover no-repeat;
}

.demand .section-head__title {
  color: var(--white);
}

.demand__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.demand__lead {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.demand__note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--gold-soft);
  font-weight: 800;
}

.text-link::after {
  content: '→';
}

.demand-panel {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.demand-panel__item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.demand-panel__item:last-child {
  border-bottom: 0;
}

.demand-panel__item strong {
  color: var(--gold-soft);
}

.demand-panel__item span {
  color: rgba(255, 255, 255, 0.82);
}

.conditions {
  background: var(--cream-2);
}

.conditions__box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 58px rgba(7, 17, 31, 0.08);
}

.condition-list {
  display: grid;
  gap: 10px;
}

.condition-list li {
  position: relative;
  padding: 17px 18px 17px 42px;
  border: 1px solid rgba(200, 166, 90, 0.24);
  border-radius: var(--radius);
  background: #fffcf5;
  font-weight: 800;
}

.condition-list li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.target {
  background: var(--navy-950);
  color: var(--white);
}

.target .section-head__title {
  color: var(--white);
}

.target__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.target-list {
  display: grid;
  gap: 12px;
}

.target-list li {
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.form-section {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 166, 90, 0.13), transparent 34%),
    linear-gradient(145deg, var(--navy-900), var(--navy-950));
}

.form-section .section-head__title {
  color: var(--white);
}

.form-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.82fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.form-section__lead {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.form-section__tel {
  display: inline-block;
  margin-top: 26px;
  color: var(--gold-soft);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.consult-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-required {
  color: var(--gold-soft);
}

.form-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  outline: none;
  color: var(--white);
  background: rgba(7, 17, 31, 0.52);
  transition: border-color var(--ease), background var(--ease);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-input:focus {
  border-color: var(--gold);
  background: rgba(7, 17, 31, 0.72);
}

.form-input.is-error {
  border-color: #fda4af;
}

.form-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.65) 50%), linear-gradient(135deg, rgba(255, 255, 255, 0.65) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-select option {
  color: var(--white);
  background: var(--navy-900);
}

.form-textarea {
  min-height: 96px;
  resize: vertical;
}

.form-error {
  display: none;
  color: #fecdd3;
  font-size: 0.8rem;
}

.form-error.visible {
  display: block;
}

.form-group--checkbox {
  gap: 10px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox-custom {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.form-checkbox:checked + .form-checkbox-custom {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 4px var(--navy-950);
}

.form-checkbox:focus-visible + .form-checkbox-custom {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.form-checkbox-text {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-privacy-note {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.footer {
  padding: 44px 0 92px;
  color: rgba(255, 255, 255, 0.62);
  background: #050b14;
}

.footer__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
}

.footer__title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer__text {
  max-width: 760px;
  font-size: 0.82rem;
}

.footer__contact {
  text-align: right;
}

.footer__contact p,
.footer__contact small {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
}

.footer__contact a {
  display: block;
  margin: 4px 0 12px;
  color: var(--gold-soft);
  font-size: 1.45rem;
  font-weight: 800;
}

.mobile-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -12px 32px rgba(7, 17, 31, 0.28);
}

.mobile-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  font-weight: 900;
}

.mobile-cta__btn--form {
  color: var(--navy-950);
  background: var(--gold);
}

.mobile-cta__btn--tel {
  color: var(--white);
  background: var(--navy-800);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(6px);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  width: min(100%, 420px);
  padding: 38px 28px;
  border-radius: var(--radius);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold);
  font-weight: 900;
}

.modal__title {
  color: var(--navy-950);
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.modal__desc {
  margin: 12px 0 22px;
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .reason-grid,
  .demand__layout,
  .conditions__box,
  .target__layout,
  .form-section__layout,
  .footer__layout {
    grid-template-columns: 1fr;
  }

  .footer__contact {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .topbar {
    padding: 14px 14px;
  }

  .topbar__tel {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.86) 0%, rgba(7, 17, 31, 0.74) 48%, rgba(7, 17, 31, 0.96) 100%),
      url('images/hero-bg.jpg') center / cover no-repeat;
  }

  .hero__content {
    width: min(100% - 24px, var(--max));
    padding: 96px 0 92px;
  }

  .hero__title {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .hero__lead br,
  .hero__sub br {
    display: none;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .reason-card {
    min-height: auto;
  }

  .reason-card h3 {
    margin-top: 34px;
  }

  .demand-panel__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .conditions__box,
  .consult-form {
    padding: 22px 16px;
  }
}
