* {
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --red: #ec0039;
  --soft-white: rgb(255 255 255 / 88%);
  --faint-white: rgb(255 255 255 / 14%);
  --shadow-white: rgb(255 255 255 / 15%);
  --font-body: "Lufga", Arial, sans-serif;
  --font-display: "Nexa_Bold", "Nexa Bold", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
}

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

img {
  max-width: 100%;
}

.topbar {
  align-items: center;
  background: var(--black);
  color: var(--white);
  display: flex;
  gap: 28px;
  height: 64px;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-image-link {
  align-items: center;
  display: inline-flex;
}

.logo-image-link img {
  display: block;
  height: 42px;
  max-width: 260px;
  object-fit: contain;
  width: auto;
}

.primary-nav,
.utility-nav {
  align-items: center;
  display: flex;
  gap: 4px;
}

.primary-nav {
  margin-right: auto;
}

.primary-nav a,
.utility-nav a,
.utility-nav button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  padding: 10px 14px;
}

.primary-nav a:hover,
.utility-nav a:hover,
.utility-nav button:hover {
  background: var(--faint-white);
}

.utility-nav .pill {
  background: var(--red);
  box-shadow: -5px 5px 0 0 var(--shadow-white);
  color: var(--white);
}

.hero {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(520px, 640px) 1fr;
  min-height: 710px;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 64px);
}

.booking-card {
  align-self: center;
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  min-height: 516px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: -8px 8px 0 0 var(--shadow-white);
}

.booking-card h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.4vw, 68px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 12px;
}

.booking-card__hint {
  color: rgb(0 0 0 / 62%);
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 24px;
  max-width: 42ch;
}

.field {
  align-items: center;
  background: rgb(0 0 0 / 6%);
  display: flex;
  gap: 14px;
  min-height: 56px;
  padding: 0 16px;
}

.field input {
  background: transparent;
  border: 0;
  color: var(--black);
  font: inherit;
  outline: 0;
  width: 100%;
}

.field-marker {
  border-radius: 50%;
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.field-marker.pickup {
  background: var(--black);
}

.field-marker.dropoff {
  background: var(--red);
  border-radius: 1px;
}

.connector {
  background: rgb(0 0 0 / 22%);
  height: 34px;
  margin-left: 20px;
  width: 1px;
}

.booking-card button,
.booking-card .booking-card__cta,
.black-button {
  background: var(--red);
  border: 0;
  border-radius: 2px;
  box-shadow: -5px 5px 0 0 var(--shadow-white);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 900;
  justify-content: center;
  margin-top: 28px;
  padding: 15px 22px;
  text-align: center;
  text-decoration: none;
}

.recent-link {
  border-bottom: 1px solid rgb(0 0 0 / 22%);
  color: var(--black);
  display: inline-block;
  font-size: 14px;
  margin-top: 24px;
  padding-bottom: 4px;
}

.hero-visual {
  min-height: 620px;
  position: relative;
}

.hero-visual::before {
  background:
    linear-gradient(135deg, rgb(236 0 57 / 100%), rgb(236 0 57 / 18%)),
    var(--red);
  content: "";
  inset: 64px 0 40px 13%;
  position: absolute;
}

.phone {
  background: var(--black);
  border: 0;
  border-radius: 36px;
  box-shadow: -8px 8px 0 0 var(--shadow-white);
  position: absolute;
  width: min(300px, 32vw);
  height: 650px;
}

.screen-image {
  display: block;
  object-fit: cover;
  overflow: hidden;
}

.mini-screen-image {
  display: block;
  object-fit: cover;
}

.standalone-screen-image {
  display: block;
  object-fit: cover;
}

.promo-screen-image {
  display: block;
  object-fit: cover;
}

.app-screen-image {
  display: block;
  object-fit: cover;
}

.phone-main {
  right: 34%;
  top: 10px;
}

.phone-secondary {
  border: 7px solid var(--white);
  right: 5%;
  top: 150px;
}

.section,
.app-section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.section-title {
  margin-bottom: 34px;
  max-width: 860px;
}

.app-section__hint {
  color: rgb(255 255 255 / 72%);
  font-size: 15px;
  line-height: 1.5;
  margin: -18px 0 28px;
  max-width: 62ch;
}

.section-title h2,
.account-section h2,
.promo-card h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.section-title p,
.account-section p,
.promo-card p {
  color: var(--soft-white);
  font-size: 18px;
  line-height: 1.55;
  margin: 16px 0 0;
}

.explore-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.explore-grid article {
  align-items: center;
  background: var(--black);
  border: 1px solid var(--red);
  display: grid;
  gap: 18px;
  grid-template-columns: 112px 1fr;
  min-height: 160px;
  padding: 22px;
}

.explore-grid img,
.explore-grid iframe,
.mini-placeholder {
  background: var(--black);
  border: 0;
  border-radius: 18px;
  height: 118px;
  width: 86px;
}

.explore-grid h3,
.app-grid h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.explore-grid p,
.app-grid p {
  color: var(--soft-white);
  line-height: 1.45;
  margin: 0;
}

.account-section {
  align-items: center;
  display: grid;
  gap: clamp(32px, 7vw, 100px);
  grid-template-columns: 1fr minmax(240px, 360px);
}

.account-section img,
.account-section iframe,
.standalone-placeholder {
  background: var(--black);
  border: 0;
  border-radius: 36px;
  height: 520px;
  justify-self: center;
  max-height: 520px;
  width: min(100%, 360px);
}

.promo-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.promo-card {
  align-items: end;
  background: var(--black);
  border: 1px solid var(--red);
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr minmax(150px, 240px);
  min-height: 420px;
  overflow: hidden;
  padding: 36px;
}

.promo-card.dark {
  background: var(--red);
  color: var(--white);
}

.promo-card.dark p {
  color: var(--white);
}

.promo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 20px;
}

.promo-card.dark .promo-card__cta {
  background: var(--black);
  border: 0;
  border-bottom: none;
  border-radius: 2px;
  box-shadow: -4px 4px 0 0 rgb(0 0 0 / 25%);
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  margin-top: 0;
  padding: 14px 20px;
  text-decoration: none;
}

.promo-card.dark .promo-card__cta:hover {
  filter: brightness(1.08);
}

.promo-card.dark .promo-card__learn {
  border: 2px solid var(--white);
  border-radius: 2px;
  border-bottom: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  margin-top: 0;
  padding: 12px 18px;
}

.promo-card.dark .promo-card__learn:hover {
  background: rgb(0 0 0 / 15%);
}

.promo-card a {
  border-bottom: 1px solid currentColor;
  display: inline-block;
  font-weight: 700;
  margin-top: 22px;
  padding-bottom: 5px;
}

.promo-card img,
.promo-card iframe,
.promo-placeholder {
  align-self: center;
  background: var(--black);
  border: 0;
  border-radius: 28px;
  height: 360px;
  max-height: 360px;
  width: 240px;
}

.app-section {
  background: var(--black);
}

.app-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-grid article {
  align-items: center;
  background: var(--black);
  border: 1px solid var(--red);
  display: grid;
  gap: 22px;
  grid-template-columns: 132px 1fr auto;
  padding: 24px;
}

.app-grid img,
.app-grid iframe,
.app-placeholder {
  background: var(--black);
  border: 0;
  border-radius: 18px;
  height: 132px;
  width: 96px;
}

.app-grid span {
  font-size: 34px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filters button {
  background: var(--black);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 10px 16px;
}

.filters button.is-active {
  background: var(--black);
  color: var(--white);
}

.screens-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--red);
  display: grid;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.card:hover {
  box-shadow: 0 20px 50px rgb(0 0 0 / 13%);
  transform: translateY(-5px);
}

.screen-box {
  background: var(--black);
  height: 310px;
}

.screen-box img,
.screen-box iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.placeholder-phone,
.mini-placeholder,
.standalone-placeholder,
.promo-placeholder,
.app-placeholder,
.screen-placeholder {
  align-items: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.placeholder-phone span,
.mini-placeholder span,
.standalone-placeholder span,
.promo-placeholder span,
.app-placeholder span,
.screen-placeholder span {
  background: var(--red);
  border-radius: 2px;
  box-shadow: -5px 5px 0 0 var(--shadow-white);
  color: var(--white);
  display: inline-block;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.placeholder-phone strong,
.mini-placeholder strong,
.standalone-placeholder strong,
.promo-placeholder strong,
.app-placeholder strong,
.screen-placeholder strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0 14px;
}

.screen-placeholder em {
  color: var(--soft-white);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  margin-top: 14px;
}

.mini-placeholder span,
.app-placeholder span {
  font-size: 9px;
  margin-bottom: 6px;
  padding: 5px 7px;
}

.mini-placeholder strong,
.app-placeholder strong {
  font-size: 12px;
}

.card-content {
  padding: 18px;
}

.card-content small {
  color: var(--red);
  display: block;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.card p {
  color: var(--black);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.footer {
  background: var(--black);
  border-top: 1px solid var(--red);
  color: var(--white);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(260px, 1.4fr) minmax(260px, 1fr) minmax(180px, auto);
  padding: 56px clamp(20px, 5vw, 64px);
}

.footer p {
  color: var(--soft-white);
}

.footer-company address {
  color: var(--soft-white);
  font-style: normal;
  line-height: 1.65;
  margin-top: 22px;
}

.footer-company strong {
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.footer-payments p {
  margin-top: 0;
}

.payment-logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.payment-logos a,
.payment-logos img {
  display: block;
}

.payment-logos img {
  height: 42px;
  width: auto;
}

.payment-logos img[alt="NETOPIA Payments"] {
  height: 46px;
}

.payment-logos img[alt="Visa and Mastercard"] {
  height: 60px;
  image-rendering: auto;
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a {
  color: var(--soft-white);
}

.footer-links button {
  background: transparent;
  border: 0;
  color: var(--soft-white);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .explore-grid,
  .promo-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .primary-nav,
  .utility-nav {
    flex-wrap: wrap;
  }

  .phone {
    width: 220px;
  }

  .phone-main {
    left: 0;
    right: auto;
  }

  .phone-secondary {
    right: 0;
  }

  .account-section,
  .promo-card,
  .app-grid article,
  .explore-grid article {
    grid-template-columns: 1fr;
  }

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