/* ==========================================================
   CoreWings — Main Design System
   Brand: Professional IT Rental | B2B India
   Color: White, Light Green, Dark Green, Charcoal
   ========================================================== */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --green-dark:    #1a5c3a;
  --green-mid:     #22774c;
  --green-light:   #2da05e;
  --green-accent:  #3cc375;
  --green-pale:    #e8f8ef;
  --green-paler:   #f0faf4;

  --white:         #ffffff;
  --off-white:     #f8fafa;
  --grey-light:    #f1f5f2;
  --grey-mid:      #e2eae6;
  --grey-border:   #d0ddd6;

  --charcoal:      #1c2b22;
  --charcoal-mid:  #2d3f35;
  --text-dark:     #1e2d25;
  --text-body:     #3d5248;
  --text-muted:    #6b8070;
  --text-light:    #9ab5a4;

  --shadow-sm:     0 1px 3px rgba(26,92,58,0.08), 0 1px 2px rgba(26,92,58,0.05);
  --shadow-md:     0 4px 16px rgba(26,92,58,0.10), 0 2px 6px rgba(26,92,58,0.06);
  --shadow-lg:     0 10px 40px rgba(26,92,58,0.12), 0 4px 12px rgba(26,92,58,0.08);
  --shadow-xl:     0 20px 60px rgba(26,92,58,0.15), 0 8px 20px rgba(26,92,58,0.10);

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-full:   9999px;

  --transition:    0.22s ease;
  --transition-slow: 0.38s ease;

  --font-sans:     'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display:  'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p { color: var(--text-body); line-height: 1.7; }

/* ── CONTAINER ── */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ── SECTION SPACING ── */
/* Sections use 3 alternating light-green shades so they stay distinguishable
   while reading as one light-green theme (page-hero/CTA/footer stay dark). */
.section { padding: 80px 0; background: #f5fcf8; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }

/* ── SECTION HEADINGS ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(26,92,58,0.15);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-title span { color: var(--green-light); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-secondary:hover {
  background: var(--green-pale);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-accent {
  background: var(--green-accent);
  color: var(--white);
  border-color: var(--green-accent);
}
.btn-accent:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* line-height:1 keeps the icon box tight so `align-items:center` optically
   centres it against the label (body line-height 1.65 was pushing it low) */
.btn svg, .btn i { font-size: 0.9em; line-height: 1; flex-shrink: 0; }

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-available { background: var(--green-pale); color: var(--green-dark); border: 1px solid rgba(26,92,58,0.2); }
.badge-limited { background: #fff7e6; color: #b45309; border: 1px solid rgba(180,83,9,0.2); }
.badge-unavailable { background: #fff0f0; color: #b91c1c; border: 1px solid rgba(185,28,28,0.2); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--green-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ── FORM CONTROLS ── */
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(60,195,117,0.15);
}

.form-control::placeholder { color: var(--text-light); }

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

.form-group { margin-bottom: 18px; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b8070' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.text-green  { color: var(--green-light); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.bg-green    { background: var(--green-dark); }
.bg-pale     { background: var(--green-pale); }
.bg-offwhite { background: var(--green-pale); }
.bg-grey     { background: var(--grey-light); }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.gap-16      { gap: 16px; }
.mb-0        { margin-bottom: 0; }
.mb-8        { margin-bottom: 8px; }
.mb-12       { margin-bottom: 12px; }
.mb-16       { margin-bottom: 16px; }
.mb-24       { margin-bottom: 24px; }
.mb-32       { margin-bottom: 32px; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-24       { margin-top: 24px; }
.mt-32       { margin-top: 32px; }

/* ── PHONE ICON ORIENTATION ── */
/* Font Awesome already draws the handset facing the correct way, so it needs
   NO rotation and NO mirroring. This file previously carried two conflicting
   rules — `.fas.fa-phone{transform:rotate(-45deg)}` and
   `[class*="fa-phone"]{transform:scaleX(-1)}` — which had equal specificity,
   so the later mirror silently won and every phone icon looked tilted.
   `transform:none` is stated explicitly so the handset can never be flipped,
   and so any future rotate/hover transform cannot bleed into it.
   Colours are intentionally untouched. */
.fas.fa-phone,
[class*="fa-phone"]:not(.fa-phone-flip) {
  display: inline-block;
  transform: none;
}

/* ── DIVIDER ── */
.divider {
  width: 50px; height: 3px;
  background: var(--green-accent);
  border-radius: 2px;
  margin: 16px 0;
}

.section-header.center .divider { margin: 16px auto; }

/* ── SKELETON LOADER ── */
.skeleton {
  background: linear-gradient(90deg, var(--grey-light) 25%, var(--grey-mid) 50%, var(--grey-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-wave {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── ALERT/FLASH ── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success { background: var(--green-pale); color: var(--green-dark); border: 1px solid rgba(26,92,58,0.25); }
.alert-error   { background: #fff0f0; color: #c0392b; border: 1px solid rgba(192,57,43,0.2); }
.alert-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid rgba(29,78,216,0.2); }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in 0.28s ease;
  box-shadow: var(--shadow-xl);
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--grey-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body { padding: 24px 28px; }
.modal-footer { padding: 16px 28px 24px; }

.modal-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 1.1rem;
  color: var(--text-muted);
}
.modal-close:hover { background: var(--grey-mid); }

/* ── STICKY HEADER ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

/* In-page anchors (#how-it-works, #desktops, ...) must clear the sticky
   68px header (+1px border), otherwise the section heading lands hidden
   underneath it. The IT Equipment page's anchors override this below because
   its sticky category jump bar sits below the header too. */
section[id], #accessories {
  scroll-margin-top: 84px;
}
#desktops, #workstations, #servers, #monitors, #networking, #accessories {
  scroll-margin-top: 150px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

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

.logo-icon {
  width: 40px; height: 40px;
  background: var(--green-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 22px; height: 14px;
  border: 2.5px solid var(--white);
  border-radius: 2px;
  clip-path: polygon(20% 0%, 80% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
}

.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--green-dark); line-height: 1; }
.logo-tagline { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; display: block; margin-top: 2px; }

/* Nav */
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block;
  padding: 8px 13px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--green-dark);
  background: var(--green-pale);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  padding: 16px 24px 24px;
  z-index: 899;
  box-shadow: var(--shadow-lg);
  animation: slide-down 0.22s ease;
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu.open { display: block; }

.mobile-menu ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--green-dark); background: var(--green-pale); }
.mobile-menu .mobile-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu .mobile-actions .btn { width: 100%; justify-content: center; }

/* ── HERO SECTION ── */
.hero {
  background: #e9f7ef; /* plain light green, no pattern/grid */
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* ── HERO BACKGROUND VIDEO ── */
.hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #e9f7ef;          /* visible before the video can play */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-video.is-playing { opacity: 1; }

/* Left side stays almost solid so the dark-green headline keeps full contrast;
   the right side opens up so the footage is clearly visible. */
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(240,250,244,0.96) 0%,
    rgba(240,250,244,0.93) 40%,
    rgba(233,247,239,0.68) 66%,
    rgba(233,247,239,0.46) 100%);
  pointer-events: none;
}

/* On phones the laptop photo is hidden, so let the footage show through more. */
@media (max-width: 992px) {
  .hero-video-scrim {
    background: linear-gradient(180deg,
      rgba(240,250,244,0.90) 0%,
      rgba(240,250,244,0.74) 45%,
      rgba(233,247,239,0.58) 100%);
  }
}

/* Users who ask for less motion get the still poster only. */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-video-layer {
    background: #e9f7ef url('../images/office-team.jpg') center/cover no-repeat;
  }
  .hero-video-scrim { background: rgba(240,250,244,0.88); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,160,94,0.14);
  border: 1px solid rgba(34,119,76,0.30);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  animation: fade-up 0.6s ease 0.1s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.12;
  margin-bottom: 20px;
  animation: fade-up 0.6s ease 0.2s both;
}

.hero-title span { color: var(--green-mid); }

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fade-up 0.6s ease 0.3s both;
}

.hero-rental-types {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fade-up 0.6s ease 0.35s both;
}

.hero-rental-types span {
  background: var(--white);
  border: 1px solid rgba(45,160,94,0.35);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-rental-types span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fade-up 0.6s ease 0.4s both;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: fade-up 0.6s ease 0.5s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-body);
  font-weight: 500;
}

/* Hero visual
   The floating up/down animation was removed from the hero image and its
   badges - it read as "the photo is broken / still loading" rather than as
   a decorative effect. The block is positioned statically now. */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-laptop-wrapper {
  position: relative;
}

.hero-laptop-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px rgba(26,92,58,0.18), 0 6px 16px rgba(26,92,58,0.12);
}

/* Subtle brand tint so the photo blends into the light green hero */
.hero-laptop-tint {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg,
              rgba(232,248,239,0.10) 0%,
              rgba(207,238,221,0) 45%,
              rgba(26,92,58,0.12) 100%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  animation: fade-up 0.7s ease 0.6s both;
}

.hero-badge.badge-1 { top: 10%; right: -20px; }
.hero-badge.badge-2 { bottom: 15%; left: -20px; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--green-paler);
  border-top: 1px solid var(--grey-mid);
  border-bottom: 1px solid var(--grey-mid);
  padding: 28px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.trust-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── CATEGORY CARDS ── */
.category-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  /* Flex column + stretched grid item = all cards equal height,
     with the CTA pinned to the bottom regardless of description length */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.category-card:hover {
  border-color: var(--green-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.category-card:hover::before { transform: scaleX(1); }

.category-img {
  width: 100%;
  /* Fixed height + object-fit:cover cropped the source photos (the category
     images are a mix of 3:2, 900x637 and 4:5 ratios), so only the middle of
     each laptop was visible. aspect-ratio keeps every card image the same
     height - so titles, descriptions and buttons still line up across the
     row - while contain shows the whole product photo. */
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin: 0 0 16px;
  display: block;
  background: var(--grey-light);
  padding: 6px;
  flex-shrink: 0;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.category-card:hover .category-img {
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

.category-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-dark);
  flex-shrink: 0;
}

.category-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  /* Absorbs the extra height in cards with a 1-line description,
     so every "View Laptops" button lines up on the same baseline */
  flex: 1;
}

.category-card .btn {
  flex-shrink: 0;
  align-self: center;
}

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* White photo stage. `cover` is what makes every card's image render at
   exactly the same size: the product photos range from 0.67 (portrait) to
   1.78 (landscape) aspect ratio, and with `contain` a wide photo and a tall
   photo would appear visibly different sizes inside the same box.
   `flex: 0 0 210px` LOCKS the height so flexbox can never squeeze or grow it —
   the photo area is byte-for-byte identical on every card.

   210px (down from 300px): the photo box was taller than the card was wide,
   which pushed a lot of empty grey space above the laptop and made a single
   card ~520px tall — only 2 cards fitted in a laptop screen. The box is now
   roughly square (matching the 3:2 source photos better with `contain`), the
   text block and buttons below were trimmed to match, and the whole card came
   down to ~410px. Single place to change it back: --product-img-h is NOT used
   because the mobile value lives in the media query further down. */
.product-img-wrap {
  background: var(--grey-light);
  flex: 0 0 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--grey-mid);
  padding: 0;
}

.product-img-wrap img {
  width: 100%; height: 100%;
  /* contain, not cover: the product photos are 3:2 (900x600) but this box is
     ~1.1:1, so cover sliced the left/right edges off every laptop. The fixed
     210px box above is kept so the photo area stays identical on all cards,
     and contain now shows the whole device. */
  object-fit: contain;
  display: block;
  padding: 6px;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img-wrap img { transform: scale(1.04); }

/* Warranty / condition badges, overlaid on the photo.
   Positioned top-left so they never cover the product itself, and the
   wrapper is `pointer-events:none` so the <a> around the image still
   receives the click. */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
  z-index: 2;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.badge-chip i { font-size: 0.62rem; }

.badge-chip-warranty {
  background: rgba(26, 92, 58, 0.92);
  color: #fff;
}

.badge-chip-refurb {
  background: rgba(255, 255, 255, 0.94);
  color: #1a5c3a;
  border: 1px solid rgba(26, 92, 58, 0.18);
}

.product-body {
  padding: 8px 11px 2px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Eyebrow line above the title */
.product-brand {
  font-size: 0.64rem;
  font-weight: 700;
  color: #e07a1f;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}

/* Title is clamped to exactly two lines so a long model name can never push
   the card taller than its neighbours. */
.product-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  line-height: 1.22;
  /* 2 lines x 1.22 line-height. Kept as em so the clamp always matches whatever
     font-size / line-height are set above. */
  min-height: 2.44em;
  max-height: 2.44em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-body);
}

.spec-item i, .spec-item svg {
  color: var(--green-light);
  font-size: 0.8rem;
  width: 14px;
  flex-shrink: 0;
}

/* One grey bar: "16GB | 500GB | 16-inch Retina Display".
   The fixed height stops a longer spec string from wrapping onto a second
   line and making that one card taller than the rest of the row. */
.spec-divider {
  background: #f2f5f3;
  border-radius: 7px;
  padding: 4px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.64rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  height: 30px;
  overflow: hidden;
}

.spec-tag {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.spec-tag + .spec-tag::before {
  content: '|';
  margin: 0 6px;
  color: #c3ccc7;
}

.product-price {
  margin-top: auto;
  padding-top: 0;
  border-top: none;
}

.price-value {
  font-size: 0.98rem;
  font-weight: 800;
  color: #14201a;
  line-height: 1.2;
}

.price-value small {
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Green "Available | Quality Checked" line under the price */
.product-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--green-light);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-meta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.product-meta .sep { color: #b9c6bd; font-weight: 400; }
.product-meta.is-out { color: #c0392b; }

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 11px 8px;
  background: var(--white);
}

.product-actions .btn {
  justify-content: center;
  font-size: 0.63rem;
  padding: 5px 5px;
  border-radius: 7px;
  white-space: nowrap;
}

.product-actions .btn i { font-size: 0.85em; }

/* ── CART ── */
.btn-cart {
  background: var(--charcoal);
  color: var(--white);
  border: 1.5px solid var(--charcoal);
}
.btn-cart:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-cart.added { background: var(--green-light); border-color: var(--green-light); }

/* Header cart button with live item count */
.cart-trigger {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 1.05rem;
  border: 1.5px solid rgba(45,160,94,0.25);
  transition: all var(--transition);
}
.cart-trigger:hover { background: var(--green-light); color: var(--white); border-color: var(--green-light); }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--green-accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: cart-bump 0.4s ease; }
.cart-count-inline { position: static; border: none; background: rgba(255,255,255,0.25); margin-left: 4px; }

@keyframes cart-bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

/* Drawer + backdrop */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,43,34,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 1200;
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 400px;
  max-width: 92vw;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  z-index: 1201;
  display: flex;
  flex-direction: column;
}
.cart-drawer.active { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--grey-mid);
  background: var(--green-paler);
}
.cart-drawer-header h4 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.cart-drawer-header h4 i { color: var(--green-light); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }

.cart-empty { text-align: center; padding: 50px 10px; color: var(--text-muted); }
.cart-empty i { font-size: 2.6rem; color: var(--grey-border); margin-bottom: 14px; display: block; }
.cart-empty p { font-size: 0.9rem; margin-bottom: 18px; }

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-mid);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 78px; height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--green-paler);
  object-fit: contain;
  padding: 4px;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 3px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item-rate { font-size: 0.78rem; color: var(--text-muted); }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.cart-item-total { font-size: 0.9rem; font-weight: 700; color: var(--green-dark); white-space: nowrap; }

.cart-qty { display: flex; align-items: center; border: 1px solid var(--grey-border); border-radius: var(--radius-sm); overflow: hidden; }
.cart-qty button {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 0.8rem;
  background: var(--white);
  transition: background var(--transition);
}
.cart-qty button:hover { background: var(--green-pale); }
.cart-qty span { min-width: 32px; text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--text-dark); }

.cart-item-remove { font-size: 0.75rem; color: var(--text-muted); text-decoration: underline; }
.cart-item-remove:hover { color: #c0392b; }

.cart-drawer-footer { border-top: 1px solid var(--grey-mid); padding: 18px 24px 24px; background: var(--off-white); }
.cart-total-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.cart-total-row span { font-size: 0.9rem; color: var(--text-body); font-weight: 600; }
.cart-total-row strong { font-size: 1.3rem; color: var(--green-dark); font-family: var(--font-display); }
.cart-note { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 14px; }
.cart-footer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cart-footer-actions .btn { width: 100%; justify-content: center; }
.cart-footer-actions .btn-clear { grid-column: 1 / -1; }

body.cart-open { overflow: hidden; }

/* The drawer is 400px wide on the right, so slide the toast clear of it
   instead of letting it sit on top of the drawer's action buttons. */
body.cart-open .cw-toast-stack { right: 424px; }

/* Toast notification */
.cw-toast-stack {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1300;
  pointer-events: none;
}
.cw-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-left: 4px solid var(--green-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
  max-width: 330px;
  animation: toast-in 0.3s ease both;
}
.cw-toast i { color: var(--green-light); font-size: 1rem; }
.cw-toast.error { border-left-color: #c0392b; }
.cw-toast.error i { color: #c0392b; }
.cw-toast.hiding { animation: toast-out 0.3s ease both; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

@media (max-width: 768px) {
  /* 170px (down from 240px) so a phone shows more than one product per screen
     instead of one very tall card. */
  .product-img-wrap { flex: 0 0 170px; height: 170px; }
  .cw-toast-stack { left: 16px; right: 16px; bottom: 88px; }
  /* On phones the drawer covers ~92% of the screen, so the toast would land on
     top of it — the drawer itself is enough feedback, so hide the toast. */
  body.cart-open .cw-toast-stack { display: none; }
  .cw-toast { max-width: none; }
  .cart-footer-actions { grid-template-columns: 1fr; }
}



/* ── FILTER BAR ── */
.filter-bar {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group { flex: 1; min-width: 140px; }
.filter-group label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; display: block; text-transform: uppercase; letter-spacing: 0.05em; }

.search-input-wrap {
  flex: 2; min-width: 220px;
}

/* Own positioning context so the icon centres on the INPUT,
   not on the label + input block. */
.search-field {
  position: relative;
}

.search-input-wrap input {
  padding-left: 40px;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1;
  display: block;
  pointer-events: none;   /* clicking the icon focuses the input */
  transition: color var(--transition);
}

.search-field:focus-within .search-icon { color: var(--green-light); }

/* ── PRODUCT DETAIL ── */
.product-detail {
  padding: 60px 0;
}

.product-gallery .main-img {
  background: var(--grey-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.product-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
}

.gallery-thumb {
  width: 70px; height: 60px;
  border: 2px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}

.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--green-light); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-info h1 { font-size: 1.7rem; margin-bottom: 12px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.spec-table tr { border-bottom: 1px solid var(--grey-mid); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 10px 6px;
  font-size: 0.88rem;
}
.spec-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 140px;
}
.spec-table td:last-child { color: var(--text-dark); }

.rental-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.rental-option {
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}

.rental-option:hover, .rental-option.selected {
  border-color: var(--green-accent);
  background: var(--green-pale);
}

.rental-option .duration { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.rental-option .rate { font-size: 1rem; font-weight: 700; color: var(--green-dark); }

.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.detail-actions .btn { flex: 1; min-width: 120px; justify-content: center; }

/* ── HOW IT WORKS ── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 38px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-accent), var(--green-dark));
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px var(--green-pale);
  transition: all var(--transition);
}

.step-item:hover .step-number {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.step-item h4 { font-size: 1rem; margin-bottom: 8px; }
.step-item p { font-size: 0.84rem; color: var(--text-muted); }

/* ── WHY CHOOSE CARDS ── */
.why-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--green-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.why-card h4 { font-size: 1rem; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── FAQ ACCORDION ── */
.faq-item {
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: var(--green-accent); }

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--green-paler); }
.faq-item.open .faq-question { background: var(--green-pale); }

.faq-question span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.faq-item.open .faq-icon {
  background: var(--green-dark);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--green-paler);
}

.faq-item.open .faq-answer { display: block; }

/* ── QUOTE FORM SECTION ── */
.quote-section {
  background: var(--off-white);
  border-top: 1px solid var(--grey-mid);
  border-bottom: 1px solid var(--grey-mid);
}

.quote-form-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BULK RENTAL SECTION ── */
.bulk-boxes {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.bulk-box {
  background: var(--white);
  border: 2px solid var(--green-accent);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  text-align: center;
  min-width: 130px;
  transition: all var(--transition);
}

.bulk-box:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.bulk-box strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  transition: color var(--transition);
}

.bulk-box:hover strong { color: var(--white); }
.bulk-box span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; transition: color var(--transition); }
.bulk-box:hover span { color: rgba(255,255,255,0.8); }

/* ── RENTAL PLANS ── */
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  border-color: var(--green-dark);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 16px; right: -28px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}

.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.plan-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--green-pale);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}

.plan-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.plan-card .plan-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.plan-features { text-align: left; margin-bottom: 24px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  padding: 6px 0;
  color: var(--text-body);
  border-bottom: 1px solid var(--grey-light);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: '✓';
  color: var(--green-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── QUALITY CHECK ── */
.qc-section { background: var(--green-dark); padding: 80px 0; }
.qc-title { color: var(--white); margin-bottom: 10px; }
.qc-subtitle { color: rgba(255,255,255,0.65); margin-bottom: 48px; }

.qc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.qc-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  transition: all var(--transition);
}

.qc-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.qc-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.qc-item span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.qc-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-accent);
  color: var(--white);
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  margin: 8px auto 0;
  font-weight: 700;
}

/* ── LOCATIONS ── */
.location-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}

.location-chip:hover {
  border-color: var(--green-light);
  background: var(--green-pale);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.location-chip::before { content: '📍'; font-size: 0.9rem; }

/* ── USE CASES ── */
.usecase-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.usecase-card:hover {
  border-color: var(--green-accent);
  background: var(--green-pale);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.usecase-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.usecase-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.usecase-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ── TESTIMONIALS ── */
.testimonial-placeholder {
  background: var(--grey-light);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  border: 2px dashed var(--grey-border);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--charcoal);
  padding: 70px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.88rem; margin: 16px 0 20px; line-height: 1.7; }

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-btn:hover {
  background: var(--green-light);
  color: var(--white);
  border-color: var(--green-light);
}

/* Placeholder state for social icons with no account yet: they are rendered
   as <span> (not links) so they are not focusable and do nothing on click.
   Only the cursor changes to signal they are not active. */
.social-btn.is-disabled {
  cursor: default;
  user-select: none;
}

.social-btn.is-disabled:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.1);
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--green-accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.footer-contact-item i {
  color: var(--green-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ── FLOATING ELEMENTS ── */
.floating-stack {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.floating-stack > * { pointer-events: auto; }

.floating-whatsapp,
.floating-call {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex: 0 0 auto;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.floating-whatsapp {
  background: #25d366;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  animation: pulse-green 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}

.floating-call {
  background: var(--green-dark);
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(26,92,58,0.4);
}

.floating-call:hover {
  background: var(--green-mid);
  transform: scale(1.1);
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ── MOBILE BOTTOM BAR ── */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--white);
  border-top: 1px solid var(--grey-mid);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.mobile-bottom-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.mobile-bottom-bar .btn { justify-content: center; font-size: 0.8rem; padding: 10px 8px; }

/* ── CORPORATE SECTION ── */
.corporate-section {
  background: linear-gradient(135deg, var(--off-white), var(--green-paler));
}

.corporate-use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.corp-use-item {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
}

.corp-use-item:hover {
  border-color: var(--green-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.corp-icon { font-size: 1.6rem; margin-bottom: 8px; }
.corp-use-item span { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }

/* ── IT EQUIPMENT SECTION ── */
.it-equip-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.it-equip-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.it-equip-icon { font-size: 2.2rem; margin-bottom: 12px; }
/* FA icons inherit the icon size; give them the brand green instead of the
   default text colour, and match the card's hover lift with a colour shift. */
.it-equip-icon i { color: var(--green-mid); transition: color var(--transition); }
.it-equip-card:hover .it-equip-icon i { color: var(--green-light); }
.it-equip-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.it-equip-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--green-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--text-light); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal), var(--green-dark));
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

/* ── CONTACT ── */
.contact-info-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-md);
  padding: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-mid);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.contact-info-text span { font-size: 0.85rem; color: var(--text-muted); }

/* ── BRAND FILTER CHIPS ── */
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--grey-mid);
  background: var(--white);
  color: var(--text-body);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.brand-chip:hover {
  border-color: var(--green-light);
  color: var(--green-dark);
  background: var(--green-paler);
  transform: translateY(-2px);
}

.brand-chip.is-active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.brand-chip .chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--grey-light);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.brand-chip.is-active .chip-count {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

/* ── BRANCH CARDS ── */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.branch-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* Accent strip that slides in on hover */
.branch-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--green-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-accent);
}
.branch-card:hover::before { opacity: 1; }

.branch-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.branch-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  transition: background var(--transition), color var(--transition);
}
.branch-card:hover .branch-icon { background: var(--green-dark); color: var(--white); }

.branch-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.branch-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  background: var(--green-paler);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

/* Icon + text as flex row so the address gets a clean hanging indent */
.branch-addr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 18px;
}
.branch-addr i {
  color: var(--green-light);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.branch-addr span { min-width: 0; overflow-wrap: anywhere; }

/* auto margin keeps the contact block + CTA aligned across uneven cards */
.branch-contact {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--grey-mid);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.branch-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-body);
  text-decoration: none;
}
.branch-link i {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--green-paler);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  transition: background var(--transition), color var(--transition);
}
.branch-link span { min-width: 0; overflow-wrap: anywhere; }
.branch-link:hover { color: var(--green-dark); }
.branch-link:hover i { background: var(--green-dark); color: var(--white); }

.branch-wa {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(37, 211, 102, 0.12);
  color: #128c4a;
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.branch-wa:hover { background: #25d366; color: var(--white); }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  width: 38px; height: 38px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .how-steps::before { display: none; }
  .qc-grid { grid-template-columns: repeat(3, 1fr); }
  .corporate-use-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: auto; }
  .hero .hero-visual { display: none; }
  .hero-row { flex-direction: column; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 55px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .quote-form-card { padding: 24px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 72px; }
  .floating-whatsapp, .floating-call { display: none; }
  .floating-stack { bottom: 88px; }
  .corporate-use-grid { grid-template-columns: repeat(2, 1fr); }
  .rental-options-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { gap: 16px; }
  .filter-bar { flex-direction: column; }
  .filter-group { min-width: 100%; }
  .branch-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .bulk-boxes { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .products-grid { grid-template-columns: 1fr; }
  .corporate-use-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured::before { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
