
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: Arial, sans-serif; */
}

body {
  background: var(--bg);
  color: var(--text);
    font-family: 'PT_Serif';
}

/* HEADER */




/* HERO */
.hero {
  height: 100vh;
  background: url('/img/fon.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 80px;
  color: white;
}

.hero-overlay {
  background: rgba(0,0,0,0.45);
  padding: 50px;
  max-width: 600px;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 30px;
}

.btn {
  background: var(--accent);
  padding: 14px 26px;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition:all ease 1s;
}
.btn:hover {
  background: #fff0e4;
  color:#1a1a1a;
}
/* SECTIONS */
section {
  padding: 100px 80px;
}

.title {
  font-size: 36px;
  margin-bottom: 20px;
}

.subtitle {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 60px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--soft);
  padding: 30px;
  border-radius: 10px;
  transition: all ease 1s;
}
.card:hover{
  background: #f3eeee;
}
.card h3 {
  margin-bottom: 10px;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  padding: 20px;
  border-left: 3px solid var(--accent);
  transition: all ease 1s; 
}
.step:hover {
  background: var(--accent);
  color:white;
  border-left: 3px solid var(--dark);
}
/* FORM */
.form {
  background: var(--soft);
  padding: 60px;
  border-radius: 10px;
  max-width: 700px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: white;
  padding: 40px 80px;
  text-align: center;
}
footer a {
  color: #FF6F00;
  text-decoration: none;
}
/* RESPONSIVE */
@media(max-width: 900px){
  header {padding: 20px;}
  .hero {padding: 20px;}
  section {padding: 60px 20px;}
  .grid {grid-template-columns: 1fr;}
  .steps {grid-template-columns: 1fr;}
}
@media(max-width:1920px){
  .hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: image-set(
        url('/img/fon-1920.avif') type('image/avif') 1x,
        url('/img/fon-1920.webp') type('image/webp') 1x,
        url('/img/fon-1920.jpeg') type('image/jpeg') 1x
    );
  }
}
@media(max-width:768px){
  .hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: image-set(
        url('/img/fon-mobile.avif') type('image/avif') 1x,
        url('/img/fon-mobile.webp') type('image/webp') 1x,
        url('/img/fon-mobile.jpeg') type('image/jpeg') 1x
    );
  }
  .hero-overlay {
    padding: 30px;
  }
}