
/* Основные стили для прозрачной липкой шапки */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}
.page-template-default .header,
.archive .header,
.single-lot .header {
  background: #fff;
  border-bottom: 1px solid var(--color-primary-light);
}
.header-scrolled {
  background: #fff;
  box-shadow: var(--box-shadow-light);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    height: 88px;
}

.logo {
    flex: none;
    order: 0;
    width: 68.75px;
    height: 50.93px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Делаем лого белым */
    transition: filter 0.3s ease;
}
.page-template-default .logo img,
.archive .header .logo img,
.single-lot .header .logo img,
.header-scrolled .logo img {
    filter: invert(1);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 40px;
    height: 27.09px;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: rgba(255, 255, 255, 0.8);
}
.page-template-default .header .main-nav a,
.archive .header .main-nav a,
.single-lot .header .main-nav a,
.header-scrolled .main-nav a {
    color: #1E2143;
}
.page-template-default .header .main-nav a:hover,
.archive .header .main-nav a:hover,
.single-lot .header .main-nav a:hover,
.header-scrolled .main-nav a:hover {
    color: rgba(30, 33, 67, 0.8);
}

.header-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 48px;
    width: 374px;
    height: 60px;
}

.phone-number {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.page-template-default .header .main-nav a:hover,
.archive .header .phone-number,
.single-lot .header .phone-number,
.header-scrolled .phone-number {
    color: #1E2143;
}
.page-template-default .header .btn-light:hover,
.archive .header .btn-light:hover,
.single-lot .header .btn-light:hover,
.header-scrolled .btn-light:hover {
   color: #fff;
    background: #1E2143;
    border-color: #1E2143;
    
}



/* Стили для основного контента - без отступов сверху */
.site-content {
    /* Без padding-top - контент начинается прямо под шапкой */
    position: relative;
    z-index: 1;
}
/* Стили для архива и карточки лота- с отступом сверху */
.page-template-default .site-content,
.single-lot .site-content,
.archive .site-content {
    margin-top: 60px;
}

/* Стили для страницы контактов */

.contacts-main-section {
    background: var(--color-primary, #1E2143);
    color: var(--color-white, #ffffff);
    padding: 188px 0 100px;
}

.contacts-main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}
.contacts-info {
    max-width: 600px;
}
.contacts-info h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 40px 0;
    color: var(--color-white, #ffffff);
}

.main-address {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--color-white, #ffffff);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 16px;
    font-weight: 400;
}

.contact-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);

}

.contact-value {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 400;
    color: var(--color-white);

}

.contacts-graphic {
    flex-shrink: 0;
    max-width: 310px;
}

.graphic-element {
    width: 100%;
    height: auto;
    opacity: 0.1;
    filter: brightness(0) invert(1);
}

.map-address {
    font-size: 17px;
    margin-bottom: 40px;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contacts-departments-section {
    background: var(--color-primary, #1E2143);
    color: var(--color-white, #ffffff);
    padding: 120px 0;
}

.contacts-departments-section h2 {
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 0 40px 0;
    color: #66B2FF;
}

.department-item {
    padding: 30px 0;
    position: relative;
}

.department-item:last-child {
    padding-bottom: 0;
}

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

.department-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-shrink: 0;
    width: 40%;
    min-width: 300px;
    flex-direction: row;
}
.department-number {
    font-size: 3rem;
    font-weight: 300;
    color: #66B2FF;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 10px;
}

.department-name {
    font-size: 4rem;
    font-weight: 700;
    color: #66B2FF;
    line-height: 1.2;
}

.department-details {
    flex: 1;
}

.details-row {
    display: flex;
    gap: 60px;
    margin-bottom: 15px;
}

.details-row:last-child {
    margin-bottom: 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.detail-value {
    font-size: 1rem;
    color: var(--color-white, #ffffff);
    font-weight: 500;
    text-align: left;
}

.detail-value.work-hours {
    color: var(--color-white, #ffffff);
    font-weight: 500;
    text-align: left;
}

.department-divider {
    height: 1px;
    background: #FFF;
    opacity: 0.3;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Стили для полей условий приобретения */
/* .rate-section {
    margin-bottom: 20px;
}

.rate-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}
.purchase-card.light:hover svg path{
    fill: #FFFFFF;
}
.detail-item svg path {
    fill: #1E2144;
}
.rate-item {
    margin-bottom: 12px;
}

.rate-label,
.payment-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    font-weight: 400;
}

.payment-section {
    margin-bottom: 20px;
}

.payment-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.payment-label-1 {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
    font-style: italic;
}

.payment-item {
    margin-bottom: 12px;
}

.payment-item:last-child {
    margin-bottom: 0;
}
.rate-section, .payment-section {
    background: #f9f9f9;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
}

.rate-section h5, .payment-section h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.condition-item {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.condition-item h4 {
    margin: 0 0 15px 0;
    color: #007cba;
    font-size: 16px;
}

.legacy-fields {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px;
    margin-top: 10px;
    border-radius: 3px;
}

.legacy-fields p {
    margin: 5px 0;
}

.legacy-fields label {
    font-size: 12px;
    color: #856404;
} */



/* ===== FOOTER ===== */
.footer-section, .site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 120px 0;
}

.single-lot .footer-section, .single-lot .site-footer {
  background-color: var(--color-primary);
}

.footer-section .container, .site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 139px;
}

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

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col .menu-item a {

    font-weight: 400;
    font-size: 24px;
    line-height: 1.1px;
    text-transform: uppercase;
    color: #FFFFFF;
}
.footer-col .adress {
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.3;
    color: #FFFFFF;
}
.footer-col a:hover {
  opacity: 0.8;
  text-decoration: none;
}


.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  font-size: 18px;
  line-height: 21.6px;
}

.footer-bottom a {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
  opacity: 0.8;
}
.footer-col ul.contacts-list {
    margin-top: 20px;
}
.footer-col ul.contacts-list a {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.1;
    color: var(--color-white);

}

.social-icons {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}
.social-icons .social-item a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 50px;
    color: var(--color-white);
}
.social-icons .social-item a:hover {
    color: var(--color-text-primary);
    background-color: var(--color-white);
    opacity: 1;
}
.wp-block-column p.card-number {
  font-weight: 400;
  font-size: 60px;
  line-height: 71.6px;
  letter-spacing: -2.4px;
}

.wp-block-column p.card-number {
   color: var(--color-accent);
}

.wp-block-column p.card-text {
  font-weight: 400;
  font-size: 26px;
  line-height: 1.4;
  opacity: 0.5;
}
.card-header {
    border-bottom: 1px solid var(--color-accent);
}


/* ===== СЕКЦИЯ ФИЛЬТРОВ ===== */
.analytics-filters-section {
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--border-radius-main);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.analytics-filters h3 {
    font-size: 1.25rem;
    font-weight: 600;

    margin: 0 0 25px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

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

.filter-group label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.9rem;
}


.filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-actions .btn {
    max-height: 56px;
    display: flex;
}


.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.report-card {
    position: relative;
    height: 288px;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.report-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.card-bg-1 { 
    background-image: url('../images/analytics-bg-1.jpg'); 
}

.card-bg-2 { 
    background-image: url('../images/analytics-bg-2.jpg'); 
}

/* Стили для карточек с Featured Image */
.report-card[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.report-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.report-type {
    display: inline-block;
    padding: 6px 10px;
    width: fit-content;
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.2;
    background-color: var(--color-white);
    border-radius: var(--border-radius-main);
    color: var(--color-text-primary);
    align-self: flex-end;

}
.report-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 400;
    color: var(--color-white);
}

.report-tag.unique {
    background-color: #ffc107;
    color: #000;
}

.report-card h3 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 16px 0;
    margin-top: auto;
    color: var(--color-white);
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.card-tags .tag {
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    padding: 4px 7px;
    font-size: 14px;
    color: var(--color-white);
}

.report-card .btn-dark {
    padding: 12px 40px;
    font-size: 14px;
    align-self: flex-start;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.report-card .btn-dark:hover {
    background-color: #2c3e50;
    color: var(--color-white);
    text-decoration: none;
}

.report-card .btn-dark.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== СООБЩЕНИЕ О ПУСТЫХ РЕЗУЛЬТАТАХ ===== */
.no-reports-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.no-reports-content i {
    color: #ced4da;
    margin-bottom: 20px;
}

.no-reports-content h3 {
    color: #495057;
    margin: 0 0 15px;
}

.no-reports-content p {
    color: #6c757d;
    margin: 0 0 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ПАГИНАЦИЯ ===== */
.show-more-container {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.show-more-btn {
    background-color: var(--color-white);
    border: none;
    border-radius: 10px;
    padding: 16px 78px;
    font-size: 14px;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.show-more-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Секция "Рекомендации" (объединенная) */
/* .recommendations-section {
  background-color: var(--color-white);
  padding: 120px 0;
}

.recommendations-section .container {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 64px;
}

.recommendations-section h2 {
  font-weight: 400;
  font-size: 45px;
  line-height: 56.5px;
  letter-spacing: -1.22px;
  color: var(--color-primary-dark-alt);
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 93px 63px;
  width: 100%;
}

.rec-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: none;
  box-shadow: none;
}

.rec-card-link-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rec-card-link-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rec-card-img {
  width: 100%;
  height: 288px;
  object-fit: cover;
  border-radius: 10px;
}

.rec-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rec-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.rec-card-header h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-primary-dark);
  margin: 0;
  flex: 1;
}

.rec-card-header .tag,
.premium-tag {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 10.83px;
  line-height: 12px;
  white-space: nowrap;
}

.rec-card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.rec-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.rec-card-details .detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.4px;
  color: var(--color-primary-dark);
}

.rec-card-details .detail-item img {
  width: 16px;
  height: 16px;
}

.rec-card-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  text-align: right;
}

.rec-card-price {
  font-weight: 500;
  font-size: 17px;
  line-height: 22.1px;
  color: var(--color-primary-dark);
  margin: 0;
}

.rec-card-link {
  font-weight: 500;
  font-size: 12px;
  line-height: 19.2px;
  letter-spacing: -0.24px;
  color: rgba(30, 33, 68, 0.4);
  text-decoration: none;
  cursor: pointer;
} */

/* Sales section */
.sales-section {
  background-color: var(--color-primary-light);
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.sales-header {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.sales-header h2 {
  font-weight: 400;
  font-size: 45px;
  line-height: 56.5px;
  margin: 0;
}

.sales-header p {
  font-weight: 400;
  font-size: 28px;
  line-height: 28.8px;
  opacity: 0.6;
  margin: 0;
}

.sales-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sales-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sales-column h3 {
  font-weight: 700;
  font-size: 45px;
  line-height: 40.5px;
  letter-spacing: -0.9px;
  margin: 0;
}

.sales-card {
  border-radius: var(--border-radius-main);
  padding: 36px 30px;
  box-shadow: var(--box-shadow-medium);
  flex-grow: 1;
}

.sales-card.light {
  background-color: var(--color-white);
  color: var(--color-text-primary);
}

.sales-card.dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sales-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sales-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 26px;
  line-height: 33.8px;
}

.sales-card.light .sales-list li {
  opacity: 0.6;
  height: 4.5rem;
}

.sales-list li span {
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  opacity: 1;
}

.card-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.card-tags span {
  font-size: 14px;
  line-height: 19.2px;
}

.additional-service-card.dark .card-tags span {
  color: var(--color-white);
}

/* Real Estate section */
.real-estate-section {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
}

.real-estate-section h2 {
  font-weight: 400;
  font-size: 60px;
  line-height: 71.6px;
  letter-spacing: -1.8px;
  text-align: left;
  width: 100%;
  margin: 0;
}

.real-estate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Cases section */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 48px 48px;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-header h4 {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-primary-dark);
  margin: 0;
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;
    color: var(--color-primary-dark-alt);
}

.location span {
  font-size: 12px;
  line-height: 16px;

}

.case-image {
  width: 100%;
  height: 288px;
  object-fit: cover;
  border-radius: 10px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 10.8px;
  line-height: 12px;
}


/* Location section */


.location-header .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.location-header .hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 22px;
  color: var(--color-text-primary);
}

.location-header .hero-meta img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.location-map {
  border-radius: var(--border-radius-main);
  overflow: hidden;
  background-color: #f5f5f5;
  min-height: 400px;
}

.location-map .lot-map {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-main);
  overflow: hidden;
}

/* ===== АДАПТИВНОСТЬ ===== */


/* Галерея about */

.gallery-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-main);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 334px;
}

/* Система 12 колонок для flexbox */
.gallery-item.col-1 { flex: 0 0 calc(8.333333% - 6px); aspect-ratio: 1 / 3; }
.gallery-item.col-2 { flex: 0 0 calc(16.666667% - 6px); aspect-ratio: 2 / 3; }
.gallery-item.col-3 { flex: 0 0 calc(25% - 6px); aspect-ratio: 3 / 3; }
.gallery-item.col-4 { flex: 0 0 calc(33.333333% - 6px); aspect-ratio: 4 / 3; }
.gallery-item.col-5 { flex: 0 0 calc(41.666667% - 6px); aspect-ratio: 5 / 3; }
.gallery-item.col-6 { flex: 0 0 calc(50% - 6px); aspect-ratio: 6 / 3; }
.gallery-item.col-7 { flex: 0 0 calc(58.333333% - 6px); aspect-ratio: 7 / 3; }
.gallery-item.col-8 { flex: 0 0 calc(66.666667% - 6px); aspect-ratio: 8 / 3; }
.gallery-item.col-9 { flex: 0 0 calc(75% - 6px); aspect-ratio: 9 / 3; }
.gallery-item.col-10 { flex: 0 0 calc(83.333333% - 6px); aspect-ratio: 10 / 3; }
.gallery-item.col-11 { flex: 0 0 calc(91.666667% - 6px); aspect-ratio: 11 / 3; }
.gallery-item.col-12 { flex: 0 0 calc(100% - 6px); aspect-ratio: 12 / 3; }

.about-gallery .gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: var(--border-radius-main);
}

.about-gallery .overlay-text {
    color: var(--color-primary-light);
  position: relative;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(0deg, rgba(37, 37, 56, 0.8) 10%, rgba(37, 37, 56, 0) 100%);
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}

.text-drack.gallery-item {
  background: var(--color-primary-light);
  justify-content: center;
}

.overlay-text.text-drack {
  background: transparent;
  color: var(--color-primary);
}



/* Стили для property-card */
.property-card-content {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-grow: 1;
  position: relative;
}

.property-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 60%;
}

.property-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-primary);
  margin: 0;
}

.location-item, .property-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-primary);
  letter-spacing: -0.4px;
}

.location-item img, .property-address img {
  width: 16px;
  height: 16px;
}

.property-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.price {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

/* Специфические стили для страниц */
.page-template-page-zastroi .sales-column {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}

.page-template-page-zastroi .consulting-analytics-card.light:hover {
  background: var(--color-primary) !important;
}
/* === СТИЛИ КАТАЛОГА (перенесено из catalog.css) === */

/* Заголовок страницы */
.page-title-section {
    background-color: var(--color-white);
    padding: 50px 0 80px 0;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--color-text-secondary);
    font-size: 12px;
}

.breadcrumbs .divider {
    width: 4px;
    height: 4px;
    background-color: var(--color-text-secondary);
    border-radius: 50%;
}

.page-title-heading {
    color: var(--color-text-primary);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
}



/* Фильтр по категориям */
.category-filter {
    margin-bottom: 48px;
    text-align: center;
}

.category-filter h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.category-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-white);
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

.category-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}



/* Сетка и карточки лотов */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.property-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-primary-ligh);
}

.property-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.property-card-image {
    width: 100%;
    height: 288px;
    object-fit: cover;
}

.property-card-content {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-grow: 1;
}
.property-card-content svg {
    min-width: fit-content;
}
.property-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 60%;
}

.property-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-primary);
    margin: 0;
}

.property-location {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.location-item, .property-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-primary);
    letter-spacing: -0.4px;
}

.location-item img, .property-address img {
    width: 16px;
    height: 16px;
}

.property-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}
.property-card a {
    text-decoration: none!important;
}
.premium-tag {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 10px;
}

.price {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.details-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: -0.24px;
    text-decoration: none;
}

.details-link:hover {
    color: var(--color-primary);
}

.show-more-btn {
    display: block;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 16px 78px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--color-text-primary);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.show-more-btn:hover {
    background-color: var(--color-primary-light);
}

.no-lots-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-secondary);
}

.no-lots-message p {
    font-size: 18px;
    margin-bottom: 20px;
}

.no-lots-message .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.no-lots-message .btn:hover {
    background-color: var(--color-primary-dark-alt);
    color: var(--color-white);
    text-decoration: none;
}



/* Блок условий приобретения */

/* .purchase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.purchase-card {
    border-radius: 10px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.purchase-card.light {
    background-color: var(--color-primary-light);
}

.purchase-card.dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.purchase-card-title {
    font-size: 32px;
    line-height: 36px;
    font-weight: 400;
    letter-spacing: -0.48px;
    margin-bottom: 40px;
}

.purchase-details {
    display: flex;
    flex-direction: column;
    gap: 44px;
}


.purchase-card.dark .detail-label {
    color: var(--color-white);
}

.detail-value {
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
}

/* Форма в блоке условий */
/* .purchase-form-wrapper {
    padding-left: 32px;
}

.form-title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 22px;
}  */


/* Основные стили для страницы лота */

p.surroundings-text {
    min-height: 8rem;
}
/* Галерея лота */
.lot-gallery-section {
  background-color: var(--color-white);
}

.hero-gallery {
  position: relative;
  border-radius: var(--border-radius-main);
  overflow: hidden;
  margin: 0 auto;
}

.gallery-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1330 / 468;

}

.gallery-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  z-index: 0;
}
.gallery-slides img.active {
z-index: 1;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 53px;
  height: 53px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 3;
}

.gallery-nav:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

/* Заголовок лота */
.lot-header {
  padding: 20px 0;
  background-color: var(--color-white);

}

.lot-header-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 60px 0 0;
}

.lot-title-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lot-title {
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin: 0;
}

.lot-price {
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-text {
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1.2;
  color: var(--color-text-secondary);
  width: max-content;
}

.premium-badge {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4.9px 9.13px;
  border-radius: var(--border-radius-main);
  font-size: 17px;
  letter-spacing: 1.78px;
  text-transform: uppercase;
  line-height: 90%;
  font-weight: 400;
}

.lot-sleepy-info {
  display: flex;
  gap: 24px;
}

.live-camera-btn {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: none;
  font-size: 17px;
  padding: 13px 16.7125px;
  border-radius: var(--border-radius-main);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  bottom: 36px;
  transition: all 0.2s ease;
}

.lot-header-bottom {
  display: flex;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
}

.lot-details-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 22px;
  flex-direction: row;
}

/* .detail-item i {
  color: var(--color-primary);
  font-size: 16px;
} */

/* Секция условий приобретения */

/* .acquisition-conditions .section-subtitle-light {
  font-size: 20px;
  line-height: 22px;
  color: var(--color-text-secondary);
  max-width: 825px;
  margin-bottom: 40px;
}

.purchase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.purchase-card {
  border-radius: var(--border-radius-main);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.purchase-card.light {
  background-color: var(--color-primary-light);
}

.purchase-card.dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.purchase-card.light:hover {
  background: var(--color-primary);
}

.purchase-card.light:hover .purchase-card-title,
.purchase-card.light:hover .detail-label,
.purchase-card.light:hover .detail-value {
  color: var(--color-white);
}

.purchase-card-title {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  letter-spacing: -0.48px;
  margin-bottom: 40px;
  height: 5rem;
}

.purchase-details {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.detail-item .detail-label {
  display: block;
  font-size: 14px;
  line-height: 19.2px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.purchase-card.dark .detail-label {
  color: var(--color-white);
}

.detail-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
} */

/* Секция окружения */
.surroundings-section {
  overflow: visible !important;
}

.surroundings-gallery-wrapper {
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

#surroundingsCarousel {
  border-radius: var(--border-radius-main);
  overflow: visible !important;
}


.surroundings-intro {
    padding-bottom: 30px;
}

.surroundings-image {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  border-radius: var(--border-radius-main);
  max-height: 400px;
}

.surroundings-image img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--border-radius-main);
}

.surroundings-navigation {
  position: absolute;
  top: 50%;
  left: -40px;
  right: -40px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 20;
}

.surroundings-navigation .carousel-control-prev,
.surroundings-navigation .carousel-control-next {
  position: static;
  width: 50px;
  height: 50px;
  background-color: #f0f0f0;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 1;
  visibility: visible;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
}

.surroundings-navigation .carousel-control-prev:hover,
.surroundings-navigation .carousel-control-next:hover {
  background-color: #e0e0e0;
  transform: scale(1.05);
}

.surroundings-navigation .carousel-control-prev img,
.surroundings-navigation .carousel-control-next img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(0);
}

#surroundingsCarousel .carousel-indicators {
  display: none;
}
/* Контейнер слайдера */

/* Слайд */
.surroundings-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

/* Активный слайд */
.surroundings-slider-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.surroundings-indicators {
    display: none;
}

/* Навигация (используем твои существующие стили) */
.surroundings-navigation {
    position: absolute;
    top: 50%;
    left: -40px;
    right: -40px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 20;
}

.surroundings-navigation .carousel-control-prev,
.surroundings-navigation .carousel-control-next {
    position: static;
    width: 53px;
    height: 53px;
    background-color: var(--color-white);
    color: var(--color-text-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.surroundings-navigation .carousel-control-prev:hover,
.surroundings-navigation .carousel-control-next:hover {
    background-color: var(--color-primary-light);
    transform: scale(1.1);
}

.surroundings-navigation .carousel-control-prev svg,
.surroundings-navigation .carousel-control-next svg {
    width: 20px;
    height: 20px;
}
/* Стили для блока знакомства */


.intro-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.intro-header {
    flex: 0 0 40%;
    max-width: 500px;
}

.intro-subtitle {
    font-size: 45px;
    font-weight: 400;
    color: var(--color-text-secondary, #6c757d);
    margin: 0 0 10px 0;
    line-height: 1;
}

.intro-title {
    font-size: 45px;
    font-weight: 400;
    color: var(--color-primary, #1E2143);
    margin: 0;
    line-height: 1.2;
}

.intro-text {
    flex: 1;
    max-width: 600px;
}
.surroundings-text,
.overlay-text,
.intro-text p {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-primary, #1E2143);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* Стили для видео-карточек */
.video-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0
}
/* Стили для блока генплана проекта */
.master-plan-header {
    margin-bottom: 40px;
}

.master-plan-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.master-plan-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.master-plan-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 2;
}

.master-plan-overlay .info-box {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(224, 224, 224, 0.8);
    border-radius: 8px;
    padding: 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    min-width: auto;
    width: fit-content;
}

.master-plan-overlay .info-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary, #1E2144);
    line-height: 1.3;
    white-space: nowrap;
}
/* ===== СТРАНИЦА 404 ===== */
.error-404-main {
    min-height: 100vh;
}

.error-404-section {


.error-404-title {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404-subtitle {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
}

.error-404-text {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.error-404-actions .btn {
    padding: 16px 40px;
    border-radius: var(--border-radius-main);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.error-404-actions .btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.error-404-actions .btn-primary:hover {
    background: var(--color-primary-dark);
}

.error-404-actions .btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.error-404-actions .btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.error-404-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    opacity: 0.8;
}

