/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - точные цвета из Tailwind */
:root {
    --orange-400: #fb923c;
    --orange-500: #FF6B35;
    --orange-600: #FF5722;
    --orange-700: #E64A19;
    --orange-100: #FFF3E0;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    --black: #000000;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
#header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

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

.logo-image {
    height: 75px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo-image {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 1rem;
}

.logo-image:hover, .footer-logo-image:hover {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 118, 68, 0.5));
    transition: all 0.3s ease;
}

.logo-image, .footer-logo-image {
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
    height: 75px;
    width: auto;
    display: block;
    object-fit: contain;
}
.logo-text {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
    background: linear-gradient(to right, var(--orange-600), var(--orange-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--gray-600);
    letter-spacing: 0.025em;
}

.location-switcher {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(to right, var(--gray-100), var(--gray-50));
    border-radius: 0.75rem;
    padding: 0.375rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .location-switcher {
        display: flex;
    }
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-btn.active {
    background: linear-gradient(to right, var(--orange-600), var(--orange-500));
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
    transform: scale(1.05);
}

.location-btn:hover:not(.active) {
    background: var(--white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    transition: color 0.3s ease;
}

@media (min-width: 1024px) {
    .phone-link {
        display: flex;
    }
}

.phone-link:hover {
    color: var(--orange-600);
}

.phone-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--orange-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-600);
    transition: all 0.3s ease;
}

.phone-link:hover .phone-icon {
    background: var(--orange-600);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(to right, var(--orange-600), var(--orange-500));
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--orange-700), var(--orange-600));
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.5);
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--gray-900);
}

.btn-outline-gray {
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
    background: var(--white);
}

.btn-outline-gray:hover {
    background: var(--gray-50);
}

.btn-lg {
    padding: 0.625rem 1.25rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
    0%, 100% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-overlay-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), transparent);
}

.hero-overlay-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 3s ease-in-out infinite;
}

.hero-decoration-1 {
    top: 5rem;
    right: 5rem;
    width: 18rem;
    height: 18rem;
    background: rgba(255, 107, 53, 0.2);
}

.hero-decoration-2 {
    bottom: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 107, 53, 0.1);
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 9999px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title-accent {
    color: var(--orange-500);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 1rem;
    color: #E5E7EB;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--gray-300);
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Section Common Styles */
section {
    padding: 6rem 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--orange-100);
    color: var(--orange-600);
    border-radius: 9999px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    font-weight: 500;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem;
    }
}

.section-description {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

/* Catalog Section */
.catalog {
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.cottage-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.cottage-card:hover {
    border-color: var(--orange-500);
    box-shadow: 0 20px 25px -5px rgba(255, 107, 53, 0.2);
    transform: translateY(-0.5rem);
}

.cottage-image-wrapper {
    position: relative;
    height: 18rem;
    overflow: hidden;
}

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

.cottage-card:hover .cottage-image {
    transform: scale(1.1);
}

.cottage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cottage-card:hover .cottage-overlay {
    opacity: 1;
}

.cottage-content {
    padding: 1.5rem;
}

.cottage-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.spec-item,
.spec-item-full {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 0.75rem;
}

.spec-item-accent {
    background: var(--orange-100);
}

.spec-item-full {
    margin-bottom: 1.25rem;
}

.spec-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.5rem;
}

.spec-item-accent .spec-label {
    color: var(--orange-600);
}

.spec-value {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--gray-900);
    font-weight: 500;
}

.cottage-features {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--orange-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-600);
}

/* Floor Plans */
.floor-plans {
    background: var(--white);
}

.floor-plans-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .floor-plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.floor-plan-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.floor-plan-card:hover {
    border-color: var(--orange-500);
    box-shadow: 0 20px 25px -5px rgba(255, 107, 53, 0.2);
}

.floor-plan-image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.floor-plan-card:hover .floor-plan-image {
    transform: scale(1.05);
}

.floor-plan-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}

.floor-plan-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.floor-plan-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--orange-600);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
}

.floor-plan-title {
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--white);
    font-weight: 500;
}

/* Quality Control, Location, Additional Buildings, Security, Architecture */
.quality-control,
.additional-buildings,
.architecture {
    background: linear-gradient(135deg, var(--orange-100) 0%, var(--white) 50%, var(--orange-100) 100%);
}

.location,
.building-quality,
.car-access,
.management {
    background: var(--white);
}

.security {
    background: linear-gradient(135deg, var(--orange-100) 0%, var(--white) 50%, var(--orange-100) 100%);
}

.quality-grid,
.location-grid,
.additional-grid,
.security-grid,
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .quality-grid,
    .location-grid,
    .additional-grid,
    .security-grid,
    .architecture-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-block {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-block:hover {
    transform: translateX(0.5rem);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
}

.feature-block:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-text h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    font-weight: 500;
}

.feature-text p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--gray-600);
}

.quality-image-wrapper,
.security-image-wrapper,
.additional-image-wrapper,
.architecture-image-wrapper {
    position: relative;
}

.quality-decoration,
.security-decoration,
.additional-decoration,
.architecture-decoration {
    position: absolute;
    width: 18rem;
    height: 18rem;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    filter: blur(80px);
}

.quality-decoration,
.additional-decoration,
.architecture-decoration {
    top: -2.5rem;
    right: -2.5rem;
}

.security-decoration {
    top: -2.5rem;
    left: -2.5rem;
}

.quality-image,
.security-image,
.additional-image,
.architecture-image {
    position: relative;
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s ease;
}

.company {
    object-fit: fill !important;
    height: 300px;
}


.quality-image:hover,
.security-image:hover,
.additional-image:hover,
.architecture-image:hover {
    transform: scale(1.02);
}

/* Location Map */
.location-map {
  position: relative;
  width: 100%;
  padding-top: 70%; /* соотношение сторон */
  border-radius: 1.5rem;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--gray-100);
}

#location-map {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}


/* Building Quality Cards */
.quality-cards,
.access-cards {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .quality-cards,
    .access-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.quality-card,
.access-card {
    position: relative;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: 1.5rem;
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.access-card {
    background: linear-gradient(135deg, var(--orange-100) 0%, var(--white) 100%);
    border-color: var(--orange-100);
}

.quality-card:hover,
.access-card:hover {
    border-color: var(--orange-500);
    box-shadow: 0 20px 25px -5px rgba(255, 107, 53, 0.2);
    transform: translateY(-0.5rem);
}

.quality-card::before,
.access-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quality-card:hover::before,
.access-card:hover::before {
    opacity: 0.1;
}

.quality-card-icon,
.access-card-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
}

.quality-card:hover .quality-card-icon,
.access-card:hover .access-card-icon {
    transform: scale(1.1) rotate(3deg);
}

.quality-card h3,
.access-card h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 500;
    position: relative;
}

.quality-card p,
.access-card p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--gray-600);
    position: relative;
}

/* Management Company */
.management-cards {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .management-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.management-card {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: 1.5rem;
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.management-card:hover {
    border-color: var(--orange-500);
    box-shadow: 0 20px 25px -5px rgba(255, 107, 53, 0.2);
    transform: translateY(-0.5rem);
}

.management-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.management-card:hover::before {
    opacity: 0.1;
}

.management-card-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.management-card:hover .management-card-icon {
    transform: scale(1.1);
}

.management-card h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--gray-900);
    font-weight: 500;
    position: relative;
}

.management-card p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    text-align: center;
    color: var(--gray-600);
    position: relative;
}

/* General Plan */
.general-plan {
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
}

.general-plan-wrapper {
    background: var(--white);

    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.general-plan-wrapper:hover {
    box-shadow: 0 25px 50px -12px rgba(255, 107, 53, 0.2);
}

.general-plan-image {
    width: 100%;
    height: 100%;
    object-fit:stretch;
    border-radius: 1rem;
}

/* Contacts */
.contacts {
    background: linear-gradient(135deg, var(--orange-100) 0%, var(--white) 50%, var(--orange-100) 100%);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .contacts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .contacts-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.contact-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--orange-500);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

.contact-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--gray-900);
    font-weight: 500;
}

.contact-info {
    text-align: center;
}

.contact-info a {
    display: block;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--orange-600);
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--orange-700);
}

.contact-info p {
    color: var(--gray-600);
    line-height: 1.75rem;
}

.contact-cta {
    text-align: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 50%, var(--gray-900) 100%);
    color: var(--white);
    padding: 4rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--orange-600), var(--orange-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-heading {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-text {
    color: var(--gray-400);
    line-height: 1.75rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contacts a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: var(--orange-500);
}

.footer-coordinates {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 0.75rem;
}

.footer-copyright {
    color: var(--gray-400);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    z-index: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    font-weight: 500;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--gray-900);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-buttons {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
}

.form-notice {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--gray-500);
    text-align: center;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gray-900);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #10B981;
}

.toast.error {
    background: #EF4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .phone-number {
        display: none;
    }

    .hero {
        height: 600px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-text h3 {
        font-size: 1.25rem;
    }

    .feature-text p {
        font-size: 1rem;
    }

    .quality-image,
    .security-image,
    .additional-image,
    .architecture-image {
        height: 400px;
    }

    
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .form-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 60px;
    }
}


/* Burger Menu Styles */
.burger-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 60;
}

.nav-menu {
    display: flex;
    align-items: center;
}

/* Планшеты и ноутбуки (768px - 1023px) - показываем бургер */
@media (min-width: 768px) and (max-width: 1023px) {
    .burger-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 50;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .location-switcher {
        flex-direction: column;
        background: none;
        box-shadow: none;
        padding: 1rem;
        width: 100%;
    }

    .location-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        font-size: 1.125rem;
        margin: 0.25rem 0;
    }
}

/* ПК (1024px+) - обычное отображение кнопок */
@media (min-width: 1024px) {
    .burger-menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        right: auto;
        height: auto;
        width: auto;
        background: none;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        box-shadow: none;
    }

    .location-switcher {
        display: flex !important;
        flex-direction: row;
        background: linear-gradient(to right, var(--gray-100), var(--gray-50));
        box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
        padding: 0.375rem;
        width: auto;
    }

    .location-btn {
        width: auto;
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
        margin: 0;
    }
}

/* Мобильные (до 767px) - бургер тоже показываем */
@media (max-width: 767px) {
    .burger-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 50;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .location-switcher {
        flex-direction: column;
        background: none;
        box-shadow: none;
        padding: 1rem;
        width: 100%;
    }

    .location-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        font-size: 1.125rem;
        margin: 0.25rem 0;
    }
}

/* Базовые стили для location-switcher */
.location-switcher {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(to right, var(--gray-100), var(--gray-50));
    border-radius: 0.75rem;
    padding: 0.375rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-btn.active {
    background: linear-gradient(to right, var(--orange-600), var(--orange-500));
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
    transform: scale(1.05);
}

.location-btn:hover:not(.active) {
    background: var(--white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (max-width: 480px) {
    .architecture-image-wrapper {
        padding: 0 5px;
    }

    .architecture-decoration {
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent);
    }

    .architecture-image {
        max-height: 200px;
        border-radius: 8px;
    }
}

/* Базовые стили для десктопа */
.architecture-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.architecture-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), transparent);
    z-index: 1;
}

.architecture-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    position: relative;
    z-index: 0;
}

/* Адаптивность для планшетов (до 768px) */
@media (max-width: 768px) {
    .architecture-image-wrapper {
        max-width: 100%;
        padding: 0 8px;
    }

    .architecture-decoration {
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), transparent);
    }

    .architecture-image {
        max-height: 250px;
        border-radius: 6px;
    }
}

/* Адаптивность для мобильных (до 480px) */
@media (max-width: 480px) {
    .architecture-image-wrapper {
        padding: 0 4px;
    }

    .architecture-decoration {
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent);
    }

    .architecture-image {
        max-height: 150px;
        border-radius: 4px;
    }
}