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

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

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 16px;
}

.ad-disclosure {
    background-color: var(--bg-alt);
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

header {
    background-color: var(--bg);
    box-shadow: 0 2px 4px 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: 16px 0;
}

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

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

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

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

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

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: #e2e8f0;
}

.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;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,54,93,0.9) 0%, rgba(44,82,130,0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 700px;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

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

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

.btn-primary:hover {
    background-color: #dd6b20;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

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

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

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

.section {
    padding: 80px 0;
}

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

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

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

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

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.editorial-block:last-child {
    margin-bottom: 0;
}

.editorial-image {
    margin: 32px 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #e2e8f0;
}

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

.editorial-image.float-left {
    float: left;
    width: 45%;
    margin-right: 32px;
    margin-bottom: 16px;
}

.editorial-image.float-right {
    float: right;
    width: 45%;
    margin-left: 32px;
    margin-bottom: 16px;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.intro-section {
    padding: 100px 0;
}

.intro-grid {
    display: flex;
    gap: 64px;
    align-items: center;
}

.intro-content {
    flex: 1;
}

.intro-image {
    flex: 1;
    background-color: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.stats-bar {
    background-color: var(--primary);
    padding: 48px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    color: #fff;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

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

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.service-card-image {
    height: 200px;
    background-color: #e2e8f0;
    overflow: hidden;
}

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

.service-card-content {
    padding: 24px;
}

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

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

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

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

.testimonial-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    color: #fff;
}

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

.testimonial-card {
    flex: 1;
    background-color: rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    overflow: hidden;
}

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

.testimonial-info h4 {
    color: #fff;
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.process-section {
    padding: 100px 0;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border);
}

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

.process-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    z-index: 1;
}

.process-content {
    flex: 1;
    padding-top: 8px;
}

.process-content h3 {
    margin-bottom: 12px;
}

.cta-section {
    background-color: var(--accent);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.95;
}

.cta-section .btn {
    background-color: #fff;
    color: var(--accent);
}

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

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

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg);
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.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 {
    text-align: center;
}

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

.about-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

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

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    background-color: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

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

.value-card {
    flex: 1;
    min-width: 250px;
    padding: 32px;
    background-color: var(--bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

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

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

.team-card {
    width: 280px;
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background-color: #e2e8f0;
    overflow: hidden;
}

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

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

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

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

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 4px;
}

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

.map-section {
    height: 400px;
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--text-light);
}

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

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

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

.footer-col h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

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

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

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

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

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

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

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

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

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

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

.cookie-buttons .btn {
    padding: 12px 24px;
}

.btn-accept {
    background-color: var(--accent);
    color: #fff;
}

.btn-reject {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-reject:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

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

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
    stroke-width: 3;
}

.thanks-content h1 {
    margin-bottom: 16px;
}

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

.legal-page {
    padding: 120px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 32px;
}

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

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

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

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

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

.disclaimer p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.references-section {
    background-color: var(--bg-alt);
    padding: 48px 0;
    margin-top: 64px;
}

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

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

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

@media (max-width: 992px) {
    .intro-grid,
    .about-grid,
    .contact-grid {
        flex-direction: column;
    }

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

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

    .stat-item {
        flex: 1 1 40%;
    }

    .editorial-image.float-left,
    .editorial-image.float-right {
        float: none;
        width: 100%;
        margin: 32px 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

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

    .hero-content p {
        font-size: 1rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg);
        flex-direction: column;
        gap: 0;
        padding: 16px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

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

    nav li:last-child {
        border-bottom: none;
    }

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

    .mobile-menu-btn {
        display: block;
    }

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

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

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

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

    .service-card {
        min-width: 100%;
    }

    .form-container {
        padding: 24px;
    }

    .section {
        padding: 48px 0;
    }
}
