/* =============================================
   PAGES.CSS — Shared styles for all subpages
   ============================================= */

/* PAGE HERO
   ------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #001436 0%, #003380 100%);
  color: #fff;
  padding: 4rem 0 3rem;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}
.page-hero--dark {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}
.page-hero--accent {
  background: linear-gradient(135deg, #003380 0%, #0055cc 60%, #0070f3 100%);
}

/* BREADCRUMB
   ------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  opacity: 0.7;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* SECTION UTILITIES
   ------------------------------------------- */
.section-padded {
  padding: 4rem 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #001436;
  margin: 0 0 0.75rem;
}
.section-header p {
  color: #5a6a7e;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.bg-alt {
  background: #f4f6fa;
}

/* CTA STRIP
   ------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, #001436, #003380);
  color: #fff;
  padding: 3.5rem 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.cta-strip p {
  opacity: 0.8;
  margin: 0;
}
.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-outline:hover {
  background: #fff;
  color: #001436;
}
.btn-tiny {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* FILTER BAR
   ------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid #d0d8e4;
  background: #fff;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: #003380;
  color: #003380;
}
.filter-btn.is-active {
  background: #003380;
  color: #fff;
  border-color: #003380;
}

/* PRODUCT GRID & CARDS
   ------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.pcard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 20, 54, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 20, 54, 0.12);
}
.pcard__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f2f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.pcard:hover .pcard__img img {
  transform: scale(1.05);
}
.pcard__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pcard__tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: #e8f0fe;
  color: #003380;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.pcard__tag--purple {
  background: #f0e8fe;
  color: #6b21a8;
}
.pcard__tag--green {
  background: #e8fef0;
  color: #166534;
}
.pcard__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #001436;
  margin: 0 0 0.5rem;
}
.pcard__body p {
  color: #5a6a7e;
  font-size: 0.925rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.pcard__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pcard__specs li {
  font-size: 0.85rem;
  color: #4a5568;
  padding-left: 1.1rem;
  position: relative;
}
.pcard__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #003380;
}
.pcard__body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* STATS GRID
   ------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 20, 54, 0.06);
}
.stat-card__number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #003380;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.stat-card__label {
  font-size: 0.95rem;
  color: #5a6a7e;
  font-weight: 500;
}

/* TIMELINE
   ------------------------------------------- */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline__step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline__step:last-child {
  padding-bottom: 0;
}
.timeline__step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: #d0d8e4;
}
.timeline__step:last-child::before {
  display: none;
}
.timeline__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003380, #0055cc);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.timeline__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #001436;
  margin: 0.25rem 0 0.5rem;
}
.timeline__content p {
  color: #5a6a7e;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* FEATURE GRID & CARDS
   ------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.fcard {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 20, 54, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.fcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 20, 54, 0.1);
}
.fcard__icon {
  width: 48px;
  height: 48px;
  color: #003380;
  margin-bottom: 1rem;
}
.fcard__icon svg {
  width: 100%;
  height: 100%;
}
.fcard h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #001436;
  margin: 0 0 0.5rem;
}
.fcard p {
  color: #5a6a7e;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0;
}

/* CERTIFICATE GRID
   ------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cert-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 20, 54, 0.06);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 20, 54, 0.1);
}
.cert-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003380, #0055cc);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.cert-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #001436;
  margin: 0 0 0.5rem;
}
.cert-card p {
  color: #5a6a7e;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.cert-card__status {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.cert-card__status--active {
  background: #e8fef0;
  color: #166534;
}

/* QUALITY GRID
   ------------------------------------------- */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.quality-item {
  padding: 1.5rem;
  border-left: 3px solid #003380;
}
.quality-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #001436;
  margin: 0 0 0.5rem;
}
.quality-item p {
  color: #5a6a7e;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0;
}

/* STEPS GRID
   ------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 20, 54, 0.06);
}
.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003380, #0055cc);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #001436;
  margin: 0 0 0.5rem;
}
.step-card p {
  color: #5a6a7e;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* FORM LAYOUT
   ------------------------------------------- */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.form-layout__info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #001436;
  margin: 0 0 0.75rem;
}
.form-layout__info p {
  color: #5a6a7e;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-details p {
  margin: 0;
  color: #4a5568;
  font-size: 0.95rem;
}

.page-form {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 20, 54, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.page-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.page-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.page-form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #001436;
}
.page-form__field input,
.page-form__field textarea,
.page-form__field select {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #d0d8e4;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #001436;
  transition: border-color 0.2s;
  background: #fff;
}
.page-form__field input:focus,
.page-form__field textarea:focus,
.page-form__field select:focus {
  outline: none;
  border-color: #003380;
  box-shadow: 0 0 0 3px rgba(0, 51, 128, 0.1);
}
.page-form__field textarea {
  resize: vertical;
  min-height: 80px;
}
.page-form .btn {
  align-self: flex-start;
}

/* BENEFIT LIST
   ------------------------------------------- */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.benefit-list li {
  padding-left: 1.5rem;
  position: relative;
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.5;
}
.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #003380;
}

/* DEALER GRID
   ------------------------------------------- */
.dealer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.dealer-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 20, 54, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.dealer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 20, 54, 0.1);
}
.dealer-card__badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: #e8f0fe;
  color: #003380;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.dealer-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #001436;
  margin: 0 0 0.5rem;
}
.dealer-card p {
  color: #5a6a7e;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 0.25rem;
}

/* RESPONSIVE
   ------------------------------------------- */
@media (max-width: 767px) {
  .page-hero {
    padding: 3rem 0 2rem;
  }
  .section-padded {
    padding: 2.5rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .cta-strip__inner {
    flex-direction: column;
    text-align: center;
  }
  .form-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .page-form__row {
    grid-template-columns: 1fr;
  }
  .product-grid,
  .cert-grid,
  .dealer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline__step {
    gap: 1rem;
  }
  .timeline__number {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
  .timeline__step::before {
    left: 21px;
    top: 44px;
  }
}
