/* =========================================================
   LEDGERS — SERVICES / PRICING PAGE
   File: css/public/services.css
========================================================= */

/* =========================================================
   1. PAGE HEADER
========================================================= */

.services-header {
  background: var(--deep-navy);
  padding: 35px 90px;
}

.services-header .navbar {
  max-width: 1400px;
  margin: 0 auto;
}

/* =========================================================
   2. PRICING SECTION
========================================================= */

.pricing-section {
  background: var(--deep-navy);
  color: #ffffff;
}

.pricing-list {
  padding: 35px 90px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    url("../../assets/service-bg.jpg");
  background-position: center;
  background-size: cover;
}

.pricing-note {
  max-width: 1120px;
  margin: 0 auto 25px;
  padding: 0 110px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   3. PRICING ROWS
========================================================= */

.pricing-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 30px;

  max-width: 1120px;
  margin: 0 auto 10px;

  opacity: 0;
  transform: translateX(-45px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.pricing-row.show {
  opacity: 1;
  transform: translateX(0);
}

.pricing-number {
  color: var(--gold);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 4px;
}

.pricing-card {
  display: grid;
  grid-template-columns: 250px 3px minmax(0, 1fr);
  align-items: center;

  min-height: 82px;
  overflow: hidden;

  color: #111111;
  background: #f6f6f6;
  border-radius: 4px;
}

.pricing-title {
  padding: 12px 18px;
  text-align: center;
}

.pricing-title h2 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.pricing-title p {
  margin: 0;
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.pricing-title strong {
  color: var(--navy);
  font-weight: 800;
}

.pricing-divider {
  align-self: center;
  width: 3px;
  height: 72px;
  background: #666666;
}

.pricing-desc {
  margin: 0;
  padding: 14px 24px;
  color: #111111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

/* =========================================================
   4. CLOSING MESSAGE SECTION
========================================================= */

.pricing-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;

  min-height: 560px;
  padding: 70px;

  background-image:
    linear-gradient(
      rgba(12, 12, 64, 0.2),
      rgba(12, 12, 64, 0.2)
    ),
    url("../../assets/service-bottom-bg.jpg");

  background-position: center;
  background-size: cover;
}

/* =========================================================
   5. VALUE ROUTE
========================================================= */

.message-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
  color: #ffffff;
}

.message-left h2 {
  margin: 0 0 35px;
  color: var(--gold);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 8px;
}

.value-route {
  position: relative;

  display: flex;
  flex-direction: column;
  gap: 24px;

  margin-top: 20px;
  margin-bottom: 30px;
}

.value-route::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 8px;

  width: 2px;
  height: 210px;

  background: rgba(247, 221, 131, 0.55);
}

.value-step {
  position: relative;

  display: flex;
  align-items: center;
  gap: 28px;

  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 1px;

  opacity: 0;
  transform: translateX(-30px);

  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.value-step.show {
  opacity: 1;
  transform: translateX(0);
}

.value-step:hover {
  transform: translateX(8px);
}

.value-step .route-dot {
  position: relative;
  top: auto;
  left: auto;

  width: 18px;
  height: 18px;
  flex-shrink: 0;

  background: var(--gold);
  border-radius: 50%;

  box-shadow:
    0 0 0 6px rgba(247, 221, 131, 0.12);

  transform: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.value-step:hover .route-dot {
  transform: scale(1.25);

  box-shadow:
    0 0 0 9px rgba(247, 221, 131, 0.18);
}

.destination-step {
  position: relative;

  display: flex;
  align-items: flex-start;
  gap: 22px;

  margin-top: 28px;

  opacity: 0;
  transform: translateX(-30px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.destination-step.show {
  opacity: 1;
  transform: translateX(0);
}

.destination-dot {
  width: 18px;
  height: 18px;
  margin-top: 8px;
  flex-shrink: 0;

  background: var(--gold);

  transform: rotate(45deg);

  box-shadow:
    0 0 0 6px rgba(247, 221, 131, 0.12);
}

.tagline {
  max-width: 260px;
  margin: 0;

  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
}

/* =========================================================
   6. QUOTE AREA
========================================================= */

.message-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-box {
  max-width: 520px;
  padding: 38px 42px;

  text-align: center;

  border-right: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);

  background: rgba(31, 31, 87, 0.15);

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.25);
}

.quote-box p {
  margin: 0 0 34px;

  color: #ffffff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.45;
}

.quote-box p:last-of-type {
  margin-bottom: 28px;
}

.quote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 10px;
  padding: 14px 32px;

  color: var(--navy);
  background: var(--gold);

  border-radius: 999px;

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.quote-cta:hover {
  transform: translateY(-3px);

  box-shadow:
    0 12px 25px rgba(247, 221, 131, 0.25);
}

.quote-cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* =========================================================
   7. TABLET
========================================================= */

@media (max-width: 1000px) {
  .services-header {
    padding: 30px 45px;
  }

  .pricing-list {
    padding: 45px;
  }

  .pricing-note {
    padding: 0 40px;
  }

  .pricing-card {
    grid-template-columns: 220px 3px minmax(0, 1fr);
  }

  .pricing-title h2 {
    font-size: 22px;
  }

  .pricing-desc {
    font-size: 16px;
  }

  .pricing-message {
    gap: 40px;
    padding: 60px 45px;
  }

  .quote-box p {
    font-size: 22px;
  }
}

/* =========================================================
   8. MOBILE
========================================================= */

@media (max-width: 768px) {
  .services-header {
    padding: 25px 20px;
  }

  .pricing-list {
    padding: 40px 20px;
  }

  .pricing-note {
    padding: 0;
    font-size: 14px;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  .pricing-number {
    font-size: 34px;
  }

  .pricing-card {
    grid-template-columns: 1fr;
  }

  .pricing-title {
    padding: 22px 18px;
    border-bottom: 2px solid #666666;
  }

  .pricing-divider {
    display: none;
  }

  .pricing-desc {
    padding: 22px;
  }

  .pricing-message {
    grid-template-columns: 1fr;
    gap: 50px;

    min-height: auto;
    padding: 60px 25px;
  }

  .message-left {
    padding-left: 0;
  }

  .message-left h2 {
    font-size: 34px;
    letter-spacing: 6px;
  }

  .value-step {
    font-size: 25px;
  }

  .tagline {
    font-size: 21px;
  }

  .quote-box {
    max-width: 100%;
    padding: 32px 24px;
  }

  .quote-box p {
    font-size: 20px;
  }
}

/* =========================================================
   9. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .pricing-number {
    font-size: 30px;
  }

  .pricing-title h2 {
    font-size: 21px;
  }

  .pricing-title p {
    font-size: 15px;
  }

  .pricing-desc {
    font-size: 15px;
  }

  .message-left h2 {
    font-size: 30px;
    letter-spacing: 4px;
  }

  .value-step {
    gap: 20px;
    font-size: 22px;
  }

  .value-route::before {
    height: 190px;
  }

  .tagline {
    max-width: 220px;
    font-size: 18px;
  }

  .quote-box p {
    font-size: 18px;
  }
}

/* =========================================================
   10. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .pricing-row,
  .value-step,
  .destination-step,
  .quote-cta {
    transition: none;
  }

  .pricing-row,
  .value-step,
  .destination-step {
    opacity: 1;
    transform: none;
  }
}