/* =============================== */
/*  LANDING HERO (DESKTOP)         */
/* =============================== */

.slide--landing .landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.9fr);
  gap: 48px;
  align-items: center;
}

.landing-hero__image {
  width: 100%;
  max-width: clamp(260px, 42vw, 520px); /* mērogojas starp 260–520px */
  justify-self: center;

  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);

  aspect-ratio: 4 / 5; /* stabils “portreta” rāmis (vari pamainīt uz 3/4, 2/3 u.c.) */
}

.landing-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* bilde nepārlūzt, tikai piecroppojas */
  display: block;
}


.landing-hero__text h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 16px;
  text-align: center;
}

.landing-hero__text p {
  margin-bottom: 8px;
  color: var(--color-muted);
  text-align: center;
}

/* =============================== */
/*  TABLET                          */
/* =============================== */
@media (max-width: 980px) {
  .slide--landing .landing-hero {
    gap: 28px;
  }

  .landing-hero__image {
    max-width: 460px;
  }

  .landing-hero__text h1 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 10px;
  }

  .landing-hero__text p {
    margin-bottom: 6px;
  }
}

/* =============================== */
/*  MOBILE (ALWAYS VISIBLE)         */
/*  - bez ritjoslām                 */
/*  - bilde saprātīga               */
/*  - teksts vienmēr redzams        */
/* =============================== */
@media (max-width: 768px) {
  .slide--landing .landing-hero {
    grid-template-columns: 1fr;
    grid-template-rows: clamp(190px, 34vh, 280px) auto; /* bilde nekļūst milzīga */
    gap: 10px;
    height: 100%;
    align-items: stretch;
  }

  .landing-hero__image {
    max-width: 100%;
    justify-self: stretch;
    height: 100%;
  }

  .landing-hero__image img {
    width: 100%;
    height: 100%;          /* precīzi seko grid rindai */
    object-fit: cover;
    display: block;
  }

  .landing-hero__text {
    /* svarīgi: NENOBLOĶĒJAM ar overflow => nav ritjoslu */
    overflow: visible;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    padding: 0 2px;
  }

  .landing-hero__text h1 {
    font-size: clamp(1.05rem, 4.4vw, 1.45rem);
    margin-bottom: 6px;
  }

  .landing-hero__text p {
    font-size: clamp(0.88rem, 3.4vw, 1rem);
    line-height: 1.35;
    margin-bottom: 6px;
  }

  /* apakšējais apraksts lai “neizplešas” pa visu platumu */
  .landing-hero__text > p {
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 420px) {
  .slide--landing .landing-hero {
    grid-template-rows: clamp(175px, 32vh, 250px);
  }

  .landing-hero__text p {
    font-size: 0.92rem;
  }
}

/* ============================== */
/*  Neon accents                   */
/*  Orange smoke up, teal down     */
/* ============================== */

.landing-hero__text .neon {
  position: relative;
  display: inline-block;
  margin: 0 0 6px;
  line-height: 1.12;
  z-index: 1;
}

.landing-hero__text .neon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 140%;
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
  opacity: 0.55;
}

/* ORANGE */
.landing-hero__text .neon--orange {
  color: rgba(255, 226, 194, 0.96);
  text-shadow:
    0 0 10px rgba(255, 140, 0, 0.22),
    0 0 22px rgba(255, 120, 0, 0.14),
    0 0 36px rgba(255, 90, 0, 0.08);
}

.landing-hero__text .neon--orange::after {
  bottom: 55%;
  background:
    radial-gradient(closest-side at 50% 80%,
      rgba(255, 120, 0, 0.28),
      rgba(255, 120, 0, 0.00) 70%),
    radial-gradient(closest-side at 40% 90%,
      rgba(255, 180, 80, 0.18),
      rgba(255, 180, 80, 0.00) 75%);
}

/* TEAL */
.landing-hero__text .neon--teal {
  color: rgba(210, 250, 255, 0.96);
  text-shadow:
    0 0 10px rgba(45, 212, 191, 0.20),
    0 0 22px rgba(34, 211, 238, 0.14),
    0 0 36px rgba(34, 211, 238, 0.08);
}

.landing-hero__text .neon--teal::after {
  top: 55%;
  background:
    radial-gradient(closest-side at 50% 20%,
      rgba(34, 211, 238, 0.26),
      rgba(34, 211, 238, 0.00) 70%),
    radial-gradient(closest-side at 60% 10%,
      rgba(45, 212, 191, 0.18),
      rgba(45, 212, 191, 0.00) 75%);
}

/* Mobilajā — mazāks smogs */
@media (max-width: 768px) {
  .landing-hero__text .neon::after {
    width: 125%;
    height: 125%;
    filter: blur(14px);
    opacity: 0.45;
  }
}
