/*
Theme Name: LV Mobile Mechanic Fast
Theme URI: https://example.com/lv-mobile-mechanic-fast
Author: Edward Aylward
Author URI: https://example.com
Description: A one-column, ultra-fast, SEO-focused WordPress theme for a Las Vegas mobile mechanic business targeting mobile mechanic near me Las Vegas NV searches.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lv-mobile-mechanic-fast
Tags: one-column, custom-logo, custom-menu, featured-images, fast, seo, local-business
*/

:root {
  --bg: #ffffff;
  --text: #151515;
  --muted: #555555;
  --border: #e7e7e7;
  --brand: #f59e0b;
  --brand-dark: #b45309;
  --dark: #111827;
  --light: #f8fafc;
  --success: #15803d;
  --max: 980px;
  --radius: 18px;
  --shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus {
  color: #78350f;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto !important;
  clip-path: none;
  background: #000;
  color: #fff;
  display: block;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner,
.site-main,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.custom-logo-link {
  line-height: 0;
  flex: 0 0 auto;
}

.custom-logo {
  max-height: 48px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.site-title a {
  color: var(--dark);
  text-decoration: none;
}

.site-description {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #111827;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.22);
}

.header-call:hover,
.header-call:focus {
  background: #fbbf24;
  color: #111827;
}

.site-main {
  display: block;
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  color: #92400e;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1,
.page-title,
.entry-title {
  margin: 0 0 1rem;
  color: var(--dark);
  font-size: clamp(2.25rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.hero-lead {
  margin: 0 0 1.4rem;
  max-width: 760px;
  color: #374151;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--brand);
  color: #111827;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.24);
}

.button.secondary {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--border);
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  transform: translateY(-1px);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: #374151;
  font-weight: 700;
}

.trust-list li {
  padding: 0.35rem 0.65rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 0.85rem;
  color: var(--dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-intro {
  max-width: 760px;
  margin: 0 0 1.5rem;
  color: #374151;
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  padding: clamp(1.1rem, 3vw, 1.5rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.4rem;
  color: var(--dark);
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: #374151;
}

.service-list,
.area-list,
.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li,
.area-list li,
.check-list li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--light);
  font-weight: 700;
}

.check-list li::before,
.service-list li::before,
.area-list li::before {
  content: "✓";
  margin-right: 0.55rem;
  color: var(--success);
  font-weight: 900;
}

.callout {
  padding: clamp(1.4rem, 4vw, 2rem);
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.callout h2,
.callout h3,
.callout p {
  color: #fff;
}

.callout .button.primary {
  background: var(--brand);
  color: #111827;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.faq details + details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  color: var(--dark);
  font-weight: 900;
}

.faq p {
  margin-bottom: 0;
  color: #374151;
}

.entry-content {
  padding: 2.5rem 0;
}

.entry-content > * {
  max-width: 760px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.entry-content p,
.entry-content li {
  color: #374151;
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--light);
  color: #374151;
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
}

.footer-inner p {
  margin: 0;
}

.sticky-mobile-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #111827;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 64px;
  }

  .site-description {
    display: none;
  }

  .header-call {
    display: none;
  }

  .sticky-mobile-call {
    display: inline-flex;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
