/* ==========================================================================
   Savage Auto Detail — Contact / Appointment page
   Recreated from savageautodetail.com/contact-us/ (Astra + Elementor Pro)
   Tokens & breakpoints per research/design-spec.md
   Layout breakpoints: 1024 / 767  ·  Typography breakpoints: 921 / 544
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../assets/fonts/oswald-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/roboto-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Varela Round';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/varela-round-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --red: #b20c16;
  --white: #ffffff;
  --gray-light: #d8d8d8;
  --black-section: #0f0f0f;
  --black-deep: #080808;
  --card-fill: #08080845;          /* translucent near-black card */
  --field-fill: #0000006e;         /* translucent black field */
  --field-border: #757575;
  --btn-text: #181818;
  --white-75: rgba(255, 255, 255, 0.75);
  --container: 1200px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--black-deep);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 20px;
}
h1 { font-size: 80px; font-weight: 700; line-height: 1.1em; }
h2 { font-size: 40px; font-weight: 700; line-height: 1.1em; }
h3 { font-size: 32px; font-weight: 700; line-height: 1.2em; }
h4 { font-size: 24px; font-weight: 400; line-height: 1.2em; }
h5 { font-size: 18px; font-weight: 400; line-height: 1.2em; }

/* Astra typography breakpoints */
@media (max-width: 921px) {
  h1 { font-size: 72px; }
  h2 { font-size: 32px; }
  h3 { font-size: 28px; }
  h4 { font-size: 22px; }
  h5 { font-size: 17px; }
}
@media (max-width: 544px) {
  h1 { font-size: 40px; }
  body { font-size: 15px; }
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 25px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Astra outline button (GET STARTED / CONTACT US footer) */
.ast-button {
  display: inline-block;
  border: 2px solid var(--red);
  border-radius: 7px;
  padding: 14px 30px;
  background-color: transparent;
  color: var(--red);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.ast-button:hover,
.ast-button:focus {
  background-color: var(--red);
  border-color: var(--red);
  color: #000000;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background-color: var(--black-section);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo img { width: 238px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}
.site-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #9b9b9b;
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--white); }
.site-nav a.is-active { color: var(--white); }
.site-header__phone {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--white);
  border: 1px solid var(--red);
  border-radius: 10px;
  padding: 16px 28px;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.site-header__phone:hover { background-color: var(--red); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 9px 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  margin: 5px 0;
}

@media (max-width: 1024px) {
  .site-header__logo img { width: 180px; }
  .site-nav { gap: 24px; }
  .site-nav a { font-size: 15px; }
  .site-header__phone { font-size: 15px; padding: 12px 18px; letter-spacing: 2px; }
}
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--black-section);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 10px 25px 20px;
    z-index: 50;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 16px; }
  .site-header { position: relative; }
  .site-header__phone { display: none; }
}

/* ==========================================================================
   Hero — Contact Us + appointment form card
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--black-section);
  background-image: url('../assets/images/custom-bike-builder-story-section-bg-1-1.svg');
  background-position: bottom left;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero__inner {
  max-width: 2000px;
  margin: 0 auto;
  padding: 60px 108px 70px;
  display: flex;
  flex-direction: row-reverse;   /* form card right, text left */
  align-items: flex-start;
  gap: 0;
}
.hero__text { flex: 1 1 50%; min-width: 0; padding-top: 10px; }
.hero__card-col { flex: 1 1 50%; min-width: 0; }

.hero__title {
  margin-bottom: 8px;
}
.hero__title::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin-top: 14px;
  background-color: var(--red);
}
.hero__subtitle {
  font-size: 28px;
  margin-bottom: 18px;
}
.hero__lede {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45em;
  color: var(--white);
  margin: 0 0 36px;
  max-width: 750px;
}

.hero__bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
}
.hero__bullets svg {
  width: 26px; height: 26px;
  flex: 0 0 auto;
  fill: var(--red);
}

.hero__disclaimer {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 40px;
  max-width: 640px;
}
.hero__disclaimer strong {
  display: block;
  margin-bottom: 14px;
  letter-spacing: .5px;
}

/* Have A Question / Service Availability */
.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 70px;
  padding-left: 25px;
}
.hero-info h3 {
  font-family: 'Montserrat', sans-serif;
  text-transform: none;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-info__contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
}
.hero-info__contact .phone-line { font-size: 19px; font-weight: 600; }
.hero-info__contact svg { width: 18px; height: 18px; fill: var(--white); flex: 0 0 auto; }
.hero-info__social { display: flex; gap: 12px; margin-top: 18px; }
.hero-info__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 6px;
  background: var(--white);
  transition: background-color .2s ease;
}
.hero-info__social a:hover { background: var(--red); }
.hero-info__social svg { width: 20px; height: 20px; fill: #111111; }

.hero-info__hours {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  margin: 0 0 18px;
}
.hero-info__areas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, max-content));
  gap: 12px 40px;
}
.hero-info__areas li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}
.hero-info__areas svg { width: 14px; height: 14px; fill: var(--white); flex: 0 0 auto; }

/* ---------- The red-glow form card ---------- */
.form-card {
  border: 1px solid var(--red);
  border-radius: 0;
  box-shadow: 2px 2px 17px 0 var(--red);
  background-color: var(--card-fill);
  margin: 50px 25px 50px 60px;    /* top right bottom left (desktop) */
  padding: 0 0 10px;
}
.form-card__title {
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  margin: 20px 0 0;
}

/* ---------- Elementor-style form ---------- */
.e-form {
  padding: 4% 5% 2%;
}
.e-form__fields {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7.5px -15px;
}
.field-group {
  padding: 0 7.5px;
  margin-bottom: 15px;
  width: 100%;
}
.field-group--50 { width: 50%; }

.e-form input[type='text'],
.e-form input[type='tel'],
.e-form input[type='email'],
.e-form input[type='date'],
.e-form select,
.e-form textarea {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  vertical-align: middle;
  border: 1px solid var(--field-border);
  border-radius: 3px;
  background-color: var(--field-fill);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 2.4em;
  word-spacing: 3px;
  padding: 14px;
}
.e-form ::placeholder {
  color: inherit;
  opacity: .6;
  font-family: inherit;
}
.e-form input:focus,
.e-form select:focus,
.e-form textarea:focus {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  outline: 0;
}
.e-form textarea {
  resize: vertical;
  line-height: 2.4em;
}

/* selects: custom caret */
.select-wrapper { position: relative; }
.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 34px;
  cursor: pointer;
}
.select-wrapper::before {
  content: "";
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--field-border);
  pointer-events: none;
}
.e-form select option { background-color: #181818; color: var(--white); }

/* date field: dark scheme so the native picker icon reads light;
   original form showed "Preferred Service Date" at full white (it was a value) */
.e-form input[type='date'] { color-scheme: dark; }
.e-form #f-date::placeholder { opacity: 1; }

/* submit */
.field-group--submit { text-align: center; }
.e-form button[type='submit'] {
  width: auto;
  border: 2px solid #7e222200;
  border-radius: 7px;
  padding: 20px 100px;
  background-color: var(--red);
  color: var(--btn-text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2em;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.e-form button[type='submit']:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--red);
}
.e-form button[type='submit'][disabled] { opacity: .6; cursor: wait; }

/* form result message */
.form-result {
  display: none;
  margin: 15px 7.5px 0;
  padding: 14px 18px;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}
.form-result.is-success {
  display: block;
  background: rgba(28, 132, 56, .18);
  border: 1px solid #2ea44f;
  color: #7ee2a8;
}
.form-result.is-error {
  display: block;
  background: rgba(178, 12, 22, .18);
  border: 1px solid var(--red);
  color: #ff8a91;
}

/* honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Map section — Professional Detailing That Comes To You
   ========================================================================== */
.map-section {
  position: relative;
  background-color: var(--black-deep);
  background-image: url('../assets/images/custom-bike-builder-owner-section-bg1-11.svg');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 50vw auto;
  padding: 90px 0;
}
.map-section__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.map-section__text { flex: 1 1 55%; min-width: 0; }
.map-section__media { flex: 1 1 45%; min-width: 0; }

.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
}
.map-section__text h2 { margin-bottom: 24px; max-width: 460px; }
.map-section__text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--white);
  margin: 0 0 34px;
  max-width: 520px;
}

.phone-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.phone-cta__icon {
  width: 52px; height: 52px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-cta__icon svg { width: 44px; height: 44px; fill: var(--red); }
.phone-cta__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}
.phone-cta__number {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.1;
}

.map-section__media img {
  width: 100%;
  max-width: 480px;
  height: 630px;
  object-fit: cover;
  margin-left: auto;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .55);
}

/* ==========================================================================
   Protect Your Investment
   ========================================================================== */
.protect {
  position: relative;
  background-image: url('../assets/images/pexels-bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 130px 0 150px;
}
.protect::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 8, 8, .92) 0%, rgba(8, 8, 8, .55) 55%, rgba(8, 8, 8, .25) 100%);
}
.protect__inner { position: relative; max-width: 620px; margin: 0; }
.protect h2 {
  font-size: 56px;
  line-height: 1.08;
  margin-bottom: 26px;
}
.protect p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 520px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--black-deep);
  padding: 70px 0 30px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.3fr;
  gap: 50px;
}
.site-footer__brand img { width: 210px; margin-bottom: 26px; }
.site-footer__brand p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-light);
  margin: 0 0 26px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--red);
  transition: opacity .2s ease;
}
.footer-social a:hover { opacity: .8; }
.footer-social svg { width: 22px; height: 22px; fill: var(--white); }

.site-footer h2.widget-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
}
.site-footer__contact p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-light);
  margin: 0 0 12px;
  word-break: break-word;
}
.site-footer__services ul { list-style: none; margin: 0; padding: 0; }
.site-footer__services li { margin-bottom: 14px; }
.site-footer__services a {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: var(--gray-light);
  transition: color .2s ease;
}
.site-footer__services a:hover { color: var(--red); }

/* GET A DETAIL inline form */
.detail-form__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.detail-form input[type='email'] {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: var(--white);
  color: #333333;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  padding: 12px 14px;
}
.detail-form input[type='email']::placeholder { color: #999999; }
.detail-form .ast-button { white-space: nowrap; }
.detail-form .form-result { margin: 12px 0 0; text-align: left; }

.site-footer__copyright {
  margin-top: 70px;
  text-align: center;
  font-size: 15px;
  color: var(--gray-light);
}

/* ==========================================================================
   Responsive — layout breakpoints 1024 / 767
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { padding: 40px 25px 50px; }
  .form-card { margin: 30px 5% 30px 30px; }
  .hero__lede { font-size: 16px; }
  .e-form input[type='text'],
  .e-form input[type='tel'],
  .e-form input[type='email'],
  .e-form input[type='date'],
  .e-form select,
  .e-form textarea,
  .e-form button[type='submit'] { font-size: 15px; }
  .e-form button[type='submit'] { padding: 20px 40px; }

  .map-section__inner { gap: 40px; }
  .protect h2 { font-size: 44px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  /* Mobile flow: heading → bullets → disclaimer → FORM CARD → Have A Question /
     Service Availability. hero__text dissolves (display:contents) so the card
     can slot in between the disclaimer and the info block via flex order. */
  .hero__inner {
    flex-direction: column;
    padding: 35px 20px 40px;
  }
  .hero__text { display: contents; }
  .hero__text > * { order: 1; }
  .hero__card-col { order: 2; width: 100%; }
  .hero-info { order: 3; }
  .hero__lede { font-size: 13px; }
  .form-card { margin: 0 0 40px; width: 100%; }
  .e-form { padding: 4% 5% 5%; }
  .field-group--50 { width: 50%; }
  .hero-info { padding-left: 0; flex-direction: column; }

  .map-section {
    padding: 60px 0 70px;
    background-size: 90vw auto;
    background-position: bottom right;   /* stripes sit under the map image on mobile */
  }
  .map-section__inner { flex-direction: column; }
  .map-section__text p { max-width: none; }
  .map-section__media img { height: auto; max-width: none; margin-left: 0; }

  .protect { padding: 80px 0 90px; }
  .protect h2 { font-size: 36px; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-form__row { flex-direction: column; }
}

@media (max-width: 479px) {
  .field-group--50 { width: 100%; }
  .e-form button[type='submit'] { padding: 18px 20px; }
}
