/* ==========================================================================
   Armazém Império Fênix - Design System & Master Stylesheet
   Theme: Light, High Contrast, Clean, Modern, 100% Mobile Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;

  /* Accent Colors (Phoenix Red & Império Yellow) */
  --color-red-primary: #dc2626;
  --color-red-hover: #b91c1c;
  --color-red-subtle: #fef2f2;
  --color-red-border: #fecaca;
  
  --color-yellow-primary: #f59e0b;
  --color-yellow-hover: #d97706;
  --color-yellow-subtle: #fffbeb;
  --color-yellow-border: #fde68a;

  /* Utility Colors */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ecc5b;
  --color-whatsapp-subtle: #f0fdf4;
  --color-success: #16a34a;

  /* Border & Shadows */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #dc2626;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 12px 28px rgba(220, 38, 38, 0.15);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography & Layout */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1240px;
  --header-height: 74px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Strict Viewport Containment (Fixes all mobile horizontal scroll)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-red-primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. Container & Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 576px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

.section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--color-yellow-subtle);
  border: 1px solid var(--color-yellow-border);
  color: var(--color-yellow-hover);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-tag--red {
  background-color: var(--color-red-subtle);
  border-color: var(--color-red-border);
  color: var(--color-red-primary);
}

.section-title {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  word-break: break-word;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   4. Buttons System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  max-width: 100%;
}

.btn-primary {
  background-color: var(--color-red-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-red-hover);
  box-shadow: var(--shadow-hover);
}

.btn-yellow {
  background-color: var(--color-yellow-primary);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-yellow:hover {
  background-color: var(--color-yellow-hover);
  color: var(--text-inverse);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--color-red-primary);
  color: var(--color-red-primary);
  background-color: var(--color-red-subtle);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

@media (max-width: 576px) {
  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.98rem;
    white-space: normal; /* Allow multi-line buttons on very small mobile screens */
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   5. Top Announcement Bar (Fluid, Responsive, No Overflows)
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--text-main);
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 991px) {
  .topbar-content {
    justify-content: center;
    text-align: center;
  }
  .topbar-item:not(:first-child) {
    display: none; /* Keep topbar clean and single-line on mobile */
  }
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  line-height: 1.3;
}

.topbar-item svg {
  color: var(--color-yellow-primary);
  flex-shrink: 0;
}

.topbar-highlight {
  color: var(--color-yellow-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. Navigation Header (Strict Mobile Layout - No Clipping)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Brand Logo Container */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 576px) {
  .brand-logo-img {
    height: 38px;
  }
}

/* Nav Menu (Spacious & Clean) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
  margin-right: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-red-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Quote Cart Trigger Button */
.cart-trigger-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-trigger-btn:hover {
  background-color: var(--color-yellow-subtle);
  border-color: var(--color-yellow-border);
  color: var(--color-yellow-hover);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background-color: var(--color-red-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Hide Cart Text on mobile screens below 576px, leaving neat icon button */
@media (max-width: 576px) {
  .cart-trigger-btn {
    padding: 0.45rem 0.6rem;
  }
  .cart-trigger-btn span:not(.cart-badge) {
    display: none;
  }
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-toggle span:not(:last-child) {
  margin-bottom: 4px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Drawer (< 1280px) */
@media (max-width: 1280px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-body);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    margin: 0;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  .nav-link:hover {
    background-color: var(--bg-surface);
  }

  .header-actions .btn-primary {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Hero Section (100% Fluid & Mobile Optimized)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--color-yellow-subtle);
  border: 1px solid var(--color-yellow-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-yellow-hover);
  margin-bottom: 1rem;
  max-width: 100%;
  word-break: break-word;
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: var(--color-yellow-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.6rem, 6.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
  word-break: break-word;
}

.hero-title .highlight-red {
  color: var(--color-red-primary);
}

.hero-title .highlight-yellow {
  color: var(--color-yellow-hover);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 620px;
  word-break: break-word;
}

@media (max-width: 991px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
  }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .hero-ctas {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

.hero-features-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 991px) {
  .hero-features-list {
    justify-content: center;
  }
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.hero-feature-item svg {
  color: var(--color-red-primary);
  flex-shrink: 0;
}

/* Hero Visual Showcase Card */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.hero-card {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-red-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-primary);
  flex-shrink: 0;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.hero-quote-preview {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.quote-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.85rem;
  gap: 0.5rem;
}

.quote-preview-item:last-child {
  border-bottom: none;
}

.quote-item-name {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-item-qty {
  font-weight: 700;
  color: var(--color-red-primary);
  background-color: var(--color-red-subtle);
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-floating-badge {
  background-color: var(--text-main);
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  border: 2px solid var(--color-yellow-primary);
  width: 100%;
  text-align: center;
}

.hero-floating-badge-star {
  color: var(--color-yellow-primary);
  letter-spacing: 2px;
}

/* --------------------------------------------------------------------------
   8. Stats Counter Bar Section
   -------------------------------------------------------------------------- */
.stats-bar {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-yellow-subtle);
  color: var(--color-yellow-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Benefits & Services Section
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  border-color: var(--color-red-border);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-red-subtle);
  color: var(--color-red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

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

.benefit-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. Interactive Product Catalog Section
   -------------------------------------------------------------------------- */
.catalog-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--color-red-primary);
  color: var(--color-red-primary);
}

.filter-btn.active {
  background-color: var(--color-red-primary);
  border-color: var(--color-red-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.product-card:hover {
  border-color: var(--color-yellow-hover);
  box-shadow: var(--shadow-md);
}

.product-image-box {
  height: 150px;
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
}

.product-image-box svg {
  width: 56px;
  height: 56px;
  color: var(--text-subtle);
  opacity: 0.6;
}

.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--color-yellow-primary);
  color: var(--text-main);
}

.product-tag--red {
  background-color: var(--color-red-primary);
  color: #ffffff;
}

.product-details {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.product-specs {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-light);
}

.product-unit-info {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.add-quote-btn {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.83rem;
  font-weight: 700;
  background-color: var(--color-yellow-subtle);
  border: 1px solid var(--color-yellow-border);
  color: var(--color-yellow-hover);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.add-quote-btn:hover {
  background-color: var(--color-yellow-primary);
  color: var(--text-main);
}

.add-quote-btn.added {
  background-color: var(--color-success);
  border-color: var(--color-success);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   11. Interactive Quote Cart Modal / Drawer (Full width on mobile)
   -------------------------------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-body);
  z-index: 2001;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: var(--transition-normal);
}

@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100%;
  }
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-surface);
}

.cart-drawer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.cart-drawer-body {
  padding: 1.25rem;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-subtle);
}

.cart-empty-state svg {
  margin: 0 auto 0.85rem auto;
  color: var(--border-medium);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  gap: 0.5rem;
}

.cart-item-info {
  flex-grow: 1;
  min-width: 0;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-sub {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.qty-num {
  font-weight: 800;
  font-size: 0.88rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  color: var(--color-red-primary);
  margin-left: 0.25rem;
  padding: 0.25rem;
}

.cart-drawer-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-surface);
}

.cart-notes-input {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  resize: vertical;
  min-height: 60px;
}

/* --------------------------------------------------------------------------
   12. Material Calculator Section
   -------------------------------------------------------------------------- */
.calculator-section {
  background-color: var(--bg-body);
}

.calculator-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
  .calculator-card {
    padding: 1.15rem;
  }
}

.calc-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.85rem;
  overflow-x: auto;
}

.calc-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.calc-tab-btn.active {
  background-color: var(--color-yellow-primary);
  color: var(--text-main);
  border-color: var(--color-yellow-primary);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 991px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  background-color: var(--bg-body);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-red-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
  outline: none;
}

.calc-result-box {
  background-color: var(--bg-body);
  border: 2px dashed var(--color-yellow-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.calc-result-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.4rem;
}

.calc-result-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-red-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.calc-result-unit {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

/* --------------------------------------------------------------------------
   13. About Section
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-content-text p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 576px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

.about-feature-box {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.about-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background-color: var(--color-red-subtle);
  color: var(--color-red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.85rem;
}

.about-feature-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.about-feature-text p {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 0;
}

.about-visual-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.about-visual-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.about-visual-header img {
  height: 48px;
  width: auto;
}

/* --------------------------------------------------------------------------
   14. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.stars-row {
  display: flex;
  gap: 0.2rem;
  color: var(--color-yellow-primary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--color-red-subtle);
  color: var(--color-red-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.user-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.user-role {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   15. FAQ Section (Accordion)
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-button {
  width: 100%;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  background: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-primary);
  flex-shrink: 0;
  font-size: 0.7rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-red-primary);
  color: #ffffff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq-item.active .faq-content {
  padding-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   16. Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.contact-info-card {
  background-color: var(--text-main);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.contact-info-header p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-method-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-yellow-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-text h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.1rem;
}

.contact-method-text p, .contact-method-text a {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
}

.contact-form-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 1.15rem;
  }
}

.form-status-msg {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form-status-msg.success {
  display: block;
  background-color: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

.form-status-msg.error {
  display: block;
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

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

@media (max-width: 576px) {
  .form-row-mobile {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: #090d16;
  color: #cbd5e1;
  padding-top: 3rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand-title span {
  color: var(--color-red-primary);
}

.footer-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.55;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #94a3b8;
  word-break: break-word;
}

.footer-links a:hover {
  color: var(--color-yellow-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-fast);
  animation: pulse-glow 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--color-whatsapp-hover);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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