:root {
  --navy: #0b1f33;
  --ink: #17212b;
  --muted: #596774;
  --surface: #f4f6f8;
  --line: #d9e2e8;
  --accent: #4b91b8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

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

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

.hero {
  position: relative;
  min-height: 580px;
  color: var(--white);
  background: var(--navy) url("assets/city-crosswalk.jpg") right center / cover no-repeat;
  isolation: isolate;
}

.hero__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 23, 40, 0.96) 0%, rgba(9, 29, 48, 0.86) 37%, rgba(11, 31, 51, 0.36) 70%, rgba(11, 31, 51, 0.16) 100%);
}

.hero__content {
  display: flex;
  min-height: 580px;
  flex-direction: column;
}

.site-header {
  padding-top: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}

.brand img {
  display: block;
  width: 158px;
  height: auto;
  filter: brightness(0) invert(1);
}

.hero__copy {
  max-width: 700px;
  margin: auto 0;
  padding: 82px 0 94px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero h1,
.services h2,
.service-card h3 {
  margin: 0;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.28;
}

.hero__summary {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.8;
}

.services {
  padding: 104px 0 112px;
  background-color: var(--surface);
  background-image: radial-gradient(rgba(75, 145, 184, 0.16) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

.services .eyebrow {
  color: var(--accent);
}

.services h2 {
  font-size: 30px;
  font-weight: 700;
}

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

.service-card {
  display: flex;
  min-height: 282px;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 30px rgba(11, 31, 51, 0.08);
  transform: translateY(-4px);
}

.service-card__number {
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.service-card h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.service-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card__title h3 {
  display: flex;
  min-height: 36px;
  align-items: center;
}

.service-icon {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-self: center;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-icon--ndt {
  stroke-width: 5.4;
  transform: translateY(1px);
}

.service-icon--ndt circle {
  fill: var(--navy);
  stroke: none;
}

.service-icon--ndt .service-icon__wall {
  stroke-width: 7;
}

.service-icon--reserve text {
  fill: var(--navy);
  stroke: none;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
}

.service-icon--reserve {
  transform: translateY(2px);
}

.service-icon--reserve text:first-of-type {
  font-size: 24px;
}

.service-icon--reserve text:last-of-type {
  font-size: 8px;
  letter-spacing: 0.08em;
}

.mygo-logo {
  display: block;
  width: auto;
  height: 32px;
  max-width: 142px;
  margin: 0 0 2px;
  object-fit: contain;
  object-position: left center;
}

.service-card p {
  margin: 13px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-card__link {
  margin-top: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.service-card__link .material-symbols-outlined {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
  vertical-align: -3px;
  transition: transform 180ms ease;
}

.service-card:hover .service-card__link .material-symbols-outlined {
  transform: translateX(4px);
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
  gap: 48px;
  padding: 42px 0 30px;
  font-size: 13px;
}

.site-footer strong {
  color: var(--white);
  font-size: 15px;
}

.site-footer p {
  margin: 5px 0 0;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
}

.site-footer__brand-primary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__brand img {
  display: block;
  width: auto;
  height: 42px;
  padding: 4px;
  background: var(--white);
  border-radius: 0;
}

.site-footer__company-detail {
  margin-left: 56px !important;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.site-footer__label {
  margin: 0 0 7px !important;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-footer__contact-title {
  margin: 0 !important;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.site-footer__info p:not(.site-footer__label) {
  margin: 0;
}

.site-footer__policy-link {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 600;
}

.site-footer__policy-link .material-symbols-outlined {
  margin-left: 5px;
  color: var(--accent);
  vertical-align: -3px;
}


.site-footer__contact a:hover,
.site-footer__policy-link:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

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

  .hero,
  .hero__content {
    min-height: 560px;
  }

  .hero {
    background-position: 63% center;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(6, 23, 40, 0.94) 0%, rgba(9, 29, 48, 0.79) 66%, rgba(11, 31, 51, 0.38) 100%);
  }

  .site-header {
    padding-top: 25px;
  }

  .brand img {
    width: 142px;
  }

  .hero__copy {
    padding: 68px 0 78px;
  }

  .hero h1 br,
  .hero__summary br {
    display: none;
  }

  .hero__summary {
    font-size: 14px;
  }

  .services {
    padding: 68px 0 76px;
  }

  .services h2 {
    font-size: 26px;
  }

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

  .service-card {
    min-height: 220px;
  }

  .service-card__number {
    margin-bottom: 32px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
