:root {
    --primary: #2c4a6e;
    --secondary: #e8b44d;
    --accent: #3d6b99;
    --bg-light: #f9f7f4;
    --bg-dark: #1a2a3a;
    --text-main: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(44, 74, 110, 0.1);
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

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

p {
    margin-bottom: 1.25rem;
}

.ad-disclosure {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.8rem;
    text-align: center;
}

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

.header-inner {
    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(--secondary);
}

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

nav a {
    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(--secondary);
    transition: width 0.3s ease;
}

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

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.hero-editorial {
    padding: 80px 0 60px;
    background-color: var(--bg-light);
}

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

.hero-editorial h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-wrapper {
    margin: 40px 0;
    background-color: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

.btn-primary:hover {
    background-color: #d4a043;
    color: var(--bg-dark);
}

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

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

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

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

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

.editorial-section:nth-child(even) {
    background-color: var(--bg-light);
}

.editorial-content {
    max-width: 720px;
    margin: 0 auto;
}

.editorial-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.inline-image {
    margin: 2rem 0;
    background-color: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

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

.inline-image.float-left {
    float: left;
    width: 45%;
    margin: 0 2rem 1rem 0;
}

.inline-image.float-right {
    float: right;
    width: 45%;
    margin: 0 0 1rem 2rem;
}

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

.highlight-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 32px;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 2rem;
}

.service-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 4px 20px var(--shadow);
}

.service-info h4 {
    margin-bottom: 0.5rem;
}

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

.service-price {
    text-align: right;
}

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

.price-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-block {
    background-color: var(--white);
    border-left: 4px solid var(--secondary);
    padding: 24px 32px;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

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

.testimonial-block cite {
    color: var(--text-light);
    font-style: normal;
}

.cta-inline {
    text-align: center;
    padding: 40px;
    background-color: var(--accent);
    border-radius: 8px;
    margin: 2rem 0;
}

.cta-inline h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.form-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    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;
}

.form-submit {
    text-align: center;
    margin-top: 24px;
}

.form-submit .btn {
    min-width: 200px;
}

.about-intro {
    padding: 80px 0;
}

.about-intro .narrow-container {
    text-align: center;
}

.about-values {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.value-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--bg-dark);
    font-size: 1.5rem;
}

.contact-info {
    padding: 60px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 500px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

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

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

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

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 6px;
    margin-top: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.legal-page {
    padding: 60px 0;
    min-height: 60vh;
}

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

.legal-content h1 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
}

.legal-content h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 1rem;
}

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

.thanks-page {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
}

.thanks-content h1 {
    margin-bottom: 1rem;
}

.thanks-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

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

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

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
}

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

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

.cookie-buttons .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-accept {
    background-color: var(--secondary);
    color: var(--bg-dark);
}

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

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

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

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    nav.active {
        display: block;
    }

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

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

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

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

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

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

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

    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .service-price {
        text-align: center;
    }

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

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

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

@media (max-width: 480px) {
    .container,
    .narrow-container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
    }

    .hero-editorial {
        padding: 60px 0 40px;
    }

    .editorial-section {
        padding: 40px 0;
    }
}
