/* 인천교습소철거 — 해양 블루 + 웨이브 디바이더 테마 */
:root {
  --deep-navy: #052a44;
  --port-blue: #0a4b78;
  --ocean-blue: #0e6ba8;
  --teal: #12a4a4;
  --seafoam: #6fd6c5;
  --foam-white: #eef9f8;
  --sand: #f4ede0;
  --ink: #0b2233;
  --coral: #ff8a5b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Gothic A1", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--foam-white);
  line-height: 1.7;
  word-break: keep-all;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top left, #0f6f9c 0%, var(--deep-navy) 55%, #031a2b 100%);
  color: #fff;
  padding: 72px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 2px, transparent 3px, transparent 60px),
    repeating-radial-gradient(circle at 80% 70%, rgba(111,214,197,0.08) 0, rgba(111,214,197,0.08) 2px, transparent 3px, transparent 80px);
  opacity: 0.8;
}

.hero-wave-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(transparent, transparent) ;
}

.hero .wrap { position: relative; z-index: 2; }

.eyebrow {
  display: inline-block;
  background: rgba(111, 214, 197, 0.16);
  border: 1px solid rgba(111, 214, 197, 0.5);
  color: var(--seafoam);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(16px, 2.2vw, 19px);
  max-width: 640px;
  color: #dff3f1;
  margin: 0 0 32px;
}

.hero-lead strong { color: var(--seafoam); }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #14202a;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 12px 30px -8px rgba(255, 138, 91, 0.6);
  min-height: 44px;
}

.hero-tags {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: #cfe9ec;
}

/* wave divider svg strip */
.wave-divider {
  position: relative;
  line-height: 0;
  margin-top: -2px;
}
.wave-divider svg { width: 100%; height: 90px; display: block; }

/* ---------- SECTIONS ---------- */
section.panel {
  padding: 64px 0;
  position: relative;
}

.panel-navy { background: var(--deep-navy); color: #eaf6f5; }
.panel-teal { background: linear-gradient(180deg, var(--teal), #0c8a8a); color: #04211f; }
.panel-foam { background: var(--foam-white); }
.panel-port { background: var(--port-blue); color: #eaf6f5; }
.panel-sand { background: var(--sand); }

h2 {
  font-size: clamp(24px, 3.6vw, 32px);
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.panel-navy h2, .panel-port h2 { color: #ffffff; }
.panel-navy h2::after, .panel-port h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--seafoam);
  border-radius: 2px;
  margin-top: 12px;
}
.panel-teal h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--deep-navy);
  border-radius: 2px;
  margin-top: 12px;
}

h3 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }

p { margin: 0 0 16px; }

/* ---------- SITUATION CARDS ---------- */
.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.situation-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(111,214,197,0.35);
  border-radius: 16px;
  padding: 22px;
}

.panel-navy .situation-card h3 { color: var(--seafoam); }
.situation-card p { color: #cfe4e2; font-size: 15px; margin: 0; }

/* ---------- TABLE ---------- */
.table-scroll { overflow-x: auto; margin: 24px 0; border-radius: 14px; box-shadow: 0 10px 30px -12px rgba(5,42,68,0.3); }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 560px;
}

caption {
  text-align: left;
  font-weight: 700;
  padding: 10px 4px;
  color: var(--port-blue);
}

thead th {
  background: var(--ocean-blue);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-size: 14px;
}

tbody td, tbody th {
  padding: 14px 16px;
  border-bottom: 1px solid #dceef0;
  font-size: 14.5px;
  text-align: left;
}

tbody tr:nth-child(even) { background: #f2fbfa; }
tbody tr:last-child td { border-bottom: none; }

/* ---------- LISTS ---------- */
.styled-ol, .styled-ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

.styled-ol li {
  counter-increment: step;
  position: relative;
  padding: 12px 16px 12px 52px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px -8px rgba(5,42,68,0.25);
}

.styled-ol li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ocean-blue);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.styled-ul li {
  position: relative;
  padding: 10px 16px 10px 30px;
  margin-bottom: 8px;
}

.styled-ul li::before {
  content: "\1F30A";
  position: absolute;
  left: 0;
  font-size: 14px;
}

/* ---------- NEIGHBORHOODS ---------- */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.neighborhood-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border-top: 5px solid var(--teal);
  box-shadow: 0 8px 22px -14px rgba(5,42,68,0.4);
}

.neighborhood-card h3 { color: var(--port-blue); }
.neighborhood-card p { font-size: 14.5px; color: #345; margin: 0; }

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
  justify-items: center;
}

.gallery figure {
  margin: 0;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px -14px rgba(5,42,68,0.35);
  border: 1px solid #dceef0;
}

.gallery img { width: 100%; height: 160px; object-fit: cover; }

.gallery figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--port-blue);
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.panel-port .faq-item h3 { color: var(--seafoam); }
.panel-port .faq-item p { color: #dff3f1; margin: 0; font-size: 15px; }

/* ---------- RELATED ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.related-card {
  display: block;
  background: #fff;
  border: 1px solid #d7ecec;
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: var(--port-blue);
  font-weight: 700;
  min-height: 44px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgba(5,42,68,0.35); }

.related-card span {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: #5a7d8a;
  margin-top: 4px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--deep-navy);
  color: #b8d4d2;
  padding: 28px 24px;
  font-size: 13px;
  text-align: center;
}

footer a { color: var(--seafoam); text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .situation-grid,
  .neighborhood-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 0 90px; }
  section.panel { padding: 48px 0; }
}

@media (max-width: 480px) {
  .situation-grid,
  .neighborhood-grid,
  .related-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .wrap { padding: 0 18px; }
  .hero-cta { width: 100%; justify-content: center; }
  table { min-width: 480px; }
}
