/* PT Total Solusindo Asia - Premium Light Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* User Specified Colors */
  --color-primary: #a8b815;
  /* Olive Gold */
  --color-sub: #394108;
  /* Deep Forest Olive */
  --color-accent: #b98f26;
  /* Antique Gold */

  /* Light Theme Palette (Dominant White & Soft Warm Tints) */
  --bg-main: #FFFFFF;
  /* Pure White Main Background */
  --bg-section-alt: #F9FBF4;
  /* Very Light Warm Olive Tint */
  --bg-card: #FFFFFF;
  /* Crisp White Card */
  --bg-card-alt: #F3F6EA;
  /* Subtle Light Card Tint */

  /* Text & Contrast Colors */
  --text-heading: #1C2204;
  /* Deepest Dark Olive Heading */
  --text-body: #394108;
  /* Forest Olive Body Text */
  --text-muted: #5E6924;
  /* Soft Muted Olive */
  --text-light: #7A8733;
  /* Light Accent Text */

  /* Borders & Shadows */
  --border-color: rgba(57, 65, 8, 0.12);
  --border-highlight: rgba(185, 143, 38, 0.4);
  --shadow-light: 0 10px 30px -5px rgba(57, 65, 8, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(57, 65, 8, 0.16);
  --shadow-gold: 0 8px 25px -4px rgba(185, 143, 38, 0.3);

  /* Typography & Transitions */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent grid/flex children from overflowing their container */
*,
*::before,
*::after {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: 0.3px;
}

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

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

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  box-sizing: border-box;
}

.navbar.scrolled {
  padding: 0.85rem 2.5rem;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(57, 65, 8, 0.1);
  border-bottom-color: var(--border-highlight);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-sub), #282f06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.2rem;
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--color-accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-heading);
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  color: var(--color-sub);
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-sub);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--color-sub) 0%, #282f06 100%);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  border: 1px solid var(--color-accent);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(57, 65, 8, 0.2);
  transition: var(--transition);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(57, 65, 8, 0.3);
  background: linear-gradient(135deg, #444e0a 0%, var(--color-sub) 100%);
  color: var(--color-primary);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFFFFF;
  color: var(--color-sub);
  border: 2px solid var(--color-sub);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-outline:hover {
  background: var(--bg-section-alt);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-sub);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 92vh;
  padding-top: 8.5rem;
  padding-bottom: 5.5rem;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-section-alt) 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero/hero_banner.jpeg') center/cover no-repeat;
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-highlight);
  color: var(--color-sub);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-heading);
}

.hero-title span {
  font-style: italic;
  color: var(--color-sub);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(168, 184, 21, 0.4);
  z-index: -1;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-badge-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-light);
  border-left: 4px solid var(--color-primary);
}

.badge-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--color-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

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

.hero-image-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-hover);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

/* Stats Counter Bar */
.stats-section {
  padding: 3.5rem 0;
  background: var(--color-sub);
  color: #FFFFFF;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 2rem;
  width: 100%;
}

.stat-item {
  text-align: center;
  padding: 1.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #E2E8F0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  color: var(--color-sub);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-heading);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Section Padding */
.section {
  padding: 6.5rem 0;
  background: var(--bg-main);
}

.section-alt {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Feature Cards Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 2.25rem;
  width: 100%;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 58px;
  height: 58px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--color-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--text-heading);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Product Section & Filter */
.product-filter {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 0.65rem 1.6rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-sub);
  color: #FFFFFF;
  border-color: var(--color-sub);
  box-shadow: var(--shadow-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 2.25rem;
  width: 100%;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-light);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.product-img-box {
  background: radial-gradient(circle, #F9FBF4 0%, #EBF0DE 100%);
  padding: 2.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 270px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.product-img-box img {
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(57, 65, 8, 0.18));
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.08) translateY(-4px);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-sub);
  border: 1px solid var(--color-accent);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

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

.product-category {
  color: var(--color-sub);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
  color: var(--text-heading);
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  padding: 0.6rem 0.95rem;
  border-radius: 4px;
  margin-bottom: 1.15rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  flex-grow: 1;
  line-height: 1.6;
}

/* Modal Popup */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 34, 4, 0.75);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  border: 1px solid var(--border-highlight);
  border-radius: 8px;
  max-width: 780px;
  width: 100%;
  padding: 3rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--color-sub);
  color: #FFFFFF;
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.25rem;
  align-items: center;
}

/* Partner Showcase */
.partner-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-light);
  width: 100%;
  min-width: 0;
}

.machinery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
  width: 100%;
}

.machinery-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.machinery-card:hover {
  border-color: var(--color-sub);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.machinery-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.machinery-info {
  padding: 1.25rem;
}

.machinery-title {
  font-size: 1.05rem;
  color: var(--text-heading);
}

/* Form Styles */
.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 3.5rem;
  box-shadow: var(--shadow-light);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.95rem 1.15rem;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--color-sub);
  box-shadow: 0 0 15px rgba(57, 65, 8, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Footer */
.footer {
  background: #141802;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2.5rem 0;
  color: #CBD2A4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
  width: 100%;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: #A3AE78;
  line-height: 1.7;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #FFFDF7;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: #CBD2A4;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 6px;
}

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

/* ---- Utility: Responsive Two-Column Grid ---- */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.grid-2col-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
  min-width: 0;
}

.grid-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}

/* Inline stat mini-box inside hero/partner */
.stat-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  min-width: 0;
}

/* Nav action area */
.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Responsiveness */
@media (max-width: 1024px) {

  .hero-grid,
  .partner-box,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-title {
    font-size: 3rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {

  /* ---- Navbar Mobile Fix ---- */
  .navbar {
    padding: 1rem 1rem;
  }

  .navbar.scrolled {
    padding: 0.75rem 1rem;
  }

  .nav-container {
    width: 100%;
    min-width: 0;
  }

  /* Hide full desktop nav links */
  .nav-links {
    display: none;
  }

  /* Hide the "Become a Partner" CTA button on mobile */
  .nav-cta-btn {
    display: none;
  }

  /* Show hamburger */
  .mobile-toggle {
    display: block;
    flex-shrink: 0;
  }

  /* Mobile dropdown menu */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #FFFFFF;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(57,65,8,0.1);
    gap: 0.25rem;
    z-index: 999;
  }

  .nav-links.mobile-open li a {
    display: block;
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  /* Brand logo shrink */
  .brand-logo {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .brand-sub {
    display: none;
  }

  .brand-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }

  .brand-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  /* ---- Hero ---- */
  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100%;
    min-width: 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-image-frame img {
    height: 250px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* ---- Sections ---- */
  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* ---- Feature Grid ---- */
  .feature-grid {
    grid-template-columns: 1fr !important;
  }

  /* ---- Stats ---- */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* ---- Partner Box ---- */
  .partner-box {
    grid-template-columns: 1fr !important;
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  /* ---- Machinery Grid ---- */
  .machinery-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem;
  }

  /* ---- Products ---- */
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  .product-filter {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
  }

  /* ---- Modal ---- */
  .modal-grid {
    grid-template-columns: 1fr !important;
  }

  .modal-content {
    padding: 1.75rem 1.25rem;
  }

  /* ---- Form Card ---- */
  .form-card {
    padding: 2rem 1.25rem;
  }

  /* ---- Footer ---- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .footer {
    padding: 3rem 0 2rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.85rem 0.85rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .machinery-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-outline {
    padding: 0.75rem 1.2rem;
    font-size: 0.82rem;
  }
}

/* ---- Utility class collapses on mobile ---- */
@media (max-width: 768px) {
  .grid-2col,
  .grid-2col-wide,
  .grid-hero-split,
  .stat-mini-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  /* Hide CTA button in navbar, show only hamburger */
  .nav-actions .btn-primary {
    display: none;
  }
}