.delivery-section {
  padding-top: 48px;
  padding-bottom: 96px;
}

.delivery-section__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  grid-template-rows: auto auto auto;
  gap: 18px 48px;
  align-items: start;
}

.delivery-section__content {
  grid-column: 1;
  grid-row: 1;
  padding-top: 8px;
}

.delivery-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  color: #66827b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.delivery-section__eyebrow i {
  display: block;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, #4f8a73, #e8c0a7);
}

.delivery-section__title {
  max-width: 560px;
  margin: 0;
  color: var(--green-main, #064b3f);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(46px, 3.4vw, 58px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .96;
}

.delivery-section__description {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--text-muted, #78858d);
  font-size: 18px;
  line-height: 1.5;
}

.delivery-section__note {
  position: absolute;
  z-index: 2;
  top: -2px;
  right: 7%;
  width: 390px;
  margin: 0;
  color: #d98896;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 24px;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-4deg);
}

.delivery-section__note span {
  display: inline-block;
  margin-left: 8px;
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: .7;
  transform: rotate(8deg);
}

.delivery-map {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: 700px;
  overflow: hidden;
  border-radius: 28px;
  background: #e8f0e5;
  isolation: isolate;
}

.delivery-map::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 42%, rgba(255, 232, 229, .12));
  content: '';
  pointer-events: none;
}

.delivery-map__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delivery-map__district {
  position: absolute;
  z-index: 2;
  top: var(--y);
  left: var(--x);
  display: grid;
  grid-template-columns: 12px auto;
  align-items: center;
  column-gap: 10px;
  min-width: 146px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(224, 214, 210, .65);
  border-radius: 16px;
  color: #173e33;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 20px rgba(45, 59, 48, .1);
  transform: translate(-50%, -50%);
}

.delivery-map__district i {
  display: block;
  width: 12px;
  height: 12px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: #e8aab0;
}

.delivery-map__district span,
.delivery-map__district-price {
  grid-column: 2;
}

.delivery-map__district span {
  font-family: var(--font-display, Georgia, serif);
  font-size: 16px;
  line-height: 1.05;
}

.delivery-map__district-price {
  margin-top: 2px;
  font-family: var(--font-display, Georgia, serif);
  font-size: 18px;
  line-height: 1.05;
}

.delivery-map__pin {
  position: absolute;
  z-index: 3;
  top: var(--y);
  left: var(--x);
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #173e33;
  transform: translate(-50%, -50%);
}

.delivery-map__pin .icon {
  width: 44px;
  height: 52px;
  padding: 7px;
  color: #fff;
  fill: #d98998;
  stroke: #fff;
  stroke-width: 1.5;
  filter: drop-shadow(0 5px 6px rgba(77, 58, 52, .2));
}

.delivery-map__pin > span {
  margin-top: -1px;
  font-family: var(--font-display, Georgia, serif);
  font-size: 23px;
  line-height: 1;
}

.delivery-map__direction {
  position: absolute;
  z-index: 1;
  color: rgba(32, 67, 55, .78);
  font-size: 14px;
  line-height: 1.2;
}

.delivery-map__direction::before {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
  color: #466e5b;
  content: '↗';
  font-size: 23px;
  line-height: .7;
}

.delivery-map__direction--north { top: 10%; left: 12%; }
.delivery-map__direction--east { top: 17%; right: 8%; text-align: right; }
.delivery-map__direction--south-east { right: 9%; bottom: 13%; text-align: right; }
.delivery-map__direction--south-west { bottom: 12%; left: 11%; }

.delivery-map__legend {
  position: absolute;
  z-index: 4;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 18px;
  border-radius: 14px;
  color: #456057;
  background: rgba(255, 255, 255, .9);
  font-size: 13px;
}

.delivery-map__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.delivery-map__legend-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.delivery-map__legend-dot--pink { background: #e8aab0; }
.delivery-map__legend-dot--green { background: #dce5d4; }

.delivery-section__facts {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.delivery-section__fact {
  display: grid;
  min-height: 102px;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border: 1px solid #edf0ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 55, 48, .035);
}

.delivery-section__fact-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  color: #173e33;
}

.delivery-section__fact-icon--green { background: #e5eddc; }
.delivery-section__fact-icon--pink { background: #ffe4e4; }

.delivery-section__fact-icon .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.65;
}

.delivery-section__fact > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.delivery-section__fact-title {
  color: #173e33;
  font-family: var(--font-display, Georgia, serif);
  font-size: 24px;
  line-height: 1.08;
}

.delivery-section__fact em {
  color: #ce7a8a;
  font-family: var(--font-display, Georgia, serif);
  font-size: 27px;
  font-style: normal;
  font-weight: 500;
  line-height: .95;
}

.delivery-section__fact small {
  max-width: 360px;
  color: var(--text-muted, #78858d);
  font-size: 15px;
  line-height: 1.3;
}

.delivery-section__cta {
  display: flex;
  min-height: 60px;
  grid-column: 1;
  grid-row: 3;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  padding: 0 30px;
  border-radius: 999px;
  color: #fff;
  background: #d88495;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.delivery-section__cta:hover {
  background: #c97487;
  transform: translateY(-1px);
}

.delivery-section__cta .icon {
  width: 21px;
  height: 21px;
  transition: transform 180ms ease;
}

.delivery-section__cta:hover .icon { transform: translateX(3px); }

.delivery-section__cta:focus-visible {
  outline: 3px solid rgba(239, 48, 77, .28);
  outline-offset: 4px;
}

@media (min-width: 1180px) {
  .delivery-map {
    top: 128px;
    margin-bottom: 128px;
  }
}

@media (max-width: 1179px) and (min-width: 768px) {
  .delivery-section {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .delivery-section__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 24px;
  }

  .delivery-section__content,
  .delivery-map,
  .delivery-section__facts,
  .delivery-section__cta {
    grid-column: 1;
  }

  .delivery-section__content { grid-row: 1; }

  .delivery-section__note { display: none; }

  .delivery-map {
    grid-row: 2;
    min-height: 560px;
  }

  .delivery-section__facts {
    display: grid;
    grid-row: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .delivery-section__cta { grid-row: 4; }
}

@media (max-width: 767px) {
  .delivery-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .delivery-section__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .delivery-section__content {
    padding-top: 0;
  }

  .delivery-section__note { display: none; }

  .delivery-section__eyebrow {
    gap: 12px;
    margin-bottom: 13px;
    font-size: 11px;
    letter-spacing: .2em;
  }

  .delivery-section__eyebrow i { width: 38px; }

  .delivery-section__title {
    max-width: 390px;
    font-size: clamp(36px, 10vw, 42px);
    line-height: .98;
  }

  .delivery-section__description {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.45;
  }

  .delivery-map {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / .72;
    margin-top: 24px;
    border-radius: 20px;
  }

  .delivery-map__district {
    min-width: 94px;
    grid-template-columns: 8px auto;
    column-gap: 6px;
    padding: 6px 9px 6px 7px;
    border-radius: 10px;
  }

  .delivery-map__district i {
    width: 8px;
    height: 8px;
  }

  .delivery-map__district span { font-size: 11px; }
  .delivery-map__district-price { font-size: 12px; }

  .delivery-map__pin .icon {
    width: 32px;
    height: 38px;
    padding: 5px;
  }

  .delivery-map__pin > span { font-size: 16px; }

  .delivery-map__direction {
    font-size: 9px;
  }

  .delivery-map__direction::before {
    width: 12px;
    height: 12px;
    font-size: 17px;
  }

  .delivery-map__direction--north { top: 8%; left: 8%; }
  .delivery-map__direction--east { top: 12%; right: 5%; }
  .delivery-map__direction--south-east { right: 5%; bottom: 12%; }
  .delivery-map__direction--south-west { bottom: 10%; left: 7%; }

  .delivery-map__legend {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 9px;
  }

  .delivery-map__legend span { gap: 5px; }
  .delivery-map__legend-dot { width: 9px; height: 9px; }
  .delivery-section__facts {
    width: 100%;
    gap: 10px;
    margin-top: 20px;
  }

  .delivery-section__fact {
    min-height: 88px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .delivery-section__fact-icon {
    width: 50px;
    height: 50px;
  }

  .delivery-section__fact-icon .icon {
    width: 26px;
    height: 26px;
  }

  .delivery-section__fact-title { font-size: 18px; }
  .delivery-section__fact em { font-size: 21px; }
  .delivery-section__fact small { font-size: 13px; line-height: 1.25; }

  .delivery-section__cta {
    width: 100%;
    min-height: 56px;
    margin-top: 20px;
    padding: 0 20px 0 24px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
  }
}

@media (max-width: 359px) {
  .delivery-map__district {
    min-width: 84px;
    padding-inline: 6px;
  }

  .delivery-map__district span { font-size: 10px; }
  .delivery-map__district-price { font-size: 11px; }

  .delivery-map__district:nth-of-type(4) { display: none; }

  .delivery-map__legend {
    font-size: 8px;
  }
}
