/* ===========================
     RedBay Agric — Color Tokens
     =========================== */
  :root {
      --color-primary: #1B4332;
      /* Deep Forest Green */
      --color-primary-700: #14332A;
      /* slightly deeper, for gradients/borders */
      --color-secondary: #D4A017;
      /* Palm Gold */
      --color-secondary-600: #B8860F;
      /* hover state for gold */
      --color-accent: #52B788;
      /* Fresh Leaf Green */
      --color-background: #F8F9F7;
      /* Off White (corrected — see notes) */
      --color-text: #222222;
      /* Charcoal */
      --color-success: #2D6A4F;
      /* Meadow Green */
      --color-error: #C03928;
      /* Clay Red */
      --color-warning: #D97706;
      /* Harvest Amber */
      --color-info: #1D6FA4;
      /* Deep Cerulean */

      /* muted text on dark backgrounds */
      --color-on-primary-muted: rgba(248, 249, 247, 0.72);
      --color-on-primary-faint: rgba(248, 249, 247, 0.55);
  }

  body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: var(--color-background);
      color: var(--color-text);
      overflow-x: hidden;
  }

  /* Guard: Bootstrap's .row applies negative left/right margins that
     are meant to be absorbed by a real .container's padding. Our
     section wrappers (.hero-inner, .products-inner, .howitworks-inner,
     .testimonials-inner, etc.) are custom divs, not Bootstrap
     containers, so those negative margins bleed past the wrapper's
     edge and cause horizontal scroll/overflow on narrow screens.
     Zero them out for any row sitting directly inside one. */
  [class$="-inner"] > .row {
      margin-left: 0;
      margin-right: 0;
  }

  /* ===========================
     Header / Navbar
     =========================== */
  .site-header {
      background: transparent;
      position: relative;
  }

  .site-logo {
      height: 38px;
      width: auto;
  }

  .site-nav .nav-link {
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--color-text);
  }
  .site-nav .nav-link.link-secondary,
  .site-nav .nav-link:hover {
      color: var(--color-primary) !important;
  }

  /* Desktop: logo stays left and actions stay right via Bootstrap's
     default navbar space-between; the nav links are pulled out of
     that flow and centered against the header itself so their
     position isn't affected by the width of the buttons. */
  @media (min-width: 992px) {
      .navbar-collapse {
          justify-content: flex-end;
      }
      .site-nav {
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          margin: 0;
      }
  }

  .site-actions .btn-success {
      background: var(--color-primary);
      border-color: var(--color-primary);
      font-weight: 600;
  }
  .site-actions .btn-success:hover {
      background: var(--color-primary-700);
      border-color: var(--color-primary-700);
  }
  .site-actions .btn-outline-success {
      color: var(--color-primary);
      border-color: var(--color-primary);
      font-weight: 600;
  }
  .site-actions .btn-outline-success:hover {
      background: var(--color-primary);
      border-color: var(--color-primary);
      color: #fff;
  }

  /* Mobile toggle button */
  .site-toggler {
      border-color: rgba(27, 67, 50, 0.25);
      padding: 0.4rem 0.55rem;
  }
  .site-toggler:focus {
      box-shadow: 0 0 0 0.2rem rgba(82, 183, 136, 0.35);
  }
  .site-toggler .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(27, 67, 50, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  /* Collapsed mobile dropdown panel */
  @media (max-width: 991.98px) {
      .navbar-collapse {
          background: #fff;
          border: 1px solid rgba(27, 67, 50, 0.08);
          border-radius: 0.9rem;
          margin-top: 0.75rem;
          padding: 1rem 1.25rem;
          box-shadow: 0 16px 32px -16px rgba(27, 67, 50, 0.25);
      }
      .site-nav {
          text-align: center;
      }
      .site-actions {
          align-items: stretch;
      }
      .site-actions .btn {
          width: 100%;
      }
  }

  .hero {
      color: #fff;
      min-height: 100vh;
      padding: 3.5rem 0;
      position: relative;
      overflow: hidden;
      isolation: isolate;
  }

  .hero-background-slider {
      position: absolute;
      inset: 0;
      z-index: -1;
  }

  .hero-bg-slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
  }

  .hero-bg-slide.active {
      opacity: 1;
  }

  .hero-bg-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
  }

  .hero-inner {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 2.5rem;
      position: relative;
      z-index: 1;
  }

  @media (max-width: 575.98px) {
      .hero-inner {
          padding: 0 1.25rem;
      }
  }

  /* -------- Left column -------- */
  .eyebrow-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(82, 183, 136, 0.16);
      border: 1px solid rgba(82, 183, 136, 0.35);
      color: var(--color-accent);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      padding: 0.45rem 1rem;
      border-radius: 999px;
  }

  .eyebrow-badge .dot {
      width: 6px;
      height: 6px;
      background: var(--color-secondary);
      border-radius: 50%;
      display: inline-block;
  }

  .hero-headline {
      font-weight: 800;
      line-height: 1.06;
      letter-spacing: -0.02em;
      font-size: clamp(2.4rem, 4.2vw, 3.6rem);
      margin: 1.5rem 0 1.25rem;
  }

  .hero-headline .accent-line {
      color: var(--color-accent);
  }

  .hero-sub {
      color: var(--color-on-primary-muted);
      font-size: 1.05rem;
      line-height: 1.6;
      max-width: 34rem;
      margin-bottom: 2rem;
  }

  .btn-shop {
      background: var(--color-secondary);
      color: var(--color-primary-700);
      font-weight: 700;
      border: none;
      padding: 0.85rem 1.6rem;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      transition: background 0.2s ease, transform 0.15s ease;
  }

  .btn-shop:hover {
      background: var(--color-secondary-600);
      color: var(--color-primary-700);
      transform: translateY(-1px);
  }

  .btn-create {
      background: transparent;
      color: #fff;
      font-weight: 600;
      border: 1px solid rgba(255, 255, 255, 0.55);
      padding: 0.85rem 1.6rem;
      border-radius: 999px;
      transition: background 0.2s ease, border-color 0.2s ease;
  }

  .btn-create:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: #fff;
      color: #fff;
  }

  .hero-divider {
      border-top: 1px solid rgba(255, 255, 255, 0.14);
      margin: 2.25rem 0 1.75rem;
  }

  .stat-value {
      font-weight: 800;
      font-size: 1.6rem;
      line-height: 1;
      margin-bottom: 0.35rem;
  }

  .stat-label {
      color: var(--color-on-primary-muted);
      font-size: 0.85rem;
  }

  /* -------- Right column (image + floating cards) -------- */
  .hero-media {
      position: relative;
  }

    .hero-media-frame {
        position: relative;
        border-radius: 1.25rem;
        overflow: hidden;
        aspect-ratio: 4 / 3.15; 
        background: var(--color-primary-700);
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
    }

    /* Replace this src with the relative path to your local image,
      e.g. "./images/palm-oil-banner.jpg" */
    .hero-media-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

  .rating-badge {
      position: absolute;
      top: -1.1rem;
      right: 1.5rem;
      background: var(--color-secondary);
      color: var(--color-primary-700);
      border-radius: 1rem;
      padding: 0.7rem 1.15rem;
      text-align: center;
      box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.35);
      font-weight: 700;
      line-height: 1.15;
  }

  .rating-badge .stars {
      font-size: 1.05rem;
  }

  .rating-badge .reviews {
      font-size: 0.72rem;
      font-weight: 600;
      opacity: 0.85;
  }

  .organic-card {
      position: absolute;
      left: 50%;
      bottom: -1.6rem;
      transform: translateX(-50%);
      background: #fff;
      color: var(--color-text);
      border-radius: 0.9rem;
      padding: 0.85rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.35);
      white-space: nowrap;
  }

  .organic-card .icon-wrap {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(45, 106, 79, 0.12);
      color: var(--color-success);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
  }

  .organic-card .title {
      font-weight: 700;
      font-size: 0.92rem;
      margin-bottom: 0.1rem;
  }

  .organic-card .subtitle {
      font-size: 0.78rem;
      color: #6b6b6b;
  }

  @media (max-width: 991.98px) {
      .hero-media {
          margin-top: 4.5rem;
      }

      .organic-card {
          white-space: normal;
          text-align: left;
      }
  }

  @media (max-width: 575.98px) {
      .organic-card {
          max-width: calc(100% - 1.5rem);
          padding: 0.7rem 0.9rem;
          bottom: -1.9rem;
      }

      .organic-card .title {
          font-size: 0.85rem;
      }

      .organic-card .subtitle {
          font-size: 0.72rem;
      }

      .rating-badge {
          right: 0.75rem;
          padding: 0.55rem 0.9rem;
      }

      .stat-value {
          font-size: 1.3rem;
      }

      .stat-label {
          font-size: 0.75rem;
      }
  }


  /* ===========================
     Feature cards section
     =========================== */
  .features {
      background: var(--color-background);
      padding: 4rem 0;
  }

  .feature-card {
      background: #fff;
      border: 1px solid rgba(34, 34, 34, 0.08);
      border-radius: 1rem;
      padding: 1.75rem;
      height: 100%;
      transition: box-shadow 0.2s ease, transform 0.2s ease;
  }

  .feature-card:hover {
      box-shadow: 0 20px 40px -18px rgba(27, 67, 50, 0.18);
      transform: translateY(-2px);
  }

  .feature-icon {
      width: 44px;
      height: 44px;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      margin-bottom: 1.1rem;
  }

  /* Icon color pairs derived from the core palette — the fourth
     (Secure Payments) uses a one-off indigo since no palette
     token covers it; swap to --color-info if you'd rather stay
     strictly within the documented tokens. */
  .feature-icon--produce {
      background: rgba(82, 183, 136, 0.14);
      color: var(--color-accent);
  }

  .feature-icon--pricing {
      background: rgba(212, 160, 23, 0.14);
      color: var(--color-secondary);
  }

  .feature-icon--delivery {
      background: rgba(192, 57, 40, 0.12);
      color: var(--color-error);
  }

  .feature-icon--payments {
      background: rgba(79, 70, 229, 0.12);
      color: #4F46E5;
  }

  .feature-title {
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--color-text);
      margin-bottom: 0.5rem;
  }

  .feature-text {
      font-size: 0.92rem;
      color: #5b5b5b;
      line-height: 1.55;
      margin: 0;
  }

  @media (max-width: 575.98px) {
      .feature-card {
          padding: 1.15rem;
      }
      .feature-icon {
          width: 38px;
          height: 38px;
          font-size: 1.05rem;
          margin-bottom: 0.85rem;
      }
      .feature-title {
          font-size: 0.95rem;
      }
      .feature-text {
          font-size: 0.82rem;
      }
  }

  .products {
  background: var(--color-background);
  padding: 4rem 0;
}
 
.products-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 575.98px) {
  .products-inner {
    padding: 0 1.25rem;
  }
}
 
/* -------- Header row -------- */
.products-eyebrow {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
 
.products-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--color-primary);
  margin: 0;
}
 
.products-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.products-view-all i {
  transition: transform 0.2s ease;
}
.products-view-all:hover {
  color: var(--color-primary);
}
.products-view-all:hover i {
  transform: translateX(3px);
}
 
/* -------- Product card -------- */
.product-card {
  background: #fff;
  border: 1px solid rgba(34, 34, 34, 0.06);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  box-shadow: 0 24px 48px -20px rgba(27, 67, 50, 0.22);
  transform: translateY(-3px);
}
 
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
 
.product-media img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
 
/* Tinted product-media backgrounds, matching the reference mock */
.product-media--mint    { background: #DCEFE3; }
.product-media--lavender{ background: #E1DDF2; }
.product-media--blush    { background: #F3DEDA; }
.product-media--sand    { background: #E7DCCB; }
.product-media--sage    { background: #DCEACB; }
.product-media--tan     { background: #E9E1C8; }
 
.product-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--color-secondary);
  color: var(--color-primary-700);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
 
.product-wishlist {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6b6b;
  border: none;
  transition: color 0.2s ease, transform 0.15s ease;
}
.product-wishlist:hover {
  color: var(--color-error);
  transform: scale(1.06);
}
 
.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
}
 
.product-category {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
 
.product-name {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
 
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}
.product-rating .stars {
  color: var(--color-secondary);
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.product-rating .count {
  color: #8a8a8a;
  font-size: 0.82rem;
}
 
.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(82, 183, 136, 0.14);
  color: var(--color-success);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.product-stock .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
 
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 
.product-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-text);
}
 
.product-add {
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.product-add:hover {
  background: var(--color-primary-700);
  color: #fff;
}

.product-name-link {
  color: inherit;
  text-decoration: none;
}
.product-name-link:hover {
  text-decoration: underline;
}

.product-media-link,
.bs-media-link {
  color: inherit;
  text-decoration: none;
}

.product-media-link:focus-visible,
.bs-media-link:focus-visible,
.product-name-link:focus-visible,
.product-add:focus-visible,
.bs-add:focus-visible,
.product-wishlist:focus-visible,
.bs-arrow:focus-visible,
.products-view-all:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.product-stock-out {
  color: #9CA3AF;
  background: #F1F1EF;
}
 
@media (max-width: 991.98px) {
  .products-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }
}

/* ===========================
   Best Sellers carousel
   =========================== */
.bestsellers {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-700) 100%);
  padding: 4rem 0;
}

.bestsellers-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.bestsellers-eyebrow {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.bestsellers-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: #fff;
  margin: 0;
}

.bestsellers-arrows {
  display: flex;
  gap: 0.6rem;
}

.bs-arrow {
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.bs-arrow:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.bs-arrow--next {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary-700);
}
.bs-arrow--next:hover {
  background: var(--color-secondary-600);
  border-color: var(--color-secondary-600);
  transform: translateY(-1px);
}

/* -------- Scroll-snap track -------- */
.bs-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
}
.bs-track::-webkit-scrollbar {
  display: none;
}

.bs-card {
  flex: 0 0 calc(50% - 0.625rem);
  scroll-snap-align: start;
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  overflow: hidden;
  min-height: 260px;
}

.bs-card-media {
  flex: 0 0 42%;
  overflow: hidden;
}
.bs-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bs-card-body {
  flex: 1;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bs-stars {
  color: var(--color-secondary);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.bs-name {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.bs-price {
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.bs-add {
  align-self: flex-start;
  background: var(--color-secondary);
  color: var(--color-primary-700);
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
.bs-add:hover {
  background: var(--color-secondary-600);
  color: var(--color-primary-700);
  transform: translateY(-1px);
}

/* -------- Dot pagination -------- */
.bs-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.bs-dot {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}
.bs-dot.is-active {
  background: var(--color-secondary);
  width: 40px;
}

@media (max-width: 991.98px) {
  .bestsellers-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }
}

@media (max-width: 767.98px) {
  .bs-card {
    flex: 0 0 100%;
    flex-direction: column;
    min-height: 0;
  }
  .bs-card-media {
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
  }
  .bs-card-body {
    padding: 1.25rem 1.4rem 1.5rem;
  }
  .bs-name {
    font-size: 1.05rem;
  }
  .bs-price {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .bestsellers-inner {
    padding: 0 1.25rem;
  }
}

/* ===========================
   How It Works
   =========================== */
.howitworks {
  background: var(--color-background);
  padding: 4.5rem 0;
}

.howitworks-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.howitworks-header {
  margin-bottom: 3.5rem;
}

.howitworks-eyebrow {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.howitworks-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--color-primary);
  margin: 0;
}

.hiw-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hiw-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.hiw-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #EDEEEC;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.hiw-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.hiw-text {
  font-size: 0.92rem;
  color: #6b6b6b;
  line-height: 1.55;
  max-width: 17rem;
  margin: 0;
}

@media (max-width: 575.98px) {
  .howitworks-inner {
    padding: 0 1.25rem;
  }
  .howitworks-header {
    margin-bottom: 2.5rem;
  }
  .hiw-icon {
    width: 76px;
    height: 76px;
    font-size: 1.5rem;
  }
  .hiw-title {
    font-size: 1.1rem;
  }
}

/* ===========================
   Customer Stories
   =========================== */
.testimonials {
  background: var(--color-background);
  padding: 4.5rem 0;
}

.testimonials-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.testimonials-header {
  margin-bottom: 2.75rem;
}

.testimonials-eyebrow {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.testimonials-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--color-primary);
  margin: 0;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(34, 34, 34, 0.06);
  border-radius: 1.1rem;
  padding: 1.75rem 2rem;
  height: 100%;
}

.testimonial-stars {
  color: var(--color-secondary);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 1.1rem;
}

.testimonial-quote {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-text);
}

.testimonial-location {
  font-size: 0.82rem;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media (max-width: 575.98px) {
  .testimonials-inner {
    padding: 0 1.25rem;
  }
  .testimonials-header {
    margin-bottom: 2rem;
  }
  .testimonial-card {
    padding: 1.5rem 1.5rem;
  }
  .testimonial-quote {
    font-size: 0.95rem;
  }
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-700) 100%);
  color: #fff;
  padding: 3.5rem 0 2.5rem;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* -------- Newsletter banner -------- */
.newsletter-banner {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.newsletter-title {
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.newsletter-title i {
  color: var(--color-secondary);
}

.newsletter-sub {
  color: var(--color-on-primary-muted);
  font-size: 0.92rem;
  margin: 0.3rem 0 0;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 0.7rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.92rem;
  min-width: 240px;
}
.newsletter-input::placeholder {
  color: var(--color-on-primary-faint);
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-btn {
  background: var(--color-secondary);
  color: var(--color-primary-700);
  font-weight: 700;
  border: none;
  border-radius: 0.7rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.newsletter-btn:hover {
  background: var(--color-secondary-600);
}

/* -------- Link columns -------- */
.footer-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.footer-logo i {
  font-size: 1.6rem;
  color: var(--color-accent);
}
.footer-logo-text {
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  line-height: 1.1;
}
.footer-logo-text span {
  display: block;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.62rem;
  color: var(--color-on-primary-faint);
}

.footer-tagline {
  color: var(--color-on-primary-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 22rem;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}
.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer-social-icon:hover {
  background: var(--color-accent);
  color: var(--color-primary-700);
}

.footer-col-title {
  color: var(--color-on-primary-faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-links a {
  color: var(--color-on-primary-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 0 1.5rem;
}

/* -------- Contact row -------- */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.5rem;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-on-primary-muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-contact-item i {
  color: var(--color-accent);
}
a.footer-contact-item:hover {
  color: #fff;
}

/* -------- Bottom bar -------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: var(--color-on-primary-faint);
  font-size: 0.85rem;
}

.footer-watermark {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: var(--color-on-primary-faint);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 991.98px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .newsletter-banner {
    padding: 1.5rem;
  }
  .newsletter-form {
    width: 100%;
  }
  .newsletter-input {
    flex: 1;
    min-width: 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-watermark {
    order: 3;
  }
}

@media (max-width: 575.98px) {
  .footer-inner {
    padding: 0 1.25rem;
  }
  .site-footer {
    padding: 2.75rem 0 2rem;
  }
  .newsletter-banner {
    margin-bottom: 2.5rem;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-contact {
    flex-direction: column;
    gap: 0.9rem;
  }
  .footer-legal {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
}