.page-header {
  background:
    linear-gradient(90deg, rgba(0, 37, 85, 0.86), rgba(0, 37, 85, 0.58)),
    url("../img/cental/servicios1.png") center / cover no-repeat;
}

.page-header h1,
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: #fff;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.72);
}

.content-card {
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 37, 85, 0.08);
}

.content-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 1rem;
}

.office-map-card {
  height: 100%;
  border-radius: 10px;
  background: var(--bs-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.service-list li {
  margin-bottom: 0.65rem;
}

.service-list i {
  color: #002555;
  margin-right: 0.5rem;
}

.quote-strip {
  background:
    linear-gradient(90deg, rgba(0, 37, 85, 0.94), rgba(234, 0, 30, 0.86)),
    url("../img/cental/banner-1.jpg") center / cover no-repeat;
  border-radius: 10px;
}

.mini-article {
  height: 100%;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.mini-article img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.mini-article .p-4 {
  min-height: 250px;
}

.services-page {
  position: relative;
  overflow: hidden;
  background: #f4f7fa;
}

.services-page::before,
.services-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: rgba(0, 37, 85, 0.055);
}

.services-page::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 620px;
  background: #e8eef5;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 0 100%);
}

.services-page::after {
  right: 0;
  bottom: 0;
  width: 100%;
  height: 720px;
  background: #eaf0f6;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

.services-page > .container {
  z-index: 1;
}

.services-intro {
  max-width: 760px;
}

.services-intro .section-label,
.service-group-heading span,
.service-contact-band > .container > .row > div:first-child > span {
  color: #002555;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.services-intro h2 {
  margin: 0.55rem 0 0.8rem;
  color: #000c21;
  font-size: clamp(2rem, 4vw, 3rem);
}

.services-intro p {
  color: #626d7c;
  font-size: 1.05rem;
}

.service-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #e8eef5;
  border: 1px solid #d2dce8;
  border-left: 5px solid #002555;
  border-radius: 6px;
}

.service-group-heading h3 {
  margin: 0.25rem 0 0;
  color: #000c21;
  font-size: 1.65rem;
}

.service-group-heading > i {
  flex: 0 0 auto;
  color: #002555;
  font-size: 2rem;
}

.service-detail-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d3d9e1;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 37, 85, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 37, 85, 0.12);
}

.service-card-media {
  height: 220px;
  overflow: hidden;
  background: #eef1f4;
  border-bottom: 4px solid #002555;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-card .service-card-media img {
  object-fit: contain;
  padding: 1rem;
}

.service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.service-type {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  color: #002555;
  background: #edf2f8;
  border: 1px solid #d8e1ec;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card-body h4 {
  min-height: 58px;
  margin-bottom: 0.65rem;
  color: #000c21;
  font-size: 1.35rem;
  line-height: 1.3;
}

.service-card-body > p {
  min-height: 72px;
  color: #626d7c;
}

.service-card-body h5 {
  margin: 0.5rem 0 0.65rem;
  color: #002555;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.service-card-body ul {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.service-card-body li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.4rem;
  color: #4f5968;
  font-size: 0.92rem;
}

.service-card-body li::before {
  content: "\f00c";
  position: absolute;
  top: 0.12rem;
  left: 0;
  color: #002555;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.service-action {
  min-height: 48px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #002555;
  border: 1px solid #002555;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

.service-action:hover {
  color: #002555;
  background: #fff;
}

.service-action.call-action {
  color: #fff;
  background: #002555;
  border-color: #002555;
}

.service-action.call-action:hover {
  color: #002555;
  background: #fff;
}

.service-contact-band {
  color: #fff;
  background: #002555;
}

.service-contact-band > .container > .row > div:first-child > span,
.service-contact-band h2 {
  color: #fff;
}

.service-contact-band h2 {
  margin: 0.35rem 0 0;
  font-size: 1.8rem;
}

.office-call-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.office-call-grid a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: #002555;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  font-weight: 800;
}

.office-call-grid a:hover {
  color: #fff;
  background: transparent;
}

.office-call-grid i {
  flex: 0 0 auto;
}

.office-call-grid span,
.office-call-grid small {
  display: block;
}

.office-call-grid small {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer a {
  display: block;
  margin-bottom: 0.6rem;
  color: #fff !important;
}

.footer a:hover {
  color: #fff !important;
}

.footer p {
  color: #fff;
}

@media (max-width: 991.98px) {
  .office-call-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .service-group-heading h3 {
    font-size: 1.35rem;
  }

  .service-card-media {
    height: 205px;
  }

  .service-card-body h4,
  .service-card-body > p {
    min-height: 0;
  }
}
