:root {
  --bg: #05070b;
  --surface: #0b111a;
  --surface-light: #111b29;
  --card: #ffffff;

  --text: #0f172a;
  --muted: #64748b;
  --white: #ffffff;

  --blue: #0077ff;
  --blue-light: #00b7ff;
  --blue-dark: #0046b8;

  --silver: #d7dde8;
  --silver-dark: #8b95a7;

  --primary: #0077ff;
  --primary-dark: #005fd1;

  --border: #dce3ee;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 40, 100, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f5f6f8;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 92vh;
  background:
    linear-gradient(120deg, rgba(7, 10, 15, 0.92), rgba(17, 24, 39, 0.78)),
    url("https://images.unsplash.com/photo-1632823471565-1ecdf5c492e4?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 24px;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  display: flex;
  align-items: center;
}

.logo-img img {
  height: 58px;
  width: auto;
  display: block;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

.logo small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  color: #e5e7eb;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-call {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--primary);
  font-weight: 700;
}

.hero-content {
  max-width: 1180px;
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  margin: 18px 0 24px;
  max-width: 820px;
}

.hero-subtitle {
  max-width: 690px;
  color: #d1d5db;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.full {
  width: 100%;
}

.hero-points {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 760px;
}

.hero-points div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-points strong {
  display: block;
  font-size: 17px;
}

.hero-points span {
  display: block;
  margin-top: 5px;
  color: #cbd5e1;
  font-size: 14px;
}

.hero-card {
  background: white;
  color: var(--text);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.6;
}

.emergency-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: #111827;
  color: white;
}

.emergency-box span {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
}

.emergency-box a {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px;
}

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.intro h2,
.services h2,
.towing h2,
.booking h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 10px 0 0;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.service-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.section-subtitle {
  max-width: 680px;
  margin: 14px auto 0;
  line-height: 1.7;
}

.services {
  max-width: 1220px;
}

.service-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  padding: 34px;
  min-height: 230px;
  border-radius: 26px;
  border: 1px solid rgba(0, 119, 255, 0.14);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  transition: 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.12), transparent 42%);
  opacity: 0;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 119, 255, 0.35);
  box-shadow: 0 24px 60px rgba(0, 80, 180, 0.16);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, var(--silver), #ffffff 38%, var(--blue));
  box-shadow: 0 12px 30px rgba(0, 119, 255, 0.22);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: #07111f;
  stroke-width: 2.4;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 23px;
  margin: 0 0 12px;
  color: #07111f;
}

.service-card p {
  position: relative;
  z-index: 1;
  color: #536174;
  line-height: 1.7;
  margin: 0;
}

.towing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.towing-content {
  background: #111827;
  color: white;
  border-radius: 30px;
  padding: 44px;
}

.towing-content p {
  color: #d1d5db;
  line-height: 1.7;
  font-size: 17px;
}

.towing-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.towing-list div {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
  border-radius: 14px;
  color: #f9fafb;
}

.towing-panel {
  border-radius: 30px;
  background: var(--primary);
  color: white;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.towing-panel h3 {
  font-size: 34px;
  margin: 0 0 12px;
}

.towing-panel p {
  line-height: 1.6;
}

.towing-panel a {
  font-size: 28px;
  font-weight: 900;
  margin-top: 20px;
}

.booking {
  max-width: 1040px;
}

.booking-form {
  margin-top: 36px;
  background: white;
  padding: 32px;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.form-note {
  margin-top: 18px;
}

.form-note textarea {
  min-height: 116px;
  margin: 0;
}

.appointment-picker {
  margin-top: 30px;
  padding: 28px;
  border-radius: 22px;
  background: #24272d;
  color: #f7f9fc;
}

.appointment-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: #e8edf5;
  font-size: 24px;
  line-height: 1.2;
}

.appointment-title svg {
  width: 23px;
  height: 23px;
  color: #8fbfff;
  stroke-width: 3;
}

.appointment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 54px;
  align-items: start;
}

.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.calendar-heading h4,
.time-panel h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: #f8fafc;
}

.calendar-nav {
  display: flex;
  align-items: center;
}

.calendar-nav button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  padding: 0;
}

.calendar-nav button:first-child {
  border-radius: 999px 0 0 999px;
}

.calendar-nav button:last-child {
  border-radius: 0 999px 999px 0;
}

.calendar-nav button:disabled {
  background: rgba(255, 255, 255, 0.04);
  color: #6f7682;
  cursor: not-allowed;
}

.calendar-nav svg {
  width: 23px;
  height: 23px;
  stroke-width: 4;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  margin-bottom: 8px;
  font-weight: 800;
  color: #e4e9f1;
  font-size: 13px;
  text-transform: uppercase;
}

.calendar-weekdays span {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-empty,
.calendar-cell {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-grid {
  gap: 5px 3px;
}

.calendar-day {
  position: relative;
  width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #36393f;
  color: #f8fafc;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible {
  background: #eef6ff;
  color: #0f172a;
}

.calendar-day.is-selected {
  background: var(--primary);
  color: white;
}

.calendar-day:disabled {
  background: transparent;
  color: #808792;
  cursor: not-allowed;
}

.calendar-day:disabled::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  top: 50%;
  height: 1px;
  background: #b7bbc1;
  transform: rotate(-18deg);
}

.calendar-day.is-weekend {
  background: transparent;
  color: #79808b;
  font-weight: 700;
}

.calendar-day.is-weekend:disabled::after {
  display: none;
}

.time-panel {
  padding-top: 15px;
}

.time-slots {
  display: grid;
  gap: 24px;
  margin-top: 22px;
}

.time-group {
  display: grid;
  gap: 12px;
}

.time-group h5 {
  margin: 0;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
}

.time-group-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.time-slot {
  min-height: 38px;
  min-width: 84px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: #373a40;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  padding: 0 16px;
}

.time-slot:hover,
.time-slot:focus-visible,
.time-slot.is-selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.no-slots {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #f9fafb;
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  background: white;
}

textarea {
  margin: 18px 0;
  resize: vertical;
}

.form-message {
  margin: 16px 0 0;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: stretch;
}

.contact-map {
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #e9eef5;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.contact-details {
  padding: 4px 0;
}

.contact-details h2 {
  margin-bottom: 28px;
}

.contact-list {
  display: grid;
  gap: 26px;
}

.contact-list a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  color: #1f2a44;
  font-size: 18px;
  line-height: 1.45;
}

.contact-list svg {
  width: 21px;
  height: 21px;
  color: #5c6fd6;
  stroke-width: 2.7;
}

.contact-list a:hover span {
  color: var(--primary);
}

.footer {
  background: #0b0f14;
  color: white;
  padding: 34px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  color: #9ca3af;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-content,
  .intro,
  .towing,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-top: 48px;
  }

  .hero-points,
  .service-grid,
  .form-grid,
  .appointment-layout {
    grid-template-columns: 1fr;
  }

  .appointment-layout {
    gap: 30px;
  }

  .calendar-heading {
    align-items: flex-start;
  }

  .time-panel {
    padding-top: 0;
  }

  .time-group-slots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .time-slot {
    width: 100%;
  }

  .towing-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 18px;
  }

  .booking-form {
    padding: 22px;
  }

  .contact {
    gap: 30px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 320px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
