* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    line-height: 1.6;
    color: #1a2b3c;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Премиальные градиенты и тени */
:root {
    --primary: #0a2e5a;
    --primary-light: #1a4b8c;
    --primary-dark: #051a33;
    --accent: #c9a05e;
    --accent-light: #dbb47a;
    --accent-dark: #a67c3e;
    --text-dark: #1a2b3c;
    --text-light: #5a6b7c;
    --white: #ffffff;
    --light-bg: #faf9f7;
    --border-light: rgba(201, 160, 94, 0.2);
}

/* Шапка */
.header {
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 40px;
}

.phone {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.phone:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: width 0.3s;
}

.phone:hover:after {
    width: 100%;
}

.btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px -5px rgba(201, 160, 94, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(201, 160, 94, 0.4);
}

.btn-large {
    padding: 16px 48px;

    font-size: 18px;
    width: 100%;
}

/* Главный экран */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10,46,90,0.95) 0%, rgba(26,75,140,0.9) 100%),
                url('/static/images/hero-bg.jpg') center/cover fixed;
    color: var(--white);
    display: flex;
    align-items: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 1s;
}

.hero-free {
    font-size: 36px;
    margin-bottom: 60px;
    font-weight: 300;
    animation: fadeInUp 1s 0.2s both;
}

.highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(201,160,94,0.3);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    animation: fadeInUp 1s 0.4s both;
}

.hero-feature {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.hero-feature:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    border-color: var(--accent);
}

.hero-feature h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--accent);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* О компании */
.about {
    padding: 120px 0;
    background: var(--light-bg);
    position: relative;
}

.about:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.about h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 3px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.about-text:before {
    content: '"';
    position: absolute;
    top: -50px;
    right: 20px;
    font-size: 300px;
    color: rgba(201,160,94,0.05);
    font-family: serif;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

/* Блок с фото директора */
.director-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px;
    border-radius: 30px;
    color: var(--white);
    box-shadow: 0 30px 60px rgba(10,46,90,0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.director-card:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.director-card:after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,160,94,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.director-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.director-name {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.director-name h3 {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 600;
}

.director-name p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Статистика */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(201,160,94,0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Преимущества список */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.advantage-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.advantage-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(201,160,94,0.1);
    border-color: var(--accent);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.advantage-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Проекты */
.projects {
    padding: 120px 0;
    background: var(--white);
}

.projects h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.projects-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 1/1.2;
    cursor: pointer;
}

.project-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 16/9;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,46,90,0.95) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-info {
    opacity: 1;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s;
}

.project-card:hover .project-info h3 {
    transform: translateY(0);
}

.project-info p {
    font-size: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s 0.1s;
}

.project-card:hover .project-info p {
    opacity: 0.9;
    transform: translateY(0);
}

/* Нумерованные преимущества */
.numbered-advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.numbered-advantages:before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,160,94,0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    border-radius: 50%;
}

.numbered-advantages .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    position: relative;
    z-index: 2;
}

.numbered-adv {
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.numbered-adv:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
}

.adv-number {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    display: inline-block;
}

.numbered-adv h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.numbered-adv p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

/* Тарифы - новое оформление в виде карточек-плашек */
.tariffs {
    padding: 120px 0;
    background: var(--light-bg);
}

.tariffs h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.tariffs-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tariff-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(201,160,94,0.2);
    border-color: var(--accent);
}

.tariff-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.tariff-card:hover:before {
    transform: scaleX(1);
}

.tariff-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-light);
}

.tariff-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.tariff-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(201, 160, 94, 0.1);
    border-radius: 50px;
}

.tariff-price small {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

.tariff-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

.tariff-features-preview {
    margin: 20px 0;
    flex-grow: 1;
}

.tariff-features-preview ul {
    list-style: none;
}

.tariff-features-preview li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.tariff-features-preview li:last-child {
    border-bottom: none;
}

.tariff-features-preview li:before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 16px;
}

.tariff-more {
    text-align: center;
    margin-top: auto;
    padding-top: 15px;
}

.tariff-more span {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px dashed var(--accent);
    padding-bottom: 2px;
}

/* Модальное окно для тарифов */
.tariff-detail-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.tariff-detail-content {
    background: var(--white);
    margin: 50px auto;
    padding: 50px;
    width: 90%;
    max-width: 700px;
    border-radius: 40px;
    position: relative;
    animation: modalFadeIn 0.4s;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3);
}

.tariff-detail-close {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-bg);
}

.tariff-detail-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
    background: rgba(201,160,94,0.1);
}

.tariff-detail-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}

.tariff-detail-header h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.tariff-detail-price {
    font-size: 40px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 5px;
}

.tariff-detail-description {
    color: var(--text-light);
    font-size: 18px;
}

.tariff-detail-features {
    margin: 30px 0;
}

.tariff-detail-features h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
}

.tariff-detail-features ul {
    list-style: none;
}

.tariff-detail-features li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
}

.tariff-detail-features li:before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 20px;
}

.tariff-detail-footer {
    text-align: center;
    margin-top: 40px;
}

/* FAQ */
.faq {
    padding: 120px 0;
    background: var(--white);
}

.faq h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.faq-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(201,160,94,0.05);
}

.faq-question.active {
    background: var(--accent);
    color: var(--white);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    font-size: 14px;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
}

.faq-answer {
    padding: 0 25px;
    color: var(--text-light);
    line-height: 1.8;
    border-top: 1px solid transparent;
}

.faq-answer.show {
    padding: 25px;
    border-top-color: var(--border-light);
}

/* Предупреждение */
.warning {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c1e1e 0%, #3d2a2a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.warning:before {
    content: '⚠';
    position: absolute;
    bottom: -100px;
    right: -100px;
    font-size: 400px;
    opacity: 0.05;
    color: var(--accent);
}

.warning h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.warning-text {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 50px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.warning-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.warning-item {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: all 0.3s;
}

.warning-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.warning-alert {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    font-size: 20px;
    margin: 50px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(201,160,94,0.3);
}

.warning-cta {
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.05);
    padding: 60px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.warning-cta h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--accent);
}

.warning-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Форма */
.footer-form {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-form:before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -250px;
    left: -250px;
    border-radius: 50%;
}

.footer-form h2 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.footer-form p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.callback-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.callback-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

.callback-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.callback-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.15);
}

/* Подвал */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

.footer-contacts {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.footer-phone {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent);
    line-height: 1.2;
}

.footer-email {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Модальное окно для заявок */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--white);
    margin: 100px auto;
    padding: 60px;
    width: 90%;
    max-width: 600px;
    border-radius: 40px;
    position: relative;
    animation: modalFadeIn 0.5s;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-bg);
}

.close:hover {
    color: var(--accent);
    transform: rotate(90deg);
    background: rgba(201,160,94,0.1);
}

.modal-content h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbered-advantages .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contacts {
        text-align: center;
        align-items: center;
    }

    .footer-info p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .header-contacts {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .header .btn {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-free {
        font-size: 24px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1/1.2;
    }

    .numbered-advantages .container {
        grid-template-columns: 1fr;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
    }

    .warning-items {
        grid-template-columns: 1fr;
    }

    .callback-form {
        flex-direction: column;
    }

    .modal-content {
        margin: 50px auto;
        padding: 40px 20px;
    }

    .tariff-detail-content {
        margin: 20px auto;
        padding: 30px 20px;
    }
}

/* Скрываем номер телефона на мобильных устройствах */
@media (max-width: 576px) {
    .phone {
        display: none;
    }

    .header .btn {
        width: 100%;
        font-size: 14px;
        padding: 12px 20px;
    }

    .footer-phone {
        font-size: 24px;
    }

    .hero h1 {
        margin-top: 120px;
    }

    .btn-large {
        padding: 16px 28px;

        font-size: 16px;
    }
}