/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --success: #16a34a;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* ===== CONTAINER ===== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

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

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

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text-wrap {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 22px;
    font-weight: 300;
    color: var(--text);
    letter-spacing: -0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

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

.header-cta {
    padding: 8px 18px;
    font-size: 14px;
}

/* ===== HERO ===== */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
}

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

/* Badge card on photo */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge-card {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 150px;
}

.badge-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 6px;
}

.badge-rating {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.badge-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.mobile-br {
    display: none;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-trust {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
}

.promo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(220,38,38,0.35);
    animation: promo-pulse 2.5s ease-in-out infinite;
    min-width: 110px;
}

.promo-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.promo-price {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.promo-note {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 2px;
}

@keyframes promo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--border);
}

/* ===== SECTIONS COMMON ===== */
section {
    padding: 72px 0;
}

section:nth-child(even) {
    background: var(--bg-alt);
}

h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text);
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.service-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
    background: var(--border);
}

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

.service-body {
    padding: 20px 22px 24px;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== BENEFITS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: box-shadow var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== PROCESS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.process-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== REVIEWS ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}

.review-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.review-author strong {
    color: var(--text);
}

.review-author span {
    color: var(--text-light);
}

/* ===== FORM (modal) ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
}

.form-error {
    display: block;
    font-size: 13px;
    color: #ef4444;
    margin-top: 4px;
    min-height: 18px;
}

.form-privacy {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 14px;
    text-align: center;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 48px 0 24px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand .logo-sub {
    color: #94a3b8;
}

.footer-brand p {
    margin-top: 8px;
    font-size: 14px;
    max-width: 320px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar {
    display: none !important;
}

@media (max-width: 1024px) {
    .mobile-bottom-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: transparent;
        padding: 10px 16px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
        justify-content: center;
    }
}

.bottom-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.3px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}

.bottom-bar-btn svg {
    animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.bottom-bar-btn:hover,
.bottom-bar-btn:active {
    color: #fff;
    opacity: 0.9;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-form-content {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-form-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    padding-right: 32px;
}

.modal-sub {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 24px;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
}

.modal-close-btn:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.modal-content {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.modal-content h3 {
    margin: 16px 0 8px;
    font-size: 22px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        height: 56px;
    }

    .header-phone span {
        display: none;
    }

    .header-cta {
        padding: 8px 14px;
        font-size: 13px;
    }

    body {
        padding-bottom: 80px;
    }

    .hero {
        padding: 40px 0 56px;
    }

    .mobile-br {
        display: block;
    }

    .hero-image {
        margin-left: -20px;
        margin-right: -20px;
    }

    .hero-image img {
        border-radius: 0;
        box-shadow: none;
        max-width: none;
        width: 100%;
    }

    .hero-badge-card {
        bottom: 12px;
        right: 12px;
        padding: 10px 14px;
        min-width: 130px;
    }

    .badge-rating {
        font-size: 18px;
    }

    .badge-count {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-sub {
        font-size: 16px;
    }

    section {
        padding: 48px 0;
    }

    h2 {
        font-size: 26px;
    }

    .section-desc {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-info {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

}

/* Small mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-form-content {
        max-width: 100%;
        border-radius: var(--radius) var(--radius) 0 0;
        max-height: 92vh;
        padding: 24px 20px;
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
}
