/* ═══════════════════════════════════════════════════
   ACE PAINTING AND CONSTRUCTION
   Main Stylesheet — acepaintingandconstruction.com
   Built by The Clone Shop | cloneshop.com
═══════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --red:     #C8102E;
  --red-d:   #9B0B20;
  --red-l:   #E8192F;
  --blk:     #111111;
  --blk-s:   #1c1c1c;
  --wht:     #FFFFFF;
  --owht:    #F4F3F1;
  --gry:     #666666;
  --gry-l:   #E0E0E0;
  --fhead:   'Oswald', sans-serif;
  --fbody:   'Open Sans', sans-serif;
  --r:       2px;
  --shadow:  0 2px 14px rgba(0,0,0,.12);
  --tr:      .18s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--fbody); background: var(--owht); color: var(--blk); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }

/* ── ACCESSIBILITY ── */
.skip-link {
  position: absolute; top: -60px; left: 16px;
  background: var(--red); color: #fff; padding: 10px 20px;
  font-family: var(--fhead); font-size: .9rem; letter-spacing: .06em;
  text-transform: uppercase; border-radius: var(--r); z-index: 9999;
  transition: top .2s; text-decoration: none;
}
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: var(--r); }
@media (prefers-reduced-motion: reduce) { *, .slide, .svc-card, .g-item img { transition: none !important; animation: none !important; } }

/* ── TOP BAR ── */
.topbar { background: var(--blk); padding: 7px 0; }
.topbar .w { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a, .topbar span { font-family: var(--fhead); font-size: .78rem; letter-spacing: .05em; color: #bbb; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--red); }
.tb-l, .tb-r { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ── HEADER ── */
header { background: var(--blk); border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 200; box-shadow: var(--shadow); }
.hdr { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 82px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 66px; width: auto; }
nav { display: flex; align-items: center; gap: 2px; }
nav a { font-family: var(--fhead); font-weight: 500; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.85); text-decoration: none; padding: 9px 15px; border-radius: var(--r); transition: var(--tr); position: relative; }
nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; right: 50%; height: 2px; background: var(--red); transition: var(--tr); }
nav a:hover, nav a.active { color: var(--red); }
nav a:hover::after, nav a.active::after { left: 8px; right: 8px; }
.nav-cta { background: var(--red) !important; color: #fff !important; padding: 10px 20px !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-d) !important; color: #fff !important; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: rgba(255,255,255,.85); flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 36px; height: 36px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; transition: var(--tr); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE HERO (interior pages) ── */
.page-hero { background: var(--blk); padding: 64px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.page-hero h1 { font-family: var(--fhead); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: #fff; text-transform: uppercase; line-height: 1; }
.page-hero h1 span { color: var(--red-l); }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1rem; max-width: 560px; margin-top: 10px; font-weight: 300; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; font-family: var(--fhead); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--red-l); }
.breadcrumb span { color: rgba(255,255,255,.3); }
.breadcrumb strong { color: var(--red-l); }

/* ── TRUST BAR ── */
.trust { background: var(--red); }
.trust .w { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.t-item { padding: 22px 16px; text-align: center; color: #fff; border-right: 1px solid rgba(255,255,255,.2); }
.t-item:last-child { border: none; }
.t-num { font-family: var(--fhead); font-weight: 700; font-size: 2rem; line-height: 1; display: block; }
.t-lbl { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .88; margin-top: 3px; display: block; }

/* ── LAYOUT ── */
section { padding: 80px 0; }
.w { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.s-label { font-family: var(--fhead); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 8px; }
.s-title { font-family: var(--fhead); font-weight: 700; font-size: clamp(1.7rem, 3.5vw, 2.5rem); text-transform: uppercase; line-height: 1; margin-bottom: 14px; }
.s-title span { color: var(--red); }
.s-body { font-size: .95rem; line-height: 1.72; color: #555; max-width: 640px; }
.tc { text-align: center; }
.tc .s-body { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-r { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-family: var(--fhead); font-weight: 600; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; padding: 13px 28px; border-radius: var(--r); transition: var(--tr); text-decoration: none; border: 2px solid var(--red); }
.btn-r:hover { background: var(--red-d); border-color: var(--red-d); transform: translateY(-2px); color: #fff; }
.btn-o { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--blk); font-family: var(--fhead); font-weight: 600; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; padding: 11px 26px; border-radius: var(--r); border: 2px solid var(--blk); transition: var(--tr); text-decoration: none; }
.btn-o:hover { border-color: var(--red); color: var(--red); }
.btn-o-wht { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-o-wht:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-wht { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--red); font-family: var(--fhead); font-weight: 700; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; padding: 13px 28px; border-radius: var(--r); transition: var(--tr); text-decoration: none; }
.btn-wht:hover { background: var(--owht); transform: translateY(-2px); color: var(--red); }

/* ── HERO SLIDER (homepage) ── */
.hero { position: relative; height: 520px; overflow: hidden; background: #555; display: block; margin: 0; padding: 0 !important; }
.hero-bar { display: none; }
.slides { position: relative; height: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.active { opacity: 1; }
.slide-img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.slide-body { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.05) 100%); }
.slide-body .w { padding-left: 48px; }
.eyebrow { font-family: var(--fhead); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--red-l); margin-bottom: 10px; font-weight: 500; }
.slide h1, .slide h2 { font-family: var(--fhead); font-weight: 700; font-size: clamp(2.4rem, 5.5vw, 4rem); color: #fff; text-transform: uppercase; line-height: .93; margin-bottom: 14px; }
.slide h1 em, .slide h2 em { font-style: normal; color: var(--red-l); display: block; }
.slide p { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 460px; line-height: 1.62; margin-bottom: 28px; font-weight: 300; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: .2s; padding: 0; }
.dot.active { background: var(--red); transform: scale(1.2); }
.dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ── SERVICE CARDS ── */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px; background: var(--gry-l); border: 2px solid var(--gry-l); }
.svc-card { background: #fff; padding: 30px 24px; transition: var(--tr); position: relative; overflow: hidden; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: var(--tr); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover { background: #fafafa; }
.svc-icon { width: 46px; height: 46px; background: var(--owht); border: 1px solid var(--gry-l); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: var(--r); }
.svc-card h3 { font-family: var(--fhead); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.svc-card p { font-size: .87rem; line-height: 1.65; color: var(--gry); }

/* ── SERVICE TABS ── */
.svc-tabs { display: flex; gap: 0; border-bottom: 3px solid var(--gry-l); margin-top: 40px; }
.svc-tab { font-family: var(--fhead); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; padding: 12px 28px; background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer; color: var(--gry); transition: var(--tr); margin-bottom: -3px; }
.svc-tab.active { color: var(--red); border-bottom-color: var(--red); }
.svc-tab:hover { color: var(--red); }
.svc-panel { display: none; padding-top: 36px; }
.svc-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px; background: var(--gry-l); border: 2px solid var(--gry-l); }

/* ── ABOUT SPLIT ── */
.ab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ab-img { position: relative; }
.ab-img img { width: 100%; height: 390px; object-fit: cover; border-radius: var(--r); position: relative; z-index: 1; }
.ab-img::before { content: ''; position: absolute; top: -10px; left: -10px; right: 10px; bottom: 10px; border: 3px solid var(--red); z-index: 0; border-radius: var(--r); }
.ab-badge { position: absolute; bottom: -18px; right: -18px; z-index: 2; background: var(--red); color: #fff; padding: 18px 20px; text-align: center; font-family: var(--fhead); }
.ab-badge strong { display: block; font-size: 2.1rem; font-weight: 700; line-height: 1; }
.ab-badge span { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; opacity: .92; display: block; margin-top: 2px; }
.checks { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.chk { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: #444; line-height: 1.55; }
.chk-icon { width: 20px; height: 20px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
blockquote.pull { border-left: 4px solid var(--red); padding: 14px 18px; background: #fff; margin: 20px 0 24px; font-style: italic; font-size: .95rem; color: #444; line-height: 1.7; }
blockquote.pull cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--fhead); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }

/* ── GALLERY ── */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 40px; }
.g-item { overflow: hidden; aspect-ratio: 4/3; background: var(--gry-l); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.g-item:hover img { transform: scale(1.05); }

/* ── WHY US ── */
.why { background: var(--blk-s); color: #fff; }
.why .s-title { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 28px 22px; border-radius: var(--r); position: relative; }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.why-n { font-family: var(--fhead); font-size: 2.2rem; font-weight: 700; color: rgba(200,16,46,.22); line-height: 1; margin-bottom: 8px; }
.why-card h3 { font-family: var(--fhead); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 8px; }
.why-card p { font-size: .87rem; line-height: 1.65; color: rgba(255,255,255,.55); }

/* ── FAQ ── */
details { border: 1px solid var(--gry-l); background: #fff; margin-bottom: 6px; border-radius: var(--r); overflow: hidden; }
details[open] { border-color: var(--red); }
summary { font-family: var(--fhead); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; padding: 18px 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--blk); transition: var(--tr); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; color: var(--red); font-weight: 300; }
details[open] summary::after { content: '−'; }
summary:hover { color: var(--red); }
.faq-ans { padding: 4px 20px 18px; font-size: .93rem; line-height: 1.72; color: #444; }
.faq-grid { max-width: 820px; margin-top: 44px; }

/* ── TESTIMONIALS ── */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.t-card { background: var(--owht); padding: 26px 22px; border-radius: var(--r); border: 1px solid var(--gry-l); position: relative; }
.stars { color: var(--red); font-size: .95rem; margin-bottom: 10px; letter-spacing: 2px; }
.t-card blockquote { font-size: .89rem; line-height: 1.7; color: #444; font-style: italic; margin-bottom: 14px; }
.t-author { font-family: var(--fhead); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.t-src { font-size: .73rem; color: var(--gry); margin-top: 2px; }
.q-mark { position: absolute; top: 14px; right: 18px; font-size: 2.8rem; color: var(--gry-l); line-height: 1; font-family: Georgia, serif; }

/* ── CTA BAND ── */
.cta-band { background: var(--red); padding: 58px 0; }
.cta-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--fhead); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; color: #fff; line-height: 1.1; }
.cta-band p { color: rgba(255,255,255,.85); font-size: .93rem; margin-top: 6px; }
.cta-acts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── CONTACT FORM ── */
.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.c-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.c-row svg { flex-shrink: 0; margin-top: 3px; }
.c-row div { font-size: .9rem; line-height: 1.6; color: #444; }
.c-row strong { display: block; font-family: var(--fhead); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blk); margin-bottom: 2px; }
.c-row a { color: var(--red); font-weight: 600; }
.c-row a:hover { text-decoration: underline; }
.c-callout { margin-top: 28px; padding: 18px 20px; background: var(--owht); border-left: 4px solid var(--red); }
.c-callout strong { font-family: var(--fhead); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--blk); display: block; margin-bottom: 4px; }
.c-callout p { font-size: .88rem; line-height: 1.65; color: #555; }
.f-field { margin-bottom: 16px; }
.f-field label { display: block; font-family: var(--fhead); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; color: #555; font-weight: 600; }
.f-field input, .f-field textarea, .f-field select { width: 100%; padding: 11px 14px; border: 1px solid var(--gry-l); border-radius: var(--r); font-family: var(--fbody); font-size: .9rem; background: #fafafa; color: var(--blk); transition: border-color var(--tr); }
.f-field input:focus, .f-field textarea:focus, .f-field select:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(200,16,46,.1); }
.f-field textarea { min-height: 110px; resize: vertical; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit { width: 100%; background: var(--red); color: #fff; border: none; font-family: var(--fhead); font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; padding: 15px; border-radius: var(--r); cursor: pointer; transition: var(--tr); display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-submit:hover { background: var(--red-d); }
.form-success { display: none; background: #f0faf0; border: 1px solid #4caf50; color: #2e7d32; padding: 16px 20px; border-radius: var(--r); font-size: .93rem; margin-top: 12px; }

/* ── FOOTER ── */
footer { background: var(--blk); color: rgba(255,255,255,.55); }
.ft { padding: 60px 0 40px; }
.f-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px; }
.f-logo img { height: 54px; width: auto; margin-bottom: 14px; opacity: .88; }
.f-about { font-size: .85rem; line-height: 1.7; max-width: 290px; }
.f-phones { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.f-phones a { font-size: .85rem; color: rgba(255,255,255,.55); }
.f-phones a:hover { color: var(--red); }
.f-col h4 { font-family: var(--fhead); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.f-col a { display: block; font-size: .84rem; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: 7px; transition: var(--tr); }
.f-col a:hover { color: var(--red); }
.f-bot { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.f-bot .w { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .76rem; }
.f-bot a { color: rgba(255,255,255,.38); }
.f-bot a:hover { color: var(--red); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .menu-btn { display: flex; }
  nav {
    display: none; position: absolute; top: 82px; left: 0; right: 0;
    background: var(--blk); padding: 12px 20px 20px;
    border-bottom: 3px solid var(--red); flex-direction: column; gap: 2px;
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
  }
  nav.open { display: flex; }
  nav a { width: 100%; padding: 11px 14px; }
  nav a::after { display: none; }
  header { position: relative; }
}
@media (max-width: 900px) {
  .ab-grid, .c-grid { grid-template-columns: 1fr; }
  .ab-img { order: -1; }
  .why-grid, .t-grid { grid-template-columns: 1fr; }
  .trust .w { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-acts { justify-content: center; }
}
@media (max-width: 600px) {
  .g-grid { grid-template-columns: 1fr; }
  .svc-panel.active { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .hero { height: 420px; }
  section { padding: 56px 0; }
  .tb-r { display: none; }
}
