:root {
  color-scheme: light;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: #111d34;
  background: #fff;
  line-height: 1.65;
  --navy: #14233f;
  --blue: #234fbe;
  --muted: #475670;
  --line: #dbe2ee;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #516fe2; outline-offset: 4px; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 2; padding: .65rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2.5rem, 71rem); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; }
.top-inner { padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 850; font-size: 1.25rem; text-decoration: none; }
 .brand-logo { display: block; width: 5rem; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.25rem, 2vw, 1.25rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .4rem; font-size: .94rem; font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-cta { color: var(--blue); border: 1px solid #b6c6e5; border-radius: .55rem; padding-inline: .9rem; }
.hero { background: linear-gradient(112deg, #f8faff 12%, #e9edf7 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.6rem, 5.5vw, 5rem); }
.eyebrow { color: var(--blue); font-weight: 800; margin-bottom: 1rem; }
h1, h2, h3 { line-height: 1.2; word-break: keep-all; }
h1 { font-size: clamp(2.15rem, 4.6vw, 4.15rem); line-height: 1.13; letter-spacing: -.065em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); letter-spacing: -.055em; }
h3 { font-size: 1.2rem; letter-spacing: -.03em; }
p { word-break: keep-all; overflow-wrap: anywhere; }
.hero-copy { margin-top: 1.35rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .65rem 1.05rem; border-radius: .45rem; border: 1px solid transparent; font-weight: 800; text-decoration: none; }
.button:hover { text-decoration: underline; }
.primary { color: #fff; background: var(--blue); }
.channel-links { gap: .4rem; margin-top: .85rem; }
.phone-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .85rem; margin-top: .55rem; }
.phone-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 800; text-underline-offset: .2em; }
.channel-links a { padding-inline: .7rem; color: var(--navy); background: #ffffffb0; border: 1px solid #b5c2dc; border-radius: .55rem; }
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.035;
  object-fit: cover;
  object-position: center top;
  justify-self: end;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent),
              linear-gradient(to bottom, transparent, black 13%, black 91%, transparent);
  mask-composite: intersect;
}
.notice { background: #f0f4fc; border-block: 1px solid var(--line); }
.notice-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; padding-block: .85rem; }
.notice p { flex: 1 1 20rem; }
.notice a, .text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }
.section { padding-block: clamp(2.6rem, 6vw, 5rem); }
.video-section { padding-bottom: 0; text-align: center; }
.video-section video { display: block; width: min(100%, 48rem); max-height: 70vh; margin: 1rem auto 0; border-radius: .75rem; background: var(--navy); }
.services, .posts { display: grid; gap: 1rem; margin-top: 1.35rem; }
.services { grid-template-columns: repeat(4,minmax(0,1fr)); }
.repair-records { grid-template-columns: repeat(2,minmax(0,1fr)); }
.service-questions { grid-template-columns: repeat(3,minmax(0,1fr)); }
.services article, .posts a { padding: clamp(1.1rem, 2.5vw, 1.55rem); border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.services p, .section-head p { margin-top: .65rem; color: var(--muted); }
.work { background: #f2f5fb; }
.section-head { display: flex; justify-content: space-between; gap: .4rem 1.25rem; align-items: end; flex-wrap: wrap; }
.blog-links { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }
.blog-links a { overflow-wrap: anywhere; }
.posts, .closing { grid-template-columns: repeat(2,minmax(0,1fr)); }
.posts a { display: grid; gap: .35rem; text-decoration: none; }
.posts a:hover { border-color: var(--blue); }
.posts a > span:first-child { color: var(--muted); font-size: .94rem; }
.posts strong { font-size: 1.16rem; }
.closing { display: grid; gap: 1rem; }
.closing section { padding: clamp(1.2rem, 4vw, 2.5rem); background: #f0f4fc; border-radius: .75rem; }
.closing #contact { background: var(--navy); color: #f5f8ff; }
.closing #contact .button { background: #dce6ff; color: #173b8c; }
.closing p { margin-top: .8rem; }
.closing .button { margin-top: 1.1rem; }
footer { background: #101c33; color: #e4ebfa; padding-block: 1.5rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 58rem) {
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 42rem) {
  .hero-grid, .posts, .closing { grid-template-columns: minmax(0,1fr); }
  .hero-photo { width: min(100%, 32rem); justify-self: center; }
  .wide { display: none; }
}
@media (max-width: 25rem) {
  .wrap { width: calc(100% - 1.5rem); }
  .services { grid-template-columns: minmax(0,1fr); }
}
