:root {
  --color-white: #ffffff;
  --color-white-rgb: 255, 255, 255;
  --color-black: #000000;
  --color-black-rgb: 0, 0, 0;
  --color-main: #545454;
  --color-text-main: #545454;
  --color-text-body: #7E7E7E;
	--color-text-body-on-dark: #A4A4A4;

  --color-primary: #F1362C;
  --color-primary-rgb: 0, 0, 0;
  --color-primary-dark: #aa241d;
  --color-primary-light: #F6F7F8;

	--color-mid-gray: #8E8E8E;

  --color-hero-overlay: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-light) 100%);
  --color-primary-gradient: linear-gradient(135deg, #F1362C 0%, #F1362C 100%);

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
	--radius-sm: 3px;
  --radius-pill: 999px;

  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.5;
  color: var(--color-text-body);
	overflow-x: hidden;
  background-color: var(--color-white);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: var(--color-primary);
  text-decoration: none;

  &:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.2;
  color: var(--color-text-main);
}

p {
  margin: 0 0 16px;
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 96px 0;

  @media (max-width: 768px) {
    padding: 40px 0;
  }
}

.section-bg {
  background: var(--color-white);
}
.section-dark-bg {
  background: var(--color-main);
}
.section-light-bg {
  background: var(--color-primary-light);
}
.text-body {
	color: var(--color-text-body)!important;
}
.text-body-on-dark {
	color: var(--color-text-body-on-dark)!important;
}

.section-title {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;

  .badge {
    margin: 0 0 16px;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-primary);
  }

  h2 {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--color-text-main);
    text-wrap-style: balance;

    span {
      font-weight: 600;
      color: var(--color-primary-dark);
    }
  }

  p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-text-body);
    max-width: 620px;
    text-wrap-style: pretty;
  }

  p:last-child {
    margin-bottom: 0;
  }
}

.section-title.text-center {
  max-width: 746px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  text-align: center;


  .badge {
    display: inline-block;
  }

  h2 {
    margin-bottom: 16px;
  }

  p {
    margin-left: auto;
    margin-right: auto;
    max-width: 582px;
		text-wrap-style: balance;
  }
}

@media (max-width: 992px) {
  .section-title h2 {
    font-size: 34px;
  }

  .section-title.text-center p {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
  }

  .section-title.text-center {
    margin-bottom: 24px;
  }

  .section-title p,
  .section-title.text-center p {
    max-width: 100%;
    font-size: 16px;
  }
}

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 16px;
  bottom: 16px;
  z-index: 996;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;

  i {
    font-size: 28px;
    color: var(--color-white);
    line-height: 0;
  }

  &:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
  }

  &.active {
    visibility: visible;
    opacity: 1;
  }
}

#pageloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 14, 20, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease;

  &.is-hidden {
    opacity: 0;
    visibility: hidden;
  }
}

.pageloader-spinner {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-md);
  border: 3px solid rgba(243, 221, 173, 0.3);
  border-top-color: var(--color-primary);
  border-right-color: var(--color-primary);
  animation: pageloader-spin 0.7s linear infinite;
}

@keyframes pageloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
