/* ============================================================
   BEAS — homepage.css
   Business Equipment & Services | Homepage Styles
   ============================================================ */

/* ─── HERO ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 19, 51, 0.92) 0%,
    rgba(0, 40, 90, 0.78) 50%,
    rgba(170, 68, 1, 0.35) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(170,68,1,0.18);
  border: 1px solid rgba(170,68,1,0.4);
  border-radius: 99px;
  padding: 7px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #AA4401;
  margin-bottom: 24px;
  width: fit-content;
  backdrop-filter: blur(6px);
}
.hero-badge i { color: var(--beas-orange); }

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: #ffffff;
  max-width: 800px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title-em {
  font-style: italic;
  background: linear-gradient(90deg, var(--beas-orange), #AA4401);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Playfair Display', serif;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}
.hero-outline-btn {
  color: #fff !important;
  border-color: rgba(255,255,255,0.45) !important;
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(6px);
}
.hero-outline-btn:hover {
  background: rgba(170,68,1,0.15) !important;
  border-color: var(--beas-orange) !important;
  color: var(--beas-orange) !important;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Oswald', sans-serif;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Reveal delay helpers for hero */
.hero-badge   { animation: fadeUp 0.7s 0.1s both; }
.hero-title   { animation: fadeUp 0.7s 0.25s both; }
.hero-desc    { animation: fadeUp 0.7s 0.4s both; }
.hero-actions { animation: fadeUp 0.7s 0.55s both; }
.hero-stats   { animation: fadeUp 0.7s 0.7s both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  animation: scrollBounce 2s ease infinite;
}
.hero-scroll-hint i { font-size: 1rem; }
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(7px);} }

/* ─── TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  background: var(--beas-navy);
  padding: 22px 0;
  border-top: 3px solid var(--beas-orange);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  margin: 0;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  font-family: 'Inter', sans-serif;
}
.trust-item i { color: var(--beas-orange); font-size: 1rem; }

/* ─── ABOUT SECTION ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-images {
  position: relative;
  min-height: 480px;
}
.about-img-primary {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 85%;
}
.about-img-primary img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-img-primary:hover img { transform: scale(1.04); }
.about-img-badge {
  position: absolute;
  bottom: 20px;
  right: -24px;
  background: var(--beas-orange);
  color: #fff;
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(170,68,1,0.45);
  z-index: 2;
}
.about-img-badge span { font-size: 0.65rem; opacity: 0.85; }
.about-img-badge strong { font-family: 'Oswald', sans-serif; font-size: 1.4rem; line-height: 1; }

.about-img-secondary {
  position: absolute;
  bottom: -20px;
  right: -12px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-page);
}
.about-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-img-secondary:hover img { transform: scale(1.04); }

.about-text > p { color: var(--text-secondary); line-height: 1.8; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.about-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pillar-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(170,68,1,0.1);
  border: 1px solid rgba(170,68,1,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--beas-orange);
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.about-pillar:hover .pillar-icon { background: var(--beas-orange); color: #fff; }
.about-pillar strong { font-size: 0.95rem; color: var(--text-primary); display: block; margin-bottom: 3px; }
.about-pillar p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ─── DEALS SECTION ──────────────────────────────────────── */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 16px;
}
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(170,68,1,0.35);
}
.deal-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.deal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.deal-card:hover .deal-img-wrap img { transform: scale(1.07); }
.deal-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.68rem;
}
.deal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.deal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.deal-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.deal-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin-top: 4px;
}
.deal-includes li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
}
.deal-includes li i { color: var(--beas-orange); font-size: 0.85rem; flex-shrink:0; }
.deal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-card);
  flex-wrap: wrap;
  gap: 8px;
}
.deal-discount-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--beas-orange);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

/* ─── WHY BEAS SECTION ───────────────────────────────────── */
.why-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.why-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.why-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 15, 40, 0.94) 0%,
    rgba(0, 30, 70, 0.82) 60%,
    rgba(170, 68, 1, 0.3) 100%
  );
  z-index: -1;
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  backdrop-filter: blur(8px);
  transition: background var(--transition-base), transform var(--transition-base);
}
.why-card:hover {
  background: rgba(170,68,1,0.12);
  border-color: rgba(170,68,1,0.3);
  transform: translateY(-4px);
}
.why-card i {
  font-size: 1.8rem;
  color: var(--beas-orange);
  display: block;
  margin-bottom: 12px;
}
.why-card strong {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.why-card p { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin: 0; line-height: 1.6; }

/* ─── PRODUCT SHOWCASE ROWS ──────────────────────────────── */
.products-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.see-all-btn {
  font-size: 0.82rem !important;
  padding: 9px 20px !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.products-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--beas-orange) transparent;
}
.products-row::-webkit-scrollbar { height: 4px; }
.products-row::-webkit-scrollbar-thumb { background: var(--beas-orange); border-radius: 2px; }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 160px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: default;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(170,68,1,0.3);
}
.product-img-wrap {
  height: 150px;
  background: var(--bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.product-info h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-top: 4px;
}
.product-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.product-info .btn {
  margin-top: 8px;
  font-size: 0.7rem !important;
  padding: 7px 12px !important;
  width: 100%;
  justify-content: center;
}

/* ─── NEWSLETTER SECTION ─────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--beas-navy) 0%, #001a33 60%, var(--beas-orange-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(170,68,1,0.06);
  pointer-events: none;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.newsletter-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.newsletter-icon {
  font-size: 3rem;
  color: var(--beas-orange);
  margin-bottom: 20px;
  display: block;
  animation: heartbeat 2.2s ease infinite;
}
@keyframes heartbeat { 0%,100%{transform:scale(1);} 15%{transform:scale(1.12);} 30%{transform:scale(1);} 45%{transform:scale(1.06);} 60%{transform:scale(1);} }

.newsletter-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 14px;
}
.newsletter-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.newsletter-section .newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px;
}
.newsletter-section .newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
}
.newsletter-section .newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-section .newsletter-form button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--beas-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.newsletter-section .newsletter-form button:hover { background: var(--beas-orange-dark); }
.newsletter-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-images { min-height: 340px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .products-row { grid-template-columns: repeat(4, minmax(160px,1fr)); }
}
@media (max-width: 768px) {
  .hero-content { padding: 100px 20px 60px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-divider { display: none; }
  .about-grid { gap: 40px; }
  .about-img-secondary { display: none; }
  .about-img-primary { width: 100%; }
  .about-img-badge { right: 16px; }
  .deals-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .products-section-header { flex-direction: column; align-items: flex-start; }
  .products-row { grid-template-columns: repeat(3, minmax(150px,1fr)); }
  .trust-label { display: none; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .why-cards { grid-template-columns: 1fr; }
  .products-row { grid-template-columns: repeat(2, minmax(140px,1fr)); }
  .newsletter-section .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
  .newsletter-section .newsletter-form button { border-radius: var(--radius-pill); }
}

/* ─── DARK MODE ADJUSTMENTS (homepage specific) ──────────── */
[data-theme="dark"] .product-img-wrap { background: #1a2540; }
[data-theme="dark"] .why-card { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .trust-strip { background: #020810; }
[data-theme="dark"] .about-img-secondary { border-color: var(--bg-card); }