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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #ecf0f1;
    --white: #ffffff;
    --border-color: #bdc3c7;
    --success-color: #27ae60;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
}

.main-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.ad-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-style: italic;
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.5rem;
    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: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

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

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

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

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

.editorial-content {
    max-width: 100%;
}

.article-header {
    position: relative;
    margin-bottom: 3rem;
}

.header-image-container {
    width: 100%;
    height: 600px;
    background-color: var(--light-bg);
    overflow: hidden;
}

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

.header-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.header-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.lead {
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-style: italic;
}

.narrow-text {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-intro,
.content-block {
    padding: 3rem 0;
}

.content-block.alternate {
    background-color: var(--light-bg);
}

.narrow-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.narrow-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: var(--primary-color);
}

.inline-image-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.image-with-caption {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.inline-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 1rem;
}

.caption {
    font-size: 0.95rem;
    color: #7f8c8d;
    font-style: italic;
    text-align: center;
}

.cta-inline {
    padding: 4rem 2rem;
    background-color: var(--primary-color);
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.cta-link:hover {
    background-color: #c0392b;
}

.testimonial-section {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background-color: var(--light-bg);
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
}

.testimonial-card blockquote {
    font-style: italic;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-style: normal;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.services-preview {
    padding: 4rem 0;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 3rem 2rem;
}

.service-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--light-bg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--primary-color);
}

.service-card p {
    margin: 0 1.5rem 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.service-card .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 1.5rem 1.5rem 1rem;
}

.card-link {
    display: block;
    text-align: center;
    padding: 1rem;
    background-color: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.card-link:hover {
    background-color: var(--border-color);
}

.form-section {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    background-color: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    font-family: inherit;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #c0392b;
}

.disclaimer-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.disclaimer {
    font-size: 0.9rem;
    color: #5a6c7d;
    line-height: 1.6;
}

.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.7;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 1rem;
    }

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

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

    .service-cards {
        flex-direction: column;
    }
}

.thanks-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.thanks-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.thanks-content .service-name {
    font-weight: bold;
    color: var(--accent-color);
}

.thanks-content a {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.thanks-content a:hover {
    background-color: var(--secondary-color);
}

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-page h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.legal-page p,
.legal-page li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-page .updated {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.about-page,
.services-page,
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-page h1,
.services-page h1,
.contact-page h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
}

.about-section {
    margin: 3rem 0;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.about-image-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-bg);
    overflow: hidden;
}

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

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.service-item {
    display: flex;
    gap: 2rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    align-items: stretch;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image-container {
    flex: 0 0 400px;
    background-color: var(--light-bg);
}

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

.service-details {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-details h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-details p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-details .service-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 1rem;
}

.contact-info {
    max-width: 700px;
    margin: 3rem auto;
    background-color: var(--light-bg);
    padding: 3rem;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-info .info-item {
    margin-bottom: 1.5rem;
}

.contact-info .info-label {
    font-weight: bold;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.3rem;
}

@media (max-width: 968px) {
    .about-section,
    .about-section.reverse {
        flex-direction: column;
    }

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-image-container {
        flex: 0 0 300px;
    }
}
