/* =========================================================================
   Day & Night Towing — site styles
   ========================================================================= */

:root {
  --bg: #0c0f14;
  --bg-2: #11151c;
  --surface: #161b25;
  --border: #232a36;
  --border-strong: #34404f;

  --text: #f1f3f7;
  --text-muted: #9aa3b2;
  --text-dim: #6b7585;

  --accent: #f59e0b;
  --accent-hot: #fbbf24;
  --accent-deep: #b45309;
  --accent-soft: rgba(245, 158, 11, 0.12);

  --success: #4ade80;
  --danger: #f87171;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7);

  --max-w: 1200px;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Oswald", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hot); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #1a1100;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #1a1100;
  box-shadow: 0 10px 28px -10px rgba(245, 158, 11, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  color: #1a1100;
  box-shadow: 0 14px 32px -10px rgba(245, 158, 11, 0.7);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  background: rgba(12, 15, 20, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--accent);
  border: 2px solid var(--accent);
}
.brand-accent { color: var(--accent); }

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.primary-nav a {
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color .15s ease, background .15s ease;
}
.primary-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.primary-nav .nav-cta {
  background: var(--accent);
  color: #1a1100;
  margin-left: 6px;
}
.primary-nav .nav-cta:hover { background: var(--accent-hot); color: #1a1100; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
  align-items: stretch;
  width: 42px;
  height: 40px;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 12% 0%, rgba(245,158,11,0.15), transparent 60%),
    radial-gradient(900px 600px at 95% 100%, rgba(180,83,9,0.18), transparent 60%);
}
.hero-stripes {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 14px,
    #0c0f14 14px 28px
  );
  opacity: 0.55;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.28);
  color: var(--accent);
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow.muted {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text-muted);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw + 0.4rem, 4.5rem);
  line-height: 1.0;
  letter-spacing: 0.01em;
  margin: 20px 0 22px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero h1 .line-1,
.hero h1 .line-2,
.hero h1 .line-accent {
  display: block;
}
.hero h1 .line-accent {
  color: var(--accent);
  font-style: italic;
  margin-top: 4px;
}

.lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 30px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13.5px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust svg { color: var(--success); }

.hero-art {
  position: relative;
}
.tow-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
  transition: transform .4s ease;
}
.tow-card:hover { transform: rotate(0deg); }
.tow-card svg { width: 100%; height: auto; display: block; }
.tow-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.tow-card-meta > div {
  padding: 18px 16px;
  border-right: 1px solid var(--border);
}
.tow-card-meta > div:last-child { border-right: none; }
.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 4px;
  font-weight: 700;
}
.meta-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw + 0.3rem, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 14px 0 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16.5px;
  margin: 0;
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
  border: 1px solid rgba(245,158,11,0.25);
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.service-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

/* Callout */
.callout-wrap { padding: 0 0 40px; }
.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
}
.callout-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  border: 2px solid var(--accent);
}
.callout-copy h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.callout-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
}

/* Recovery cards */
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.recovery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.rc-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.recovery-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.recovery-card p, .recovery-card li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.recovery-card ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}
.recovery-card li { margin-bottom: 4px; }
.recovery-card strong { color: var(--text); }
.rc-note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-dim);
}

/* About / Stats */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw + 0.3rem, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 14px 0 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.why-copy .section-sub { text-align: left; margin-bottom: 24px; }
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.why-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15.5px;
}
.why-list svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}
.why-list strong { color: var(--text); }
.why-list span { color: var(--text-muted); }
.why-list span strong { color: var(--text); }

.stat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.stat:nth-child(-n+2) { border-top: none; }
.stat:nth-child(2n) { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span {
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 2px;
}
.stat-num a { color: var(--accent); font-size: 26px; }
.stat-label {
  color: var(--text-muted);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.stat-label a { color: var(--accent); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw + 0.3rem, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 14px 0 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.contact-copy .section-sub { text-align: left; margin-bottom: 28px; }

.phone-block {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.phone-big {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}
.phone-big:hover { color: var(--accent-hot); }
.ext-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.ext {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(245,158,11,0.28);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-right: 10px;
  min-width: 50px;
  text-align: center;
}

.address-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ac-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.25);
}
.ac-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ac-line {
  color: var(--text-muted);
  font-size: 14.5px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(245,158,11,0.04);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.18);
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%239aa3b2' d='M6 8L0 0h12z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row-split label { margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.form-status {
  margin: 14px 0 0;
  font-size: 14px;
  min-height: 20px;
}
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

.form-fine {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
}
.form-fine a { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  gap: 18px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.05em;
  justify-content: center;
  color: var(--text);
}
.footer-tag {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  margin: 0;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 70px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .recovery-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .callout { grid-template-columns: 1fr; text-align: center; }
  .callout-icon { margin: 0 auto; }
}
@media (max-width: 720px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 10px;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .primary-nav.open { display: block; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .primary-nav a { padding: 12px 14px; }
  .primary-nav .nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: inline-flex; }
  .service-grid { grid-template-columns: 1fr; }
  .stat-card { grid-template-columns: 1fr; }
  .stat { border-right: none; border-top: 1px solid var(--border); }
  .stat:nth-child(1) { border-top: none; }
  .contact-form { padding: 24px 20px; }
  .hero-trust { gap: 14px; }
  .form-row-split { grid-template-columns: 1fr; }
  .phone-big { font-size: 30px; }
  .tow-card-meta { grid-template-columns: 1fr; }
  .tow-card-meta > div { border-right: none; border-bottom: 1px solid var(--border); }
  .tow-card-meta > div:last-child { border-bottom: none; }
}

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