/* ============================================================
   HiveGo — style.css
   Fast Delivery You Can Rely On
   Celerihive Logistics Limited
   ============================================================ */

/* ===================== CSS VARIABLES ===================== */
:root {
  --orange: #ff6b00;
  --orange-hover: #e05f00;
  --orange-light: #ff8c35;
  --orange-pale: rgba(255, 107, 0, 0.08);
  --dark: #171717;
  --white: #ffffff;
  --bg-light: #f7f7f7;
  --gray-100: #f3f3f3;
  --gray-200: #e8e8e8;
  --gray-400: #aaaaaa;
  --gray-600: #666666;
  --gray-800: #333333;
  --wa-green: #25d366;
  --wa-dark: #075e54;

  --font: "Poppins", sans-serif;
  --ease: 0.3s ease;
  --ease-spring: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.13);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.16);
  --shadow-orange: 0 8px 28px rgba(255, 107, 0, 0.38);

  --nav-h: 80px;
  --container: 1220px;
}

/* ===================== RESET ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}
button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}
ul,
ol {
  list-style: none;
}
address {
  font-style: normal;
}
svg {
  flex-shrink: 0;
}

/* ===================== CONTAINER ===================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===================== TYPOGRAPHY ===================== */
.text-orange {
  color: var(--orange);
}

.section-tag {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}

.section-tag--white {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 0.9rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 540px;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  text-decoration: none;
}

.btn--lg {
  padding: 15px 30px;
  font-size: 0.95rem;
  border-radius: 10px;
}
.btn--full {
  width: 100%;
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--orange:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn--outline-orange {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn--outline-orange:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--wa {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
}
.btn--wa:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

/* Navbar-sized buttons */
.btn--orange-sm {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn--orange-sm:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.btn--outline-sm {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn--outline-sm:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
}

/* Focus ring for accessibility */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  height: var(--nav-h);
  transition:
    height var(--ease),
    box-shadow var(--ease);
}
.navbar.scrolled {
  height: 66px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  /* background: var(--orange); */
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--ease);
}
.navbar__logo:hover .logo-mark {
  transform: rotate(-5deg) scale(1.05);
}
.logo-favicon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.logo-mark--white {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.025em;
}
.logo-text--white {
  color: var(--white);
}
.logo-accent {
  color: var(--orange);
}

/* Desktop nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
.navbar__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--ease);
}
.navbar__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 86vw);
  height: 100%;
  background: var(--white);
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 48px rgba(0, 0, 0, 0.14);
}
.mobile-menu.is-open {
  right: 0;
}

.mobile-menu__inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.75rem;
}
.mobile-menu__close {
  color: var(--gray-600);
  padding: 6px;
  transition:
    color var(--ease),
    transform var(--ease);
}
.mobile-menu__close:hover {
  color: var(--orange);
  transform: rotate(90deg);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mobile-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 9px;
  transition: all var(--ease);
}
.mobile-link:hover {
  background: var(--orange-pale);
  color: var(--orange);
  padding-left: 22px;
}

.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  backdrop-filter: blur(2px);
}
.mobile-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--nav-h);
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Orange diagonal corner shapes (matching reference image) */
.hero__corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero__corner--bl {
  bottom: -30px;
  left: -30px;
  width: 220px;
  height: 220px;
  background: var(--orange);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  opacity: 0.9;
}
.hero__corner--tr {
  top: var(--nav-h);
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--orange);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.75;
}

/* Background accent dots */
.hero__bg-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.18;
  animation: bgDotPulse 3s ease-in-out infinite;
}
@keyframes bgDotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.18;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.08;
  }
}

/* Hero inner grid */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Hero content (left) */
.hero__content {
  position: relative;
  z-index: 3;
}

.hero-fade-in {
  animation: heroFadeIn 0.75s ease both;
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange-pale);
  border: 1px solid rgba(255, 107, 0, 0.2);
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* Headline */
.hero__headline {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 1.4rem;
}

/* Supporting text */
.hero__subtext {
  font-size: 1.02rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2rem;
}

/* CTA buttons row */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.5rem;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat__number {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.stat__label {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ---- Road / city background ---- */
.hero__road-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  pointer-events: none;
}

.road-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Hero Visual (right side) ---- */
.hero__visual {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radial orange glow behind rider */
.hero__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 0, 0.14) 0%,
    rgba(255, 107, 0, 0.05) 55%,
    transparent 75%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* Rider image */
.hero__rider-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__rider-img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.16));
  animation: riderSlideIn 0.9s ease 0.2s both;
}
@keyframes riderSlideIn {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Rider placeholder */
.hero__rider-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 420px;
  padding: 2rem;
  animation: riderSlideIn 0.9s ease 0.2s both;
}
.placeholder-hint {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--gray-400);
  text-align: center;
}
.placeholder-hint code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

/* ---- Floating Delivery Items ---- */
.float-item {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 9px 13px;
  box-shadow:
    0 6px 26px rgba(0, 0, 0, 0.11),
    0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
  border: 1px solid rgba(255, 107, 0, 0.08);
  animation: floatUpDown 3s ease-in-out infinite;
  white-space: nowrap;
}
.float-item::after {
  /* Orange accent dot */
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  border: 2.5px solid var(--white);
}

.fi-emoji {
  font-size: 1.25rem;
  line-height: 1;
}
.fi-img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.fi-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-13px);
  }
}

/* Positions – desktop */
.fi-pizza {
  top: 4%;
  left: 0%;
  animation-duration: 3s;
}
.fi-pharmacy {
  top: 3%;
  right: -2%;
  animation-duration: 3.6s;
}
.fi-grocery {
  top: 36%;
  left: -4%;
  animation-duration: 2.9s;
}
.fi-electronics {
  top: 34%;
  right: -3%;
  animation-duration: 3.3s;
}
.fi-docs {
  bottom: 32%;
  left: 1%;
  animation-duration: 3.9s;
}
.fi-fashion {
  bottom: 28%;
  right: -2%;
  animation-duration: 2.7s;
}
.fi-parcel {
  bottom: 4%;
  left: 8%;
  animation-duration: 3.5s;
}
.fi-jewellery {
  bottom: 6%;
  right: 4%;
  animation-duration: 3.1s;
}

/* Pulse dots */
.hero__dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  z-index: 2;
  animation: dotPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.2;
  }
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.75rem 0;
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.trust-text span {
  font-size: 0.77rem;
  color: var(--gray-600);
}

/* ===================== SERVICES ===================== */
.services {
  padding: 6rem 0;
  background: var(--bg-light);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width var(--ease);
  border-radius: 0 0 0 2px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 0, 0.12);
}
.service-card:hover::before {
  width: 100%;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--orange-pale);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition:
    background var(--ease),
    transform var(--ease);
}
.service-card:hover .service-card__icon {
  background: rgba(255, 107, 0, 0.14);
  transform: scale(1.06);
}
.service-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===================== HOW IT WORKS ===================== */
.how-it-works {
  padding: 6rem 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

/* Connecting line between circles */
.steps::after {
  content: "";
  position: absolute;
  top: 39px;
  left: calc(16.67% + 8px);
  width: calc(66.66% - 16px);
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
  z-index: 0;
  border-radius: 2px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.step__circle {
  width: 80px;
  height: 80px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 22px rgba(255, 107, 0, 0.32);
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}
.step:hover .step__circle {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.42);
}

.step__content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.step__content p {
  font-size: 0.87rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===================== WHY HIVEGO ===================== */
.why-hivego {
  padding: 6rem 0;
  background: var(--bg-light);
}

.why-hivego__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.why-hivego__left .section-subtitle {
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.why-hivego__cta {
  margin-top: 2rem;
}

.why-hivego__right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.why-card {
  background: var(--white);
  padding: 1.4rem;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  transition: all var(--ease);
}
.why-card:hover {
  border-color: rgba(255, 107, 0, 0.18);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.why-card__icon {
  width: 42px;
  height: 42px;
  background: var(--orange-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease);
}
.why-card:hover .why-card__icon {
  background: rgba(255, 107, 0, 0.14);
}

.why-card h4 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.why-card p {
  font-size: 0.81rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===================== CTA SECTION ===================== */
.cta-section {
  background: var(--orange);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 2;
}

.cta-section__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-section__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.87);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-section__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================== CONTACT ===================== */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4.5rem;
  align-items: start;
}

.contact__info h3,
.contact__form-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.contact__item svg {
  margin-top: 2px;
  flex-shrink: 0;
}
.contact__item a {
  color: var(--gray-600);
  transition: color var(--ease);
  display: block;
}
.contact__item a:hover {
  color: var(--orange);
}

/* Contact form */
.contact__form-wrap {
  background: var(--bg-light);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-group select {
  cursor: pointer;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__brand .footer__logo {
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer__tagline {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.72;
  max-width: 290px;
}

.footer__col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 1.1rem;
}

.footer__col nav,
.footer__col address {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__col nav a,
.footer__col address a,
.footer__col address p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--ease);
  text-decoration: none;
}
.footer__col nav a:hover,
.footer__col address a:hover {
  color: var(--orange);
}
.footer__col address p {
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

/* Brand badges on footer logo column */
.footer__brand-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.25);
  color: var(--orange-light);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* Legal strip above footer bottom */
.footer__legal-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 0;
}

.footer__legal-text {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.75;
  max-width: 860px;
}

.footer__legal-text strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--ease);
}
.footer__legal a:hover {
  color: var(--orange);
}

/* ===================== WHATSAPP WIDGET ===================== */
.wa-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* FAB */
.wa-fab {
  width: 62px;
  height: 62px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.42);
  transition:
    transform var(--ease-spring),
    box-shadow var(--ease);
  cursor: pointer;
  border: none;
  position: relative;
  flex-shrink: 0;
}
.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 34px rgba(37, 211, 102, 0.55);
}

/* Pulse ring */
.wa-fab::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--wa-green);
  animation: waPulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

/* Tooltip */
.wa-fab__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  font-family: var(--font);
}
.wa-fab__tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--dark);
}
.wa-fab:hover .wa-fab__tooltip {
  opacity: 1;
}

/* Chat popup */
.wa-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 320px;
  overflow: hidden;
  transform: scale(0.82) translateY(22px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.28s ease;
}
.wa-popup.is-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Popup header */
.wa-popup__header {
  background: var(--wa-dark);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 11px;
}

.wa-popup__avatar {
  width: 42px;
  height: 42px;
  background: #128c7e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-popup__info {
  flex: 1;
}
.wa-popup__info strong {
  display: block;
  font-size: 0.93rem;
  color: var(--white);
  font-weight: 600;
}
.wa-popup__info span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #4fce5d;
  border-radius: 50%;
  flex-shrink: 0;
}

.wa-popup__close {
  color: rgba(255, 255, 255, 0.65);
  padding: 5px;
  transition:
    color var(--ease),
    transform var(--ease);
  flex-shrink: 0;
}
.wa-popup__close:hover {
  color: var(--white);
  transform: rotate(90deg);
}

/* Popup body */
.wa-popup__body {
  padding: 1.1rem;
  background: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8bdb3' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
}

.wa-bubble {
  background: var(--white);
  padding: 11px 14px;
  border-radius: 12px 12px 12px 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
  margin-bottom: 0.9rem;
  display: inline-block;
  max-width: 92%;
}
.wa-bubble p {
  font-size: 0.87rem;
  color: var(--dark);
  line-height: 1.6;
}
.wa-time {
  display: block;
  font-size: 0.66rem;
  color: var(--gray-400);
  margin-top: 4px;
  text-align: right;
}

.wa-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wa-action-btn {
  background: var(--white);
  border: 1.5px solid rgba(7, 94, 84, 0.18);
  color: #075e54;
  font-size: 0.81rem;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 9px;
  text-align: left;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--ease);
}
.wa-action-btn:hover {
  background: rgba(7, 94, 84, 0.07);
  border-color: rgba(7, 94, 84, 0.38);
  transform: translateX(4px);
}

/* Popup footer */
.wa-popup__footer {
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

/* ===================== RESPONSIVE ===================== */

/* --- 1024px --- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-hivego__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-hivego__left {
    max-width: 520px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }

  .hero__inner {
    gap: 2rem;
  }
  .hero__headline {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
  }
}

/* --- 900px (wider tablet) --- */
@media (max-width: 900px) {
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* --- 768px --- */
@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
  }

  /* Navbar → hamburger */
  .navbar__links,
  .navbar__cta {
    display: none;
  }
  .navbar__hamburger {
    display: flex;
  }

  /* Hero → single column */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }
  .hero__visual {
    min-height: 340px;
    order: 2;
  }
  .hero__content {
    order: 1;
  }
  .hero__glow {
    width: 320px;
    height: 320px;
  }

  /* Hide extra float items on tablet */
  .fi-grocery,
  .fi-docs,
  .fi-fashion {
    display: none;
  }
  .fi-pizza {
    top: 2%;
    left: 1%;
  }
  .fi-pharmacy {
    top: 2%;
    right: 1%;
  }
  .fi-electronics {
    top: 42%;
    right: 0%;
  }
  .fi-parcel {
    bottom: 2%;
    left: 8%;
  }
  .fi-jewellery {
    bottom: 2%;
    right: 4%;
  }

  /* Steps → vertical */
  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps::after {
    top: 0;
    left: 39px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--orange), var(--orange-light));
  }
  .step {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
    padding: 0;
  }
  .step__circle {
    width: 70px;
    height: 70px;
    font-size: 1.25rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  /* Services → 2 cols */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why HiveGo grid → 2 cols */
  .why-hivego__right {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact → single col */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Footer → 2 cols */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Hero corners smaller on mobile */
  .hero__corner--bl {
    width: 140px;
    height: 140px;
  }
  .hero__corner--tr {
    width: 100px;
    height: 100px;
  }
}

/* --- 600px --- */
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- 480px --- */
@media (max-width: 480px) {
  .hero__headline {
    font-size: 2.2rem;
  }
  .hero__subtext {
    font-size: 0.93rem;
  }
  .hero__cta {
    flex-direction: column;
  }
  .hero__stats {
    gap: 1rem;
  }
  .stat__number {
    font-size: 1.25rem;
  }

  /* Hide more float items on small mobile */
  .fi-electronics,
  .fi-jewellery {
    display: none;
  }
  .fi-parcel {
    bottom: 1%;
    left: 4%;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }
  .why-hivego__right {
    grid-template-columns: 1fr;
  }
  .trust-bar__grid {
    grid-template-columns: 1fr;
  }

  .cta-section__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-section__buttons .btn {
    justify-content: center;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__brand {
    grid-column: auto;
  }

  .wa-popup {
    width: calc(100vw - 50px);
  }

  /* Orange corners even smaller */
  .hero__corner--bl {
    width: 100px;
    height: 100px;
  }
  .hero__corner--tr {
    width: 80px;
    height: 80px;
  }
}

/* --- 375px --- */
@media (max-width: 375px) {
  .hero__headline {
    font-size: 2rem;
  }
  .container {
    padding: 0 18px;
  }
}

/* ===================== PRINT ===================== */
@media print {
  .navbar,
  .wa-widget,
  .mobile-menu,
  .mobile-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
  }
  a[href]::after {
    content: " (" attr(href) ")";
  }
}
