.hero {
  padding: 10px 0 0;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 70px;
  align-items: start;
  min-height: 477px;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
}

.hero__title {
  width: min(100%, 440px);
  margin: 0;
  color: #171326;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero__description {
  width: min(100%, 549px);
  margin: 16px 0 0;
  color: #333;
  font-size: 13px;
  line-height: 18px;
}

.hero-search {
  position: relative;
  display: grid;
  grid-template-columns: 160px 160px 160px 160px 1fr 44px;
  width: min(1010px, calc(100vw - 32px));
  min-height: 65px;
  margin-top: 40px;
  border: 1px solid #222;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.hero-search__field {
  position: relative;
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 63px;
  padding: 14px 16px 12px;
  border-right: 1px solid #ececec;
}

.hero-search__field--location { border-right: 0; }

.hero-search__field--select::after {
  content: "⌄";
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: #242424;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}

.hero-search__label {
  color: #767676;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 12px;
}

.hero-search__input {
  width: 100%;
  min-width: 0;
  padding: 0 22px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #242424;
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  appearance: none;
}

.hero-search__input::placeholder { color: #242424; opacity: 1; }
.hero-search__input[type="date"] { color: #242424; }

.hero-search__submit {
  width: 44px;
  min-height: 63px;
  border: 0;
  border-left: 1px solid #ececec;
  background: #fff;
  cursor: pointer;
}

.hero-search__submit::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  margin: 0 auto;
  border: 2px solid #171326;
  border-radius: 50%;
  box-shadow: 7px 7px 0 -5px #171326;
}

.hero-search__actions {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.hero-search__actions .button { min-width: 205px; }
.hero-search__actions .button--primary { min-width: 214px; }

.hero__media {
  position: relative;
  min-height: 426px;
  padding-top: 52px;
}

.hero__cloud {
  position: absolute;
  left: -110px;
  top: 55px;
  z-index: 0;
  width: 186px;
  height: 138px;
  background: radial-gradient(circle at 35% 45%, #eaf3ff 0 34%, transparent 35%), radial-gradient(circle at 64% 48%, #dceafe 0 31%, transparent 32%), radial-gradient(circle at 48% 62%, #edf5ff 0 43%, transparent 44%);
  filter: blur(.2px);
  opacity: .95;
}

.hero__illustration {
  position: relative;
  z-index: 1;
  width: 374px;
  height: 374px;
  margin-left: auto;
  border-radius: 8px;
  object-fit: contain;
}

.home-section--categories {
  padding: 10px 0 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 180px) 78px;
  gap: 24px;
  align-items: start;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 180px;
  height: 180px;
  padding: 24px 16px 22px;
  overflow: hidden;
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #fff;
  color: #242424;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover,
.supplier-card:hover,
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.category-card__icon {
  position: absolute;
  left: 16px;
  top: 43px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 34px;
  line-height: 1;
}

.category-card__label {
  display: grid;
  gap: 2px;
}

.category-card strong {
  color: #242424;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.category-card span span {
  color: #767676;
  font-size: 12px;
  line-height: 13px;
}

.category-card--search {
  width: 78px;
  height: 78px;
  margin-top: 204px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.category-card__search-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.category-card__search-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid #4a8fd9;
  border-radius: 50%;
}

.category-card__search-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 9px;
  height: 2px;
  background: #4a8fd9;
  transform: rotate(45deg);
}

.home-section--suppliers {
  padding: 38px 0 46px;
}

.supplier-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.supplier-filter {
  border: 1px solid #ededed;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.supplier-filter__search {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #ededed;
}

.supplier-filter__search input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #dedede;
  border-radius: 2px;
  color: #767676;
  font-size: 12px;
}

.supplier-filter ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.supplier-filter li + li { border-top: 1px solid #ededed; }

.supplier-filter a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: #333;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}

.supplier-filter a::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 3px;
  background: #f3f3f3;
}

.supplier-content { min-width: 0; }

.supplier-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  margin-bottom: 12px;
  color: #767676;
  font-size: 12px;
}

.supplier-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.supplier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.supplier-card {
  overflow: hidden;
  border: 1px solid #ededed;
  border-radius: 4px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.supplier-card__image {
  display: grid;
  place-items: center;
  height: 190px;
  background: linear-gradient(145deg, #f4f4f4, #fdfdfd);
  color: #f05a28;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
}

.supplier-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.supplier-card__body {
  display: grid;
  gap: 6px;
  padding: 12px 12px 16px;
}

.supplier-card__category {
  color: #9a9a9a;
  font-size: 11px;
}

.supplier-card h3 {
  min-height: 36px;
  margin: 0;
  color: #242424;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.supplier-card__rating {
  color: #ffc400;
  font-size: 11px;
  letter-spacing: 1px;
}

.supplier-card strong {
  color: #f05a28;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.home-section--events {
  padding: 46px 0;
  background: #fff;
}

.event-builder {
  display: grid;
  grid-template-columns: 1fr 1.55fr 240px;
  gap: 34px;
  align-items: start;
}

.event-builder__intro span {
  color: #767676;
  font-size: 12px;
}

.event-builder__intro h2 {
  max-width: 300px;
  margin: 10px 0 12px;
  color: #171326;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
}

.event-builder__intro p {
  max-width: 365px;
  margin: 0;
  color: #767676;
  font-size: 13px;
  line-height: 20px;
}

.event-builder__preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
}

.event-phone {
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.event-phone--main { min-height: 310px; }
.event-phone--secondary { min-height: 176px; padding: 22px; }

.event-phone__topbar {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  height: 36px;
  padding: 12px;
  border-bottom: 1px solid #ededed;
}

.event-phone__topbar span,
.event-phone__chips span,
.event-phone__gift-row span {
  display: block;
  border-radius: 999px;
  background: #e9e9e9;
}

.event-phone__topbar span { width: 26px; height: 4px; }

.event-phone__hero {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 28px 22px;
  background: linear-gradient(135deg, #3b145f, #111827 72%);
  color: #fff;
}

.event-phone__hero strong {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.event-phone__hero span { color: rgba(255, 255, 255, .78); }
.event-phone__hero a {
  justify-self: start;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: #171326;
  font-size: 11px;
  font-weight: 700;
}

.event-phone__progress {
  height: 8px;
  margin: 20px;
  border-radius: 999px;
  background: #ededed;
}

.event-phone__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f05a28;
}

.event-phone__gift-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 20px 20px;
}

.event-phone__gift-row span { height: 44px; border-radius: 4px; }
.event-phone--secondary strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
}
.event-phone--secondary span { color: #767676; }
.event-phone__chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 34px;
}
.event-phone__chips span { height: 46px; border-radius: 4px; }

.event-builder__steps {
  display: grid;
  border: 1px solid #ededed;
  border-radius: 4px;
  background: #fff;
}

.event-builder__steps a {
  display: grid;
  gap: 4px;
  min-height: 46px;
  padding: 10px 14px;
}

.event-builder__steps a + a { border-top: 1px solid #ededed; }
.event-builder__steps span { color: #767676; font-size: 11px; }
.event-builder__steps strong {
  color: #333;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.home-section--blog {
  padding: 46px 0 52px;
}

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

.blog-card {
  overflow: hidden;
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card__image {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(145deg, #f7e8dc, #f7f7f7);
  color: #f05a28;
  font-weight: 700;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__date {
  position: absolute;
  left: 15px;
  top: 15px;
  display: grid;
  place-items: center;
  min-width: 53px;
  padding: 7px;
  border-radius: 8px;
  background: #fff;
  color: #333;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.12);
  font-size: 11px;
  font-weight: 700;
}

.blog-card__date strong {
  display: block;
  font-size: 22px;
  line-height: 22px;
}

.blog-card__body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.blog-card__tag {
  color: #f05a28;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0;
  color: #242424;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.blog-card p {
  margin: 0;
  color: #767676;
  font-size: 12px;
  line-height: 18px;
}

.blog-card__read {
  color: #f05a28;
  font-size: 12px;
  font-weight: 700;
}

.home-section--instagram {
  padding: 0;
}

.instagram-strip {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.instagram-strip__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(160px, 16.666vw);
}

.instagram-strip__tile {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f4f4, #e8d7c9);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.instagram-strip__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .22);
  opacity: 0;
  transition: opacity .2s ease;
}

.instagram-strip__tile:hover::after { opacity: 1; }

.instagram-strip__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-strip__tile span {
  position: relative;
  z-index: 1;
  padding: 12px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.22);
}

.instagram-strip__tile--2,
.instagram-strip__tile--5,
.instagram-strip__tile--8,
.instagram-strip__tile--11 { background: linear-gradient(145deg, #ead2bd, #9d6b5d); }
.instagram-strip__tile--3,
.instagram-strip__tile--6,
.instagram-strip__tile--9,
.instagram-strip__tile--12 { background: linear-gradient(145deg, #d8ece8, #af9484); }

.instagram-strip__center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(300px, calc(100% - 30px));
  padding: 50px 30px;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.instagram-strip__center strong {
  color: #242424;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}

.instagram-strip__center span {
  margin-top: 0;
  color: #c4c4c4;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.instagram-strip__center p {
  margin: 10px 0 0;
  color: #767676;
  font-size: 14px;
  line-height: 22px;
}

@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero__content { padding-top: 36px; }
  .hero__media { display: none; }
  .hero-search { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hero-search__field--location { grid-column: 1 / -2; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-card,
  .category-card--search { width: 100%; margin-top: 0; }
  .supplier-grid,
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-builder { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero__title { font-size: 30px; }
  .hero-search { grid-template-columns: 1fr 44px; }
  .hero-search__field { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid #ececec; }
  .hero-search__submit { grid-column: 1 / -1; width: 100%; }
  .hero-search__actions { flex-direction: column; }
  .hero-search__actions .button { width: 100%; }
  .category-grid,
  .supplier-layout,
  .supplier-grid,
  .blog-grid,
  .event-builder__preview { grid-template-columns: 1fr; }
  .category-card { height: 132px; }
  .category-card__icon { top: 24px; }
  .instagram-strip__rail { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .instagram-strip__center { padding: 34px 20px; }
}