
:root {
    --primary-color: #000;
    --accent-color: #00a000; 
    --text-light: #555;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: white;
    border-bottom: 1px solid #eee;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.logo-group {
    display: flex;
    flex-direction: column;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
}

.tagline {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.main-nav .menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu li a span {
    color: var(--accent-color);
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.language-switcher {
    font-size: 14px;
    cursor: pointer;
}

.language-switcher span {
    color: var(--accent-color);
}

.contact-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-button:hover {
    background: #333;
}

.hero {
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-image img {
    max-width: 100%;
    margin: 30px 0;
}

.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form button, .search-form select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

.search-form button.active {
    background: black;
    color: white;
}

.search-btn {
    background: #0a4e4c;
    color: white;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-btn::after {

    font-size: 10px;
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--primary-color);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background: #f5f5f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.contact-button {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-button:hover {
    background: #f0f0f0;
}


.main-section {
    padding: 40px 5%;
    text-align: center;
    background: #fff;
}


.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;

    margin-top: -300px; 
    position: relative; 
    z-index: 10; 


    margin-bottom: 20px;
    color: #000;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.featured-image {
    margin: 30px auto;
    max-width: 1200px;
}

.featured-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

.search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.search-option, .search-filter, .search-button {
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1rem;
}

.search-option {
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
}

.search-option.active {
    background: #000;
}

.search-filter {
    border: 1px solid #ddd;
    background: #fff;
    min-width: 150px;
}

.search-button {
    background: #0a4e4c;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button:hover {
    background: #0a4e4c;
}

.main-hero {
    position: relative;
    width: 100%;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 80vh; 
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-top: 150px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.search-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    max-width: 1000px;
    width: 90%;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.main-hero {
    position: relative;
    width: 100%;

}

.hero-container {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 700px;
    max-height: 900px;
    overflow: hidden;
    border-radius: 16px;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    color: #ffffff;
}

.hero-text {
    max-width: 700px;
    margin-bottom: 40px;
    text-align: left;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.3rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-weight: 400;
}

.search-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.search-option, 
.search-filter, 
.search-button {
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Helvetica Neue', sans-serif;
    border: none;
}

.search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.property-search-form {
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.search-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-toggle {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.toggle-option {
  padding: 12px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: #666;
  transition: all 0.3s;
}

.toggle-option.active {
  background: #000;
  color: #fff;
}

.filter-select {
  padding: 12px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  min-width: 160px;
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  appearance: none;
  font-size: 15px;
  color: #333;
}

.search-action {
  padding: 12px 24px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.search-action:hover {
  background: #3a7bc8;
}

.search-icon {
  font-size: 16px;
}


@media (max-width: 768px) {
  .search-filters {
    flex-direction: column;
  }
  
  .filter-select, 
  .search-action {
    width: 100%;
  }
}

.search-button:hover {
    background: #022925;
}

.image-caption {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.fullwidth-search-container {
  width: 100%;
  padding: 0 80px;
  box-sizing: border-box;
  background: transparent; 
}

.property-search-form {
  max-width: 1400px;
  margin-top: 300px;

  background: transparent; 
  border-radius: 12px;
  padding: 10px;
  box-shadow: none;
}

.search-row {
  display: flex;
  gap: 8px;
  width: 100%;
  
  flex-wrap: wrap;
}


.toggle-group {
  background: rgba(245,245,245,0.7); 
  backdrop-filter: blur(5px); 
}

.toggle-option {
  background: transparent;
}

.toggle-option.active {
  background: rgba(0,0,0,0.7); 
}

.search-filter {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(224,224,224,0.5);
}

.search-btn {
  background: rgba(74,144,226,0.9); 
  backdrop-filter: blur(5px);
}


@media (max-width: 768px) {
  .search-filter,
  .search-btn {
    background: rgba(255,255,255,0.85); 
  }
}

.search-filter {
  flex: 1;
  min-width: 120px;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  appearance: none;
  font-size: 15px;
}

.search-btn {
  flex: 0.5;
  min-width: 120px;
  padding: 12px 20px;
  background: #0a4e4c;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #3a7bc8;
}

.search-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


@media (max-width: 768px) {
  .search-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .toggle-group,
  .search-filter,
  .search-btn {
    width: 100%;
    flex: none;
  }
  
  .search-filter {
    padding: 14px 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .search-filter {
    min-width: calc(25% - 10px);
  }
}

.popular-offers {

  margin-top: -200px;

  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-title {

  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.section-title2 {
  margin-top: 200px;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.property-types {
  display: flex;
  gap: 15px;
}

.property-type {
  padding: 8px 20px;
  background: none;
  border: none;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  position: relative;
}

.property-type.active {
  color: #000;
}

.property-type.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.property-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-image {
  height: 200px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-details {
  padding: 20px;
}

.property-details h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #333;
}

.location {
  color: #666;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.price {
  font-weight: 700;
  color: #000;
  font-size: 1.2rem;
}

.view-all {
  text-align: center;
  margin-top: 40px;
  padding: 0 20px; 
}



.view-all-link:hover {
  background: transparent;
  color: #000000;
}

.view-all-link {
  width: 90%;
  display: inline-block;
  padding: 12px 30px;
  background: #0a4e4c;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
  max-width: 1240px; 
}

.view-all-link:hover {
  background: #333;
}


@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.property-type-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

.type-button {
  padding: 8px 25px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.type-button.active {
  color: #000;
}

.type-button.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}


.slider-nav {
  display: flex;
  gap: 10px;
}

.slider-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-button:hover {
  background: #f5f5f5;
}

.slider-button svg {
  width: 20px;
  height: 20px;
  fill: #333;
}


.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.offers-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}


@media (max-width: 768px) {
  .slider-nav {
    display: none; 
  }
  
  .offers-slider {
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
  }
}

.services-section {
  padding: 60px 0;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
  text-align: left;
}

.section-title3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  margin-left: 220px;
  color: #333;
  text-align: center;
  margin-top: 120px;
}

.services-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.table-header {
  display: table-row;
  font-weight: 600;
}

.table-row {
  display: table-row;
}

.header-cell, .row-cell {
  display: table-cell;
  padding: 20px;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

.header-cell {
  font-size: 1.1rem;
  color: #333;
  border-bottom: 2px solid #000;
}

.row-cell:first-child {
  font-weight: 500;
  width: 20%;
}

.row-cell:nth-child(2) {
  width: 65%;
  line-height: 1.6;
}

.row-cell:last-child {
  width: 15%;
  text-align: center;
  font-weight: 600;
}


@media (max-width: 768px) {
  .services-table,
  .table-header,
  .table-row,
  .header-cell,
  .row-cell {
    display: block;
    width: 100%;
  }
  
  .header-cell {
    display: none;
  }
  
  .row-cell {
    padding: 12px;
    border-bottom: none;
  }
  
  .row-cell:first-child {
    font-weight: 600;
    padding-top: 20px;
    border-bottom: 1px solid #eee;
  }
  
  .row-cell:last-child {
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
  }
}


.first-row {
  background-color: #0a4e4c; 
  color: white;
  border-radius: 8px;
}


.first-row strong {
  color: white;
}

.first-row .compact-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.first-row .slider-button svg {
  fill: white;
}


.services-table {
  width: 100%;
  
}

.table-row {
  display: flex;
  border-bottom: 1px solid #eee;
}

.row-cell {
  flex: 1;
  padding: 10px;
}

.row-cell:first-child {
  flex: 0 0 30%;
  font-weight: 500;
}


.action-cell {
  display: flex;
  justify-content: flex-end; 
  padding-right: 20px !important;
}


.first-row {
  background-color: #0a4e4c;
  color: white;
  border-radius: 8px;
}



.first-row strong {
  color: white;
}

.first-row .compact-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.first-row .slider-button svg {
  fill: white;
}

.services-table {
  width: 100%;
}

.table-row {
  display: flex;
  border-bottom: 1px solid #eee;
}

.row-cell {
  flex: 1;
  padding: 10px;
}

.row-cell:first-child {
  flex: 0 0 30%;
  font-weight: 500;
}


.advantages-section {
  padding: 80px 0;
  background-color: #0a4e4c;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  text-align: right;
}

.advantages-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.advantages-image {
  flex: 1;
}

.photo-placeholder {
  width: 100%;
  height: 700px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.advantages-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.advantage-icon {
  color: #ffffff;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.5rem;
  line-height: 1;
}

.advantage-text {
  flex: 1;
  color: #ffffff;
}

.advantage-text2 {
  flex: 1;
  color: #ffffff;
  font-size: 30px;
}


@media (max-width: 768px) {
  .advantages-section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: black;
  }
  
  .advantages-content {
    flex-direction: column;
  }
  
  .photo-placeholder {
    height: 250px;
    margin-bottom: 30px;
  }
  
  .advantage-item {
    font-size: 1rem;
  }
}

.advantage-photo {
  width: 100%;

  border-radius: 8px;
  object-fit: cover;
}
.advantage-photo {
  padding-left: 30px;
  height: 350px;
  border-radius: 8px;

}

@media (max-width: 768px) {
  .advantage-photo {
    height: 250px;
  }
}

.advantages-section {
  padding: 80px 0;
  background-color: #0a4e4c;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 40px;
  text-align: center;
}

.advantages-content {
  display: flex;
  align-items: flex-start;
  gap: 60px; 
}

.advantages-image {
  flex: 1;
  align-self: stretch; 
}

.advantage-photo {
  width: 100%;
  height: 500px; 
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.advantages-list {
  flex: 1;
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px; 
  font-size: 1.1rem;
  line-height: 1.6;
}



@media (max-width: 768px) {
  .advantages-section {
    padding: 50px 0;
  }
  
  .advantages-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .advantage-photo {
    height: 350px; 
  }
  
  .advantages-list {
    padding: 0;
  }
}


.tight-features-section {
  padding: 0;
  background-color: #f8f8f8;
  overflow: hidden; 
}

.tight-features-container {
  max-width: 100%;
  margin: 0;
}

.tight-features-row {
  display: flex;
  width: 100%;
}

.tight-feature-box {
  flex: 1 0 25%;
  min-height: 350px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  position: relative;
  margin: 0 -1px -1px 0; 
}

.tight-feature-box:hover {
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1; 
}

.tight-feature-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #222;
}

.tight-feature-text {
  color: #555;
  line-height: 1.6;
}

.tight-feature-empty {
  background-color: transparent;
  border: 1px solid transparent;
}

.tight-feature-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tight-feature-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #000;
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.tight-feature-button:hover {
  background-color: #333;
}

.underline-cta {
    text-align: center;
    margin-top: 40px;
}

.underline-cta__link {
    color: #000;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.underline-cta__link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transition: all 0.3s ease;
}

.underline-cta__link:hover:after {
    height: 2px;
}



.final-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.final-hero__image-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
}

.final-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.final-hero__text-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  width: auto;
  max-width: 50%;
  padding-left: 40px;
}

.final-hero__text {
  font-family: 'Arial', sans-serif;
  font-size: 24px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.final-hero__button {
  display: inline-block;
  color: transparent;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border: 2px solid white;
  padding: 12px 40px;
  background-color: white;
  transition: all 0.3s ease;
  position: relative;


  width: 100%; 
  max-width: 340px; 
  margin-top: 20px;
}

.final-hero__button::after {
  content: 'More';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.final-hero__button:hover {
  background-color: transparent;
}

.final-hero__button:hover::after {
  color: white;
}

.team-section {
  font-family: 'Arial', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.team-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #333;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3/4;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.team-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 10px;
}

.team-name {
  font-size: 18px;
  margin-bottom: 5px;
  color: #222;
}

.team-position {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin: 0;
}

.team-counter {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-top: 30px;
}

.team-counter span {
  font-size: 28px;
  color: #000;
}

.purchase-procedure {
  font-family: 'Arial', sans-serif;
  width: 100%;
  margin: 0 auto;
  padding: 60px 5%;
  box-sizing: border-box;
}

.procedure-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #333;
  text-align: center;
  text-transform: uppercase;
}

.procedure-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.procedure-step {
  display: grid;
  grid-template-columns: 10% 30% 60%; 
  gap: 2%;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.step-number {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  padding-right: 20px;
}

.step-items {
  margin: 0;
  padding: 0 20px 0 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-items li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.step-items li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
  font-size: 20px;
  line-height: 1.6;
}


@media (max-width: 768px) {
  .procedure-step {
    grid-template-columns: 15% 35% 50%; 
    gap: 3%;
  }
}

@media (max-width: 480px) {
  .procedure-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .step-number, .step-title {
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
  }
}

.partners-section {
  font-family: 'Arial', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.partners-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #333;
  text-transform: uppercase;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.partner-card {
  padding: 30px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border-radius: 10px;
}

.partner-name {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.partner-category {
  font-size: 16px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Arial', sans-serif;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.review-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-number {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.review-author {
  font-size: 16px;
  color: #333;
}

.review-date {
  font-size: 14px;
  color: #888;
}

.review-rating {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Arial', sans-serif;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.review-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author {
  font-size: 16px;
  color: #333;
}

.review-date {
  font-size: 14px;
  color: #888;
}

.review-rating {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.view-all {
  text-align: center;
  margin: 40px 0;
  padding: 0 20px;
}

.cronos-footer {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-logo {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.cronos-footer {
  font-family: Arial, sans-serif;
  padding: 40px;
  background: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 30px;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
}

.sublogo {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.contacts div {
  margin-bottom: 10px;
  font-size: 14px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
}

.newsletter-text {
  margin-bottom: 15px;
  font-size: 14px;
}

.subscribe-form {
  display: flex;
  margin-bottom: 15px;
}

.subscribe-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
}

.subscribe-form button {
  padding: 10px 15px;
  background: #000;
  color: white;
  border: none;
  cursor: pointer;
}

.privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

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

.legal a {
  color: #333;
  text-decoration: none;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* Мобильный хедер и первый блок */
@media (max-width: 768px) {
    /* Хедер */
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        position: relative;
        z-index: 1000;
    }
    
    .logo-group {
        display: flex;
        flex-direction: column;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .tagline {
        font-size: 10px;
    }
    
    /* Скрываем основную навигацию и кнопки */
    .main-nav,
    .header-actions {
        display: none;
    }
    
    /* Кнопка меню для мобильных */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary-color);
    }
    
    /* Сайдбар */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        padding: 20px;
        overflow-y: auto;
    }
    
    .mobile-sidebar.active {
        right: 0;
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .close-sidebar {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    
    /* Первый блок */
    .hero-container {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-overlay {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
        background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-top: 0;
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .fullwidth-search-container {
        padding: 0;
        width: 100%;
    }
    
    .property-search-form {
        margin-top: 20px;
        background: rgba(255,255,255,0.9);
        padding: 15px;
        border-radius: 8px;
    }
    
    .search-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-filter,
    .search-btn {
        width: 100%;
    }
    
    /* Оверлей для сайдбара */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-container {
        min-height: 400px;
    }
}


/* Мобильный хедер и первый блок */
@media (max-width: 768px) {
    /* Хедер */
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        position: relative;
        z-index: 1000;
    }
    
    .logo-group {
        display: flex;
        flex-direction: column;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .tagline {
        font-size: 10px;
    }
    
    /* Скрываем основную навигацию и кнопки */
    .main-nav,
    .header-actions {
        display: none;
    }
    
    /* Кнопка меню для мобильных */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary-color);
    }
    
    /* Сайдбар */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        padding: 20px;
        overflow-y: auto;
    }
    
    .mobile-sidebar.active {
        right: 0;
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .close-sidebar {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    
    /* Первый блок */
    .hero-container {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-overlay {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
        background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-top: 0;
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .fullwidth-search-container {
        padding: 0;
        width: 100%;
    }
    
    .property-search-form {
        margin-top: 20px;
        background: rgba(255,255,255,0.9);
        padding: 15px;
        border-radius: 8px;
    }
    
    .search-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-filter,
    .search-btn {
        width: 100%;
    }
    
    /* Оверлей для сайдбара */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-container {
        min-height: 400px;
    }
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 20px;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 16px;
    padding: 8px 0;
}

.mobile-menu .dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    color: var(--primary-color);
    padding: 8px 0;
    cursor: pointer;
}

.mobile-menu .dropdown-content {
    display: none;
    padding-left: 20px;
    margin-top: 5px;
}

.mobile-menu .dropdown.active .dropdown-content {
    display: block;
}

.mobile-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Адаптация хедера */
@media (max-width: 768px) {
    .header {
        position: relative;
        padding: 15px;
    }
    
    .main-nav,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Первый блок */
    .hero-container {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-overlay {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
        background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-top: 0;
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .fullwidth-search-container {
        padding: 0;
        width: 100%;
    }
    
    .property-search-form {
        margin-top: 20px;
        background: rgba(255,255,255,0.9);
        padding: 15px;
        border-radius: 8px;
    }
    
    .search-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-filter,
    .search-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-container {
        min-height: 400px;
    }
}

/* Стили для кнопки меню */
.mobile-menu-button {
    display: none; /* По умолчанию скрыта */
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-line:nth-child(1) {
    top: 0;
}

.menu-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-line:nth-child(3) {
    bottom: 0;
}

/* Анимация при открытии */
.mobile-menu-button.active .menu-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile-menu-button.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .menu-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Показываем кнопку только на мобильных */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 20px;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 16px;
    display: block;
    padding: 8px 0;
}

.mobile-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Основные стили для hero-блока */
.main-hero {
  position: relative;
  width: 100%;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 700px;
  max-height: 900px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Распределяем пространство между элементами */
  padding: 8% 8% 5%; /* Увеличиваем верхний отступ, уменьшаем нижний */
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  color: #ffffff;
  box-sizing: border-box;
}

.hero-text {
  max-width: 700px;
  margin-top: 10vh; /* Поднимаем текст выше */
  text-align: left;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.subtitle {
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
  font-weight: 400;
}

/* Форма поиска для десктопа */
.fullwidth-search-container {
  width: 100%;
  margin-top: auto; /* Прижимаем к низу */
  margin-bottom: 5vh; /* Отступ от нижнего края */
}

.property-search-form {
  width: 100%;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.search-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 120px; /* 5 фильтров + кнопка */
  gap: 12px;
  align-items: center;
}

.search-filter {
  width: 100%;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  appearance: none;
}

.search-btn {
  width: 100%;
  padding: 14px;
  background: #0a4e4c;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s;
}

.search-btn:hover {
  background: #022925;
}

.search-icon {
  width: 16px;
  height: 16px;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .hero-container {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  
  .hero-image {
    height: 60vh;
  }
  
  .hero-overlay {
    padding: 20px;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  }
  
  .hero-text {
    margin-top: 40px;
    margin-bottom: px;
    width: 100%;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .subtitle {
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  .fullwidth-search-container {
    display: none;
  }
  
  .mobile-search-container {
    display: block;
    width: 100%;
    padding: 15px;
    background: white;
  }
  
  .mobile-search-btn {
    width: 100%;
    padding: 15px;
    background: #0a4e4c;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .photo-caption {
    position: absolute;
    bottom: 80px;
    left: 20px;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  }
}

/* Скрываем мобильные элементы на десктопе */
@media (min-width: 769px) {
  .mobile-search-container,
  .photo-caption {
    display: none;
  }
}



/* Десктоп: форма поиска на фото (внизу) */
.fullwidth-search-container {
  position: absolute;
  bottom: 5%; /* Отступ от нижнего края фото */
  left: 0;
  width: 100%;
  padding: 0 8%; /* Боковые отступы как у текста */
  box-sizing: border-box;
}

.property-search-form {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  margin-top: 100px;
  margin-left: 50px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.search-row {
  display: flex;
  gap: 12px; /* Расстояние между элементами */
  justify-content: space-between; /* Равномерное распределение */
  align-items: center;
}

.search-filter {
  flex: 1; /* Все элементы растягиваются равномерно */
  min-width: 0; /* Чтобы не ломало адаптив */
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  appearance: none;
}

.search-btn {
  flex: 0 0 auto; /* Фиксированная ширина кнопки */
  padding: 12px 20px;
  background: #0a4e4c;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #022925;
}

.search-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Мобильная версия (скрываем десктопную форму) */
@media (max-width: 1700px) {
  .fullwidth-search-container {
    display: none;
  }
}
/* Основные стили для hero-блока */
.main-hero {
  position: relative;
  width: 100%;
  margin-bottom: 300px;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 700px;
  max-height: 900px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8% 8% 5%; /* Поднимаем текст выше (увеличиваем верхний отступ) */
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  color: #ffffff;
  box-sizing: border-box;
}

.hero-text {

  margin-bottom: 500px; /* Прижимаем текст к верхней части */
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);

}

.subtitle {
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

/* Форма поиска (десктоп) */
.fullwidth-search-container {
  width: 100%;
  margin-bottom:-25px; /* Прижимаем форму к низу */
}

.property-search-form {
  width: 100%;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.search-row {
  display: flex;
  gap: 10px; /* Равные отступы между элементами */
  align-items: center;
}

.search-filter {
  flex: 1; /* Равномерное распределение ширины */
  min-width: 120px;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  appearance: none;
}

.search-btn {
  flex: 0 0 auto; /* Фиксированная ширина кнопки */
  padding: 12px 20px;
  background: #0a4e4c;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #022925;
}

.search-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Мобильная версия */
@media (max-width: 1700px) {
  .hero-container {
    height: auto;
    min-height: 500px;
  }
  
  .hero-overlay {
    padding: 20px;
    justify-content: flex-start;
  }
  
  .hero-text {
    margin-top: 40px;
    margin-bottom: 20px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .fullwidth-search-container {
    display: none; /* Скрываем десктопную форму */
  }
  
  .mobile-search-container {
    display: block; /* Показываем мобильную кнопку */
    width: 100%;
  
    background: white;
  }
  
  .mobile-search-btn {
    width: 100%;
    padding: 15px;
    background: #0a4e4c;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .photo-caption {
    position: absolute;

    left: 20px;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  }
}

/* Скрываем мобильные элементы на десктопе */
@media (min-width: 1700px) {
  .mobile-search-container,
  .photo-caption {
    display: none;
  }
}

/* Мобильная версия */
@media (max-width: 768px) {
  .advantages-section {
    padding: 30px 15px;
    background-color: #0a4e4c;
  }

  .advantages-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .advantages-image {
    width: 100%;
    margin-bottom: 25px;
    text-align: center; /* Центрируем изображение */
  }

  .advantage-photo {
    width: 100%;
    max-width: 500px; /* Ограничиваем максимальную ширину */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin: 0 auto; /* Центрирование по горизонтали */
  }

  .advantages-list {
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center; /* Центрируем текст */
  }

  .advantage-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .advantage-text2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
  }

  .advantage-icon {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .advantage-text {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    max-width: 90%;
  }
}

/* Десктопная версия */
@media (min-width: 769px) {
  .advantages-section {
    padding: 80px 0;
    background-color: #0a4e4c;
  }

  .advantages-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .advantages-image {
    flex: 1;
  }

  .advantage-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
  }

  .advantages-list {
    flex: 1;
    list-style: none;
    padding: 20px 0;
  }

  .advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .advantage-text2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
  }

  .advantage-icon {
    color: white;
    margin-right: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .advantage-text {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

.container {
  width: 100%; /* или фиксированная ширина */
  height: auto; /* или фиксированная высота */
  overflow: visible; /* убирает обрезку */
}

.container img {
  width: 100%; /* растягивает по ширине */
  height: auto; /* сохраняет пропорции */
  object-fit: contain; /* гарантирует, что вся картинка видна */
}

/* Общие стили для всех устройств */
.tight-features-section {
    background-color: #f8f8f8;
    overflow: hidden;
}

.section-title3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 80px 0 40px;
}

.tight-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tight-features-row {
    display: flex;
    width: 100%;
}

.tight-feature-box {
    flex: 1 0 25%;
    min-height: 350px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    position: relative;
    margin: 0 -1px -1px 0;
    transition: all 0.3s ease;
}

.tight-feature-box:hover {
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.tight-feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #222;
}

.tight-feature-text {
    color: #555;
    line-height: 1.6;
}

.tight-feature-empty {
    background-color: transparent;
    border: 1px solid transparent;
}

.tight-feature-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.underline-cta__link {
    color: #000;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.underline-cta__link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transition: all 0.3s ease;
}

.underline-cta__link:hover:after {
    height: 2px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .section-title3 {
        font-size: 1.8rem;
        margin: 40px 0 30px;
    }
    
    .tight-features-row {
        flex-wrap: wrap;
    }
    
    .tight-feature-box {
        flex: 1 0 50%;
        min-height: 250px;
        padding: 20px;
    }
    
    .tight-feature-empty {
        display: none;
    }
    
    .tight-feature-cta {
        flex: 1 0 100%;
        order: 3; /* Перемещаем CTA вниз */
        min-height: auto;
        padding: 25px 20px;
        background-color: #0a4e4c;
    }
    
    .tight-feature-cta .underline-cta__link {
        color: white;
        font-size: 16px;
        padding: 10px 20px;
        border: 2px solid white;
        border-radius: 4px;
    }
    
    .tight-feature-cta .underline-cta__link:after {
        display: none;
    }
    
    /* Переупорядочиваем элементы для мобильной сетки */
    .tight-features-row:first-child {
        margin-bottom: 15px;
    }
    
    .tight-features-row:first-child .tight-feature-box:nth-child(1),
    .tight-features-row:first-child .tight-feature-box:nth-child(3) {
        flex: 1 0 calc(50% - 7.5px);
    }
    
    .tight-features-row:first-child .tight-feature-box:nth-child(3) {
        margin-left: 15px;
    }
    
    .tight-features-row:last-child .tight-feature-box:nth-child(2),
    .tight-features-row:last-child .tight-feature-box:nth-child(3) {
        flex: 1 0 calc(50% - 7.5px);
    }
    
    .tight-features-row:last-child .tight-feature-box:nth-child(3) {
        margin-left: 15px;
    }
}

/* Мобильная версия final-hero */
@media (max-width: 768px) {
  .final-hero {
    position: relative;
    height: auto;
    min-height: 400px;
    overflow: hidden;
  }
  
  .final-hero__image-wrapper {
    position: relative;
    height: 100%;
  }
  
  .final-hero__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.6);
  }
  
  .final-hero__text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 20px;
    text-align: center;
  }
  
  .final-hero__text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: center;
  }
  
  .final-hero__button {
    display: inline-block;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 30px;
    background-color: transparent;
    transition: all 0.3s ease;
    margin-top: 15px;
  }
  
  .final-hero__button:hover {
    background-color: white;
    color: #ffffff;
  }
}

/* Десктопная версия (если нужно сохранить) */
@media (min-width: 769px) {
  .final-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .final-hero__image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  
  .final-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
  }
  
  .final-hero__text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    width: auto;
    max-width: 50%;
    padding-left: 40px;
  }
  
  .final-hero__text {
    font-size: 24px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
  }
}