/* Mirae CIT - IT company theme (loaded after style.css / jun.css) */
:root {
  --navy-950: #060d1f;
  --navy-900: #0a1428;
  --navy-800: #0f1e3c;
  --navy-700: #16294f;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --ink: #0f172a;
  --text: #475569;
  --line: #e2e8f0;
  --surface: #f5f8fc;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(15, 30, 60, .18);
  --font: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; letter-spacing: -.01em; word-break: keep-all; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font); color: var(--ink); letter-spacing: -.02em; }
::selection { background: var(--cyan); color: var(--navy-900); }
a { color: var(--blue); }
.text-mirae_orange { color: var(--cyan) !important; }
.text-primary { color: var(--blue) !important; }

/* ---------- Header ---------- */
.sticky-wrapper .site-navbar,
.sticky-wrapper.is-sticky .site-navbar {
  background: rgba(10, 20, 40, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: none;
}
.sticky-wrapper .site-navbar .site-logo img { height: 34px; width: auto; max-width: none; }
.sticky-wrapper .site-navbar .site-menu > li > a,
.sticky-wrapper.is-sticky .site-navbar .site-menu > li > a {
  color: rgba(255, 255, 255, .72) !important;
  font-size: 15px; font-weight: 500; padding: 8px 14px;
}
.sticky-wrapper .site-navbar .site-menu > li > a:hover,
.sticky-wrapper .site-navbar .site-menu > li > a.active,
.sticky-wrapper.is-sticky .site-navbar .site-menu > li > a:hover,
.sticky-wrapper.is-sticky .site-navbar .site-menu > li > a.active { color: var(--cyan) !important; }
.sticky-wrapper.is-sticky .site-navbar .site-menu-toggle { color: #fff; }
.site-menu > li:last-child > a {
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; margin-left: 8px; padding: 6px 16px !important;
}

/* ---------- Hero ---------- */
.site-blocks-cover.hero-it {
  background: radial-gradient(900px 500px at 78% 22%, rgba(34, 211, 238, .22), transparent 60%),
              radial-gradient(800px 600px at 10% 90%, rgba(59, 130, 246, .28), transparent 60%),
              linear-gradient(160deg, var(--navy-950), var(--navy-800) 70%) !important;
  min-height: 100vh; height: auto; display: flex; align-items: center; overflow: hidden; position: relative;
}
.site-blocks-cover.hero-it:before { background: none; }
.hero-it > .container > .row { height: auto; min-height: 0; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-copy { position: relative; padding: 140px 0 160px; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .08);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 28px;
}
.site-blocks-cover.hero-it h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.25; color: #fff; text-transform: none; margin-bottom: 24px !important;
}
.hero-it h1 .accent { background: linear-gradient(90deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-blocks-cover.hero-it p.hero-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .72); max-width: 640px; line-height: 1.7; font-weight: 400; }
.hero-cta { margin-top: 36px; }
.hero-cta .btn { font-weight: 600; padding: 13px 30px; border-radius: 10px; margin-right: 10px; margin-bottom: 10px; }
.btn-cta { background: linear-gradient(90deg, var(--cyan), var(--blue)); color: var(--navy-950) !important; border: 0; }
.btn-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost { color: #fff !important; border: 1px solid rgba(255, 255, 255, .3); background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan) !important; }
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(6, 13, 31, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-stats .stat { padding: 22px 0; text-align: left; }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.2; }
.hero-stats .num em { font-style: normal; color: var(--cyan); }
.hero-stats .lbl { font-size: 13px; color: rgba(255, 255, 255, .6); }
.site-blocks-cover .mouse { display: none; }

/* ---------- Sections ---------- */
.site-section { padding: 6.5em 0; }
.bg-light, .site-section.bg-light { background: var(--surface) !important; }
.border-bottom { border-bottom: 0 !important; }
.section-title {
  color: var(--ink); font-size: 2.3rem; font-weight: 800; position: relative; padding-bottom: 22px;
}
.section-title:after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 48px; height: 4px; border-radius: 4px;
  transform: translateX(-50%); background: linear-gradient(90deg, var(--cyan), var(--blue));
}
@media (max-width: 991.98px) { .section-title { font-size: 1.7rem; } }

/* about */
#about-section p { line-height: 1.9; }
#about-section img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* solution cards */
.unit-4 {
  display: flex; height: 100%; padding: 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: .25s ease; position: relative; overflow: hidden;
}
.unit-4:before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--blue)); opacity: 0; transition: .25s; }
.unit-4:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.unit-4:hover:before { opacity: 1; }
.unit-4 .unit-4-icon { flex: 0 0 52px; margin-right: 18px !important; }
.unit-4 .unit-4-icon svg {
  width: 52px; height: 52px; padding: 12px; border-radius: 14px; color: var(--blue);
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(59, 130, 246, .14));
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.unit-4 h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.45; color: var(--ink); }
.unit-4 p { font-size: .94rem; margin-bottom: 8px; }
.unit-4 a { font-weight: 600; font-size: .9rem; color: var(--blue); }
.unit-4 a:after { content: " \2192"; }

/* price table */
.table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; }
.table-bordered, .table-bordered th, .table-bordered td { border: 0; }
.table thead th { background: var(--navy-800); color: #fff; border: 0; padding: 16px; font-weight: 600; }
.table tbody th { color: var(--ink); background: var(--surface); }
.table td, .table tbody th { padding: 16px; vertical-align: middle; border-top: 1px solid var(--line); }

/* miracom feature boxes */
#miracom-section .item-box-title { color: var(--ink); font-size: 1.3rem; }
#miracom-section .item-box-kr { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: auto; min-height: 150px; text-align: left; margin: 10px !important; }
#miracom-section img { border-radius: var(--radius); }
@media (max-width: 767px) { #miracom-section .item-box-container { flex-direction: column; padding-top: 30px !important; } #miracom-section .item-box-kr { width: 100%; } }

/* customers */
#customer-section .img_area { height: 100px; line-height: 100px; }
#customer-section .img_area img {
  max-height: 64px; width: auto; max-width: 80%; filter: grayscale(1); opacity: .65; transition: .25s;
}
#customer-section .img_area:hover img { filter: none; opacity: 1; }

/* modal */
.modal-content { border: 0; border-radius: var(--radius); overflow: hidden; }
.modal-header { background: var(--navy-800); color: #fff; border: 0; }
.modal-header .modal-title, .modal-header .close { color: #fff; }
.modal .btn-primary, .btn.btn-primary { background: linear-gradient(90deg, var(--cyan), var(--blue)); border: 0; color: var(--navy-950); font-weight: 600; border-radius: 10px; }
.modal .btn-default { border-radius: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); }
.site-footer .footer-heading { font-size: 1.6rem; font-weight: 800; }
.site-footer p, .site-footer a { color: rgba(255, 255, 255, .65); }
.site-footer a:hover { color: var(--cyan); }
#map { border-radius: var(--radius); overflow: hidden; }

@media (max-width: 767px) {
  .hero-copy { padding: 120px 0 190px; }
  .hero-stats .stat { padding: 14px 0; }
  .hero-stats .num { font-size: 1.4rem; }
  .site-section { padding: 4em 0; }
}

/* ---------- Solution detail modals ---------- */
.modal-backdrop.show { opacity: 1; background: rgba(6, 13, 31, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal.fade .modal-dialog { transform: translateY(24px) scale(.98); transition: transform .3s ease, opacity .3s ease; }
.modal.show .modal-dialog { transform: none; }
.modal-dialog.modal-xl { max-width: 960px; }
.modal-content { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
.modal-header {
  position: relative; padding: 30px 36px 26px; align-items: flex-start;
  background: radial-gradient(500px 200px at 90% 0, rgba(34, 211, 238, .25), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.modal-header:before { content: "SOLUTION"; position: absolute; top: 10px; left: 36px; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--cyan); }
.modal-header .modal-title { margin-top: 12px; font-size: 1.45rem; font-weight: 800; line-height: 1.4; }
.modal-header .close {
  opacity: 1; text-shadow: none; width: 38px; height: 38px; border-radius: 50%; padding: 0; margin: 0;
  background: rgba(255, 255, 255, .1); font-size: 1.5rem; line-height: 1; transition: .2s;
}
.modal-header .close:hover { background: var(--cyan); color: var(--navy-950); }
.modal-body { padding: 34px 36px 28px; max-height: 70vh; overflow-y: auto; color: var(--text); line-height: 1.8; }
.modal-body h3.text-black, .modal-body h3.h5 {
  color: var(--ink) !important; font-size: 1.15rem; font-weight: 800; margin: 34px 0 18px !important; padding-left: 14px; position: relative;
}
.modal-body h3.h5:before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(var(--cyan), var(--blue)); }
.modal-body > h3.h5:first-child { margin-top: 0 !important; }
.modal-body .text-black { color: var(--ink) !important; }
.modal-body .ul-check { margin-bottom: 8px; }
.modal-body .ul-check li {
  padding: 14px 16px 14px 52px; margin-bottom: 10px; line-height: 1.7; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px;
}
.modal-body .ul-check li:before {
  content: "\e5ca"; left: 16px; top: 13px; width: 24px; height: 24px; line-height: 24px; text-align: center; font-size: 15px;
  border-radius: 50%; color: #fff !important; background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.modal-body img.img-fluid { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 8px 0 12px; }
.modal-body .btn-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); background: rgba(59, 130, 246, .08);
  border-radius: 10px; padding: 10px 20px; margin-bottom: 18px;
}
.modal-body .btn-link:hover { background: rgba(59, 130, 246, .16); text-decoration: none; }
.modal-body .btn-link img { height: 18px; width: auto; border: 0; box-shadow: none; margin: 0; border-radius: 0; }
.modal-body .btn-primary { padding: 12px 34px; margin-top: 10px; }
.modal-footer { border-top: 1px solid var(--line); background: #fff; padding: 14px 36px; }
.modal-footer .btn-default { background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.modal-footer .btn-default:hover { background: var(--line); }
@media (max-width: 767px) {
  .modal-header, .modal-body, .modal-footer { padding-left: 20px; padding-right: 20px; }
  .modal-header:before { left: 20px; }
  .modal-body { max-height: 74vh; }
}

/* ---------- Modal figures (diagrams) ---------- */
.modal-body .fig { margin: 14px 0 26px; }
.modal-body .fig a {
  position: relative; display: block; padding: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); cursor: zoom-in; overflow: hidden; text-align: center;
  background-image: radial-gradient(rgba(15, 30, 60, .06) 1px, transparent 1px); background-size: 16px 16px;
  transition: .25s ease;
}
.modal-body .fig a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.modal-body .fig img.img-fluid {
  display: block; margin: 0 auto; border: 0; box-shadow: none; border-radius: 6px; background: #fff; max-height: 460px; width: auto; max-width: 100%;
}
.modal-body .fig .fig-zoom {
  position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff;
  background: rgba(10, 20, 40, .82); padding: 5px 12px 5px 28px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: .25s;
}
.modal-body .fig .fig-zoom:before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border: 2px solid var(--cyan); border-radius: 50%;
}
.modal-body .fig a:hover .fig-zoom, .modal-body .fig a:focus .fig-zoom { opacity: 1; transform: none; }
@media (hover: none) { .modal-body .fig .fig-zoom { opacity: 1; transform: none; } }
.fancybox-bg { background: var(--navy-950); }
.fancybox-is-open .fancybox-bg { opacity: .94; }
.fancybox-image { background: #fff; border-radius: 8px; }
@media (max-width: 767px) { .modal-body .fig a { padding: 8px; } }

/* ---------- icomoon icons on solution cards (new source uses icon fonts) ---------- */
#services-section .unit-4 .unit-4-icon { flex: 0 0 52px; min-width: 52px; }
#services-section .unit-4 .unit-4-icon span {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; font-size: 24px;
  border-radius: 14px; color: var(--blue) !important; background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(59, 130, 246, .14));
}

/* ---------- VEEAM modal ---------- */
#myModal_veeam .veeam-modal-body, #myModal_elpart .elpart-modal-body { background: #fff; padding: 34px 36px 28px; }
#myModal_veeam .veeam-brand { width: 130px; margin-bottom: 18px; }
#myModal_veeam .veeam-grid { gap: 16px; }
#myModal_veeam .veeam-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; padding: 22px 18px; transition: .25s;
}
#myModal_veeam .veeam-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cyan); }
#myModal_veeam .veeam-card-title { font-size: 1.1rem; font-weight: 800; color: var(--ink); min-height: 56px; letter-spacing: -.02em; }
#myModal_veeam .veeam-card-icon {
  width: 56px; height: 56px; font-size: 26px; color: var(--blue); border: 0; border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(59, 130, 246, .14));
}
#myModal_veeam .veeam-card-icon .icon-server { font-size: 26px; }
#myModal_veeam .veeam-card-icon .icon-cubes { font-size: 25px; }
#myModal_veeam .veeam-item { background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: .92rem; line-height: 1.55; border-radius: 12px; }
#myModal_veeam .veeam-accent { color: var(--blue); font-weight: 700; }
#myModal_veeam .veeam-footnotes { color: #94a3b8; font-size: 12px; margin-top: 16px; }
#myModal_veeam .veeam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991.98px) { #myModal_veeam .veeam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { #myModal_veeam .veeam-grid { grid-template-columns: 1fr; } #myModal_veeam .veeam-modal-body, #myModal_elpart .elpart-modal-body { padding: 20px; } }

/* ---------- Automotive components modal ---------- */
#myModal_elpart .elpart-title { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
#myModal_elpart .elpart-subtitle { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 28px 0 14px; padding-left: 14px; position: relative; }
#myModal_elpart .elpart-subtitle:before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(var(--cyan), var(--blue)); }
#myModal_elpart .elpart-product-list { font-size: .95rem; padding-left: 20px; }
#myModal_elpart .elpart-product-list li::marker { color: var(--blue); }
#myModal_elpart .elpart-feature-card {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 14px 16px; transition: .25s;
}
#myModal_elpart .elpart-feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
#myModal_elpart .elpart-feature-title { font-size: 1rem; color: var(--ink); }
#myModal_elpart .elpart-feature-desc { font-size: .9rem; color: var(--text); }
#myModal_elpart .elpart-industry-item { font-size: .98rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
#myModal_elpart .elpart-industry-item .icon { color: var(--blue); font-size: 22px; }
#myModal_elpart .elpart-industry-grid { gap: 12px; }
#myModal_elpart .elpart-closing { border-left: 4px solid var(--cyan); background: rgba(34, 211, 238, .07); border-radius: 0 12px 12px 0; color: var(--ink); font-size: .95rem; padding: 14px 18px; }

/* elpart / veeam images share the zoomable-figure look */
#elpart-section p a, #elpart-section .container p a { font-weight: 600; }
#elpart-section .container p a:after { content: " \2192"; }

/* solution card text must wrap inside the card (long descriptions were clipped) */
.unit-4 > div:last-child { flex: 1 1 0; min-width: 0; }
.unit-4 p { overflow-wrap: anywhere; white-space: normal; }

/* ---------- History timeline (data: js/history.js) ---------- */
.tl { list-style: none; margin: 0 auto; padding: 8px 0 0; max-width: 820px; position: relative; text-align: left; }
.tl:before { content: ""; position: absolute; left: 91px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--cyan), var(--blue) 70%, rgba(59, 130, 246, .1)); }
.tl-item { display: flex; align-items: flex-start; margin-bottom: 22px; position: relative; }
.tl-year { flex: 0 0 76px; font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1.3; letter-spacing: -.02em; padding-top: 12px; }
.tl-item:before {
  content: ""; position: absolute; left: 83px; top: 21px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  border: 4px solid var(--blue); box-shadow: 0 0 0 5px rgba(59, 130, 246, .15); z-index: 1;
}
.tl-item:first-child:before { border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(34, 211, 238, .22); }
.tl-card { flex: 1; margin-left: 56px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: .25s; }
.tl-card:hover { transform: translateX(4px); border-color: var(--cyan); }
.tl-card ul { list-style: none; margin: 0; padding: 0; }
.tl-card li { position: relative; padding-left: 16px; line-height: 1.7; color: var(--ink); }
.tl-card li + li { margin-top: 6px; }
.tl-card li:before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
@media (max-width: 575.98px) {
  .tl:before { left: 7px; }
  .tl-item { flex-direction: column; padding-left: 34px; }
  .tl-item:before { left: 0; top: 7px; }
  .tl-year { flex: none; padding-top: 0; margin-bottom: 8px; font-size: 1.3rem; }
  .tl-card { margin-left: 0; width: 100%; padding: 14px 16px; }
}
