.page-hero--delivery,
.page-hero--contacts {
  padding: 0;
  overflow: hidden;
}

.delivery-hero-grid,
.contacts-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 48px;
  min-height: 430px;
}

.delivery-hero-copy,
.contacts-hero-copy {
  padding: 72px 0 64px;
}

.delivery-hero-photo,
.contacts-hero-photo {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(64, 49, 35, 0.18);
}

.delivery-hero-photo::after,
.contacts-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(241, 223, 196, 0.3), transparent 40%);
  pointer-events: none;
}

.delivery-hero-photo img,
.contacts-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.contacts-hero-photo img {
  object-position: center;
}

.contacts-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 76px;
  min-height: 510px;
}

.contacts-hero-copy {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}

.page-hero--contacts h1 {
  max-width: 720px;
}

.contacts-hero-lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contacts-hero-actions svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts-hero-actions {
  display: flex;
  margin-top: 26px;
}

.contacts-hero-actions .button {
  gap: 10px;
}

.contacts-hero-visual {
  position: relative;
  align-self: center;
  min-width: 0;
  padding: 0 18px 22px 0;
}

.contacts-hero-photo {
  height: 365px;
  border-radius: 36% 12% 36% 12%;
}

.contacts-hero-photo::after {
  background: linear-gradient(90deg, rgba(241, 223, 196, 0.22), transparent 42%);
}

.contacts-hero-note {
  bottom: 0;
}

.delivery-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 76px;
  min-height: 510px;
}

.delivery-hero-copy {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}

.page-hero--delivery h1 {
  max-width: 720px;
}

.delivery-hero-lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.delivery-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 24px;
}

.delivery-hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.delivery-hero-facts svg,
.delivery-hero-actions svg,
.delivery-card-action svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.delivery-hero-actions {
  display: flex;
  margin-top: 26px;
}

.delivery-hero-actions .button {
  gap: 10px;
}

.delivery-hero-visual {
  position: relative;
  align-self: center;
  min-width: 0;
  padding: 0 18px 22px 0;
}

.delivery-hero-photo {
  height: 365px;
  border-radius: 36% 12% 36% 12%;
}

.delivery-hero-photo::after {
  background: linear-gradient(90deg, rgba(241, 223, 196, 0.22), transparent 42%);
}

.delivery-hero-note {
  bottom: 0;
}

.delivery-options {
  background: var(--paper);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 46px rgba(55, 42, 30, 0.08);
}

.delivery-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 340px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.delivery-card:last-child {
  border-right: 0;
}

.delivery-card--featured {
  background: rgba(243, 228, 207, 0.45);
}

.delivery-card-number {
  color: var(--orange-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
}

.delivery-card .info-icon {
  width: 48px;
  height: 48px;
  margin-top: 16px;
  border-radius: 50%;
  box-shadow: none;
}

.delivery-card .info-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.delivery-card h3 {
  margin: 18px 0 10px;
  color: var(--green);
  font-size: 25px;
  line-height: 1.15;
}

.delivery-card strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.delivery-card p {
  flex: 1;
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.delivery-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s ease, transform 0.2s ease;
}

.delivery-card-action:hover {
  color: var(--green);
  transform: translateX(3px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-card,
.map-card--embedded {
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.contact-card h2 {
  margin: 0 0 26px;
  color: var(--green);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.contact-item > span {
  display: block;
  margin: 2px 0 0;
  color: #8b8379;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-item a {
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--orange-dark);
}

.map-card--embedded {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.map-card.map-card--embedded {
  display: block;
  padding: 0;
  color: inherit;
  background: var(--paper);
  text-align: initial;
}

.map-card--embedded iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 850px) {
  .delivery-hero-grid,
  .contacts-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .delivery-hero-copy,
  .contacts-hero-copy {
    padding: 58px 0 32px;
  }

  .delivery-hero-photo,
  .contacts-hero-photo {
    height: 320px;
    margin-bottom: 48px;
  }

  .delivery-hero-grid {
    min-height: 0;
  }

  .delivery-hero-copy {
    padding-bottom: 40px;
  }

  .delivery-hero-visual {
    padding: 0 28px 22px 0;
    margin-bottom: 48px;
  }

  .delivery-hero-photo {
    margin-bottom: 0;
  }

  .contacts-hero-grid {
    min-height: 0;
  }

  .contacts-hero-copy {
    padding-bottom: 40px;
  }

  .contacts-hero-visual {
    padding: 0 28px 22px 0;
    margin-bottom: 48px;
  }

  .contacts-hero-photo {
    margin-bottom: 0;
  }

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

  .map-card--embedded {
    min-height: 360px;
  }
}

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

  .delivery-card {
    min-height: auto;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .delivery-card:last-child {
    border-bottom: 0;
  }

  .delivery-hero-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .delivery-hero-facts {
    display: grid;
    gap: 12px;
    margin-top: 20px;
  }

  .delivery-hero-actions {
    margin-top: 24px;
  }

  .delivery-hero-actions .button {
    width: 100%;
  }

  .contact-card {
    min-height: auto;
    padding: 24px;
    border-radius: 20px;
  }

  .contact-card h2 {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .contacts-hero-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .contacts-hero-actions {
    margin-top: 24px;
  }

  .contacts-hero-actions .button {
    width: 100%;
  }

  .contact-item {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 12px;
  }

  .contact-item > span {
    font-size: 9px;
  }

  .contact-item strong,
  .contact-item a {
    font-size: 14px;
  }

  .map-card--embedded {
    min-height: 340px;
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .delivery-hero-photo,
  .contacts-hero-photo {
    height: 270px;
    border-radius: 22px;
  }

  .delivery-hero-visual {
    padding-right: 18px;
    margin-bottom: 38px;
  }

  .delivery-hero-photo {
    margin-bottom: 0;
    border-radius: 30% 10% 30% 10%;
  }

  .contacts-hero-visual {
    padding-right: 18px;
    margin-bottom: 38px;
  }

  .contacts-hero-photo {
    margin-bottom: 0;
    border-radius: 30% 10% 30% 10%;
  }

  .contact-item {
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 10px;
  }

  .contact-item strong,
  .contact-item a {
    font-size: 13px;
  }

  .map-card--embedded {
    min-height: 300px;
  }
}
