/* ── Location Landing Pages (gunsmith-midland-tx, gunsmith-odessa-tx) ────────── */
/* Dark warm background, Instrument Serif headings, amber/burnt orange accents.   */
/* Relies on tracker.css CSS variables loaded first.                              */

/* ── Google Fonts ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Rajdhani:wght@500;600;700&display=swap');

/* ── Header ─────────────────────────────────────────────────────────────────── */
.loc-header {
  background: #0f1215;
  border-bottom: 1px solid #252b33;
  position: sticky;
  top: 0;
  z-index: 100;
}
.loc-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.loc-brand {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #e8eaed;
  text-decoration: none;
  letter-spacing: .02em;
}
.loc-brand span { color: #c8a96e; font-style: normal; }

.loc-nav { display: flex; align-items: center; gap: 20px; }
.loc-nav-link {
  font-size: .85rem;
  color: #8b939e;
  text-decoration: none;
  transition: color .15s;
  font-family: 'Space Grotesk', sans-serif;
}
.loc-nav-link:hover { color: #e8eaed; text-decoration: none; }
.loc-nav-cta {
  background: #c8a96e;
  color: #0b0d0f;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .15s;
  font-family: 'Space Grotesk', sans-serif;
}
.loc-nav-cta:hover { opacity: .88; text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.loc-hero {
  background: linear-gradient(160deg, #141210 0%, #1c1612 40%, #0f0d0b 100%);
  border-bottom: 1px solid #252b33;
  padding: 80px 24px 72px;
  position: relative;
}
.loc-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8a96e40, transparent);
}
.loc-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.loc-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #c8a96e;
  background: rgba(200, 169, 110, .08);
  border: 1px solid rgba(200, 169, 110, .28);
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 28px;
}
.loc-hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-style: italic;
  line-height: 1.1;
  color: #e8eaed;
  margin-bottom: 20px;
}
.loc-lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  color: #a8adb4;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 680px;
}
.loc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.loc-btn-primary {
  background: #c8a96e;
  color: #0b0d0f;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  display: inline-block;
}
.loc-btn-primary:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.loc-btn-ghost {
  border: 1px solid #3a3225;
  color: #a8adb4;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .88rem;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .15s, color .15s;
  display: inline-block;
}
.loc-btn-ghost:hover { border-color: #c8a96e; color: #e8eaed; text-decoration: none; }

/* ── Section Shell ───────────────────────────────────────────────────────────── */
.loc-section { padding: 72px 24px; }
.loc-section-alt { background: #0f1215; border-top: 1px solid #1a1c1e; border-bottom: 1px solid #1a1c1e; }
.loc-inner { max-width: 1100px; margin: 0 auto; }
.loc-section-header { margin-bottom: 44px; }
.loc-section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c8a96e;
  display: block;
  margin-bottom: 12px;
}
.loc-section-header h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-style: italic;
  color: #e8eaed;
  line-height: 1.2;
  margin-bottom: 8px;
}
.loc-section-sub {
  color: #8b939e;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .95rem;
  line-height: 1.65;
  max-width: 620px;
}

/* ── Map / Drive-Time Block ─────────────────────────────────────────────────── */
.loc-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.loc-map-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.loc-map-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  color: #e8eaed;
  line-height: 1.2;
  margin: 0;
}
.loc-map-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .93rem;
  color: #8b939e;
  line-height: 1.7;
  margin: 0;
}
.loc-shop-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}
.loc-shop-detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.loc-detail-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.loc-detail-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #c8a96e;
  margin-bottom: 2px;
}
.loc-detail-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .92rem;
  color: #c8c9cc;
  line-height: 1.5;
}
.loc-detail-value a {
  color: #c8a96e;
  text-decoration: none;
}
.loc-detail-value a:hover { text-decoration: underline; }
.loc-map-embed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loc-map-link {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  color: #8b939e;
  text-decoration: none;
  text-align: right;
}
.loc-map-link:hover { color: #c8a96e; text-decoration: underline; }

/* ── Services Grid ───────────────────────────────────────────────────────────── */
.loc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.loc-service-card {
  background: #141210;
  border: 1px solid #252b33;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .15s;
}
.loc-service-card:hover {
  border-color: rgba(200, 169, 110, .3);
  transform: translateY(-2px);
}
.loc-service-icon {
  font-size: 1.3rem;
  color: #c8a96e;
  line-height: 1;
  margin-bottom: 4px;
}
.loc-service-card h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #e8eaed;
  margin: 0;
}
.loc-service-card h3 a { color: inherit; text-decoration: none; }
.loc-service-card h3 a:hover { color: #c8a96e; }
.loc-service-card p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .87rem;
  color: #8b939e;
  line-height: 1.65;
  flex: 1;
}
.loc-service-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #c8a96e;
  text-decoration: none;
  margin-top: 4px;
  display: inline-block;
}
.loc-service-link:hover { text-decoration: underline; }

/* ── Why Drive Bullets (5 Reasons) ───────────────────────────────────────────── */
.loc-bullets { display: flex; flex-direction: column; gap: 32px; }
.loc-bullet {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-left: 2px solid #2a2419;
  padding-left: 20px;
}
.loc-bullet-mark {
  font-family: 'Rajdhani', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: #c8a96e;
  flex-shrink: 0;
  width: 28px;
  letter-spacing: .05em;
  padding-top: 2px;
}
.loc-bullet-body strong {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #e8eaed;
  margin-bottom: 8px;
}
.loc-bullet-body p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .88rem;
  color: #8b939e;
  line-height: 1.72;
  margin: 0;
}

/* ── Local Context ───────────────────────────────────────────────────────────── */
.loc-local-context {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.loc-local-text h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-style: italic;
  color: #e8eaed;
  line-height: 1.25;
  margin-bottom: 18px;
}
.loc-local-text p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .93rem;
  color: #8b939e;
  line-height: 1.78;
  margin-bottom: 14px;
}
.loc-local-text p:last-child { margin-bottom: 0; }
.loc-local-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.loc-aside-card {
  background: #141210;
  border: 1px solid #252b33;
  border-left: 3px solid #c8a96e;
  border-radius: 8px;
  padding: 18px 20px;
}
.loc-aside-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8b939e;
  margin-bottom: 6px;
}
.loc-aside-stat {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.8rem;
  font-style: italic;
  color: #c8a96e;
  line-height: 1;
  margin-bottom: 6px;
}
.loc-aside-detail {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .77rem;
  color: #6b7280;
  line-height: 1.4;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.loc-faq { display: flex; flex-direction: column; gap: 0; }
.loc-faq-item {
  border-top: 1px solid #1e201f;
  padding: 26px 0;
}
.loc-faq-item:last-child { border-bottom: 1px solid #1e201f; }
.loc-faq-q {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #e8eaed;
  margin-bottom: 12px;
  line-height: 1.35;
}
.loc-faq-a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem;
  color: #8b939e;
  line-height: 1.75;
  margin: 0;
  max-width: 720px;
}

/* ── CTA Banner ──────────────────────────────────────────────────────────────── */
.loc-cta-banner {
  background: linear-gradient(135deg, #1c1612 0%, #141210 100%);
  border-top: 1px solid #252b33;
  border-bottom: 1px solid #252b33;
  padding: 72px 24px;
  text-align: center;
}
.loc-cta-inner { max-width: 640px; margin: 0 auto; }
.loc-cta-inner h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-style: italic;
  color: #e8eaed;
  margin-bottom: 14px;
}
.loc-cta-inner p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .95rem;
  color: #8b939e;
  line-height: 1.7;
  margin-bottom: 32px;
}
.loc-cta-banner .loc-cta-row { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.loc-footer {
  background: #0a0c0e;
  border-top: 1px solid #1a1c1e;
  padding: 32px 24px;
}
.loc-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loc-footer-brand {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: .88rem;
  color: #6b7280;
}
.loc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.loc-footer-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  color: #6b7280;
  text-decoration: none;
}
.loc-footer-links a:hover { color: #c8a96e; }
.loc-footer-geo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  color: #8b939e;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.loc-footer-geo strong { color: #e8eaed; margin-right: 4px; font-weight: 600; }
.loc-footer-geo a { color: #c8a96e; text-decoration: none; }
.loc-footer-geo a:hover { text-decoration: underline; }

/* ── Portfolio / Recent Work ────────────────────────────────────────────────── */
.loc-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.loc-portfolio-card {
  display: flex;
  flex-direction: column;
  background: #141210;
  border: 1px solid #252b33;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.loc-portfolio-card:hover {
  border-color: rgba(200, 169, 110, .35);
  transform: translateY(-2px);
}
.loc-portfolio-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f1215;
}
.loc-portfolio-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loc-portfolio-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #252b33; background: #0f1215;
}
.loc-portfolio-body {
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.loc-portfolio-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c8a96e;
  background: rgba(200, 169, 110, .1);
  border: 1px solid rgba(200, 169, 110, .22);
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
}
.loc-portfolio-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: #e8eaed;
  margin: 0;
  line-height: 1.3;
}
.loc-portfolio-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  color: #8b939e;
  line-height: 1.6;
  margin: 0;
}

/* ── Testimonials ────────────────────────────────────────────────────────────── */
.loc-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.loc-testimonial-card {
  background: #141210;
  border: 1px solid #252b33;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loc-testimonial-stars { display: flex; gap: 2px; margin-bottom: 4px; }
.loc-star { font-size: .88rem; color: #252b33; }
.loc-star-filled { color: #c8a96e; }
.loc-testimonial-service {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b939e;
  background: #0f1215;
  border: 1px solid #252b33;
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
}
.loc-testimonial-body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .87rem;
  color: #8b939e;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  flex: 1;
}
.loc-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #1e201f;
}
.loc-testimonial-meta strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .87rem;
  font-weight: 600;
  color: #e8eaed;
}
.loc-testimonial-loc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .77rem;
  color: #6b7280;
}

/* ── Inline Contact Form ─────────────────────────────────────────────────────── */
.loc-contact-section {
  background: #0f1215;
  border-top: 1px solid #1a1c1e;
  border-bottom: 1px solid #1a1c1e;
  padding: 72px 24px;
}
.loc-form-card {
  max-width: 700px;
  margin: 0 auto;
  background: #141210;
  border: 1px solid #252b33;
  border-radius: 14px;
  padding: 40px 36px;
}
.loc-form-card h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.9rem;
  font-style: italic;
  color: #e8eaed;
  margin: 0 0 8px;
}
.loc-form-card p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem;
  color: #8b939e;
  line-height: 1.65;
  margin: 0 0 32px;
}
.loc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.loc-form-full { grid-column: 1 / -1; }
.loc-form-group { display: flex; flex-direction: column; gap: 6px; }
.loc-form-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: #c8c9cc;
  letter-spacing: .03em;
}
.loc-form-group input,
.loc-form-group select,
.loc-form-group textarea {
  background: #0f1215;
  border: 1px solid #252b33;
  border-radius: 6px;
  color: #e8eaed;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .93rem;
  padding: 11px 14px;
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.loc-form-group input:focus,
.loc-form-group select:focus,
.loc-form-group textarea:focus {
  outline: none;
  border-color: #c8a96e;
}
.loc-form-group textarea { min-height: 110px; resize: vertical; }
.loc-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b939e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.loc-form-submit {
  background: #c8a96e;
  color: #0b0d0f;
  border: none;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 28px;
  cursor: pointer;
  transition: opacity .15s;
  width: 100%;
  margin-top: 8px;
}
.loc-form-submit:hover { opacity: .88; }
.loc-form-privacy {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 12px;
}
.loc-form-success {
  text-align: center;
  padding: 32px 0;
}
.loc-form-success h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.6rem;
  font-style: italic;
  color: #c8a96e;
  margin: 0 0 10px;
}
.loc-form-success p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem;
  color: #8b939e;
  margin: 0;
}
.loc-form-error {
  background: rgba(220, 38, 38, .1);
  border: 1px solid rgba(220, 38, 38, .3);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .87rem;
  color: #ef4444;
  margin-bottom: 20px;
}
.hp-field { display: none !important; }

/* ── Drive Route Panel ───────────────────────────────────────────────────────── */
.loc-route-panel {
  background: #141210;
  border: 1px solid #252b33;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.loc-route-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(200, 169, 110, .12);
  color: #c8a96e;
  border: 1px solid rgba(200, 169, 110, .22);
  border-radius: 5px;
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.loc-route-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .83rem;
  color: #8b939e;
  line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .loc-header-inner { height: 56px; }
  .loc-nav { gap: 12px; }
  .loc-nav-link { display: none; }
  .loc-hero { padding: 52px 20px 48px; }
  .loc-section { padding: 52px 20px; }
  .loc-local-context { grid-template-columns: 1fr; gap: 32px; }
  .loc-local-aside { flex-direction: row; flex-wrap: wrap; }
  .loc-aside-card { flex: 1; min-width: 140px; }
  .loc-services-grid { grid-template-columns: 1fr; }
  .loc-cta-banner .loc-cta-row { flex-direction: column; align-items: stretch; }
  .loc-map-grid { grid-template-columns: 1fr; gap: 28px; }
  .loc-portfolio-grid { grid-template-columns: 1fr; }
  .loc-testimonials-grid { grid-template-columns: 1fr; }
  .loc-form-card { padding: 28px 20px; }
  .loc-form-grid { grid-template-columns: 1fr; }
}