/* ============================================
   BMW SERVICE MIAMI — SERVICE PORTAL
   Request a service · Contact · Careers
   ============================================ */

/* --- HERO --- */
.sp-hero {
  position: relative;
  height: clamp(460px, 76vh, 780px);
  overflow: hidden;
  background: #000;
}
.sp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.sp-hero-fade-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 170px;
  background: linear-gradient(to bottom, #000 0%, transparent 100%);
  pointer-events: none;
}
.sp-hero-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 62%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.9) 78%, #000 100%);
  pointer-events: none;
}
.sp-hero-text {
  position: absolute;
  bottom: 7%;
  left: 0; right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}
.sp-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1rem;
}
.sp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1rem;
}
.sp-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--red-bright);
}
.sp-hero-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 460px;
  margin: 0 auto 1.8rem;
}
.sp-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sp-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.sp-btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.sp-btn-red:hover {
  background: transparent;
  color: var(--red-bright);
}
.sp-btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.sp-btn-outline:hover {
  border-color: var(--red);
  color: #fff;
}

/* --- SECTION SHELL --- */
.sp-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 3rem;
}
.sp-section + .sp-section {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sp-section-head {
  margin-bottom: 3rem;
}
.sp-section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.9rem;
}
.sp-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}
.sp-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--red-bright);
}
.sp-section-intro {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
}

/* --- FORMS --- */
.sp-form {
  display: flex;
  flex-direction: column;
}
.sp-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.sp-field label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sp-field input,
.sp-field select,
.sp-field textarea {
  width: 100%;
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease;
}
.sp-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.sp-field input::placeholder,
.sp-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.sp-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.sp-field select option { background: #0c0c0c; color: #fff; }
.sp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.sp-form-submit {
  width: 100%;
  margin-top: 0.5rem;
}
.sp-form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}
.sp-form-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}

/* --- SECTION 1: REQUEST + BOOKING --- */
.sp-request-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 3rem;
  align-items: start;
}
.sp-booking {
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--red);
  border-radius: 0 0 4px 4px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: sticky;
  top: 2rem;
}
.sp-booking-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(192,57,43,0.14);
  border: 1px solid rgba(192,57,43,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
}
.sp-booking-icon svg { width: 22px; height: 22px; }
.sp-booking h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.sp-booking p {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}
.sp-booking .sp-btn { width: 100%; margin-top: 0.3rem; }
.sp-booking-note {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* --- SECTION 2: CONTACT --- */
.sp-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sp-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  padding: 2.4rem 1.6rem;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.sp-contact-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.sp-contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
  margin-bottom: 0.4rem;
}
.sp-contact-icon svg { width: 20px; height: 20px; }
.sp-contact-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sp-contact-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.sp-contact-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
}
a.sp-contact-card:hover .sp-contact-value { color: var(--red-bright); }

/* --- SECTION 3: HIRING --- */
.sp-hiring-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.sp-hiring-img {
  position: relative;
  border: 2px solid var(--red);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.sp-hiring-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- RESUME UPLOAD --- */
.sp-resume {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.8rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 3px;
  background: #0c0c0c;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.sp-resume:hover,
.sp-resume.has-file {
  border-color: var(--red);
  background: rgba(192,57,43,0.04);
}
.sp-resume svg { width: 26px; height: 26px; color: var(--red-bright); }
.sp-resume-label {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: rgba(255,255,255,0.75);
}
.sp-resume.has-file .sp-resume-label {
  color: var(--red-bright);
  font-weight: 500;
}
.sp-resume-hint {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.sp-resume input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 880px) {
  .sp-section { padding: 4rem 1.5rem; }
  .sp-request-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sp-booking { position: static; }
  .sp-contact-grid { grid-template-columns: 1fr; }
  .sp-hiring-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sp-hiring-img { aspect-ratio: 16 / 10; max-height: 360px; }
}

@media (max-width: 480px) {
  .sp-field-row { grid-template-columns: 1fr; gap: 0; }
  .sp-hero-actions { width: 100%; }
  .sp-hero-actions .sp-btn { flex: 1 1 auto; }
}
