:root {
  --color-primary: #0f1e33;
  --color-secondary: #1f3a56;
  --color-accent: #c89b3c;
  --color-light: #f7f7f5;
  --color-muted: #e2e6ef;
  --color-text: #2e3b4e;
  --color-success: #2e7d48;
  --shadow-sm: 0 6px 14px rgba(15, 30, 51, 0.12);
  --transition-base: 0.3s ease;
  --max-width: 1200px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.nav-toggle {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-collapsible {
  display: none;
}

.nav-collapsible.show {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  color: var(--color-primary);
  background-color: #ffffff;
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-collapsible {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
  }
}

.hero {
  position: relative;
  color: #ffffff;
}

.hero-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--color-muted);
  min-height: 320px;
  width: 100%;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease-in-out;
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  animation: kenBurns 16s ease-in-out forwards;
}

.hero-slide.is-previous {
  opacity: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 5;
  padding-block: clamp(1.5rem, 6vw, 3rem);
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.hero-card {
  background: rgba(247, 247, 245, 0.9);
  color: var(--color-text);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  width: min(100%, 520px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 6;
}

.hero-copy {
  max-width: 480px;
}

@media (max-width: 575.98px) {
  .hero {
    margin-bottom: 3rem;
  }

  .hero-media {
    margin-bottom: 1.25rem;
    border-radius: 1.25rem;
  }

  .hero-overlay {
    position: static;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .hero-card {
    width: 100%;
    max-width: none;
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
    margin: 0;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy .section-heading {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.3rem);
    line-height: 1.22;
    margin-bottom: 1rem;
  }

  .hero-copy p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }

  .hero-copy .btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.6rem;
  }
}

.section-heading {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
}

.card-shadow {
  border: none;
  box-shadow: var(--shadow-sm);
  border-radius: 1rem;
  height: 100%;
}

.card-shadow .card-body {
  padding: 2rem;
}

svg.icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
}

.btn-primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #af8632;
  border-color: #af8632;
  color: #ffffff;
}

.btn-outline-light {
  border-width: 2px;
}

.placeholder {
  position: relative;
  background: repeating-linear-gradient(135deg, var(--color-muted), var(--color-muted) 12px, #ced4e3 12px, #ced4e3 24px);
  color: rgba(18, 28, 48, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.75rem;
}

.placeholder::after {
  content: attr(data-label);
}

.mission-card {
  background: rgba(247, 247, 245, 0.9);
  color: var(--color-text);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.mission-card h2 {
  color: var(--color-primary);
}

.mission-card p,
.mission-card li {
  color: var(--color-text);
}

.service-image {
  position: relative;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.service-image .img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-base);
}

.card:hover .service-image .img-cover,
.card:focus-within .service-image .img-cover {
  transform: scale(1.04);
}

.firm-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.firm-image .img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-base);
}

.firm-image:hover .img-cover,
.firm-image:focus-within .img-cover {
  transform: scale(1.03);
}

.team-hero {
  background: linear-gradient(120deg, rgba(15, 30, 51, 0.95), rgba(31, 58, 86, 0.85));
  color: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.team-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200, 155, 60, 0.25), transparent 55%);
  pointer-events: none;
}

.team-hero .container {
  position: relative;
  z-index: 1;
}

.team-hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

.team-grid .team-card {
  height: 100%;
}

.team-card {
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-avatar {
  overflow: hidden;
}

.team-avatar .img-cover,
.team-avatar .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.team-avatar .img-cover {
  object-fit: cover;
  object-position: center;
}

.team-avatar .placeholder {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  background: repeating-linear-gradient(135deg, rgba(200, 155, 60, 0.15), rgba(200, 155, 60, 0.15) 14px, rgba(248, 221, 173, 0.3) 14px, rgba(248, 221, 173, 0.3) 28px);
}

.team-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-card-body p:last-child {
  margin-bottom: 0;
}

.team-cta {
  background: linear-gradient(135deg, #0f1e33, #1f3a56);
}

.team-cta .btn {
  min-width: 220px;
}

.contact-form-only {
  background: linear-gradient(180deg, rgba(15, 30, 51, 0.03), rgba(15, 30, 51, 0));
}

.highlights-section {
  position: relative;
  background: linear-gradient(140deg, rgba(15, 30, 51, 0.16), rgba(31, 58, 86, 0.26));
  overflow: hidden;
}

.highlights-section::before,
.highlights-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0);
}

.highlights-section::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.46), transparent 72%);
  top: -120px;
  right: 13%;
}

.highlights-section::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(47, 82, 120, 0.38), transparent 75%);
  bottom: -220px;
  left: -150px;
}

.highlights-section .container {
  position: relative;
  z-index: 1;
}

.team-hero {
  background: linear-gradient(140deg, rgba(15, 30, 51, 0.16), rgba(31, 58, 86, 0.26));
  color: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.team-hero::before,
.team-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.team-hero::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.46), transparent 72%);
  top: -120px;
  right: 13%;
}

.team-hero::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(47, 82, 120, 0.38), transparent 75%);
  bottom: -220px;
  left: -150px;
}

.team-hero .container {
  position: relative;
  z-index: 1;
}

.team-hero h1,
.team-hero h2 {
  color: #ffffff;
}

.process-step {
  background-color: var(--color-light);
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-section {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 30, 51, 0.96), rgba(31, 58, 86, 0.9));
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 155, 60, 0.2), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(200, 155, 60, 0.12), transparent 55%),
    radial-gradient(circle at 40% 100%, rgba(200, 155, 60, 0.1), transparent 65%);
  pointer-events: none;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

.faq-intro .section-heading {
  color: rgba(255, 255, 255, 0.75);
}

.faq-intro h2 {
  color: #ffffff;
}

.faq-intro p {
  color: rgba(255, 255, 255, 0.82);
}

.faq-shell {
  background: rgba(247, 247, 245, 0.96);
  border-radius: 1.75rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 24px 48px rgba(11, 20, 34, 0.28);
  position: relative;
}

.faq-shell::after {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.35), transparent 65%);
  pointer-events: none;
}

.faq-sidebar {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 30, 51, 0.08);
}

.faq-sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(200, 155, 60, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
}

.faq-sidebar-stats li + li {
  margin-top: 0.9rem;
}

.faq-sidebar-stats .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  opacity: 0.75;
}

.faq-sidebar-stats .value {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 30, 51, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.faq-card:hover,
.faq-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(15, 30, 51, 0.18);
}

.faq-button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.faq-button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 1rem;
}

.faq-card-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(31, 58, 86, 0.12);
  border: 2px solid rgba(31, 58, 86, 0.2);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.faq-card-question {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
}

.faq-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-secondary);
  transition: transform var(--transition-base), color var(--transition-base);
}

.faq-button[aria-expanded='true'] .faq-card-icon svg {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-card-body {
  border-top: 1px solid var(--color-muted);
  padding-top: 0.9rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.faq-card-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.faq-card-list li {
  margin-bottom: 0.4rem;
}

.faq-card-list li:last-child {
  margin-bottom: 0;
}

.form-control,
.form-select {
  border-radius: 0.75rem;
  border-color: #ced4e3;
  padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.25rem rgba(200, 155, 60, 0.2);
}

.is-invalid {
  border-color: #b3261e !important;
}

.field-error {
  color: #b3261e;
  font-size: 0.875rem;
  margin-top: 0.375rem;
  display: none;
}

.field-error.active {
  display: block;
}

.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1080;
}

.toast {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  min-width: 260px;
  animation: fadeInRight 0.4s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-success {
  background-color: var(--color-success);
}

.toast.hide {
  opacity: 0;
  transform: translateX(12px);
}

footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0;
}

footer a {
  color: rgba(255, 255, 255, 0.82);
}

footer a:hover,
footer a:focus-visible {
  color: var(--color-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.link-arrow {
  font-weight: 600;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.link-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.link-arrow:hover svg,
.link-arrow:focus-visible svg {
  transform: translateX(4px);
}

.admin-body {
  display: flex;
  min-height: 100vh;
  background-color: #eef2f7;
  color: var(--color-text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.admin-shell {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #0f1e33 0%, #182c45 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name {
  display: block;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.85rem;
  opacity: 0.7;
}

.admin-nav {
  display: grid;
  gap: 0.5rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0.75rem;
  font-weight: 500;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.admin-nav-link.active {
  background: #ffffff;
  color: var(--color-primary);
}

.admin-nav-icon {
  font-size: 1.1rem;
}

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  background: linear-gradient(135deg, #123259 0%, #1d4c82 100%);
  color: #ffffff;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 12px 24px rgba(14, 32, 55, 0.25);
}

.admin-topbar-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-family: 'Playfair Display', 'Times New Roman', serif;
  margin-bottom: 0.35rem;
}

.admin-topbar-label {
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.75;
}

.admin-topbar-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-content {
  flex: 1;
  width: 100%;
}

.admin-token-alert {
  display: none;
}

.admin-token-card {
  border: none;
  box-shadow: var(--shadow-sm);
  border-radius: 1rem;
}

.admin-metric-card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(15, 30, 51, 0.08);
}

.metric-primary {
  background: rgba(15, 30, 51, 0.12);
  color: var(--color-primary);
}

.metric-success {
  background: rgba(46, 125, 72, 0.15);
  color: var(--color-success);
}

.metric-warning {
  background: rgba(200, 155, 60, 0.18);
  color: var(--color-accent);
}

.metric-info {
  background: rgba(63, 118, 176, 0.18);
  color: #3f76b0;
}

.metric-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  color: var(--color-secondary);
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-primary);
}

.metric-subtext {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(46, 59, 78, 0.7);
}

.admin-filters {
  border: none;
  box-shadow: var(--shadow-sm);
  border-radius: 1rem;
}

.admin-table-card {
  border: none;
  box-shadow: var(--shadow-sm);
  border-radius: 1rem;
  overflow: hidden;
}

.admin-table-card .table {
  margin: 0;
}

.admin-table-card thead {
  background: rgba(15, 30, 51, 0.05);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table-card tbody tr:hover {
  background: rgba(15, 30, 51, 0.03);
}

.badge {
  font-weight: 600;
}

.admin-detail-panel {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 51, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  backdrop-filter: blur(4px);
  z-index: 1090;
}

.admin-detail-card {
  background: #ffffff;
  border-radius: 1.25rem;
  max-width: 640px;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  box-shadow: 0 20px 45px rgba(15, 30, 51, 0.3);
}

.detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--color-secondary);
}

.detail-message {
  padding: 1rem;
  background: rgba(15, 30, 51, 0.05);
  border-radius: 1rem;
}

.detail-body dt {
  font-weight: 600;
  color: var(--color-secondary);
}

.detail-footer {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(46, 59, 78, 0.65);
}

.admin-toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  background: rgba(15, 30, 51, 0.92);
  color: #ffffff;
  padding: 0.85rem 1.2rem;
  border-radius: 0.85rem;
  box-shadow: 0 12px 24px rgba(15, 30, 51, 0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2000;
}

.admin-toast.admin-toast-error {
  background: rgba(214, 69, 69, 0.92);
}

.admin-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-body .btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.admin-body .btn-outline-light:hover,
.admin-body .btn-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.admin-body .btn-success {
  background-color: #2e7d48;
  border-color: #2e7d48;
}

.admin-body .btn-success:hover,
.admin-body .btn-success:focus-visible {
  background-color: #25653a;
  border-color: #25653a;
}

.admin-body .btn-danger {
  background-color: #d64545;
  border-color: #d64545;
}

.admin-body .btn-danger:hover,
.admin-body .btn-danger:focus-visible {
  background-color: #b73737;
  border-color: #b73737;
}

.admin-detail-panel[hidden] {
  display: none !important;
}

.admin-token-alert.is-visible {
  display: flex;
}

.admin-table-card .badge {
  font-size: 0.75rem;
}

.admin-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-table-card .table td,
.admin-table-card .table th {
  vertical-align: middle;
}

.admin-confirm {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 51, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.admin-confirm-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 12px 35px rgba(15, 30, 51, 0.25);
  max-width: 360px;
  width: 100%;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1.08) translate3d(-1%, -1%, 0);
  }
  to {
    transform: scale(1.2) translate3d(1%, 1%, 0);
  }
}

@media (min-width: 992px) {
  .hero-media {
    min-height: 420px;
  }
}

@media (max-width: 1199.98px) {
  .admin-sidebar {
    width: 220px;
    padding-inline: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .admin-nav {
    display: flex;
    gap: 0.75rem;
  }

  .admin-nav-link {
    padding-inline: 0.95rem;
  }

  .admin-sidebar-footer {
    display: none;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.75rem;
  }

  .admin-topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .admin-nav {
    flex-wrap: wrap;
  }

  .admin-nav-link {
    flex: 1 0 calc(50% - 0.75rem);
  }

  .admin-topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-detail-card {
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.hero-card-label {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
}

.hero-title-text {
  color: var(--color-primary);
}

.hero-summary-text {
  color: var(--color-text);
}
.hero-text-primary {
  color: var(--color-primary) !important;
}

.hero-text-body {
  color: var(--color-text) !important;
}

.hero-text-accent {
  color: var(--color-accent) !important;
}
