* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefefe;
    color: #1A1E2B;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0F2B3D, #1B4F6E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.logo span {
    color: #2C7DA0;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: #2C3E4E;
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #1F7B9C;
}

.nav-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    text-decoration: none;
    font-weight: 600;
    color: #1C6E8F;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-link:hover {
    color: #0F5775;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid #2C7DA0;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    color: #1F5E7A;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-outline-light:hover {
    background: #2C7DA0;
    color: white;
}

/* hero */
.hero {
    padding: 80px 0 70px;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    display: inline-block;
    background: #E9F2F5;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1B5E7A;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #0A1C2A;
}

.hero-highlight {
    background: linear-gradient(120deg, #DCF2F9 0%, #DCF2F9 40%, transparent 60%);
    padding: 0 6px;
}

.hero-desc {
    font-size: 1.2rem;
    color: #3A4E62;
    max-width: 550px;
    margin-bottom: 32px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 24px;
}

.tech-badge {
    background: #F0F4F8;
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1F4E6E;
}

.tech-badge i {
    font-size: 1rem;
}

.btn-primary {
    background: #1C6E8F;
    border: none;
    padding: 14px 32px;
    border-radius: 48px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 8px 18px rgba(28, 110, 143, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary:hover {
    background: #0F5775;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(28, 110, 143, 0.25);
}

.hero-stats {
    flex: 0.8;
    background: #ffffffd9;
    backdrop-filter: blur(4px);
    border-radius: 48px;
    padding: 28px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(44, 125, 160, 0.15);
}

.stat-item {
    margin-bottom: 28px;
}

.stat-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1B5E7A;
}

.stat-desc {
    font-weight: 500;
    margin-top: 6px;
}

hr {
    margin: 20px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, #C0D9E5, transparent);
}

/* section titles */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 1.1rem;
    color: #5A6F7E;
    max-width: 680px;
    margin-bottom: 48px;
}

/* pricing cards */
.pricing {
    padding: 60px 0;
    background: #F9FCFE;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.price-card {
    background: white;
    border-radius: 40px;
    padding: 32px 28px;
    flex: 1;
    min-width: 260px;
    transition: all 0.25s ease;
    border: 1px solid #E2EDF2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: #BEDAE5;
    box-shadow: 0 24px 36px -12px rgba(28, 110, 143, 0.12);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1C6E8F;
    margin: 20px 0 8px;
}

.price small {
    font-size: 1rem;
    font-weight: 500;
    color: #5F7F92;
}

.feature-list {
    margin: 24px 0;
    list-style: none;
}

.feature-list li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: #2C7DA0;
    width: 22px;
}

.card-btn {
    width: 100%;
    background: white;
    border: 1.5px solid #2C7DA0;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    color: #1C6E8F;
    transition: 0.2s;
    cursor: pointer;
    margin-top: 12px;
}

.card-btn:hover {
    background: #1C6E8F;
    color: white;
}

/* Portfolio Section */
.portfolio {
    padding: 60px 0;
    background: #F9FCFE;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.portfolio-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    background: linear-gradient(135deg, #1C6E8F, #0F5775);
    padding: 40px;
    text-align: center;
}

.portfolio-image i {
    font-size: 4rem;
    color: white;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1A1E2B;
}

.portfolio-info p {
    color: #5A6F7E;
    line-height: 1.6;
    margin-bottom: 16px;
}

.portfolio-tech {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: #E9F2F5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #1C6E8F;
    font-weight: 500;
}

/* Reviews Section */
.reviews {
    padding: 60px 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.review-card {
    background: #F9FCFE;
    border-radius: 24px;
    padding: 28px;
    transition: transform 0.3s ease;
    border: 1px solid #E2EDF2;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.review-avatar i {
    font-size: 3rem;
    color: #2C7DA0;
}

.review-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1A1E2B;
}

.review-info p {
    font-size: 0.85rem;
    color: #5A6F7E;
}

.review-rating {
    margin-left: auto;
    color: #FFB800;
}

.review-text {
    color: #2C3E4E;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-date {
    font-size: 0.8rem;
    color: #8BA0AE;
}

/* tech showcase */
.tech-showcase {
    padding: 60px 0;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin-top: 28px;
}

.tech-icon-item {
    background: white;
    border-radius: 60px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #E6F0F4;
}

.tech-icon-item i {
    font-size: 1.8rem;
    color: #2C7DA0;
}

/* cta */
.cta {
    background: linear-gradient(110deg, #0F2B38, #103f50);
    border-radius: 48px;
    padding: 56px 48px;
    margin: 40px 0 70px;
    color: white;
    text-align: center;
}

.cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta p {
    opacity: 0.85;
    margin-bottom: 28px;
    font-size: 1.1rem;
}

.cta-button {
    background: white;
    color: #1A5E7C;
    border: none;
    padding: 14px 36px;
    border-radius: 48px;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.2s;
    cursor: pointer;
}

.cta-button:hover {
    transform: scale(1.02);
    background: #F0F9FF;
}

/* Footer with Map */
.footer {
    background: #0A1C2A;
    color: white;
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-info .logo {
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-info p {
    color: #8BA0AE;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-contacts-list a,
.footer-address {
    color: #B0C4DE;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.footer-contacts-list a:hover {
    color: #2C7DA0;
}

.footer-address {
    color: #B0C4DE;
}

.footer .social {
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer .social a {
    color: #B0C4DE;
    font-size: 1.35rem;
    transition: color 0.2s;
}

.footer .social a:hover {
    color: #2C7DA0;
}

.footer-map {
    background: #1A2F3E;
    border-radius: 20px;
    overflow: hidden;
    min-height: 250px;
}

.footer-bottom {
    border-top: 1px solid #1E3A4A;
    padding-top: 24px;
    text-align: center;
}

.footer-copy {
    color: #6C8EA0;
    font-size: 0.9rem;
}

/* modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-card {
    background: white;
    max-width: 450px;
    width: 90%;
    padding: 32px;
    border-radius: 40px;
    box-shadow: 0 30px 40px rgba(0,0,0,0.2);
    position: relative;
}

.modal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.modal-card input, .modal-card select {
    width: 100%;
    padding: 14px 18px;
    margin: 12px 0;
    border: 1px solid #CBDDE6;
    border-radius: 32px;
    font-family: inherit;
    font-size: 1rem;
}

.modal-card button {
    background: #1C6E8F;
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.modal-card button:hover {
    background: #0F5775;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.6rem;
    cursor: pointer;
    color: #8BA0AE;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #1C6E8F;
}

/* responsive */
@media (max-width: 800px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-contacts {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-grid {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
    }
    
    .review-rating {
        margin-left: 0;
    }
    
    .footer-map {
        min-height: 250px;
    }
}

/* hourly block */
.hourly-block {
    margin-top: 60px;
    background: linear-gradient(135deg, #F0F7FA 0%, #FFFFFF 100%);
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #D9E9F0;
}

.hourly-badge {
    display: inline-block;
    background: #2C7DA0;
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hourly-badge i {
    margin-right: 8px;
}

.hourly-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.hourly-info {
    flex: 1.2;
}

.hourly-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A2C3E;
}

.hourly-info p {
    color: #5A6F7E;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
}

.hourly-rate {
    margin: 24px 0;
}

.rate-price {
    font-size: 2rem;
    font-weight: 800;
    color: #1C6E8F;
}

.rate-note {
    font-size: 0.85rem;
    color: #8BA0AE;
    margin-left: 12px;
}

.hourly-btn {
    background: transparent;
    border: 1.5px solid #2C7DA0;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    color: #1C6E8F;
    cursor: pointer;
    transition: all 0.2s;
}

.hourly-btn:hover {
    background: #2C7DA0;
    color: white;
}

.hourly-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.hourly-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2C3E4E;
    font-weight: 500;
}

.hourly-features i {
    color: #2C7DA0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hourly-block {
        padding: 28px;
    }
    .hourly-info h3 {
        font-size: 1.5rem;
    }
    .rate-price {
        font-size: 1.6rem;
    }
}
.cta-button-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 36px;
    border-radius: 48px;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.2s;
    cursor: pointer;
}

.cta-button-outline:hover {
    background: white;
    color: #1A5E7C;
}