/* --- Hero Section --- */
.warranty-hero {
  position: relative;
  width: 100%;
  min-height: 28.125rem; /* min-h-[112.5] */
  padding: 3rem 0; /* py-12 */
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .warranty-hero {
    height: 31.875rem; /* md:h-[127.5] */
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .warranty-hero {
    height: 40rem; /* lg:h-[160] */
  }
}

.warranty-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.warranty-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(19, 24, 30, 0.7); /* bg-[#13181EB2] */
  z-index: 10;
}

.warranty-hero-content-wrapper {
  position: relative;
  z-index: 20;
  padding: 0 1rem; /* px-4 */
  width: 100%;
  color: white;
}

@media (min-width: 768px) {
  .warranty-hero-content-wrapper {
    padding: 0 1.5rem; /* md:px-6 */
  }
}

@media (min-width: 1024px) {
  .warranty-hero-content-wrapper {
    padding: 0 3rem; /* lg:px-12 */
    width: 83.333333%; /* lg:w-5/6 */
  }
}

.warranty-hero-title {
  font-family: var(--font-inter);
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  margin-top: 0;
  color: white;
}

@media (min-width: 768px) {
  .warranty-hero-title {
    font-size: 2.25rem; /* md:text-4xl */
    margin-bottom: 1.5rem; /* md:mb-6 */
  }
}

@media (min-width: 1024px) {
  .warranty-hero-title {
    font-size: 4.5rem; /* lg:text-7xl */
  }
}

.warranty-hero-text {
  font-family: var(--font-montserrat);
  font-size: 0.875rem; /* text-sm */
  color: #d1d5db; /* text-gray-300 */
  line-height: 1.625; /* leading-relaxed */
  max-width: 48rem; /* max-w-3xl */
  font-weight: 400; /* text-normal */
}

@media (min-width: 768px) {
  .warranty-hero-text {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.warranty-hero-text p {
  margin-top: 0;
  margin-bottom: 0;
}
.warranty-hero-text p:last-child {
  margin-bottom: 0;
}

/* --- Sections Wrapper --- */
.warranty-sections-wrapper {
  display: flex;
  flex-direction: column;
}

.section-heading {
  font-family: var(--font-inter);
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 0;
}
@media (min-width: 768px) {
  .section-heading { font-size: 3rem; /* md:text-5xl */ }
}
@media (min-width: 1024px) {
  .section-heading { font-size: 3.75rem; /* lg:text-6xl */ }
}

/* --- Section 1: What's Covered --- */
.covered-section {
  padding: 4rem 0.5rem;
}

@media (min-width: 768px) {
  .covered-section {
    padding: 6rem 0;
  }
}

.covered-heading {
  margin-bottom: 1rem;
}

.covered-subtitle {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  color: #6b7280;
  margin-top: 0;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .covered-subtitle {
    font-size: 1.125rem;
  }
}

.covered-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem; /* gap-5 */
}

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

.covered-card {
  background-color: white;
  height: 7rem; /* h-28 */
  border-radius: 0.125rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1rem; /* px-4 */
  gap: 1rem; /* gap-4 */
}

@media (min-width: 768px) {
  .covered-card {
    height: 8rem; /* md:h-32 */
    padding: 0 1.5rem; /* md:px-6 */
  }
}

.covered-card-icon {
  width: 1.875rem; /* ~30px */
  height: 1.875rem;
  flex-shrink: 0;
}

.covered-card-title {
  font-family: var(--font-inter);
  font-size: 1.125rem; /* text-lg */
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-title);
  margin: 0;
}

.covered-footer-text {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-title);
  margin-top: 2rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .covered-footer-text {
    font-size: 1.125rem;
    margin-top: 3rem;
  }
}

/* --- Section 2: Why Dealers Trust Our Service --- */
.trust-service-section {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .trust-service-section {
    margin-top: 4rem;
    margin-bottom: 6rem;
  }
}

.trust-service-heading {
  margin-bottom: 3rem; /* mb-12 */
}

.trust-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3rem; /* gap-x-12 */
  row-gap: 2rem; /* gap-y-8 */
}

@media (min-width: 768px) {
  .trust-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-service-item {
  display: flex;
  flex-direction: row;
  gap: 1rem; /* gap-4 */
  border-bottom: 1px solid #e5e7eb; /* border-b border-gray-200 */
  padding-bottom: 2rem; /* pb-8 */
}

.trust-service-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .trust-service-item {
    gap: 1rem;
    border-bottom: 0;
    padding-bottom: 0;
  }
}

.trust-service-icon-wrapper {
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  border-radius: 9999px;
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-service-icon-wrapper img, .trust-service-icon-wrapper svg {
  transform: scale(1);
}

.trust-service-content {
  display: flex;
  flex-direction: column;
  padding-top: 0.25rem; /* pt-1 */
}

.trust-service-title {
  font-family: var(--font-montserrat);
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  color: var(--text-title);
  margin-top: 0;
  margin-bottom: 0.5rem; /* mb-2 */
}

@media (min-width: 768px) {
  .trust-service-title {
    font-size: 1.5rem; /* md:text-2xl */
  }
}

.trust-service-desc {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  color: #6b7280; /* text-gray-500 */
  line-height: 1.625; /* leading-relaxed */
  margin: 0;
}

@media (min-width: 768px) {
  .trust-service-desc {
    font-size: 1.125rem; /* md:text-lg */
  }
}

/* --- Section 3: Beyond Warranty --- */
.beyond-warranty-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem; /* gap-10 */
  align-items: center;
  padding: 10px; /* 10px padding on all sides */
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03); /* shadow-[0_2px_15px...] */
  border: 1px solid #f9fafb; /* border-gray-50 */
  margin-top: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .beyond-warranty-section {
    padding: 10px; /* keep 10px padding to match design requirements */
  }
}

@media (min-width: 1024px) {
  .beyond-warranty-section {
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem; /* gap between text and image */
    margin-top: 6rem;
    margin-bottom: 6rem;
  }
}

.beyond-content {
  display: flex;
  flex-direction: column;
  padding: 0.5rem; /* slight inset on mobile */
}

@media (min-width: 1024px) {
  .beyond-content {
    padding: 2rem 0 2rem 2rem; /* spacious text layout inset, leaving image close to card bounds */
  }
}

.beyond-content .section-heading {
  margin-bottom: 1.5rem; /* mb-6 */
}

.beyond-subtitle {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  color: #6b7280; /* text-gray-500 */
  margin-bottom: 2rem; /* mb-8 */
  margin-top: 0;
}

@media (min-width: 768px) {
  .beyond-subtitle {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.beyond-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0; /* mb-8 */
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* gap-6 */
}

.beyond-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem; /* gap-4 */
}

.beyond-item-text {
  font-family: var(--font-montserrat);
  font-size: 0.875rem; /* text-sm */
  color: #4b5563; /* text-gray-600 */
}

@media (min-width: 768px) {
  .beyond-item-text {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.beyond-footer-text {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.625;
  margin: 0;
}

@media (min-width: 768px) {
  .beyond-footer-text {
    font-size: 1.125rem;
  }
}

.beyond-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}

.check-icon {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.125rem; /* mt-0.5 */
}

.object-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
