/**
 * Clinco Solutions – public site UI refinements
 * Spacing tokens, header, banners, equal-height cards, process, footer social
 */

:root {
  --section-space: 20px;
  --section-space-sm: 20px;
  --section-space-compact: 16px;
  --section-space-process: 20px;
  --banner-max-height: 500px;
  --header-pad-y: 22px;
  --header-pad-x: 50px;
  --header-sticky-pad-y: 16px;
  --header-height: 96px;
  --banner-inset: 0px;
  --banner-radius: 0px;
  --banner-gap: 0px;
}

/* -------------------------------------------------------------------------- */
/* Header — full-width bar, never overlapped or cropped by banners            */
/* -------------------------------------------------------------------------- */

html {
  overflow-x: clip;
}

body {
  padding-top: 0;
  overflow-x: hidden;
}

/* Page loader panels slide off-screen but still expand scrollWidth on small viewports */
.loaded .loader-wrapper {
  display: none !important;
}

/* Owl stages are wider than the viewport; keep them from causing page-level scroll */
.testimonial-area,
.testimonial-area .owl-carousel,
.testimonial-area .owl-stage-outer {
  overflow-x: hidden;
  max-width: 100%;
}

#sticky-header.clinco-solutions_nav_manu,
.clinco-solutions_nav_manu {
  position: relative;
  z-index: 1000;
  width: 100%;
  margin: 0 !important;
  padding: var(--header-pad-y) var(--header-pad-x);
  background: #050a1e;
  border-radius: 0 !important;
  box-sizing: border-box;
}

.clinco-solutions_nav_manu > .container-fluid > .row {
  align-items: center !important;
  min-height: 56px;
}

.logo {
  position: relative;
  top: 0;
  display: flex;
  align-items: center;
  margin: 0;
}

.logo a.logo_img,
.logo a.main_sticky {
  line-height: 0;
}

.logo a img,
.logo img {
  display: block;
  max-height: 52px;
  width: auto;
  height: auto;
}

/* Preserve sticky logo swap (do not force .main_sticky visible) */
.logo a.main_sticky {
  display: none;
}

.clinco-solutions_nav_manu.sticky .logo a.logo_img {
  display: none;
}

.clinco-solutions_nav_manu.sticky .logo a.main_sticky {
  display: block;
}

nav.clinco-solutions_menu {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.clinco-solutions_menu > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.clinco-solutions_menu > ul > li {
  display: flex;
  align-items: center;
}

.clinco-solutions_menu > ul > li > a {
  margin: 0 14px;
  line-height: 1.3;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  height: 100%;
}

.header-btn a {
  position: relative;
  z-index: 1;
}

/* Sticky: full-width bar, no side inset / radius */
#sticky-header.clinco-solutions_nav_manu.sticky,
.clinco-solutions_nav_manu.sticky,
.sticky.clinco-solutions_nav_manu {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 !important;
  z-index: 1100;
  padding: var(--header-sticky-pad-y) 60px !important;
  background: #050a1e !important;
  border-radius: 0 !important;
}

@media (min-width: 1400px) {
  .sticky.clinco-solutions_nav_manu {
    padding: var(--header-sticky-pad-y) 100px !important;
  }
}

@media (max-width: 1199px) {
  .clinco-solutions_menu > ul > li > a {
    margin: 0 10px;
    font-size: 15px;
  }
}

/* -------------------------------------------------------------------------- */
/* Hero + inner banners — full-width under header (no overlap / no notches)   */
/* -------------------------------------------------------------------------- */

.hero-area,
.breadcumb-area,
.breadcumb-area.about {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
}

/* -------------------------------------------------------------------------- */
/* Modern home hero — full-bleed cinematic banner                             */
/* -------------------------------------------------------------------------- */

.hero-area.hero-area--modern {
  display: flex;
  align-items: center;
  min-height: min(820px, calc(100vh - 96px));
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #050a1e !important;
  background-image: none !important;
  overflow: hidden;
}

.hero-modern__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-modern__img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: heroModernKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-modern__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(5, 10, 30, 0.92) 0%,
      rgba(5, 10, 30, 0.78) 42%,
      rgba(5, 10, 30, 0.45) 68%,
      rgba(5, 10, 30, 0.28) 100%
    ),
    linear-gradient(
      to top,
      rgba(5, 10, 30, 0.55) 0%,
      transparent 42%
    );
}

.hero-modern__container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 72px;
  padding-bottom: 80px;
}

.hero-modern__content {
  max-width: 40rem;
  animation: heroModernRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-modern__brand {
  margin: 0 0 18px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #ffffff;
}

.hero-modern__brand::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: #c81d26;
  animation: heroModernRule 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hero-modern__title {
  margin: 0 0 18px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-modern__lead {
  margin: 0 0 28px;
  max-width: 36rem;
  font-family: "Fira Sans", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero-modern__cta {
  margin: 0;
  animation: heroModernRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.hero-area--modern .hero-modern__cta a {
  min-width: 180px;
  text-align: center;
}

.hero-area--modern .clinco-solutions-hover-btn {
  background-color: #ffffff;
}

@keyframes heroModernRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroModernRule {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 48px;
    opacity: 1;
  }
}

@keyframes heroModernKenBurns {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -0.8%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-modern__img,
  .hero-modern__content,
  .hero-modern__cta,
  .hero-modern__brand::after {
    animation: none !important;
  }

  .hero-modern__img {
    transform: none;
  }
}

@media (max-width: 991px) {
  .hero-area.hero-area--modern {
    min-height: min(640px, calc(100vh - 72px));
  }

  .hero-modern__container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-modern__content {
    max-width: 34rem;
  }

  .hero-modern__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(5, 10, 30, 0.88) 0%,
        rgba(5, 10, 30, 0.72) 55%,
        rgba(5, 10, 30, 0.55) 100%
      );
  }
}

@media (max-width: 575px) {
  .hero-area.hero-area--modern {
    min-height: auto;
  }

  .hero-modern__container {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .hero-modern__brand {
    font-size: 1.25rem;
  }

  .hero-modern__title {
    font-size: 2rem;
  }

  .hero-modern__lead {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }
}

/* -------------------------------------------------------------------------- */
/* Cursor animation removed                                                   */
/* -------------------------------------------------------------------------- */

.curser,
.curser2 {
  display: none !important;
  pointer-events: none !important;
}

/* -------------------------------------------------------------------------- */
/* Section spacing system — max 20px vertical padding                         */
/* -------------------------------------------------------------------------- */

.sservice-area,
.sservice-area.style-two,
.about-area,
.contact-area,
.feature-area,
.faq-area,
.testimonial-area,
.service-det-area,
.blog-area,
.team-area,
.project-area,
.service-area,
.counter-area,
.process-area,
.marquee-section,
.case-study-area,
.pricing-area {
  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space) !important;
}

.about-area {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Keep a clear middle gap between image and copy in about-area layouts */
.about-area > .container > .row.align-items-center,
.about-area > .container > .row {
  --bs-gutter-x: 0;
  row-gap: 2rem;
}

.about-area > .container > .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

.about-area .about-thumb {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
  overflow: hidden;
}

.about-area .about-thumb .about-shape {
  display: none !important; /* shape used to spill into the text column */
}

.about-area .about-thumb-in-contact {
  margin-left: 0 !important;
}

.about-area .section-title.text-left,
.about-area .about-us-content {
  max-width: 100%;
}

@media (min-width: 992px) {
  /* Dedicated center gap between image column and content column */
  .about-area > .container > .row > .col-lg-6:first-child {
    padding-right: 3.5rem !important;
  }

  .about-area > .container > .row > .col-lg-6:last-child {
    padding-left: 3.5rem !important;
  }
}

@media (max-width: 991px) {
  .about-area > .container > .row {
    row-gap: 1.75rem;
  }

  .about-area > .container > .row > .col-lg-6:first-child,
  .about-area > .container > .row > .col-lg-6:last-child {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

.feature-area {
  margin-top: 0;
}

.contact-area {
  margin-top: 0;
}

.address-area {
  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space) !important;
  margin-top: var(--section-space) !important;
}

/* -------------------------------------------------------------------------- */
/* service-det-area — polished overview / detail sections                     */
/* -------------------------------------------------------------------------- */

.service-det-area {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  background: #ffffff !important;
}

.service-det-area > .container > .row {
  align-items: center !important;
  column-gap: 0;
  row-gap: 28px;
}

.service-det-area .section-title {
  margin-bottom: 0 !important;
}

.service-det-area h5.section-sub-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #c81d26 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.service-det-area h5.section-sub-title::before {
  content: "" !important;
  display: inline-block !important;
  width: 22px !important;
  height: 2px !important;
  background: #c81d26 !important;
  border-radius: 2px !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
}

.service-det-area h1.section-main-title {
  font-size: 34px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #050a1e !important;
  margin: 0 0 14px !important;
  max-width: 18ch;
}

.service-det-area p.section-title-descr {
  width: 100% !important;
  max-width: 34em !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #5a6072 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.service-det-area .about-us-content {
  margin-top: 22px !important;
}

.service-det-area .about-us-list {
  margin-bottom: 0 !important;
}

.service-det-area .about-us-list ul {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.service-det-area .about-us-list ul li {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  margin: 0 !important;
  padding: 14px 16px 14px 44px !important;
  background: #f7f8fb !important;
  border-radius: 12px !important;
  border: 1px solid #eef0f5 !important;
  list-style: none !important;
}

.service-det-area .about-us-list ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  top: 16px !important;
  transform: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #c81d26 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.9-4.9L12.5 5.2z'/%3E%3C/svg%3E") center / 11px 11px no-repeat !important;
  font-family: inherit !important;
  font-size: 0 !important;
  color: transparent !important;
}

.service-det-area .about-us-list ul li span {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  color: #2a3142 !important;
  margin: 0 !important;
  font-family: "Poppins", sans-serif !important;
}

.service-det-area > .container > .row > [class*="col-"] {
  overflow: visible !important;
}

.service-det-area .about-us-thumb {
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: visible !important;
}

.service-det-area .about-us-img {
  margin: 0 !important;
  width: 100% !important;
  max-width: 560px !important;
  overflow: visible !important;
}

.service-det-area .about-us-img img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 420px !important;
  max-height: 420px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 40px rgba(5, 10, 30, 0.12) !important;
  transform: none !important;
}

.service-det-area .about-us-img img:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 22px 48px rgba(5, 10, 30, 0.16) !important;
}

/* Shared content photography (replaced stock assets) */
.about-thumb img,
.about-us-img img,
.hero-thumb img,
.faq-thumb img,
.project-thumb img,
.single-team-thumb img {
  object-fit: cover;
  object-position: center center;
}

.hero-thumb img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.single-team-thumb img {
  width: 100%;
  height: 320px;
  border-radius: 14px;
}

.project-thumb img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
}

.faq-thumb img {
  width: 100%;
  border-radius: 16px;
  max-height: 420px;
}

.sservice-area .service-thumb img,
.service-single-box .service-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.service-det-area .clinco-solutions-btn {
  margin-top: 24px !important;
}

.service-det-area .clinco-solutions-btn a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 12px 26px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  border-radius: 999px !important;
}

@media (max-width: 991px) {
  .service-det-area {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .service-det-area h1.section-main-title {
    font-size: 28px !important;
    max-width: none;
  }

  .service-det-area .about-us-img {
    margin: 8px auto 0 !important;
    max-width: 420px !important;
  }
}

@media (max-width: 575px) {
  .service-det-area {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .service-det-area h1.section-main-title {
    font-size: 24px !important;
  }

  .service-det-area .about-us-list ul li {
    padding: 10px 12px 10px 36px !important;
  }

  .service-det-area .about-us-list ul li::before {
    left: 12px !important;
  }
}

.section-title {
  margin-bottom: 16px;
}

.section-title.text-center {
  margin-bottom: 20px;
}

.section-descr,
.section-title-descr {
  margin-top: 8px;
}

p.footer-widget-text {
  padding: 16px 0 20px;
}

@media (max-width: 991px) {
  :root {
    --section-space: 20px;
    --section-space-sm: 16px;
    --section-space-process: 20px;
  }
}

@media (max-width: 575px) {
  :root {
    --section-space: 16px;
    --section-space-sm: 16px;
    --section-space-process: 16px;
  }
}

/* -------------------------------------------------------------------------- */
/* Equal-height service / feature cards                                       */
/* -------------------------------------------------------------------------- */

.sservice-area .row {
  align-items: stretch !important;
}

.sservice-area .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.sservice-area .service-single-box,
.sservice-area .single-service-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  margin-bottom: 24px;
}

.sservice-area .service-single-box .service-content,
.sservice-area .single-service-box .service-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.sservice-area .service-single-box .service-text,
.sservice-area .single-service-box .service-text {
  flex: 1 1 auto;
  padding-bottom: 24px;
}

.sservice-area .service-single-box .service-btn,
.sservice-area .single-service-box .service-btn {
  margin-top: auto;
}

.feature-box {
  align-items: stretch;
}

.feature-sinble-single-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
}

.feature-sinble-single-box .feature-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 16px;
}

.feature-sinble-single-box .feature-text {
  flex: 1 1 auto;
}

/* -------------------------------------------------------------------------- */
/* Banner content sizing                                                      */
/* -------------------------------------------------------------------------- */

.hero-area {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  min-height: auto;
}

.breadcumb-area {
  max-height: var(--banner-max-height);
  padding: 60px 0 48px !important;
  background-color: #050a1e !important;
  background-image: url(../images/inner/breadcumb-bg.jpg) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.breadcumb-area.about {
  padding: 60px 0 48px !important;
}

.breadcumb-area > .container {
  width: 100%;
}

.breadcumb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.breadcumb-content h4 {
  line-height: 1.25;
  margin: 0;
}

ul.breadcumb-list {
  margin-top: 16px;
  margin-bottom: 0;
}

@media (max-width: 1399px) {
  :root {
    --header-pad-x: 40px;
  }
}

@media (max-width: 1199px) {
  :root {
    --header-pad-y: 18px;
    --header-pad-x: 28px;
  }

  #sticky-header.clinco-solutions_nav_manu,
  .clinco-solutions_nav_manu {
    padding: var(--header-pad-y) var(--header-pad-x) !important;
  }
}

@media (min-width: 992px) {
  .mobile-menu-area {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 991px) {
  :root {
    --header-pad-y: 14px;
    --header-pad-x: 16px;
  }

  #sticky-header.clinco-solutions_nav_manu {
    display: none !important;
  }

  .mobile-menu-area,
  .mobile-menu-area.sticky {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    z-index: 1100;
    background: #050a1e !important;
    box-shadow: none;
    overflow: hidden;
  }

  .mean-container,
  .mean-container .mean-bar {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    background: #050a1e !important;
    border-radius: 0 !important;
  }

  .mean-container .mean-bar::before {
    font-size: 22px !important;
    top: 18px !important;
  }

  .breadcumb-area,
  .breadcumb-area.about {
    max-height: none;
    padding: 44px 0 36px !important;
  }

  .breadcumb-content h4 {
    font-size: 32px;
  }

  .hero-area {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
}

@media (max-width: 767px) {
  .breadcumb-area,
  .breadcumb-area.about {
    padding: 36px 0 28px !important;
  }

  .breadcumb-content h4 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  .hero-area {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .logo a img,
  .logo img {
    max-height: 40px;
  }
}

/* -------------------------------------------------------------------------- */
/* Our Process section                                                        */
/* -------------------------------------------------------------------------- */

.sservice-area.style-two .section-title {
  margin-bottom: 20px;
}

.sservice-area.style-two .row > [class*="col-"] {
  margin-bottom: 16px;
}

.process-step-box {
  padding: 28px 22px 24px !important;
  min-height: 0;
}

.process-step-box .step-number {
  font-size: 60px !important;
  top: 18px !important;
  right: 22px !important;
}

.process-step-box .service-icon {
  margin-bottom: 28px !important;
}

.process-step-box .service-title {
  margin-bottom: 14px !important;
}

.process-step-box .service-text {
  font-size: 15px !important;
  line-height: 1.7 !important;
}

@media (max-width: 767px) {
  .process-step-box {
    min-height: 0;
    padding: 24px 18px 20px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Footer social icons                                                        */
/* -------------------------------------------------------------------------- */

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

/* -------------------------------------------------------------------------- */
/* Consolidated Services page — alternating content / image blocks            */
/* -------------------------------------------------------------------------- */

.services-page-intro {
  padding: 40px 0 20px;
}

.services-page-intro__descr {
  max-width: 42rem;
  margin: 12px auto 0;
  padding: 0;
  width: 100%;
  color: #5a6072;
  font-size: 16px;
  line-height: 1.65;
}

.service-block {
  padding: 48px 0;
  scroll-margin-top: 110px;
  background: #ffffff;
}

.service-block--alt {
  background: #f7f8fb;
}

.service-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px 48px;
  align-items: center;
}

.service-block--reverse .service-block__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-block--reverse .service-block__media {
  order: -1;
}

.service-block__title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: #050a1e;
  margin: 0 0 14px;
  font-family: "Poppins", sans-serif;
}

.service-block__descr {
  font-size: 15px;
  line-height: 1.65;
  color: #5a6072;
  margin: 0 0 18px;
}

.service-block__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service-block__list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: #ffffff;
  border: 1px solid #eef0f5;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #2a3142;
}

.service-block--alt .service-block__list li {
  background: #ffffff;
}

.service-block__list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c81d26 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.9-4.9L12.5 5.2z'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

.service-block__media {
  margin: 0;
}

.service-block__media img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(5, 10, 30, 0.1);
}

@media (max-width: 991px) {
  .service-block {
    padding: 36px 0;
    scroll-margin-top: 80px;
  }

  .service-block__grid,
  .service-block--reverse .service-block__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-block--reverse .service-block__media {
    order: 0;
  }

  .service-block__title {
    font-size: 26px;
  }

  .service-block__media img {
    height: 300px;
  }
}

@media (max-width: 575px) {
  .services-page-intro {
    padding: 28px 0 12px;
  }

  .service-block {
    padding: 28px 0;
  }

  .service-block__title {
    font-size: 22px;
  }

  .service-block__media img {
    height: 240px;
    border-radius: 14px;
  }
}

/* -------------------------------------------------------------------------- */
/* Custom 404                                                                 */
/* -------------------------------------------------------------------------- */

.error-page-area {
  padding: 48px 0 72px;
  background:
    radial-gradient(ellipse at top left, rgba(200, 29, 38, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}

.error-page {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.error-page__code {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(5, 10, 30, 0.08);
}

.error-page__title {
  margin: 0 0 14px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #050a1e;
}

.error-page__lead {
  margin: 0 auto 28px;
  max-width: 34rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #5a6072;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-bottom: 28px;
}

.error-page__link {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #c81d26;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error-page__link:hover {
  color: #050a1e;
}

.error-page__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.error-page__links a {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2a3142;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.error-page__links a:hover {
  color: #c81d26;
  border-bottom-color: #c81d26;
}

@media (max-width: 575px) {
  .error-page-area {
    padding: 36px 0 56px;
  }

  .error-page__actions {
    flex-direction: column;
  }
}
