/* =====================================================================
   KAEVIK FACILITIES — DESIGN D: BROOMEES-INSPIRED MODERN TECH BRAND
   Inspired by Broomees.com:
   - Warm golden-amber & deep navy accents (#F5A623 & #0E1726)
   - Rounded cards (border-radius: 20px-24px), soft ambient shadows
   - Prominent Google Review Scorecard (4.9★, 52px rating, verified reviews)
   - Floating interactive service pills & quick booking triggers
   - Floating WhatsApp button with pre-filled enquiry
   - Dual-track for Private Households and Commercial Food/Facilities
   ===================================================================== */

.design-d {
  --d-bg-primary: #FDFBF7;
  --d-bg-secondary: #FFFFFF;
  --d-bg-warm: #FFF9ED;
  --d-text-main: #111827;
  --d-text-muted: #4B5563;
  --d-accent-yellow: #F5A623;
  --d-accent-yellow-light: #FFF4DC;
  --d-accent-orange: #F26522;
  --d-navy-primary: #0B192C;
  --d-navy-subtle: #1F2937;
  --d-border-light: #E5E7EB;
  --d-border-warm: #FDE68A;
  --d-card-radius: 20px;
  --d-pill-radius: 9999px;
  --d-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --d-shadow-hover: 0 16px 40px rgba(245, 166, 35, 0.16);

  /* Warm non-black top ticker and footer theme variables */
  --d-ticker-bg: #FFF7ED;
  --d-ticker-text: #1E293B;
  --d-ticker-border: #FDE68A;
  --d-ticker-muted: #475569;
  --d-ticker-link: #D97706;

  --d-footer-bg: #F7F3EE;
  --d-footer-text: #4B5563;
  --d-footer-title: #0E1726;
  --d-footer-border: #E5DFD5;
  --d-footer-link: #4B5563;
  --d-footer-link-hover: #F26522;
  --d-footer-muted: #6B7280;

  background-color: var(--d-bg-primary);
  color: var(--d-text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =====================================================================
   TOP TICKER / WARM SUNLIGHT PROMO BAR (NO BLACK)
   ===================================================================== */
.design-d .ticker-bar {
  background: var(--d-ticker-bg, #FFF7ED);
  color: var(--d-ticker-text, #1E293B);
  font-size: 0.8125rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--d-ticker-border, #FDE68A);
  transition: background 0.3s, color 0.3s;
}
.design-d .ticker-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.design-d .ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--d-ticker-text, #1E293B);
}
.design-d .ticker-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.design-d .ticker-highlights {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.825rem;
  color: var(--d-ticker-muted, #475569);
  font-weight: 500;
}
.design-d .ticker-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.design-d .ticker-highlight-item a {
  color: var(--d-ticker-link, #D97706);
  font-weight: 700;
  text-decoration: none;
}
.design-d .ticker-highlight-item a:hover {
  text-decoration: underline;
}

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
.design-d .site-header {
  background: #FFFFFF;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.design-d:has(.prototype-bar) .site-header {
  top: 45px;
}
.design-d .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.design-d .brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.design-d .brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.design-d .brand-text-facilities {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--d-navy-primary, #0B192C);
  text-transform: uppercase;
  line-height: 1;
}
.design-d .nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.design-d .nav-links a {
  color: var(--d-navy-primary);
  font-weight: 600;
  font-size: 0.925rem;
  transition: all 0.2s;
  padding: 0.4rem 0;
  position: relative;
}
.design-d .nav-links a:hover,
.design-d .nav-links a.active {
  color: var(--d-accent-orange);
}
.design-d .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--d-accent-yellow);
  border-radius: 2px;
}
.design-d .header-action-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.design-d .btn-fast-book {
  background: linear-gradient(135deg, #F5A623 0%, #F26522 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: var(--d-pill-radius);
  box-shadow: 0 4px 15px rgba(242, 101, 34, 0.3);
  transition: all 0.25s ease;
  font-size: 0.9rem;
  border: none;
}
.design-d .btn-fast-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 101, 34, 0.42);
}

/* =====================================================================
   HERO SECTION: BROOMEES STYLE (Warm, Trust, Floating Pills)
   ===================================================================== */
.design-d .hero-section {
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 90% 20%, #FFF5E0 0%, #FDFBF7 65%);
  position: relative;
  overflow: hidden;
}
.design-d .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.design-d .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--d-accent-yellow-light);
  border: 1px solid var(--d-border-warm);
  color: #B45309;
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.4rem 1rem;
  border-radius: var(--d-pill-radius);
  margin-bottom: 1.25rem;
}
.design-d .hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.14;
  color: var(--d-navy-primary);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.design-d .hero-title .highlight-yellow {
  background: linear-gradient(180deg, rgba(255,255,255,0) 65%, #FDE68A 65%);
  padding: 0 4px;
}
.design-d .hero-title .highlight-orange {
  color: var(--d-accent-orange);
}
.design-d .hero-desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--d-text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Broomees Dual Selector Tabs */
.design-d .hero-booking-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.8);
  position: relative;
}
.design-d .hero-tab-pills {
  display: flex;
  background: #F3F4F6;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 1.5rem;
}
.design-d .hero-tab-pill {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  color: var(--d-navy-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
}
.design-d .hero-tab-pill.active {
  background: #FFFFFF;
  color: var(--d-accent-orange);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.design-d .quick-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.design-d .quick-role-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #F9FAFB;
  border: 1.5px solid #F3F4F6;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--d-navy-primary);
}
.design-d .quick-role-item:hover {
  background: #FFFBEB;
  border-color: var(--d-accent-yellow);
  transform: translateY(-2px);
}
.design-d .quick-role-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--d-accent-yellow-light);
  color: #B45309;
  font-size: 1.1rem;
}
.design-d .quick-role-text strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.2;
}
.design-d .quick-role-text span {
  font-size: 0.75rem;
  color: #6B7280;
}

/* Hero Trust Strip */
.design-d .hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  margin-top: 1.5rem;
}
.design-d .trust-pill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--d-navy-primary);
}

/* =====================================================================
   GOOGLE REVIEW SCORECARD (Broomees 4.9★ Signature Component)
   ===================================================================== */
.design-d .social-proof-strip {
  padding: 3.5rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--d-border-light);
}
.design-d .proof-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.design-d .rating-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #FFFBF0;
  border: 1.5px solid #FDE68A;
  border-radius: 20px;
  padding: 1.75rem;
}
.design-d .rating-huge-num {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--d-navy-primary);
}
.design-d .rating-stars {
  color: #F59E0B;
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}
.design-d .rating-caption {
  font-size: 0.875rem;
  color: #6B7280;
}
.design-d .rating-caption strong {
  color: var(--d-navy-primary);
}

.design-d .metrics-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.design-d .metric-card {
  text-align: center;
  padding: 1rem;
}
.design-d .metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--d-accent-orange);
  line-height: 1.2;
}
.design-d .metric-label {
  font-size: 0.85rem;
  color: var(--d-text-muted);
  font-weight: 600;
}

/* =====================================================================
   SERVICES SECTION (5 APPROVED CATEGORIES)
   ===================================================================== */
.design-d .services-section {
  padding: 6rem 0;
}
.design-d .service-category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.design-d .service-category-btn {
  padding: 0.75rem 1.4rem;
  border-radius: var(--d-pill-radius);
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  color: var(--d-navy-primary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.design-d .service-category-btn:hover,
.design-d .service-category-btn.active {
  background: var(--d-navy-primary);
  color: #FFFFFF;
  border-color: var(--d-navy-primary);
  box-shadow: 0 4px 15px rgba(14, 23, 38, 0.2);
}

.design-d .cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.design-d .b-card {
  background: #FFFFFF;
  border-radius: var(--d-card-radius);
  padding: 2.25rem 2rem;
  border: 1px solid #E5E7EB;
  box-shadow: var(--d-shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.design-d .b-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--d-shadow-hover);
  border-color: var(--d-border-warm);
}
.design-d .b-card-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--d-pill-radius);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.design-d .badge-domestic {
  background: #EFF6FF;
  color: #1D4ED8;
}
.design-d .badge-commercial {
  background: #FEF3C7;
  color: #B45309;
}
.design-d .b-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--d-accent-yellow-light);
  color: var(--d-accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.design-d .b-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--d-navy-primary);
  margin-bottom: 0.75rem;
}
.design-d .b-card-desc {
  font-size: 0.925rem;
  color: var(--d-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.design-d .b-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}
.design-d .b-card-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.design-d .b-card-checklist li svg {
  color: #10B981;
  flex-shrink: 0;
}
.design-d .b-card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.design-d .b-card-btn {
  background: var(--d-accent-yellow);
  color: #111827;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--d-pill-radius);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.design-d .b-card-btn:hover {
  background: var(--d-accent-orange);
  color: #FFFFFF;
}

/* =====================================================================
   FEATURED COOK & CHEF SPLIT SECTION
   ===================================================================== */
.design-d .chef-feature-section {
  padding: 5rem 0;
  background: #FFFDF8;
  border-top: 1px solid var(--d-border-warm);
  border-bottom: 1px solid var(--d-border-warm);
}
.design-d .chef-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.design-d .chef-box {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2.75rem;
  border: 1.5px solid #FDE68A;
  box-shadow: var(--d-shadow-soft);
  position: relative;
  overflow: hidden;
}
.design-d .chef-box-commercial {
  border-color: #E5E7EB;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}
.design-d .cuisine-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}
.design-d .cuisine-tag {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 0.35rem 0.85rem;
  border-radius: var(--d-pill-radius);
  font-size: 0.8rem;
  font-weight: 600;
}

/* =====================================================================
   TRUST & HOW IT WORKS (Broomees-style 3-Step Flow)
   ===================================================================== */
.design-d .how-it-works-section {
  padding: 6rem 0;
  background: #FFFFFF;
}
.design-d .steps-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.design-d .step-item {
  text-align: center;
  position: relative;
}
.design-d .step-num-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--d-accent-yellow-light);
  color: var(--d-accent-orange);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--d-accent-yellow);
}
.design-d .step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--d-navy-primary);
  margin-bottom: 0.5rem;
}
.design-d .step-desc {
  font-size: 0.875rem;
  color: var(--d-text-muted);
  line-height: 1.5;
}

/* =====================================================================
   FLOATING WHATSAPP BUTTON (Broomees Signature Feature)
   ===================================================================== */
.design-d .floating-whatsapp-btn {
  position: fixed;
  width: 62px;
  height: 62px;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFFFFF !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.design-d .floating-whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #20BA59;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* =====================================================================
   SITE FOOTER (Warm Premium Ivory/Sand Style — No Black)
   ===================================================================== */
.design-d .site-footer {
  background: var(--d-footer-bg, #F7F3EE);
  color: var(--d-footer-text, #4B5563);
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--d-accent-yellow, #F5A623);
  transition: background 0.3s, color 0.3s;
}
.design-d .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.95fr 1.15fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.design-d .footer-col-title {
  color: var(--d-footer-title, #0E1726);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.design-d .footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.design-d .footer-links a {
  color: var(--d-footer-link, #4B5563);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  font-weight: 500;
}
.design-d .footer-links a:hover {
  color: var(--d-footer-link-hover, #F26522);
}
.design-d .footer-bottom {
  border-top: 1px solid var(--d-footer-border, #E5DFD5);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--d-footer-muted, #6B7280);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .design-d .nav-links {
    gap: 1.15rem;
  }
  .design-d .nav-links a {
    font-size: 0.85rem;
  }
  .design-d .hero-grid {
    grid-template-columns: 1fr;
  }
  .design-d .startup-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .design-d .cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .design-d .chef-split-grid {
    grid-template-columns: 1fr;
  }
  .design-d .steps-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .design-d .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  /* Ticker bar responsive wrapping */
  .design-d .ticker-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .design-d .ticker-highlights {
    flex-wrap: wrap !important;
    gap: 0.4rem 0.85rem !important;
    font-size: 0.775rem !important;
  }

  .design-d .header-container {
    height: 64px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    flex-wrap: nowrap !important;
  }
  .design-d .nav-links {
    order: unset;
    width: 100%;
  }
  .design-d .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.25rem) !important;
    line-height: 1.25 !important;
  }
  .design-d .hero-trust-row {
    flex-wrap: wrap !important;
    gap: 0.75rem 1.25rem !important;
  }
  .design-d .hero-booking-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 18px !important;
  }
  .design-d .startup-trust-grid {
    grid-template-columns: 1fr !important;
  }
  .design-d .cards-row {
    grid-template-columns: 1fr;
  }
  .design-d .steps-grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Proof Grid & Ratings responsive adjustments */
  .design-d .proof-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .design-d .rating-box {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
    padding: 1.25rem 1rem !important;
  }
  .design-d .metrics-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .design-d .chef-box {
    padding: 1.5rem 1.25rem !important;
    border-radius: 18px !important;
  }
  .design-d .b-card {
    padding: 1.5rem 1.25rem !important;
  }

  .design-d .footer-grid {
    grid-template-columns: 1fr;
  }
  .design-d .footer-bottom {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
  .design-d .footer-bottom > div {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.75rem 1.25rem !important;
  }
  .design-d .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .design-d .quick-role-grid {
    grid-template-columns: 1fr !important;
  }
  .design-d .chef-cta-strip {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
  }
}
