/*
 * Hivve landing page styles.
 *
 * Loaded after Bootstrap and the base theme stylesheet, so values here win on
 * tie. Brand tokens (--hivve-azure, --hivve-cobalt, etc.) are defined in
 * style.css; this file extends them with layout primitives that only the
 * marketing front page needs.
 */

:root {
  --hivve-line: #dce8f8;
  --hivve-soft-line: #e7eef9;
  --shadow-soft: 0 1rem 3rem rgba(1, 30, 72, 0.11);
  --shadow-deep: 0 1.5rem 4rem rgba(1, 30, 72, 0.18);
  --radius-card: 0.5rem;
  --radius-panel: 2.6rem;
}

body.hivve-landing {
  font-family: var(--hivve-font-body);
  color: var(--hivve-dark-grey);
  background: #ffffff;
}

body.hivve-landing h1,
body.hivve-landing h2,
body.hivve-landing .display-font {
  font-family: var(--hivve-font-display);
  letter-spacing: 0;
}

body.hivve-landing h1,
body.hivve-landing h2,
body.hivve-landing h3,
body.hivve-landing h4,
body.hivve-landing p {
  text-wrap: pretty;
}

.py-lg-6 {
  padding-top: 5.75rem;
  padding-bottom: 5.75rem;
}

.text-azure { color: var(--hivve-azure) !important; }
.text-navy { color: var(--hivve-navy) !important; }
.text-midnight { color: var(--hivve-midnight) !important; }
.bg-clear-water { background: var(--hivve-clear-water) !important; }
.bg-midnight { background: var(--hivve-midnight) !important; }
.bg-navy { background: var(--hivve-navy) !important; }
.bg-cobalt { background: var(--hivve-cobalt) !important; }

/* ----------------------------------------------------------------------------
 * Navbar
 * -------------------------------------------------------------------------- */
.hivve-navbar {
  border-bottom: 1px solid var(--hivve-soft-line);
  backdrop-filter: blur(16px);
  background-color: rgba(255, 255, 255, 0.95);
}

.hivve-navbar .nav-link {
  color: var(--hivve-dark-grey);
  font-size: 0.94rem;
  font-weight: 650;
}

.hivve-navbar .nav-link:hover,
.hivve-navbar .nav-link:focus {
  color: var(--hivve-azure);
}

.hivve-navbar .dropdown-toggle::after {
  margin-left: 0.4rem;
  align-self: center;
  position: relative;
  top: 0.05em;
}

.hivve-dropdown-menu {
  --bs-dropdown-link-color: var(--hivve-dark-grey);
  --bs-dropdown-link-hover-color: var(--hivve-azure);
  --bs-dropdown-link-hover-bg: var(--hivve-clear-water);
  --bs-dropdown-link-active-color: var(--hivve-azure);
  --bs-dropdown-link-active-bg: var(--hivve-clear-water);
  border: 0;
  border-radius: var(--radius-card, 0.5rem);
  box-shadow: var(--shadow-soft, 0 1rem 3rem rgba(1, 30, 72, 0.11));
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.hivve-dropdown-menu .dropdown-item {
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.55rem 0.85rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: 6rem;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  width: 6rem;
  max-width: 100%;
  height: auto;
}

.brand-logo--footer img {
  width: 8.5rem;
}

@media (min-width: 992px) {
  .hivve-navbar > .container {
    align-items: center;
  }

  .hivve-navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
  }

  .hivve-navbar .navbar-nav,
  .hivve-navbar .nav-item {
    display: flex;
    align-items: center;
  }

  .hivve-navbar .navbar-nav {
    align-self: center;
  }

  .hivve-navbar .navbar-collapse > .btn,
  .hivve-navbar .navbar-collapse > a.btn {
    align-self: center;
  }

  .hivve-navbar .nav-link {
    display: inline-flex;
    align-items: center;
    height: 2.4rem;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
    white-space: nowrap;
  }
}

/* ----------------------------------------------------------------------------
 * Buttons
 * -------------------------------------------------------------------------- */
.btn-hivve-primary {
  --bs-btn-bg: var(--hivve-navy);
  --bs-btn-border-color: var(--hivve-navy);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--hivve-midnight);
  --bs-btn-hover-border-color: var(--hivve-midnight);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--hivve-midnight);
  --bs-btn-active-border-color: var(--hivve-midnight);
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--hivve-navy);
  --bs-btn-disabled-border-color: var(--hivve-navy);
  --bs-btn-disabled-color: #fff;
  --bs-btn-focus-shadow-rgb: 189, 216, 248;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 750;
  box-shadow: 0 0.9rem 2.2rem rgba(1, 49, 117, 0.22);
}

.btn-hivve-secondary {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #cbdcf5;
  --bs-btn-color: var(--hivve-navy);
  --bs-btn-hover-bg: var(--hivve-clear-water);
  --bs-btn-hover-border-color: var(--hivve-azure);
  --bs-btn-hover-color: var(--hivve-navy);
  --bs-btn-active-bg: var(--hivve-clear-water);
  --bs-btn-active-border-color: var(--hivve-azure);
  --bs-btn-active-color: var(--hivve-navy);
  --bs-btn-disabled-bg: #fff;
  --bs-btn-disabled-border-color: #cbdcf5;
  --bs-btn-disabled-color: var(--hivve-navy);
  --bs-btn-focus-shadow-rgb: 189, 216, 248;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 750;
}

/* ----------------------------------------------------------------------------
 * Section labels and shared primitives
 * -------------------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--hivve-azure);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-label::before,
.footer-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  background: var(--hivve-yellow);
}

.section-label.light {
  color: #ffffff;
}

/* ----------------------------------------------------------------------------
 * Hero
 * -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--hivve-clear-water) 100%);
}

.hero-dotsign {
  position: absolute;
  top: 5.5rem;
  right: max(1rem, calc((100vw - 1140px) / 2));
  width: min(28vw, 19rem);
  aspect-ratio: 1;
  opacity: 0.2;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--hivve-azure) 0.16rem, transparent 0.18rem);
  background-size: 1.05rem 1.05rem;
  clip-path: polygon(24% 0, 77% 0, 100% 31%, 86% 83%, 47% 100%, 6% 79%, 0 27%);
}

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

.hero-title {
  color: var(--hivve-midnight);
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.96;
}

.lead-copy {
  color: var(--hivve-dark-grey);
  font-size: 1.12rem;
  line-height: 1.72;
}

.metric-row {
  border-top: 1px solid var(--hivve-line);
}

.hero-panel {
  position: relative;
  border-radius: var(--radius-panel);
  background: var(--hivve-navy);
  padding: 1rem;
  box-shadow: var(--shadow-deep);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 8.5rem;
  height: 8.5rem;
  opacity: 0.2;
  background-image: radial-gradient(circle, #ffffff 0.14rem, transparent 0.16rem);
  background-size: 0.92rem 0.92rem;
  clip-path: polygon(22% 0, 76% 0, 100% 30%, 86% 82%, 46% 100%, 5% 77%, 0 27%);
}

.dashboard-surface {
  position: relative;
  z-index: 1;
  border-radius: 1.1rem;
  background: #ffffff;
  padding: 1.35rem;
}

.dashboard-tile {
  border-radius: var(--radius-card);
  padding: 1.25rem;
}

.dashboard-step {
  min-height: 12.5rem;
  color: #ffffff;
}

.dashboard-rule {
  width: 100%;
  height: 1px;
  margin: 1rem 0;
  background: rgba(245, 248, 254, 0.75);
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 0.72rem;
  height: 8.4rem;
}

.bar-chart span {
  display: block;
  width: 100%;
  border-radius: 0.35rem 0.35rem 0.12rem 0.12rem;
  background: var(--hivve-azure);
}

.dot-card {
  position: absolute;
  top: -1.1rem;
  right: -0.85rem;
  z-index: 2;
  padding: 0.9rem;
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.dot-card__mark {
  display: block;
  width: 6.4rem;
  height: 6.4rem;
}

/* ----------------------------------------------------------------------------
 * Cards and modules
 * -------------------------------------------------------------------------- */
.card-brand {
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--hivve-line);
  border-radius: var(--radius-card);
  color: var(--hivve-cobalt);
  background: #ffffff;
  font-size: 1.35rem;
}

.module-card {
  height: 100%;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.module-card:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 1.4rem 4rem rgba(1, 30, 72, 0.16);
}

/* ----------------------------------------------------------------------------
 * Journey section
 * -------------------------------------------------------------------------- */
.journey-section {
  position: relative;
  overflow: hidden;
  background: var(--hivve-midnight);
}

.journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle, #ffffff 0.13rem, transparent 0.15rem);
  background-size: 1rem 1rem;
  clip-path: polygon(68% 0, 100% 0, 100% 88%, 80% 100%, 62% 86%, 56% 32%);
}

.journey-card {
  position: relative;
  z-index: 1;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.journey-number {
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--hivve-font-display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
}

/* ----------------------------------------------------------------------------
 * Mission photo
 * -------------------------------------------------------------------------- */
.mission-photo {
  position: relative;
  min-height: 29rem;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(1, 30, 72, 0.8) 0%, rgba(1, 30, 72, 0.3) 52%, rgba(1, 30, 72, 0.15) 100%),
    var(--hivve-mission-photo, var(--hivve-navy)) center / cover no-repeat;
}

.report-list-item {
  border: 1px solid var(--hivve-soft-line);
  border-radius: var(--radius-card);
  background: #ffffff;
}

/* ----------------------------------------------------------------------------
 * Trust strip and CTA band
 * -------------------------------------------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--hivve-line);
  border-bottom: 1px solid var(--hivve-line);
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--hivve-cobalt);
  box-shadow: 0 1.5rem 4rem rgba(0, 71, 171, 0.22);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 10rem;
  height: 10rem;
  opacity: 0.18;
  background-image: radial-gradient(circle, #ffffff 0.13rem, transparent 0.15rem);
  background-size: 0.9rem 0.9rem;
  clip-path: polygon(24% 0, 77% 0, 100% 31%, 86% 83%, 47% 100%, 6% 79%, 0 27%);
}

.small-note {
  color: #5f6775;
  font-size: 0.92rem;
}

.arrow-link {
  color: var(--hivve-navy);
  font-weight: 800;
  text-decoration: none;
}

.arrow-link:hover {
  color: var(--hivve-azure);
}

/* ----------------------------------------------------------------------------
 * Footer
 * -------------------------------------------------------------------------- */
.footer-wrap {
  color: #ffffff;
}

.footer-panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1.8rem, 4vw, 3.4rem);
  background: var(--hivve-navy);
  box-shadow: var(--shadow-deep);
}

.footer-panel::before,
.footer-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.13;
  background-image: radial-gradient(circle, #ffffff 0.18rem, transparent 0.2rem);
  background-size: 1.15rem 1.15rem;
  clip-path: polygon(23% 0, 78% 0, 100% 28%, 86% 82%, 46% 100%, 6% 78%, 0 28%);
}

.footer-panel::before {
  width: 24rem;
  height: 24rem;
  right: -4rem;
  top: -6rem;
}

.footer-panel::after {
  width: 18rem;
  height: 18rem;
  right: 4rem;
  bottom: -8rem;
}

.footer-panel .container-fluid {
  position: relative;
  z-index: 1;
}

.footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.footer-title {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-info-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.08);
}

.footer-info-card i {
  color: var(--hivve-yellow);
}

.footer-link-list li + li {
  margin-top: 0.64rem;
}

.footer-link-list a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link-list a:hover,
.footer-legal a:hover,
.footer-link-list a:focus,
.footer-legal a:focus {
  color: #ffffff;
}

.footer-mailing {
  border-radius: 1.55rem;
  background: #ffffff;
  color: var(--hivve-dark-grey);
  box-shadow: 0 1.25rem 3.2rem rgba(1, 30, 72, 0.2);
}

.footer-mailing .footer-title {
  color: var(--hivve-midnight);
}

.footer-mailing .footer-copy,
.footer-mailing .small-note {
  color: #5f6775;
}

.footer-mailing__mark {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
}

.footer-mailing .form-control {
  min-height: 3.1rem;
  border: 1px solid #cbdcf5;
  border-radius: 999px;
  padding-left: 1rem;
}

.footer-mailing .form-control:focus {
  border-color: var(--hivve-azure);
  box-shadow: 0 0 0 0.25rem rgba(189, 216, 248, 0.55);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social:hover,
.footer-social:focus {
  color: var(--hivve-midnight);
  background: var(--hivve-yellow);
  border-color: var(--hivve-yellow);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

@media (max-width: 991.98px) {
  .py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .dot-card {
    right: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .brand-logo img {
    width: 5.4rem;
  }

  .hero-panel {
    border-radius: 1.4rem;
    padding: 0.7rem;
  }

  .dashboard-surface {
    padding: 1rem;
  }

  .mission-photo {
    min-height: 24rem;
  }

  .footer-panel {
    border-radius: 1.5rem;
  }
}
