/* ═══════════════════════════════════════════════
   KCOD Design System — Shared CSS
   Colors: #5170ff (blue), #545454 (text), #2e1d5b (navy)
═══════════════════════════════════════════════ */
:root {
  --blue:     #5170ff;
  --blue2:    #3a54e0;
  --blue-lt:  #eef0ff;
  --blue-mid: #c8d0ff;
  --navy:     #2e1d5b;
  --navy2:    #1e1340;
  --navy-lt:  #3a2570;
  --gold:     #c9a84c;
  --gold-lt:  #fdf8ee;
  --gold-mid: #ead9a0;
  --green:    #0d9e6b;
  --green-lt: #e6f7f1;
  --red:      #e53535;
  --red-lt:   #fef0f0;
  --muted:    #545454;
  --muted2:   #6b6b8a;
  --border:   #dddaf0;
  --off:      #f8f9ff;
  --bg-sec:   linear-gradient(135deg,#f5f6ff 0%,#ebebff 50%,#e0e5ff 100%);
  --sh:       0 2px 16px rgba(46,29,91,.07);
  --sh2:      0 8px 36px rgba(46,29,91,.11);
  --r:        10px;
  --r2:       18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: 'Rubik', sans-serif;
  background: #fff;
  color: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: 'Rubik', sans-serif; cursor: pointer; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* TOPBAR */
.topbar {
  background: var(--navy);
  padding: 7px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
}
.topbar a, .topbar span {
  font-size: .72rem; font-weight: 500;
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: 5px;
  transition: color .2s; white-space: nowrap;
  text-decoration: none;
}
.topbar a:hover { color: #fff; }
.tb-sep { width: 1px; height: 12px; background: rgba(255,255,255,.2); }
.tb-social { display: flex; align-items: center; gap: 7px; }
.tb-social a { font-size: .8rem; color: rgba(255,255,255,.55); transition: color .2s; text-decoration: none; }
.tb-social a:hover { color: #fff; }

/* NAV */
#nav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#nav.sc { box-shadow: var(--sh); }
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 24px; height: 66px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1px; flex: 1; justify-content: center; }
.nl {
  background: none; border: none;
  font-size: .8rem; font-weight: 500;
  color: var(--muted2); padding: 7px 11px;
  border-radius: 8px; transition: all .2s;
  white-space: nowrap; text-decoration: none;
  display: inline-block;
}
.nl:hover { color: var(--navy); background: var(--off); }
.nl.active { color: var(--blue); font-weight: 600; background: var(--blue-lt); }
.nav-act { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.btn-tel {
  display: flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 600;
  color: var(--navy); background: var(--gold-lt);
  border: 1.5px solid var(--gold-mid);
  padding: 7px 13px; border-radius: 8px;
  transition: background .2s; white-space: nowrap;
  text-decoration: none;
}
.btn-tel:hover { background: var(--gold-mid); }
.nav-cta {
  background: var(--navy); color: #fff;
  border: none; border-radius: 8px;
  font-size: .8rem; font-weight: 700;
  padding: 8px 18px; transition: all .2s;
  white-space: nowrap; text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--blue); box-shadow: 0 4px 16px rgba(81,112,255,.35); }
.hbtn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 5px; border-radius: 7px;
}
.hbtn span { display: block; width: 21px; height: 1.5px; background: var(--navy); border-radius: 1px; transition: .28s; }
.hbtn.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.hbtn.open span:nth-child(2) { opacity: 0; }
.hbtn.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }
.mob-nav {
  display: none; position: fixed;
  top: 66px; left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 899; padding: 10px 16px 18px;
  flex-direction: column; gap: 1px;
  box-shadow: var(--sh2);
}
.mob-nav.open { display: flex; }
.mn {
  background: none; border: none;
  font-size: .92rem; font-weight: 500;
  color: var(--navy); padding: 11px 12px;
  text-align: left; border-radius: 8px;
  border-bottom: 1px solid var(--border);
  transition: all .2s; width: 100%;
  text-decoration: none; display: block;
}
.mn:last-of-type { border-bottom: none; }
.mn:hover, .mn.active { background: var(--blue-lt); color: var(--blue); }
.mn-cta {
  background: var(--navy); color: #fff;
  border: none; border-radius: 8px;
  font-size: .92rem; font-weight: 700;
  padding: 12px; margin-top: 7px; width: 100%;
  text-decoration: none; display: block;
  text-align: center; transition: background .2s;
}
.mn-cta:hover { background: var(--blue); }

/* HELPERS */
.w { max-width: 1240px; margin: 0 auto; }
.sec { padding: 80px 24px; }
.sec-alt { background: var(--bg-sec); }

.stag {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, var(--blue-lt), #eef0ff);
  border: 1px solid var(--blue-mid); border-radius: 100px;
  padding: 4px 13px; font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 11px;
}
.stag.gold { background: var(--gold-lt); border-color: var(--gold-mid); color: #7a5800; }

.sh {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -.025em; color: var(--navy);
  margin-bottom: 12px;
}
.sh em { font-style: italic; color: var(--blue); }
.sp { font-size: .9rem; color: var(--muted); line-height: 1.85; max-width: 580px; }

.btn-p {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy); color: #fff;
  border: none; border-radius: 9px;
  font-size: .88rem; font-weight: 700;
  padding: 12px 24px; transition: all .2s;
  font-family: 'Rubik', sans-serif; text-decoration: none;
}
.btn-p:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(81,112,255,.32); }

.btn-s {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border); border-radius: 9px;
  font-size: .88rem; font-weight: 500;
  padding: 11px 21px; transition: all .2s;
  font-family: 'Rubik', sans-serif; text-decoration: none;
}
.btn-s:hover { border-color: var(--blue); background: var(--blue-lt); color: var(--blue); }

/* BREADCRUMB */
.breadcrumb {
  padding: 12px 24px;
  background: var(--off);
  border-bottom: 1px solid var(--border);
  font-size: .78rem; color: var(--muted2);
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; color: var(--border); }

/* FOOTER */
footer {
  background: linear-gradient(135deg, #eef0ff 0%, #e4e8ff 100%);
  border-top: 2px solid var(--blue-mid);
  padding: 52px 24px 24px;
}
.fg {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 44px; margin-bottom: 36px;
}
.fb-logo { margin-bottom: 12px; }
.fb-logo img { height: 46px; width: auto; }
.fb-desc { font-size: .8rem; color: var(--muted); line-height: 1.75; max-width: 280px; margin-bottom: 14px; }
.fb-social { display: flex; gap: 7px; flex-wrap: wrap; }
.fb-si {
  width: 34px; height: 34px; border-radius: 8px;
  background: #fff; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: all .2s; text-decoration: none;
  color: var(--navy);
}
.fb-si:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.fc h4 { font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted2); margin-bottom: 14px; }
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fc ul li a { font-size: .79rem; color: var(--muted); transition: color .2s; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.fc ul li a:hover { color: var(--blue); }
.fbot {
  max-width: 1240px; margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.fcopy { font-size: .72rem; color: var(--muted); }
.fcopy strong { color: var(--navy); }
.fleg { display: flex; flex-wrap: wrap; gap: 14px; }
.fleg a { font-size: .72rem; color: var(--muted); transition: color .2s; text-decoration: none; }
.fleg a:hover { color: var(--blue); }

/* FADE IN */
.fu { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fu.v { opacity: 1; transform: none; }
.fu.d1 { transition-delay: .1s; }
.fu.d2 { transition-delay: .2s; }
.fu.d3 { transition-delay: .3s; }

/* RESPONSIVE */
@media(max-width: 1024px) {
  .fg { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width: 768px) {
  #nav .nav-links, #nav .nav-act .btn-tel { display: none; }
  .hbtn { display: flex; }
  .topbar { display: none; }
  .sec { padding: 52px 16px; }
  .fg { grid-template-columns: 1fr; }
  .fbot { flex-direction: column; }
}
@media(max-width: 480px) {
  .sec { padding: 44px 14px; }
}
