*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0A6070; background: #fff; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.btn { display: inline-block; padding: 14px 32px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; border: none; border-radius: 4px; cursor: pointer; transition: all 0.25s; text-align: center; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: #0A6070; color: #fff; }
.btn-primary:hover { background: #084C5A; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(10,96,112,0.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #00BDE0; }
.btn-outline:hover { background: #fff; color: #00BDE0; }
.btn-white { background: #fff; color: #0A6070; }
.btn-white:hover { background: #E0F7FA; }

.header { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; padding: 18px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 28px; color: #fff; letter-spacing: 2px; line-height: 1; }
.logo span { color: #00BDE0; }
.header-nav { display: flex; gap: 32px; font-size: 14px; color: rgba(255,255,255,0.9); }
.header-nav a { font-weight: 500; }
.header-nav a:hover { color: #fff; }
.header-phone { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; color: #fff; white-space: nowrap; }
.header-phone:hover { color: #00BDE0; }
.header-btn { padding: 10px 22px; font-size: 13px; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; }

.hero { position: relative; background: url('/images/hero-house.jpg') center/cover no-repeat; min-height: 100vh; display: flex; align-items: center; padding-top: 110px; padding-bottom: 60px; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.65); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { color: #fff; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: #fff; }
.hero h1 span { color: #00BDE0; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 32px; line-height: 1.6; }
.hero-btn { font-size: 16px; padding: 16px 40px; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.7); }
.hero-badges span { display: flex; align-items: center; gap: 8px; }
.hero-badges .badge-icon { color: #00BDE0; font-weight: 700; font-size: 16px; }
.hero-stats { display: flex; flex-direction: column; gap: 24px; }
.hero-stat { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border-radius: 8px; padding: 24px; text-align: center; color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.hero-stat-number { font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 800; color: #00BDE0; }
.hero-stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

.section { padding: 90px 0; }
.section-gray { background: #F8F9FC; }
.section-white { background: #fff; }
.section-title { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.section-subtitle { text-align: center; color: #666; font-size: 16px; margin-bottom: 54px; max-width: 600px; margin-left: auto; margin-right: auto; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.service-card-img { height: 240px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-badge { position: absolute; top: 14px; left: 14px; background: #0A6070; color: #fff; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 4px; }
.service-card-body { padding: 22px 20px 24px; }
.service-card h3 { font-size: 18px; margin-bottom: 6px; }
.service-card-price { font-weight: 700; color: #00BDE0; font-size: 16px; margin-bottom: 10px; }
.service-card-desc { font-size: 13px; color: #666; margin-bottom: 14px; line-height: 1.6; }
.service-card-link { font-size: 14px; font-weight: 600; color: #00BDE0; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.service-card-link:hover { gap: 10px; }

.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.advantage-icon { width: 72px; height: 72px; margin: 0 auto 18px; background: #E0F7FA; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.advantage-icon svg { width: 34px; height: 34px; fill: #00BDE0; }
.advantage h4 { font-size: 16px; margin-bottom: 8px; }
.advantage p { font-size: 14px; color: #666; line-height: 1.5; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.portfolio-item { position: relative; border-radius: 8px; overflow: hidden; height: 300px; cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,0.8)); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; transition: background 0.3s; }
.portfolio-item:hover .portfolio-overlay { background: rgba(10,96,112,0.85); }
.portfolio-overlay h4 { font-size: 18px; margin-bottom: 4px; }
.portfolio-overlay p { font-size: 13px; opacity: 0.85; }
.portfolio-btn { text-align: center; }

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.step-number { width: 56px; height: 56px; background: #00BDE0; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; margin: 0 auto 16px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13px; color: #666; }

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.team-card img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid #E0F7FA; }
.team-card h4 { font-size: 16px; margin-bottom: 2px; }
.team-card .role { font-size: 12px; color: #00BDE0; font-weight: 600; margin-bottom: 4px; }
.team-card .exp { font-size: 12px; color: #888; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.review-stars { color: #FFB300; font-size: 16px; margin-bottom: 12px; letter-spacing: 3px; }
.review-card p { font-size: 14px; color: #444; margin-bottom: 14px; font-style: italic; line-height: 1.7; }
.review-author { font-weight: 600; font-size: 14px; }

.geo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.geo-card { background: #F8F9FC; border-radius: 8px; padding: 30px; border: 1px solid #E0F7FA; }
.geo-card h3 { font-size: 18px; margin-bottom: 8px; }
.geo-card .services-list { color: #00BDE0; font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.geo-card .cities { font-size: 13px; color: #666; line-height: 1.6; }

.contacts-section { background: #fff; padding: 90px 0; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contacts-info h3 { font-size: 24px; margin-bottom: 18px; }
.contact-phone { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 700; color: #00BDE0; display: block; margin-bottom: 8px; }
.contact-email { font-size: 16px; color: #0A6070; display: block; margin-bottom: 8px; }
.contact-address { font-size: 15px; color: #0A6070; margin-bottom: 4px; }
.contact-hours { font-size: 14px; color: #0A6070; margin-bottom: 22px; }
.map-block { border-radius: 8px; overflow: hidden; }

.cta { position: relative; background: url('/images/hero-house.jpg') center/cover no-repeat; padding: 80px 0; text-align: center; color: #fff; }
.cta::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.72); z-index: 1; }
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: 34px; margin-bottom: 12px; }
.cta p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.cta .btn { margin: 0 8px; }

.footer { background: #0F0F1A; color: #ccc; padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-brand { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 22px; color: #fff; letter-spacing: 1px; margin-bottom: 6px; }
.footer-brand span { color: #00BDE0; }
.footer p { margin-bottom: 6px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: #00BDE0; }
.footer-phone { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; color: #fff; }
.footer-rekvizity { font-size: 12px; color: #888; margin-top: 12px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid #0A6070; padding-top: 22px; text-align: center; font-size: 12px; color: #666; }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 9999; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: 8px; padding: 40px 30px 30px; max-width: 420px; width: 90%; text-align: center; position: relative; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 24px; cursor: pointer; color: #999; }
.modal-close:hover { color: #0A6070; }
.modal h3 { font-size: 20px; margin-bottom: 6px; }
.modal-subtitle { font-size: 14px; color: #777; margin-bottom: 22px; }
.modal .input-wrap { position: relative; margin-bottom: 14px; text-align: left; }
.modal input { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 15px; font-family: 'Inter', sans-serif; outline: none; transition: border 0.2s; }
.modal input:focus { border-color: #00BDE0; }
.suggestions { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #ddd; border-top: none; border-radius: 0 0 4px 4px; max-height: 200px; overflow-y: auto; z-index: 10; }
.suggestions.active { display: block; }
.suggestions div { padding: 10px 14px; cursor: pointer; font-size: 14px; }
.suggestions div:hover { background: #E0F7FA; }
.modal .btn { width: 100%; margin-top: 6px; }
.modal-privacy { font-size: 11px; color: #999; margin-top: 12px; }

.chat-btn { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; border-radius: 50%; background: #00BDE0; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; cursor: pointer; z-index: 9998; box-shadow: 0 4px 20px rgba(0,189,224,0.4); transition: transform 0.2s; border: none; }
.chat-btn:hover { transform: scale(1.08); }

.success-icon { font-size: 48px; margin-bottom: 12px; }

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .geo-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: row; gap: 16px; }
    .hero-stat { flex: 1; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero-stats { flex-direction: column; }
    .header-inner { flex-wrap: wrap; gap: 6px; align-items: center; }
    .header-logo-wrap { order: 1; }
    .burger { display: flex; order: 2; margin-left: auto; width: auto; }
    .header-phone-wrap { order: 3; width: 100%; }
    .header-phone { font-size: 16px; }
    .header-nav { display: none; }
    .header-btn { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .advantages-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
}
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 18px 20px; }
.card-body h3 { font-size: 17px; margin-bottom: 4px; }
.card-price { font-weight: 700; color: #00BDE0; font-size: 15px; margin-bottom: 8px; }
.card-desc { font-size: 13px; color: #666; margin-bottom: 12px; line-height: 1.5; }
.anchor-nav { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid #E0F7FA; margin-bottom: 48px; }
.anchor-nav a { font-weight: 600; font-size: 15px; color: #0A6070; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.anchor-nav a:hover { border-bottom-color: #00BDE0; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 18px 20px; }
.card-body h3 { font-size: 17px; margin-bottom: 4px; }
.card-price { font-weight: 700; color: #00BDE0; font-size: 15px; margin-bottom: 8px; }
.card-desc { font-size: 13px; color: #666; margin-bottom: 12px; line-height: 1.5; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table thead th { background: #0A6070; color: #fff; padding: 14px 20px; text-align: left; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody td { padding: 13px 20px; border-bottom: 1px solid #E0F7FA; }
.price-table tbody td:last-child { text-align: right; font-weight: 700; color: #00BDE0; white-space: nowrap; }
.price-table tbody tr:nth-child(even) { background: #F0FAFC; }
.price-table tbody tr:hover { background: #E0F7FA; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: 8px; overflow: hidden; }
.compare-table thead th { background: #0A6070; color: #fff; padding: 14px 16px; text-align: left; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.compare-table thead th:nth-child(2), .compare-table thead th:nth-child(3) { text-align: center; }
.compare-table tbody td { padding: 12px 16px; border-bottom: 1px solid #E0F7FA; text-align: left; }
.compare-table tbody td:first-child { text-align: left; font-weight: 600; }
.compare-table tbody tr:nth-child(even) { background: #F0FAFC; }
.compare-table .check { color: #2E7D32; }
.compare-table .cross { color: #C62828; }
.compare-table .warn { color: #F57F17; }
.faq-item { border-bottom: 1px solid #E0F7FA; }
.faq-question { width: 100%; text-align: left; padding: 18px 0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 16px; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #0A6070; }
.faq-question::after { content: '+'; font-size: 20px; color: #00BDE0; transition: transform 0.3s; }
.faq-question.active::after { content: '?'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 15px; color: #555; line-height: 1.6; }
.faq-answer.open { max-height: 300px; padding-bottom: 16px; }
.check { color: #00BDE0; font-weight: 700; }
@media (max-width: 1024px) { .cards-grid, .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .cards-grid, .cards-grid-4 { grid-template-columns: 1fr; } }.scroll-top {
    position: fixed; bottom: 28px; left: 28px;
    width: 44px; height: 44px; border-radius: 50%;
    background: #0A6070; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; z-index: 9998;
    opacity: 0; visibility: hidden; transition: all 0.3s;
    border: none; box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: #00BDE0; transform: translateY(-2px); }
