:root {
  --rules-orange: #ff7417;
  --rules-blue: #005aba;
  --rules-navy: #071b38;
  --rules-ink: #102033;
  --rules-muted: #60708a;
  --rules-line: #dbe7f5;
  --rules-soft: #eef5fb;
  --rules-green: #14804a;
}

.transporter-rules-page {
  font-family: "Poppins", "Inter", Arial, sans-serif;
  color: var(--rules-ink);
  background: #fff;
  overflow-x: hidden;
}

.transporter-rules-page a {
  text-decoration: none;
}

.transporter-rules-page img {
  max-width: 100%;
  display: block;
}

.rules-hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.rules-hero__media,
.rules-hero__overlay {
  position: absolute;
  inset: 0;
}

.rules-hero__media {
  z-index: -2;
}

.rules-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rules-hero__overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 116, 23, .25), transparent 28%),
    linear-gradient(90deg, rgba(3, 12, 28, .94), rgba(7, 27, 56, .84) 54%, rgba(0, 90, 186, .45));
}

.rules-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 74px;
}

.rules-hero h1 {
  max-width: 850px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  line-height: .98;
}

.rules-lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: #e8f1ff;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.58;
}

.rules-kicker {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rules-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rules-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rules-btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.rules-btn:hover {
  transform: translateY(-2px);
}

.rules-btn--orange {
  background: var(--rules-orange);
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(255, 116, 23, .28);
}

.rules-btn--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
}

.rules-summary {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.rules-summary__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.rules-summary__status span {
  color: #c8d7ff;
  font-size: 13px;
  font-weight: 800;
}

.rules-summary__status strong {
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--rules-green);
  font-size: 12px;
}

.rules-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rules-summary li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .10);
  color: #eff6ff;
  font-weight: 800;
  line-height: 1.35;
}

.rules-summary i {
  color: #8df0b7;
  margin-top: 2px;
}

.rules-alert {
  padding: 22px 0;
  background: var(--rules-navy);
}

.rules-alert__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.rules-alert i {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 116, 23, .18);
  color: #ffb06f;
}

.rules-alert p {
  margin: 0;
  color: #dbe7ff;
  line-height: 1.55;
}

.rules-alert strong {
  color: #fff;
}

.rules-section {
  padding: 82px 0;
}

.rules-section--soft {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 116, 23, .08), transparent 24%),
    linear-gradient(180deg, #f8fbff, #eef5fb);
}

.rules-section--blue {
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 116, 23, .2), transparent 26%),
    linear-gradient(120deg, #071b38, #005aba);
  color: #fff;
}

.rules-section__head {
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}

.rules-section__head h2,
.rules-process h2,
.rules-split h2,
.rules-why h2,
.rules-final h2 {
  margin: 0 0 16px;
  color: var(--rules-ink);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
}

.rules-section__head p,
.rules-card p,
.rules-split p,
.rules-why p,
.rules-faq-grid p,
.rules-final p,
.rules-process p {
  color: var(--rules-muted);
  line-height: 1.65;
}

.rules-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rules-card,
.rules-faq-grid article {
  border: 1px solid var(--rules-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(7, 32, 72, .08);
}

.rules-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.rules-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 116, 23, .11), transparent 34%),
    linear-gradient(135deg, rgba(0, 90, 186, .05), transparent 42%);
  pointer-events: none;
}

.rules-card > * {
  position: relative;
  z-index: 1;
}

.rules-card span {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--rules-navy);
  color: #fff;
  font-weight: 900;
}

.rules-card h3,
.rules-faq-grid h3 {
  margin: 0 0 10px;
  color: var(--rules-ink);
  font-weight: 900;
}

.rules-process {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: 34px;
  align-items: center;
}

.rules-process h2 {
  color: #fff;
}

.rules-process p {
  color: #dbe7ff;
}

.rules-timeline {
  display: grid;
  gap: 12px;
}

.rules-timeline div {
  position: relative;
  padding: 20px 20px 20px 64px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
}

.rules-timeline div:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 24px;
  height: 24px;
  border: 7px solid rgba(255, 116, 23, .24);
  border-radius: 50%;
  background: var(--rules-orange);
  background-clip: padding-box;
}

.rules-timeline strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.rules-timeline p {
  margin: 0;
}

.rules-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}

.rules-image-panel {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(7, 32, 72, .18);
}

.rules-image-panel img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.rules-responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.rules-responsibility-grid div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(219, 231, 245, .9);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 32, 72, .06);
  color: #40516a;
  font-weight: 800;
  line-height: 1.4;
}

.rules-responsibility-grid i {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff3ea;
  color: var(--rules-orange);
}

.rules-why {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: start;
}

.rules-why__text {
  display: grid;
  gap: 14px;
}

.rules-why__text p {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(219, 231, 245, .95);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 42px rgba(7, 32, 72, .06);
}

.rules-section--faq {
  background: #fff;
}

.rules-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rules-faq-grid article {
  padding: 24px;
}

.rules-final {
  padding: 88px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 116, 23, .24), transparent 28%),
    radial-gradient(circle at 82% 90%, rgba(0, 90, 186, .32), transparent 28%),
    linear-gradient(120deg, #071b38, #005aba);
  color: #fff;
}

.rules-final__inner {
  max-width: 820px;
  text-align: left;
}

.rules-final h2 {
  color: #fff;
}

.rules-final p {
  max-width: 720px;
  margin: 0 0 28px;
  color: #dbe7ff;
  font-size: 18px;
}

.transporter-rules-page .transport-remainder-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 27, 56, .94), rgba(7, 27, 56, .82)),
    var(--rules-navy);
  color: #fff;
}

.transporter-rules-page .transport-remainder-section h2 {
  color: #fff !important;
  font-weight: 900;
}

.transporter-rules-page .transport-remainder-section p {
  max-width: 760px;
  color: #e7f0ff !important;
  font-size: 16px;
  line-height: 1.7;
}

.transporter-rules-page .transport-remainder-section .btn {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--rules-orange);
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(255, 116, 23, .28);
}

.transporter-rules-page footer,
.transporter-rules-page .footer-top,
.transporter-rules-page .footer-bottom {
  font-family: "Poppins", "Inter", Arial, sans-serif;
}

.transporter-rules-page .footer-top {
  overflow: hidden;
  background: #111418;
  color: #fff;
}

.transporter-rules-page .footer-top h1,
.transporter-rules-page .footer-top h2,
.transporter-rules-page .footer-top h3,
.transporter-rules-page .footer-top h4,
.transporter-rules-page .footer-top h5,
.transporter-rules-page .footer-top h6 {
  color: #fff !important;
  font-family: inherit;
  font-weight: 900;
}

.transporter-rules-page .footerLinks,
.transporter-rules-page .footerLinks li {
  margin-left: 0;
  padding-left: 0;
}

.transporter-rules-page .footerLinks a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
}

.transporter-rules-page .footerLinks a:hover {
  color: #ffb06f !important;
}

.transporter-rules-page .footer-bottom {
  overflow: hidden;
  background: #0b0d10;
  color: #fff;
}

.transporter-rules-page .footer-bottom p,
.transporter-rules-page .footer-bottom a {
  color: #fff !important;
  font-family: inherit;
  text-decoration: none !important;
}

.transporter-rules-page .footer-bottom img {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .rules-hero {
    min-height: auto;
  }

  .rules-hero__inner,
  .rules-process,
  .rules-split,
  .rules-why {
    grid-template-columns: 1fr;
  }

  .rules-hero__inner {
    padding-top: 120px;
  }

  .rules-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rules-image-panel img {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .rules-hero__inner {
    padding-top: 92px;
    padding-bottom: 44px;
  }

  .rules-hero h1 {
    font-size: 42px;
  }

  .rules-hero__actions,
  .rules-alert__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .rules-btn {
    width: 100%;
  }

  .rules-section {
    padding: 58px 0;
  }

  .rules-card-grid,
  .rules-responsibility-grid,
  .rules-faq-grid {
    grid-template-columns: 1fr;
  }

  .rules-card,
  .rules-faq-grid article {
    border-radius: 14px;
  }
}
