:root {
  --green: #08723f;
  --green-dark: #075b35;
  --lime: #82b822;
  --navy: #07182a;
  --ink: #17212b;
  --muted: #68737d;
  --line: #e3e8e4;
  --soft: #f4f7f4;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(8, 35, 24, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand img { width: 180px; height: 78px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 34px; font-weight: 700; font-size: 15px; }
.main-nav a { position: relative; padding: 26px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 2px; background: var(--green); transition: .25s; }
.main-nav a:hover::after { right: 0; }
.menu-button { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; }
.menu-button span { display: block; height: 2px; margin: 6px 0; background: var(--ink); }
.brand { grid-column: 1; }
.main-nav { grid-column: 2; }
.menu-button { grid-column: 3; justify-self: end; }
.header-search { grid-column: 3; justify-self: end; display: flex; width: 190px; border: 1px solid #d5dee7; border-radius: 22px; overflow: hidden; background: white; }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 10px 4px 10px 16px; font-size: 12px; }
.header-search button { border: 0; background: transparent; padding: 8px 12px; cursor: pointer; }
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: url("assets/hero-network-city.png") center/cover no-repeat;
  color: white;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 62%;
  left: -45%;
  width: 42%;
  height: 3px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(40, 170, 255, 0.4),
    #8ee8ff,
    rgba(40, 170, 255, 0.4),
    transparent
  );
  box-shadow:
    0 0 8px #32baff,
    0 0 20px rgba(30, 160, 255, 0.9),
    0 0 40px rgba(30, 130, 255, 0.65);
transform: rotate(-18deg);
animation: hero-laser 6s linear infinite;
}

@keyframes hero-laser {
  0% {
    left: -45%;
    top: 72%;
    opacity: 0;
  }

  15% {
    opacity: 0.9;
  }

  50% {
    left: 25%;
    top: 52%;
    opacity: 0.9;
  }

  80% {
    left: 65%;
    top: 34%;
    opacity: 0.75;
  }

  100% {
    left: 92%;
    top: 22%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
    display: none;
  }
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,20,34,.88) 0%, rgba(3,20,34,.62) 48%, rgba(3,20,34,.22) 100%); }
.hero-content { position: relative; z-index: 1; padding: 100px 0; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: #48b6ff; letter-spacing: .2em; font-weight: 800; font-size: 13px; }
.hero h1 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.15; letter-spacing: -.04em; max-width: 780px; }
.hero-copy { margin: 28px 0 0; font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,.87); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 6px; font-weight: 800; transition: .22s; border: 1px solid transparent; cursor: pointer; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.button-outline { border-color: rgba(255,255,255,.65); color: white; }
.button-outline:hover { background: white; color: var(--navy); }
.button-light { background: white; color: var(--navy); border-color: var(--line); }

.section { padding: 110px 0; }
.section h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.25; letter-spacing: -.035em; }
.section-heading { margin-bottom: 46px; }
.section-heading.centered { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-heading > p:last-child { color: var(--muted); }
.section-kicker { color: var(--green); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.about-copy > p { margin-top: 0; color: var(--muted); font-size: 18px; word-break: keep-all; }
.strength-list { display: grid; gap: 14px; margin-top: 34px; }
.strength-list > div { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.strength-list strong { color: var(--lime); font-size: 24px; }
.strength-list span { color: var(--muted); word-break: keep-all; }
.strength-list b { display: block; color: var(--ink); margin-bottom: 3px; }

.services { background: #eef2f5; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 34px 30px; min-height: 250px; transition: .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card span { color: var(--lime); font-weight: 900; }
.service-card h3 { margin: 42px 0 12px; font-size: 22px; }
.service-card p { margin: 0; color: var(--muted); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px rgba(13,56,35,.08); transition: .25s; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13,56,35,.14); }
.project-image, .project-empty { width: 100%; height: 250px; }
.project-image { object-fit: cover; object-position: center 75%; }
.project-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #edf5ef, #f8faf8); color: var(--lime); font-size: 64px; font-weight: 200; }
.project-content { padding: 25px; }
.project-content h3 { margin: 5px 0 12px; color: #0d6f3b; font-size: 22px; line-height: 1.4; }
.project-content p { margin: 0; color: var(--muted); font-size: 15px; }
.project-type { color: var(--lime) !important; font-weight: 800; font-size: 12px !important; letter-spacing: .08em; }

.contact { background: #f8fafb; color: #142238; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: stretch; }
.contact .section-kicker { color: #07833f; }
.contact-intro h2 { font-size: clamp(28px, 2.4vw, 32px); line-height: 1.35; }
.contact-intro > p:not(.section-kicker) { color: #5f6f7f; }
.contact-direct { display: grid; gap: 10px; margin-top: 24px; }
.contact-direct a { display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid #d8dfda; border-radius: 10px; background: #ffffff; padding: 14px 16px; color: #142238; }
.contact-direct span { color: #405266; font-weight: 700; }
.contact-direct strong { color: #142238; font-size: 17px; font-weight: 800; }
.hours-card { margin-top: 10px; padding: 14px 16px; border: 1px solid #d8dfda; border-radius: 10px; background: #ffffff; }
.hours-heading { display: flex; align-items: center; gap: 10px; }
.hours-heading svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: #07833f; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hours-heading h3 { margin: 0; color: #142238; font-size: 16px; }
.hours-info { display: grid; gap: 3px; margin: 9px 0 0 32px; }
.hours-info p { display: grid; grid-template-columns: 5px 132px 100px; align-items: baseline; gap: 9px; margin: 0; font-size: 13px; line-height: 1.55; }
.hours-info p::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #07833f; align-self: center; }
.hours-info span { color: #5f6f7f; }
.hours-info strong { color: #142238; font-weight: 700; }
.hours-info p:last-child strong { justify-self: start; transform: translateX(-9px); padding: 2px 9px; border-radius: 999px; background: #dff3e7; color: #07833f; font-size: 12px; font-weight: 500; line-height: 1.45; }
.hours-note { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #e3e8e5; color: #718092; font-size: 12px; line-height: 1.5; word-break: keep-all; }
.contact-process { margin-top: 18px; }
.contact-process h3 { margin: 0 0 12px; font-size: 18px; color: #142238; }
.process-item { border-top: 1px solid #d8dfda; padding: 10px 0; }
.process-item strong { display: block; margin-bottom: 4px; color: #07833f; font-size: 14px; }
.process-item p { margin: 0; color: #5f6f7f; font-size: 13px; line-height: 1.6; }
.inquiry-form { background: white; color: var(--ink); border-radius: 16px; padding: 34px; box-shadow: 0 20px 60px rgba(0,0,0,.22); height: 100%; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry-form label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 700; font-size: 14px; }
.inquiry-form > label { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.inquiry-form > label textarea { flex: 1; height: auto; min-height: 180px; }
.inquiry-form input, .inquiry-form textarea { width: 100%; border: 1px solid #d8dfda; border-radius: 8px; padding: 13px 14px; outline: none; background: #f8faf9; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #94a19a; opacity: 1; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,114,63,.1); }
.inquiry-form input:focus, .inquiry-form textarea:focus { background: #ffffff; }
.privacy-consent { margin: 2px 0 18px; padding-top: 16px; border-top: 1px solid #e3e8e5; }
.privacy-consent-row { display: grid; grid-template-columns: 18px auto 1fr; align-items: start; gap: 8px; font-size: 13px; line-height: 1.6; }
.inquiry-form .privacy-consent input[type="checkbox"] { width: 16px; height: 16px; margin: 3px 0 0; padding: 0; accent-color: var(--green); cursor: pointer; }
.inquiry-form .privacy-consent label { display: block; margin: 0; font-size: 13px; font-weight: 500; cursor: pointer; }
.privacy-consent label strong { color: var(--green); }
.privacy-details { justify-self: end; }
.privacy-details[open] { grid-column: 1 / -1; width: 100%; justify-self: stretch; }
.privacy-details summary { color: #405266; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; text-align: right; }
.privacy-details summary::marker { content: ""; }
.privacy-details-content { width: 100%; margin-top: 8px; padding: 16px; border: 1px solid #dfe6e2; border-radius: 8px; background: #f7f9f8; color: #526273; font-size: 12px; word-break: keep-all; overflow-wrap: break-word; }
.privacy-details-content p { margin: 0 0 10px; }
.privacy-details-content p:last-of-type { margin-bottom: 10px; }
.privacy-details-content a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-submit { width: 100%; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

.location { background: #fff; }
.location-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: stretch; }
.map-panel { min-height: 420px; padding: 50px; border-radius: 18px; background: linear-gradient(rgba(7,24,42,.78), rgba(7,24,42,.9)), url("assets/hero-network-city.png") center/cover; color: white; display: flex; flex-direction: column; justify-content: flex-end; }
.map-symbol { font-size: 38px; font-weight: 900; letter-spacing: .06em; }
.map-panel p { color: rgba(255,255,255,.8); }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.company-info dl { margin: 30px 0 0; }
.company-info dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company-info dt { color: var(--muted); }
.company-info dd { margin: 0; font-weight: 700; }

.site-footer { background: #ffffff; color: #405266; padding: 45px 0; border-top: 1px solid #d7e1e8; }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; align-items: center; }
.footer-inner img { width: 220px; background: transparent; border-radius: 0; padding: 0; }
.footer-inner > div { flex: 1; text-align: center; }
.footer-inner p { margin: 4px 0; font-size: 13px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-top: 16px; }
.footer-links a { color: #07833f; font-size: 13px; font-weight: 700; text-decoration: none; }
.footer-links span { color: #9aa8b5; }
@media (max-width: 960px) {
 .header-search { display: none; } 
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; background: white; padding: 14px 20px 24px; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .about-grid, .contact-grid, .location-grid { grid-template-columns: 1fr; gap: 45px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-coming:last-child { grid-column: span 2; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
.header-inner { min-height: 70px; display: flex; justify-content: space-between; }
  .brand img { width: 110px; height: 50px; }
  .main-nav { top: 70px; }
  .hero { min-height: 650px; background-position: 58% center; }
  .hero-overlay { background: rgba(3,20,34,.72); }
  .hero-content { padding: 80px 0; }
  .hero h1 { font-size: 42px; }
  .section { padding: 78px 0; }
  .service-grid, .portfolio-grid, .field-row { grid-template-columns: 1fr; }
  .project-coming:last-child { grid-column: auto; }
  .project-image, .project-empty { height: 220px; }
  .inquiry-form { padding: 24px 18px; }
  .hours-info { margin-left: 0; }
  .hours-info p { grid-template-columns: 5px 128px 100px; gap: 8px; }
  .company-info dl > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner p { text-align: left; }
}


.hero-overlay {
  animation: hero-glow 5s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  from {
    background-color: rgba(0, 31, 74, 0.05);
  }

  to {
    background-color: rgba(0, 88, 165, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-overlay {
    animation: none;
  }
}
.hero-overlay::before,
.hero-overlay::after {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  font-size: 8px;
  line-height: 1;
  color: rgba(185, 235, 255, 0.75);
  filter: drop-shadow(0 0 3px rgba(65, 190, 255, 0.8));
}

.hero-overlay::before {
  content: "✦";
  top: 8%;
  left: 50%;
  opacity: 0.15;
  text-shadow:
    8vw 4vh 2px rgba(170, 230, 255, 0.55),
    18vw 11vh 2px rgba(125, 210, 255, 0.5),
    30vw 3vh 2px rgba(190, 240, 255, 0.55),
    40vw 14vh 2px rgba(110, 200, 255, 0.5);
  animation: star-twinkle-one 3.8s ease-in-out infinite;
}

.hero-overlay::after {
  content: "✧";
  top: 15%;
  left: 55%;
  opacity: 0.1;
  text-shadow:
    6vw 8vh 2px rgba(155, 220, 255, 0.5),
    16vw 2vh 2px rgba(195, 240, 255, 0.55),
    27vw 14vh 2px rgba(115, 205, 255, 0.45),
    38vw 6vh 2px rgba(180, 235, 255, 0.5);
  animation: star-twinkle-two 4.6s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes star-twinkle-one {
  0%,
  100% {
    opacity: 0.08;

  }

  45% {
    opacity: 0.7;

  }

  65% {
    opacity: 0.22;

  }
}

@keyframes star-twinkle-two {
  0%,
  100% {
    opacity: 0.06;

  }

  35% {
    opacity: 0.2;

  }

  70% {
    opacity: 0.6;

  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-overlay::before,
  .hero-overlay::after {
    animation: none;
  }
}
.hero-actions .button-primary,
.hero-actions .button-outline {
  background: #ffffff;
  color: #06234b;
  border-color: #ffffff;
}

.hero-actions .button-primary:hover,
.hero-actions .button-outline:hover {
  background: #eaf6ff;
  color: #06234b;
  border-color: #eaf6ff;
}
.hero-copy {
  color: rgba(220, 235, 247, 0.88);
}

.hero-actions .button-primary {
  background: #dff3e7;
  color: #075c36;
  border-color: #dff3e7;
  box-shadow: 0 8px 22px rgba(0, 110, 62, 0.18);
}

.hero-actions .button-primary:hover {
  background: #c8ead6;
  color: #075c36;
  border-color: #c8ead6;
}
.hero-actions .button-outline {
  background: #ffffff;
  color: #06234b;
  border-color: #ffffff;
  backdrop-filter: none;
}

.hero-actions .button-outline:hover {
  background: #eaf6ff;
  color: #06234b;
  border-color: #eaf6ff;
}
.hero-actions .button-primary::after {
  content: "→";
  margin-left: 8px;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hero-actions .button-primary:hover::after {
  transform: translateX(3px);
}

.hero-actions .button-outline::before {
  content: "☎";
  margin-right: 8px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}
.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card img[src="assets/project-mibu-final.jpg"] {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    object-position: center center !important;
}
.portfolio-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}
