.delivery-modes {
  position: relative;
  overflow: hidden;
  color: #ecdfc7;
  background: #171711;
}

.delivery-modes::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 55%, rgba(174, 130, 59, .16) 55.1%, transparent 55.35%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(213, 178, 106, .045) calc(8.333% - 1px), rgba(213, 178, 106, .045) 8.333%);
}

.delivery-modes > .section-heading,
.delivery-mode-grid,
.delivery-mode-cta {
  position: relative;
  z-index: 1;
}

.delivery-modes > .section-heading {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(380px, 1.2fr);
  column-gap: clamp(50px, 8vw, 140px);
  align-items: end;
}

.delivery-modes > .section-heading .eyebrow {
  grid-column: 1 / -1;
  font-size: 14px;
}

.delivery-modes > .section-heading h2 { margin-bottom: 0; }

.delivery-modes > .section-heading > p:last-child {
  max-width: 620px;
  margin: 0;
  color: #b9aa91;
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.9;
}

.delivery-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(42px, 5vw, 78px);
  border: 1px solid rgba(204, 168, 100, .28);
}

.delivery-mode-card {
  position: relative;
  display: flex;
  min-height: 400px;
  padding: clamp(30px, 3vw, 48px);
  flex-direction: column;
  border-right: 1px solid rgba(204, 168, 100, .28);
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, .014);
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease;
}

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

.delivery-mode-card:hover,
.delivery-mode-card:focus-visible {
  z-index: 2;
  outline: none;
  background: linear-gradient(145deg, rgba(167, 124, 55, .17), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(221, 183, 109, .55), 0 24px 56px rgba(0, 0, 0, .2);
  transform: translateY(-5px);
}

.delivery-mode-card > span {
  position: absolute;
  top: 25px;
  right: 28px;
  color: rgba(216, 180, 112, .38);
  font: 42px/1 Georgia, serif;
}

.delivery-mode-card small {
  color: #c69a50;
  font-size: 11px;
  letter-spacing: .2em;
}

.delivery-mode-card h3 {
  margin: 58px 0 16px;
  font: clamp(27px, 2vw, 35px) / 1.25 var(--serif);
  letter-spacing: .04em;
}

.delivery-mode-card p {
  min-height: 84px;
  margin: 0;
  color: #bdb09a;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.85;
}

.delivery-mode-card ul {
  margin: 23px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(204, 168, 100, .2);
  list-style: none;
}

.delivery-mode-card li {
  margin: 10px 0;
  color: #dcccb1;
  font-size: 14px;
}

.delivery-mode-card li::before {
  content: "◇";
  margin-right: 9px;
  color: #c89b4f;
}

.delivery-mode-card > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  color: #e8d2a7;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .05em;
}

.delivery-mode-card > strong b {
  font-size: 18px;
  font-weight: 400;
  transition: transform .25s ease;
}

.delivery-mode-card:hover > strong b,
.delivery-mode-card:focus-visible > strong b { transform: translate(4px, -4px); }

.delivery-mode-cta {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  margin-top: 38px;
  padding: 17px 2px 15px;
  border-bottom: 1px solid #bd9655;
  color: #f0d9aa;
  text-decoration: none;
  font-size: clamp(17px, 1.2vw, 19px);
  font-weight: 500;
  letter-spacing: .045em;
}

.delivery-mode-cta b {
  font-size: 20px;
  font-weight: 400;
  transition: transform .25s ease;
}

.delivery-mode-cta:hover b,
.delivery-mode-cta:focus-visible b { transform: translateX(6px); }

.diagnosis > .section-heading .eyebrow { font-size: 14px; }

@media (max-width: 1180px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12.5px; }
  .delivery-mode-card { min-height: 390px; }
}

@media (max-width: 860px) {
  .site-header { height: 69px; padding: 0 24px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    height: auto;
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--line);
    background: rgba(19, 18, 13, .98);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; font-size: 14px; }
  .main-nav a::after { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .delivery-modes > .section-heading { display: block; }
  .delivery-modes > .section-heading > p:last-child { margin-top: 22px; }
  .delivery-mode-grid { grid-template-columns: 1fr; }
  .delivery-mode-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(204, 168, 100, .28);
  }
  .delivery-mode-card:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  .delivery-mode-card { padding: 28px 24px; }
  .delivery-mode-card h3 { margin-top: 46px; }
  .delivery-mode-card p { min-height: 0; }
  .delivery-mode-cta { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-mode-card,
  .delivery-mode-card > strong b,
  .delivery-mode-cta b { transition: none; }
}
