:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #ed8936;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #48bb78;
}

* {
    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(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

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

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.ad-disclosure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ad-disclosure::before {
    content: "ⓘ";
    font-weight: bold;
}

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

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

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

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

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

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 {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 60px 0;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
}

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

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

.btn-primary:hover {
    background: #dd6b20;
    transform: translateY(-2px);
}

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.editorial-block {
    margin-bottom: 50px;
}

.editorial-block h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.editorial-block h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.editorial-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.editorial-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.editorial-image img {
    width: 100%;
    display: block;
}

.editorial-image figcaption {
    padding: 12px 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-light);
}

.inline-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.inline-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.inline-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.split-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

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

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

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

.service-image {
    height: 200px;
    background-color: var(--bg-light);
    overflow: hidden;
}

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

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

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

.testimonial {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
}

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

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-light);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info strong {
    display: block;
    color: var(--primary);
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.benefit-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

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

.form-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
}

.form-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.form-info {
    flex: 1;
    color: var(--white);
}

.form-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-info p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-benefits li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-wrapper h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary);
    text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    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-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit:hover {
    background: #dd6b20;
}

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

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-details p {
    color: var(--text-light);
}

.contact-form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-intro {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    flex: 1.2;
}

.about-image {
    flex: 1;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

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

.team-member {
    flex: 1 1 calc(25% - 23px);
    min-width: 200px;
    text-align: center;
}

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

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

.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

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

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

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

.footer-col {
    flex: 1;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

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

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

.footer-col p {
    color: #a0aec0;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding: 25px 0;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.disclaimer {
    background: #2d3748;
    padding: 30px 0;
    font-size: 0.85rem;
    color: #a0aec0;
    line-height: 1.8;
}

.disclaimer p {
    margin-bottom: 10px;
}

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

.legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--secondary);
}

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

.legal-content ul {
    margin: 15px 0 15px 30px;
    list-style: disc;
}

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

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

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

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

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

.cookie-text p {
    margin-bottom: 5px;
}

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

.cookie-text a:hover {
    text-decoration: underline;
}

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

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

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

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

.cookie-reject {
    background: transparent;
    border: 2px solid #718096;
    color: #718096;
}

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

.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

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

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

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.reference-link {
    color: var(--accent);
    font-weight: 500;
}

.reference-link:hover {
    text-decoration: underline;
}

.references-section {
    background: var(--bg-light);
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.references-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.references-list {
    font-size: 0.9rem;
    color: var(--text-light);
}

.references-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.references-list li::before {
    content: attr(data-ref);
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

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

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

@media (max-width: 968px) {
    .header-main {
        padding: 15px 20px;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        border-bottom: 1px solid var(--border);
    }

    nav a {
        display: block;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero h1 {
        font-size: 2rem;
    }

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

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

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

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

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

    .footer-grid {
        flex-direction: column;
    }

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

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

@media (max-width: 600px) {
    .hero {
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .form-wrapper {
        padding: 25px;
    }

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