/* Gomez Boyz Trucking — trust-first virtual brochure */
:root {
  --red: #e10600;
  --red-dark: #b50500;
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --soft: #f6f4f2;
  --card: #ffffff;
  --border: #e8e4e0;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--soft);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 1.15rem 2.5rem;
}

/* —— Header —— */
.hero {
  background: linear-gradient(165deg, #1c1c1c 0%, #0d0d0d 55%, #1a0808 100%);
  color: #fff;
  padding: 1.75rem 1.15rem 2.5rem;
  text-align: center;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.hero-inner { max-width: 560px; margin: 0 auto; }

.logo {
  width: 180px;
  max-width: 55vw;
  margin: 0 auto 1.1rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.greeting {
  font-size: clamp(1.4rem, 4.5vw, 1.75rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.greeting-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
  max-width: 34ch;
  margin: 0 auto;
  line-height: 1.45;
}

.tagline-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(225, 6, 0, 0.22);
  border: 1px solid rgba(225, 6, 0, 0.45);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

/* —— CTA buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  min-height: 52px;
  width: 100%;
}

.btn:hover { color: inherit; text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(225, 6, 0, 0.45);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 8px 24px rgba(225, 6, 0, 0.55);
}

.btn-primary:focus-visible { outline-color: #ffb3b0; }

.btn-call {
  background: #fff;
  color: var(--black);
  border-color: var(--black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-call:hover {
  background: var(--black);
  color: #fff;
}

.btn-email {
  background: #fff;
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(225, 6, 0, 0.12);
}

.btn-email:hover {
  background: #fff5f5;
  color: var(--red-dark);
  border-color: var(--red-dark);
}

.cta-wrap {
  display: grid;
  gap: 0.65rem;
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 2;
  padding: 0 1.15rem;
  max-width: 560px;
}

/* —— Sections —— */
section {
  margin-top: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

h2 {
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h2 .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

section p { color: var(--muted); }
section p + p { margin-top: 0.65rem; }
section p strong { color: var(--ink); }

/* Equipment chips */
.equip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.equip-item {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.equip-item.equip-wide {
  grid-column: 1 / -1;
}

.equip-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.equip-item span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin-top: 0.5rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0;
}

.steps li + li { border-top: 1px solid var(--border); }

.steps li::before {
  content: counter(step);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 750;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.steps strong {
  display: block;
  color: var(--black);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.steps p {
  font-size: 0.92rem;
  margin: 0;
}

/* Why trust us */
.why {
  list-style: none;
  margin-top: 0.35rem;
}

.why li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.7rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.why li:last-child { border-bottom: none; }

.why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 4px;
  background: var(--red);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.why li strong { color: var(--black); }

/* Photo gallery */
.gallery-section p { margin-bottom: 0.85rem; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.gallery-item {
  margin: 0;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #ddd;
}

.gallery-item figcaption {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  padding: 0.55rem 0.6rem 0.65rem;
  text-align: center;
}

/* Contact card */
.contact-card {
  background: linear-gradient(160deg, #1a1a1a 0%, #0f0f0f 100%);
  color: #fff;
  border-color: #2a2a2a;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.contact-card h2 { color: #fff; }

.contact-card .dot { background: var(--red); }

.contact-name {
  font-size: 1.25rem;
  font-weight: 750;
  color: #fff !important;
  margin: 0 !important;
}

.contact-title {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0.2rem 0 1rem !important;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-list div {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list dt {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-list dd a {
  color: #fff;
  font-weight: 650;
  font-size: 1.02rem;
  text-decoration: none;
}

.contact-list dd a:hover {
  color: #ffb3b0;
  text-decoration: underline;
}

.contact-list dd a:focus-visible {
  outline-color: #ffb3b0;
}

/* Connect / social */
.connect {
  margin-top: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.connect h2 { margin-bottom: 1rem; }

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 88px;
  padding: 0.85rem 0.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  color: var(--black);
  background: var(--soft);
  border: 1.5px solid var(--border);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.social-btn:hover {
  border-color: var(--red);
  background: #fff5f5;
  color: var(--black);
  text-decoration: none;
  transform: translateY(-1px);
}

.social-btn:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.social-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.social-btn.linkedin svg { color: #0a66c2; }
.social-btn.facebook svg { color: #1877f2; }
.social-btn.email svg { color: var(--red); }
.social-btn.web svg { color: var(--ink); }

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.15rem 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer .tag {
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.footer .copy { opacity: 0.85; }

/* Desktop */
@media (min-width: 640px) {
  .wrap { max-width: 720px; padding: 0 1.5rem 3rem; }
  .hero-inner, .cta-wrap { max-width: 720px; }
  .hero { padding: 2.25rem 1.5rem 2.9rem; border-radius: 0 0 36px 36px; }
  .logo { width: 220px; }
  section, .connect { padding: 1.65rem 1.5rem; }
  .cta-wrap {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 0.75rem;
    margin-top: -1.65rem;
  }
  .btn { font-size: 1.05rem; }
  .btn-primary { font-size: 1.1rem; }
  .equip { grid-template-columns: repeat(3, 1fr); }
  .equip-item.equip-wide { grid-column: span 3; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
}

/* Print / PDF */
@media print {
  body { background: #fff; font-size: 11pt; }
  .hero {
    background: #111 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    border-radius: 0;
    box-shadow: none;
  }
  section, .connect {
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .contact-card {
    background: #1a1a1a !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .gallery-item { break-inside: avoid; page-break-inside: avoid; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .btn-primary {
    background: var(--red) !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .btn-call, .btn-email {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .cta-wrap {
    margin-top: 1rem;
    grid-template-columns: 1fr 1fr 1fr;
  }
  a { text-decoration: none; }
}

/* SEO / identity additions (2026-10-06) */
.greeting-loc { color: rgba(255, 255, 255, 0.65); font-size: 0.86rem; margin: 0.6rem auto 0; letter-spacing: 0.02em; }
.footer .ids { margin-top: 0.35rem; font-weight: 600; opacity: 0.9; }
.footer .ids a { color: inherit; text-decoration: underline; }
.greeting-kicker { display: block; font-size: 0.5em; font-weight: 650; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.78); margin-top: 0.3rem; }
