/* ==========================================================================
   Roadway Car Transport — Terms & Privacy pages
   Compiled from /scss/main.scss (source of truth — edit the .scss files
   and recompile with: sass scss/main.scss css/style.css)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #5b6b7c;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #0d2c54;
  margin: 0;
  line-height: 1.25;
}

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

a { color: #1a56a0; }

ul { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

:focus-visible { outline: 3px solid #f2b23c; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: #0a2245;
}
@media (min-width: 768px) { .hero { min-height: 300px; } }
@media (min-width: 1024px) { .hero { min-height: 360px; } }

.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo svg { width: 100%; height: 100%; object-fit: cover; }

.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(10, 34, 69, .95) 0%,
    rgba(10, 34, 69, .55) 45%,
    rgba(10, 34, 69, .15) 75%,
    rgba(10, 34, 69, 0) 100%);
}
@media (min-width: 768px) {
  .hero__fade {
    background: linear-gradient(100deg,
      rgba(10, 34, 69, .97) 0%,
      rgba(10, 34, 69, .90) 30%,
      rgba(10, 34, 69, .55) 58%,
      rgba(10, 34, 69, .12) 82%,
      rgba(10, 34, 69, 0) 100%);
  }
}

.hero__content { position: relative; z-index: 2; padding: 41px 20px 32px; }
@media (min-width: 768px) { .hero__content { padding: 56px 0; } }
@media (min-width: 1024px) { .hero__content { padding: 64px 0; } }

.hero__title {
  color: #ffffff;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__crumb {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero__crumb a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.hero__crumb a:hover { color: #ffffff; }
.hero__crumb .sep { color: rgba(255, 255, 255, 0.45); }
.hero__crumb .current { color: #ffffff; font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Layout                                                                  */
/* ---------------------------------------------------------------------- */

.page-body { padding: 28px 0 60px; }
@media (min-width: 768px) { .page-body { padding: 40px 0 80px; } }

.content-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 48px;
    align-items: start;
  }
}

.main-col { min-width: 0; }

.aside-col { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .aside-col { position: sticky; top: 24px; } }

.meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8494a6;
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.meta-bar svg { width: 18px; height: 18px; stroke: #1a56a0; fill: none; stroke-width: 2; }
.meta-bar strong { color: #0d2c54; font-weight: 700; }

.intro-text { color: #5b6b7c; font-size: 1rem; margin-bottom: 28px; }
.intro-text p { margin-bottom: 14px; }
@media (min-width: 768px) { .intro-text { font-size: 1.02rem; } }

/* ---------------------------------------------------------------------- */
/* Clause / section list                                                   */
/* ---------------------------------------------------------------------- */

.clause-list { display: flex; flex-direction: column; }

.clause {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #e3e9f0;
}
@media (min-width: 768px) { .clause { gap: 20px; padding: 26px 0; } }
.clause:first-child { padding-top: 0; }
.clause:last-child { border-bottom: none; padding-bottom: 4px; }

.clause__icon {
  width: 46px; height: 46px; min-width: 46px;
  border-radius: 12px;
  background: linear-gradient(160deg, #1e63b3 0%, #0d2c54 100%);
  box-shadow: 0 8px 16px rgba(13, 44, 84, 0.28);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.clause__icon svg { width: 21px; height: 21px; stroke: #ffffff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 768px) {
  .clause__icon { width: 52px; height: 52px; min-width: 52px; }
  .clause__icon svg { width: 24px; height: 24px; }
}

.clause__body { flex: 1; min-width: 0; }

.clause__title { font-size: 1.08rem; font-weight: 700; color: #0d2c54; margin-bottom: 8px; }
@media (min-width: 768px) { .clause__title { font-size: 1.15rem; } }

.clause__text { color: #5b6b7c; font-size: 0.96rem; }
.clause__text p { margin-bottom: 10px; }
.clause__text ul { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.clause__text li { position: relative; padding-left: 16px; }
.clause__text li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: #1a56a0;
}

/* ---------------------------------------------------------------------- */
/* Sidebar cards                                                           */
/* ---------------------------------------------------------------------- */

.help-card {
  background: #ffffff;
  border: 1px solid #e3e9f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(10, 34, 69, 0.08);
  padding: 26px 24px;
  text-align: center;
}

.help-card__badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(160deg, #1e63b3 0%, #0d2c54 100%);
  box-shadow: 0 8px 16px rgba(13, 44, 84, 0.28);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  position: relative;
}
.help-card__badge svg { width: 28px; height: 28px; stroke: #ffffff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.help-card__badge::after {
  content: '24/7';
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  background: #f2b23c; color: #0d2c54;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.03em;
  padding: 2px 8px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.help-card__title { font-size: 1.15rem; margin-bottom: 8px; }
.help-card__lede { font-size: 0.92rem; color: #5b6b7c; margin-bottom: 20px; }
.help-card__rows { display: flex; flex-direction: column; gap: 16px; text-align: left; }

.help-row { display: flex; align-items: center; gap: 14px; }
.help-row__icon {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 10px;
  background: #eef4fa;
  display: flex; align-items: center; justify-content: center;
}
.help-row__icon svg { stroke: #1a56a0; width: 18px; height: 18px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.help-row__title { font-weight: 700; color: #0d2c54; font-size: 0.95rem; }
.help-row__sub { font-size: 0.82rem; color: #8494a6; }

.help-divider { height: 1px; background: #e3e9f0; margin: 20px 0; }

.license-strip {
  background: #f4f8fc;
  border: 1px solid #e3e9f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(10, 34, 69, 0.08);
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
}
.license-strip__icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 10px;
  background: linear-gradient(160deg, #1e63b3 0%, #0d2c54 100%);
  box-shadow: 0 8px 16px rgba(13, 44, 84, 0.28);
  display: flex; align-items: center; justify-content: center;
}
.license-strip__icon svg { width: 20px; height: 20px; stroke: #ffffff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.license-strip__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.license-strip__title { font-weight: 700; color: #0d2c54; font-size: 0.92rem; }
.license-strip__sub { font-size: 0.82rem; color: #8494a6; }
@media (min-width: 576px) {
  .license-strip__text { flex-direction: row; align-items: center; justify-content: space-between; }
}

.license-row { display: flex; align-items: center; gap: 12px; text-align: left; }
.license-row__icon {
  width: 34px; height: 34px; min-width: 34px;
  border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(160deg, #1e63b3 0%, #0d2c54 100%);
  box-shadow: 0 8px 16px rgba(13, 44, 84, 0.28);
  display: flex; align-items: center; justify-content: center;
}
.license-row__icon svg { width: 16px; height: 16px; stroke: #ffffff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.license-row__title { font-weight: 700; color: #0d2c54; font-size: 0.88rem; }
.license-row__sub { font-size: 0.8rem; color: #8494a6; }

.feature-card {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #123a6b 0%, #0d2c54 100%);
  box-shadow: 0 10px 30px rgba(10, 34, 69, 0.08);
  text-align: center;
}
.feature-card__top { padding: 30px 26px 24px; }
.feature-card__badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.feature-card__badge svg { width: 24px; height: 24px; stroke: #ffffff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card__title { color: #ffffff; font-size: 1.12rem; margin-bottom: 10px; }
.feature-card__text { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.feature-card__art { height: 130px; }
.feature-card__art svg { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------------- */
/* Utility                                                                  */
/* ---------------------------------------------------------------------- */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
