:root {
  --cream: #f8f1e8;
  --cream-deep: #efe3d3;
  --beige: #d9c5ad;
  --beige-soft: #eadbc8;
  --brown: #4b372b;
  --brown-light: #7b6252;
  --charcoal: #26211d;
  --white-soft: #fffaf4;
  --line: rgba(75, 55, 43, 0.14);
  --shadow: 0 26px 80px rgba(75, 55, 43, 0.12);
  --radius-large: 34px;
  --radius-medium: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at top left, rgba(217, 197, 173, 0.35), transparent 36rem),
    linear-gradient(180deg, var(--cream) 0%, #fbf7f1 45%, var(--cream) 100%);
  word-break: keep-all;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), 1120px);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(75, 55, 43, 0.08);
  transform: translateX(-50%);
}

.logo {
  padding-left: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  gap: 6px;
  font-size: 14px;
  color: var(--brown-light);
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  color: var(--brown);
  background: rgba(217, 197, 173, 0.24);
}

.section {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  padding: 118px 0;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 58px;
  align-items: center;
  width: 100%;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brown-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  color: var(--brown);
  font-size: clamp(64px, 12vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.hero-title {
  margin-bottom: 22px;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--brown-light);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.78;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(75, 55, 43, 0.2);
  border-radius: 999px;
  color: var(--white-soft);
  background: var(--brown);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(75, 55, 43, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(75, 55, 43, 0.22);
}

.hero-image-card {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius-large);
  background: var(--white-soft);
  box-shadow: var(--shadow);
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(38, 33, 29, 0.54) 100%);
  pointer-events: none;
}

.hero-image-card img {
  display: block;
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
  filter: saturate(0.86) contrast(0.96) sepia(0.08);
}

.image-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fffaf4;
}

.image-caption span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.image-caption strong {
  font-size: 22px;
  line-height: 1.35;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.section-heading.compact {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.compact p:last-child {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--brown-light);
  font-size: 18px;
  line-height: 1.75;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.info-card,
.pro-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: rgba(255, 250, 244, 0.72);
  box-shadow: 0 20px 64px rgba(75, 55, 43, 0.08);
}

.info-card {
  min-height: 520px;
  padding: 34px;
}

.highlight-card {
  background: linear-gradient(145deg, #fff9ef 0%, var(--beige-soft) 100%);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--brown);
  background: rgba(217, 197, 173, 0.42);
  font-size: 13px;
  font-weight: 800;
}

.info-card h3,
.pro-card h3 {
  margin-bottom: 18px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.info-card p,
.pro-card p,
.contact-card p {
  color: var(--brown-light);
  font-size: 17px;
  line-height: 1.85;
}

.info-card p:last-of-type,
.pro-card p:last-of-type {
  margin-bottom: 0;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--brown);
  font-weight: 800;
  border-bottom: 1px solid rgba(75, 55, 43, 0.35);
}

.pros-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pro-card {
  padding: 30px;
  background: linear-gradient(145deg, rgba(255, 250, 244, 0.88), rgba(239, 227, 211, 0.72));
}

.profile-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  border: 1px solid rgba(75, 55, 43, 0.12);
  border-radius: 22px;
  color: var(--brown);
  background: rgba(255, 250, 244, 0.72);
  font-size: 26px;
  font-weight: 800;
}

.pro-field {
  margin-bottom: 18px;
  color: var(--brown) !important;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.55 !important;
}

.contact-section {
  padding-bottom: 80px;
}

.contact-card {
  padding: clamp(40px, 7vw, 86px);
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(217, 197, 173, 0.42), transparent 24rem),
    linear-gradient(145deg, #fffaf4 0%, #eadbc8 100%);
}

.contact-card h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.06em;
}

.contact-card p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card .primary-button {
  margin-top: 20px;
}

.notice {
  margin-top: 22px !important;
  margin-bottom: 0;
  font-size: 14px !important;
  opacity: 0.72;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--brown-light);
  font-size: 14px;
}

.mobile-break {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
  }

  .nav a {
    padding: 8px 9px;
  }

  .section {
    width: min(calc(100% - 28px), 680px);
    padding: 84px 0;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-grid,
  .about-cards,
  .pros-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-image-card img {
    height: 440px;
  }

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

  .section-heading.compact {
    text-align: left;
  }

  .section-heading.compact p:last-child {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 540px) {
  .site-header {
    width: calc(100% - 20px);
    padding: 12px 12px;
  }

  .logo {
    font-size: 16px;
  }

  .nav {
    gap: 0;
    font-size: 12px;
  }

  .nav a {
    padding: 7px 7px;
  }

  .section {
    width: min(calc(100% - 24px), 480px);
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  h1 {
    margin-bottom: 22px;
  }

  .hero-title {
    margin-bottom: 18px;
  }

  .mobile-break {
    display: block;
  }

  .hero-image-card,
  .info-card,
  .pro-card,
  .contact-card {
    border-radius: var(--radius-medium);
  }

  .hero-image-card img {
    height: 360px;
  }

  .info-card,
  .pro-card {
    padding: 24px;
  }

  .info-card p,
  .pro-card p,
  .contact-card p {
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 28px);
  }
}
