/* Petro Ave LLC — shared stylesheet */

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

:root {
  --navy: #0f172a;
  --dark: #1f2937;
  --red: #b91c1c;
  --red-dark: #991b1b;
  --gold: #d97706;
  --gold-light: #fbbf24;
  --cream: #fef3c7;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-warm: #fffbeb;
  --text: #1f2937;
  --text-soft: #374151;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .12);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ===== Header / nav ===== */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.5px;
  box-shadow: var(--shadow-sm);
}
.brand-text { line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 900; letter-spacing: -.3px; color: #fff; }
.brand-sub { font-size: 10px; color: rgba(255, 255, 255, .55); letter-spacing: .18em; text-transform: uppercase; margin-top: 2px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: -.1px;
  transition: background .15s, color .15s;
}
.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
}
.main-nav a.cta {
  background: var(--red);
  color: #fff;
  margin-left: 8px;
}
.main-nav a.cta:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .85) 0%, rgba(31, 41, 55, .75) 100%),
    radial-gradient(circle at 20% 30%, rgba(217, 119, 6, .35) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(185, 28, 28, .3) 0%, transparent 50%),
    var(--navy);
  color: #fff;
  padding: 100px 24px 90px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0px, rgba(255, 255, 255, .02) 1px, transparent 1px, transparent 12px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(251, 191, 36, .4);
  border-radius: 999px;
  background: rgba(217, 119, 6, .08);
}
.hero h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin-bottom: 18px;
  color: #fff;
}
.hero h1 .accent { color: var(--gold-light); }
.hero .sub {
  font-size: 19px;
  color: rgba(255, 255, 255, .85);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.1px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b45309; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost { background: var(--bg-alt); color: var(--dark); border-color: var(--border); }
.btn-ghost:hover { background: #fff; border-color: var(--muted); color: var(--dark); }

/* ===== Sections ===== */
.section { padding: 72px 24px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-warm { background: var(--bg-warm); }
.container { max-width: var(--container); margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-dark .section-head .kicker { color: var(--gold-light); }
.section-head h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.8px;
  color: var(--dark);
  line-height: 1.15;
}
.section-dark .section-head h2 { color: #fff; }
.section-head p {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin: 14px auto 0;
}
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }

/* ===== Services grid ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.service-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.service-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.service-tile .icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-warm);
  border-radius: 12px;
  color: var(--gold);
}
.service-tile .icon svg { width: 26px; height: 26px; }
.service-tile h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: -.1px;
}
.service-tile p { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ===== Location cards ===== */
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.loc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.loc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.loc-photo {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .45), rgba(185, 28, 28, .3)),
    linear-gradient(45deg, #1f2937 0%, #374151 100%);
  position: relative;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 18px 22px;
  color: #fff;
}
.loc-photo::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0, rgba(255, 255, 255, .03) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0, rgba(255, 255, 255, .03) 1px, transparent 1px, transparent 24px);
  pointer-events: none;
}
.loc-photo .photo-tag {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .35);
  padding: 4px 10px;
  border-radius: 4px;
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
}
.loc-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.loc-body h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.4px;
  margin-bottom: 6px;
}
.loc-body .county { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.loc-body .addr { font-size: 15px; color: var(--text-soft); line-height: 1.5; margin-bottom: 14px; }
.loc-body .meta-row { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 14px; color: var(--text-soft); margin-bottom: 18px; }
.loc-body .meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.loc-body .meta-row svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.loc-body .loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.loc-body .loc-actions a { font-size: 14px; padding: 10px 16px; }

/* ===== CTA bands ===== */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}
.cta-band h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.6px;
  margin-bottom: 12px;
  color: #fff;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255, 255, 255, .9);
  max-width: 580px;
  margin: 0 auto 24px;
}
.cta-band .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.cta-band .btn-ghost { background: #fff; color: var(--dark); border-color: #fff; }
.cta-band .btn-ghost:hover { background: var(--bg-alt); color: var(--dark); }

/* ===== Two-column feature row ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature-row .feature-text h3 { font-size: 28px; font-weight: 900; letter-spacing: -.5px; margin-bottom: 14px; color: var(--dark); }
.feature-row .feature-text p { font-size: 16px; color: var(--text-soft); margin-bottom: 14px; }
.feature-row .feature-text ul { margin: 0 0 18px 20px; }
.feature-row .feature-text li { color: var(--text-soft); margin-bottom: 6px; }
.feature-visual {
  background: linear-gradient(135deg, var(--cream) 0%, #fde68a 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.feature-visual .visual-icon {
  width: 96px; height: 96px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  box-shadow: var(--shadow-md);
}
.feature-visual .visual-icon svg { width: 48px; height: 48px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .65);
  padding: 56px 24px 24px;
  font-size: 14px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col p, .footer-col a, .footer-col li {
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  line-height: 1.65;
}
.footer-col a { display: inline-block; padding: 2px 0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 4px; }
.footer-brand .brand-name { color: #fff; font-size: 18px; font-weight: 900; }
.footer-brand p { margin-top: 10px; max-width: 280px; }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .6); margin: 0 8px; }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* ===== Forms ===== */
.form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}
.form-wrap h3 { font-size: 22px; font-weight: 900; letter-spacing: -.4px; margin-bottom: 6px; color: var(--dark); }
.form-wrap > p.lead { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -.05px;
}
.field label .req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="file"],
.field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, .15);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field .help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field input[type="file"] { padding: 8px; background: var(--bg-alt); cursor: pointer; }
.form-submit { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-submit .note { font-size: 13px; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; }

/* ===== Doc/page (privacy etc) ===== */
.doc-page main { max-width: 780px; margin: 0 auto; padding: 56px 24px 72px; }
.doc-page h1 { font-size: 36px; font-weight: 900; letter-spacing: -.7px; color: var(--dark); margin-bottom: 8px; }
.doc-page .doc-meta { font-size: 13px; color: var(--muted); margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.doc-page h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin: 38px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border); letter-spacing: -.2px; }
.doc-page h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 22px 0 8px; }
.doc-page p, .doc-page li { color: var(--text-soft); font-size: 15.5px; line-height: 1.7; }
.doc-page p { margin-bottom: 14px; }
.doc-page ul, .doc-page ol { margin: 8px 0 14px 22px; }
.doc-page li { margin-bottom: 6px; }
.doc-page .callout {
  background: var(--bg-warm);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 18px 0;
}
.doc-page .sample {
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 13px;
  color: var(--dark);
  line-height: 1.55;
}

/* ===== Utility ===== */
.text-center { text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .hero { padding: 70px 20px 60px; }
  .hero h1 { font-size: 36px; letter-spacing: -.7px; }
  .hero .sub { font-size: 16px; }
  .section { padding: 56px 20px; }
  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 15px; }
  .nav-wrap { padding: 12px 18px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); flex-direction: column; padding: 8px 16px 16px; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 14px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .main-nav a.cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 20px; }
  .cta-band h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
