:root {
  --brand-maroon: #6f253c;
  --brand-maroon-deep: #5f2033;
  --brand-navy: #11142f;
  --brand-ink: #191d3a;
  --brand-white: #ffffff;
  --brand-offwhite: #f7f7f9;
  --logo-border: #111111;
  --brand-line: rgba(17, 20, 47, 0.1);
  --brand-line-strong: rgba(111, 37, 60, 0.18);
  --text-main: #191d3a;
  --text-soft: #6a7084;
  --text-on-dark: #f8f9fc;
  --text-soft-dark: rgba(248, 249, 252, 0.72);
  --shadow-soft: 0 18px 40px rgba(17, 20, 47, 0.08);
  --shadow-panel: 0 24px 50px rgba(17, 20, 47, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 37, 60, 0.06), transparent 20%),
    radial-gradient(circle at top right, rgba(17, 20, 47, 0.05), transparent 18%),
    var(--brand-offwhite);
  color: var(--text-main);
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-thumb {
  background: rgba(111, 37, 60, 0.45);
  border-radius: 999px;
}

.page-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f6f5f8 100%);
  border-right: 1px solid rgba(17, 20, 47, 0.08);
  padding: 22px 18px;
}

.brand-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 20, 47, 0.08);
}

.brand-badge {
  display: none;
}

.brand-block-logo-only {
  padding-top: 4px;
}

.brand-logo {
  width: 100%;
  max-width: 210px;
  background: #ffffff;
  border: 2px solid var(--logo-border);
  padding: 6px;
  box-shadow: 0 10px 24px rgba(17, 20, 47, 0.06);
}

.brand-block h1 {
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-block p {
  margin-top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.sidebar-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand-navy);
  font-weight: 700;
  padding: 13px 12px;
  border-radius: 16px;
  transition: 0.25s ease;
}

.sidebar-nav a i {
  color: var(--brand-maroon);
  width: 18px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(111, 37, 60, 0.08);
  box-shadow: inset 0 0 0 1px rgba(111, 37, 60, 0.12);
}

.main-panel {
  padding: 20px 22px 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #11142f 0%, #1b1f3d 100%);
  border: 1px solid var(--brand-line-strong);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: var(--shadow-panel);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-logo {
  height: 48px;
  width: auto;
  background: #ffffff;
  padding: 3px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-on-dark);
  font-size: 1rem;
}

.topbar h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-on-dark);
}

.topbar p {
  color: var(--text-soft-dark);
  margin-top: 3px;
  font-size: 0.95rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.theme-pill,
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-on-dark);
}

.section-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9f8fb 100%);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  margin-top: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-navy);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-maroon);
  box-shadow: 0 0 0 6px rgba(111, 37, 60, 0.1);
}

.hero-copy h3,
.section-header h3,
.dark-card h3,
.light-card h3,
.contact-card h3 {
  margin-top: 18px;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--brand-navy);
}

.hero-copy p,
.dark-card p,
.light-card p,
.contact-card p {
  margin-top: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 14px 20px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #6f253c, #5f2033);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(111, 37, 60, 0.2);
}

.btn-secondary {
  color: var(--brand-navy);
  border: 1px solid rgba(17, 20, 47, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
  background: rgba(111, 37, 60, 0.04);
}

.hero-visual {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.stat-card {
  border: 1px solid rgba(17, 20, 47, 0.08);
  border-radius: 22px;
  padding: 18px;
}

.brand-maroon {
  background: linear-gradient(180deg, #6f253c 0%, #823148 100%);
  color: #ffffff;
}

.brand-navy {
  background: linear-gradient(180deg, #11142f 0%, #272c52 100%);
  color: #ffffff;
}

.brand-light {
  background: linear-gradient(180deg, #f4f3f7 0%, #ffffff 100%);
  color: var(--brand-navy);
}

.stat-card.wide {
  grid-column: span 2;
}

.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: inherit;
  opacity: 0.82;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.35rem;
  font-weight: 800;
}

.stat-card p {
  margin-top: 12px;
  line-height: 1.7;
  color: inherit;
  opacity: 0.82;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

#services,
#why-us,
#contact {
  margin-top: 20px;
  padding: 22px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-box {
  background: linear-gradient(180deg, #ffffff, #faf8fb);
  border: 1px solid rgba(17, 20, 47, 0.08);
  border-radius: 22px;
  padding: 20px;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(17, 20, 47, 0.08);
}

.icon-box.rose,
.brand-maroon-bg {
  background: linear-gradient(135deg, #6f253c, #823148);
}

.icon-box.blue,
.brand-navy-bg {
  background: linear-gradient(135deg, #11142f, #272c52);
}

.icon-box.gold,
.brand-ink-bg {
  background: linear-gradient(135deg, #191d3a, #313758);
}

.icon-box.green {
  background: linear-gradient(135deg, #6f253c, #823148);
}

.icon-box.cyan {
  background: linear-gradient(135deg, #11142f, #272c52);
}

.icon-box.violet {
  background: linear-gradient(135deg, #191d3a, #313758);
}

.service-box h4 {
  margin-top: 16px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.service-box p {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.7;
}

.split-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dark-card,
.light-card {
  padding: 22px;
}

.brand-dark-panel {
  background: linear-gradient(180deg, #191d3a 0%, #11142f 100%);
  color: #ffffff;
}

.brand-dark-panel .section-label,
.brand-dark-panel h3 {
  color: #ffffff;
}

.brand-dark-panel p {
  color: var(--text-soft-dark);
}

.brand-soft-panel {
  background: linear-gradient(180deg, #ffffff 0%, #faf8fb 100%);
}

.feature-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: inherit;
  line-height: 1.7;
}

.feature-list li i {
  color: var(--brand-maroon);
  margin-top: 4px;
}

.feature-list.clean li i {
  color: var(--brand-maroon);
}

.table-card {
  overflow: hidden;
}

.table-wrap {
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 47, 0.08);
}

.brand-table-wrap {
  box-shadow: inset 0 0 0 1px rgba(111, 37, 60, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #11142f;
}

th,
td {
  text-align: left;
  padding: 16px 18px;
}

th {
  color: #ffffff;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
}

tbody tr {
  background: #ffffff;
  border-top: 1px solid rgba(17, 20, 47, 0.08);
}

tbody td {
  color: var(--brand-navy);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.contact-panel {
  background: linear-gradient(180deg, #ffffff, #faf8fb);
  border: 1px solid rgba(111, 37, 60, 0.08);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  gap: 18px;
}

.brand-contact-panel {
  background: linear-gradient(180deg, #ffffff, #faf8fb);
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(111, 37, 60, 0.08);
  color: var(--brand-maroon);
}

.contact-item span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.contact-item a {
  display: inline-block;
  margin-top: 7px;
  color: var(--brand-navy);
  text-decoration: none;
  font-weight: 700;
}

.contact-item a:hover {
  color: var(--brand-maroon);
}

@media (max-width: 1180px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
  }

  .hero-card,
  .contact-card,
  .split-layout,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-panel {
    padding: 16px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-left {
    flex-wrap: wrap;
  }

  .hero-copy h3,
  .section-header h3,
  .dark-card h3,
  .light-card h3,
  .contact-card h3 {
    font-size: 1.55rem;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .stat-card.wide {
    grid-column: span 1;
  }

  th,
  td {
    padding: 13px 12px;
  }
}
