:root {
  --black: #111111;
  --dark: #1c1c1c;
  --gray: #666;
  --light-gray: #f3f2ef;
  --line: #deddd8;
  --white: #fff;
  --accent: #9b8060;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

nav a {
  font-size: 15px;
  font-weight: 600;
  transition: .25s;
}

nav a:hover {
  color: var(--accent);
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.32)),
    url("/images/KakaoTalk_20260819_220930334_28.jpg")
    center / cover;
  display: flex;
  align-items: center;
  color: white;
}

/* 하위 페이지용 낮은 히어로 */
.hero-sub {
  min-height: 460px;
}

.hero-content {
  max-width: 800px;
  padding: 100px 0;
}

.hero-sub .hero-content {
  padding: 70px 0;
}

.hero-label {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #ddd;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: -4px;
  margin-bottom: 30px;
}

.hero-sub h1 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -3px;
}

.hero p {
  max-width: 650px;
  color: #eee;
  font-size: 18px;
  margin-bottom: 38px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 54px;
  padding: 0 25px;
  font-weight: 700;
  border: 1px solid white;
  transition: .25s;
}

.btn-primary {
  background: white;
  color: var(--black);
}

.btn-primary:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-outline {
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--black);
}

/* SECTION */

section {
  padding: 110px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 60px;
}

.section-number {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.2;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.section-header p {
  color: var(--gray);
  font-size: 17px;
}

/* INTRO */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.intro-statement {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -2px;
}

.intro-copy p {
  color: var(--gray);
  margin-bottom: 20px;
}

.section-visual {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-top: 40px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
  margin-top: 40px;
}

.metric {
  padding: 25px;
  background: var(--light-gray);
}

.metric strong {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}

.metric span {
  font-size: 13px;
  color: var(--gray);
}

/* SERVICE */

.service-section {
  background: var(--light-gray);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.service-card {
  min-height: 330px;
  background: white;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  transition: .3s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: calc(100% + 70px);
  margin: -35px -35px 22px;
}

.service-card .num {
  color: var(--accent);
  font-weight: 800;
}

.service-card h3 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 35px 0 15px;
}

.service-card p {
  color: var(--gray);
  font-size: 15px;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* CHECK */

.check-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}

.check-card {
  padding: 30px 25px;
  border-top: 2px solid var(--black);
  background: #fafafa;
}

.check-card strong {
  display: block;
  font-size: 19px;
  margin-bottom: 10px;
}

.check-card p {
  color: var(--gray);
  font-size: 14px;
}

/* PROCESS */

.process {
  background: var(--dark);
  color: white;
}

.process .section-header p {
  color: #aaa;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: #444;
}

.process-card {
  background: var(--dark);
  padding: 35px 25px;
  min-height: 220px;
}

.process-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.process-card h3 {
  margin: 25px 0 12px;
  font-size: 20px;
}

.process-card p {
  color: #aaa;
  font-size: 14px;
}

/* TABLE */

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--dark);
  color: white;
  font-weight: 600;
}

td:first-child {
  font-weight: 700;
  background: #fafafa;
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 15px;
  color: var(--gray);
  padding-right: 40px;
}

/* CTA */

.cta {
  background: #e9e5de;
  text-align: center;
}

.cta h2 {
  max-width: 800px;
  margin: 0 auto 20px;
}

.cta p {
  max-width: 680px;
  margin: 0 auto 35px;
  color: #555;
}

.cta .btn {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

.cta .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* FOOTER */

footer {
  background: #111;
  color: #fff;
  padding: 65px 0 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #333;
}

.footer-title {
  font-size: 14px;
  line-height: 2;
  font-weight: 800;
}

.footer-info {
  color: #aaa;
  font-size: 14px;
  line-height: 2;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  align-items: flex-start;
}

.copyright {
  padding-top: 25px;
  color: #666;
  font-size: 12px;
}

/* MOBILE */

@media (max-width: 900px) {

  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    padding: 25px 20px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }

  nav.active {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 650px;
  }

  .hero-sub {
    min-height: 420px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .check-grid,
  .gallery-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  section {
    padding: 75px 0;
  }

  .hero-content {
    padding: 80px 0;
  }

  .hero-sub .hero-content {
    padding: 56px 0;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-sub h1 {
    letter-spacing: -1.5px;
  }

  .hero p {
    font-size: 16px;
  }

  h2 {
    letter-spacing: -1px;
  }

  .intro-statement {
    letter-spacing: -1px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .btn {
    min-width: 140px;
    padding: 0 18px;
  }

  .service-card {
    min-height: auto;
    padding: 28px;
  }

  .service-card img {
    width: calc(100% + 56px);
    margin: -28px -28px 20px;
  }

  .service-card h3 {
    font-size: 24px;
    margin: 28px 0 12px;
  }

  .process-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .check-card {
    padding: 24px 20px;
  }

  table {
    min-width: 560px;
  }

  th,
  td {
    padding: 14px 12px;
  }

  .faq summary {
    font-size: 17px;
  }

  .faq p {
    padding-right: 0;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .check-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}
