/* =========================================================
   SHOP TENT — layout from mockup, tones from shoptent.kz
   ========================================================= */

:root {
  /* Palette from live shoptent.kz theme */
  --bg: #121212;
  --bg-elevated: #1a1a1a;
  --bg-card: #222222;
  --bg-soft: #1e1e1e;
  --border: #333333;
  --border-soft: #2c2c2c;
  --text: #f2f2f2;
  --text-muted: #a8a8a8;
  --accent: #a5cf4c;
  --accent-bright: #c4e85a;
  --accent-dark: #8fb83a;
  --accent-ink: #141414;
  --blue: #2b6cb0;
  --white: #ffffff;

  /* Aliases used across components */
  --navy: var(--bg-elevated);
  --navy-deep: var(--bg);
  --navy-nav: #161616;
  --navy-text: var(--text);
  --orange: var(--accent);
  --orange-btn: var(--accent);
  --orange-hot: var(--accent-bright);
  --off-white: var(--bg);
  --benefits-bg: var(--bg-elevated);
  --benefits-line: var(--border);
  --muted: var(--text-muted);
  --muted-2: #8f8f8f;
  --process-bg: var(--bg-card);
  --form-navy: var(--bg-elevated);
  --card-scrim: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.88) 100%);

  /* Layout */
  --container: 1188px;
  --gap: 16px;
  --radius: 6px;
  --radius-sm: 6px;
  --header-top-h: 64px;
  --header-nav-h: 44px;
  --hero-h: 380px;
  --card-h: 200px;

  /* Type — same families as live site */
  --font: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ---------- Accent slash ---------- */
.accent-slash {
  display: inline-block;
  width: 8px;
  height: 26px;
  margin-right: 12px;
  background: var(--orange);
  transform: skewX(-22deg);
  border-radius: 1px;
  vertical-align: -3px;
  flex-shrink: 0;
}

.accent-slash--light {
  height: 22px;
  width: 8px;
  margin-right: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn--orange {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: var(--accent-ink);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(165, 207, 76, 0.28);
}

.btn--orange:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(165, 207, 76, 0.38);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--accent);
}

.btn--outline:hover {
  background: rgba(165, 207, 76, 0.12);
  color: var(--accent-bright);
}

.btn--sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.btn--block {
  width: 100%;
  min-height: 48px;
  font-size: 14px;
}

.btn__arrow {
  font-weight: 600;
  margin-left: 2px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
}

.header-top {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top__inner {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  column-gap: 20px;
  min-height: var(--header-top-h);
  padding: 6px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 8px;
}

.logo__mark {
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
  font-style: normal;
}

.logo__shop,
.logo__tent {
  font-style: normal;
  font-weight: 700;
}

.logo__shop {
  color: var(--white);
}

.logo__tent {
  color: var(--accent);
}

.logo__tag {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-meta__icon {
  display: grid;
  place-items: center;
  color: var(--white);
  opacity: 0.95;
  flex-shrink: 0;
}

.header-meta__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.header-meta__body strong {
  font-size: 14px;
  font-weight: 700;
}

.header-meta__body span {
  font-size: 11px;
  color: var(--text-muted);
}

.header-meta--geo {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.header-meta--phone {
  justify-self: end;
}

.header-calc {
  justify-self: end;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: end;
  grid-column: -1;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

/* Nav */
.header-nav {
  background: var(--navy-nav);
}

.header-nav__inner {
  display: flex;
  align-items: center;
  min-height: var(--header-nav-h);
}

.menu {
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex: 1;
}

.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--header-nav-h);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.menu a.is-active,
.menu a:hover {
  color: var(--white);
}

.menu a.is-active {
  font-weight: 600;
}

.menu a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 2px 2px 0 0;
}

.menu__chev {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
}

.nav-search {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: var(--hero-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 18, 18, 0.92) 0%,
    rgba(18, 18, 18, 0.78) 34%,
    rgba(18, 18, 18, 0.28) 58%,
    rgba(18, 18, 18, 0.12) 100%
  );
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: max(20px, calc((100% - var(--container)) / 2));
  margin-right: auto;
  padding: 48px 0;
}

.hero__title {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero__title .accent-slash {
  margin-top: 6px;
  height: 1.05em;
}

.hero__lead {
  margin: 0 0 22px;
  max-width: 420px;
  padding-left: 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-left: 20px;
}

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits {
  background: var(--benefits-bg);
  border-top: 1px solid var(--border-soft);
}

.benefits__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 88px;
}

.benefits__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
}

.benefits__item:not(:last-child) {
  border-right: 1px solid var(--benefits-line);
}

.benefits__icon {
  color: var(--blue);
  flex-shrink: 0;
}

.benefits__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.benefits__text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.benefits__text span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* =========================================================
   CATALOG
   ========================================================= */
.catalog {
  padding: 36px 0 28px;
  background: var(--bg);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  display: flex;
  align-items: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-title--sm {
  font-size: 24px;
  margin-bottom: 28px;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.section-link:hover {
  color: var(--accent-bright);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  display: block;
  height: var(--card-h);
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a2433;
  color: var(--white);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
}

.card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 52px 16px 14px;
  background: var(--card-scrim);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: end;
}

.card__title {
  grid-column: 1;
  grid-row: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.card__desc {
  grid-column: 1;
  grid-row: 2;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  max-width: 92%;
}

.card__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  font-size: 22px;
  line-height: 1;
  opacity: 0.95;
  padding-bottom: 2px;
}

.card:hover .card__img {
  transform: scale(1.05);
  transition: transform 0.35s ease;
}

/* =========================================================
   BOTTOM: process + form
   ========================================================= */
.bottom {
  padding: 8px 0 40px;
  background: var(--bg);
}

.bottom__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.process {
  background: var(--process-bg);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
}

.process__list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.process__step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 148px;
  padding-top: 8px;
}

.process__num {
  position: absolute;
  top: 0;
  left: 30px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--process-bg);
}

.process__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--accent);
  border: 1.5px solid rgba(165, 207, 76, 0.35);
  border-radius: 50%;
  background: transparent;
}

.process__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.process__desc {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

.process__arrow {
  flex: 0 0 auto;
  align-self: center;
  margin-top: -28px;
  color: var(--text-muted);
  font-size: 22px;
  font-weight: 300;
}

/* Lead form */
.lead-form {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--form-navy);
  color: var(--white);
  min-height: 100%;
}

.lead-form__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 18, 18, 0.96) 0%, rgba(18, 18, 18, 0.88) 42%, rgba(18, 18, 18, 0.62) 100%),
    url("../assets/form-bg.jpg") right center / cover no-repeat;
}

.lead-form__inner {
  position: relative;
  z-index: 1;
  padding: 28px 24px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lead-form__title {
  display: flex;
  align-items: flex-start;
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead-form__title .accent-slash {
  margin-top: 4px;
}

.lead-form__lead {
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.lead-form__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.field {
  position: relative;
  display: block;
}

.field__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.field input {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  outline: none;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(165, 207, 76, 0.18);
}

.field input::placeholder {
  color: var(--text-muted);
}

.lead-form__form .btn {
  grid-column: 1 / -1;
  margin-top: 2px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .header-meta--geo {
    display: none;
  }

  .hero__content {
    max-width: 460px;
  }

  .process__desc {
    font-size: 11px;
  }
}

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

  .bottom__grid {
    grid-template-columns: 1fr;
  }

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

  .benefits__item:nth-child(2) {
    border-right: 0;
  }

  .benefits__item:nth-child(1),
  .benefits__item:nth-child(2) {
    border-bottom: 1px solid var(--benefits-line);
  }

  .header-meta--phone span:last-child {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --hero-h: auto;
    --card-h: 220px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-top__inner {
    grid-template-columns: 1fr auto;
    padding: 10px 0;
    row-gap: 10px;
  }

  .header-meta--geo,
  .header-meta--phone,
  .header-calc {
    display: none;
  }

  .burger {
    display: block;
  }

  .header-nav {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-nav.is-open {
    display: block;
  }

  .menu {
    flex-direction: column;
    padding: 8px 0 16px;
  }

  .menu a {
    height: 48px;
    padding: 0 12px;
    font-size: 15px;
  }

  .menu a.is-active::after {
    left: 0;
    right: auto;
    top: 10px;
    bottom: 10px;
    width: 3px;
    height: auto;
    border-radius: 0 2px 2px 0;
  }

  .nav-search {
    display: none;
  }

  /* Hero: photo on top, readable text block below */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background: var(--bg);
  }

  .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 220px;
    flex-shrink: 0;
  }

  .hero__media::after {
    background: linear-gradient(180deg, transparent 40%, rgba(18, 18, 18, 0.55) 100%);
  }

  .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
  }

  .hero__content {
    position: relative;
    z-index: 1;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 22px 16px 28px;
    background: var(--bg);
  }

  .hero__title {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 12px;
    text-transform: none;
  }

  .hero__title .accent-slash {
    display: inline-block;
    height: 1.1em;
    width: 7px;
    margin-right: 10px;
    margin-top: 3px;
  }

  .hero__lead {
    padding-left: 0;
    margin: 0 0 18px;
    max-width: none;
    font-size: 14px;
    color: var(--navy-text);
  }

  .hero__actions {
    padding-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .benefits__list {
    grid-template-columns: 1fr;
  }

  .benefits__item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--benefits-line);
    padding: 16px 4px;
  }

  .benefits__item:last-child {
    border-bottom: 0;
  }

  .catalog {
    padding: 28px 0 20px;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-title--sm {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .card {
    height: 210px;
  }

  .bottom {
    padding: 4px 0 28px;
  }

  .bottom__grid {
    gap: 12px;
  }

  .process,
  .lead-form__inner {
    padding: 22px 16px 24px;
  }

  .process__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 14px;
  }

  .process__arrow {
    display: none;
  }

  .process__step {
    max-width: none;
  }

  .process__desc {
    font-size: 12px;
  }

  .lead-form__title {
    font-size: 18px;
  }

  .lead-form__lead {
    padding-left: 0;
    font-size: 13px;
  }

  .lead-form__title .accent-slash {
    display: none;
  }

  .lead-form__form {
    grid-template-columns: 1fr;
  }

  .field input,
  .btn--block {
    min-height: 48px;
    height: 48px;
  }
}

@media (max-width: 560px) {
  .logo__name {
    font-size: 17px;
  }

  .logo__tag {
    font-size: 7.5px;
    letter-spacing: 0.8px;
  }

  .hero__media {
    height: 200px;
  }

  .hero__title {
    font-size: 20px;
  }

  .process__list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process__icon {
    width: 44px;
    height: 44px;
  }
}
