/*
 * File: log-delivery-proof-extra-2.css
 * Delivery Proof Part 3 � Guarantee (flip cards), Transparency, CTA,
 * and all responsive rules.
 * Scoped under body.log-delivery-proof-page
 */

/* -- 1. GUARANTEE SECTION -- */
body.log-delivery-proof-page .guarantee-section {
  padding: 88px 0 96px;
}
body.log-delivery-proof-page .guarantee-header {
  text-align: center;
  margin-bottom: 60px;
}
body.log-delivery-proof-page .guarantee-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 147, 26, 0.1);
  border: 1px solid rgba(201, 147, 26, 0.3);
  color: var(--gold);
  padding: 7px 18px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
body.log-delivery-proof-page .guarantee-header .eyebrow::before {
  display: none;
}
body.log-delivery-proof-page .guarantee-header .section-h2 em {
  color: var(--gold);
}

/* Steps grid */
body.log-delivery-proof-page .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  align-items: stretch;
}
body.log-delivery-proof-page .steps-grid::before {
  content: "";
  position: absolute;
  top: 52px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--line) 0%,
    var(--plum-600) 50%,
    var(--line) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Flip card */
body.log-delivery-proof-page .step-card {
  perspective: 1000px;
  height: 280px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
body.log-delivery-proof-page .sc-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
  border-radius: 20px;
}
body.log-delivery-proof-page .step-card:hover .sc-inner {
  transform: rotateY(180deg);
}

/* Front face */
body.log-delivery-proof-page .sc-front {
  position: absolute;
  inset: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px 24px;
  text-align: center;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease);
}
body.log-delivery-proof-page .step-card:hover .sc-front {
  box-shadow: var(--shadow-md);
}

/* Back face */
body.log-delivery-proof-page .sc-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--plum-800), var(--plum-700));
  border-radius: 20px;
  padding: 28px 22px 24px;
  text-align: center;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
body.log-delivery-proof-page .step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum-700), var(--plum-800));
  color: #fff;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 18px rgba(122, 31, 110, 0.32);
  flex-shrink: 0;
}
body.log-delivery-proof-page .step-emoji {
  font-size: 30px;
  margin-bottom: 10px;
  line-height: 1;
}
body.log-delivery-proof-page .step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 8px;
}
body.log-delivery-proof-page .step-desc {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.65;
  text-align: center;
}
body.log-delivery-proof-page .sc-hint {
  margin-top: auto;
  padding-top: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  text-transform: uppercase;
}
body.log-delivery-proof-page .sc-back-icon {
  font-size: 34px;
  margin-bottom: 10px;
}
body.log-delivery-proof-page .sc-back-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
body.log-delivery-proof-page .sc-back-detail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 14px;
}
body.log-delivery-proof-page .sc-back-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-top: auto;
}

/* -- 2. TRANSPARENCY SECTION -- */
body.log-delivery-proof-page .transparency-section {
  background: linear-gradient(
    145deg,
    var(--plum-950) 0%,
    var(--plum-900) 55%,
    var(--plum-800) 100%
  );
  border-radius: 26px;
  margin: 0 0 80px;
  padding: 64px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
body.log-delivery-proof-page .transparency-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(94, 238, 192, 0.07);
  border-radius: 50%;
  top: -160px;
  right: -120px;
  pointer-events: none;
}
body.log-delivery-proof-page .transparency-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(94, 238, 192, 0.05);
  border-radius: 50%;
  bottom: -100px;
  left: 10%;
  pointer-events: none;
}
body.log-delivery-proof-page .ts-left {
  position: relative;
  z-index: 2;
}
body.log-delivery-proof-page .ts-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-400);
  margin-bottom: 14px;
}
body.log-delivery-proof-page .ts-eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--sage-500);
  flex-shrink: 0;
}
body.log-delivery-proof-page .ts-left h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.14;
}
body.log-delivery-proof-page .ts-left h2 em {
  font-style: italic;
  color: var(--sage-400);
}
body.log-delivery-proof-page .ts-left p {
  font-size: 14px;
  color: #c6b3bc;
  margin-top: 14px;
  line-height: 1.7;
  max-width: 420px;
}
body.log-delivery-proof-page .ts-right {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
body.log-delivery-proof-page .ts-stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  transition: background 0.3s var(--ease);
}
body.log-delivery-proof-page .ts-stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
}
body.log-delivery-proof-page .ts-stat-num {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}
body.log-delivery-proof-page .ts-stat-label {
  font-size: 12px;
  color: #d6c4cd;
  margin-top: 4px;
}

/* -- 3. CTA SECTION -- */
body.log-delivery-proof-page .cta-section {
  background: linear-gradient(
    155deg,
    var(--plum-950),
    var(--plum-800),
    var(--plum-700)
  );
  border-radius: 26px;
  margin: 0 0 0;
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.log-delivery-proof-page .cta-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(94, 238, 192, 0.06);
  border-radius: 50%;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
body.log-delivery-proof-page .cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(94, 238, 192, 0.12);
  border: 1px solid rgba(94, 238, 192, 0.3);
  color: var(--sage-400);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
body.log-delivery-proof-page .cta-section h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
body.log-delivery-proof-page .cta-section h2 em {
  font-style: italic;
  color: var(--sage-400);
}
body.log-delivery-proof-page .cta-section p {
  font-size: 15px;
  color: #d6c4cd;
  max-width: 520px;
  margin: 14px auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
body.log-delivery-proof-page .cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
body.log-delivery-proof-page .btn-sage {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--sage-500);
  color: var(--plum-950);
  font-size: 13.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}
body.log-delivery-proof-page .btn-sage:hover {
  background: var(--sage-400);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 219, 149, 0.35);
}
body.log-delivery-proof-page .btn-sage .icon {
  width: 15px;
  height: 15px;
}
body.log-delivery-proof-page .btn-ghost-w {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.4px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}
body.log-delivery-proof-page .btn-ghost-w:hover {
  background: rgba(255, 255, 255, 0.1);
}
body.log-delivery-proof-page .btn-ghost-w .icon {
  width: 15px;
  height: 15px;
}

/* -- 4. RESPONSIVE: TABLET (< 1080px) -- */
@media (max-width: 1080px) {
  body.log-delivery-proof-page .dp-hero {
    margin: 14px 16px 0;
    margin-left: 16px !important;
    margin-right: 16px !important;
    grid-template-columns: 1fr;
    min-height: auto;
  }
  body.log-delivery-proof-page .hero-left {
    padding: 40px 28px 28px;
  }
  body.log-delivery-proof-page .hero-right {
    padding: 0 28px 48px;
    justify-content: flex-start;
  }
  body.log-delivery-proof-page .hero-card-wrap {
    width: 100%;
    max-width: 360px;
  }
  body.log-delivery-proof-page .hero-tracking-card {
    width: 100%;
  }
  body.log-delivery-proof-page .stats-band {
    margin: 14px 16px 0;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
  body.log-delivery-proof-page .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body.log-delivery-proof-page .stat-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  body.log-delivery-proof-page .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body.log-delivery-proof-page .transparency-section {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 32px;
  }
  body.log-delivery-proof-page .cta-section {
    padding: 56px 32px;
  }
  /* Guarantee: 2-col steps, disable 3D flip */
  body.log-delivery-proof-page .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  body.log-delivery-proof-page .steps-grid::before {
    display: none;
  }
  body.log-delivery-proof-page .step-card {
    height: auto;
    perspective: none;
    cursor: default;
  }
  body.log-delivery-proof-page .sc-inner {
    position: static;
    transform-style: flat;
    transform: none !important;
    transition: none;
    display: block;
  }
  body.log-delivery-proof-page .sc-front {
    position: static;
    backface-visibility: visible;
    transform: none !important;
  }
  body.log-delivery-proof-page .sc-back {
    display: none !important;
  }
  body.log-delivery-proof-page .sc-hint {
    display: none;
  }
}

/* -- 5. RESPONSIVE: MOBILE (< 640px) -- */
@media (max-width: 640px) {
  body.log-delivery-proof-page .cards-grid {
    grid-template-columns: 1fr;
  }
  body.log-delivery-proof-page .ts-right {
    grid-template-columns: 1fr 1fr;
  }
  body.log-delivery-proof-page .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  body.log-delivery-proof-page .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body.log-delivery-proof-page .steps-grid::before {
    display: none;
  }
  body.log-delivery-proof-page .step-card {
    height: auto;
    perspective: none;
    cursor: default;
  }
  body.log-delivery-proof-page .sc-inner {
    position: static;
    transform-style: flat;
    transform: none !important;
    transition: none;
    display: block;
  }
  body.log-delivery-proof-page .sc-front {
    position: static;
    backface-visibility: visible;
    transform: none !important;
  }
  body.log-delivery-proof-page .sc-back {
    display: none !important;
  }
  body.log-delivery-proof-page .sc-hint {
    display: none;
  }
  body.log-delivery-proof-page .guarantee-section {
    padding: 56px 0 64px;
  }
  body.log-delivery-proof-page .guarantee-header {
    margin-bottom: 36px;
  }
}
