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

:root {
  --cy-navy: #0d2137;
  --cy-navy-2: #16324d;
  --cy-orange: #e85d04;
  --cy-orange-2: #f4a261;
  --cy-cyan: #1a8fb8;
  --cy-bg: #f4f6f8;
  --cy-text: #243040;
  --cy-muted: #5c6b7a;
}

html {
  scroll-padding-top: 130px;
}

body.cy-site {
  font-family: "Noto Sans KR", sans-serif;
  color: var(--cy-text);
  background: #fff;
  overflow-x: hidden;
}

body.cy-site h1,
body.cy-site h2,
body.cy-site h3,
body.cy-site h4,
body.cy-site h5,
body.cy-site h6,
body.cy-site p,
body.cy-site a,
body.cy-site li,
body.cy-site button,
body.cy-site input,
body.cy-site textarea,
body.cy-site select {
  font-family: "Noto Sans KR", sans-serif;
}

body.cy-site p {
  color: var(--cy-muted);
  font-weight: 400;
  line-height: 1.8;
  font-size: 16px;
}

.cy-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 33, 55, 0.08);
}

.cy-topbar {
  background: var(--cy-navy);
  color: #d7e3ee;
  font-size: 13px;
  padding: 8px 0;
}

.cy-topbar a {
  color: #fff;
  font-weight: 700;
}

.cy-topbar a:hover {
  color: var(--cy-orange-2);
}

.cy-header .navbar {
  padding: 12px 0;
}

.cy-logo {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  color: var(--cy-navy);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
}

.cy-logo img {
  width: 48px;
  height: 48px;
}

.cy-logo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--cy-cyan);
  letter-spacing: 0;
}

.cy-header .navbar-nav .nav-link {
  color: var(--cy-navy) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 10px !important;
  text-transform: none;
  white-space: nowrap;
}

.cy-header .navbar-nav .nav-link:hover,
.cy-header .navbar-nav .nav-item.active .nav-link {
  color: var(--cy-orange) !important;
}

.cy-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cy-orange);
  color: #fff !important;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 18px;
  white-space: nowrap;
}

.cy-phone-btn:hover {
  background: #cf4f00;
  color: #fff !important;
}

.cy-nav-actions {
  display: none;
}

.cy-call-btn {
  display: none;
}

.cy-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--cy-navy) center/cover no-repeat;
  color: #fff;
}

.cy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 33, 55, 0.88) 0%, rgba(13, 33, 55, 0.45) 62%, rgba(13, 33, 55, 0.2) 100%);
}

.cy-hero .container {
  position: relative;
  z-index: 1;
  padding: 90px 15px;
}

.cy-kicker {
  display: inline-block;
  background: var(--cy-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.cy-hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 18px;
  text-transform: none;
}

.cy-hero h1 span {
  color: var(--cy-orange-2);
}

.cy-hero p.lead {
  color: #e6eef5;
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 28px;
}

.cy-btn {
  display: inline-block;
  background: var(--cy-orange);
  color: #fff !important;
  font-weight: 800;
  border-radius: 6px;
  padding: 14px 26px;
  border: 0;
  text-transform: none;
  letter-spacing: 0;
}

.cy-btn:hover {
  background: #cf4f00;
  color: #fff !important;
}

.cy-btn-line {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff !important;
  font-weight: 800;
  border-radius: 6px;
  padding: 12px 24px;
  margin-left: 10px;
}

.cy-btn-line:hover {
  background: #fff;
  color: var(--cy-navy) !important;
}

.cy-quick {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.cy-quick-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 16px 40px rgba(13, 33, 55, 0.1);
  height: 100%;
  transition: transform 0.2s ease;
}

.cy-quick-card:hover {
  transform: translateY(-4px);
}

.cy-quick-card .num {
  color: var(--cy-orange);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 8px;
}

.cy-quick-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--cy-navy);
}

.cy-section {
  padding: 90px 0;
}

.cy-section.gray {
  background: var(--cy-bg);
}

body.cy-site .cy-section-title p {
  color: var(--cy-orange);
  font-weight: 800;
  margin-bottom: 8px;
}

body.cy-site .cy-section-title h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--cy-navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.cy-about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.cy-equip-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(13, 33, 55, 0.08);
  height: 100%;
}

.cy-equip-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.cy-equip-card .body {
  padding: 22px;
}

.cy-equip-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--cy-navy);
  margin-bottom: 6px;
}

.cy-badge {
  display: inline-block;
  background: #eef6fa;
  color: var(--cy-cyan);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}

.cy-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cy-work-item {
  position: relative;
  display: block;
  min-height: 240px;
  background: center/cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.cy-work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 33, 55, 0.82), rgba(13, 33, 55, 0.05));
}

.cy-work-item .txt {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
}

body.cy-site .cy-work-item .txt p {
  color: var(--cy-orange-2);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cy-work-item .txt h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.cy-cta {
  position: relative;
  background: var(--cy-navy) center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.cy-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 33, 55, 0.82);
}

.cy-cta .container {
  position: relative;
  z-index: 1;
}

.cy-cta h2,
body.cy-site .cy-cta p {
  color: #fff;
}

.cy-cta .tel {
  font-size: 36px;
  font-weight: 900;
  color: var(--cy-orange-2);
  display: block;
  margin: 12px 0 24px;
}

.cy-page-hero {
  background: var(--cy-navy) center/cover no-repeat;
  min-height: 280px;
  display: flex;
  align-items: center;
  position: relative;
}

.cy-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 33, 55, 0.78);
}

.cy-page-hero .container {
  position: relative;
  z-index: 1;
  padding: 80px 15px 50px;
}

.cy-page-hero h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 8px;
}

body.cy-site .cy-page-hero p {
  color: #ffffff !important;
  font-weight: 500;
  opacity: 1;
}

.cy-table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.cy-table th,
.cy-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f4;
}

.cy-table td {
  font-size: 14px;
}

.cy-table th {
  background: var(--cy-navy);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.cy-form label {
  font-weight: 700;
  color: var(--cy-navy);
  margin-bottom: 6px;
}

.cy-form .form-control {
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  min-height: 48px;
  padding: 10px 14px;
}

.cy-form textarea.form-control {
  min-height: 160px;
}

.cy-info-box {
  background: var(--cy-navy);
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  height: 100%;
}

.cy-info-box h3,
body.cy-site .cy-info-box p,
body.cy-site .cy-info-box a {
  color: #fff;
}

.cy-info-box a:hover {
  color: var(--cy-orange-2);
}

.cy-footer {
  background: #0a1929;
  color: #b7c4d0;
  padding: 48px 0 18px;
}

.cy-footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cy-footer a,
body.cy-site .cy-footer p,
.cy-footer li {
  color: #b7c4d0;
}

.cy-footer .list-unstyled a {
  font-size: 14px;
}

.cy-footer a:hover {
  color: #fff;
}

.cy-footer .footer-auth-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
}

.cy-footer .footer-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff !important;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.cy-footer .footer-login-btn:hover {
  background: #ff4d00;
  border-color: #ff4d00;
  color: #fff !important;
  text-decoration: none;
}

.cy-footer .footer-admin-btn .fa {
  font-size: 14px;
  line-height: 1;
  width: auto;
  height: auto;
}

body.login-layer-lock {
  overflow: hidden;
}

body.login-layer-lock .cy-header,
body.login-layer-lock .cy-footer,
body.login-layer-lock #top_btn {
  z-index: 0 !important;
}

.login-layer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(20, 22, 26, 0.62);
}

.login-layer.is-open {
  display: flex;
}

.login-layer-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2.1rem 2rem 1.7rem;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.login-layer-close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: #222;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.login-layer-dialog h2 {
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a1a;
}

.login-layer-lead {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #8a8f98;
}

.login-layer-dialog form {
  margin: 0;
}

.login-layer-dialog input[type="text"],
.login-layer-dialog input[type="password"] {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0 0 0.7rem;
  padding: 0 0.9rem;
  border: 1px solid #d7dde7;
  border-radius: 2px;
  background: #eef3fb;
  color: #222;
  font-size: 15px;
  font-family: inherit;
  box-shadow: none;
}

.login-layer-dialog input[type="text"]:focus,
.login-layer-dialog input[type="password"]:focus {
  outline: none;
  border-color: #4d8dff;
  background: #eef3fb;
}

.login-layer-keep {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem 0 0.95rem;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  cursor: pointer;
}

.login-layer-keep input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.login-layer-submit {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ff4d00;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  line-height: 48px;
  cursor: pointer;
}

.login-layer-submit:hover,
.login-layer-submit:focus {
  background: #e64500;
  color: #fff;
}

.cy-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 13px;
}

.cy-map {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 991px) {
  .cy-hero h1 {
    font-size: 32px;
  }

  .cy-work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cy-home-works {
    grid-template-columns: 1fr;
  }

  .cy-home-works .cy-work-item:nth-child(n + 4) {
    display: none;
  }

  .cy-phone-btn {
    display: none;
  }

  .cy-btn-line {
    margin-left: 0;
    margin-top: 10px;
  }

  .cy-header .navbar {
    position: relative;
  }

  .cy-header .navbar-brand {
    margin-right: 104px;
  }

  .cy-header .navbar-brand img,
  .cy-header .navbar-light .navbar-brand img {
    position: static;
    margin: 0;
    max-width: 48px;
    left: auto;
    right: auto;
  }

  .cy-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .cy-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--cy-navy);
    border-radius: 10px;
    color: var(--cy-navy);
    flex-shrink: 0;
  }

  .cy-call-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
  }

  .cy-call-btn:hover,
  .cy-call-btn:focus {
    color: #fff;
    background: var(--cy-orange);
    border-color: var(--cy-orange);
  }

  .cy-header .navbar-toggler,
  .cy-header .navbar-light .navbar-toggler {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid var(--cy-navy);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .cy-header .navbar-collapse {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    z-index: 20;
    box-shadow: 0 16px 32px rgba(13, 33, 55, 0.12);
    padding: 8px 0 16px;
  }

  .cy-logo {
    font-size: 17px;
  }

  .cy-logo span {
    white-space: nowrap;
  }
}

@media (max-width: 575px) {
  .cy-work-grid {
    grid-template-columns: 1fr;
  }

  .cy-hero {
    min-height: 520px;
  }

  .cy-section {
    padding: 64px 0;
  }
}

.cy-work-item:hover {
  transform: scale(1.01);
}

.cy-lightbox[hidden] {
  display: none !important;
}

.cy-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 72px 40px;
  animation: cyLightboxFade 0.22s ease;
}

.cy-lightbox-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
  animation: cyLightboxZoom 0.28s ease;
}

@keyframes cyLightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cyLightboxZoom {
  from { transform: scale(0.86); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cy-lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.cy-lightbox-figure figcaption {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-top: 14px;
}

.cy-lightbox-close,
.cy-lightbox-prev,
.cy-lightbox-next {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.cy-lightbox-close {
  top: 16px;
  right: 22px;
  font-size: 40px;
}

.cy-lightbox-prev,
.cy-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  padding: 10px 14px;
}

.cy-lightbox-prev {
  left: 12px;
}

.cy-lightbox-next {
  right: 12px;
}
