:root {
  --primary: #4C3A94;
  --glass-bg: rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.65);
  --text: #241F3D;
  --radius: 20px;
  --max: 920px;
}

* { box-sizing: border-box; }

html { font-display: swap; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  font-weight: 800;
  color: #241F3D;
  line-height: 1.35;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

a { color: #fff; }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.section-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 48px 20px;
}

/* Header */
.site-header {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.wordmark {
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.hamburger {
  background: none;
  border: none;
  display: none;
  cursor: pointer;
  padding: 6px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
}

.main-nav a:hover { opacity: 1; }

@media (max-width: 720px) {
  .hamburger { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding-top: 10px;
  }
  .main-nav ul li {
    border-top: 1px solid rgba(255,255,255,0.25);
  }
  .main-nav ul li a {
    display: block;
    padding: 12px 4px;
  }
  .main-nav.is-open { display: block; }
}

/* Hero */
.hero {
  padding: 80px 20px 60px;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 44px clamp(20px, 5vw, 52px);
  max-width: 640px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(36,31,61,0.25);
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 0 0 16px;
  color: #1E1836;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.05rem;
  color: #2A2447;
}

/* CTA buttons */
.cta {
  display: inline-block;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(76,58,148,0.85);
  border-radius: 14px;
  padding: 13px 26px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.cta:hover {
  background: rgba(76,58,148,1);
  transform: translateY(-2px);
}

.cta--alt {
  background: rgba(255,255,255,0.85);
  color: #4C3A94;
}

.cta--alt:hover {
  background: #fff;
}

/* Section numbering */
.content-section {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  max-width: 960px;
  margin: 24px auto;
}

.content-section .section-inner { padding: 40px clamp(20px,5vw,48px); }

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(76,58,148,0.85);
  color: #fff;
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
}

.content-section h2 {
  font-size: 1.4rem;
  margin: 0 0 16px;
}

/* Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.5);
  border-radius: 14px;
  overflow: hidden;
}

.spec-table th, .spec-table td {
  border: 1px solid rgba(255,255,255,0.6);
  padding: 12px 14px;
  text-align: left;
}

.spec-table thead th {
  background: rgba(76,58,148,0.85);
  color: #fff;
}

/* Branch / callout boxes */
.branch-box {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.branch-item {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 18px 22px;
}

.branch-item h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.branch-item p { margin: 0; }

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding-left: 32px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border: 2px solid #4C3A94;
  border-radius: 6px;
  background: rgba(255,255,255,0.6);
}

/* FAQ */
.faq-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 14px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #33266B;
}

.faq-list p {
  margin: 12px 0 0;
}

/* Images */
.shot {
  margin-inline: auto;
  max-width: 900px;
  padding: 0 20px;
}

.shot img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(20,15,45,0.3);
}

.shot figcaption {
  font-size: 0.9rem;
  color: #fff;
  margin-top: 10px;
  text-align: center;
}

/* CTA block (bottom) */
.cta-block { padding-top: 8px; }

.cta-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 40px clamp(20px,5vw,48px);
  text-align: center;
}

.cta-heading {
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: #1E1836;
}

.cta-glass p { color: #2A2447; }

/* Related links */
.related-heading {
  font-size: 1.4rem;
  margin: 0 0 16px;
  color: #fff;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.related-list a {
  display: block;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 16px;
  padding: 14px 20px;
  text-decoration: none;
  color: #241F3D;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.related-list a:hover {
  background: rgba(255,255,255,0.75);
}

/* Footer */
footer {
  background: rgba(20,15,45,0.55);
  backdrop-filter: blur(14px);
  color: #fff;
  margin-top: 24px;
}

footer address {
  font-style: normal;
  line-height: 1.8;
}

footer small {
  display: block;
  margin-top: 16px;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
