* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Manrope', sans-serif;
background-image: url(images/fon.jpg);
color: #d8d0c0;
}
.container {
max-width: 1320px;
margin: 0 auto;
padding: 20px;
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
padding: 10px 0;
}
.logo {
display: flex;
align-items: center;
font-family: 'Raleway', sans-serif;
font-size: 24px;
font-weight: 700;
}

.telephone-header{
       font-weight: 700;
    font-family: 'Manrope', sans-serif;
    color: #FAF7EC;
    font-size: 30px;
    margin-left: 26px;
    text-decoration: none;
}


.nav {
display: flex;
gap: 20px;
font-size: 16px;
}

.nav a{
    font-size: 15px;
    font-weight: 700;
    color: #FAF7EC;
    text-decoration: none;
     font-family: 'Manrope', sans-serif;
}
.contacts {
display: flex;
align-items: center;
gap: 10px;
font-size: 18px;
}
.contacts .icon {
width: 32px;
height: 32px;
background: #d8d0c0;
color: #000;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
.hero {
display: flex;
flex-wrap: wrap;
margin-top: 40px;
gap: 55px;
}
.hero-text {
flex: 1 1 500px;
}
.hero-text h1 {
font-size: 100px;
font-weight: 700;
font-family: 'Raleway', sans-serif;
line-height: 90px;
margin-bottom: 20px;
color: #FEFCF9;
background: linear-gradient(90deg,rgba(254, 252, 249, 1) 0%, rgba(240, 233, 196, 1) 50%, rgba(180, 174, 167, 1) 100%);
-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text .flags {
display: flex;
align-items: center;
gap: 10px;
border: 1px solid #F9F5E429;
padding: 10px;
border-radius: 8px;
margin-bottom: 20px;
font-size: 15px;
font-weight: 600;
color: #FAF7EC;
font-family: 'Manrope', sans-serif;
justify-content: center;

}
.buttons {
display: flex;
gap: 26px;
flex-wrap: wrap;
}
.btn {
padding: 28px 17px 28px 17px;
border: none;
border-radius: 8px;
font-size: 18px;
font-weight: 600;
cursor: pointer;
transition: background 0.3s;
}
.btn-light {
background: linear-gradient(90deg,rgba(254, 252, 249, 1) 0%, rgba(240, 233, 196, 1) 50%, rgba(180, 174, 167, 1) 100%);
color: #010810;
width: 48%;
text-decoration: none;
    text-align: center;

}
.btn-dark {
background: #222;
color: #fff;
width: 48%;
text-decoration: none;
    text-align: center;
}
.gallery {
flex: 1 1 400px;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 10px;
}
.gallery img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
}

/*  Блок Маршрути та ціни */
h2 {
text-align: center;
font-size: 60px;
margin-bottom: 60px;
font-family: 'Raleway', sans-serif;
font-weight: 700;
margin-top: 140px;
color: #FEFCF9;
background: linear-gradient(90deg,rgba(254, 252, 249, 1) 0%, rgba(240, 233, 196, 1) 50%, rgba(180, 174, 167, 1) 100%);
-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.routes {
display: flex;
gap: 20px;
flex-wrap: wrap;
}
.card {
  flex: 0 1 42%;
background: #000000;
border-radius: 10px;
padding: 36px 40px 36px 40px;
box-sizing: border-box;
border: 1px solid rgba(249, 245, 228, 0.16);
}

.card-right{
flex: 1 1 55%;
    gap: 13px;
display: grid;
}

.card.light {
background: linear-gradient(90deg,rgba(254, 252, 249, 1) 0%, rgba(240, 233, 196, 1) 50%, rgba(180, 174, 167, 1) 100%);
color: #000;
}

.card-left h3 {
font-size: 44px;
line-height: 44px;
margin-bottom: 20px;
font-family: 'Manrope', sans-serif;
font-weight: 700;
color: #FAF7EC;
  margin-top: 60px;
}
.cities.small-text strong{
color: #FAF7EC;
font-size: 15px;
font-weight: 500;
}

.card h3 {
font-size: 44px;
line-height: 44px;
margin-bottom: 20px;
font-family: 'Manrope', sans-serif;
font-weight: 700;
}
.days, .cities, .prices {
margin-bottom: 20px;
}
.badge {
  display: inline-block;
background: #222;
padding: 12px 17px;
border-radius: 8px;
margin: 5px 5px 5px 0;
font-size: 15px;
font-weight: 500;
text-transform: uppercase;
}
.price-item {
display: flex;
align-items: center;
color: #000;
border-radius: 8px;
margin-bottom: 10px;
font-weight: 500;
text-transform: uppercase;
font-size: 15px;
  height: 48px;

}
.price-item-city{
background: #fff;
border-radius: 8px;
padding: 14px 17px 13px 17px;
text-align: center;
width: 100%;
display: flex;
justify-content: space-between;
position: relative;
left: 3px;

}

.icon-eu{
vertical-align: middle;
display: inline-flex;
gap: 10px;
font-size: 16px;
font-weight: 700;

}

.price-item-price{
font-weight: 700;
font-size: 28px;
width: 100%;
max-width: 193px;
background: #fff;
border-radius: 8px;
padding: 5px 17px 7px 17px;
text-align: center;
position: relative;
right: 3px;
}
.small-text {
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 8px;
    color: rgba(250, 247, 236, 0.5);
}

.prices-small-text .small-text{
font-weight: 500;
font-size: 11px;
color: rgba(0, 0, 0, 1);
}

/*Кінець блоку Маршрути та ціни*/


/*Блок Доставка посилок*/

h2.parcel {
    text-align: left;
    color: #FEFCF9;
background: linear-gradient(90deg,rgba(254, 252, 249, 1) 0%, rgba(240, 233, 196, 1) 50%, rgba(180, 174, 167, 1) 100%);
-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.parcel_block {
    display: flex;
    gap: 20px;
}

.parcel-left{
   border: 1px solid rgba(249, 245, 228, 0.16);

   width: 100%;
   border-radius: 8px;
   padding: 44px;
}


.parcel-left-block-h3 {

    display: flex;
    flex-wrap: wrap;
  
}
.parcel-left-block-h3 h3{
    font-weight: 700;
    font-size: 32px;
    color: #FAF7EC;
    margin-right: 16px;
}

.parcel-left-block-h3 .price-item{
    width: 100%;
      text-transform: none;
      margin-bottom: 0;
}

.parcel-left-block-h3 .price-item-city{
    font-size: 15px;
        text-transform: none;
        display: block;
        text-align: left;
        width: 131px;
        font-weight: 500;
           padding: 10px 17px 9px 17px;
           position: relative;
    left: 3px;

}

.parcel-left .small-text{
    margin-top: 20px;
        color: rgba(250, 247, 236, 0.5);
}

.parcel-left-block-h3 .price-item-price{
    font-size: 21px;
    font-weight: 700;
    width: 100%;
    max-width: 290px;
    position: relative;
    right: 2px;

}


.choose-block-left-text{
    font-weight: 500;
    font-size: 21px;
    line-height: 28px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 32px;
}


.parcel-left-block-h3 .days{
    margin-bottom: 4px;
}

.parcel-left hr{
    margin-bottom: 15px;
   
   border: none;
    border-top: 1px solid #333;

    margin-top: 15px;
}


.parcel-right img{
    border-radius: 8px;
}
/*Кінець Блоку Доставка посилок*/




.features {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    padding: 44px;
    border: 1px solid rgba(249, 245, 228, 0.16);
    border-radius: 12px;
}

.feature-item img {
    width: 40px;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    color: rgba(250, 247, 236, 1);
}

.feature-item p {
    color: #1C1C1C;
    font-size: 15px;
    font-weight: 500;
    color: rgba(250, 247, 236, 0.5);
}
.feature-item hr{
   border: none; 
   border-top: 1px solid #333; 
   margin:35px 0; 
}


/* */
.choose-block{
background: linear-gradient(90deg, rgba(254, 252, 249, 1) 0%, rgba(240, 233, 196, 1) 50%, rgba(180, 174, 167, 1) 100%);

    border-radius: 8px;
    padding: 52px;
    display: flex;
    gap: 20px;
}

.choose-block-left{
    max-width: 460px;
    width: 100%;
    padding-top: 100px;
}

.choose-block-left h3{
  font-family: 'Raleway', sans-serif;
  font-size: 81px;
  line-height: 81px;
  font-weight: 700;
  color: rgba(1, 4, 8, 1);
}


.choose-block-right{
    max-width: 690px;
    width: 100%;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.choose-block-right-grid{
    text-align: center;
    background: rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 50px;
}
.choose-block-right-grid h3{
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    color: #000000;
    margin-bottom: 16px;

}

.choose-block-right-grid p{
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: rgba(0, 0, 0, 0.5);
}



.footer {
    background-color: #0a0a0a;
    color: #f1e6c9;
    margin: 50px 0 0px 0px;
    padding: 20px 0 20px 0;
    border-top: 1px solid rgba(25, 31, 34, 1);
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo img {

}

.footer-logo span {
  font-size: 24px;
  font-weight: bold;
}

.footer-menu {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-menu a {
  text-decoration: none;
  color: #f1e6c9;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social {
  display: flex;
  gap: 5px;
}

.social-btn {
  display: inline-block;
  background-color: #f1e6c9;
  padding: 8px;
  border-radius: 5px;
  text-decoration: none;
  color: #000;
  transition: background-color 0.3s;
}

.social-btn:hover {
  background-color: #ffffff;
}

.footer-phone {
  font-size: 16px;
  font-weight: bold;
  margin-left: 10px;
}
.card-left hr{
  border: none;
    border-top: 1px solid #333;
    margin: 60px 0;
}

.rekvizyty{
    text-align: center;
}

@media (max-width: 992px) {
.hero {
    flex-direction: column;
}
.hero-text h1 {
            font-size: 48px;
        line-height: 48px;
        text-align: center;
}
.contacts {
    justify-content: center;
    flex-wrap: wrap;
}
.buttons {
    flex-direction: column;
}
.routes {
        flex-direction: column;
      }

      .parcel_block{
            flex-direction: column;
      }
      .parcel-right img{
        width: 100%;
      }

      .choose-block{
        flex-direction: column;
      }

      .choose-block-right{
            grid-template-columns: 1fr;
      }
      .footer-container{
        flex-direction: column;
      }

      .choose-block-left h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 42px;
    line-height: 42px;
    font-weight: 700;
    color: rgba(1, 4, 8, 1);
    text-align: center;
}

.choose-block-left-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 32px;
    text-align: center;
}
.choose-block-left{
        padding-top: 10px;
}
.feature-item{
        text-align: center;
}

h2{
        font-size: 38px;
    margin-bottom: 25px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-top: 25px;
}

.nav{
    display: none;
}


.btn-light, .btn-dark{
    width: 100%;

}

.hero-text .flags{
        flex-direction: column;
}

.telephone-header{
    display: none;
}

.telephone-footer{
    display: block;
}

.logo img{
        width: 200px;
}

.card-left h3{
    margin-top: 0;
}

.card-left hr{
    margin: 30px 0;
}

.price-item{
    height: auto;
    flex-direction: column;
}

.price-item-city{
    top: 4px;
}

.price-item-price{
        top: -5px;
}

.price-item-city span:nth-of-type(1){
        font-size: 12px;
    padding-top: 3px;
}

.parcel-left-block-h3 .price-item-price{
        font-size: 19px;
}

.choose-block{
    padding: 25px;
}

.parcel-left-block-h3{
    justify-content: center;
}

.card h3{

font-size: 36px;
    line-height: 36px;

}

.rekvizyty{

    margin-bottom: 27px;
}
}

