@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1e56db;
  --blue-dark: #1040a8;
  --blue-light: #ebf2ff;
  --navy: #0f2857;
  --text: #1e293b;
  --text2: #475569;
  --text3: #64748b;
  --bg: #f5f8ff;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 6px 24px rgba(30,86,219,0.14);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 200;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { text-decoration: none; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.logo span { color: var(--blue); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); transition: color var(--transition); white-space: nowrap; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-phone {
  background: var(--blue); color: #fff; padding: 9px 20px;
  border-radius: 7px; font-weight: 700; font-size: 14px;
  transition: background var(--transition);
}
.site-nav .nav-phone:hover { background: var(--blue-dark); color: #fff; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, #1a3f8f 45%, var(--blue) 100%);
  min-height: 88vh; display: flex; align-items: center;
  padding: 80px 24px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -5%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.04); border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -25%; left: -8%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03); border-radius: 50%; pointer-events: none;
}
.hero-inner { max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2); letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 76px); font-weight: 700;
  color: #fff; line-height: 1.08; letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(18px, 3vw, 24px); color: rgba(255,255,255,0.88);
  font-weight: 400; margin-bottom: 18px; line-height: 1.5;
}
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.72);
  max-width: 580px; margin-bottom: 44px; line-height: 1.85;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--blue);
  padding: 16px 36px; border-radius: 8px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-hero:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.hero-phone-txt { color: rgba(255,255,255,0.6); font-size: 15px; }

/* ── SECTIONS ────────────────────────────────────── */
.sec { padding: 84px 24px; }
.sec-light { background: var(--bg); }
.sec-white { background: #fff; }
.sec-blue { background: linear-gradient(135deg, var(--navy) 0%, #1a3f8f 50%, var(--blue) 100%); }

/* ── BROKEN GLASS SECTION ────────────────────────── */
.sec-glass {
  background: #080f1e;
  position: relative;
  overflow: hidden;
}
.sec-glass::after {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 35%; height: 200%;
  background: linear-gradient(108deg, transparent 42%, rgba(180,220,255,0.04) 47%, rgba(180,220,255,0.07) 50%, rgba(180,220,255,0.04) 53%, transparent 58%);
  pointer-events: none;
  z-index: 0;
}
.glass-crack-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.sec-glass .sec-inner { position: relative; z-index: 1; }
.sec-glass .why-point {
  background: rgba(180,220,255,0.05);
  border: 1px solid rgba(180,220,255,0.18);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 91% 100%, 0 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.sec-glass .why-point:nth-child(2) {
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 4% 100%);
}
.sec-glass .why-point:nth-child(3) {
  clip-path: polygon(5% 0, 100% 0, 100% 97%, 0 100%, 0 10%);
}
.sec-inner { max-width: var(--max-width); margin: 0 auto; }

.sec-label {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--blue); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(24px, 4vw, 38px); font-weight: 700;
  color: var(--navy); margin-bottom: 14px; line-height: 1.25; letter-spacing: -0.5px;
}
.sec-title-white { color: #fff; }
.sec-desc { font-size: 16px; color: var(--text2); max-width: 600px; margin-bottom: 52px; line-height: 1.85; }
.sec-desc-white { color: rgba(255,255,255,0.78); }
.centered { text-align: center; }
.centered .sec-desc { margin-left: auto; margin-right: auto; }

/* ── CONCERN CARDS ───────────────────────────────── */
.concern-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.concern-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.concern-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.concern-img { width: 100%; height: 170px; overflow: hidden; }
.concern-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.concern-card:hover .concern-img img { transform: scale(1.05); }
.concern-body { padding: 16px 18px; border-top: 3px solid var(--blue); }
.concern-q { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.concern-txt { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ── WHY SECTION ─────────────────────────────────── */
.why-intro { font-size: 16px; color: rgba(255,255,255,0.82); line-height: 1.9; margin-bottom: 16px; }
.why-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.why-point {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 24px;
}
.why-point-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.why-point-icon svg { width: 44px; height: 44px; }
.why-point h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-point p { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.7; }

/* ── SPACE CARDS ─────────────────────────────────── */
.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.space-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.space-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--blue); }
.space-visual {
  height: 190px; overflow: hidden; position: relative;
}
.space-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.space-card:hover .space-visual img { transform: scale(1.05); }
.space-body { padding: 20px 22px; }
.space-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.space-body p { font-size: 14px; color: var(--text2); line-height: 1.75; }
.space-door   { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.space-school { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.space-hospital { background: linear-gradient(135deg, #ede9fe, #c4b5fd); }

/* ── FILM FUNCTION CARDS ─────────────────────────── */
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.film-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all var(--transition);
}
.film-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--blue); }
.film-icon {
  width: 50px; height: 50px; background: var(--blue-light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.film-icon svg { width: 26px; height: 26px; }
.film-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.film-card p { font-size: 14px; color: var(--text2); line-height: 1.78; }

/* ── PROCESS ─────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 0; }
.process-step {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 18px; text-align: center;
  position: relative; transition: all var(--transition);
}
.process-step:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); }
.process-step::after {
  content: '';
  position: absolute; right: -9px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 9px solid var(--border);
  z-index: 1;
}
.process-step:nth-child(4n)::after,
.process-step:last-child::after { display: none; }
.process-num {
  width: 44px; height: 44px; background: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  margin: 0 auto 14px;
}
.process-step h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ── CASE STUDIES ────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  transition: all var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.case-visual {
  height: 190px; display: flex; align-items: center;
  justify-content: center; position: relative;
}
.case-visual svg { width: 64px; height: 64px; opacity: 0.55; }
.case-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.9); color: var(--navy);
  font-size: 12px; font-weight: 700; padding: 4px 10px;
  border-radius: 20px;
}
.case-body { padding: 20px; }
.case-body h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.case-body p { font-size: 13px; color: var(--text2); line-height: 1.75; }

.case-v1 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.case-v2 { background: linear-gradient(135deg, #dcfce7, #a7f3d0); }
.case-v3 { background: linear-gradient(135deg, #eff6ff, #bfdbfe); }
.case-v4 { background: linear-gradient(135deg, #fef9c3, #fde68a); }
.case-v5 { background: linear-gradient(135deg, #d1fae5, #99f6e4); }
.case-v6 { background: linear-gradient(135deg, #ede9fe, #c4b5fd); }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; margin: 0 auto; }
details {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--transition);
}
details[open] { border-color: var(--blue); }
summary {
  padding: 20px 24px; font-size: 16px; font-weight: 600;
  color: var(--navy); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; user-select: none;
}
summary::-webkit-details-marker { display: none; }
.faq-q-txt { flex: 1; }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; font-weight: 400; line-height: 1;
  transition: background var(--transition);
}
details[open] .faq-toggle { background: var(--blue); color: #fff; }
.faq-q-icon { font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue); margin-right: 6px; }
.faq-answer {
  padding: 0 24px 22px; font-size: 15px; color: var(--text2);
  line-height: 1.85; border-top: 1px solid var(--border); padding-top: 16px;
}

/* ── CTA SECTION ─────────────────────────────────── */
.cta-sec {
  background: linear-gradient(140deg, var(--navy) 0%, #1a3f8f 50%, var(--blue) 100%);
  padding: 100px 24px; text-align: center;
}
.cta-sec h2 {
  font-size: clamp(24px, 4vw, 38px); font-weight: 700;
  color: #fff; margin-bottom: 24px; letter-spacing: -0.5px;
}
.cta-sec p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto 14px; line-height: 1.9; }
.cta-phone-num { font-size: 30px; font-weight: 700; color: #fff; margin: 30px 0; letter-spacing: -0.5px; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--blue);
  padding: 16px 40px; border-radius: 8px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-cta:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-cta-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 14px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.2s;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: #0a1f40; color: rgba(255,255,255,0.65);
  padding: 52px 24px 36px; font-size: 14px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-logo { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-col p { margin-bottom: 6px; line-height: 1.6; }
.footer-col strong { color: rgba(255,255,255,0.85); }
.footer-nav {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-nav a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color var(--transition); }
.footer-nav a:hover { color: #fff; }
.footer-copy { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── FLOAT PHONE BUTTONS ─────────────────────────── */
.phone-desktop {
  position: fixed; right: 22px; top: 50%;
  transform: translateY(-50%); z-index: 150;
}
.phone-desktop a {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: var(--blue); color: #fff; text-decoration: none;
  padding: 16px 11px; border-radius: 14px;
  box-shadow: 0 4px 20px rgba(30,86,219,0.35);
  font-size: 11px; font-weight: 700; line-height: 1.3;
  transition: all 0.2s; text-align: center; writing-mode: horizontal-tb;
}
.phone-desktop a:hover { background: var(--blue-dark); transform: scale(1.06); }
.phone-desktop svg { width: 24px; height: 24px; }

.phone-mobile {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
}
.phone-mobile a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 700;
  padding: 14px 24px 18px;
  box-shadow: 0 -2px 12px rgba(30,86,219,0.2);
}
.phone-mobile svg { width: 20px; height: 20px; }

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  background: var(--bg); padding: 14px 24px; font-size: 13px;
}
.breadcrumb-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text3); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text2); font-weight: 600; }

/* ── PAGE HERO (for NSEO pages) ──────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, #1a3f8f 45%, var(--blue) 100%);
  padding: 60px 24px 64px;
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(28px, 5vw, 52px); font-weight: 700; color: #fff;
  letter-spacing: -1px; margin-bottom: 14px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.78); max-width: 580px; line-height: 1.85; }

/* ── NSEO CONTENT ────────────────────────────────── */
.content-block { max-width: 860px; margin: 0 auto; }
.content-block h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 40px 0 14px; }
.content-block h3 { font-size: 19px; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.content-block p { font-size: 15px; color: var(--text2); line-height: 1.88; margin-bottom: 14px; }
.content-block ul { padding-left: 22px; margin-bottom: 14px; }
.content-block li { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 6px; }

.info-box {
  background: var(--blue-light); border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 24px 0;
}
.info-box p { color: var(--navy); font-weight: 500; margin-bottom: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0; }
.feature-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.feature-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: var(--text2); line-height: 1.72; margin-bottom: 0; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .film-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .case-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-points { grid-template-columns: repeat(2, 1fr); }
  .footer-info-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 768px) {
  .phone-desktop { display: none; }
  .phone-mobile  { display: block; }

  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 6px 16px rgba(0,0,0,0.09); padding: 8px 0; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 13px 24px; border-radius: 0; }
  .site-nav .nav-phone { margin: 8px 16px; text-align: center; border-radius: 7px; }
  .menu-btn { display: flex; }

  .sec { padding: 56px 20px; }
  .hero { min-height: 70vh; padding: 64px 20px; }
  .space-grid { grid-template-columns: 1fr 1fr; }
  .film-grid  { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .case-grid  { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .concern-grid { grid-template-columns: repeat(3, 1fr); }
  body { padding-bottom: 58px; }
}

@media (max-width: 480px) {
  .space-grid { grid-template-columns: 1fr; }
  .film-grid  { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .concern-grid { grid-template-columns: repeat(2, 1fr); }
  .concern-img { height: 140px; }
}
