/* ==========================================================================
   SHN Ceylon — Supuni Motors page
   ========================================================================== */

.page-supuni-motors {
  background-color: var(--shn-black);
}

/* ---- Hero ---- */
.shn-motors-hero {
  background-color: rgba(255, 255, 255, 0.05);
  padding-top:72px;
  min-height: clamp(280px, 30vw, 420px);
  overflow: hidden;
}

.shn-motors-hero__row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: top;
  gap: 32px;
}

.shn-motors-hero__badge {
  display: inline-block;
  color: #E64545;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.shn-motors-hero__title {
  color: var(--shn-white);
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 18px;
}

.shn-motors-hero__text {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  max-width: 48ch;
}

.shn-motors-hero__media {
  align-self: flex-end;
}

.shn-motors-hero__media img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

/* ---- Vehicle grid ---- */
.shn-motors-fleet {
  background-color: var(--shn-black);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.shn-motors-grid {
  display: grid;
  padding-top: 72px;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shn-motors-card {
  background-color: var(--shn-black-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shn-motors-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.shn-motors-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shn-motors-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #E64545;
  color: var(--shn-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.shn-motors-card__body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shn-motors-card__brand {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shn-green-accent);
  margin-bottom: 6px;
}

.shn-motors-card__name {
  color: var(--shn-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.shn-motors-card__specs {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shn-motors-card__spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shn-motors-card__spec dt {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.shn-motors-card__spec dd {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}

.shn-motors-card__spec-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  color: var(--shn-white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
  transition: border-color var(--transition-fast);
}

.shn-motors-card__spec-link:hover {
  border-color: rgba(255, 255, 255, 0.9);
}

.shn-motors-card__spec-link img {
  width: 16px;
  height: 16px;
  
  opacity: 1;
}

.shn-motors-card__cta {
  margin-top: auto;
  width: 100%;
  background-color: #E64545;
  color: var(--shn-white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.shn-motors-card__cta:hover {
  background-color: #C93A3A;
}

.shn-motors-fleet__note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin-top: 28px;
}

.shn-motors-fleet__note strong {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Over 50+ stat / Facebook feed ---- */
.shn-motors-stat {
  background-color: var(--shn-white);
  padding-block: clamp(40px, 5vw, 64px);
}

.shn-motors-stat__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
  flex-wrap: nowrap;
}

.shn-motors-stat__value {
  display: block;
  color: var(--shn-ink);
  font-size: 120px;
  font-weight: 700;
  margin-bottom: 8px;
}

.shn-motors-stat__label {
  color: var(--shn-gray-600);
  font-size: 38px;
  line-height: 52px;
  margin: 0;
}

.shn-motors-stat__fb {
  flex-shrink: 0;
  max-width: 500px;
  width: 100%;
}

/* ---- Success stories ---- */
.shn-motors-stories {
  background-color: #121212;
  padding-block: clamp(48px, 6vw, 90px);
}

.shn-motors-stories .eyebrow {
  color: var(--shn-sage);
}

.shn-motors-stories__title {
  color: var(--shn-white);
  font-size: 58px;
  line-height: 52px;
  margin-top: 10px;
  margin-bottom: 32px;
}

.shn-motors-stories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shn-motors-stories__item {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.shn-motors-stories__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (max-width: 1199.98px) {
  .shn-motors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shn-motors-stories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .shn-motors-hero__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .shn-motors-grid {
    grid-template-columns: 1fr;
  }

  .shn-motors-stories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shn-motors-stat__value {
    font-size: 64px;
  }

  .shn-motors-stat__label {
    font-size: 24px;
    line-height: 34px;
  }
}
