:root {
  --ink: #171a17;
  --muted: #6c716b;
  --line: #e2e5df;
  --paper: #f7f8f4;
  --white: #ffffff;
  --green: #174b3f;
  --green-deep: #0f3029;
  --copper: #b96c3a;
  --shadow: 0 18px 50px rgba(23, 26, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(23, 26, 23, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.gallery-controls,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid currentColor;
}

.btn {
  min-width: 148px;
  padding: 0 22px;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn.primary:hover {
  background: var(--green-deep);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.btn.talk {
  color: var(--white);
  background: #03c75a;
}

.btn.talk:hover {
  background: #02ad4f;
}

.btn.large {
  width: 100%;
  min-height: 54px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78svh;
  padding: 132px clamp(20px, 5vw, 72px) 0;
  color: var(--white);
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-main.jpg");
  background-position: center 42%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 15, 12, 0.82) 0%, rgba(8, 15, 12, 0.54) 42%, rgba(8, 15, 12, 0.14) 100%),
    linear-gradient(0deg, rgba(8, 15, 12, 0.48) 0%, rgba(8, 15, 12, 0) 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-bottom: clamp(40px, 7vw, 82px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c0a0;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 20px);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1040px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.hero-strip span {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 900;
  text-align: center;
}

.hero-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro {
  background: var(--white);
}

.intro-grid,
.service-grid,
.repair-grid,
.process-list,
.gallery-grid {
  max-width: 1180px;
  margin: 0 auto;
}

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

.intro-feature,
.service-card,
.repair-grid article,
.process-list li,
.gallery-grid figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-feature {
  overflow: hidden;
}

.intro-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.intro-feature div {
  padding: 22px;
}

.intro-feature p,
.service-card p,
.repair-grid p,
.process-list p,
.contact-copy p,
.contact-panel p,
.symptom-grid p,
.contact-form p {
  margin-bottom: 0;
  color: var(--muted);
}

.services {
  background: var(--paper);
}

.strengths {
  background: var(--paper);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.strength-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(23, 26, 23, 0.05);
}

.strength-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 13px;
}

.strength-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 100%;
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(23, 26, 23, 0.06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding-left: 18px;
  padding-right: 18px;
}

.service-card h3 {
  margin-top: 20px;
}

.service-card p {
  padding-bottom: 22px;
}

.showcase {
  background: var(--white);
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.case-main {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background: #111;
}

.case-main img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.case-main::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 15, 12, 0.78) 0%, rgba(8, 15, 12, 0.04) 62%);
}

.case-main-copy {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 4vw, 44px);
  right: clamp(22px, 4vw, 44px);
  bottom: clamp(22px, 4vw, 44px);
  max-width: 680px;
}

.case-main-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.case-stack {
  display: grid;
  gap: 18px;
}

.case-stack img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.gallery-controls {
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  min-width: 74px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.gallery-grid figure.is-hidden {
  display: none;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-grid figcaption {
  min-height: 50px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 800;
}

.repair {
  color: var(--white);
  background: var(--green-deep);
}

.repair .section-heading .eyebrow,
.repair .eyebrow {
  color: #d8a279;
}

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

.repair-grid article {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.repair-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.repair-grid h3,
.repair-grid p {
  padding-left: 22px;
  padding-right: 22px;
}

.repair-grid h3 {
  margin-top: 22px;
}

.repair-grid p {
  padding-bottom: 24px;
  color: rgba(255, 255, 255, 0.74);
}

.process {
  background: var(--paper);
}

.symptoms {
  background: var(--white);
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.symptom-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(23, 26, 23, 0.06);
}

.symptom-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.symptom-grid div {
  padding: 22px;
}

.symptom-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--green);
  background: #e8f0ec;
  font-size: 13px;
  font-weight: 900;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 24px;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.6fr);
  gap: 32px;
  padding: clamp(72px, 8vw, 110px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 15, 12, 0.88), rgba(8, 15, 12, 0.58)),
    url("assets/hero-detail.jpg") center / cover;
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p,
.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  align-self: center;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.contact-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  width: 100%;
  margin: 8px auto 0;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.form-heading,
.contact-form .full {
  grid-column: 1 / -1;
}

.form-heading h3 {
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cfd6cc;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 15px;
}

.contact-form textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.contact-panel .btn.secondary {
  color: var(--white);
}

.contact-panel p {
  font-size: 14px;
}

.contact-number {
  display: block;
  padding: 8px 0 2px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.site-footer {
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.mobile-quickbar {
  position: fixed;
  z-index: 40;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(23, 26, 23, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.mobile-quickbar a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.mobile-quickbar a:nth-child(3) {
  background: #03c75a;
}

.thanks-page {
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 15, 12, 0.88), rgba(8, 15, 12, 0.62)),
    url("assets/hero-main.jpg") center / cover;
}

.thanks-wrap {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
}

.thanks-box {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.thanks-box h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.thanks-box p {
  color: rgba(255, 255, 255, 0.82);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-strip,
  .intro-grid,
  .strength-grid,
  .service-grid,
  .repair-grid,
  .symptom-grid,
  .process-list,
  .gallery-grid,
  .case-layout,
  .contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-main,
  .case-main img {
    min-height: 480px;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    height: 64px;
    padding: 0 14px;
  }

  .brand span:last-child {
    font-size: 15px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 76svh;
    padding: 104px 18px 0;
  }

  .hero-bg {
    background-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 15, 12, 0.9) 0%, rgba(8, 15, 12, 0.62) 100%),
      linear-gradient(0deg, rgba(8, 15, 12, 0.42), rgba(8, 15, 12, 0));
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

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

  .hero-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-strip,
  .intro-grid,
  .strength-grid,
  .service-grid,
  .repair-grid,
  .symptom-grid,
  .process-list,
  .gallery-grid,
  .case-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-left: -18px;
    width: calc(100% + 36px);
  }

  .hero-strip span {
    min-height: 48px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .case-main,
  .case-main img {
    min-height: 420px;
  }

  .case-stack img {
    min-height: 220px;
  }

  .contact {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 98px;
  }

  .mobile-quickbar {
    display: grid;
  }

  .site-footer {
    display: grid;
    gap: 6px;
    justify-content: start;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
