:root {
  --hg-ink: #003049;
  --hg-teal: #780000;
  --hg-sun: #003049;
  --hg-coral: #780000;
  --hg-cream: #f8f9fa;
  --hg-mint: #ebdfd0;
  --hg-border: #decebd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--hg-ink);
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 55%, #f8f9fa 100%);
  padding-top: 4.5rem;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Fraunces", serif;
}

.navbar {
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--hg-teal) !important;
}

.brand-mark img {
  display: block;
  width: auto;
  max-width: 240px;
  height: 42px;
}

.navbar .nav-link {
  color: var(--hg-ink) !important;
  font-weight: 600;
  position: relative;
}

.navbar .nav-link.active {
  color: var(--hg-teal) !important;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--hg-sun);
}

.navbar .dropdown-menu {
  border: 1px solid var(--hg-border);
  border-radius: 0.75rem;
  box-shadow: 0 14px 26px rgba(0, 48, 73, 0.14);
}

.navbar .dropdown-item {
  color: var(--hg-ink);
  font-weight: 500;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
  background: #eff4f7;
  color: var(--hg-teal);
}

.top-breadcrumb {
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--hg-border);
}

.top-breadcrumb-list {
  padding: 0.55rem 0;
  font-size: 0.88rem;
}

.top-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #6f8190;
}

.top-breadcrumb .breadcrumb-item a {
  color: var(--hg-teal);
  font-weight: 600;
}

.top-breadcrumb .breadcrumb-item.active {
  color: #4f6679;
  font-weight: 600;
}

.section-pad {
  padding: 3.4rem 0;
}

.page-hero {
  padding-top: 1.1rem;
}

.hero-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hg-border);
  border-radius: 1rem;
  padding: 2rem 1.2rem;
  background: radial-gradient(circle at 78% 12%, rgba(120, 0, 0, 0.2) 0%, rgba(120, 0, 0, 0) 42%),
    linear-gradient(155deg, #ffffff 0%, #f8f9fa 62%, #fffdf9 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.35;
  pointer-events: none;
}

.blob-a {
  width: 140px;
  height: 140px;
  background: rgba(0, 48, 73, 0.28);
  top: -28px;
  right: -24px;
  animation: drift 9s ease-in-out infinite;
}

.blob-b {
  width: 100px;
  height: 100px;
  background: rgba(120, 0, 0, 0.28);
  bottom: -26px;
  left: -18px;
  animation: drift 11s ease-in-out infinite reverse;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  background: #fffdf9;
  border: 1px solid var(--hg-border);
  font-size: 0.82rem;
  color: var(--hg-ink);
  font-weight: 600;
}

.btn-sun {
  background: var(--hg-sun);
  border-color: var(--hg-sun);
  color: #f5ebe0;
  font-weight: 700;
}

.btn-sun:hover,
.btn-sun:focus {
  background: #02273b;
  border-color: #02273b;
  color: #f5ebe0;
}

.quick-card,
.feature-card,
.service-card,
.contact-card,
.process-card {
  border: 1px solid var(--hg-border);
  border-radius: 0.95rem;
  background: #fffdf9;
  height: 100%;
}

.quick-card,
.feature-card,
.service-card,
.process-card {
  padding: 1rem;
}

.quick-card h3,
.feature-card h3,
.service-card h3 {
  font-size: 1.15rem;
}

.small-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f6679;
}

.kpi-wrap {
  border-top: 1px solid #d9cdbc;
  margin-top: 1rem;
  padding-top: 1rem;
}

.kpi-wrap .kpi {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

.ecom-band {
  border: 1px solid var(--hg-border);
  border-radius: 1rem;
  background: linear-gradient(125deg, #f8f9fa 0%, #eff4f7 100%);
  padding: 1.25rem;
}

.account-setup-panel {
  border: 1px solid var(--hg-border);
  border-radius: 1rem;
  padding: 1.25rem;
  background: linear-gradient(145deg, #fffdf9 0%, #f6eee5 100%);
}

.platform-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.platform-logo-item {
  min-height: 84px;
  border: 1px solid #decebd;
  border-radius: 0.75rem;
  background: #fffdf9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.platform-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0, 48, 73, 0.12);
  border-color: #bca58e;
}

.platform-logo-item:focus-visible {
  outline: 2px solid #003049;
  outline-offset: 2px;
}

.platform-logo-item img {
  width: auto;
  max-width: 100%;
  height: 26px;
  object-fit: contain;
}

.product-card {
  border: 1px solid var(--hg-border);
  border-radius: 1rem;
  overflow: hidden;
  background: #fffdf9;
  height: 100%;
}

.product-top {
  background: linear-gradient(135deg, #eff4f7 0%, #f8f9fa 100%);
  border-bottom: 1px solid #e3d7c8;
  padding: 1rem;
}

.product-chip {
  font-size: 0.75rem;
  background: #fffdfa;
  border: 1px solid #decebd;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.product-price {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  color: var(--hg-teal);
}

.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 48, 73, 0.12);
}

.contact-card {
  padding: 1.15rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-dot {
  margin-top: 0.25rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--hg-coral);
}

.site-footer {
  margin-top: 2.4rem;
  padding: 1.4rem 0;
  border-top: 1px solid #decebd;
  background: #f8f9fa;
  font-size: 0.93rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.65s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(10px) translateX(-8px);
  }
}

@media (min-width: 768px) {
  body {
    padding-top: 5.15rem;
  }

  .hero-wrap {
    border-radius: 1.2rem;
    padding: 3rem;
  }

  .section-pad {
    padding: 4.5rem 0;
  }

  .ecom-band {
    padding: 1.6rem;
  }

  .account-setup-panel {
    padding: 1.6rem;
  }

  .platform-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1200px) {
  .platform-logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
