:root {
  --blue: #0877c9;
  --orange: #ff7a18;
  --ink: #142536;
  --muted: #667789;
  --bg: #f5f8fb;
  --line: #dfe7ee;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background: white;
}
header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 max(5vw, 24px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
.brand {
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
  text-decoration: none;
}
.brand span {
  color: var(--orange);
}
nav {
  display: flex;
  gap: 24px;
  flex: 1;
}
nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.actions {
  display: flex;
  gap: 10px;
}
button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 750;
  cursor: pointer;
}
.primary {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
main {
  max-width: 1180px;
  margin: auto;
}
.hero {
  margin: 28px 0 22px;
  padding: 56px;
  border-radius: 24px;
  background: linear-gradient(120deg, #eef7ff 0%, #fff6ed 100%);
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 40px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--blue);
}
h1 {
  font-size: 52px;
  line-height: 1.03;
  margin: 12px 0;
}
h1 span {
  color: var(--blue);
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
}
.search {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  background: white;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 8px 30px #24415b14;
  margin-top: 28px;
}
.search input,
.search select,
form input,
form select,
form textarea {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
  background: white;
  font: inherit;
}
.search input,
.search select {
  border: 0;
}
.heroCard {
  align-self: end;
  background: #0c75bd;
  color: #fff;
  padding: 26px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.heroCard b {
  font-size: 28px;
}
.heroCard span {
  opacity: 0.9;
}
.heroCard button {
  color: var(--blue);
}
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.categories article,
.cards article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  cursor: pointer;
}
.categories article:hover,
.cards article:hover {
  box-shadow: 0 10px 30px #1a334b12;
}
.categories article div {
  font-size: 34px;
}
.categories h3 {
  margin: 8px 0;
}
.categories p,
.cards p {
  color: var(--muted);
}
.section {
  padding: 70px 0;
}
.sectionHead {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.section h2,
.how h2 {
  font-size: 34px;
  margin: 8px 0 24px;
}
.tabs {
  display: flex;
  gap: 8px;
}
.tabs .active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 850;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eaf5ff;
  color: var(--blue);
}
.badge.offer {
  background: #fff0e3;
  color: #c85c00;
}
.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.price {
  font-size: 20px;
  font-weight: 900;
  margin-top: 14px;
}
.how {
  background: var(--bg);
  padding: 46px;
  border-radius: 24px;
  margin-bottom: 70px;
}
.how > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.how article b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange);
  color: white;
  font-size: 20px;
}
.modal {
  position: fixed;
  inset: 0;
  background: #10263a99;
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 30;
}
.modal.open {
  display: grid;
}
.modal form {
  width: min(620px, 100%);
  background: white;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 15px;
}
.modalHead {
  display: flex;
  justify-content: space-between;
}
.modal h2 {
  margin: 5px 0;
}
.close {
  font-size: 24px;
  border: 0;
}
.toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.toggle label {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
}
.modal form > label,
.two label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.full {
  width: 100%;
  font-size: 16px;
}
small {
  color: var(--muted);
  text-align: center;
}
footer {
  padding: 38px max(5vw, 24px);
  background: #102536;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p {
  opacity: 0.75;
}
@media (max-width: 760px) {
  header {
    height: 64px;
    padding: 0 14px;
  }
  .brand {
    font-size: 20px;
  }
  nav {
    display: none;
  }
  .actions #lang {
    display: inline-flex;
  }
  .actions .primary {
    padding: 9px 11px;
    font-size: 12px;
  }
  main {
    padding: 0 14px;
  }
  .hero {
    margin-top: 14px;
    padding: 28px 18px;
    grid-template-columns: 1fr;
  }
  .heroCard {
    display: none;
  }
  h1 {
    font-size: 37px;
  }
  .hero p {
    font-size: 16px;
  }
  .search {
    grid-template-columns: 1fr;
  }
  .search input,
  .search select {
    border-bottom: 1px solid var(--line);
  }
  .categories {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 46px 0;
  }
  .sectionHead {
    display: block;
  }
  .tabs {
    overflow: auto;
    margin-bottom: 14px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .how {
    padding: 26px 18px;
  }
  .how > div {
    grid-template-columns: 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
  footer {
    display: block;
  }
  .modal form {
    max-height: 92vh;
    overflow: auto;
  }
}

.thumbs img {
  cursor: pointer;
  opacity: 0.75;
}
.thumbs img.active {
  opacity: 1;
  outline: 3px solid currentColor;
  outline-offset: 2px;
}
.hero {
  object-fit: cover;
  background: #eee;
}
.listing-card img,
.card img {
  object-fit: cover;
}
@media (max-width:760px){
  .actions #lang{
    display:inline-flex;
    white-space:nowrap;
    padding:8px 9px;
    font-size:12px;
    min-width:auto;
  }
}
