/* ---------- Auto Spark Motors - Main Stylesheet ---------- */
:root {
  --red: #E8001C;
  --red-dark: #B80016;
  --grey: #DADADA;
  --dark: #1A1A1A;
  --dark-2: #232323;
  --white: #FFFFFF;
  --text: #1F1F1F;
  --muted: #6B6B6B;
  --line: #E7E7E7;
  --radius: 12px;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--head);
  line-height: 1.05;
  letter-spacing: .3px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  font-size: 15px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}

.section-sub {
  color: var(--muted);
  max-width: 620px;
  margin-top: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
  transform: skewX(-8deg);
}

.btn > span {
  transform: skewX(8deg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-dark);
  transform: skewX(-8deg) translateY(-2px);
}

.btn-outline {
  border-color: var(--grey);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  transform: skewX(-8deg) translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 26, .97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #2c2c2c;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav .logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--grey);
  font-weight: 500;
  font-size: 15px;
  transition: color .2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links .btn {
  padding: 9px 20px;
  font-size: 16px;
  color: #fff;
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .25s;
}

@media (max-width: 820px) {
  .burger {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--dark);
    border-bottom: 1px solid #2c2c2c;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  .nav-links.open {
    max-height: 380px;
  }
  .nav-links a {
    padding: 14px 20px;
    width: 100%;
    border-top: 1px solid #2a2a2a;
  }
  .nav-links .btn {
    margin: 14px 20px 18px;
    width: calc(100% - 40px);
  }
  .nav .logo img {
    height: 38px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 58%, rgba(232, 0, 28, .14) 58.2%, transparent 70%),
    linear-gradient(100deg, transparent 66%, rgba(255, 255, 255, .04) 66.2%, transparent 80%),
    repeating-linear-gradient(-8deg, transparent 0 46px, rgba(255, 255, 255, .025) 46px 47px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 0, 28, .14);
  border: 1px solid rgba(232, 0, 28, .5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 22px;
  letter-spacing: .4px;
}

.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(232, 0, 28, .25);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(232, 0, 28, 0);
  }
}

.hero h1 {
  font-size: clamp(46px, 7.5vw, 84px);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--red);
  font-style: italic;
}

.hero p.lead {
  color: var(--grey);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 540px;
  margin: 20px 0 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-logo {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5));
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid #333;
}

.hero-stats div {
  font-size: 13px;
  color: #a8a8a8;
}

.hero-stats strong {
  display: block;
  font-family: var(--head);
  font-style: italic;
  font-size: 30px;
  color: #fff;
  line-height: 1;
}

@media (max-width: 820px) {
  .hero {
    padding: 48px 0 64px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-logo {
    order: -1;
    max-width: 340px;
  }
}

@media (max-width: 640px) {
  .hero-logo {
    display: none;
  }
}

/* Mobile landscape (short viewport height, wider than the portrait breakpoint) */
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  .hero-logo {
    display: none;
  }
}

/* ---------- Services ---------- */
.services {
  padding: 88px 0;
  background: #F6F6F6;
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px 22px;
  text-align: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width .3s;
}

.card:hover, .card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
  border-color: transparent;
  outline: none;
}

.card:hover::after, .card:focus-visible::after {
  width: 100%;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232, 0, 28, .08);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  transition: background .2s;
}

.card:hover .icon {
  background: var(--red);
}

.icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .2s;
}

.card:hover .icon svg {
  stroke: #fff;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.card small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.card .book-link {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity .2s;
}

.card:hover .book-link {
  opacity: 1;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card {
    padding: 20px 10px 16px;
  }
  .card h3 {
    font-size: 17px;
  }
  .card small {
    display: none;
  }
  .card .book-link {
    opacity: 1;
  }
  .icon {
    width: 54px;
    height: 54px;
  }
  .icon svg {
    width: 26px;
    height: 26px;
  }
}

/* ---------- Why us ---------- */
.why {
  padding: 88px 0;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(232, 0, 28, .08));
  transform: skewX(-12deg);
}

.why .section-sub {
  color: #aaa;
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.why-item {
  background: var(--dark-2);
  border: 1px solid #2f2f2f;
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 26px 22px;
}

.why-item svg {
  width: 34px;
  height: 34px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}

.why-item h3 {
  font-size: 22px;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.why-item p {
  color: #b5b5b5;
  font-size: 14.5px;
}

@media (max-width: 980px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Booking ---------- */
.booking {
  padding: 88px 0;
  background: #fff;
}

.booking-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list .ci {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(232, 0, 28, .08);
  display: grid;
  place-items: center;
}

.contact-list .ci svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list b {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 600;
}

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

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .07);
}

.form-card form > h3 {
  font-size: 30px;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.form-card form > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field label .req {
  color: var(--red);
}

.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #D6D6D6;
  border-radius: 8px;
  background: #FBFBFB;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.field input[type="date"] {
  cursor: pointer;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 0, 28, .12);
  background: #fff;
}

.field.invalid input, .field.invalid select {
  border-color: var(--red);
  background: #FFF5F6;
}

.err {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  min-height: 0;
  display: none;
}

.field.invalid .err {
  display: block;
}

.form-card .btn {
  width: 100%;
  margin-top: 6px;
  font-size: 20px;
  padding: 15px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

.success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.success .tick {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(232, 0, 28, .1);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.success .tick svg {
  width: 36px;
  height: 36px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
}

.success h3 {
  margin-bottom: 8px;
}

.success p {
  color: var(--muted);
  margin-bottom: 20px;
}

.success .btn-again {
  background: none;
  border: 0;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}

@media (max-width: 880px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card {
    padding: 24px 18px;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: var(--grey);
  padding: 64px 0 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1.3fr;
  gap: 40px;
}

.foot-grid img.flogo {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}

.foot-grid h4 {
  font-family: var(--head);
  font-style: italic;
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: .5px;
}

.foot-grid p, .foot-grid li {
  font-size: 14.5px;
  color: #aaa;
}

.foot-grid ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.foot-grid a:hover {
  color: #fff;
}

.map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #333;
  height: 210px;
  background: #222;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.3) contrast(1.05);
}

.copy {
  border-top: 1px solid #2d2d2d;
  margin-top: 48px;
  padding: 20px 0;
  font-size: 13px;
  color: #888;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 880px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- About / Expert ---------- */
.about {
  padding: 88px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.expert-card {
  position: relative;
  background: var(--dark);
  color: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  overflow: hidden;
}

.expert-card::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 180px;
  height: 180px;
  background: var(--red);
  opacity: .12;
  transform: skewX(-14deg);
}

.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  font-family: var(--head);
  font-style: italic;
  font-weight: 800;
  font-size: 38px;
  margin-bottom: 18px;
  border: 4px solid #2e2e2e;
  box-shadow: 0 0 0 2px var(--red);
}

.expert-card h3 {
  font-size: 32px;
  font-style: italic;
  text-transform: uppercase;
}

.expert-card .role {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  margin: 4px 0 16px;
}

.expert-card p {
  color: #bdbdbd;
  font-size: 15px;
}

.expert-contact {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #333;
  font-size: 14.5px;
}

.expert-contact a {
  color: #fff;
  display: flex;
  gap: 10px;
  align-items: center;
}

.expert-contact a:hover {
  color: var(--red);
}

.expert-contact svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.about p.body {
  color: var(--muted);
  margin-top: 16px;
  font-size: 16px;
}

.about-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.about-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  font-size: 15px;
}

.about-points li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 4px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
  transform: skewX(-8deg);
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .about-points {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */
.testi {
  padding: 88px 0;
  background: #F6F6F6;
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 26px;
  position: relative;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: 1;
  color: var(--red);
  opacity: .15;
}

.stars {
  color: var(--red);
  letter-spacing: 3px;
  font-size: 17px;
  margin-bottom: 12px;
}

.quote blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote .ini {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  font-size: 19px;
}

.quote cite {
  font-style: normal;
  font-weight: 600;
  display: block;
}

.quote small {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 780px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s;
}

.fab a:hover {
  transform: scale(1.08);
}

.fab .wa {
  background: #25D366;
}

.fab .call {
  background: var(--red);
  display: none;
}

.fab svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@media (max-width: 820px) {
  .fab .call {
    display: grid;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}
