/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #004999;
}

/* Navigation */
.nav-minimal {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #4a4a4a;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: #0066cc;
}

/* Editorial layout - main structure */
.editorial-main {
    background: #fafafa;
}

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

.content-wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero sections */
.editorial-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%);
    color: #ffffff;
    padding: 4rem 0 3.5rem;
    text-align: center;
}

.page-hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3d6b 100%);
    color: #ffffff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}

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

.overline {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    opacity: 0.85;
    font-weight: 600;
}

.editorial-hero h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.page-hero h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.65;
    opacity: 0.92;
    margin-bottom: 1.5rem;
}

.author-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1.8rem;
}

.separator {
    opacity: 0.5;
}

/* Editorial sections */
.editorial-section {
    padding: 3.5rem 0;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.editorial-section:nth-child(even) {
    background: #fafafa;
}

.editorial-section h2 {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
}

.editorial-section h3 {
    font-size: 1.5rem;
    line-height: 1.35;
    margin: 2.5rem 0 1rem;
    font-weight: 700;
    color: #2c2c2c;
}

.editorial-section h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 2rem 0 0.8rem;
    font-weight: 600;
    color: #2c2c2c;
}

.editorial-section p {
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
}

.first-paragraph {
    font-size: 1.15rem;
    line-height: 1.75;
}

.inline-image {
    margin: 2.5rem 0;
    border-radius: 8px;
}

.editorial-list {
    margin: 1.5rem 0 1.5rem 1.8rem;
    font-size: 1.05rem;
}

.editorial-list li {
    margin-bottom: 0.9rem;
    padding-left: 0.5rem;
}

/* Highlight boxes */
.highlight-box {
    background: #f0f4f8;
    border-left: 4px solid #0066cc;
    padding: 3rem 0;
}

.highlight-box h2,
.highlight-box h3 {
    color: #003d7a;
}

/* Quote blocks */
.quote-block {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: #f9f9f9;
    border-left: 5px solid #2c2c2c;
}

.quote-block blockquote {
    font-size: 1.3rem;
    line-height: 1.6;
    font-style: italic;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.quote-block cite {
    display: block;
    font-size: 0.95rem;
    color: #666;
    font-style: normal;
}

/* Trust signals */
.trust-signal {
    background: #fff8e6;
}

/* Car highlight sections */
.car-highlight {
    padding: 3rem 0;
}

.car-highlight:nth-child(odd) {
    background: #ffffff;
}

.car-highlight:nth-child(even) {
    background: #f5f9fc;
}

/* CTA boxes */
.cta-box {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.cta-box h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    opacity: 0.95;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-large,
.btn-service,
.btn-service-featured {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #0066cc;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0052a3;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background: #0066cc;
    color: #ffffff;
}

.btn-primary-large {
    background: #0066cc;
    color: #ffffff;
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
}

.btn-primary-large:hover {
    background: #0052a3;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-service {
    background: #2c5aa0;
    color: #ffffff;
    width: 100%;
    margin-top: 1.5rem;
}

.btn-service:hover {
    background: #1a3d6b;
    color: #ffffff;
}

.btn-service-featured {
    background: #d4af37;
    color: #1a1a1a;
    width: 100%;
    margin-top: 1.5rem;
    font-weight: 700;
}

.btn-service-featured:hover {
    background: #bf9b2f;
    color: #1a1a1a;
}

.cta-centered {
    text-align: center;
    margin-top: 2rem;
}

.cta-inline {
    padding: 3rem 0;
}

/* Service preview cards */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin: 2rem 0;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card h4 {
    margin-top: 0;
    color: #1a1a1a;
    font-size: 1.3rem;
}

.service-card p {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.service-card .price {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0066cc;
}

/* Services detailed grid */
.services-grid-section {
    padding: 3rem 0;
    background: #f5f5f5;
}

.service-detailed-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-detailed-card.featured {
    border: 3px solid #d4af37;
}

.service-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3d6b 100%);
    color: #ffffff;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.service-detailed-card.featured .service-header {
    background: linear-gradient(135deg, #d4af37 0%, #bf9b2f 100%);
    color: #1a1a1a;
}

.service-header h2 {
    margin: 0;
    font-size: 1.7rem;
    color: inherit;
}

.service-price {
    font-size: 2rem;
    font-weight: 800;
}

.service-savings {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.3rem;
    opacity: 0.9;
}

.service-body {
    padding: 2.5rem;
}

.service-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.service-body ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.service-body ul li {
    margin-bottom: 0.7rem;
}

.service-body p {
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    background: #f0f4f8;
}

.testimonial-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.8rem;
    border-left: 4px solid #0066cc;
}

.testimonial-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-item cite {
    display: block;
    font-size: 0.95rem;
    color: #666;
    font-style: normal;
    font-weight: 600;
}

/* Insight blocks */
.insight-block {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.insight-block h4 {
    margin-top: 0;
    color: #0066cc;
}

/* Stats grid */
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2.5rem 0;
}

.stat-item {
    text-align: center;
    min-width: 180px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #0066cc;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
}

/* Forms */
.form-section {
    background: #f5f9fc;
}

.editorial-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c2c2c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

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

.editorial-form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

/* Contact page */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info-block,
.contact-form-block {
    flex: 1;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    margin: 0 0 0.5rem;
    color: #0066cc;
}

.contact-item p {
    margin: 0;
    color: #4a4a4a;
}

.contact-note {
    background: #fff8e6;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
    margin-top: 2rem;
}

.contact-note p {
    margin: 0;
}

/* FAQ */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.faq-item h4 {
    margin-top: 0;
    color: #1a1a1a;
}

.faq-item p {
    margin: 0;
    color: #4a4a4a;
}

/* Thanks page */
.thanks-section {
    background: #f5f9fc;
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thanks-box {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.thanks-box h1 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.thanks-details {
    background: #f0f4f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.thanks-next-steps {
    text-align: left;
    margin: 2rem 0;
}

.thanks-next-steps h3 {
    margin-bottom: 1rem;
}

.thanks-next-steps ul {
    list-style: none;
    padding: 0;
}

.thanks-next-steps ul li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.thanks-next-steps ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.thanks-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.resource-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.resource-card h4 {
    margin: 0 0 0.5rem;
    color: #1a1a1a;
}

.resource-card p {
    margin: 0;
    color: #666;
}

/* Legal pages */
.legal-page .editorial-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page .editorial-section h3 {
    margin-top: 1.5rem;
}

.legal-date {
    font-size: 0.95rem;
    opacity: 0.8;
}

.legal-page ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-page ul li {
    margin-bottom: 0.7rem;
}

.legal-page ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-page ol li {
    margin-bottom: 0.7rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%);
    color: #ffffff;
    text-align: center;
    padding: 4rem 0;
}

.final-cta h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.final-cta p {
    color: #e0e0e0;
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #c0c0c0;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
}

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

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: #c0c0c0;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c2c2c;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    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;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    min-width: 300px;
}

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

.btn-accept,
.btn-reject {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-accept {
    background: #4caf50;
    color: #ffffff;
}

.btn-accept:hover {
    background: #45a049;
}

.btn-reject {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-reject:hover {
    background: #ffffff;
    color: #2c2c2c;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
    display: none;
}

.sticky-cta.show {
    display: block;
}

.sticky-btn {
    background: #0066cc;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.4);
    transition: all 0.3s;
    display: inline-block;
}

.sticky-btn:hover {
    background: #0052a3;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}

/* Responsive */
@media (min-width: 768px) {
    .editorial-hero h1 {
        font-size: 3.2rem;
    }

    .page-hero h1 {
        font-size: 2.6rem;
    }

    .service-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card {
        flex: 1;
        min-width: 280px;
    }

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

    .thanks-actions {
        flex-wrap: nowrap;
    }

    .resource-cards {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .editorial-hero {
        padding: 3rem 0 2.5rem;
    }

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

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .lead-text {
        font-size: 1.05rem;
    }

    .editorial-section {
        padding: 2.5rem 0;
    }

    .quote-block {
        padding: 1.5rem;
    }

    .quote-block blockquote {
        font-size: 1.1rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .service-body {
        padding: 1.5rem;
    }

    .editorial-form {
        padding: 1.5rem;
    }

    .thanks-box {
        padding: 2rem 1.5rem;
    }

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

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-accept,
    .btn-reject {
        width: 100%;
    }

    .sticky-cta {
        bottom: 10px;
        right: 10px;
    }

    .sticky-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}