/* =====================
   DELIVERY PAGE
   ===================== */

/* ---- SHARED UTILITIES ---- */

.dl-tag {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--marsala);
  margin-bottom: 1.2rem;
}

.dl-tag--light {
  color: rgba(236, 233, 226, 0.5);
}

.dl-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--dark);
}

.dl-title--light {
  color: var(--ivory);
}

.dl-text {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dark);
  opacity: 0.8;
  margin-bottom: 1.2rem;
}


/* =====================
   БЛОК 1: HERO
   ===================== */

.dl-hero {
  background: var(--dark);
  min-height: 100vh;
  padding-top: 78px;
  position: relative;
  overflow: hidden;
}

.dl-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2rem;
  row-gap: 2.5rem;
  padding: 5rem 5% 6rem;
  min-height: calc(100vh - 78px);
  align-content: start;
}

.dl-hero__label {
  grid-column: 1 / 13;
  font-family: var(--font-main);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--marsala);
}

.dl-hero__title {
  grid-column: 1 / 8;
  grid-row: 2;
}

.dl-hero__title h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 11vw, 9rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ivory);
}

.dl-hero__row {
  display: block;
}

.dl-hero__row--accent {
  color: var(--marsala);
  font-style: italic;
  font-weight: 400;
}

.dl-hero__row--offset {
  padding-left: clamp(2rem, 8vw, 8rem);
  color: var(--olive);
  font-weight: 300;
}

.dl-hero__desc {
  grid-column: 1 / 7;
  grid-row: 3;
  border-top: 1px solid var(--marsala);
  padding-top: 2rem;
}

.dl-hero__desc p {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--olive);
}

/* Decorative right visual — delivery route */
.dl-hero__visual {
  grid-column: 8 / 13;
  grid-row: 2 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.dl-hero__route {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 320px;
}

.dl-hero__route-stop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dl-hero__route-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.dl-hero__route-dot--start {
  background: var(--olive);
}

.dl-hero__route-dot--mid {
  background: var(--marsala);
  box-shadow: 0 0 0 4px rgba(89, 44, 57, 0.25);
}

.dl-hero__route-dot--end {
  background: var(--teal);
}

.dl-hero__route-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dl-hero__route-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ivory);
  letter-spacing: 0.03em;
  line-height: 1;
}

.dl-hero__route-sub {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--olive);
}

.dl-hero__route-line {
  width: 1px;
  height: 60px;
  margin-left: 7px;
  background: repeating-linear-gradient(
    to bottom,
    var(--marsala) 0px,
    var(--marsala) 5px,
    transparent 5px,
    transparent 12px
  );
  opacity: 0.5;
  position: relative;
  display: flex;
  align-items: center;
}

.dl-hero__route-time {
  position: absolute;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--marsala);
  white-space: nowrap;
}

.dl-hero__stats {
  grid-column: 1 / 13;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.dl-hero__stat {
  border-left: 2px solid var(--marsala);
  padding-left: 1.5rem;
}

.dl-hero__stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.dl-hero__stat-label {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 300;
  color: var(--olive);
}


/* =====================
   БЛОК 2: ЗОНА ДОСТАВКИ
   ===================== */

.dl-zone {
  background: var(--ivory);
  padding: 8rem 5%;
}

.dl-zone__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2rem;
  row-gap: 4rem;
  align-items: start;
}

.dl-zone__header {
  grid-column: 1 / 5;
}

.dl-zone__content {
  grid-column: 5 / 9;
  padding-top: 0.25rem;
}

.dl-zone__visual {
  grid-column: 9 / 13;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 2rem;
}

/* CSS Map */
.dl-zone__map {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.dl-zone__map-ring {
  position: absolute;
  border-radius: 50%;
}

.dl-zone__map-ring--outer {
  width: 200px;
  height: 200px;
  border: 2px solid var(--marsala);
  opacity: 0.3;
}

.dl-zone__map-ring--inner {
  width: 130px;
  height: 130px;
  border: 2px solid var(--marsala);
  background: rgba(89, 44, 57, 0.06);
}

.dl-zone__map-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--marsala);
  position: relative;
  z-index: 1;
}

.dl-zone__map-label {
  position: absolute;
  bottom: -1.5rem;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--marsala);
  white-space: nowrap;
}

.dl-zone__note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark);
}


.dl-zone__note-icon {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--teal);
  font-weight: 700;
}

.dl-zone__note--no .dl-zone__note-icon {
  color: var(--marsala);
}


/* =====================
   БЛОК 3: КАК МЫ ДОСТАВЛЯЕМ
   ===================== */

.dl-how {
  background: var(--dark);
  padding: 8rem 5%;
}

.dl-how__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2rem;
  row-gap: 4rem;
}

.dl-how__header {
  grid-column: 1 / 13;
  border-bottom: 1px solid var(--marsala);
  padding-bottom: 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dl-how__steps {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.dl-how__step {
  border-top: 1px solid rgba(236, 233, 226, 0.15);
  padding-top: 2rem;
}

.dl-how__step-icon {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--marsala);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.dl-how__step-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ivory);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.dl-how__step-desc {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(236, 233, 226, 0.65);
}


/* =====================
   БЛОК 4: СРОКИ И СТОИМОСТЬ
   ===================== */

.dl-pricing {
  background: var(--ivory);
  padding: 8rem 5%;
}

.dl-pricing__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2rem;
  row-gap: 4rem;
}

.dl-pricing__header {
  grid-column: 1 / 13;
  border-bottom: 1px solid var(--marsala);
  padding-bottom: 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dl-pricing__header .dl-tag {
  margin-bottom: 0;
}

.dl-pricing__cards {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.dl-pricing__card {
  border-left: 1px solid var(--marsala);
  padding: 2rem 2.5rem 2rem 2rem;
}

.dl-pricing__card:first-child {
  border-left: none;
  padding-left: 0;
}

.dl-pricing__card-title {
  font-family: var(--font-main);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--marsala);
  margin-bottom: 1rem;
}

.dl-pricing__card-val {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.dl-pricing__card-desc {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark);
  opacity: 0.7;
}


/* =====================
   БЛОК 5: ОФОРМЛЕНИЕ ЗАКАЗА
   ===================== */

.dl-order {
  background: var(--dark);
  padding: 8rem 5%;
}

.dl-order__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2rem;
  row-gap: 4rem;
}

.dl-order__header {
  grid-column: 1 / 13;
  border-bottom: 1px solid var(--marsala);
  padding-bottom: 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dl-order__header .dl-tag {
  margin-bottom: 0;
}

.dl-order__ways {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dl-order__way {
  border-top: 1px solid rgba(236, 233, 226, 0.15);
  padding-top: 2.5rem;
}

.dl-order__way-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--marsala);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.dl-order__way-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ivory);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.dl-order__way-desc {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(236, 233, 226, 0.65);
}

.dl-order__way-desc a {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dl-order__way-desc a:hover {
  color: var(--marsala);
}


/* =====================
   БЛОК 6: ГАРАНТИИ
   ===================== */

.dl-guarantee {
  background: var(--ivory);
  padding: 8rem 5%;
}

.dl-guarantee__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2rem;
  row-gap: 4rem;
}

.dl-guarantee__header {
  grid-column: 1 / 13;
  border-bottom: 1px solid var(--marsala);
  padding-bottom: 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dl-guarantee__header .dl-tag {
  margin-bottom: 0;
}

.dl-guarantee__list {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.dl-guarantee__item {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem 3rem 2.5rem 0;
  border-top: 1px solid rgba(89, 44, 57, 0.2);
}

.dl-guarantee__item:nth-child(even) {
  padding-left: 3rem;
  padding-right: 0;
  border-left: 1px solid rgba(89, 44, 57, 0.2);
}

.dl-guarantee__item-mark {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--marsala);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.dl-guarantee__item-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.dl-guarantee__item-desc {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark);
  opacity: 0.75;
}


/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 1100px) {
  .dl-how__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .dl-pricing__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .dl-pricing__card:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .dl-hero__title     { grid-column: 1 / 13; }
  .dl-hero__desc      { grid-column: 1 / 13; }
  .dl-hero__visual    { display: none; }

  .dl-zone__header    { grid-column: 1 / 13; }
  .dl-zone__content   { grid-column: 1 / 13; }
  .dl-zone__visual    { grid-column: 1 / 13; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
  .dl-zone__note      { justify-content: center; }

  .dl-how__header     { flex-direction: column; gap: 0.75rem; }
  .dl-how__steps      { grid-template-columns: 1fr 1fr; }

  .dl-pricing__header { flex-direction: column; gap: 0.75rem; }
  .dl-pricing__cards  { grid-template-columns: 1fr 1fr; }
  .dl-pricing__card   { border-left: 1px solid var(--marsala); padding-left: 1.5rem; }
  .dl-pricing__card:first-child { border-left: none; padding-left: 0; }
  .dl-pricing__card:nth-child(3) { border-left: 1px solid var(--marsala); padding-left: 1.5rem; }

  .dl-order__header   { flex-direction: column; gap: 0.75rem; }
  .dl-order__ways     { grid-template-columns: 1fr; }

  .dl-guarantee__header { flex-direction: column; gap: 0.75rem; }

  .dl-how__header .dl-title--light,
  .dl-order__header .dl-title--light,
  .dl-pricing__header .dl-title,
  .dl-guarantee__header .dl-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
  }
}

@media (max-width: 600px) {
  .dl-hero__stats     { gap: 1.5rem; }

  .dl-how__steps      { grid-template-columns: 1fr; }
  .dl-pricing__cards  { grid-template-columns: 1fr; }
  .dl-pricing__card   { border-left: none; border-top: 1px solid var(--marsala); padding: 1.5rem 0; }
  .dl-pricing__card:first-child { border-top: none; }

  .dl-pricing__card:nth-child(3) { border-left: none; padding-left: 0; }

  .dl-guarantee__list { grid-template-columns: 1fr; }
  .dl-guarantee__item:nth-child(even) { padding-left: 0; border-left: none; }

  .dl-zone__visual    { flex-direction: column; align-items: center; justify-content: center; width: 100%; }
}
