﻿:root {
  --bg: #f3f4f7;
  --card: #ffffff;
  --text: #101521;
  --muted: #6b7280;
  --primary: #1363ff;
  --primary-strong: #0d47b8;
  --line: #d8dde8;
  --ok-bg: #e8f7ec;
  --ok-text: #0f7a34;
  --err-bg: #fdebec;
  --err-text: #b3261e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #e7eeff 0%, #f3f4f7 55%, #eef2ff 100%);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 34vh;
  background:
    linear-gradient(125deg, rgba(10, 16, 32, 0.9), rgba(16, 63, 153, 0.58)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 28px 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #88adff;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1.1rem;
}

.hero h1 {
  margin: 0;
  font-size: 2.1rem;
  color: #fff;
  letter-spacing: -0.025em;
}

.hero-sub {
  margin: 8px 0 0;
  color: #d8e5ff;
  font-size: 0.96rem;
}

.content-wrap {
  width: min(920px, 100% - 28px);
  margin: 14px auto 28px;
  display: grid;
  gap: 16px;
}

.alert {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.96rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.alert.success {
  background: var(--ok-bg);
  color: var(--ok-text);
  border-color: #9fd9b1;
}

.alert.error {
  background: var(--err-bg);
  color: var(--err-text);
  border-color: #ef9e99;
}

.inquiry-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  padding: 18px;
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  background: #fff;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 99, 255, 0.14);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

button {
  margin-top: 4px;
  border: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  color: #fff;
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.04);
}

.other-contact {
  margin-top: 2px;
}

.other-contact-head h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.other-contact-head p {
  margin: 6px 0 20px;
  color: #4b5563;
  font-size: 0.93rem;
}

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

.contact-cards article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  min-height: 168px;
}

.email-card a,
.phone-card a,
.visit-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.email-card a:focus-visible,
.phone-card a:focus-visible,
.visit-card a:focus-visible {
  outline: 3px solid rgba(19, 99, 255, 0.35);
  outline-offset: 3px;
  border-radius: 10px;
}

.icon-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: #fff;
  font-weight: 800;
}

.icon-badge.mail {
  background: #f4c85d;
}

.icon-badge.phone {
  background: #55bd6b;
}

.icon-badge.visit {
  background: #2c9ad6;
}

.contact-cards h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.1;
  color: #252b36;
  letter-spacing: -0.015em;
}

.contact-cards p {
  margin: 7px 0 0;
  color: #1f2937;
  font-size: 0.9rem;
}

.contact-footer {
  margin-top: 28px;
  text-align: center;
}

.contact-footer .lead {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: #202733;
}

.contact-footer .sub {
  margin: 7px 0 0;
  color: #4b5563;
  font-size: 0.8rem;
}

@media (max-width: 680px) {
  .hero {
    min-height: 30vh;
    padding: 22px 16px;
  }

  .hero h1 {
    font-size: 1.72rem;
  }

  .eyebrow {
    font-size: 1rem;
  }

  .content-wrap {
    width: calc(100% - 20px);
  }

  .contact-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .other-contact-head h2 {
    font-size: 1.52rem;
  }

  .contact-cards article {
    min-height: 0;
    padding: 12px 6px;
  }

  .contact-cards h3 {
    font-size: 0.82rem;
    letter-spacing: 0;
    margin-top: 2px;
  }

  .icon-badge {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    font-size: 1.2rem;
  }

  .contact-cards p {
    font-size: 0.72rem;
    margin-top: 4px;
    word-break: break-word;
  }

  .contact-footer .lead {
    font-size: 0.9rem;
  }
}
