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

:root {
    --primary-color: #1a252f;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-alt: #ecf0f1;
    --white: #fff;
    --border-color: #ddd;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

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

ul {
    list-style: none;
}

.ad-disclosure {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 8px 20px;
    font-size: 0.85rem;
}

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

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

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

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

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

.hero-editorial {
    position: relative;
}

.hero-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

.hero-content-narrow {
    max-width: 720px;
    margin: -80px auto 0;
    padding: 40px;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.hero-content-narrow h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.story-section {
    padding: 80px 20px;
}

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

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

.story-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.inline-image-left,
.inline-image-right {
    width: 45%;
    margin-bottom: 20px;
    overflow: hidden;
}

.inline-image-left {
    float: left;
    margin-right: 30px;
}

.inline-image-right {
    float: right;
    margin-left: 30px;
}

.inline-image-left img,
.inline-image-right img {
    width: 100%;
    height: auto;
}

.inline-image-full {
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
}

.inline-image-full img {
    width: 100%;
    height: auto;
}

.story-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--accent-color);
    padding: 20px 30px;
    margin: 40px 0;
    background: var(--bg-light);
    clear: both;
}

.story-quote cite {
    display: block;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--text-light);
    margin-top: 15px;
}

.story-list {
    margin: 30px 0;
    padding-left: 25px;
}

.story-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.story-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.cta-inline {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

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

.cta-inline p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

.btn-secondary-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.citation {
    font-size: 0.85rem;
    vertical-align: super;
}

.testimonials-editorial {
    padding: 80px 20px;
    background: var(--bg-alt);
}

.testimonials-editorial h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.testimonial-cards {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    color: var(--white);
    overflow: hidden;
}

.testimonial-image-container {
    height: 200px;
    overflow: hidden;
}

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

.testimonial-content {
    padding: 30px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.9rem;
    opacity: 0.8;
}

.services-preview {
    padding: 80px 20px;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 20px;
}

.services-preview > .narrow-content > p {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: flex;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card-editorial {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 35px;
    color: var(--white);
}

.service-card-editorial h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card-editorial p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-editorial .price {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-link {
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}

.service-link:hover {
    color: var(--white);
    border-color: var(--white);
}

.cta-section-bottom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 20px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-editorial {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 40px 30px;
}

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

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-section ul li a {
    color: var(--white);
    opacity: 0.8;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

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

.footer-references {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-references h4 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-references ol {
    padding-left: 20px;
}

.footer-references ol li {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 8px;
    list-style: decimal;
}

.footer-references ol li a {
    color: var(--white);
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-disclaimer p {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.7;
}

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

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.6;
}

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

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

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    font-size: 0.95rem;
    color: var(--text-color);
}

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

.btn-cookie-accept {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-cookie-accept:hover {
    background: var(--primary-color);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-cookie-reject:hover {
    background: var(--bg-light);
}

.cookie-link {
    font-size: 0.9rem;
}

.page-hero-simple {
    padding: 80px 20px;
    background: var(--bg-light);
    text-align: center;
}

.page-hero-simple h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.values-section {
    padding: 80px 20px;
    background: var(--white);
}

.values-grid {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
    flex-wrap: wrap;
}

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

.value-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.team-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.team-grid {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.team-photo-container {
    height: 250px;
    overflow: hidden;
}

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

.team-member h3 {
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.team-member p {
    font-size: 0.9rem;
    opacity: 0.8;
    padding: 0 20px 25px;
}

.services-detailed {
    padding: 40px 20px;
}

.service-detail-item {
    margin-bottom: 60px;
}

.service-detail-content {
    display: flex;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    flex-wrap: wrap;
}

.service-detail-item.reverse .service-detail-content {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
    min-width: 300px;
}

.service-info h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-info p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin: 25px 0;
    padding-left: 25px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.service-price-block {
    margin: 25px 0;
    padding: 20px;
    background: var(--bg-light);
    display: inline-block;
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

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

.btn-service {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease;
}

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

.service-image {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
}

.comparison-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.comparison-table-container {
    max-width: 900px;
    margin: 40px auto 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.comparison-table tr:hover {
    background: var(--bg-light);
}

.contact-main {
    padding: 60px 20px;
}

.contact-layout {
    display: flex;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-form-section {
    flex: 2;
    min-width: 300px;
}

.contact-form-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

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

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.btn-submit {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

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

.contact-info-section {
    flex: 1;
    min-width: 250px;
}

.contact-info-block {
    margin-bottom: 35px;
}

.contact-info-block h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-block p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
}

.hours-table {
    width: 100%;
}

.hours-table td {
    padding: 8px 0;
    font-size: 0.95rem;
}

.hours-table td:first-child {
    color: var(--text-light);
}

.faq-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.thanks-icon {
    color: var(--accent-color);
    margin-bottom: 30px;
}

.thanks-content h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.selected-service-info {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
    text-align: left;
}

.thanks-next-steps {
    text-align: left;
    margin-bottom: 40px;
}

.thanks-next-steps h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.thanks-next-steps ul {
    padding-left: 25px;
}

.thanks-next-steps ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.thanks-next-steps ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.thanks-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

.legal-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 25px 0 10px;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.legal-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: var(--accent-color);
    border-radius: 50%;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.cookie-table th {
    background: var(--bg-light);
    font-weight: 600;
}

@media (max-width: 768px) {
    .header-editorial {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-content-narrow {
        margin: -40px 20px 0;
        padding: 30px;
    }

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

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

    .service-detail-content,
    .service-detail-item.reverse .service-detail-content {
        flex-direction: column;
    }

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

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

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
