/* CTA Banner */
.cta-banner {
  position: relative;
  isolation: isolate;
  margin: var(--spacing-lg) 0;
  color: var(--white);
}

.cta-banner__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(44, 95, 124, 0.92), rgba(15, 27, 37, 0.85));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.cta-banner__content {
  display: grid;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.cta-banner__text {
  display: grid;
  gap: var(--spacing-xs);
}

.cta-banner .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--white);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  max-width: 42ch;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-xs);
}

.cta-banner__phone {
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-banner__phone::before {
  content: '\260E';
  font-size: 1.1rem;
}

.cta-banner__phone:hover {
  color: var(--accent-color);
}

/* Trust Strip */
.trust-strip {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  margin: var(--spacing-lg) 0;
}

.trust-strip__inner {
  display: grid;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.trust-strip__item {
  display: grid;
  gap: 0.25rem;
}

.trust-strip__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
}

.trust-strip__label {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Section headers */
.section-header {
  display: grid;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  text-align: left;
  max-width: 52rem;
}

.section-header .eyebrow,
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-color);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: linear-gradient(115deg, rgba(15, 27, 37, 0.92), rgba(44, 95, 124, 0.82));
  color: var(--white);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url('/images/hero-overlay-texture.png') repeat;
  opacity: 0.12;
  pointer-events: none;
}

.hero__content {
  position: relative;
  display: grid;
  gap: var(--spacing-lg);
  align-items: center;
}

.hero__text {
  display: grid;
  gap: var(--spacing-sm);
  max-width: 34rem;
  justify-items: flex-start;
}

.hero h1 {
  color: var(--white);
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.hero__media {
  position: relative;
}

.hero__image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(135deg, rgba(44, 95, 124, 0.35), rgba(15, 27, 37, 0.65));
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: lighten;
}

.hero__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--slate-900);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.25rem;
  min-width: 160px;
}

.hero__badge-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.hero__badge-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Services & feature cards */
.service-card {
  display: grid;
  gap: var(--spacing-xs);
  height: 100%;
}

.service-card .card__icon {
  font-size: 1.75rem;
  width: 64px;
  height: 64px;
}

.service-card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card__link::after {
  content: '\2192';
  transition: transform var(--transition-base);
}

.service-card__link:hover::after {
  transform: translateX(4px);
}

.feature-card {
  text-align: left;
  background: var(--background-light);
  height: 100%;
}

.feature-card h3 {
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Trust indicators */
.trust-indicators {
  display: grid;
  gap: var(--spacing-sm);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.trust-indicators__card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--spacing-xs);
  border: 1px solid rgba(15, 27, 37, 0.05);
  height: 100%;
}

.trust-indicators__icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.trust-indicators__card h3 {
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  gap: var(--spacing-sm);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services-grid__card {
  height: 100%;
  text-align: left;
  padding: var(--spacing-md);
}

.services-grid__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--primary-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.service-block {
  position: relative;
}

.service-block__inner {
  display: grid;
  gap: var(--spacing-lg);
}

.service-block__inner--reversed {
  direction: rtl;
}

.service-block__inner--reversed > * {
  direction: ltr;
}

.service-block__media {
  display: grid;
  align-items: start;
}

.service-block__content {
  display: grid;
  gap: var(--spacing-sm);
}

.service-overview {
  display: grid;
  gap: var(--spacing-lg);
}

.service-overview__content {
  display: grid;
  gap: var(--spacing-sm);
  max-width: 46rem;
}

.service-overview__media {
  margin: 0;
  max-width: 520px;
}

.service-summary__inner {
  display: grid;
  gap: var(--spacing-lg);
  align-items: center;
}

.service-summary__media {
  max-width: 520px;
}

.service-summary__content {
  display: grid;
  gap: var(--spacing-sm);
}

.benefit-list {
  display: grid;
  gap: var(--spacing-xs);
  padding-left: 1.1rem;
  color: var(--text-dark);
}

.benefit-list li {
  position: relative;
}

.benefit-list li::marker {
  color: var(--secondary-color);
  font-weight: 600;
}

.process-steps {
  display: grid;
  gap: var(--spacing-sm);
  margin: var(--spacing-sm) 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--spacing-xs);
  border: 1px solid rgba(15, 27, 37, 0.05);
}

.step-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--accent-color);
  color: var(--white);
  font-weight: 700;
}

.service-stats {
  display: grid;
  gap: var(--spacing-sm);
  margin: var(--spacing-sm) 0;
}

.service-stats__item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 27, 37, 0.05);
}

.service-stats__value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--primary-color);
}

.service-stats__label {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: linear-gradient(120deg, rgba(44, 95, 124, 0.1), rgba(69, 160, 73, 0.1));
}

.page-hero__content {
  display: grid;
  gap: var(--spacing-xs);
  text-align: center;
  max-width: 58rem;
}

.page-hero__content .lead {
  margin: 0 auto;
}

.about-highlight {
  display: grid;
  gap: var(--spacing-sm);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: stretch;
}

.about-story__media {
  display: grid;
  gap: var(--spacing-sm);
  align-items: stretch;
}

.story-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.story-grid__top {
  display: grid;
  gap: var(--spacing-sm);
}

.story-grid__content {
  max-width: 38rem;
}

.story-grid__image {
  height: 100%;
}

.story-grid__highlights {
  gap: var(--spacing-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.about-story__media .media-card {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

.about-story__media .media-card img {
  aspect-ratio: 4 / 3;
}

.about-highlight__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--spacing-xs);
  border: 1px solid rgba(15, 27, 37, 0.05);
}

.about-highlight__metric {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--spacing-sm);
}

.mission-card--image {
  padding: 0;
  overflow: hidden;
}

.mission-card__figure {
  margin: 0;
  height: 220px;
  overflow: hidden;
}

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

.mission-card--image span,
.mission-card--image h2,
.mission-card--image p {
  padding: 0 var(--spacing-md);
}

.mission-card--image span {
  padding-top: var(--spacing-md);
}

.mission-card--image p {
  padding-bottom: var(--spacing-md);
}

.policy-list {
  display: grid;
  gap: var(--spacing-xs);
  padding-left: 0;
}

.policy-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-dark);
}

.policy-list span {
  color: var(--secondary-color);
  font-weight: 700;
  margin-top: 0.2rem;
}

.value-card {
  height: 100%;
}

.media-grid {
  display: grid;
  gap: var(--spacing-sm);
}

.media-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-rows: auto 1fr;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.media-card figcaption {
  padding: var(--spacing-sm);
  font-size: 0.95rem;
  color: var(--text-light);
}

.process-steps--four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-steps--five {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.brand-grid {
  display: grid;
  gap: var(--spacing-sm);
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: var(--spacing-sm);
}

.brand-grid__item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 27, 37, 0.05);
}

.brand-grid__item--accent {
  background: var(--primary-color);
  color: var(--white);
}

.parts-hero {
  position: relative;
}

.parts-hero__media,
.scrapping-hero__media {
  width: min(90%, 520px);
  margin: var(--spacing-sm) auto 0;
}

.category-grid {
  display: grid;
  gap: var(--spacing-sm);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.category-card {
  height: 100%;
  text-align: left;
}

.category-card span {
  font-size: 1.6rem;
}

.parts-gallery .media-grid--parts {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.parts-cta__inner,
.scrapping-cta__inner {
  display: grid;
  gap: var(--spacing-sm);
  align-items: center;
}

.parts-cta__actions,
.scrapping-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.benefits-grid {
  display: grid;
  gap: var(--spacing-sm);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefit-card {
  height: 100%;
  text-align: left;
}

.impact-grid {
  display: grid;
  gap: var(--spacing-sm);
}

.impact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.impact-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.impact-card figcaption {
  padding: var(--spacing-sm);
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.contact-card,
.contact-info__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 27, 37, 0.05);
}

.contact-card {
  display: grid;
  gap: var(--spacing-sm);
}

.contact-form {
  display: grid;
  gap: var(--spacing-sm);
}

.contact-form__row {
  display: grid;
  gap: var(--spacing-sm);
}

.contact-submit {
  align-self: start;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-info {
  display: grid;
  gap: var(--spacing-sm);
}

.contact-list {
  display: grid;
  gap: var(--spacing-xs);
  padding-left: 0;
  list-style: none;
}

.contact-list span {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-info__media {
  margin: 0;
}

.contact-info__trust {
  background: var(--background-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border: 1px solid rgba(15, 27, 37, 0.05);
  display: grid;
  gap: var(--spacing-xs);
}

.contact-info__trust h3 {
  margin-bottom: 0;
}

.contact-info__trust .list--check {
  gap: var(--spacing-xs);
}

@media (min-width: 600px) {
  .parts-hero__media,
  .scrapping-hero__media {
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .hero__content {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .hero__actions {
    gap: var(--spacing-sm);
  }

  .page-hero__content {
    text-align: left;
    max-width: 48rem;
  }

  .page-hero__content .lead {
    margin: 0;
  }

  .about-story__media {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .story-grid__top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .story-grid__image {
    max-width: 520px;
    margin-left: auto;
  }

  .story-grid__highlights {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .service-block__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-strip__item {
    text-align: center;
  }

  .parts-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--spacing-lg);
  }

  .parts-hero__media,
  .scrapping-hero__media {
    margin: 0;
  }

  .parts-cta__inner,
  .scrapping-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .parts-cta__actions,
  .scrapping-cta__actions {
    justify-content: flex-end;
  }

  .service-overview {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .service-overview__media {
    margin-left: auto;
  }

  .service-summary__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .impact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .contact-form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

@media (min-width: 1024px) {
  .hero__content {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--spacing-xl);
  }

  .hero__image {
    aspect-ratio: 5 / 3;
  }

  .section-header {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .trust-strip__value {
    font-size: 2.25rem;
  }

  .media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
