/* Home page — new layout sections */

.hero--home {
  margin-top: 0;
  margin-bottom: 0;
}

/* Full-bleed frame + scroll cue: shared in layout.css for all .hero */

.hero--home .hero__media .hero__slide--video {
  background: #0d0d0d;
}

.home-page {
  overflow-x: clip;
  max-width: 100%;
}

.hero__content--home {
  inset: 0;
  bottom: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  /* Title sits a bit lower under the glass header (Figma) */
  padding: clamp(7.5rem, 14vw, 10.5rem) var(--container-pad) clamp(2rem, 4vw, 3rem);
}

.hero__actions {
  display: flex;
  justify-content: center;
  margin-top: auto; /* pin Explore All Models to banner bottom */
  padding-top: 1.25rem;
  padding-bottom: 3.5rem;
}

.hero__title--home {
  max-width: 900px;
  margin: 0 auto 1rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 700; /* Bold */
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: none;
}

.hero__subtitle--home {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 500; /* Medium */
  line-height: 1.4;
}

@media (max-width: 991px) {
  .hero__title--home {
    font-size: clamp(2rem, 6vw, 48px);
  }

  .hero__subtitle--home {
    font-size: clamp(1rem, 2.8vw, 22px);
  }
}

/* Shared CTA arrow icon (hero + model buttons) */
.btn-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 24px;
  margin-left: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    width 0.45s ease,
    margin-left 0.45s ease,
    opacity 0.35s ease;
}

.btn-cta-icon__svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-cta-icon__dash,
.btn-cta-icon__arrow {
  stroke: currentColor;
  fill: none;
  opacity: 0;
}

.btn-cta-icon__dash {
  transition: opacity 0.28s ease;
}

.btn-cta-icon__arrow {
  transition: opacity 0.28s ease;
  transition-delay: 0s;
}

.btn--home-cta:hover .btn-cta-icon,
.btn--home-model:hover .btn-cta-icon,
.home-masar__cta:hover .btn-cta-icon,
.home-news__cta:hover .btn-cta-icon,
.home-contact__cta:hover .btn-cta-icon {
  width: 24px;
  margin-left: 8px;
  opacity: 1;
}

.btn--home-cta:hover .btn-cta-icon__dash,
.btn--home-model:hover .btn-cta-icon__dash,
.home-masar__cta:hover .btn-cta-icon__dash,
.home-news__cta:hover .btn-cta-icon__dash,
.home-contact__cta:hover .btn-cta-icon__dash {
  opacity: 1;
}

.btn--home-cta:hover .btn-cta-icon__arrow,
.btn--home-model:hover .btn-cta-icon__arrow,
.home-masar__cta:hover .btn-cta-icon__arrow,
.home-news__cta:hover .btn-cta-icon__arrow,
.home-contact__cta:hover .btn-cta-icon__arrow {
  opacity: 1;
  transition-delay: 0.22s;
}

.btn--home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 200px;
  padding: 0.9rem 1.85rem;
  border: 0;
  background: #fff;
  color: #1E1E1E;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700; /* Bold */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.2s ease;
}

.btn--home-cta__label {
  display: inline-block;
}

.btn--home-cta:hover {
  background: #fff; /* no bg change */
  color: #1E1E1E;
}

/* OUR MODELS intro */
.home-intro {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 3rem);
  background: #fff;
  text-align: center;
}

.home-intro__eyebrow {
  margin: 0 0 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600; /* Semi Bold */
  color: #1E1E1E;
  letter-spacing: 0.14em;
  text-transform: none;
}

.home-intro__title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700; /* Bold */
  color: #1E1E1E;
  line-height: 1.2;
  text-transform: none;
}

@media (max-width: 991px) {
  .home-intro__title {
    font-size: clamp(1.75rem, 5vw, 36px);
  }
}

/* Home car models — sticky stack on scroll (next banner covers previous) */
.home-page .home-models-stack {
  position: relative;
  z-index: 1;
}

.home-page .model.model--home {
  position: sticky;
  top: 0;
  max-width: none;
  width: 100%;
  margin-inline: 0;
  margin-bottom: 0;
}

.home-page .home-models-stack .model.model--home:nth-child(1) { z-index: 1; }
.home-page .home-models-stack .model.model--home:nth-child(2) { z-index: 2; }
.home-page .home-models-stack .model.model--home:nth-child(3) { z-index: 3; }
.home-page .home-models-stack .model.model--home:nth-child(4) { z-index: 4; }
.home-page .home-models-stack .model.model--home:nth-child(5) { z-index: 5; }
.home-page .home-models-stack .model.model--home:nth-child(6) { z-index: 6; }
.home-page .home-models-stack .model.model--home:nth-child(7) { z-index: 7; }
.home-page .home-models-stack .model.model--home:nth-child(8) { z-index: 8; }

.home-page .model.model--home .model__frame {
  height: clamp(520px, 56vw, 730px);
}

/* Content sits at the bottom centre of the banner */
.home-page .model.model--home .model__body {
  align-items: flex-end;
  justify-content: center;
  padding-top: 0;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.home-page .model.model--home .model__content {
  max-width: 720px;
  margin-inline: auto;
  width: 100%;
  padding-top: 0;
}

.home-page .model.model--home .model__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 68px;
  font-weight: 700; /* Bold */
  color: #FFFFFF;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.home-page .model.model--home .model__tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500; /* Medium */
  color: #FFFFFF;
  margin-bottom: 1.1rem;
  line-height: 1.4;
}

.home-page .model.model--home .model__actions {
  justify-content: center;
  gap: 0.85rem;
}

.home-page .model.model--home .btn--home-model {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 48px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700; /* Bold */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.home-page .model.model--home .btn--home-model__label {
  display: inline-block;
}

/* Button 1: dark bg, white text */
.home-page .model.model--home .btn--home-model-primary {
  background: #1E1E1E;
  color: #FFFFFF;
  border-color: #1E1E1E;
}

.home-page .model.model--home .btn--home-model-primary:hover {
  background: #1E1E1E;
  color: #FFFFFF;
  border-color: #1E1E1E;
}

/* Button 2: white bg, dark text — hover becomes like button 1 */
.home-page .model.model--home .btn--home-model-secondary {
  background: #FFFFFF;
  color: #1E1E1E;
  border-color: #FFFFFF;
}

.home-page .model.model--home .btn--home-model-secondary:hover {
  background: #1E1E1E;
  color: #FFFFFF;
  border-color: #1E1E1E;
}

@media (max-width: 991px) {
  .home-page .model.model--home .model__name {
    font-size: clamp(1.75rem, 7vw, 42px);
  }

  .home-page .model.model--home .model__tagline {
    font-size: clamp(0.95rem, 2.7vw, 19px);
  }
}

/* Intelligent mobility / About Deepal */
.home-mobility {
  padding: 40px;
  background: #F0EFEF;
  text-align: center;
}

.home-mobility__inner.container {
  max-width: none;
  width: 100%;
  padding-inline: 0;
}

.home-mobility__box {
  background: #FFFFFF;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
}

.home-mobility__name {
  margin: 0 auto 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600; /* Semi Bold */
  color: #1E1E1E;
}

.home-mobility__title {
  margin: 0 auto 1rem;
  max-width: 780px;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700; /* Bold */
  color: #1E1E1E;
  line-height: 1.3;
}

.home-mobility__desc {
  margin: 0 auto 2rem;
  max-width: 1096px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500; /* Medium */
  color: #1E1E1E;
  line-height: 26px;
}

.home-mobility__media {
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.home-mobility__media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .home-mobility {
    padding: 20px;
  }

  .home-mobility__box {
    padding: 20px;
  }
}

/* Masar Motors — grey frame top/bottom; bg image full bleed L/R */
.home-masar {
  padding: 40px 0;
  background: #F0EFEF;
}

.home-masar__inner {
  width: 100%;
}

.home-masar__box {
  position: relative;
  width: 100%;
  background-color: transparent;
  background-image: var(--home-masar-bg);
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  box-sizing: border-box;
  padding: 40px;
}

.home-masar__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: stretch;
  min-height: 650px;
}

.home-masar__grid--text-only {
  grid-template-columns: 1fr;
}

.home-masar__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0;
  background: transparent;
  max-width: 596px;
}

.home-masar__name {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600; /* Semi Bold — same as About Deepal name */
  color: #1E1E1E;
  text-transform: none;
}

.home-masar__title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700; /* Bold */
  color: #1E1E1E;
  line-height: 1.25;
  text-transform: none;
}

.home-masar__desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500; /* Medium */
  color: #1E1E1E;
  line-height: 26px;
}

.home-masar__desc p,
.home-masar__desc br + br {
  margin: 0;
}

.home-masar__desc p {
  margin: 0 0 1rem;
}

.home-masar__desc p:last-child {
  margin-bottom: 0;
}

.home-masar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 48px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 4px;
  background: #1E1E1E;
  color: #FFFFFF;
  border: 1px solid #1E1E1E;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.home-masar__cta:hover {
  background: #1E1E1E;
  color: #FFFFFF;
}

.home-masar__cta-label {
  display: inline-block;
}

.home-masar__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: transparent;
}

.home-masar__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .home-masar__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1.5rem;
  }

  .home-masar__content {
    max-width: none;
  }

  .home-masar__media {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767px) {
  .home-masar {
    padding: 20px 0;
  }

  .home-masar__box {
    padding: 20px;
  }
}

/* News */
.home-news {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #F0EFEF;
  text-align: center;
}

.home-news__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.home-news__name {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600; /* Semi Bold — same as About / Masar name */
  color: #1E1E1E;
  text-transform: none;
}

.home-news__title {
  margin: 0;
  max-width: 720px;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700; /* Bold */
  color: #1E1E1E;
  line-height: 1.25;
}

.home-news__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 48px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 4px;
  background: #1E1E1E;
  color: #FFFFFF;
  border: 1px solid #1E1E1E;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.home-news__cta:hover {
  background: #1E1E1E;
  color: #FFFFFF;
}

.home-news__cta-label {
  display: inline-block;
}

.home-news__viewport {
  width: 100%;
}

.home-news__viewport--carousel {
  overflow: hidden;
}

.home-news__track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  will-change: transform;
}

.home-news__track--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: none !important;
}

.home-news__viewport--carousel .home-news__track {
  transition: transform 0.65s ease;
}

.home-news__viewport--carousel .home-news-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
}

.home-news-card {
  background: transparent;
  overflow: visible;
  min-width: 0;
}

.home-news-card__media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-news-card__media {
  position: relative;
  aspect-ratio: 440 / 320;
  overflow: hidden;
  background: #d9d9d9;
}

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

/* Frosted glass panel overlapping image bottom (Figma) */
.home-news-card__panel {
  position: relative;
  z-index: 1;
  margin: -40px 8px 0;
  min-height: 207px;
  padding: 16px 18px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: rgba(248, 248, 248, 0.42);
  border: 1px solid #f8f8f8;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.home-news-card__date {
  display: block;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700; /* Bold */
  color: #1E1E1E;
  line-height: 1.2;
  list-style: none;
}

.home-news-card__date::before {
  content: '•';
  margin-right: 0.45em;
}

.home-news-card__title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700; /* Bold */
  color: #1E1E1E;
  line-height: 1.25;
  white-space: pre-line;
}

.home-news-card__title a {
  color: inherit;
  text-decoration: none;
}

.home-news-card__excerpt {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700; /* Bold — per Figma */
  color: #1E1E1E;
  line-height: 22px;
  white-space: pre-line;
}

.home-page .home-news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700; /* Bold */
  color: #21209C;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.home-page .home-news-card__link:hover,
.home-page .home-news-card__link:focus {
  color: #21209C;
  opacity: 0.85;
  text-decoration: none;
}

.home-page .home-news-card__link-icon {
  display: block;
  flex-shrink: 0;
  color: #21209C;
}

@media (max-width: 991px) {
  .home-news__track--grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

  .home-news__viewport--carousel .home-news-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Get in touch */
.home-contact {
  width: 100%;
}

.home-contact__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: transparent;
}

.home-contact__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  object-position: center right;
}

.home-contact__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: 3rem;
}

.home-contact__title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600; /* Semi Bold */
  color: #FFFFFF;
  text-transform: none;
  letter-spacing: 0;
}

.home-contact__desc {
  margin: 0;
  max-width: 560px;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700; /* Bold */
  color: #FFFFFF;
  line-height: 1.25;
}

.home-contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 48px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 4px;
  background: #1E1E1E;
  color: #FFFFFF;
  border: 1px solid #1E1E1E;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.home-contact__cta:hover {
  background: #1E1E1E;
  color: #FFFFFF;
}

.home-contact__cta-label {
  display: inline-block;
}

@media (max-width: 991px) {
  .home-masar__grid {
    grid-template-columns: 1fr;
  }

  .home-masar__media {
    min-height: 320px;
  }

  .home-news__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}
