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

:root {
    --primary-color: #1a4d7a;
    --secondary-color: #2d7ab8;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

.ad-notice {
    background-color: var(--accent-color);
    color: var(--bg-white);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
}

.main-nav {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 80px 24px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-image {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.intro-section {
    padding: 80px 24px;
    background-color: var(--bg-white);
}

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.intro-section h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.intro-section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.services-grid {
    padding: 80px 24px;
    background-color: var(--bg-light);
}

.services-grid h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    flex: 0 1 calc(33.333% - 24px);
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

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

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.price-tag {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.cta-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.cta-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.3);
}

.cta-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.select-service {
    width: 100%;
}

.form-section {
    padding: 80px 24px;
    background-color: var(--bg-white);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.form-wrapper h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary-color);
    text-align: center;
}

.form-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group input[readonly] {
    background-color: var(--bg-light);
    cursor: not-allowed;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
}

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

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.trust-section {
    padding: 80px 24px;
    background-color: var(--bg-light);
}

.trust-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--primary-color);
}

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

.trust-item {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.trust-item h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.trust-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.disclaimer-section {
    padding: 60px 24px;
    background-color: var(--bg-white);
}

.disclaimer-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    padding: 24px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
}

.main-footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 24px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 10000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

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

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: var(--success-color);
    color: var(--bg-white);
}

.cookie-btn.accept:hover {
    background-color: #229954;
}

.cookie-btn.reject {
    background-color: var(--text-light);
    color: var(--bg-white);
}

.cookie-btn.reject:hover {
    background-color: #6c7a7d;
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 80px 24px;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-hero .lead {
    font-size: 22px;
    opacity: 0.95;
}

.about-content {
    padding: 80px 24px;
    background-color: var(--bg-white);
}

.about-layout {
    display: flex;
    gap: 48px;
}

.about-main {
    flex: 2;
    min-width: 0;
}

.about-main h2 {
    font-size: 32px;
    margin: 48px 0 24px 0;
    color: var(--primary-color);
}

.about-main h2:first-child {
    margin-top: 0;
}

.about-main p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image-section {
    margin: 48px 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.about-image-section img {
    width: 100%;
    height: auto;
    display: block;
}

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

.sidebar-card {
    background-color: var(--bg-light);
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--card-shadow);
}

.sidebar-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.sidebar-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.expertise-list li:last-child {
    border-bottom: none;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
}

.cta-card h3 {
    color: var(--bg-white);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-card .cta-primary {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    width: 100%;
    margin-top: 16px;
}

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

.services-detail {
    padding: 80px 24px;
    background-color: var(--bg-white);
}

.service-detail-card {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
    background-color: var(--bg-light);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.service-detail-card.reverse {
    flex-direction: row-reverse;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.service-detail-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-detail-content h3 {
    font-size: 22px;
    margin: 32px 0 16px 0;
    color: var(--text-dark);
}

.price-display {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-dark);
}

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

.service-detail-image {
    flex: 0 0 400px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--border-color);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.services-cta {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: var(--bg-white);
}

.services-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.services-cta p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.services-cta .cta-primary {
    background-color: var(--bg-white);
    color: var(--secondary-color);
}

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

.contact-section {
    padding: 80px 24px;
    background-color: var(--bg-white);
}

.contact-layout {
    display: flex;
    gap: 48px;
}

.contact-info-main {
    flex: 2;
}

.contact-info-main h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.contact-info-main > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.contact-item {
    background-color: var(--bg-light);
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.contact-value {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-note {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.contact-notice {
    background-color: var(--bg-light);
    padding: 28px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin-top: 32px;
}

.contact-notice h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.contact-notice p {
    color: var(--text-dark);
    line-height: 1.8;
}

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

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

.faq-item {
    margin-bottom: 20px;
}

.faq-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-light);
}

.thanks-section {
    padding: 120px 24px;
    background-color: var(--bg-white);
    text-align: center;
}

.thanks-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.thanks-message {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.thanks-info {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.thanks-info p {
    font-size: 18px;
    color: var(--text-dark);
}

.thanks-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-page {
    padding: 60px 24px;
    background-color: var(--bg-white);
}

.legal-page h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 48px 0 20px 0;
}

.legal-page h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin: 32px 0 16px 0;
}

.legal-page h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 24px 0 12px 0;
}

.legal-page p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-page ul {
    margin: 20px 0 20px 40px;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-page li {
    margin-bottom: 12px;
}

.legal-page a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.update-date {
    margin-top: 60px;
    font-style: italic;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        padding: 24px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }

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

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

    .about-sidebar {
        width: 100%;
    }

    .service-detail-card {
        flex-direction: column;
        padding: 32px 24px;
    }

    .service-detail-card.reverse {
        flex-direction: column;
    }

    .service-detail-image {
        flex: 1;
        width: 100%;
    }

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

    .contact-sidebar {
        width: 100%;
    }

    .trust-item {
        flex: 1 1 100%;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

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