@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/gilroy-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/gilroy-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/gilroy-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/gilroy-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #007FFF;
  --blue-light: #00B6FF;
  --gray-text: #333;
  --gray-soft: #F2F2F2;
  --footer-line: #DDD;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--blue);
}

img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== HEADER ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  flex: 0 0 auto;
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 99px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__left {
  display: flex;
  align-items: center;
  gap: 66px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.header__logo-text { height: 26px; width: auto; }

.header__controls {
  display: none;
  align-items: center;
  gap: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-soft);
  border-radius: 18px;
  height: 34px;
  padding: 0 14px;
  color: var(--gray-text);
  font-weight: 700;
  font-size: 14px;
  user-select: none;
}
.pill--icon { width: 34px; padding: 0; justify-content: center; }
.pill--icon img { width: 22px; height: 22px; object-fit: contain; }
.pill--search img { width: 28px; height: 28px; }
.pill--city { padding-left: 12px; padding-right: 6px; gap: 6px; width: 142px; justify-content: space-between; }
.pill--city--wrapper { display: flex; align-items: center; gap: 8px }
.pill--text { font-weight: 400; }
.pill__toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pill__toggle img {
  width: 6px;
  height: 9px;
  object-fit: contain;
  transform: rotate(90deg);
}
.pill__pin { width: 11px; height: 16px; object-fit: contain; flex-shrink: 0; }

.cta-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to left, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  height: 34px;
  padding: 0 20px;
  border-radius: 18px;
  user-select: none;
  cursor: default;
  flex-shrink: 0;
}
.cta-add img { width: 16px; height: 16px; }
.cta-add__label { white-space: nowrap; }

@media (max-width: 767px) {
  .cta-add { padding: 0; width: 36px; height: 36px; border-radius: 50%; justify-content: center; background: var(--blue); }
  .cta-add__label { display: none; }
  .cta-add img { width: 20px; height: 20px; }
  .header__inner { height: 64px; }
  .header__logo-mark { width: 30px; height: 30px; }
  .header__logo-text { height: 22px; }
  .footer { display: none; }
}

@media (min-width: 768px) {
  .header__controls { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--blue);
  padding: 32px 16px 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 0 auto;
}

.hero__title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 16px 0 24px;
  line-height: 1.1;
}

.hero__qr {
  width: 143px;
  height: 143px;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 53px;
  display: none;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.3;
  margin: 0 0 24px;
  max-width: 340px;
}

/* ===== SOCIALS ===== */
.socials {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.socials a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform .15s ease;
}
.socials a:hover { transform: translateY(-2px); }
.socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== CARDS ===== */
.cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 240px;
}
.card__img {
  /*height: 130px;*/
  /*width: auto;*/
  object-fit: contain;
  width: 200px;
  height: auto;
}
.card__label {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -1px;
}

.hero__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__skyline img {
  width: 100%;
  opacity: .35;
  display: block;
}

/* ===== DESKTOP HERO ===== */
@media (min-width: 768px) {
  .hero { padding: 56px 24px 220px; }
  .hero__title { font-size: 36px; margin: 24px 0 50px; }
  .hero__qr { display: block; }
  .hero__subtitle { font-size: 20px; max-width: 420px; margin-bottom: 50px; }

  .cards {
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 100px;
    margin-top: 24px;
  }
  .card { max-width: 340px; }
  .card__img { height: 200px; width: auto; }
  .card__label { font-size: 24px; margin-top: 8px; }
}

/* ===== FOOTER ===== */
.footer {
  background: #fff;
  border-top: 1px solid var(--footer-line);
  flex: 0 0 auto;
}
.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  min-height: 96px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .5;
  flex-shrink: 0;
}
.footer__logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
.footer__logo-text { width: 72px; height: auto; flex-shrink: 0; }
.footer__tagline {
  margin: 0;
  font-size: 14px;
  color: var(--blue);
  font-weight: 400;
  text-align: center;
}
.footer__tagline strong {
  font-weight: 700;
}


@media (min-width: 1280px) {
  .hero__title { font-size: 48px; }
  .cards { gap: 140px; max-width: 1200px; padding-inline: 24px;}
  .footer__tagline {
    margin: 0;
    font-size: 18px;
    color: var(--blue);
    font-weight: 500;
    text-align: center;
  }
  .footer__tagline strong {
    font-size: 26px;
    font-weight: 700;
  }
}

