:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #3182ce;
    --light: #ebf8ff;
    --dark: #1a202c;
    --gray: #718096;
    --white: #ffffff;
    --bg-alt: #f7fafc;
    --border: #e2e8f0;
    --success: #38a169;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
}

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

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

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

.ad-disclosure {
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 8px 15px;
    font-size: 12px;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

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

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

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

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 60px 0;
}

.hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

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

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

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

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

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

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

.section-header p {
    color: var(--gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

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

.intro-block {
    display: flex;
    gap: 60px;
    align-items: center;
}

.intro-block.reverse {
    flex-direction: row-reverse;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.intro-text p {
    color: var(--gray);
    margin-bottom: 20px;
}

.intro-image {
    flex: 1;
    background-color: var(--border);
    border-radius: 12px;
    overflow: hidden;
    min-height: 350px;
}

.intro-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

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

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

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

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 15px;
}

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

.service-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.benefit-item {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.benefit-item p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-member {
    flex: 1 1 280px;
    max-width: 350px;
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--border);
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
}

.team-member h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-member p {
    color: var(--gray);
    font-size: 14px;
}

.testimonials {
    padding: 80px 0;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    flex: 0 0 400px;
    background-color: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    scroll-snap-align: start;
}

.testimonial-card p {
    color: var(--dark);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--border);
}

.author-info h4 {
    color: var(--primary);
    font-size: 16px;
}

.author-info span {
    color: var(--gray);
    font-size: 14px;
}

.stats-section {
    background-color: var(--secondary);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item .number {
    font-size: 48px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 16px;
    opacity: 0.9;
}

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

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

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    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: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

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

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.contact-info-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-main {
    flex: 2;
    min-width: 300px;
}

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

.info-card {
    background-color: var(--bg-alt);
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 25px;
}

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

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
    flex-shrink: 0;
}

.info-item div {
    color: var(--gray);
}

.info-item strong {
    color: var(--dark);
    display: block;
    margin-bottom: 3px;
}

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

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

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

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

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

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    font-size: 14px;
}

.cookie-content p a {
    color: var(--accent);
    text-decoration: underline;
}

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

.cookie-buttons button {
    padding: 10px 25px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

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

.cookie-accept:hover {
    background-color: var(--secondary);
}

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

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

.page-header {
    background-color: var(--primary);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}

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

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

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

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    color: var(--gray);
    margin-bottom: 15px;
}

.content-section ul {
    color: var(--gray);
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-section ul li {
    margin-bottom: 10px;
}

.thanks-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

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

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

.thanks-content p {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 30px;
}

.disclaimer {
    background-color: var(--bg-alt);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    border-left: 4px solid var(--accent);
}

.disclaimer p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

.references {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.references h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
}

.references ol {
    color: var(--gray);
    font-size: 14px;
    margin-left: 20px;
}

.references ol li {
    margin-bottom: 10px;
}

.references a {
    color: var(--accent);
    word-break: break-all;
}

@media (max-width: 992px) {
    .intro-block {
        flex-direction: column;
    }

    .intro-block.reverse {
        flex-direction: column;
    }

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

    .service-card {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    nav ul li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        min-height: 60vh;
    }

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

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .form-container {
        padding: 30px 20px;
    }

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

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

    .footer-links {
        justify-content: center;
    }

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

    .stat-item .number {
        font-size: 36px;
    }
}
