/* ============================================================
   AMPro Transmission — shared stylesheet
   Reconstructed from original site screenshots
   ============================================================ */

:root {
  --blue:        #1f8ce8;   /* header / button blue */
  --blue-dark:   #1372c4;
  --blue-deep:   #0b4aa2;   /* logo / link blue */
  --ink:         #1a1a1a;
  --grey-text:   #555;
  --card-bg:     #efefef;
  --line:        #e2e2e2;
  --footer-bg:   #111;
  --maxw:        1180px;
  --radius:      10px;
  --shadow:      0 4px 18px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: "Oswald", "Poppins", sans-serif; font-weight: 600; line-height: 1.1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: .98rem;
  transition: background .18s, transform .18s;
  text-align: center;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-pill {
  border-radius: 999px;
  border: 2px solid #fff;
  background: transparent;
  padding: 10px 24px;
}
.btn-pill:hover { background: rgba(255,255,255,.15); }

.btn-block { display: block; width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--blue);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand img { height: 46px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
}
.nav .phone { font-weight: 600; white-space: nowrap; }
.nav a.navlink { padding: 4px 2px; position: relative; }
.nav a.navlink:hover { opacity: .85; }
.nav a.navlink.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: #fff;
}

.nav-toggle {
  display: none;
  background: none; border: none; color: #fff;
  font-size: 1.6rem; cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.05));
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-box {
  max-width: 620px;
  background: rgba(0,0,0,.42);
  padding: 28px 30px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0;
}
.hero p.lead {
  font-size: 1.05rem;
  margin: 16px 0 24px;
  max-width: 560px;
}
.hero-center { text-align: center; }
.hero-center .hero-box { max-width: 760px; margin: 0 auto; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 70px 0; }
.section.tight { padding: 48px 0; }
.section.grey { background: #f6f6f6; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 8px; }
.split p { color: var(--grey-text); margin: 0; }

/* Banner strip with bg image + overlay text */
.banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  margin-top: 40px;
}
.banner::before { content:""; position:absolute; inset:0; background: rgba(0,0,0,.4); }
.banner .banner-inner { position: relative; z-index: 2; padding: 40px; }
.banner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 22px; max-width: 460px; }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card .card-img {
  aspect-ratio: 4 / 4.6;
  background: #d8dde2 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  color: #8a939c; font-weight: 600; font-size: .85rem; text-align: center;
  padding: 14px;
}
.card .card-body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.card p { color: var(--grey-text); font-size: .92rem; margin: 0 0 18px; flex: 1; }

/* Warranty badge card (the "Three Year Warranty" gear) */
.warranty-card .card-img {
  background: #ececec;
  color: var(--blue-deep);
}
.warranty-badge {
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(#fff 0 6deg, #ececec 6deg 12deg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.warranty-badge::before {
  content:"";
  position:absolute; inset: 14%;
  border-radius: 50%;
  background: #f4f4f4;
}
.warranty-badge span {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blue-deep);
  text-align: center;
  line-height: 1.05;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}
.pay-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.pay-logo {
  height: 240px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 3.4rem;
}
.pay-logo.paypal { background: #fff; color: #003087; }
.pay-logo.paypal small { color: #009cde; }
.pay-logo.stripe { background: #635bff; color: #fff; }
.pay-logo.square { background: #2d2d36; color: #f4f4f4; }
.pay-card .card-body { padding: 18px; }
.pay-card h3 { margin: 0 0 6px; }
.pay-card p { color: var(--grey-text); margin: 0 0 16px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 24px;
  text-align: center;
}
.product {
  display: flex; flex-direction: column; align-items: center;
}
.product h3 { font-size: 1.5rem; margin: 0 0 6px; font-weight: 600; }
.product .price { font-size: 1.3rem; font-weight: 600; margin: 0 0 12px; }
.product .desc { font-size: .85rem; color: var(--grey-text); margin: 0 0 16px; max-width: 280px; }

/* ============================================================
   CONTACT / MAP
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact h2 { color: var(--blue); font-size: 2rem; margin: 0 0 24px; }
.contact .field { margin-bottom: 18px; }
.contact .field b { color: var(--blue); display: block; margin-bottom: 2px; }
.map-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 0;
  border-radius: 6px;
}

/* ============================================================
   REVIEWS (book-a-call)
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
}
.review h4 { font-family: "Poppins", sans-serif; margin: 0 0 6px; font-size: 1.05rem; }
.stars { color: #f5b50a; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--grey-text); font-size: .92rem; margin: 0; }

/* book-a-call hero variant */
.hero-cta-buttons { display: flex; flex-direction: column; gap: 12px; max-width: 230px; margin-top: 10px; }
.hero-cta-buttons .btn { width: 100%; }
.hero-logo-circle {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 360px; max-width: 38%;
  z-index: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.tagline-band {
  background: var(--footer-bg);
  color: #fff;
  padding: 56px 0;
}
.tagline-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.tagline-band h2 { font-size: 2rem; margin: 0 0 14px; }
.tagline-band p { color: #cfcfcf; margin: 4px 0; font-size: .92rem; }
.tagline-band .copy { text-align: center; }

.footer-nav {
  background: var(--footer-bg);
  color: #fff;
  border-top: 1px solid #2a2a2a;
  padding: 26px 0;
}
.footer-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-nav .links { display: flex; gap: 30px; font-weight: 500; }
.footer-nav .links a:hover { color: var(--blue); }
.footer-nav .social { display: flex; gap: 18px; }
.footer-nav .social a { font-size: 1.25rem; opacity: .9; }
.footer-nav .social a:hover { opacity: 1; color: var(--blue); }

.footer-bottom {
  background: #000;
  color: #aaa;
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; font-size: .88rem;
}
.footer-bottom img { height: 38px; }
.footer-bottom .fb-meta { display: flex; gap: 26px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-grid, .product-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .tagline-band .container { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo-circle { display: none; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav .btn-pill { margin-top: 8px; }
  .card-grid, .pay-grid, .product-grid, .reviews { grid-template-columns: 1fr; }
  .footer-nav .container { flex-direction: column; align-items: flex-start; }
}

/* photo-filled card image */
.card .card-img.has-photo { color: transparent; }
.card .card-img.has-photo[style] { background-size: cover; background-position: center; }

/* branded placeholder for cards without a photo yet */
.card .card-img:not(.has-photo):not(.warranty-card .card-img) {
  background: linear-gradient(135deg, #e8eef5, #d7e2ee);
  color: var(--blue-deep);
  font-weight: 600;
}

/* ============================================================
   TRADE SHOW GALLERY (book-a-call)
   ============================================================ */
.show-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.show-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.show-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}
.show-gallery figure:hover img { transform: scale(1.04); }
.section-sub {
  text-align: center;
  color: var(--grey-text);
  max-width: 640px;
  margin: 6px auto 38px;
}
@media (max-width: 720px) {
  .show-gallery { grid-template-columns: 1fr; }
}
