 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
       font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
 
  font-style: normal;
}

    body{
           background: #f3f3f3;
           margin: 0;
    }

section {
      background: #f3f3f3;
      max-width: 1340px;
      margin: 0 auto;
      padding: clamp(10px, 2.5vw, 40px);
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    /* margin-top: 30px; */
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo img{max-width: 330px;}
.logo strong {
    font-size: 40px;
    font-weight: 800;
}

.logo span {
    font-size: 14px;
    max-width: 180px;
    line-height: 1.2;
}

.hero-content {
    display: flex;
    background: #fff;
    overflow: hidden;
    height: clamp(480px, 45.5vw, 650px);
    position: relative;
}

.hero-text {
    width: 100%;
    padding: clamp(30px, 4.5vw, 70px);
    color: #fff;
    position: relative;
    z-index: 2;
    position: absolute;
    /* height: 100%; */
    background: #000000;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 51%) 100%);
    bottom: 0;
    top: 0;
}

.hero-text h1 {
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: clamp(2.6125rem, 2.172387459807074rem + 1.929260450160772vw, 4.6875rem);
    width: 100%;
}

.hero-text p {
    margin-bottom: clamp(25px, 5.5vw, 60px);
    font-size: clamp(1.25rem, 1.1766479099678457rem + 0.3215434083601286vw, 1.5625rem);
}

.hero-image {
    position: relative;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* кнопки */

.btn-primary {
    background: #f9db00;
    padding: 17px 35px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    display: inline-flex;
    font-size: 18px;
    /* width: 100%; */
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
@media(max-width:600px){

.hc-left .btn-primary {
  display:none;
}
}
.btn-primary.big {
    padding: 20px 40px;
    font-size: 18px;
}.hero-content {
    position: relative;
}

.hero-content::before {
    /* content: ''; */
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
 
.section-title {
    font-weight: 700;
    margin-bottom: 30px;
    font-size: clamp(1.8rem, 1.682636655948553rem + 0.5144694533762058vw, 2.5rem);
}

/* TABS */

.tabs {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    flex-direction: row;
    font-size: 20px;
    font-weight: 400;
    z-index: 4;
    margin-top: 0px;
    gap: 5px;
    justify-content: start;
    margin: 0 auto;
    /* padding: clamp(0px, 1vw, 0px) clamp(8px, 2.5vw, 15px); */
    margin: 0 auto;
    margin-bottom: 0px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
    scrollbar-color: #ffffff00 #ffffff12;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scrollbar-color: #f7f7f7 #ffffff;
    margin-bottom: 30px;
}

.tab {
    padding: 17px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.tab.active {
    background: #f9db00;
}

/* GRID */

.grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid.active {
    display: grid;
}

/* CARD */

.card {
    background: linear-gradient(135deg, #2f2f2f, #3a3a3a);
    color: #fff;
    padding: 25px;
    position: relative;
    min-height: 260px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card img{
        position: absolute;
        right: 0px;
        bottom: 0px;
        width: clamp(140px, 35.5vw, 180px);
        /* height: 170px; */
}
/* tags */

.tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tag {
    font-size: 14px;
    padding: 10px 15px;
    background: #444;
    font-weight: 600;
}

/* title */

.card h3 {
    margin-bottom: 15px;
    font-size: 26px;
    flex: 1;
    margin-top: 0px;
    font-weight: 600;
}

/* price */

.old-price {
    /* font-size: 18px; */
    /* color: #aaa; */
    /* text-decoration: line-through; */
    display: flex;
}
.price{
        font-size: 16px;
        color: #aaa;
        text-decoration: line-through;
}
.discount {
    background: #ffd400;
    color: #000;
    padding: 5px 11px;
    font-size: 14px;
    margin-left: 6px;
    font-weight: 700;
}

.new-price {
    font-weight: 700;
    margin: 10px 0 20px;
    font-size: 22px;
}

/* button */

.btn {
    border: 1px solid #fff;
    padding: 10px 20px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    width: max-content;
    display: flex;
    gap: 15px;
    align-items: center;
    font-weight: 600;
}
.btn i{
color:#fff;
}
/* fake image */

.card::after {
    /* content: ''; */
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 120px;
    height: 120px;
    /* background: radial-gradient(circle, #ffd40055, transparent); */
}.steps {
    background: #f3f3f3;
}

.container {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
}

.steps-title {
    font-weight: 700;
    margin-bottom: 30px;
    font-size: clamp(1.8rem, 1.682636655948553rem + 0.5144694533762058vw, 2.5rem);
}

.steps-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

/* LEFT */

.steps-list {
    /* width: 55%; */
    position: relative;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
}

/* линия */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 1px;
    height: calc(100% + 10px);
    background: #ccc;
}

/* номер */

.step-num {
    min-width: 40px;
    height: 40px;
    background: #ffd400;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 19px;
}

/* карточка */

.step-card {
    background: #e9e9e9;
    padding: 20px;
    width: 100%;
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    margin-top: 0px;
    font-weight: 600;
}

.step-card p {
    font-size: 16px;
    color: #555;
}

/* RIGHT */

.steps-image {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0px;
}

.steps-image img {
    max-width: 100%;
    height: auto;
}.about {
    background: #f5f5f500;
    font-family: Arial, sans-serif;
    padding: clamp(20px, 2.5vw, 40px);
}

.container {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
}

.about-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 30px;
    font-size: clamp(2rem, 1.882636655948553rem + 0.5144694533762058vw, 2.5rem);
}

/* layout */

.about-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

/* LEFT */

.about-left {
    width: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-card {
    background: #3d3d3d;
    padding: 40px;
}

.about-card .num {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.about-card .text {
    font-size: 17px;
    color: #ffffff;
}

/* RIGHT */

.about-right {
    width: 50%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 0.4s;
}

.slide.active {
    opacity: 1;
}

/* arrows */

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00000080;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 22px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* adaptive */

@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column;
    }

    .about-left,
    .about-right {
        width: 100%;
    }

    .slider {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.docs {
    padding: 60px 40px;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
}

 .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}
.form-block{
    background: #f9db00;
    margin-top: 40px;
    padding: clamp(30px, 4.5vw, 70px);
}
/* адаптив */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
/* блок */

.doc-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff00;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 6px;
    /* flex-wrap: wrap; */
}

/* картинка */

.doc-img img {
    width: 160px;
    height: auto;
    border-radius: 4px;
}

/* контент */

.doc-content h3 {
    font-size: 28px;
    margin-bottom: 5px;
    color: #fff;
    margin-top: 0px;
}

.doc-content p {
    margin-bottom: 15px;
    color: #ffffff;
    background: #3d3d3d;
    width: max-content;
    padding: 5px 10px;
    margin-bottom: 30px;
}

/* кнопка */

.doc-btn {
    padding: 15px 25px;
    border: none;
    background: #f9db00;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

/* МОДАЛКА */

.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    position: relative;
    max-width: clamp(290px, 45.5vw, 650px);
    margin: 80px auto;
    background: #fff;
    padding: clamp(25px, 2.5vw, 40px);
    border-radius: 0px;
    z-index: 2;
    max-height: 700px;
    overflow: auto;
}

.modal-content img {
    width: 100%;
    height: auto;
    /* max-height: 600px; */
    /* overflow: scroll; */
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* адаптив */

@media (max-width: 700px) {
    .doc-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .doc-img img {
        width: 100%;
        max-width: 130px;
    }
}.contact-section {
  padding: 80px 20px;
  background: #fff;
}

 

/* LEFT TEXT */
.left {
  padding-right: 20px;
}
.left img{width: 50%;}
.left h2 {
  margin-bottom: 40px;
  margin-top: 0px;
  color: #2e2e2e;
  font-size: clamp(1.625rem, 1.4782958199356913rem + 0.6430868167202572vw, 2.25rem);
}

.left p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* FORM */
.form-box {
  padding: 0px;
  border-radius: 16px;
}
.form-box button{
    background: #2e2e2e;
    color: #fff;
    padding: 15px 50px;
    font-size: 18px;
    border: none;
    margin-top: 20px;
}
.form-box h3 {
  margin-bottom: 20px;
  font-size: 25px;
  margin-top: 0px;
}

/* INPUTS */
input[type="text"],
input[type="tel"] {
  /* width: 100%; */
  padding: 14px;
  margin-bottom: 15px;
  border: none;
  outline: none;
  font-size: 15px;
  background: none;
  border: 1px #000 solid;
  margin-right: 10px;
  font-weight: 700;
  color: #000;
}

/* CHECKBOX */
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  margin-bottom: 12px;
  color: #222;
  margin-top: 15px;
  font-weight: 600;
}

.checkbox input {
  margin-top: 3px;
}

 
/* RESPONSIVE */

.hc-left {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2.5vw, 25px);
    flex-wrap: wrap;
}@media (max-width: 768px) {
  .hc-left {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2.5vw, 25px);
    flex-wrap: wrap;
    /* justify-content: center; */
}.logo img {
    max-width: 320px;
}.hero-header {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin-bottom: clamp(15px, 2.5vw, 30px);
    /* margin-top: 30px; */
    flex-wrap: wrap;
    gap: 15px;
}
}i {
    font-size: 16px;
    color: #1b1b1b;
    line-height: 0;
}.hc-text {
    display: flex;
    flex-direction: column;
}.hc-left a {
    font-weight: 600;
    color: #36475f;
    line-height: 1;
    color: #2b2f33;
    font-size: 18px;
    margin-bottom: 2px;
    text-decoration: none;
    display: flex;
    gap: 7px;
    align-items: center;
}.hc-sub {
    font-size: 12px;
    color: #8d8d8db8;
    font-weight: 600;
    text-align: right;
}.footer {
  background: #2b2b2b;
  color: #fff;
  padding: 60px 20px;
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* LEFT */
.footer-logo {
  width: 330px;
  margin-bottom: 15px;
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(54deg) brightness(105%) contrast(102%);
}

.footer-text {
  font-size: 15px;
  line-height: 1.6;
  color: #bbb;
}

/* CENTER */
.footer-center h4,
.footer-right h4 {
  margin-bottom: 15px;
  font-size: 23px;
  margin-top: 0px;
}

.footer-center a,
.footer-right a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 17px;
}

.footer-center a:hover,
.footer-right a:hover {
  color: #FFD400;
}

/* messengers */
.footer-messengers a {
  display: inline-block;
  margin-right: 10px;
  font-size: 15px;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.modal-content h3{
    margin-top:0px;
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 1.4119774919614148rem + 0.38585209003215437vw, 1.875rem);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
}

.modal-form input[type="text"],
.modal-form input[type="tel"] {
  margin: 0px;
}

.modal-form button {
  width: 100%;
  padding: 15px 30px;
  background: #FFD400;
  border: none;
  border-radius: 0px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}

.checkbox {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.input-container{
    display:flex;
    gap: 15px;
    flex-direction: column;
    margin-bottom: 20px;
}.input-container .phone-input{
   width:100%;  
}.scroll-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #FFD400;
  color: #111;
  font-size: 40px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  line-height: 1;
}

.scroll-top:hover {
  background: #e6c200;
}