:root {
    --primary: #2c5282;
    --primary-dark: #1a365d;
    --secondary: #ed8936;
    --accent: #38a169;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-warm: #fffaf0;
    --bg-cool: #ebf8ff;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --fallback-img: #cbd5e0;
}

* {
    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 {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

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

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

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

.ad-disclosure {
    background: var(--bg-warm);
    padding: 8px 15px;
    font-size: 0.75rem;
    color: var(--text-light);
    border-radius: 4px;
}

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

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

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

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

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

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

.hero-editorial {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-cool) 0%, var(--white) 100%);
}

.hero-editorial .narrow-container {
    text-align: center;
}

.hero-editorial h1 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.hero-image-wrap {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--fallback-img);
}

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

.btn-primary {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.editorial-section {
    padding: 70px 20px;
}

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

.editorial-section.warm-bg {
    background: var(--bg-warm);
}

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

.editorial-section p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.inline-image {
    margin: 35px 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--fallback-img);
}

.inline-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.inline-image.left-float {
    float: left;
    width: 45%;
    margin: 0 30px 20px 0;
}

.inline-image.right-float {
    float: right;
    width: 45%;
    margin: 0 0 20px 30px;
}

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

.cta-inline {
    background: var(--primary);
    color: var(--white);
    padding: 35px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

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

.cta-inline p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.cta-inline .btn-primary {
    background: var(--secondary);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(50% - 25px);
    min-width: 280px;
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card-image {
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--fallback-img);
}

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

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

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

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

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

.testimonial-block {
    background: var(--white);
    border-left: 4px solid var(--secondary);
    padding: 25px 30px;
    margin: 40px 0;
    border-radius: 0 10px 10px 0;
}

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

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

.team-section {
    padding: 70px 20px;
}

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

.team-member {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 220px;
    text-align: center;
}

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

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

.team-member h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

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

.contact-section {
    padding: 70px 20px;
    background: var(--bg-cool);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

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

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

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

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

.contact-form-wrap {
    flex: 1 1 400px;
}

.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: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 20px 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

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

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

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

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

.disclaimer {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.disclaimer h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    display: none;
}

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

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

.cookie-inner p {
    flex: 1 1 400px;
    font-size: 0.9rem;
}

.cookie-inner a {
    color: var(--secondary);
}

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

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

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

.cookie-accept:hover {
    background: #2f855a;
}

.cookie-reject {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.cookie-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-cool) 0%, var(--white) 100%);
}

.thanks-content h1 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

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

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

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

.legal-content h3 {
    color: var(--text-dark);
    margin: 25px 0 12px;
    font-size: 1.2rem;
}

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

.legal-content ul {
    padding-left: 25px;
}

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

.highlight-box {
    background: var(--bg-warm);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    flex: 1 1 150px;
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.stat-item .label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

.process-steps {
    margin: 40px 0;
}

.process-step {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding-top: 20px;
    }

    nav ul.active {
        display: flex;
    }

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

    .hamburger {
        display: flex;
    }

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

    .hero-image-wrap img {
        height: 280px;
    }

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

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

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

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

    .footer-col {
        flex: 1 1 100%;
    }

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