/* Базовые стили для скролла */
.smooth-scroll {
  min-height: 100vh;
  width: 100%;
}

/* Оптимизация для мобильных устройств */
@media screen and (max-width: 768px) {
  .smooth-scroll {
    -webkit-overflow-scrolling: touch;
  }
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #C93C00;
  border-radius: 3px;
}
/*-----------------------------------------------------------------------------------*/
/*	HEADER
/*-----------------------------------------------------------------------------------*/
header {
	position:relative;
	height:80px;
	background-color:#fff;
}


/* __________ Logo __________ */
.logo {float:left;}
.logo img {
	width: 200px;
}
.logo {
	margin-top: 15px;
}



        .marquee {
            background: #c93c00;
            color: #ffffff;
            padding: 10px 0;
            overflow: hidden;
            font-family: 'Titillium Web', Arial;;
            font-weight: bold;
            font-size: 20px;
        }
        .marquee-content {
            display: inline-block;
            white-space: nowrap;
            animation: scroll 15s linear infinite;
        }
        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }




/* __________ Menu __________ */
.menu_block {
	position:fixed;
	z-index:9999;
	left:0;
	top:0;
	right:0;
	height:80px;
	width:100%;
  padding-left: 183px;
  padding-right: 183px;
	background-color:#fff;
	box-shadow:0 2px 3px rgba(0,0,0,0.1);
  font-family:  'Titillium Web', Arial;
}


.navmenu ul li {
	position:relative;
	display:inline-block;
}
.navmenu ul li a {
	display:block;
  text-decoration: none;
	margin:0 0 0 -3px;
	padding:30px 20px;
	text-transform:uppercase;
	font-weight:900;
	line-height:20px;
	font-size:13px;
	color:#666;
	transition: all 0.3s ease-in-out; 
	-webkit-transition: all 0.3s ease-in-out;
}
.navmenu li:hover a,
.navmenu li.active a {
	color:#333;
}

/* Sub menu */
.sub-menu ul {
	display: none;
	position: absolute;
	z-index: 9990;
	width: 180px;
	left: 50%;
	top: 100%;
	padding: 0;
	margin: 0 0 0 -90px;
}
.sub-menu.last ul {right:0; left:auto;}
.sub-menu ul:before {
	content:'';
	position:absolute;
	left:50%;
	top:-6px;
	margin-left:-5px;
	width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 6px solid #1c1c1c;
}

.sub-menu ul li  {
	margin:0;
	padding:0;
	width:100%;
	border-top: 0;
}
.sub-menu ul li a {
	position:relative;
	margin:0;
	padding: 15px 5px 14px 21px;
	font-weight:400;
	text-align:left;
	font-size:12px;
	color:#999 !important;
	background:#1c1c1c;
	border-bottom:1px solid #282828;
}
.sub-menu ul li:last-child a {border-bottom:0;}

.sub-menu ul li.active a, .sub-menu ul li a:hover {color:#fff !important; background:#161616;}


/* ==================== Десктопная версия ==================== */
.menu_block {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.logo a {
    font-family: 'Titillium Web', Arial;
    font-size: 26px;
    font-weight: 900;
    color: #333;
    line-height: 80px;
    text-decoration: none;
}

.logo .b3 {
    font-weight: 400;
}

.navmenu ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navmenu ul li a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 30px 15px;
}

.navmenu ul li a:hover,
.navmenu ul li.active a {
    color: #333;
}

.mobile-menu-toggle {
    display: none;
}

/* ==================== Планшетная версия (993px-1200px) ==================== */
@media (max-width: 1200px) {
    .menu_block {
        padding: 0 30px;
    }
    
    .navmenu ul li a {
        padding: 30px 10px;
        font-size: 12px;
    }
}

/* ==================== Мобильная версия (до 992px) ==================== */
@media (max-width: 992px) {
    .menu_block {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 22px;
        cursor: pointer;
        z-index: 1001;
    }

    .burger-line {
        width: 100%;
        height: 3px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .navmenu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .navmenu.active {
        left: 0;
    }

    .navmenu ul {
        flex-direction: column;
        gap: 0;
    }

    .navmenu ul li {
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .navmenu ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
    }

    /* Анимация бургера */
    .mobile-menu-toggle.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .mobile-menu-toggle.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* ==================== Маленькие экраны (до 576px) ==================== */
@media (max-width: 576px) {
    .logo a {
        font-size: 22px;
        line-height: 80px;
    }
    
    .navmenu {
        top: 70px;
        height: calc(100vh - 70px);
    }
}







/* Общие стили */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: 'Titillium Web', Arial;
  text-decoration: none;
}

/* Первая секция - герой */
.hero-section {
    height: 90vh;
    width: 100%;
    background-image:url(../images/cities/place\ 2.png);
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
.header-content {
  box-sizing: border-box;
  width: 100%;
  flex: 1;
  height: 100%;
  display: grid;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(50px, 1fr));
  justify-content: center;
  grid-auto-rows: minmax(0, 1fr);
  grid-template-rows: repeat(1, minmax(0, 1fr));
  padding: 0px 48px 120px 48px;
  gap: 24px;
  position: relative;
}

.spacer {
  width: 258px;
  height: 680px;
  display: block;
  position: relative;
}

.headline {
  display: flex;
  width: 600px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: visible;
  padding: 0px;
  align-content: flex-start;
  flex-wrap: nowrap;
  gap: 48px;
  position: relative;
}

.headline p {
  z-index: 1;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.2em;
  position: relative;
}

.headline h1 {
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
  color: var(--Light_100, #ffffff);
  line-height: 1.2em;
  text-align: left;
  font-size: 72px;
  position: relative;
  width: 100%;
  text-transform: uppercase;
  font-weight: 600;
  mix-blend-mode: luminosity;

}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
  padding: 0px;
  align-content: center;
  gap: 10px;
  position: relative;
}

.buttons a {
  position: relative;
	text-transform:uppercase;
	text-align: center;
  font-family: 'Titillium Web';
	font-weight: 800;
	font-size: 13px;
	background-color:#c93c0000;
  border: solid 2px #fff;
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
}
.buttons button:hover {background-color: #c93c00a9; 	transition: all 0.3s ease-in-out; 
	-webkit-transition: all 0.3s ease-in-out;}

.data {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
  padding: 0px;
  align-content: flex-end;
  flex-wrap: nowrap;
  gap: 48px;
  position: relative;
  width: 700px;
}

.category {
  width: auto;
  height: auto;
  white-space: pre;
  font-size: 15px;
  color: var(--Light_100, #ffffffb3);
  line-height: 1.2;
  position: relative;
}

/* Только мобильная адаптация */
@media (max-width: 800px) {
  .hero-section {
    background-size: cover;
    background-position: center;
    height: 90vh;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 !important;
    width: 100%;
  }

  .headline {
    align-items: center !important;
    width: 100% !important;
  }

  .headline h1 {
    text-align: center !important;
    white-space: normal !important;
    font-size: 40px !important;
    line-height: 1.2 !important;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .buttons a {
    width: 100% !important;
  }

  .spacer,
  .data {
    display: none;
  }
}


/* Анимации при входе */
.hero-section {
  animation: bgReveal 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  opacity: 0;
}

@keyframes bgReveal {
  from {
    opacity: 0;
    background-size: 110%;
  }
  to {
    opacity: 1;
    background-size: 100%;
  }
}

.headline p {
  animation: textSlide 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
  opacity: 0;
}

.headline h1 {
  animation: textPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
  transform: translateY(30px);
  opacity: 0;
}

.buttons {
  animation: fadeIn 0.6s ease-out 0.8s both;
  opacity: 0;
}

.data {
  animation: slideFromRight 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1s both;
  transform: translateX(50px);
  opacity: 0;
}

/* Ключевые кадры */
@keyframes textSlide {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes textPop {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Анимации кнопок */
.buttons a {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.buttons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    transparent);
  transition: 0.6s;
}

.buttons a:hover {
  background-color: #C93C00 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201,60,0,0.3);
}

.buttons a:hover::before {
  left: 100%;
}

.contact-button:hover {
  letter-spacing: 1.5px;
}

.gallery-button:hover {
  border-color: #C93C00;
}















/* Вторая секция - текст с сайдбаром */
.intro-grid {
  box-sizing: border-box;
width: 100%;
height: 100%;
display: grid;
grid-template-columns: repeat(4, minmax(50px, 1fr));
justify-content: center;
grid-auto-rows: minmax(0, 1fr);
grid-template-rows: repeat(1, minmax(0, 1fr));
gap: 24px;
position: relative;
border-radius: 0px 0px 0px 0px;
}

.main-content p {
  width: 540px;
  height: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.2;
  position: relative;
  font-size: 18px;
  font-family: 'Inter';
  text-align: left;
}


.text-section {
    padding: 80px 160px;
    position: relative;
}


.side-title {
  width: 100%;
  height: 92px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  padding: 0px;
  align-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  position: relative;
}

.side-title p {
  width: auto;
  height: auto;
  white-space: pre;
  color: var(--Dark_40, #666666);
  line-height: 1.2;
  position: relative;
  font-size: 20px;
  font-family: 'Inter';
}
@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr !important; /* Делаем 1 колонку */
    display: flex !important; /* Меняем grid на flex для контроля порядка */
    flex-direction: column !important;
    gap: 30px !important;
  }

    .side-title {
    order: -1; /* Ставим ПЕРВЫМ элементом */
    height: auto !important;
    justify-content: center !important;
    margin-bottom: 20px;
  }

  .text-section {
    padding: 40px 20px !important;
  }

  .intro-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .side-title {
    height: fit-content;
    justify-content: left !important;
    order: 2;
    margin-top: 0px;
  }

  .side-title p {
    white-space: normal !important;
    text-align: center !important;
    font-size: 18px !important;
  }

  .main-content {
    order: 1;
  }

  .main-content p {
    width: 100% !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: justify;
  }
}

/* Адаптация для планшетов (768px — 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
  .text-section {
    padding: 60px 80px !important;
  }

  .intro-grid {
    grid-template-columns: 200px 1fr !important; /* Две колонки */
    gap: 40px !important;
  }

  .side-title {
    height: auto !important;
    align-items: center !important;
    padding-right: 30px !important;
    border-right: 1px solid #ddd; /* Визуальный разделитель */
  }

  .side-title p {
    white-space: normal !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  .main-content p {
    width: 100% !important;
    max-width: 600px !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
  }
}

/* Дополнительная адаптация для маленьких планшетов (768px — 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .text-section {
    padding: 50px 40px !important;
  }

  .intro-grid {
    grid-template-columns: 160px 1fr !important;
    gap: 30px !important;
  }

  .side-title p {
    font-size: 16px !important;
  }

  .main-content p {
    font-size: 16px !important;
  }
}




/* Галерея изображений */
.gallery {
    display: grid;
    grid-template-columns: 258px 540px 258px; /* Точные размеры колонок */
    gap: 24px; /* Расстояние между изображениями */
    justify-content: center; /* Центрирование сетки */
    margin: 20px 0;
}

.gallery img {
    height: 258px; /* Фиксированная высота для всех */
    width: 100%; /* Ширина по размеру колонки */
    object-fit: cover; /* Обрезка без искажений */
    border-radius: 8px; /* Опциональное скругление */
    transition: transform 0.3s; /* Анимация ховера */
}

/* Мобильная адаптация галереи */
/* Базовая десктопная версия (остается без изменений) */
.gallery {
    display: grid;
    grid-template-columns: 258px 540px 258px;
    gap: 24px;
    justify-content: center;
    margin: 20px 0;
}

/* Адаптация для планшетов (769px — 1024px) */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr); /* Гибкие колонки */
        padding: 0 20px;
    }
    
    .gallery img {
        height: 200px !important;
    }
}

/* Мобильная версия (481px — 768px) */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* Две колонки */
        gap: 15px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .gallery img {
        height: 180px !important;
    }
    
    /* Показываем ВСЕ изображения */
    .gallery img:nth-child(3) {
        display: block;
        grid-column: span 2; /* Растягиваем 3-е фото на 2 колонки */
        width: 100%;
    }
}

/* Маленькие мобилки (≤480px) */
@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery img {
        height: 220px !important;
    }
    
    .gallery img:nth-child(3) {
        grid-column: span 1; /* Возвращаем в одну колонку */
    }
}


/* Блоки с текстом */
.main-info {
  box-sizing: border-box;
  width: 100%;
  height: min-content;
  display: grid;
  max-width: 2400px;
  overflow: visible;
  grid-template-columns: repeat(4, minmax(50px, 1fr));
  justify-content: center;
  grid-auto-rows: minmax(0, 1fr);
  grid-template-rows: repeat(1, minmax(0, 1fr));
  padding: 100px 80px 80px 80px;
  gap: 24px;
  position: relative;
  border-radius: 0px 0px 0px 0px;
}

.topper {
  width: 258px;
  height: min-content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  z-index: 1;
  padding: 0px;
  align-content: flex-start;
  flex-wrap: nowrap;
  gap: 24px;
  border-radius: 0px 0px 0px 0px;
}

.topper p {
  font-family: 'Inter';
  font-size: 20px;
  width: auto;
  height: auto;
  white-space: pre;
  color: var(--Dark_40, #666666);
  line-height: 1.2;
  position: relative;
}

.city-content {
  width: 820px;
  height: min-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0px;
  align-content: center;
  flex-wrap: nowrap;
  gap: 0px;
  position: relative;
  border-radius: 0px 0px 0px 0px;
}

.city-text {
  width: 100%;
  line-height: 1.2;
  position: relative;
}

.one-paragraph {
  margin-bottom: 30px;
}

.special {
  font-size: 30px;
  font-weight: 400;
  font-family: 'Titillium Web', Arial;
  margin-bottom: 15px;
}

.one-paragraph h2 {
  font-family: 'Titillium Web', Arial;
  font-weight: 400;
  color: #c93c00;
  margin-bottom: 15px;
}

.one-paragraph p {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2em;
  color: #666;
}

.buttons-small {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
  padding: 0px;
  align-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  position: relative;
}

.contact-info-button {
  width: fit-content;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  font-family: 'Titillium Web', Arial;
  color: #000;
  background-color: #ffffff00;
  border: solid 2px #d6d6d6;
  border-radius: 20px;
  padding: 10px 20px;
  text-decoration: none;
}

.view-jeddah {
  text-decoration: none;
  width: fit-content;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  font-family: 'Titillium Web', Arial;
  color: #ffffff;
  background-color: #000000;
  border-radius: 20px;
  padding: 10px 20px;
}

/* Десктоп (>1200px) - оригинальные стили остаются нетронутыми */

/* Планшет (769-1200px) */
@media (max-width: 1200px) and (min-width: 769px) {
  .main-info {
    padding: 100px 60px !important;
    grid-template-columns: 240px 1fr !important;
  }
  
  .city-content {
    width: 100% !important;
    max-width: 720px;
  }
  
  .one-paragraph p {
    font-size: 15px;
    line-height: 1.4;
  }
}

/* Планшет (768-1024px) - уточненная версия */
@media (max-width: 1024px) and (min-width: 481px) {
  .main-info {
    padding: 80px 40px !important;
    gap: 30px !important;
  }
  
  .special {
    font-size: 26px;
  }
  
  .one-paragraph h2 {
    font-size: 19px;
  }
}

/* Мобилка (≤768px) - компактная версия */
/* Только для мобилок (≤760px) */
@media (max-width: 760px) {
  .main-info {
    display: block !important; /* Ломаем grid */
    padding: 90px 30px 40px !important; /* Уменьшил нижний отступ */
  }

  .topper {
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 0 30px !important; /* Уменьшил отступ снизу */
  }

  .topper p {
    white-space: normal !important;
    text-align: left !important;
    line-height: 1.3 !important;
    font-size: 17px !important;
  }

  .city-content {
    width: 100% !important;
  }
}

/* Мини-адаптация для очень узких экранов */
@media (max-width: 360px) {
  .main-info {
    padding: 30px 10px !important;
  }
  
  .special {
    font-size: 20px !important;
  }
}





.buttons-small a {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  letter-spacing: 0.5px;
}

.buttons-small a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.6s;
}

/* Для прозрачной кнопки с серой рамкой */
.contact-info-button {
  border: 2px solid #000; /* Меняем рамку на черную */
  transition-property: background, color, border-color, transform, box-shadow;
}

.contact-info-button:hover {
  background: #000 !important;
  color: #fff !important;
  border-color: #000;
  transform: translateY(-3px);

}

/* Для черной кнопки */
.view-jeddah {
  border: 2px solid transparent; /* Добавляем невидимую рамку */
  transition-property: background, color, border-color, transform, box-shadow;
}

.view-jeddah:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #000;
  transform: translateY(-3px);
}

/* Общие эффекты для обеих кнопок */
.buttons-small a:hover {
  letter-spacing: 1px;
}

.buttons-small a:hover::before {
  left: 100%;
}


.view-jeddah {
  border-width: 2px; /* Для плавного перехода рамки */
}

.buttons-small {
  gap: 15px; /* Увеличиваем расстояние между кнопками */
}






/* Основные стили */
.cities-section {
  padding: 30px 0 100px 0;
  background: #fff;
  font-family: 'Inter', sans-serif;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.section-header {
  width: 100%;
  margin-bottom: 50px;
}

.section-subtitle {
  display: block;
  font-size: 20px;
  color: #666;
  margin-bottom: 20px;
  text-transform: none;
}

.section-title {
  font-family: 'Titillium Web', sans-serif;
  font-size: 64px;
  font-weight: 600;
  color: #0d0d0d;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-description {
  font-size: 18px;
  color: #666;
  line-height: 1.4;
  max-width: 400px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0px;
}

.city-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper {
  height: 350px;
}

.city-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.city-name {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-family: 'Titillium Web', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.section-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: flex-end;
}

.section-actions p {
  width: 150px;
  height: auto;
  mix-blend-mode: difference;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
  color: var(--Dark_40, #666666);
  line-height: 1.2em;
  text-align: right;
  position: relative;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 15px;
}

.action-button {
  padding: 10px 30px;
  border-radius: 20px;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn {
  color: #000;
  border: 2px solid #d6d6d6;
  background: transparent;
  height: fit-content;
}

.contact-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: #C93C00;
  transition: width 0.3s ease;
  z-index: -1;
}

.contact-btn:hover {
  color: white;
  border-color: #C93C00;
}

.contact-btn:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.view-btn {
  background: #000;
  color: #fff;
  border: 2px solid #000;
  height: fit-content;
}

/* Адаптация */
@media (max-width: 1350px) {
  .container {
    padding: 0 60px;
  }
  
  .image-wrapper {
    height: 300px;
  }
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .cities-section {
    padding-bottom: 80px;
  }
  .container {
    padding: 0 40px;
  }

  .section-header {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
  }

  .section-title {
    font-size: 48px;
  }

  .section-description {
    max-width: 100%;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .image-wrapper {
    height: 400px;
  }

  .section-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 36px;
  }

  .image-wrapper {
    height: 300px;
  }

  .city-name {
    font-size: 16px;
  }
}


.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #c93c00a5;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  will-change: transform; 
}

.image-wrapper:hover img {
  transform: scale(1.15); 
}

.image-wrapper:hover::after {
  opacity: 0.8;
}


.variant-1 p {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  margin-top: 12px; 
}

.variant-1:hover p {
  color: #C93C00; 
}




.footer {
  font-family: acumin-pro, system-ui, sans-serif;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-size: 14px;
  background-color: #353535;
  align-items: start;
  max-height: max-content;
  z-index: 1;
}

.footer {
  display: flex;
  flex-flow: row wrap;
  padding: 30px 90px 20px 90px;
  color: #fff;
  background-color: #353535;
  border-top: 1px solid #e5e5e5;
}

.footer > * {
  flex:  1 100%;
}

.footer__addr {
  margin-right: 1.25em;
  margin-bottom: 2em;
}

.footer__logo {
	font-family:  'Titillium Web', Arial;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 30px;
  color: #fff;
}

.footer__addr h2 {
  margin-top: 1.3em;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

.nav__title {
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}

.footer address {
  font-style: normal;
  font-size: 16px;
  color: #cacaca;
}

.footer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  max-width: max-content;
  background-color: rgba(255, 255, 255, 0.774);
  border-radius: 100px;
  color: #2f2f2f;
  line-height: 0;
  margin: 0.6em 0;
  font-size: 20px;
  padding: 0 1.3em;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2.5em;
}

.footer a {
  text-decoration: none;
}

.footer__nav {
  display: flex;
	flex-flow: row wrap;
}

.footer__nav > * {
  flex: 1 50%;
  margin-right: 1.25em;
  z-index: 1;
}

.footer__nav {
  z-index: 1;
}

.nav__ul a {
  color: #ffffff;
  font-size: 16px;
}


.nav__ul--extra {
  column-count: 2;
  column-gap: 1.25em;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  color: #999;
}
  
.legal__links {
  display: flex;
  align-items: center;
}

.background-image {
  position: absolute;
  bottom: 2px;
  right: -100px;
  opacity: 0.7;
  z-index: 200;
}

.background-image img {
  width: 500px;
  z-index: 2;
}

.heart {
  color: #ffffff;
}

@media screen and (min-width: 24.375em) {
  .legal .legal__links {
    margin-left: auto;
  }
}

@media screen and (min-width: 40.375em) {
  .footer__nav > * {
    flex: 1;
  }
  
  .nav__item--extra {
    flex-grow: 2;
  }
  
  .footer__addr {
    flex: 1 0px;
  }
  
  .footer__nav {
    flex: 2 0px;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 15px 20px !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    /* ИЗМЕНЕНИЕ 3: Увеличен базовый шрифт */
    font-size: 14px;
    /* ИЗМЕНЕНИЕ 1: Добавлен фон */
    background: url(../images/background-image.svg) no-repeat right -30px bottom 20px/300px auto, #353535;
    position: relative;
    z-index: 1;
  }

  .footer__addr {
    grid-column: 1 / -1;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .footer__logo {
    /* ИЗМЕНЕНИЕ 3: Увеличен размер + ИЗМЕНЕНИЕ 2: Убран отступ */
    font-size: 18px;
    margin-right: 10px;
    margin-bottom: 0;
  }

  .footer__addr h2 {
    display: none;
  }

  .footer address {
    display: flex;
    align-items: center;
    gap: 8px;
    /* ИЗМЕНЕНИЕ 3: Увеличен размер */
    font-size: 14px;
    margin: 0;
  }

  .footer__btn {
    height: 30px;
    padding: 0 14px;
    /* ИЗМЕНЕНИЕ 3: Увеличен размер */
    font-size: 14px;
    margin: 0;
  }

  .footer__nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
  }

  .nav__item {
    flex: 1 1 auto;
    margin: 0;
  }

  .nav__title {
    /* ИЗМЕНЕНИЕ 3: Увеличен размер */
    font-size: 14px;
    margin: 0 0 4px 0;
  }

  .nav__ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
  }

  .nav__ul li {
    line-height: 1.2;
  }

  .nav__ul a {
    /* ИЗМЕНЕНИЕ 3: Увеличен размер */
    font-size: 14px;
    white-space: nowrap;
  }

  .background-image {
    display: none;
  }

  .legal {
    grid-column: 1 / -1;
    /* ИЗМЕНЕНИЕ 3: Увеличен размер */
    font-size: 12px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}
