/* Common utilities shared by all themes (lightweight, offline-safe) */
:root { --container: 1180px; --radius: 14px; --shadow: 0 10px 24px rgba(0,0,0,.08); --shadow2: 0 6px 16px rgba(0,0,0,.08); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.row { display: flex; flex-wrap: wrap; margin-left: -12px; margin-right: -12px; }
.row > [class*="col-"] { padding-left: 12px; padding-right: 12px; }
.col-12, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-12, .col-md-4, .col-md-6, .col-sm-6 { width: 100%; }
@media (min-width: 768px) {
  .col-md-4 { width: 33.333%; }
  .col-md-6 { width: 50%; }
  .col-sm-6 { width: 50%; }
}
@media (min-width: 992px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-5 { width: 41.666%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333%; }
  .col-lg-8 { width: 66.666%; }
  .col-lg-12 { width: 100%; }
}
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-none { display: none; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-start { text-align: left; }
.list-unstyled { list-style: none; padding-left: 0; }
.text-muted { color: #6b7280; }
.text-white-50 { color: rgba(255,255,255,.72); }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.p-0 { padding: 0; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.ms-2 { margin-left: .5rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.rounded-3 { border-radius: .75rem; }
.rounded-4 { border-radius: 1rem; }
.rounded-pill { border-radius: 999px; }
.border-0 { border: 0; }
.bg-transparent { background: transparent; }
.small { font-size: .875rem; }
.shadow-sm { box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 9px 14px; border: 1px solid transparent; border-radius: 8px; background: #eef2f7; color: #111827; text-decoration: none; font-weight: 700; cursor: pointer; }
.btn-primary { background: #1677ff; color: #fff; }
.btn-success { background: #16a34a; color: #fff; }
.btn-sm { min-height: 30px; padding: 6px 10px; font-size: .875rem; }
.btn-default { background: #f3f4f6; border-color: #e5e7eb; color: #111827; }
.btn-outline-primary { background: #fff; border-color: #1677ff; color: #1677ff; }
.btn-outline-secondary { background: #fff; border-color: #9ca3af; color: #374151; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-close { width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); cursor: pointer; }
.btn-close::before { content: "x"; font-size: 20px; line-height: 1; }
.btn-close-white { background: rgba(15,23,42,.72); color: #fff; }
.alert { padding: 14px 42px 14px 16px; border-radius: 10px; position: relative; }
.alert-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.alert-dismissible .btn-close { position: absolute; right: 8px; top: 8px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 700; color: #374151; }
.form-control { width: 100%; min-height: 42px; border: 1px solid #d1d5db; border-radius: 10px; padding: 10px 12px; font: inherit; background: #fff; color: #111827; }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control:focus { outline: 2px solid rgba(22,119,255,.15); border-color: #1677ff; }
.g-3 { row-gap: 1rem; }
.g-4 { row-gap: 1.5rem; }
.row.g-3, .row.g-4 { margin-left: 0; margin-right: 0; }
.row.g-3 > [class*="col-"], .row.g-4 > [class*="col-"] { padding-left: 0; padding-right: 0; }
.modal { display: none; position: fixed; inset: 0; z-index: 1050; overflow: auto; background: rgba(2,6,23,.78); }
.modal.show { display: block; }
.modal-dialog { width: min(1100px, calc(100% - 28px)); margin: 44px auto; }
.modal-dialog-centered { min-height: calc(100vh - 88px); display: flex; align-items: center; }
.modal-xl { max-width: 1140px; }
.modal-content { width: 100%; }
.modal-body { position: relative; }
.modal-open { overflow: hidden; }
@media (min-width: 768px) { .d-md-inline { display: inline; } .flex-md-row { flex-direction: row; } .text-md-center { text-align: center; } }
@media (min-width: 992px) { .ms-lg-3 { margin-left: 1rem; } }
.navbar { position: relative; display: flex; align-items: center; min-height: 64px; }
.navbar .container { display: flex; align-items: center; gap: 16px; }
.navbar-brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.navbar-toggler { margin-left: auto; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; width: 42px; height: 38px; cursor: pointer; }
.navbar-toggler-icon { display: block; width: 18px; height: 2px; margin: 0 auto; background: #111827; box-shadow: 0 6px 0 #111827, 0 -6px 0 #111827; }
.navbar-collapse { display: none; width: 100%; }
.navbar-collapse.show { display: block; }
.navbar-nav { display: flex; flex-direction: column; gap: 6px; list-style: none; padding-left: 0; margin: 12px 0 0; }
.nav-link, .dropdown-item { display: block; padding: 9px 10px; color: #111827; text-decoration: none; font-weight: 700; border-radius: 8px; }
.nav-link:hover, .dropdown-item:hover { background: #f3f4f6; }
.dropdown-menu { display: none; list-style: none; padding: 6px; margin: 0; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; box-shadow: var(--shadow2); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }
.bg-white { background: #fff; }
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler { display: none; }
  .navbar-expand-lg .navbar-collapse { display: flex; align-items: center; width: auto; margin-left: auto; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; align-items: center; margin: 0; }
}
.fc-container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.fc-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding: 12px 16px; border-radius: 12px; text-decoration:none; font-weight: 600; border: 1px solid transparent; cursor:pointer; }
.fc-btn:active { transform: translateY(1px); }
.fc-btn-sm { padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.fc-card { border-radius: var(--radius); box-shadow: var(--shadow2); background: #fff; }
.fc-grid { display:grid; gap: 16px; }
.fc-muted { opacity: .75; }
.fc-badge { display:inline-flex; align-items:center; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.fc-section { padding: 46px 0; }
.fc-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; opacity: .8; }
.fc-h1 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; margin: 8px 0 10px; }
.fc-h2 { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.15; margin: 0 0 12px; }
.fc-h3 { font-size: 18px; margin: 0 0 8px; }
.fc-row { display:flex; gap: 16px; flex-wrap: wrap; }
.fc-pill { border-radius: 999px; padding: 10px 14px; border: 1px solid rgba(0,0,0,.12); display:inline-flex; gap: 8px; align-items:center; }
.fc-img { width: 100%; height: auto; display:block; border-radius: var(--radius); }
.fc-hr { border:0; height:1px; background: rgba(0,0,0,.08); margin: 18px 0; }
.fc-hero { position:relative; overflow:hidden; border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); }
.fc-hero .fc-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; filter:saturate(1.05); transform: scale(1.02); }
.fc-hero .fc-hero-overlay { position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.38) 55%, rgba(0,0,0,.18) 100%); }
.fc-hero .fc-hero-content { position:relative; padding: clamp(22px, 4vw, 56px); color:#fff; }
.fc-hero-actions { display:flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.fc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fc-stats .fc-card { padding: 18px; text-align:center; }
.fc-stats .num { font-size: 30px; font-weight: 900; }
.fc-stats .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
@media (max-width: 900px){
  .fc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fc-topbar { font-size: 13px; opacity: .95; }
.fc-nav { display:flex; align-items:center; justify-content:space-between; gap: 14px; padding: 14px 0; }
.fc-brand { display:flex; align-items:center; gap: 12px; text-decoration:none; color: inherit; }
.fc-brand img { height: 44px; width:auto; }
.fc-navlinks { display:flex; gap: 14px; flex-wrap: wrap; align-items:center; }
.fc-navlinks a { text-decoration:none; font-weight: 700; opacity: .9; }
.fc-navlinks a:hover { opacity: 1; text-decoration: underline; }
.fc-footer { padding: 34px 0; }
.fc-footer .cols { display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
@media (max-width: 900px){
  .fc-footer .cols { grid-template-columns: 1fr; }
}
.fc-fab { position: fixed; right: 14px; bottom: 14px; display:flex; flex-direction:column; gap: 10px; z-index: 9999; }
.fc-fab a { width: 52px; height: 52px; border-radius: 999px; box-shadow: var(--shadow); display:flex; align-items:center; justify-content:center; text-decoration:none; font-weight: 900; }
.swiper { position: relative; overflow: hidden; }
.swiper-wrapper { position: relative; }
.swiper-slide { display: none; }
.swiper-slide.is-active { display: flex; }
.swiper-button-prev, .swiper-button-next { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(0,0,0,.22); color: #fff; cursor: pointer; }
.swiper-button-prev { left: 14px; }
.swiper-button-next { right: 14px; }
.swiper-button-prev::before { content: "<"; font-size: 26px; }
.swiper-button-next::before { content: ">"; font-size: 26px; }
.swiper-pagination { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 8px; justify-content: center; z-index: 3; }
.swiper-pagination-bullet { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; }
.swiper-pagination-bullet-active { background: #fff; transform: scale(1.2); }
