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

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg-white: #fff;
    --bg-gray: #f5f5f5;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

.header-phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.header-phone:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-form {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--text);
    box-shadow: var(--shadow);
}

.hero-form h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hero-form > p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-form input,
.hero-form select {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.hero-form input:focus,
.hero-form select:focus {
    border-color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Checkbox */
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-white {
    background: var(--bg-white);
}

.section-gray {
    background: var(--bg-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* What is PF */
.what-pf {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: var(--radius);
}

.what-pf h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.what-pf p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cards-grid.cards-4 {
    grid-template-columns: repeat(4, 1fr);
}

.cards-grid.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-bordered {
    border: 1px solid var(--border);
    box-shadow: none;
}

.card-bordered:hover {
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-icon-top .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-box > p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.cta-form input,
.cta-form select {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    min-width: 200px;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.step:hover {
    background: white;
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.pricing-card .btn {
    width: 100%;
}

/* Note */
.note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.review-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.review-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.review-card:hover img {
    transform: scale(1.05);
}

.review-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* Order Form */
.section-order {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
}

.section-order .section-title {
    color: white;
    margin-bottom: 2rem;
}

.order-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-form input,
.order-form select {
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.order-form .btn {
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

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

.footer h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.footer-contacts p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-messengers {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.messenger-link {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.messenger-link.tg {
    background: #0088cc;
}

.messenger-link.wa {
    background: #25d366;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-grid,
    .cards-grid.cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
        gap: 10px;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cards-grid,
    .cards-grid.cards-3,
    .cards-grid.cards-4 {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-messengers {
        justify-content: center;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-form input,
    .cta-form select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
