/* =========================================
   APEX EQUIPMENT SALES — MAIN STYLESHEET
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #F5A800;
  --yellow-dark: #d98f00;
  --dark: #1a1a1a;
  --dark2: #2d2d2d;
  --gray: #555;
  --light-gray: #f4f4f4;
  --border: #e0e0e0;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 6px 30px rgba(0,0,0,0.15);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); font-size: 15px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark2); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 18px; }

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-family: var(--font-head); font-size: 42px; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.section-header p { font-size: 17px; color: var(--gray); margin-top: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }
.accent-line { display: block; width: 56px; height: 4px; background: var(--yellow); margin: 12px auto 0; border-radius: 2px; }

/* BADGE */
.badge { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.badge-yellow { background: var(--yellow); color: var(--dark); }
.badge-green { background: #2ecc71; color: #fff; }
.badge-gray { background: #aaa; color: #fff; }
.badge-dark { background: var(--dark); color: #fff; }

/* TOPBAR */
#topbar { background: var(--dark); color: #ccc; font-size: 13px; padding: 8px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a { color: #ccc; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.topbar-right a:hover { color: var(--yellow); }
.topbar-right .fab { font-size: 14px; }

/* HEADER */
#site-header { background: var(--white); border-bottom: 3px solid var(--yellow); position: sticky; top: 0; z-index: 900; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo-wrap { flex-shrink: 0; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-apex { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--dark); letter-spacing: 2px; text-transform: uppercase; }
.logo-eq { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--yellow); letter-spacing: 3px; text-transform: uppercase; }
.logo-sales { font-family: var(--font-head); font-size: 11px; font-weight: 400; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; }
.logo-img { height: 54px; width: auto; }
#main-nav { display: flex; gap: 6px; margin-left: auto; }
.nav-link { font-family: var(--font-head); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--dark); padding: 8px 10px; border-radius: var(--radius); transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--yellow); }
.nav-link.active { border-bottom: 2px solid var(--yellow); }
.header-cta { flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 3px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }

/* MOBILE MENU */
.mobile-menu { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--dark); z-index: 1000; padding: 70px 30px 30px; display: flex; flex-direction: column; gap: 4px; transition: right 0.3s ease; overflow-y: auto; }
.mobile-menu.open { right: 0; }
.mobile-menu a { color: #ddd; font-family: var(--font-head); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu a:hover { color: var(--yellow); }
.mobile-menu .mobile-phone { margin-top: 16px; color: var(--yellow); border-bottom: none; }
.mobile-close { position: absolute; top: 18px; right: 18px; color: #fff; font-size: 22px; padding: 8px; background: none; border: none; cursor: pointer; }
.menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; display: none; }
.menu-overlay.visible { display: block; }

/* HERO SLIDER */
#hero { position: relative; height: 600px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: #1a1a1a; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.38) 100%); }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; }
.hero-eyebrow { font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.hero-content h1 { font-family: var(--font-head); font-size: 62px; font-weight: 800; text-transform: uppercase; line-height: 1.05; margin-bottom: 18px; }
.hero-content p { font-size: 18px; opacity: 0.9; margin-bottom: 28px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; transition: background var(--transition); padding: 0; }
.hero-dot.active { background: var(--yellow); }
.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 100%; display: flex; justify-content: space-between; padding: 0 20px; pointer-events: none; }
.hero-arrow { pointer-events: all; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; transition: all var(--transition); backdrop-filter: blur(4px); }
.hero-arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }

/* STATS BAR */
#stats-bar { background: var(--yellow); padding: 22px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 8px 20px; border-right: 1px solid rgba(0,0,0,0.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 38px; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(0,0,0,0.6); margin-top: 4px; }

/* CATEGORY BOXES */
.cat-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; }
.cat-box { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: 32px 20px; text-align: center; cursor: pointer; transition: all var(--transition); text-decoration: none; display: block; border: 2px solid transparent; }
.cat-box:hover { background: var(--yellow); color: var(--dark); border-color: var(--yellow); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-box i { font-size: 36px; margin-bottom: 12px; display: block; }
.cat-box span { font-family: var(--font-head); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; }

/* EQUIPMENT CARD */
.eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eq-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.eq-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.eq-card-img { height: 220px; overflow: hidden; position: relative; background: #eee; }
.eq-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.eq-card:hover .eq-card-img img { transform: scale(1.05); }
.eq-card-img .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #e8e8e8; color: #aaa; font-size: 48px; }
.eq-card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.eq-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.eq-card-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; color: var(--dark); line-height: 1.2; }
.eq-card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.eq-card-meta span { display: flex; align-items: center; gap: 4px; }
.eq-card-price { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--yellow-dark); margin-top: auto; }
.eq-card-price small { font-size: 13px; font-weight: 400; color: var(--gray); }
.eq-card-footer { padding: 12px 16px; border-top: 1px solid var(--border); display: flex; gap: 8px; }

/* ABOUT STRIP */
#about-strip { background: var(--dark); color: var(--white); padding: 70px 0; }
.about-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { height: 400px; overflow: hidden; border-radius: var(--radius); }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-strip-content h2 { font-family: var(--font-head); font-size: 44px; font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 18px; }
.about-strip-content p { color: #bbb; font-size: 16px; margin-bottom: 24px; }
.about-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.about-perk { display: flex; align-items: flex-start; gap: 12px; }
.about-perk i { color: var(--yellow); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.about-perk span { font-size: 15px; color: #ccc; }

/* CTA */
#cta-section { background: var(--yellow); padding: 60px 0; text-align: center; }
#cta-section h2 { font-family: var(--font-head); font-size: 46px; font-weight: 800; text-transform: uppercase; color: var(--dark); margin-bottom: 12px; }
#cta-section p { font-size: 17px; color: rgba(0,0,0,0.65); margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* LISTINGS PAGE */
.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 100px; }
.sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.sidebar-box h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--yellow); }
.filter-group { margin-bottom: 16px; }
.filter-group label { font-size: 13px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 6px; }
.filter-group select, .filter-group input[type=text], .filter-group input[type=number] { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--dark); appearance: none; background: #fafafa; }
.filter-group select:focus, .filter-group input:focus { outline: none; border-color: var(--yellow); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar-left { flex: 1; }
.toolbar-right { display: flex; gap: 8px; }
.search-bar { display: flex; gap: 0; }
.search-bar input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 15px; }
.search-bar input:focus { outline: none; border-color: var(--yellow); }
.search-bar button { background: var(--yellow); border: 1px solid var(--yellow); color: var(--dark); padding: 10px 16px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px; cursor: pointer; }
.view-btn { background: var(--light-gray); border: 1px solid var(--border); color: var(--dark); width: 38px; height: 38px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: all var(--transition); }
.view-btn.active { background: var(--dark); color: var(--white); border-color: var(--dark); }
.results-count { font-size: 14px; color: var(--gray); }
.eq-list { display: flex; flex-direction: column; gap: 16px; }
.eq-list-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); display: grid; grid-template-columns: 200px 1fr; overflow: hidden; transition: all var(--transition); }
.eq-list-card:hover { box-shadow: var(--shadow-lg); }
.eq-list-img { height: 160px; overflow: hidden; background: #eee; }
.eq-list-img img { width: 100%; height: 100%; object-fit: cover; }
.eq-list-body { padding: 16px; }
.eq-list-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.eq-list-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.eq-list-price { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--yellow-dark); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.page-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; background: var(--white); color: var(--dark); text-decoration: none; transition: all var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }

/* EQUIPMENT DETAIL */
.eq-detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.eq-left-col { display: flex; flex-direction: column; }
.eq-right-col { }
.eq-main-img { height: 460px; overflow: hidden; border-radius: var(--radius); background: #eee; border: 1px solid var(--border); position: relative; }
.eq-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.25s ease; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; z-index: 5; transition: background var(--transition); }
.gallery-arrow:hover { background: var(--yellow); color: var(--dark); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-counter { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.55); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 12px; z-index: 5; }
.eq-thumbnails { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; }
.eq-thumb { width: 80px; height: 60px; overflow: hidden; border-radius: 4px; border: 2px solid var(--border); flex-shrink: 0; cursor: pointer; transition: border-color var(--transition); }
.eq-thumb img { width: 100%; height: 100%; object-fit: cover; }
.eq-thumb.active, .eq-thumb:hover { border-color: var(--yellow); }
.specs-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.spec-item { background: var(--light-gray); border-radius: var(--radius); padding: 14px; text-align: center; }
.spec-item i { font-size: 20px; color: var(--yellow-dark); margin-bottom: 6px; }
.spec-item .spec-val { font-family: var(--font-head); font-size: 20px; font-weight: 800; display: block; }
.spec-item .spec-key { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); display: block; margin-top: 2px; }
.eq-sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
/* Price box: desktop shows in sidebar, mobile shows inline in left col after thumbnails */
.eq-price-mobile  { display: none; }
.eq-price-desktop { display: block; }
.eq-price-big { font-family: var(--font-head); font-size: 38px; font-weight: 800; color: var(--yellow-dark); margin: 10px 0; }
.eq-sidebar-box h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--yellow); }
.lead-form .form-group { margin-bottom: 12px; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; background: #fafafa; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--yellow); }
.lead-form textarea { resize: vertical; min-height: 90px; }
.specs-table { width: 100%; }
.specs-table tr:nth-child(even) td { background: var(--light-gray); }
.specs-table td { padding: 8px 12px; font-size: 14px; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { font-weight: 600; color: var(--dark); width: 40%; }
.eq-description h2 { font-family: var(--font-head); font-size: 24px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.eq-description p { color: var(--gray); font-size: 15px; line-height: 1.8; }

/* PAGE HERO */
.page-hero { background: var(--dark); padding: 60px 0 50px; }
.page-hero h1 { font-family: var(--font-head); font-size: 52px; font-weight: 800; text-transform: uppercase; color: var(--white); }
.page-hero p { color: #aaa; font-size: 16px; margin-top: 8px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: #888; font-size: 13px; margin-bottom: 16px; }
.breadcrumb a { color: var(--yellow); }
.breadcrumb span { color: #888; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.info-card i { font-size: 28px; color: var(--yellow-dark); margin-bottom: 10px; }
.info-card h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.info-card p { font-size: 14px; color: var(--gray); }
.contact-form-box { background: var(--light-gray); border-radius: var(--radius); padding: 30px; }
.contact-form-box h2 { font-family: var(--font-head); font-size: 28px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--yellow); }
.form-group textarea { resize: vertical; min-height: 120px; }
.map-embed { border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 350px; border: none; }
.alert { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ABOUT PAGE */
.about-hero-img { height: 420px; overflow: hidden; border-radius: var(--radius); }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 32px 20px; border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.value-card:hover { border-color: var(--yellow); box-shadow: var(--shadow); }
.value-card i { font-size: 38px; color: var(--yellow-dark); margin-bottom: 14px; display: block; }
.value-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--gray); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--light-gray); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--gray); overflow: hidden; }
.team-card h4 { font-family: var(--font-head); font-size: 18px; font-weight: 700; text-transform: uppercase; }
.team-card p { font-size: 14px; color: var(--gray); }

/* FAQS */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 20px; font-family: var(--font-head); font-size: 17px; font-weight: 700; text-transform: uppercase; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--white); transition: background var(--transition); }
.faq-question:hover { background: var(--light-gray); }
.faq-question.open { background: var(--dark); color: var(--white); }
.faq-question i { transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 16px 20px; background: var(--light-gray); font-size: 15px; color: var(--gray); line-height: 1.7; }
.faq-answer.open { display: block; }

/* BUYING PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step-card { text-align: center; padding: 28px 20px; }
.step-num { width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--dark); font-family: var(--font-head); font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--gray); }
.process-connector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: absolute; top: 30px; left: calc(60px / 2 + 24px); right: calc(60px / 2 + 24px); z-index: -1; }
.process-connector span { height: 3px; background: var(--yellow); }

/* TRACKING */
.tracking-form-box { max-width: 600px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.tracking-result { background: var(--light-gray); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.tracking-timeline { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.timeline-item { display: flex; gap: 16px; align-items: flex-start; }
.timeline-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.timeline-dot.inactive { background: var(--border); }
.timeline-line { width: 2px; background: var(--border); flex-shrink: 0; margin-left: 7px; }

/* FOOTER */
#site-footer { background: var(--dark); color: #bbb; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; }
.footer-brand { }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1; margin-bottom: 14px; }
.footer-logo-img { height: 50px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: #888; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 14px; transition: all var(--transition); }
.footer-social a:hover { background: var(--yellow); color: var(--dark); }
.footer-col h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--yellow); display: inline-block; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 14px; color: #aaa; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--yellow); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #aaa; margin-bottom: 10px; }
.footer-contact li i { color: var(--yellow); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: #aaa; }
.footer-contact a:hover { color: var(--yellow); }
.footer-bottom { background: rgba(0,0,0,0.3); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #777; flex-wrap: wrap; gap: 8px; }

/* BACK TO TOP */
#back-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--yellow); color: var(--dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; z-index: 500; opacity: 0; pointer-events: none; transition: opacity var(--transition); box-shadow: var(--shadow); border: none; }
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { background: var(--yellow-dark); }

/* UTILITY */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-row { display: flex; flex-direction: column; gap: 12px; }
.w-full { width: 100%; }
.fw-bold { font-weight: 700; }
.text-yellow { color: var(--yellow-dark); }
.text-gray { color: var(--gray); }

/* =====================
   RESPONSIVE
   ===================== */

/* Prevent ANY element from overflowing the viewport horizontally */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }

@media (max-width: 1100px) {
  .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listings-layout { grid-template-columns: 240px 1fr; }
  .eq-detail-layout { grid-template-columns: 1fr 320px; }
  .specs-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  #hero { height: 480px; }
  .hero-content h1 { font-size: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-wrap { height: 280px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  #main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .listings-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  /* Product detail: single column flex */
  .eq-detail-layout { display: flex; flex-direction: column; }
  .eq-left-col  { order: 1; display: flex; flex-direction: column; width: 100%; }
  .eq-right-col { order: 2; width: 100%; }
  /* Show inline price box (after thumbnails), hide sidebar price box */
  .eq-price-mobile  { display: block; }
  .eq-price-desktop { display: none; }
  .eq-main-img { height: 52vw; min-height: 200px; max-height: 340px; }
  .info-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .section-sm { padding: 24px 0; }
  .container { padding: 0 14px; }
  #hero { height: 360px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 14px; }
  .page-hero { padding: 36px 0 28px; }
  .page-hero h1 { font-size: 28px; word-break: break-word; }
  .page-hero p { font-size: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .eq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 26px; }
  .cat-boxes { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .eq-list-card { grid-template-columns: 1fr; }
  .eq-list-img { height: 200px; }
  .specs-bar { grid-template-columns: repeat(2, 1fr); }
  #cta-section h2 { font-size: 28px; }
  .topbar-left { display: none; }
  /* Equipment detail on small mobile */
  .eq-main-img { height: 56vw; min-height: 180px; max-height: 280px; }
  .eq-sidebar-box { padding: 16px; }
  .eq-price-big { font-size: 28px; }
  .specs-bar { gap: 8px; }
  .spec-item { padding: 10px 8px; }
  .spec-item .spec-val { font-size: 16px; }
  /* Buttons: allow wrapping on mobile instead of overflowing */
  .btn { white-space: normal; word-break: break-word; }
  .btn-lg { padding: 13px 18px; font-size: 15px; }
  /* Specs table word-wrap */
  .specs-table td { word-break: break-word; font-size: 13px; padding: 7px 8px; }
  /* Lead form */
  .lead-form input, .lead-form textarea { font-size: 16px; } /* 16px prevents iOS zoom */
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 24px; }
  .page-hero h1 { font-size: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cat-boxes { grid-template-columns: 1fr 1fr; }
  .eq-card-footer { flex-direction: column; }
  .container { padding: 0 12px; }
}
