:root {
    --primary: #1a3a5c;
    --secondary: #2d6a9f;
    --accent: #e8a430;
    --light: #f7f9fc;
    --dark: #0f2439;
    --text: #2c3e50;
    --text-light: #6b7c93;
    --white: #ffffff;
    --border: #d4dce6;
    --success: #27ae60;
    --shadow: 0 4px 24px rgba(26, 58, 92, 0.12);
    --shadow-lg: 0 12px 48px rgba(26, 58, 92, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    font-size: 16px;
}

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

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1400px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #d4941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--dark);
}

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

.btn-secondary:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.1rem;
}

section {
    padding: 80px 0;
}

.section-light {
    background: var(--light);
}

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

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
}

.section-gradient h2,
.section-gradient h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header p {
    margin-top: 16px;
    color: var(--text-light);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-header p,
.section-gradient .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.hero {
    padding: 160px 0 100px;
    background: linear-gradient(160deg, var(--light) 0%, var(--white) 50%, #e8f0f8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(45, 106, 159, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 520px;
}

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

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent);
    color: var(--dark);
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.features-row {
    display: flex;
    gap: 32px;
    margin-top: 48px;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

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

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.service-card {
    flex: 1 1 calc(33.333% - 22px);
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.service-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 64px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

.process-steps {
    display: flex;
    gap: 32px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: var(--border);
}

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

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.process-step h4 {
    margin-bottom: 12px;
}

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

.testimonials-slider {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 16px 0;
}

.testimonial-card {
    flex: 0 0 calc(50% - 16px);
    min-width: 320px;
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(45, 106, 159, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-submit {
    margin-top: 32px;
}

.form-submit .btn {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 64px 0 24px;
}

.footer-content {
    display: flex;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand {
    flex: 1.5;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links {
    flex: 1;
}

.footer-links h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--accent);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    flex: 1;
}

.cookie-content a {
    color: var(--accent);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--accent);
    color: var(--dark);
}

.cookie-accept:hover {
    background: #d4941f;
}

.cookie-reject {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cookie-reject:hover {
    border-color: var(--white);
}

.sticky-cta {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta .btn {
    box-shadow: var(--shadow-lg);
    border-radius: 50px;
    padding: 16px 28px;
}

.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.legal-content {
    padding: 80px 0;
}

.legal-content h2 {
    margin-top: 48px;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text);
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text);
}

.thanks-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(160deg, var(--light), var(--white));
}

.thanks-card {
    background: var(--white);
    border-radius: 16px;
    padding: 64px;
    text-align: center;
    max-width: 560px;
    box-shadow: var(--shadow-lg);
}

.thanks-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, var(--success), #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.thanks-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--white);
}

.thanks-card h1 {
    margin-bottom: 16px;
    font-size: 2rem;
}

.thanks-card p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.team-card {
    flex: 1 1 calc(25% - 24px);
    min-width: 240px;
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 600;
}

.team-card h4 {
    margin-bottom: 4px;
}

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

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.value-card {
    flex: 1 1 calc(33.333% - 22px);
    min-width: 280px;
    padding: 32px;
    border-left: 4px solid var(--accent);
    background: var(--white);
}

.value-card h4 {
    margin-bottom: 12px;
    color: var(--primary);
}

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

.split-section {
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.split-content {
    flex: 1;
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.faq-question span {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-question.active span {
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding: 0 0 24px;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-steps::before {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .split-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
    }

    nav.active {
        right: 0;
    }

    nav a {
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

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

    .features-row {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .stats-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 calc(50% - 20px);
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-card {
        flex: 1 1 calc(50% - 16px);
    }

    .form-container {
        padding: 32px 24px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-badge {
        position: static;
        margin-top: 24px;
        display: inline-block;
    }

    .team-card {
        flex: 1 1 100%;
    }

    .value-card {
        flex: 1 1 100%;
    }
}
