:root {
    --primary: #2d5a7b;
    --primary-dark: #1e3d52;
    --secondary: #e8b84a;
    --accent: #6b9b8a;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --bg-section: #e9ecef;
    --white: #ffffff;
    --border: #d1d9e0;
    --shadow: rgba(45, 90, 123, 0.12);
    --font-main: 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

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

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

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

a:hover {
    color: var(--primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

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

.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: 18px 0;
}

.logo {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

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

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

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

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-image-container {
    margin: 40px auto;
    max-width: 900px;
    background-color: var(--bg-section);
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

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

.editorial-content {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.9;
}

.editorial-content p {
    margin-bottom: 1.5rem;
}

.inline-image {
    margin: 40px 0;
    background-color: var(--bg-section);
    border-radius: 6px;
    overflow: hidden;
}

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

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

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

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

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

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

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

.service-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 35px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 30px var(--shadow);
    transform: translateY(-3px);
}

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

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

.service-price {
    font-family: var(--font-main);
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
}

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

.cta-inline {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

.cta-inline:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.cta-secondary {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--text-dark);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    margin: 20px 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-secondary:hover {
    background-color: #d4a63d;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.cta-text-link {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}

.cta-text-link:hover {
    border-color: var(--primary);
}

.testimonials-section {
    padding: 70px 0;
    background-color: var(--bg-cream);
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 4px 15px var(--shadow);
}

.testimonial-card blockquote {
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

.testimonial-card cite span {
    font-weight: 400;
    color: var(--text-light);
    display: block;
    font-size: 0.9rem;
    margin-top: 4px;
}

.form-section {
    padding: 70px 0;
    background-color: var(--white);
}

.form-container {
    background-color: var(--bg-light);
    padding: 50px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

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

.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: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-family: var(--font-sans);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 123, 0.15);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: var(--primary-dark);
}

.about-intro {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-intro .text-content {
    flex: 1;
}

.about-intro .image-content {
    flex: 0 0 350px;
    background-color: var(--bg-section);
    border-radius: 8px;
    overflow: hidden;
}

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

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    flex: 1 1 calc(50% - 12.5px);
    min-width: 250px;
    padding: 25px;
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.value-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
}

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

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

.contact-block {
    flex: 1 1 250px;
}

.contact-block h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-family: var(--font-sans);
    font-weight: 600;
}

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

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

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

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

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
}

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

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

.disclaimer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 6px;
    margin-top: 30px;
}

.disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 0;
}

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

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

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

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.cookie-btn.accept:hover {
    background-color: #d4a63d;
}

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

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

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

.legal-page h1 {
    margin-bottom: 40px;
    font-size: 2.4rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.legal-page h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page p,
.legal-page li {
    color: var(--text-light);
    margin-bottom: 15px;
}

.legal-page ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-page ul li {
    margin-bottom: 10px;
}

.thanks-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--bg-cream);
}

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

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

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

.thanks-content .service-selected {
    background-color: var(--white);
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.thanks-content .service-selected strong {
    color: var(--secondary);
}

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

    .about-intro .image-content {
        flex: 0 0 auto;
        width: 100%;
    }

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

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

    h2 {
        font-size: 1.8rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 15px var(--shadow);
    }

    .nav.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

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

    .hero-image-container img {
        height: 300px;
    }

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

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

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

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

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

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

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

    .cta-inline,
    .cta-secondary {
        display: block;
        text-align: center;
        width: 100%;
    }
}
