@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --bg: #f7f9fa;
  --paper: #ffffff;
  --ink: #050505;
  --muted: #667078;
  --line: rgba(5, 5, 5, 0.1);
  --orange: #f5a000;
  --red: #e14a2a;
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: inherit; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 92px; pointer-events: none; }
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 92px; background: linear-gradient(180deg, rgba(247,249,250,.97), rgba(247,249,250,0)); }
.site-logo { position: absolute; top: clamp(18px, 2.2vw, 27px); left: clamp(20px, 4.4vw, 64px); pointer-events: auto; }
.site-logo img { display: block; width: 122px; height: auto; }
.main-menu { position: absolute; top: clamp(14px,2.4vw,26px); left: 50%; display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid rgba(245,160,0,.18); border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: 0 10px 28px rgba(5,5,5,.05); backdrop-filter: blur(14px); pointer-events: auto; transform: translateX(-50%); }
.main-menu__item { position: relative; }
.main-menu__item::after { content: ""; position: absolute; top: 100%; right: 0; left: 0; height: 14px; }
.main-menu__link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 18px; border-radius: 999px; color: #2f363c; font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.main-menu__item:hover .main-menu__link,
.main-menu__item:focus-within .main-menu__link,
.main-menu__link.is-active { background: var(--ink); color: #fff; }
.main-menu__submenu { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 210px; margin: 0; padding: 10px; border: 1px solid rgba(245,160,0,.16); border-radius: 8px; background: rgba(255,255,255,.97); box-shadow: 0 20px 50px rgba(5,5,5,.1); list-style: none; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, visibility .18s, transform .18s; }
.main-menu__item:hover .main-menu__submenu,
.main-menu__item:focus-within .main-menu__submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-menu__submenu a { display: block; padding: 10px 12px; border-radius: 6px; color: #394047; font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-menu__submenu a:hover,
.main-menu__submenu a:focus,
.main-menu__submenu a.is-current { background: rgba(245,160,0,.12); color: var(--ink); outline: none; }
.mobile-menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; height: clamp(560px,70vh,680px); min-height: 560px; display: flex; align-items: end; overflow: hidden; padding: 142px clamp(22px,5vw,72px) 72px; background: #0d1114; color: #fff; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(5,5,5,.5) 0%,rgba(5,5,5,.08) 58%),linear-gradient(90deg,rgba(5,5,5,.8) 0%,rgba(5,5,5,.48) 40%,rgba(5,5,5,.08) 78%); }
.hero__inner { position: relative; z-index: 1; width: min(1180px,100%); margin: 0 auto; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(3.2rem,7vw,6.8rem); line-height: .98; letter-spacing: 0; word-break: keep-all; }
.hero p:last-child { max-width: 680px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: clamp(1rem,1.35vw,1.12rem); line-height: 1.78; word-break: keep-all; }

.section { padding: clamp(84px,10vw,132px) clamp(22px,5vw,72px); background: var(--paper); }
.section__inner { width: min(1180px,100%); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 14px; margin-bottom: clamp(38px,6vw,70px); text-align: center; }
.section-no { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.section-head h2 { margin: 0; font-size: clamp(2rem,4.2vw,4.8rem); line-height: 1.05; letter-spacing: 0; word-break: keep-all; }
.section-head p { max-width: 700px; margin: 22px auto 0; color: var(--muted); font-size: 1rem; line-height: 1.78; word-break: keep-all; }
.section--contact { padding-top: clamp(52px,6vw,78px); }
.section--contact .section-head { gap: 10px; margin-bottom: clamp(26px,3.5vw,42px); }
.section--contact .section-head h2 { font-size: clamp(1.8rem,3.2vw,3.5rem); }
.section--contact .section-head p { margin-top: 12px; }

.contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.contact-card { display: grid; align-content: start; min-height: 420px; padding: clamp(28px,3.5vw,38px); border: 1px solid var(--line); background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.contact-card:hover { border-color: rgba(225,74,42,.28); box-shadow: 0 18px 44px rgba(5,5,5,.07); transform: translateY(-3px); }
.contact-card__label { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.contact-card h3 { margin: 24px 0 0; font-size: clamp(1.45rem,2.4vw,2.15rem); line-height: 1.12; letter-spacing: 0; word-break: keep-all; }
.contact-card p { margin: 18px 0 0; color: var(--muted); line-height: 1.7; word-break: keep-all; }
.contact-action { align-self: end; display: inline-flex; justify-content: center; align-items: center; min-height: 46px; margin-top: 34px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 850; text-decoration: none; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.contact-action:hover,
.contact-action:focus-visible { border-color: var(--orange); background: linear-gradient(135deg,var(--orange),var(--red)); color: #fff; outline: none; }
.chat-list { display: grid; gap: 12px; margin-top: 28px; }
.chat-item { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 14px; align-items: center; min-height: 76px; padding: 12px 14px; border: 1px solid rgba(5,5,5,.08); background: #fbfcfc; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.chat-item:hover,
.chat-item:focus-visible { border-color: rgba(225,74,42,.28); background: #fff; outline: none; transform: translateY(-2px); }
.chat-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; }
.chat-item span { display: grid; gap: 3px; min-width: 0; }
.chat-item small { color: var(--muted); font-size: .78rem; font-weight: 850; }
.chat-item strong { color: var(--ink); font-size: 1.02rem; font-weight: 900; line-height: 1.35; word-break: keep-all; }
.service-hours { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.service-hours strong { color: var(--ink); font-size: .88rem; font-weight: 900; }
.service-hours span { color: var(--muted); font-size: .92rem; font-weight: 750; }

.site-footer { padding: 36px clamp(22px,5vw,72px) 40px; background: #050505; color: #fff; }
.footer__inner { display: grid; grid-template-columns: minmax(180px,.72fr) minmax(0,1.28fr); grid-template-areas: "brand info" "copy info"; gap: 18px 56px; width: min(1180px,100%); margin: 0 auto; }
.footer__brand { grid-area: brand; align-self: start; margin: 0; font-size: .95rem; font-weight: 900; }
.footer__info { grid-area: info; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 24px; align-content: start; margin: 0; color: rgba(255,255,255,.66); font-size: .78rem; line-height: 1.55; }
.footer__info div { display: inline-flex; min-width: 0; align-items: baseline; }
.footer__info dt { color: rgba(255,255,255,.48); font-weight: 800; }
.footer__info dd { margin: 0 0 0 6px; word-break: keep-all; }
.footer__copy { grid-area: copy; margin: 10px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .76rem; }
.footer__legal-links { display: inline-flex; flex-wrap: wrap; gap: 8px 12px; }
.footer__legal-links a { color: inherit; text-decoration: none; }
.footer__legal-links a:hover, .footer__legal-links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header, .site-header::before { height: 72px; }
  .site-logo { top: 17px; left: 20px; }
  .site-logo img { width: 98px; }
  .main-menu { display: none; }
  .mobile-menu-toggle { position: absolute; top: 14px; right: 20px; z-index: 2; display: grid; width: 42px; height: 42px; padding: 11px 10px; border: 1px solid rgba(5,5,5,.1); border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 8px 22px rgba(5,5,5,.08); cursor: pointer; pointer-events: auto; }
  .mobile-menu-toggle span { display: block; width: 100%; height: 1.5px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { position: fixed; top: 72px; right: 16px; left: 16px; z-index: 1; max-height: calc(100dvh - 88px); overflow-y: auto; padding: 12px 16px 16px; border: 1px solid rgba(5,5,5,.09); border-radius: 8px; background: rgba(255,255,255,.98); box-shadow: 0 20px 48px rgba(5,5,5,.16); pointer-events: auto; }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu__group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu__group p { grid-column: 1 / -1; margin: 0 0 8px; color: var(--red); font-size: .73rem; font-weight: 900; letter-spacing: .11em; }
  .mobile-menu a { display: block; padding: 9px 0; color: #20252a; font-size: .9rem; font-weight: 750; line-height: 1.35; text-decoration: none; word-break: keep-all; }
  .mobile-menu__utility { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding-top: 12px; }
  .mobile-menu__utility a { text-align: center; }
  .hero { height: auto; min-height: 68svh; padding: 112px 22px 52px; }
  .hero__media img { object-position: 70% 50%; }
  .hero__media::after { background: linear-gradient(0deg,rgba(5,5,5,.88) 0%,rgba(5,5,5,.44) 60%,rgba(5,5,5,.18) 100%); }
  .hero h1 { font-size: clamp(3rem,14vw,4.7rem); }
  .hero p:last-child { max-width: 92%; }
  .section { padding: 78px 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: auto; }
  .footer__inner { display: block; }
  .footer__brand { margin-bottom: 18px; }
  .footer__info { grid-template-columns: 1fr; font-size: .74rem; }
  .footer__copy { margin-top: 24px; }
  .footer__info div:not(:last-child)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
