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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 16px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.7;
    opacity: 0.95;
}

section {
    padding: 64px 0;
}

h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2 {
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

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

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

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

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.services-preview {
    background-color: var(--bg-light);
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 48px;
}

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

.service-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
}

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

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

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .btn {
    margin-top: 16px;
}

.about-visual {
    flex: 1;
    min-width: 300px;
}

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

.testimonials h2 {
    text-align: center;
    margin-bottom: 48px;
}

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

.testimonial-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: var(--white);
    opacity: 0.95;
    font-size: 18px;
    margin-bottom: 32px;
}

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

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
}

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

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

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.page-header {
    background-color: var(--bg-light);
    padding: 64px 0 48px;
    text-align: center;
}

.subtitle {
    font-size: 20px;
    color: var(--text-light);
}

.about-story {
    max-width: 900px;
    margin: 0 auto;
}

.story-content p {
    font-size: 18px;
    line-height: 1.8;
}

.values {
    background-color: var(--bg-light);
}

.values h2 {
    text-align: center;
    margin-bottom: 48px;
}

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

.value-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    padding: 32px;
    border-radius: 8px;
    text-align: center;
}

.value-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.team {
    max-width: 1000px;
    margin: 0 auto;
}

.team-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.team-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.member-placeholder {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.team-member h3 {
    color: var(--text-color);
    margin-bottom: 8px;
}

.services-detail {
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
    min-width: 300px;
}

.service-content h2 {
    margin-bottom: 16px;
}

.service-content p {
    font-size: 18px;
    line-height: 1.7;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 20px;
}

.service-visual {
    flex: 1;
    min-width: 300px;
}

.service-note {
    background-color: var(--bg-light);
    padding: 48px;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    margin: 48px auto 0;
}

.service-note h2 {
    margin-bottom: 16px;
}

.service-note p {
    font-size: 18px;
    margin-bottom: 24px;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    margin-bottom: 48px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

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

.contact-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-visual {
    flex: 1;
    min-width: 300px;
}

.contact-note {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.contact-note h3 {
    margin-bottom: 16px;
}

.contact-note p {
    font-size: 16px;
    line-height: 1.7;
}

.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
}

.thank-you-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.thank-you-content h1 {
    color: var(--primary-color);
    margin-bottom: 24px;
}

.thank-you-text {
    font-size: 18px;
    margin-bottom: 24px;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 20px;
}

.legal-intro {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 32px;
    color: var(--text-color);
}

.legal-content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 28px;
}

.legal-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 22px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
    margin-left: 32px;
    margin-bottom: 16px;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--text-light);
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.legal-update {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-light);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-color);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
    color: var(--white);
    font-size: 14px;
}

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

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    margin-bottom: 24px;
}

.cookie-option {
    margin-bottom: 24px;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: 6px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-option input[type="checkbox"] {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-description {
    font-size: 14px;
    margin-top: 8px;
    margin-left: 32px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

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

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    section {
        padding: 48px 0;
    }

    .services-grid,
    .testimonials-grid,
    .values-grid,
    .team-grid {
        gap: 24px;
    }

    .service-card,
    .testimonial-card,
    .value-card,
    .team-member {
        min-width: 100%;
    }

    .about-content {
        gap: 32px;
    }

    .contact-grid {
        gap: 40px;
    }

    .service-item {
        gap: 32px;
        margin-bottom: 48px;
        padding-bottom: 48px;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-note {
        padding: 32px 24px;
    }

    .footer-content {
        gap: 32px;
    }

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

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .modal-content {
        padding: 24px;
    }

    .modal-buttons {
        justify-content: stretch;
    }

    .modal-buttons .btn {
        flex: 1;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }
}

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

    .hero {
        padding: 60px 0;
    }

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

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

    .service-card,
    .testimonial-card,
    .value-card {
        padding: 24px;
    }

    .service-price {
        font-size: 20px;
    }
}