:root {
  --ink: #102a36;
  --muted: #5f7178;
  --navy: #073b4c;
  --navy-deep: #052c39;
  --teal: #087f78;
  --green: #78943b;
  --lime: #c3dc7e;
  --sky: #eaf5f5;
  --line: #d9e5e7;
  --paper: #ffffff;
  --soft: #f4f8f8;
  --shadow: 0 24px 70px rgba(7, 59, 76, .13);
  --shadow-soft: 0 14px 42px rgba(7, 59, 76, .09);
  --radius: 20px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: 106px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-160%); background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(217,229,231,.85); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid #e0e8d7; border-radius: 13px; box-shadow: 0 8px 23px rgba(52,72,42,.13); }
.brand-mark img { width: 48px; height: 48px; display: block; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 21px; letter-spacing: -.6px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 27px; }
.site-nav a { position: relative; text-decoration: none; font-weight: 700; font-size: 15px; }
.site-nav a:not(.nav-official)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--green); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-official { padding: 11px 18px; color: #fff; background: linear-gradient(135deg, var(--navy), #0a6468); border-radius: 999px; box-shadow: 0 8px 22px rgba(7,59,76,.16); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero { position: relative; min-height: 710px; overflow: hidden; color: #fff; background: var(--navy-deep); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: 2; top: -190px; right: -170px; width: 520px; height: 520px; border: 1px solid rgba(183,222,116,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); pointer-events: none; }
.hero-photo { position: absolute; inset: 0; background: linear-gradient(115deg, #174d5d 0%, #0c4853 50%, #153f4b 100%); background-image: url("./assets/school-safety-hero.webp"), linear-gradient(115deg, #174d5d 0%, #0c4853 50%, #153f4b 100%); background-size: cover; background-position: center; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,31,42,.95) 0%, rgba(3,31,42,.78) 43%, rgba(3,31,42,.22) 75%, rgba(3,31,42,.1) 100%), linear-gradient(0deg, rgba(3,31,42,.54), transparent 45%); }
.hero-content { position: relative; z-index: 3; min-height: 710px; display: flex; flex-direction: column; justify-content: center; padding-top: 32px; padding-bottom: 140px; }
.hero-pill { width: fit-content; display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 7px 12px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 12px; font-weight: 750; letter-spacing: .035em; backdrop-filter: blur(9px); }
.hero-pill span { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(183,222,116,.14); }
.eyebrow { margin: 0 0 18px; color: var(--lime); font-size: 15px; font-weight: 800; letter-spacing: .08em; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.14; letter-spacing: -.055em; text-shadow: 0 7px 32px rgba(0,0,0,.22); }
.hero h1 span { color: #fff; }
.hero-lead { max-width: 650px; margin: 25px 0 0; color: rgba(255,255,255,.83); font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 21px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button.primary { color: #082f3b; background: linear-gradient(135deg, #c7ed86, #a8d662); box-shadow: 0 12px 28px rgba(183,222,116,.19); }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button.dark { color: #fff; background: var(--navy); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.quick-links { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.17); background: rgba(3,31,42,.72); backdrop-filter: blur(16px); }
.quick-links a { min-height: 102px; display: flex; align-items: center; gap: 15px; padding: 23px 25px; border-right: 1px solid rgba(255,255,255,.14); text-decoration: none; font-weight: 750; }
.quick-links a:last-child { border-right: 0; }
.quick-links span { color: var(--lime); font-size: 13px; font-weight: 900; }
.quick-links a:hover, .quick-links a:focus-visible { background: rgba(44,165,108,.22); }

.section-kicker { margin: 0 0 13px; color: var(--teal); font-size: 13px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.section-kicker.light { color: var(--lime); }
.intro { position: relative; overflow: hidden; background: #fff; }
.intro::before { content: ""; position: absolute; top: 120px; left: -210px; width: 430px; height: 430px; background: radial-gradient(circle, rgba(8,127,120,.09), rgba(8,127,120,0) 68%); pointer-events: none; }
.intro-grid { display: grid; grid-template-columns: .93fr 1.07fr; gap: 95px; align-items: start; }
.intro h2, .section-heading h2, .resource-lead h2, .contact h2 { margin: 0; font-size: clamp(32px, 4vw, 49px); line-height: 1.27; letter-spacing: -.045em; }
.intro-copy { padding-top: 8px; color: #405961; font-size: 18px; }
.intro-copy > p:first-child { margin: 0; }
.notice { margin: 28px 0 0; padding: 19px 22px; color: #4f646b; background: var(--soft); border-left: 4px solid var(--green); font-size: 15px; }
.notice a { color: var(--teal); font-weight: 800; }
.field-stories { position: relative; display: grid; grid-template-columns: 1.25fr .92fr; grid-template-rows: 280px 180px; gap: 18px; margin-top: 72px; }
.field-card { position: relative; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-soft); background: var(--navy); }
.field-card-large { grid-row: 1 / 3; }
.field-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.field-card:hover img { transform: scale(1.035); }
.field-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(3,31,42,.82)); pointer-events: none; }
.field-card figcaption { position: absolute; z-index: 2; right: 25px; bottom: 22px; left: 25px; color: #fff; }
.field-card figcaption span { display: block; margin-bottom: 5px; color: var(--lime); font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.field-card figcaption strong { display: block; max-width: 480px; font-size: clamp(17px, 2vw, 22px); line-height: 1.45; }
.field-message { display: flex; flex-direction: column; justify-content: center; padding: 27px 31px; color: #fff; background: linear-gradient(135deg, var(--teal), #075b63); border-radius: 22px; box-shadow: var(--shadow-soft); }
.field-message small { color: var(--lime); font-weight: 900; letter-spacing: .14em; }
.field-message p { margin: 10px 0 15px; font-size: 19px; line-height: 1.55; }
.field-message p strong { color: #d8f69f; }
.field-message div { color: rgba(255,255,255,.64); font-size: 13px; letter-spacing: .12em; }

.services { position: relative; background: linear-gradient(180deg, #f3f8f8 0%, #edf5f5 100%); }
.section-heading { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: end; margin-bottom: 44px; }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 17px; }
.section-heading.compact { display: block; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 310px; padding: 35px 36px 31px; overflow: hidden; background: rgba(255,255,255,.96); border: 1px solid rgba(211,228,230,.9); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(7,59,76,.055); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--lime)); opacity: .78; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(8,127,120,.22); box-shadow: 0 20px 48px rgba(7,59,76,.11); }
.service-card.featured { color: #fff; background: linear-gradient(145deg, #098d84 0%, #086a70 100%); border-color: transparent; box-shadow: 0 18px 45px rgba(8,127,120,.2); }
.card-number { position: absolute; top: 18px; right: 23px; color: rgba(7,59,76,.09); font-size: 76px; font-weight: 900; line-height: 1; }
.featured .card-number { color: rgba(255,255,255,.12); }
.card-label { position: relative; margin: 0 0 37px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.featured .card-label { color: var(--lime); }
.service-card h3 { position: relative; margin: 0 0 14px; font-size: 27px; letter-spacing: -.03em; }
.service-card > p:not(.card-label), .service-wide > div > p:not(.card-label) { position: relative; max-width: 490px; margin: 0; color: var(--muted); }
.featured > p:not(.card-label) { color: rgba(255,255,255,.84); }
.service-card a { position: absolute; bottom: 29px; left: 36px; color: var(--teal); text-decoration: none; font-weight: 850; }
.featured a { color: #fff; }
.service-card a span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.service-card a:hover span, .service-card a:focus-visible span { transform: translateX(5px); }
.service-wide { grid-column: 1 / -1; min-height: 170px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.service-wide .card-label { margin-bottom: 12px; }
.service-wide a { position: static; padding: 12px 16px; border: 1px solid var(--line); border-radius: 9px; }

.safety { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 8% 15%, rgba(44,165,108,.22), transparent 27%), linear-gradient(135deg, #073b4c 0%, #052f3e 56%, #063641 100%); }
.safety::after { content: ""; position: absolute; right: -180px; bottom: -220px; width: 520px; height: 520px; border: 1px solid rgba(183,222,116,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.015); pointer-events: none; }
.safety-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 85px; align-items: center; }
.safety-copy h2 { margin: 0; font-size: clamp(37px, 4.7vw, 60px); line-height: 1.18; letter-spacing: -.05em; }
.safety-copy h2 span { color: var(--lime); }
.safety-copy > p:not(.section-kicker) { max-width: 520px; margin: 25px 0; color: rgba(255,255,255,.73); font-size: 17px; }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: #fff; text-decoration: none; font-weight: 850; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 5px; }
.check-panel { position: relative; z-index: 2; padding: 38px 42px; color: var(--ink); background: linear-gradient(180deg, #fff, #fbfdfd); border: 1px solid rgba(255,255,255,.7); border-radius: 24px; box-shadow: 0 30px 85px rgba(0,0,0,.2); }
.check-panel h3 { margin: 0 0 12px; font-size: 25px; }
.check-panel ul { list-style: none; margin: 0; padding: 0; }
.check-panel li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.check-panel li > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--teal); background: var(--sky); border-radius: 50%; font-size: 12px; font-weight: 900; }
.check-panel strong { display: block; margin-bottom: 4px; font-size: 17px; }
.check-panel li p { margin: 0; color: var(--muted); font-size: 15px; }
.panel-note { margin: 20px 0 0; padding: 15px 17px; color: #3d5b63; background: #f1f7ef; border-radius: 10px; font-size: 14px; }

.process { background: linear-gradient(180deg, #fff 0%, #f9fbfb 100%); }
.process-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 54px 0 0; padding: 0; }
.process-list li { position: relative; padding: 0 32px; border-left: 1px solid var(--line); }
.process-list li:first-child { padding-left: 0; border-left: 0; }
.process-list li:last-child { padding-right: 0; }
.process-list li > span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 25px; color: #fff; background: linear-gradient(145deg, #16a191, #087078); border-radius: 15px 5px 15px 5px; box-shadow: 0 10px 24px rgba(8,127,120,.2); font-size: 16px; font-weight: 900; }
.process-list h3 { margin: 0 0 7px; font-size: 22px; }
.process-list p { margin: 0; color: var(--muted); font-size: 15px; }

.resources { background: var(--sky); }
.resources-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 85px; align-items: start; }
.resource-lead > p:not(.section-kicker) { margin: 23px 0 27px; color: var(--muted); font-size: 17px; }
.resource-links { background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.resource-links a { position: relative; min-height: 108px; display: grid; grid-template-columns: 92px 1fr 30px; gap: 22px; align-items: center; padding: 22px 30px; border-bottom: 1px solid var(--line); text-decoration: none; }
.resource-links a:last-child { border-bottom: 0; }
.resource-links a:hover, .resource-links a:focus-visible { background: #f8fbfb; }
.resource-links span { color: var(--teal); font-size: 14px; font-weight: 900; }
.resource-links strong { font-size: 17px; }
.resource-links b { color: #6b858c; font-size: 20px; }

.contact { position: relative; overflow: hidden; padding: 78px 0; color: #fff; background: linear-gradient(112deg, #098b80 0%, #08716d 48%, #07505d 100%); }
.contact::after { content: ""; position: absolute; top: -155px; right: 10%; width: 360px; height: 360px; border: 80px solid rgba(255,255,255,.045); border-radius: 50%; pointer-events: none; }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 55px; align-items: center; }
.contact p { margin: 0 0 10px; color: var(--lime); font-weight: 800; }
.contact h2 { max-width: 700px; font-size: clamp(28px, 3.5vw, 44px); }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 10px; }
.contact-actions a { min-height: 88px; display: flex; flex-direction: column; justify-content: center; padding: 15px 19px; text-decoration: none; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; }
.contact-actions small { margin-bottom: 4px; color: rgba(255,255,255,.68); }
.contact-actions strong { font-size: 17px; }

.site-footer { padding: 40px 0 25px; color: rgba(255,255,255,.72); background: #062c38; font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; color: #fff; }
.footer-brand img { width: 52px; height: 52px; display: block; object-fit: contain; background: #fff; border-radius: 11px; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.footer-brand div { display: grid; line-height: 1.25; }
.footer-brand strong { font-size: 18px; font-weight: 850; }
.footer-brand span { margin-top: 5px; color: var(--lime); font-size: 12px; font-weight: 750; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 20px; align-items: start; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-note { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

:focus-visible { outline: 3px solid #f1c84b; outline-offset: 3px; }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.visible { opacity: 1; transform: none; transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }

@media (max-width: 980px) {
  :root { --wrap: min(100% - 32px, 780px); }
  .section { padding: 82px 0; }
  .menu-button { display: block; cursor: pointer; }
  .site-nav { position: absolute; top: 78px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(7,59,76,.12); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 12px; }
  .nav-official { margin-top: 7px; text-align: center; }
  .hero, .hero-content { min-height: 780px; }
  .hero-content { padding-bottom: 240px; }
  .hero-photo { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,31,42,.94) 0%, rgba(3,31,42,.74) 68%, rgba(3,31,42,.45) 100%); }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .quick-links a { min-height: 92px; }
  .quick-links a:nth-child(2) { border-right: 0; }
  .quick-links a:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .intro-grid, .safety-grid, .resources-grid { grid-template-columns: 1fr; gap: 42px; }
  .field-stories { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 190px; }
  .field-card-large { grid-column: 1 / -1; grid-row: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .process-list { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100% - 28px); }
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand-mark img { width: 39px; height: 39px; }
  .brand-copy strong { font-size: 19px; }
  .site-nav { top: 68px; }
  .hero, .hero-content { min-height: 790px; }
  .hero-content { justify-content: flex-start; padding-top: 78px; padding-bottom: 245px; }
  .eyebrow { font-size: 13px; }
  .hero h1 { font-size: clamp(37px, 11vw, 50px); }
  .hero-lead { margin-top: 20px; font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 27px; }
  .button { width: 100%; }
  .quick-links a { min-height: 94px; padding: 17px 14px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; font-size: 14px; }
  .intro-grid { gap: 27px; }
  .field-stories { grid-template-columns: 1fr; grid-template-rows: none; gap: 13px; margin-top: 48px; }
  .field-card, .field-card-large { grid-column: auto; grid-row: auto; min-height: 285px; }
  .field-message { min-height: 190px; }
  .intro h2, .section-heading h2, .resource-lead h2 { font-size: 31px; }
  .intro-copy { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; padding: 30px 27px; }
  .service-card a { left: 27px; }
  .service-wide { grid-column: auto; display: block; min-height: 325px; }
  .service-wide a { position: absolute; bottom: 29px; }
  .safety-copy h2 { font-size: 40px; }
  .check-panel { padding: 28px 22px; }
  .check-panel li { grid-template-columns: 38px 1fr; gap: 10px; }
  .process-list { grid-template-columns: 1fr; gap: 0; }
  .process-list li, .process-list li:nth-child(3) { display: grid; grid-template-columns: 47px 1fr; gap: 18px; padding: 21px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .process-list li:last-child { border-bottom: 0; }
  .process-list li > span { width: 42px; height: 42px; margin: 0; }
  .resource-links a { grid-template-columns: 70px 1fr 18px; gap: 12px; padding: 19px 18px; }
  .resource-links strong { font-size: 15px; }
  .contact-actions { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

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