/* Services only: existing car, video and tracking sliders keep their styles. */
.services-section, .service-modal {
  --service-ink: #112b47;
  --service-blue: #1760a8;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--service-ink);
  text-align: left;
  font-size: 16px;
  line-height: 1.55;
}
.services-section *, .service-modal * { box-sizing: border-box; }
.services-section { padding: clamp(36px, 5vw, 72px) 0 32px; background: #f3f6fa; scroll-margin-top: 84px; }
.services-container { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
#services-heading { margin: 0 0 32px; text-align: center; font: 500 50px/1.2 "Arial Black", Arial, sans-serif; letter-spacing: normal; color: #04045e; }
#servicesr .owl-stage { display: flex; }
#servicesr .owl-item { display: flex; flex-shrink: 0; }
#servicesr .owl-stage-outer { padding: 4px 0 18px; overflow: clip; }
.service-card { display: flex; flex-direction: column; width: 100%; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #dce4ee; border-radius: 20px; box-shadow: 0 7px 18px #17375708; }
#servicesr .service-photo { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #e8edf2; }
.service-card-body { display: flex; flex: 1; flex-direction: column; padding: clamp(20px, 2.4vw, 30px); }
.service-name { margin: 0 0 14px; color: var(--service-ink); font-size: clamp(23px, 2.1vw, 28px); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.service-summary { flex: 1; margin: 0 0 26px; color: #4d5e70; font-size: 16px; font-weight: 400; line-height: 1.6; }
.service-card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.service-price { margin: 0; color: var(--service-ink); font-size: 25px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.service-details { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--service-blue); border-radius: 10px; background: #fff; color: var(--service-blue); font: 600 15px/1.3 "Segoe UI", Arial, sans-serif; cursor: pointer; }
.service-details:hover { color: #fff; background: var(--service-blue); }
.service-details:active { border: 1px solid var(--service-blue); }
.service-contacts { width: 100%; text-align: center; }
.service-messengers { display: flex; flex-wrap: wrap; gap: 12px; }
.service-contact { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 120px; gap: 9px; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1px solid #dce6f2; background: #f5f8fc; color: #153d67; font-size: 15px; line-height: 1.3; font-weight: 600; text-decoration: none; }
.service-contact:hover { color: #123657; background: #e9f1fb; border-color: #9ebbdc; text-decoration: none; }
#servicesr .service-contact img, .service-modal .service-contact img { display: inline-block; width: 24px; height: 24px; flex: 0 0 24px; }
.service-phone { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 8px; padding: 6px 12px; color: #314d68; font-size: 16px; font-weight: 400; line-height: 1.3; text-decoration: none; }
.service-phone:hover { color: #125da5; text-decoration: underline; text-underline-offset: 4px; }
.services-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.services-arrow { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; border: 1px solid #cad7e5; border-radius: 50%; background: #fff; color: #244c78; cursor: pointer; }
.services-arrow:hover { background: #e5edf7; }
.services-arrow:active { border: 1px solid #cad7e5; }
.services-position { min-width: 48px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; color: #4d6078; }
.services-controls button:disabled { opacity: .6; cursor: default; }
.services-section a:focus-visible, .services-section button:focus-visible, .service-modal a:focus-visible, .service-modal button:focus-visible { outline: 3px solid #096ac8; outline-offset: 4px; }
.service-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; }
.service-modal .modal-dialog { width: calc(100% - 32px); max-width: 740px; margin: 16px auto; min-height: calc(100% - 32px); height: calc(100% - 32px); height: calc(100dvh - 32px); }
.service-modal .modal-content { max-height: 100%; border: 1px solid #e1e7ef; border-radius: 22px; box-shadow: 0 24px 90px #102a4650; overflow: hidden; background: #fff; }
.service-modal .modal-header { align-items: flex-start; gap: 16px; padding: 28px 30px 22px; border-bottom: 1px solid #e5ebf2; }
.service-modal-title { margin: 0; color: var(--service-ink); font: 600 clamp(22px, 2.5vw, 29px)/1.25 "Segoe UI", Arial, sans-serif; overflow-wrap: anywhere; }
.service-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #dce4ed; border-radius: 50%; background: #f5f7fa; color: #24425f; cursor: pointer; margin: -6px -6px 0 0; }
.service-close:hover { background: #e5edf7; }
.service-close:active { border: 1px solid #dce4ed; }
.service-modal .modal-body { padding: 24px 30px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; min-height: 0; }
.service-description { color: #405369; font-size: 16px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; }
.service-description p { margin: 0 0 18px; }
.service-description ul { padding: 0; margin: 0 0 18px; list-style: none; }
.service-description li { display: flex; align-items: baseline; gap: 10px; margin: 0 0 13px; }
.service-list-marker { flex: 0 0 7px; color: #4275a5; }
.service-description > :last-child { margin-bottom: 0; }
.service-modal .modal-footer { display: block; padding: 20px 30px 14px; border-top: 1px solid #e5ebf2; background: #fafbfd; }
.service-modal .modal-footer > * { margin: 0; }
.service-modal .modal-footer .service-price { margin-bottom: 16px; }
#servicesr .services-fallback { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
#servicesr .services-fallback + .services-controls { display: none; }
@media (min-width: 900px) {
  #servicesr .owl-stage-outer { height: auto !important; }
}
@media (max-width: 899px) {
  .services-container { width: min(620px, calc(100% - 32px)); }
  #servicesr .owl-stage { align-items: flex-start; }
  #servicesr .owl-item { align-self: flex-start; }
  #servicesr .services-fallback { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 480px) {
  .services-section { padding-top: 36px; padding-bottom: 26px; }
  #services-heading { margin-bottom: 24px; }
  .service-card { border-radius: 16px; }
  .service-card-body { padding: 20px; }
  .service-name { font-size: 23px; }
  .service-summary { font-size: 15px; margin-bottom: 22px; }
  .service-card-actions { gap: 14px; margin-bottom: 18px; }
  .service-price { font-size: 23px; }
  .service-details { width: 100%; justify-content: space-between; }
  .service-messengers { gap: 8px; }
  .service-contact { padding: 11px 8px; font-size: 14px; }
  .service-modal .modal-dialog { width: calc(100% - 20px); margin: 10px auto; min-height: calc(100% - 20px); height: calc(100% - 20px); height: calc(100dvh - 20px); }
  .service-modal .modal-content { border-radius: 18px; }
  .service-modal .modal-header { padding: 22px 20px 18px; }
  .service-modal .modal-body { padding: 20px; }
  .service-modal .modal-footer { padding: 16px 20px 8px; }
}
@media (max-width: 800px) {
  #services-heading { font-size: 30px; }
}
@media (max-height: 480px) and (min-width: 481px) {
  .service-modal .modal-header { padding: 14px 24px; align-items: center; }
  .service-modal-title { font-size: 22px; }
  .service-modal .modal-body { padding: 14px 24px; }
  .service-modal .modal-footer { display: flex; align-items: center; gap: 20px; padding: 10px 24px 4px; }
  .service-modal .modal-footer .service-price { flex: 0 1 180px; margin: 0; font-size: 22px; }
  .service-modal .modal-footer .service-contacts { flex: 1; }
  .service-modal .service-phone { margin-top: 0; min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  #servicesr .owl-stage, .service-modal, .service-modal .modal-dialog { transition-duration: 0s !important; animation: none !important; }
}
