:root {
  --text-white: #fff;
  --text-black: #000;
  --text-dark: #1e1e1e;

  --primaty-blue: #00a3e0;
  --primaty-black: #000;

  --input-border-color: #8a909b;

  --bg-grey: #f5f6f8;
  --bg-body: #eceff3;
  --bg-section: #ffffff;

  --section-border-radius: 20px;
  --section-boder: 1px solid #00a3e0;

  --btn-hover-color: #038cbd;
}

/* --- GENERAL ---*/

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-dark);
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 15px;
}

.--blue-color {
  color: var(--primaty-blue);
}
.--border-left {
  border-left: 1px solid var(--primaty-blue);
  padding-left: 15px;
}
.section {
  margin-bottom: 40px;
}
.section_inner {
  background-color: var(--bg-section);
  border: var(--section-boder);
  border-radius: var(--section-border-radius);
  padding: 40px 20px;
}
.section_header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 20px;
}
.section_header h3 {
  font-weight: 200;
  font-size: 14px;
  line-height: 1.12;
  text-align: center;
  color: var(--text-dark);
  flex-grow: 1;
  flex-shrink: 0;
}
.section_header--line {
  flex-grow: 0;
  flex-shrink: 2;
  flex-basis: 100px;
  height: 3px;
  background-color: var(--primaty-blue);
  border-radius: 5px;
}
.section_title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}
.section_title h1 {
  font-size: inherit;
  font-weight: inherit;
}
.section_subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dark);
}
.btn {
  display: block;
  padding: 10px 20px;
  background-color: var(--primaty-blue);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  width: fit-content;
  transition: all 0.3s ease-in-out;
}
.btn:hover {
  background-color: var(--btn-hover-color);
  transform: scale(1.05);
}
.btn:active {
  transform: scale(0.99);
}

/* HEADER */
.header {
  /* padding: 10px 0; */
}
.header_logo {
  width: 200px;
  margin: 0 auto;
  padding: 10px 0;
}

/* HERO */
.hero_title {
  margin-bottom: 20px;
}
.hero_subtitle {
  margin-bottom: 80px;
}
.hero_btn {
  margin: 0 auto;
  margin-bottom: 20px;
}
.hero_ps {
  font-size: 12px;
  font-weight: 200;
  color: var(--text-dark);
  text-align: center;
}

/* PROMO */
.promo_title {
  margin-bottom: 20px;
}
.promo_text p + p {
  margin-top: 20px;
}
.promo_text p {
  font-size: 20px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}
.promo_form-footer {
  text-align: center;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 200;
  margin-top: 10px;
}
.promo_video {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}

/* FORM */
.form_title {
  margin-bottom: 20px;
}
.form_subtitle {
  margin-bottom: 40px;
}
.lead-form-wrapper {
  background-color: var(--bg-grey);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--primaty-black);
}
.input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.input-wrapper label {
  font-size: 12px;
  font-weight: 200;
  color: var(--text-dark);
  margin-bottom: 5px;
  margin-left: 5px;
}
.input-wrapper + .input-wrapper {
  margin-top: 20px;
}
.input-wrapper input {
  color: var(--primaty-black);
  width: auto;
  padding: 10px;
  border: 1px solid var(--input-border-color);
  border-radius: 5px;
  font-size: 14px;
  display: block;
}
.form-submit-btn {
  outline: none;
  border: none;
  width: 100%;
  text-align: center;
}

/* PREFERENCE */
.preference_title {
  margin-bottom: 20px;
}

.preference-item_title {
  color: var(--primaty-blue);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.preference-item + .preference-item {
  margin-top: 20px;
}

/* OWNER */
.owner_title {
  margin-bottom: 20px;
}
.owner_citata {
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  text-align: center;
}
.owner_citata--author {
  display: block;
  font-style: normal;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
}
.owner_inner {
  padding-bottom: 0;
}

/* ACTIVES */
.actives_title {
  margin-bottom: 20px;
}
.actives-item + .actives-item {
  margin-top: 20px;
}
.actives-item {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-grey);
  border-radius: 10px;
  border: 1px solid var(--primaty-blue);
  padding: 20px;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}
.actives-item_img {
  max-width: 80px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 10px;
}
.actives-item_title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primaty-blue);
  line-height: 1.12;
  margin-bottom: 5px;
}
.actives-item_text {
  font-size: 16px;
  font-weight: 200;
  color: var(--text-dark);
}

/* PARTNERS */
.partners_title {
  margin-bottom: 40px;
}
.partners_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.partners_img {
  display: flex;
  justify-content: center;
  align-self: center;
  height: 100%;
  padding: 5px;
}
.partners_img img {
  object-fit: contain;
}

.partners_img:nth-child(1),
.partners_img:nth-child(3) {
  border-right: 1px solid var(--primaty-blue);
}

.partners_img:nth-child(1),
.partners_img:nth-child(2) {
  border-bottom: 1px solid var(--primaty-blue);
}

/* CALCULATOR */

.calculator_title {
  margin-bottom: 20px;
}
.calculator_subtitle {
  margin-bottom: 40px;
}
.calculator_input-wrapper {
  margin-bottom: 40px;
}
.calculator_result-wrapper {
  margin-bottom: 40px;
  text-align: center;
}
.calculator_result-wrapper span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dark);
  display: block;
  margin-bottom: 10px;
}
.calculator_result {
  padding: 10px;
  border: 1px solid var(--primaty-blue);
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
}

/* FOOTER */
.footer_inner {
  border: none;
  color: var(--text-dark);
  font-weight: 200;
  font-size: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.footer_nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer_nav a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer_copy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}
.footer_copy img {
  width: 16px;
  height: 16px;
}

/* OTHER */

.error {
  font-size: 12px;
  color: red;
  margin-left: 5px;
  margin-top: 5px;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(168 168 168 / 70%);
  z-index: 4000;
}

#loader img {
  position: absolute;
  width: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.universal-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 3000 !important;
  overflow: hidden !important;
}

.universal-modal-content {
  background-color: #ffffff !important;
  padding: 32px 24px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  text-align: center !important;
  max-width: 400px !important;
  position: relative !important;
  margin: 0 10px !important;
  border: none !important;
}

.universal-modal-content p {
  line-height: 140% !important;
  margin: 10px 0 0 !important;
}

.universal-modal-close {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  cursor: pointer !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  color: #777777 !important;
}

.universal-modal-close:hover {
  color: #333333 !important;
}

.universal-modal-close::before,
.universal-modal-close::after {
  content: "" !important;
  position: absolute !important;
  width: 16px !important;
  height: 2px !important;
  background-color: #777777 !important;
}

.universal-modal-close::before {
  transform: rotate(45deg) !important;
}

.universal-modal-close::after {
  transform: rotate(-45deg) !important;
}

.universal-modal-open {
  overflow: hidden !important;
}

/* --- VIDEO PLAYER --- */
.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.video-container video {
  display: block;
  width: 100%;
  height: auto;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.video-overlay.hidden {
  display: none;
}

.video-overlay:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.play-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
