@import url('../css/styles.css');

/* ==========================================================================
   AC INSTALLATION — REDESIGNED HERO SECTION (REFERENCE MATCH)
   ========================================================================== */

.hero-editorial {
  position: relative;
  background: linear-gradient(180deg, #F4F8FC 0%, #FFFFFF 55%, #F8FAFD 100%);
  color: #0A192F;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4.25rem);
  padding-bottom: clamp(3rem, 5.5vw, 4.75rem);
  border-bottom: 1px solid #E8EEF5;
}

/* Background Wave Graphic & Ambient Glow */
.hero-background-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-wave-img {
  position: absolute;
  top: -15px;
  right: -5%;
  width: clamp(520px, 58vw, 880px);
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  z-index: 1;
}

.hero-bg-gradient-fill {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 18%, rgba(224, 240, 255, 0.45) 0%, rgba(255, 255, 255, 0) 65%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
}

/* 2-Column Hero Layout */
.hero-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN: EDITORIAL CONTENT & SOCIAL PROOF
   ========================================================================== */

.hero-editorial-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 580px;
}

/* Eyebrow Pill Badge */
.hero-tagline-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FDE8E7;
  border: 1px solid #FCD4D2;
  border-radius: 9999px;
  padding: 0.35rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D93830;
  margin-bottom: 1.25rem;
}

.hero-tagline-eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #D93830;
  flex-shrink: 0;
}

/* H1 Large Heading */
.hero-editorial-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 3.75vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0A192F;
  margin-bottom: 1.25rem;
}

.hero-accent-text {
  color: #D93830;
  position: relative;
}

/* Lead Paragraph */
.hero-lead-text {
  font-size: clamp(1.02rem, 1.15vw, 1.125rem);
  line-height: 1.62;
  color: #475569;
  margin-bottom: 1.75rem;
}

/* Social Proof: Avatars & Rating Stack */
.hero-social-proof-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
}

.hero-avatar-stack {
  display: flex;
  align-items: center;
}

.hero-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 29, 57, 0.16);
  margin-left: -12px;
  background-color: #E2E8F0;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.2s ease;
  position: relative;
}

.hero-avatar-img:first-child {
  margin-left: 0;
}

.hero-avatar-img:hover {
  transform: translateY(-3px) scale(1.12);
  z-index: 10;
}

.hero-rating-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-rating-stack .stars-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-rating-score-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #1E293B;
  font-family: var(--font-display);
}

.hero-rating-score-line .google-logo-svg {
  flex-shrink: 0;
}

.hero-rating-text-label {
  font-size: 0.9rem;
  color: #334155;
}

.hero-rating-text-label strong {
  color: #0A192F;
  font-weight: 800;
}

/* Side-by-Side CTAs */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-hero-call {
  background-color: #D93830;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.65rem;
  border-radius: 8px;
  border: 1.5px solid #D93830;
  box-shadow: 0 6px 20px rgba(217, 56, 48, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-call:hover {
  background-color: #BF2D26;
  border-color: #BF2D26;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(217, 56, 48, 0.38);
}

.btn-hero-services {
  background-color: transparent;
  color: #0A192F;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.65rem;
  border-radius: 8px;
  border: 1.5px solid #0A192F;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-services:hover {
  background-color: #0A192F;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 29, 57, 0.16);
}

/* 3 Trust Badges Strip */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid #E2E8F0;
  width: 100%;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000;
}

.hero-trust-item span {
  color: #000000;
}

.hero-trust-icon {
  color: #D93830;
  flex-shrink: 0;
}

/* ==========================================================================
   RIGHT COLUMN: WHITE FORM CARD & FLEET VAN ASSET
   ========================================================================== */

.hero-right-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 530px;
  margin-left: auto;
}

/* White Card Container */
.hero-form-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  box-shadow: 0 16px 40px -8px rgba(0, 29, 57, 0.12), 0 0 0 1px rgba(0, 29, 57, 0.05);
  border: 1px solid #E8EEF5;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-card-header {
  margin-bottom: 1.15rem;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: #0A192F;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.hero-card-subtitle {
  font-size: 0.84rem;
  color: #64748B;
  line-height: 1.45;
}

/* 2-Column Form Fields Grid */
.hero-grid-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-grid-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0;
  position: relative;
}

.hero-grid-form .form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  font-family: var(--font-display);
  margin-bottom: 0;
}

.text-req {
  color: #D93830;
  font-weight: 800;
}

.hero-grid-form .form-control {
  width: 100%;
  padding: 0.68rem 0.85rem;
  font-size: 0.875rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #0A192F;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.hero-grid-form .form-control::placeholder {
  color: #94A3B8;
  font-size: 0.84rem;
}

.hero-grid-form .form-control:focus {
  border-color: #001D39;
  box-shadow: 0 0 0 3px rgba(0, 29, 57, 0.1);
}

.hero-grid-form .form-group.has-error .form-control {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.hero-grid-form .field-error-msg {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: #DC2626;
  margin-top: 0.2rem;
}

.hero-grid-form .form-group.has-error .field-error-msg {
  display: block;
}

/* Custom Dropdown Styling */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.1rem;
  cursor: pointer;
}

.select-caret {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748B;
}

/* Full-Width Submit Button */
.btn-hero-submit {
  width: 100%;
  background-color: #001D39;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.88rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 29, 57, 0.22);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-hero-submit:hover {
  background-color: #0A2647;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 29, 57, 0.32);
}

.btn-hero-submit:active {
  transform: translateY(0);
}

/* Fleet Van Asset Container */
.hero-van-container {
  width: 100%;
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-van-img {
  width: 100%;
  max-width: 530px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 29, 57, 0.16));
  transition: transform 0.3s ease;
}

.hero-van-img:hover {
  transform: scale(1.015);
}

/* ==========================================================================
   PARTNER & CERTIFICATION TRUST STRIP (BELOW HERO)
   ========================================================================== */

.partner-strip-section {
  background-color: #F8FAFD;
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0;
  border-bottom: 1px solid #E8EEF5;
  position: relative;
  z-index: 5;
}

.partner-strip-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.partner-strip-title-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.partner-strip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #FDE8E7;
  border: 1px solid #FCD4D2;
  border-radius: 9999px;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D93830;
  margin-bottom: 0.85rem;
}

.partner-strip-eyebrow .eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #D93830;
  flex-shrink: 0;
}

.partner-strip-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.75vw, 2.4rem);
  font-weight: 800;
  color: #0A192F;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}

.partner-strip-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}

.partner-strip-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E5EBF2;
  padding: 1.15rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 29, 57, 0.04);
  min-height: 95px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-strip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 29, 57, 0.08);
  border-color: #CBD5E1;
}

.partner-strip-logo-img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   REPUTATION SPOTLIGHT SECTION (INSIDE VERIFIED CREDENTIALS)
   ========================================================================== */

.credibility-header-wrap h2 {
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.reputation-spotlight-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.reputation-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-cta) 100%);
}

.reputation-plaque-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reputation-plaque-frame {
  background: #000000;
  border-radius: 10px;
  padding: 5px;
  border: 1.5px solid rgba(197, 139, 58, 0.45);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: inline-flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reputation-plaque-frame:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.reputation-plaque-img {
  max-width: 165px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.reputation-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.reputation-stars-wrap {
  margin-bottom: 1.15rem;
}

.reputation-stars-img {
  width: auto;
  height: 76px;
  max-width: 320px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 12px rgba(197, 139, 58, 0.3));
}

.reputation-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 800;
  color: var(--color-text-title);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.reputation-subtext {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   04 — FINANCING PARTNERS SECTION
   ========================================================================== */

.financing-section {
  background-color: #F8FAFD;
  padding: clamp(2.5rem, 4.5vw, 3.5rem) 0;
  border-top: 1px solid #E8EEF5;
  border-bottom: 1px solid #E8EEF5;
}

.financing-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: center;
}

.financing-title-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.financing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #FDE8E7;
  border: 1px solid #FCD4D2;
  border-radius: 9999px;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D93830;
  margin-bottom: 0.85rem;
}

.financing-eyebrow .eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #D93830;
  flex-shrink: 0;
}

.financing-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.75vw, 2.4rem);
  font-weight: 800;
  color: #0A192F;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}

.financing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

.financing-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E5EBF2;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 29, 57, 0.04);
  min-height: 105px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.financing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 29, 57, 0.08);
  border-color: #CBD5E1;
}

.financing-logo-img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-editorial-content {
    max-width: 100%;
  }

  .hero-right-column {
    max-width: 580px;
    margin: 0 auto;
  }

  .hero-bg-wave-img {
    width: 75vw;
    opacity: 0.45;
    top: 0;
    right: -10vw;
  }

  .reputation-spotlight-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .reputation-content-col {
    align-items: center;
  }

  .partner-strip-layout-grid,
  .financing-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .partner-strip-title-col {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .partner-strip-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .partner-strip-heading {
    text-align: center;
  }

  .partner-strip-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-editorial {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .hero-editorial-h1 {
    font-size: 2rem;
  }

  /* 1. Center-align Avatar & Rating Badge Row in Hero */
  .hero-social-proof-block {
    align-items: center;
    width: 100%;
  }

  .hero-avatar-stack {
    justify-content: center;
    width: 100%;
  }

  .hero-rating-stack {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-rating-stack .stars-row {
    justify-content: center;
  }

  .hero-rating-score-line {
    justify-content: center;
    text-align: center;
  }

  .hero-avatar-img {
    width: 44px;
    height: 44px;
    margin-left: -10px;
  }

  /* 2. Form Grid & Left-Aligned Labels */
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-form-card {
    text-align: left;
  }

  .hero-card-header {
    text-align: left;
  }

  .hero-grid-form .form-group {
    align-items: flex-start;
    text-align: left;
  }

  .hero-grid-form .form-label {
    text-align: left;
    align-self: flex-start;
  }

  .hero-grid-form .form-control {
    text-align: left;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-hero-call,
  .btn-hero-services {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero-van-container {
    margin-top: 1rem;
  }

  .credibility-header-wrap h2 {
    white-space: normal;
  }

  .reputation-spotlight-card {
    padding: 1.5rem 1.25rem;
  }

  .reputation-plaque-img {
    max-width: 140px;
  }

  .reputation-stars-img {
    height: 56px;
  }

  /* 3. Financing Partners: Center-align content & 2-column logo cards layout */
  .financing-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .financing-title-col {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .financing-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .financing-heading {
    text-align: center;
  }

  .financing-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
  }

  .financing-card {
    padding: 1rem 0.75rem;
    min-height: 80px;
  }

  .financing-logo-img {
    max-height: 36px;
  }

  /* 4. Partner Strip Below Hero Mobile */
  .partner-strip-section {
    padding: 2rem 0;
  }

  .partner-strip-layout-grid {
    gap: 1.5rem;
    text-align: center;
  }

  .partner-strip-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
  }

  .partner-strip-card {
    padding: 0.85rem 0.65rem;
    min-height: 75px;
    border-radius: 12px;
  }

  .partner-strip-logo-img {
    max-height: 34px;
  }

  /* 5. Quality First / Intro Pillars Mobile Padding Reduction */
  .intro-body-copy {
    margin-bottom: 1.15rem;
  }

  .intro-body-copy p {
    margin-bottom: 0;
  }

  .intro-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: 0;
  }

  .intro-pillars-grid > div,
  .intro-pillar-item {
    padding: 0.25rem 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .intro-pillar-title {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .intro-pillar-desc {
    font-size: 0.84rem;
    line-height: 1.45;
  }
}
