:root {
  --navy: #071528;
  --navy-2: #0b2039;
  --blue: #1428a0;
  --blue-bright: #1e52d8;
  --red: #e3222e;
  --paper: #f3f6fa;
  --ink: #101b2b;
  --muted: #617084;
  --line: #d8e0e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.section { padding: 126px 0; }
.section-inner, .header-inner, .hero-inner, .footer-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
  color: #fff;
  background: rgba(5,18,36,.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
section[id] { scroll-margin-top: 86px; }
.header-inner { height: 86px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-image {
  position: relative; display: block; overflow: hidden;
  width: 190px; height: 70px;
}
.brand-image img {
  position: absolute; width: 210px; height: 210px; max-width: none;
  left: -18px; top: -69px; object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.42)) drop-shadow(0 8px 16px rgba(0,0,0,.2));
}
.site-header nav { display: flex; align-items: center; gap: 38px; margin-left: auto; }
.site-header nav a { position: relative; font-size: 15px; color: rgba(255,255,255,.78); transition: .2s ease; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--red); transition: .2s ease; }
.site-header nav a:hover { color: #fff; }
.site-header nav a:hover::after { right: 0; }
.header-call { margin-left: 38px; border-left: 1px solid rgba(255,255,255,.22); padding-left: 28px; font-size: 12px; color: rgba(255,255,255,.62); }
.header-call b { display: block; color: #fff; font-size: 16px; margin-top: 3px; }
.mobile-menu { display: none; }

.hero {
  position: relative; min-height: 850px; height: 100vh; max-height: 980px;
  display: flex; align-items: center; overflow: hidden; color: #fff;
  background: var(--navy) url("assets/security-hero.jpg") center/cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,31,.98) 0%, rgba(4,15,31,.88) 41%, rgba(7,21,40,.28) 74%, rgba(7,21,40,.52) 100%), linear-gradient(0deg, rgba(5,17,34,.72), transparent 50%); }
.hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 94px 94px; mask-image: linear-gradient(90deg, transparent 40%, black); }
.hero-inner { position: relative; z-index: 2; padding-top: 75px; }
.eyebrow, .section-label { font-size: 12px; font-weight: 800; letter-spacing: .21em; color: var(--red); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #fff; }
.eyebrow span { width: 45px; height: 3px; background: var(--red); }
.hero h1 { margin: 28px 0 25px; font-size: clamp(50px, 6vw, 82px); line-height: 1.12; letter-spacing: -.065em; font-weight: 800; }
.hero h1 em { font-style: normal; color: #fff; }
.hero h1 em::after { content: ""; display: block; width: 108px; height: 7px; margin-top: 20px; background: var(--red); }
.hero > .hero-inner > p { color: rgba(255,255,255,.72); font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; padding: 0 27px; font-weight: 750; font-size: 15px; transition: .22s ease; }
.button.primary { background: var(--red); color: #fff; }
.button.primary:hover { background: #fb3341; transform: translateY(-2px); }
.button.secondary { color: #fff; border: 1px solid rgba(255,255,255,.32); }
.button.secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button.secondary span { font-size: 21px; margin-left: 28px; }
.button.dark { background: var(--navy); color: #fff; }
.button.dark:hover { background: var(--blue); }
.hero-facts { display: flex; margin-top: 65px; }
.hero-facts div { display: grid; gap: 5px; min-width: 145px; padding-right: 42px; margin-right: 42px; border-right: 1px solid rgba(255,255,255,.2); }
.hero-facts div:last-child { border: 0; }
.hero-facts b { color: #fff; font-size: 13px; letter-spacing: .15em; }
.hero-facts span { color: rgba(255,255,255,.56); font-size: 12px; }
.scroll-cue { position: absolute; right: 38px; bottom: 30px; z-index: 2; display: flex; align-items: center; gap: 15px; font-size: 9px; letter-spacing: .2em; color: rgba(255,255,255,.5); transform: rotate(90deg); transform-origin: right center; }
.scroll-cue span { width: 55px; height: 1px; background: rgba(255,255,255,.45); }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 130px; }
.section-label { margin: 0 0 26px; }
.section-label.light { color: #6e91ff; }
.intro h2, .services h2, .strength h2, .contact h2 { margin: 0; font-size: clamp(42px, 4.5vw, 62px); line-height: 1.13; letter-spacing: -.06em; }
.intro h2 span, .services h2 span, .strength h2 span, .contact h2 span { color: var(--blue); }
.intro-copy .lead { margin: 50px 0 24px; color: var(--ink); font-size: 23px; font-weight: 700; line-height: 1.6; letter-spacing: -.035em; }
.intro-copy > p:not(.lead) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.manager-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; margin-top: 50px; padding: 25px; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 20px 50px rgba(10,35,70,.08); }
.manager-badge { width: 70px; height: 70px; display: grid; place-content: center; text-align: center; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800; line-height: 1.5; letter-spacing: .08em; }
.manager-card > div:nth-child(2) { display: grid; }
.manager-card small { font-size: 11px; color: #8290a1; }
.manager-card strong { font-size: 19px; margin: 4px 0; }
.manager-card span { font-size: 12px; color: var(--muted); }
.manager-card > a { font-size: 13px; font-weight: 750; color: var(--blue); }
.manager-card > a span { color: var(--blue); margin-left: 10px; }

.services { background: var(--navy); color: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.services h2 span { color: #fff; }
.section-heading > p { color: rgba(255,255,255,.56); line-height: 1.8; font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.17); border-left: 1px solid rgba(255,255,255,.17); }
.service-card { position: relative; isolation: isolate; overflow: hidden; min-height: 350px; padding: 34px; border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); background: var(--navy-2); transition: .25s ease; }
.service-card::before { content: ""; position: absolute; z-index: -2; inset: 0; background-position: center; background-size: cover; transform: scale(1.02); transition: transform .55s cubic-bezier(.22,.8,.25,1); }
.service-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(145deg, rgba(4,18,38,.76) 0%, rgba(4,18,38,.88) 58%, rgba(4,18,38,.96) 100%); transition: background .3s ease; }
.service-card:nth-child(1)::before { background-image: url("assets/service-video.jpg"); }
.service-card:nth-child(2)::before { background-image: url("assets/service-security.jpg"); }
.service-card:nth-child(3)::before { background-image: url("assets/service-access.png"); background-position: 62% center; }
.service-card:nth-child(4)::before { background-image: url("assets/service-attendance.png"); }
.service-card:nth-child(5)::before { background-image: url("assets/service-information.png"); }
.service-card:nth-child(6)::before { background-image: url("assets/service-integrated.jpg"); }
.service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 50px rgba(0,0,0,.32); }
.service-card:hover::before { transform: scale(1.09); }
.service-card:hover::after { background: linear-gradient(145deg, rgba(10,31,88,.69) 0%, rgba(6,25,62,.83) 62%, rgba(4,18,38,.93) 100%); }
.service-top { color: #6e91ff; font-size: 12px; font-weight: 800; }
.service-card h3 { margin: 46px 0 21px; font-size: 27px; }
.service-card > p { min-height: 74px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.75; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.service-card ul { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 30px 0 0; }
.service-card li { padding: 7px 10px; border: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.82); background: rgba(2,12,27,.3); backdrop-filter: blur(3px); font-size: 10px; }
.service-card:hover p, .service-card:hover li { color: rgba(255,255,255,.86); }

.strength { background: #fff; }
.strength-head { display: grid; grid-template-columns: 1fr .8fr; gap: 110px; align-items: end; }
.strength-head > p { color: var(--muted); line-height: 1.9; font-size: 16px; }
.strength-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 75px; border-top: 2px solid var(--ink); }
.strength-list article { position: relative; min-height: 280px; padding: 30px 30px 30px 0; border-right: 1px solid var(--line); }
.strength-list article:not(:first-child) { padding-left: 30px; }
.strength-list article:last-child { border-right: 0; }
.strength-list span { color: var(--red); font-size: 11px; font-weight: 800; }
.strength-list h3 { margin: 55px 0 18px; font-size: 21px; }
.strength-list p { color: var(--muted); font-size: 14px; line-height: 1.75; }

.promise { position: relative; padding: 115px 0; color: #fff; background: linear-gradient(110deg, rgba(8,24,48,.98), rgba(20,40,160,.86)), url("assets/security-hero.jpg") center 30%/cover fixed; }
.promise-inner { width: min(980px, calc(100% - 64px)); margin: 0 auto; text-align: center; }
.promise h2 { margin: 0; font-size: clamp(42px, 5vw, 64px); letter-spacing: -.06em; }
.promise > .promise-inner > p:not(.section-label) { margin: 26px 0 0; color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.8; }
.promise-values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 58px; border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.promise-values div { padding: 28px; display: grid; gap: 8px; border-right: 1px solid rgba(255,255,255,.24); }
.promise-values div:last-child { border: 0; }
.promise-values b { font-size: 20px; }
.promise-values span { color: #85a3ff; font-size: 9px; letter-spacing: .2em; }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 125px; }
.contact-title > p:last-child { margin-top: 35px; color: var(--muted); line-height: 1.8; }
.contact-panel { border-top: 3px solid var(--ink); }
.contact-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; min-height: 68px; border-bottom: 1px solid var(--line); }
.contact-row > span { color: #7d899a; font-size: 12px; }
.contact-row a, .contact-row p { margin: 0; font-size: 16px; font-weight: 650; }
.contact-row.featured { min-height: 100px; }
.contact-row.featured a { color: var(--blue); font-size: 30px; letter-spacing: -.03em; }
.contact-row.address p { line-height: 1.5; }
.contact-actions { display: flex; gap: 10px; margin-top: 28px; }
.contact-actions .button { flex: 1; }

footer { padding: 45px 0; background: #050f1d; color: #fff; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-brand .brand-image { width: 172px; height: 63px; }
.footer-brand .brand-image img { width: 190px; height: 190px; left: -16px; top: -63px; }
.footer-inner > p { color: rgba(255,255,255,.48); font-size: 12px; }
.footer-inner > small { color: rgba(255,255,255,.33); font-size: 9px; letter-spacing: .08em; }
.mobile-call { display: none; }

@media (max-width: 1020px) {
  .site-header nav { display: none; }
  .header-call { margin-left: auto; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-copy .lead { margin-top: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-head { grid-template-columns: 1fr; gap: 30px; }
  .strength-list { grid-template-columns: repeat(2, 1fr); }
  .strength-list article:nth-child(2) { border-right: 0; }
  .strength-list article:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .strength-list article:nth-child(4) { border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > small { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .section { padding: 82px 0; }
  .section-inner, .header-inner, .hero-inner, .footer-inner { width: min(100% - 40px, 1180px); }
  .site-header {
    position: fixed;
    background: #071528;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  section[id] { scroll-margin-top: 72px; }
  .header-inner { height: 72px; }
  .brand-image { width: 155px; height: 58px; }
  .brand-image img { width: 172px; height: 172px; left: -14px; top: -57px; }
  .header-call { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .menu-toggle {
    position: relative; z-index: 72; width: 44px; height: 44px; padding: 11px 8px;
    display: flex; flex-direction: column; justify-content: space-between;
    border: 0; background: transparent; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
  .mobile-menu.is-open .menu-toggle span:first-child { transform: translateY(10px) rotate(45deg); }
  .mobile-menu.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .mobile-menu.is-open .menu-toggle span:last-child { transform: translateY(-10px) rotate(-45deg); }
  .menu-backdrop {
    position: fixed; z-index: 68; inset: 0; width: 100vw; height: 100dvh; visibility: hidden; opacity: 0;
    border: 0; background: rgba(2,9,18,.62); backdrop-filter: blur(4px); transition: .25s ease;
  }
  .mobile-menu.is-open .menu-backdrop { visibility: visible; opacity: 1; }
  .menu-panel {
    position: fixed; z-index: 70; top: 0; right: 0; width: min(88vw, 390px); height: 100dvh;
    display: flex; flex-direction: column; overflow-y: auto;
    padding: 110px 28px 36px; color: #fff; background: var(--navy);
    transform: translateX(100%); transition: transform .3s cubic-bezier(.22,.8,.25,1);
    box-shadow: -20px 0 50px rgba(0,0,0,.28);
  }
  .mobile-menu.is-open .menu-panel { transform: translateX(0); }
  .menu-panel > p { margin: 0 0 24px; color: #6e91ff; font-size: 10px; font-weight: 800; letter-spacing: .22em; }
  .menu-panel nav { display: block; border-top: 1px solid rgba(255,255,255,.18); }
  .menu-panel nav a {
    display: grid; grid-template-columns: 30px 1fr auto; align-items: center;
    min-height: 70px; border-bottom: 1px solid rgba(255,255,255,.13);
  }
  .menu-panel nav small { color: #6e91ff; font-size: 9px; }
  .menu-panel nav span { color: #fff; font-size: 21px; font-weight: 700; }
  .menu-panel nav b { color: rgba(255,255,255,.42); font-size: 15px; font-weight: 400; }
  .menu-contact { position: static; display: grid; margin-top: auto; padding-top: 30px; }
  .menu-contact small { color: rgba(255,255,255,.48); font-size: 10px; }
  .menu-contact a { margin: 7px 0 8px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
  .menu-contact span { color: rgba(255,255,255,.42); font-size: 10px; }
  .hero { min-height: 790px; height: 100svh; background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,15,31,.96), rgba(4,15,31,.66)), linear-gradient(0deg, rgba(4,15,31,.88), transparent 60%); }
  .hero-inner { padding-top: 50px; }
  .eyebrow { font-size: 9px; }
  .hero h1 { margin-top: 25px; font-size: clamp(40px, 12vw, 54px); line-height: 1.17; }
  .hero h1 em::after { height: 5px; width: 78px; margin-top: 16px; }
  .hero > .hero-inner > p { font-size: 15px; line-height: 1.75; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: column; max-width: 280px; }
  .hero-facts { margin-top: 44px; gap: 0; }
  .hero-facts div { min-width: 0; flex: 1; padding-right: 10px; margin-right: 12px; }
  .hero-facts b { font-size: 10px; }
  .hero-facts span { font-size: 9px; }
  .scroll-cue { display: none; }
  .section-label { margin-bottom: 18px; font-size: 10px; }
  .intro h2, .services h2, .strength h2, .contact h2 { font-size: 40px; }
  .intro-copy .lead { font-size: 19px; }
  .manager-card { grid-template-columns: auto 1fr; gap: 17px; padding: 20px; }
  .manager-badge { width: 58px; height: 58px; font-size: 7px; }
  .manager-card > a { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--line); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; padding: 28px; }
  .service-card h3 { margin-top: 35px; }
  .strength-list { grid-template-columns: 1fr; }
  .strength-list article { min-height: auto; padding: 27px 0 35px !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .strength-list article:not(:first-child) { border-top: 0; }
  .strength-list h3 { margin: 25px 0 10px; }
  .promise { background-attachment: scroll; }
  .promise-values div { padding: 20px 8px; }
  .promise-values b { font-size: 16px; }
  .promise-values span { font-size: 7px; }
  .contact-row { grid-template-columns: 90px 1fr; }
  .contact-row.featured a { font-size: 25px; }
  .contact-row.address p, .contact-row a { font-size: 14px; overflow-wrap: anywhere; }
  .contact-actions { flex-direction: column; }
  .footer-inner { display: block; padding-bottom: 58px; }
  .footer-inner > p { margin-top: 25px; line-height: 1.7; }
  .footer-inner > small { display: block; margin-top: 20px; }
  .mobile-call { position: fixed; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 10px; left: 12px; right: 12px; bottom: 12px; height: 54px; color: #fff; background: var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.28); font-size: 12px; }
  .mobile-call b { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
