* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #111;
  color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: 100%;
  padding: 0 40px;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  height: 90px;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
}

.logo img {
  width: 300px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

nav a {
  height: 46px;
  padding: 0 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #1e1e1e;
  text-transform: uppercase;
  transition: 0.3s;
}

/* ACTIVE LINK */

nav a.active {
  background: #1e1e1e;
  color: #fff;
}

/* HOVER */

nav a:hover {
  background: #1e1e1e;
  color: #fff;
}

.phone {
  display: flex;
  justify-content: flex-end;
  font-size: 16px;
  font-weight: 600;
  color: #1e1e1e;
}

/* HERO */

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: #000;
}
.hero .container {
  padding-right: 0;
}

.hero-wrapper {
  width: 100%;
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subtitle {
  color: #fff;
  font-size: 16px;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-subtitle span {
  color: #8be45a;
  font-size: 24px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1, 2;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 35px;
  max-width: 700px;
}

.hero p {
  color: #bdbdbd;
  line-height: 1.2;
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 50px;
}
/* UTP */

.hero-utp {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.hero-utp img {
  width: 150px;

  object-fit: contain;
  flex-shrink: 0;
}

.hero-utp p {
  margin: 0;
  max-width: 320px;
  font-size: 16px;
  line-height: 1.5;
  color: #d4d4d4;
}
.btn {
  width: max-content;
  padding: 18px 36px;
  border-radius: 60px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-4px);
}

.hero-image {
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CATEGORIES */

.categories {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  padding: 80px 0;
}

.cards{
  width:100%;
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:20px;
  align-items:stretch;
}

.card:first-child{
  min-height:820px;
}


.card:not(:first-child){
  min-height:820px;
}


.card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 75vh;
  padding: 35px;
  display: flex;
  align-items: flex-end;
  background: #000;
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
  opacity: 0.65;
}

.card:hover img {
  transform: scale(1.08);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.15));
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.card h3 {
  font-size: 36px;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.card-btn {
  width: 100%;
  height: 64px;
  padding: 0 24px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  gap: 20px;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s;
}

.card-btn:hover {
  transform: translateY(-3px);
}

.card-btn img {
  position: static;
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 1;
}

/* CTA */

/* CTA + FEATURES */

.cta-features {
  width: 100%;
  min-height: 100vh;
  color: #fff;
  padding: 20px 0;
  display: flex;
  align-items: center;

  background: url("../img/bgcta.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-top {
  text-align: center;
  margin-bottom: 100px;
}

.cta-top h2 {
  font-size: 38px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.cta-top p {
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 40px;
}

.cta-top .btn {
  margin: 0 auto;
  background: #fff;
  color: #000;
  transition: 0.3s;
}

.cta-top .btn:hover {
  background: #1e1e1e;
  color: #fff;
  transform: translateY(-4px);
}

/* FEATURES */

.features-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  position: relative;
  min-height: 320px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
}

.feature::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 120px; /* высота линии */
  background: #505050;
}

.feature:last-child::after {
  display: none;
}

.feature h4 {
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 260px;
}

/* FOOTER */

footer {
  width: 100%;
  background: #000;
  padding: 60px 0 40px;
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* LEFT */

.footer-left {
  flex-shrink: 0;
}

.footer-news-btn {
  height: 48px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.3s;
}

.footer-news-btn:hover {
  background: #fff;
  color: #000;
}

/* RIGHT */

.footer-right {
  max-width: 570px;
  width: 100%;
}

.footer-right h2 {
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* SUBSCRIBE */

.subscribe {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.subscribe input {
  width: 360px;
  height: 64px;
  border: none;
  outline: none;
  border-radius: 100px;
  padding: 0 26px;
  background: #1f1f1f;
  color: #fff;
  font-size: 15px;
}

.subscribe input::placeholder {
  color: #8d8d8d;
}

.subscribe button {
  border: none;
  cursor: pointer;
}

/* BOTTOM */

.footer-bottom {
  margin-top: 100px;
  display: flex;
  justify-content: center;
}

.footer-logo img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

/* =========================
   ADAPTIVE
========================= */

/* 1400 */

@media (max-width:1400px){

  .hero h1{
    font-size:32px;
  }

  .card h3{
    font-size:28px;
  }

}

/* 1200 */

@media (max-width:1200px){

  .container{
    padding:0 24px;
  }

  .header-inner{
    grid-template-columns:180px 1fr 180px;
    gap:20px;
  }

  .logo img{
    width:220px;
  }

  nav{
    gap:8px;
  }

  nav a{
    padding:0 18px;
    font-size:13px;
  }

  .phone{
    font-size:14px;
  }

  /* HERO */

  .hero-wrapper{
    grid-template-columns:1fr;
  }

  .hero-content{
    padding:80px 0 60px;
  }

  .hero-image{
    height:600px;
  }

  .hero h1{
    max-width:100%;
  }

  .hero p{
    max-width:100%;
  }

  /* CARDS */

  .cards{
    grid-template-columns:repeat(2,1fr);
  }

  .card,
  .card:first-child,
  .card:not(:first-child){
    min-height:520px;
  }

  /* FEATURES */

  .features-grid{
    grid-template-columns:repeat(2,1fr);
    gap:40px 0;
  }

  .feature:nth-child(2)::after{
    display:none;
  }

}

/* 992 */

@media (max-width:992px){

  .header-inner{
    grid-template-columns:1fr;
    height:auto;
    padding:20px 0;
    gap:20px;
  }

  .logo{
    display:flex;
    justify-content:center;
  }

  .phone{
    justify-content:center;
  }

  nav{
    flex-wrap:wrap;
  }

  /* HERO */

  .hero{
    padding-top:180px;
  }

  .hero-content{
    padding:40px 0;
  }

  .hero h1{
    font-size:28px;
    line-height:1.3;
  }

  .hero p{
    font-size:16px;
  }

  .hero-utp{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-utp img{
    width:110px;
  }

  .hero-image{
    height:500px;
  }

  /* CTA */

  .cta-top h2{
    font-size:30px;
  }

  .cta-top p{
    font-size:16px;
  }

  /* FOOTER */

  .footer-inner{
    flex-direction:column;
    gap:40px;
  }

  .footer-right{
    max-width:100%;
  }

}

/* 768 */

@media (max-width:768px){

  .container{
    padding:0 18px;
  }

  /* NAV */

  nav{
    gap:10px;
    justify-content:center;
  }

  nav a{
    height:42px;
    padding:0 16px;
    font-size:12px;
  }

  /* HERO */

  .hero{
    min-height:auto;
  }

  .hero-content{
    padding:20px 0 40px;
  }

  .hero-subtitle{
    font-size:14px;
  }

  .hero h1{
    font-size:24px;
    margin-bottom:24px;
  }

  .hero p{
    font-size:14px;
    margin-bottom:30px;
  }

  .hero-image{
    height:380px;
  }

  .hero-utp{
    gap:14px;
  }

  .hero-utp p{
    font-size:14px;
  }

  /* CARDS */

  .categories{
    padding:60px 0;
    min-height:auto;
  }

  .cards{
    grid-template-columns:1fr;
    gap:20px;
  }

  .card,
  .card:first-child,
  .card:not(:first-child){
    min-height:420px;
  }

  .card h3{
    font-size:24px;
    margin-bottom:24px;
  }

  .card-btn{
    height:56px;
    font-size:13px;
    border-radius:16px;
  }

  /* CTA */

  .cta-features{
    min-height:auto;
    padding:60px 0;
  }

  .cta-top{
    margin-bottom:60px;
  }

  .cta-top h2 br,
  .cta-top p br{
    display:none;
  }

  .cta-top h2{
    font-size:24px;
  }

  .cta-top p{
    font-size:14px;
    line-height:1.5;
  }

  /* FEATURES */

  .features-grid{
    display:flex;
    flex-direction:column;
    gap:30px;
  }

  .feature{
    min-height:auto;
    padding:0;
    display:block;
    text-align:left;
  }

  .feature::after{
    display:none;
  }

  .feature h4{
    max-width:none;
    font-size:20px;
    line-height:1.3;
  }

  /* FOOTER */

  footer{
    padding:50px 0 30px;
  }

  .footer-right h2{
    font-size:18px;
    line-height:1.4;
  }

  .footer-right h2 br{
    display:none;
  }

  .subscribe{
    flex-direction:column;
  }

  .subscribe input,
  .subscribe button{
    width:100%;
  }

  .subscribe input{
    height:58px;
  }

  .footer-bottom{
    margin-top:60px;
  }

  .footer-logo img{
    width:140px;
  }

}

/* 480 */

@media (max-width:480px){

  .logo img{
    width:180px;
  }

  .hero{
    padding-top:170px;
  }

  .hero h1{
    font-size:20px;
  }

  .hero-image{
    height:300px;
  }

  .card{
    min-height:360px;
  }

  .card h3{
    font-size:20px;
  }

  .cta-top h2{
    font-size:20px;
  }

  .feature h4{
    font-size:18px;
  }

}