/*
Theme Name: A-Team Assembly Classic Pro
Theme URI: https://ateamassembly.com
Author: A-Team Assembly
Description: Classic black, gold and white A-Team Assembly website with editable services, brand logos, work cards and quote form.
Version: 4.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ateam
*/
:root{
  --gold:#d7a72f;
  --gold-bright:#f0bd3d;
  --black:#070707;
  --charcoal:#171717;
  --cream:#f5f1e8;
  --light:#f7f7f7;
  --white:#fff;
  --gray:#666;
  --radius:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#171717;background:#fff;line-height:1.6}
body.admin-bar .site-header{top:32px}
img{max-width:100%;height:auto}
.wrap{width:min(1160px,92%);margin:auto}
.section{padding:78px 0}
#home,#services,#brands,#gallery,#pricing,#reviews,#faq,#quote{scroll-margin-top:90px}
.eyebrow{margin:0 0 10px;color:var(--gold);font-size:.9rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
h1,h2,h3{line-height:1.1;margin-top:0}
h1{font-size:clamp(3rem,7vw,6.2rem);letter-spacing:-.04em}
h2{font-size:clamp(2.1rem,4vw,3.5rem);margin-bottom:34px}
h3{font-size:1.22rem}
p{margin-top:0}
.grid{display:grid;gap:22px}
.section-intro{max-width:720px;margin:-20px auto 34px;text-align:center;color:var(--gray)}
.admin-hint{margin-top:20px;color:#777;font-size:.9rem}

/* Header: same black/gold look, always visible */
.site-header{
  position:sticky;
  top:0;
  z-index:99999;
  width:100%;
  background:var(--black);
  color:#fff;
  box-shadow:0 3px 18px rgba(0,0,0,.28);
}
.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:18px;color:#fff;text-decoration:none;font-size:1.55rem;font-weight:900;white-space:nowrap}
.brand-logo{width:72px;height:68px;object-fit:contain;display:block}
.nav{display:flex;align-items:center;gap:30px}
.nav a{color:#fff;text-decoration:none;font-size:1.05rem;font-weight:800}
.nav a:hover,.nav a:focus{color:var(--gold-bright)}
.menu-toggle{display:none;border:1px solid rgba(255,255,255,.35);border-radius:6px;background:transparent;color:#fff;padding:8px 11px;font-size:1.45rem;line-height:1;cursor:pointer}

/* Hero: screenshot-inspired */
.hero{
  min-height:610px;
  display:grid;
  align-items:center;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(0,0,0,.93) 0%,rgba(0,0,0,.75) 44%,rgba(0,0,0,.28) 72%,rgba(0,0,0,.10) 100%),
    var(--hero-image) 72% center/cover no-repeat;
}
.hero-content{padding:90px 0 70px}
.hero h1{max-width:760px;margin-bottom:22px}
.hero p:not(.eyebrow){max-width:650px;color:#eee;font-size:1.13rem}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.btn{display:inline-block;padding:14px 23px;border:0;border-radius:6px;text-decoration:none;font-weight:900;cursor:pointer}
.btn-primary{background:var(--gold);color:#111}
.btn-outline{border:2px solid #fff;color:#fff;background:transparent}

/* Services */
.services-section{background:var(--cream)}
.services-section .eyebrow,.services-section h2,.brands-section .eyebrow,.brands-section h2,.gallery-section .eyebrow,.gallery-section h2{text-align:center}
.services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{overflow:hidden;border:1px solid #e4e4e4;border-radius:var(--radius);background:#fff;box-shadow:0 9px 28px rgba(0,0,0,.08)}
.service-image,.project-image{height:205px;overflow:hidden;background:#eee}
.service-image img,.project-image img{width:100%;height:100%;object-fit:cover;display:block}
.card-body{padding:21px}
.card-body h3{margin-bottom:8px}
.card-body p{margin-bottom:0;color:#555}

/* Brand logo cards - only requested improvement */
.brands-section{background:#fff}
.brands-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.brand-card{
  min-height:112px;
  display:grid;
  place-items:center;
  padding:20px 14px;
  border:1px solid #e3e3e3;
  border-radius:9px;
  background:#fff;
  box-shadow:0 7px 20px rgba(0,0,0,.06);
  overflow:hidden;
}
.brand-card span{font-size:1.25rem;font-weight:900;color:#222;text-align:center}
.brand-card-image{max-width:145px;max-height:66px;width:auto;height:auto;object-fit:contain;filter:grayscale(100%);transition:.2s ease}
.brand-card:hover .brand-card-image{filter:grayscale(0%)}

/* Our Work: visible white cards */
.gallery-section{background:var(--light)}
.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.project-card .project-image{height:175px}
.project-card .card-body{padding:17px}
.project-card h3{font-size:1.03rem}

/* Pricing */
.pricing{background:var(--black);color:#fff}
.pricing .eyebrow,.pricing h2{text-align:center}
.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px;margin:auto}
.price-card{padding:36px;border:1px solid var(--gold);border-radius:10px;background:#121212;text-align:center}
.price{margin:10px 0 18px;color:var(--gold-bright);font-size:3.7rem;font-weight:900;line-height:1}
.price-note{color:#d2d2d2;margin-bottom:0}

/* Reviews and FAQ preserve original sections */
.reviews{background:#191919;color:#fff}
.reviews .eyebrow,.reviews h2{text-align:center}
.reviews-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.review-card{padding:28px;border-top:4px solid var(--gold);border-radius:10px;background:#242424}
.stars{color:var(--gold-bright);letter-spacing:4px}
.review-author{font-weight:900}
.faq-section{background:#fff}
.faq-list{max-width:900px;margin:auto}
.faq-list details{padding:18px 0;border-bottom:1px solid #ddd}
.faq-list summary{font-size:1.08rem;font-weight:900;cursor:pointer}

/* Compact contact card */
.quote-section{background:var(--cream)}
.quote-wrap{max-width:860px}
.quote-heading{text-align:center;margin-bottom:28px}
.quote-heading h2{margin-bottom:14px}
.quote-card{
  width:min(760px,100%);
  margin:auto;
  padding:34px;
  border:1px solid #e3e3e3;
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 44px rgba(0,0,0,.10);
}
.quote-card>h3{font-size:1.7rem;margin-bottom:8px}
.quote-intro{color:#666;margin-bottom:23px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 16px}
.form-field{display:grid;gap:7px;min-width:0;font-weight:800}
.form-field.wide{grid-column:1/-1}
.form-field em{color:#a01c1c;font-style:normal}
.quote-form input,.quote-form select,.quote-form textarea{
  width:100%;
  min-width:0;
  padding:12px 13px;
  border:1px solid #c8c8c8;
  border-radius:6px;
  background:#fff;
  font:inherit;
}
.quote-form textarea{resize:vertical}
.quote-form .btn{margin-top:18px}
.notice{width:min(760px,100%);margin:0 auto 16px;padding:13px 15px;border-radius:7px}
.success{background:#e7f6e9;border:1px solid #84b78c}
.error{background:#ffecec;border:1px solid #d48b8b}
.hp{position:absolute;left:-9999px}

/* Footer */
footer{padding:46px 0 22px;background:#0d0d0d;color:#fff}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}
.footer-grid a{color:#fff}
.copyright{margin-top:30px;padding-top:20px;border-top:1px solid #333;color:#aaa}

/* Mobile */
@media(max-width:900px){
  .menu-toggle{display:block}
  .nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    padding:12px 20px 20px;
    background:var(--black);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    border-top:1px solid rgba(255,255,255,.12);
  }
  .nav.open{display:flex}
  .nav a{padding:12px 8px;border-bottom:1px solid rgba(255,255,255,.10)}
  .brands-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:700px){
  html{scroll-padding-top:74px}
  #home,#services,#brands,#gallery,#pricing,#reviews,#faq,#quote{scroll-margin-top:74px}
  .section{padding:58px 0}
  .header-inner{min-height:72px}
  .brand{gap:11px;font-size:1.05rem}
  .brand-logo{width:52px;height:50px}
  .hero{min-height:565px;background-position:66% center}
  .hero-content{padding:80px 0 48px}
  .hero h1{font-size:clamp(2.65rem,13vw,4.2rem)}
  .hero p:not(.eyebrow){font-size:1rem;max-width:94%}
  .services-grid,.pricing-grid,.reviews-grid{grid-template-columns:1fr}
  .brands-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .brand-card{min-height:92px;padding:15px 10px}
  .gallery-grid{grid-template-columns:1fr}
  .project-card .project-image{height:220px}
  .form-grid{grid-template-columns:1fr;gap:13px}
  .form-field.wide{grid-column:auto}
  .quote-card{padding:23px 17px}
  .quote-form .btn{width:100%;text-align:center}
  .footer-grid{grid-template-columns:1fr}
}
