/* ============================================================
   AIR COMPRESSOR FOR SALE — STYLESHEET v2
   ============================================================ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.7;
  color:#1f2933;
  background-color:#f5f7fa;
}

/* ---- LAYOUT ---- */
.container{width:90%;max-width:1200px;margin:0 auto;}
.section{padding:4rem 0;}
.section-alt{background-color:#eef2f7;}

/* ============================================================
   HEADER & MEGA-MENU
   ============================================================ */
.header{
  position:sticky;top:0;z-index:1000;
  background-color:rgba(255,255,255,0.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #e1e7f0;
  box-shadow:0 2px 12px rgba(0,0,0,0.04);
}

.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 0;height:64px;
}

/* Logo */
.logo{
  display:flex;flex-direction:column;
  font-weight:800;letter-spacing:0.05em;text-transform:uppercase;
  text-decoration:none;
  flex-shrink:0;
}
.logo-main{font-size:1rem;color:#0050a4;line-height:1.2;}
.logo-sub{font-size:0.78rem;color:#111827;line-height:1.2;}

/* Top-level nav */
.nav{display:flex;align-items:center;gap:0.2rem;font-size:0.9rem;}

.nav-item{position:relative;}

.nav-link{
  display:flex;align-items:center;gap:0.3rem;
  padding:0.55rem 0.75rem;
  border-radius:0.5rem;
  text-decoration:none;
  color:#1f2933;font-weight:500;
  white-space:nowrap;
  transition:background 0.15s,color 0.15s;
}
.nav-link:hover,.nav-item:hover>.nav-link{background:#f0f4ff;color:#0050a4;}
.nav-link svg{width:12px;height:12px;opacity:0.5;flex-shrink:0;transition:transform 0.2s;}
.nav-item:hover>.nav-link svg{transform:rotate(180deg);}

.nav-cta{
  background:linear-gradient(90deg,#0050a4,#00a0e3);
  color:#fff!important;padding:0.55rem 1.2rem;border-radius:999px;margin-left:0.5rem;
}
.nav-cta:hover{opacity:0.9;background:linear-gradient(90deg,#0050a4,#00a0e3)!important;}

/* Dropdown panel */
.dropdown{
  display:none;position:absolute;top:calc(100% + 6px);left:0;
  background:#fff;border:1px solid #e1e7f0;border-radius:0.9rem;
  box-shadow:0 20px 50px rgba(0,0,0,0.12);
  min-width:480px;padding:1.4rem;
  z-index:2000;
}
.dropdown.dropdown-wide{min-width:680px;}
.nav-item:hover>.dropdown{display:block;}

.dropdown-grid{display:grid;gap:0.5rem;}
.dropdown-grid-2{grid-template-columns:1fr 1fr;}
.dropdown-grid-3{grid-template-columns:1fr 1fr 1fr;}

.dd-link{
  display:flex;align-items:flex-start;gap:0.7rem;
  padding:0.7rem 0.8rem;border-radius:0.6rem;text-decoration:none;
  color:#1f2933;transition:background 0.12s;
}
.dd-link:hover{background:#f0f4ff;}
.dd-icon{font-size:1.3rem;flex-shrink:0;line-height:1.4;}
.dd-text strong{display:block;font-size:0.88rem;font-weight:600;color:#0050a4;margin-bottom:0.1rem;}
.dd-text span{display:block;font-size:0.78rem;color:#6b7280;}

.dropdown-divider{height:1px;background:#f0f0f0;margin:0.6rem 0;}

.dropdown-label{
  font-size:0.7rem;font-weight:700;letter-spacing:0.1em;
  text-transform:uppercase;color:#9ca3af;padding:0 0.8rem;margin-bottom:0.3rem;
}

.titan-link-block{
  background:#f0f4ff;border-radius:0.6rem;padding:0.8rem 1rem;
  display:flex;align-items:center;gap:0.8rem;text-decoration:none;
  border:1px solid #c7d8f5;margin-top:0.5rem;
}
.titan-link-block:hover{background:#e6eeff;}
.titan-link-block strong{display:block;font-size:0.85rem;color:#0050a4;font-weight:700;}
.titan-link-block span{font-size:0.76rem;color:#4b5563;}
.titan-badge{background:#0050a4;color:#fff;font-size:0.68rem;font-weight:700;
  padding:0.15rem 0.5rem;border-radius:999px;letter-spacing:0.05em;flex-shrink:0;}

/* Hamburger */
.nav-toggle{
  display:none;flex-direction:column;gap:5px;
  background:none;border:none;cursor:pointer;padding:8px;
}
.nav-toggle span{width:24px;height:2px;background:#1f2933;border-radius:2px;transition:all 0.2s;}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,.btn-secondary{
  display:inline-block;padding:0.7rem 1.4rem;border-radius:999px;
  text-decoration:none;font-weight:600;font-size:0.95rem;border:none;cursor:pointer;
}
.btn-primary{background:linear-gradient(90deg,#0050a4,#00a0e3);color:#fff;}
.btn-primary:hover{opacity:0.9;}
.btn-secondary{background:#fff;color:#0050a4;border:1px solid #cbd2e1;}
.btn-secondary:hover{background:#f3f5f9;}
.btn-block{width:100%;text-align:center;}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;min-height:80vh;color:#fff;
  display:flex;align-items:center;
  background-image:url("../img/hero-kmax.jpg");
  background-size:cover;background-position:center;
}
.hero-overlay{
  position:absolute;inset:0;
  background:radial-gradient(circle at 15% 20%,rgba(0,160,227,0.55),transparent 60%),
              linear-gradient(120deg,rgba(15,23,42,0.95),rgba(15,23,42,0.7));
}
.hero-content{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);
  gap:2.5rem;padding:4.5rem 0 3.5rem;
}
.hero-text h1{font-size:clamp(2rem,3vw + 1rem,3rem);margin-bottom:1rem;}
.hero-text p{max-width:34rem;margin-bottom:1rem;}
.hero-bullets{list-style:none;margin-bottom:1.5rem;}
.hero-bullets li{position:relative;padding-left:1.3rem;margin-bottom:0.25rem;}
.hero-bullets li::before{
  content:"";position:absolute;left:0;top:0.6rem;
  width:0.4rem;height:0.4rem;border-radius:999px;background:#00a0e3;
}
.hero-form-card{
  background:rgba(11,18,32,0.85);border-radius:1rem;
  padding:1.5rem 1.7rem;box-shadow:0 18px 40px rgba(0,0,0,0.55);
}
.hero-form-card h2{margin-bottom:0.3rem;}
.hero-form-card p{font-size:0.9rem;margin-bottom:1rem;color:#e5e7eb;}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;}
.card{
  background:#fff;border-radius:0.9rem;padding:1.5rem;
  box-shadow:0 12px 30px rgba(15,23,42,0.06);border:1px solid #e3e9f3;
}
.card h2,.card h3{margin-bottom:0.6rem;}
.card ul{padding-left:1.1rem;margin-top:0.5rem;}
.card li{margin-bottom:0.3rem;}

.card-image{width:100%;display:flex;justify-content:center;align-items:center;margin-bottom:1.25rem;}
.card-image img{max-width:220px;height:auto;display:block;}

.industry-card-link{text-decoration:none;color:inherit;display:block;}
.brand-card ul{margin-top:0.75rem;padding-left:1.1rem;}
.brand-card li{margin-bottom:0.25rem;}

/* Location image cards */
.location-img{
  width:100%;height:180px;object-fit:cover;
  border-radius:0.7rem;margin-bottom:1rem;
}

/* Industry icon cards */
.industry-icon{font-size:2rem;margin-bottom:0.6rem;}

/* ============================================================
   COMPRESSOR SELECTOR TOOL
   ============================================================ */
.selector-tool{
  background:#fff;border-radius:1.2rem;padding:2rem;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);border:1px solid #e3e9f3;
  max-width:860px;margin:0 auto;
}
.selector-steps{display:flex;gap:0.4rem;margin-bottom:1.8rem;flex-wrap:wrap;}
.step-pill{
  padding:0.35rem 0.9rem;border-radius:999px;font-size:0.78rem;font-weight:600;
  background:#f0f4ff;color:#0050a4;border:1px solid #c7d8f5;
  display:flex;align-items:center;gap:0.4rem;
}
.step-pill.active{background:#0050a4;color:#fff;border-color:#0050a4;}
.step-pill.done{background:#e8f5e9;color:#1b5e20;border-color:#a5d6a7;}

.selector-question{font-size:1.1rem;font-weight:600;margin-bottom:1.2rem;color:#1f2933;}
.selector-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:0.8rem;margin-bottom:1.5rem;}
.sel-opt{
  padding:0.9rem 0.7rem;border-radius:0.7rem;border:2px solid #e3e9f3;
  background:#f9fafc;cursor:pointer;text-align:center;transition:all 0.15s;
}
.sel-opt:hover{border-color:#0050a4;background:#f0f4ff;}
.sel-opt.selected{border-color:#0050a4;background:#e8f0fd;color:#0050a4;}
.sel-opt-icon{font-size:1.6rem;display:block;margin-bottom:0.3rem;}
.sel-opt-label{font-size:0.82rem;font-weight:600;}
.sel-opt-sub{font-size:0.72rem;color:#6b7280;margin-top:0.1rem;}

.selector-nav{display:flex;gap:0.8rem;align-items:center;}
.sel-back{background:none;border:1px solid #cbd2e1;padding:0.55rem 1.2rem;
  border-radius:999px;cursor:pointer;font-size:0.9rem;color:#4b5563;}
.sel-back:hover{background:#f3f5f9;}

.sel-result{
  background:linear-gradient(135deg,#f0f4ff,#e8f0fd);
  border:2px solid #c7d8f5;border-radius:0.9rem;padding:1.4rem;margin-top:1rem;
}
.sel-result h3{color:#0050a4;margin-bottom:0.5rem;}
.sel-result p{font-size:0.9rem;color:#374151;margin-bottom:0.4rem;}
.sel-result .result-tags{display:flex;flex-wrap:wrap;gap:0.4rem;margin:0.8rem 0;}
.result-tag{
  background:#0050a4;color:#fff;font-size:0.75rem;font-weight:600;
  padding:0.25rem 0.7rem;border-radius:999px;
}
.sel-progress{
  height:4px;background:#e3e9f3;border-radius:4px;margin-bottom:1.8rem;overflow:hidden;
}
.sel-progress-bar{height:100%;background:linear-gradient(90deg,#0050a4,#00a0e3);
  border-radius:4px;transition:width 0.4s ease;}

/* ============================================================
   FORMS
   ============================================================ */
form label{display:block;font-size:0.85rem;margin-bottom:0.6rem;}
form input,form select,form textarea{
  width:100%;margin-top:0.3rem;padding:0.55rem 0.7rem;
  border-radius:0.5rem;border:1px solid #cbd2e1;font:inherit;
}
form textarea{resize:vertical;}
.form-note{margin-top:0.6rem;font-size:0.8rem;color:#9ca3af;}
.small{font-size:0.78rem;}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header{text-align:center;margin-bottom:2.3rem;}
.section-header.left{text-align:left;}
.section-header h2{font-size:1.7rem;margin-bottom:0.4rem;}
.section-header p{color:#4b5563;}

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;}
.pill-list{list-style:none;display:flex;flex-wrap:wrap;gap:0.5rem;margin-top:0.8rem;}
.pill-list li{padding:0.3rem 0.7rem;border-radius:999px;background:#eef2f7;font-size:0.85rem;}
.pill-list a{text-decoration:none;color:#0050a4;}
.pill-list a:hover{text-decoration:underline;}

/* ============================================================
   FAQ
   ============================================================ */
.faq{max-width:860px;margin:0 auto;}
.faq-item+.faq-item{margin-top:0.6rem;}
.faq-question{
  width:100%;text-align:left;padding:0.9rem 1.1rem;border-radius:0.7rem;
  border:1px solid #d0d7e7;background:#fff;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;
  font-weight:600;font-size:0.95rem;color:#1f2933;
  transition:background 0.15s;
}
.faq-question:hover{background:#f5f7ff;}
.faq-answer{
  display:none;padding:1rem 1.2rem 1.1rem;font-size:0.92rem;color:#374151;
  border:1px solid #d0d7e7;border-top:none;border-radius:0 0 0.7rem 0.7rem;
  background:#fafbff;line-height:1.75;
}
.faq-answer p{margin-bottom:0.6rem;}
.faq-answer p:last-child{margin-bottom:0;}
.faq-answer ul{padding-left:1.2rem;margin-top:0.3rem;}
.faq-answer li{margin-bottom:0.3rem;}
.faq-item.active .faq-answer{display:block;}
.faq-item.active .faq-toggle{transform:rotate(45deg);}
.faq-toggle{transition:transform 0.2s;font-size:1.2rem;opacity:0.6;}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:2rem;align-items:flex-start;}
.contact-list{list-style:none;margin-bottom:1rem;}
.contact-list li{margin-bottom:0.4rem;}
.contact-list a{color:#0050a4;text-decoration:none;}

/* ============================================================
   TITAN BACKLINK BANNER
   ============================================================ */
.titan-banner{
  background:linear-gradient(135deg,#0a1628,#0050a4);
  color:#fff;padding:1.4rem 0;
}
.titan-banner-inner{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:1rem;
}
.titan-banner-text strong{display:block;font-size:1rem;font-weight:700;margin-bottom:0.2rem;}
.titan-banner-text span{font-size:0.85rem;opacity:0.85;}
.titan-banner-links{display:flex;gap:0.8rem;flex-wrap:wrap;}
.titan-banner-link{
  display:inline-block;padding:0.5rem 1.1rem;border-radius:999px;
  border:1.5px solid rgba(255,255,255,0.5);color:#fff;text-decoration:none;
  font-size:0.85rem;font-weight:600;transition:all 0.15s;
}
.titan-banner-link:hover{background:rgba(255,255,255,0.15);border-color:#fff;}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{border-top:1px solid #d0d7e7;background:#fff;}
.footer-main{padding:2.5rem 0 1.5rem;}
.footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem;
}
.footer-brand{}
.footer-brand .logo{margin-bottom:0.8rem;}
.footer-brand p{font-size:0.85rem;color:#6b7280;line-height:1.6;max-width:220px;}
.footer-col h4{font-size:0.78rem;font-weight:700;letter-spacing:0.08em;
  text-transform:uppercase;color:#9ca3af;margin-bottom:0.8rem;}
.footer-col ul{list-style:none;}
.footer-col li{margin-bottom:0.4rem;}
.footer-col a{text-decoration:none;color:#4b5563;font-size:0.85rem;transition:color 0.12s;}
.footer-col a:hover{color:#0050a4;}
.footer-bottom{
  border-top:1px solid #e3e9f3;padding:1rem 0;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:0.5rem;font-size:0.8rem;color:#9ca3af;
}
.footer-bottom a{color:#9ca3af;text-decoration:none;}
.footer-bottom a:hover{color:#0050a4;}

/* ============================================================
   MISC
   ============================================================ */
.product-image{display:block;max-width:100%;height:auto;border-radius:1rem;
  margin:1rem auto 0.5rem auto;object-fit:contain;}
.ai-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:1.8rem;align-items:flex-start;}
.ai-form{background:#fff;}
.numbered-list{list-style:decimal;margin-left:1.2rem;margin-bottom:0.8rem;}
.numbered-list li{margin-bottom:0.3rem;}

.breadcrumb{font-size:0.82rem;color:#9ca3af;margin-bottom:1.2rem;}
.breadcrumb a{color:#0050a4;text-decoration:none;}
.breadcrumb a:hover{text-decoration:underline;}
.breadcrumb span{margin:0 0.3rem;opacity:0.5;}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1100px){
  .footer-grid{grid-template-columns:1fr 1fr;}
}

@media(max-width:960px){
  .hero-content,.ai-grid,.contact-grid{grid-template-columns:1fr;}
  .hero{min-height:auto;}
  .hero-content{padding-top:5rem;}
  .dropdown,.dropdown.dropdown-wide{min-width:320px;}
}

@media(max-width:820px){
  .nav{display:none;position:fixed;inset:64px 0 0 0;
    flex-direction:column;align-items:stretch;
    background:#fff;overflow-y:auto;padding:1rem;gap:0.2rem;
    border-top:1px solid #e1e7f0;z-index:999;}
  .nav.show{display:flex;}
  .nav-item{width:100%;}
  .nav-link{width:100%;justify-content:space-between;}
  .dropdown{position:static;box-shadow:none;border:none;
    background:#f9fafc;border-radius:0.6rem;min-width:0!important;
    padding:0.8rem;margin-top:0.3rem;}
  .nav-item:hover>.dropdown{display:none;}
  .nav-item.open>.dropdown{display:block;}
  .nav-cta{text-align:center;justify-content:center;margin-top:0.5rem;}
  .nav-toggle{display:flex;}
  .selector-options{grid-template-columns:1fr 1fr;}
  .titan-banner-inner{flex-direction:column;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

@media(max-width:560px){
  .footer-grid{grid-template-columns:1fr;}
  .selector-options{grid-template-columns:1fr 1fr;}
  .header-inner{height:56px;}
}
