/* 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, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    color: #1a5490;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d3a6f;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ffffff;
    padding: 1.2rem 1rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.btn-cookie-accept,
.btn-cookie-reject {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cookie-accept {
    background: #1a5490;
    color: #ffffff;
}

.btn-cookie-accept:hover {
    background: #0d3a6f;
}

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

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

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a5490;
    text-decoration: none;
}

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

.nav-links a {
    color: #2c2c2c;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: #1a5490;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a5490;
    transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: none;
}

.sticky-cta.visible {
    display: block;
    animation: slideIn 0.4s ease;
}

.sticky-btn {
    background: #1a5490;
    color: #ffffff;
    padding: 1rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(26, 84, 144, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.sticky-btn:hover {
    background: #0d3a6f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 84, 144, 0.4);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Editorial Wrapper - Main Layout */
.editorial-wrapper {
    background: #ffffff;
}

.editorial-hero {
    padding: 4rem 1.5rem 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.editorial-hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.hero-image {
    margin-top: 2rem;
    border-radius: 8px;
    width: 100%;
}

/* Editorial Sections */
.editorial-section {
    padding: 3.5rem 1.5rem;
}

.editorial-section.bg-light {
    background: #f8f9fa;
}

.editorial-section.bg-accent {
    background: #e8f1f8;
}

.editorial-section.bg-dark {
    background: #1a1a1a;
    color: #ffffff;
}

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

.content-narrow h2 {
    font-size: 1.9rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.editorial-section.bg-dark h2,
.editorial-section.bg-dark h3,
.editorial-section.bg-dark h4 {
    color: #ffffff;
}

.content-narrow h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 2rem 0 1rem;
}

.content-narrow h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 1.5rem 0 0.8rem;
}

.content-narrow p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.drop-cap::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    float: left;
    margin: 0.1rem 0.15rem 0 0;
    color: #1a5490;
}

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

.text-white {
    color: #ffffff;
}

/* Styled Lists */
.styled-list {
    margin: 1.5rem 0 2rem 1.5rem;
    list-style: none;
}

.styled-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1a5490;
    font-weight: 700;
}

/* Info Blocks */
.info-block {
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #1a5490;
    margin: 2rem 0;
    border-radius: 4px;
}

.info-block h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.info-block ul {
    margin-top: 1rem;
}

/* Inline CTAs */
.inline-cta-box {
    background: #1a5490;
    color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.inline-cta-box p {
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.btn-inline {
    display: inline-block;
    background: #ffffff;
    color: #1a5490;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-inline:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.text-link-cta {
    display: inline-block;
    color: #1a5490;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.text-link-cta:hover {
    color: #0d3a6f;
    transform: translateX(5px);
}

/* Testimonials */
.testimonial-inline {
    background: #f8f9fa;
    padding: 2rem;
    border-left: 4px solid #1a5490;
    margin: 2.5rem 0;
    border-radius: 4px;
}

.testimonial-inline blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.testimonial-inline cite {
    font-style: normal;
    font-weight: 600;
    color: #1a5490;
    font-size: 0.95rem;
}

/* Comparison Blocks */
.comparison-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.comparison-item {
    background: #ffffff;
    padding: 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    flex: 1;
}

.comparison-item h4 {
    margin-top: 0;
    color: #1a5490;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.warning-box p {
    margin: 0;
    color: #856404;
}

/* Mistake List */
.mistake-list {
    margin: 2rem 0;
}

.mistake-item {
    background: #ffffff;
    padding: 1.5rem;
    border-left: 3px solid #dc3545;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.mistake-item h4 {
    margin-top: 0;
    color: #dc3545;
}

/* Oil Types Comparison */
.oil-types-comparison {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.oil-type {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    flex: 1;
}

.oil-type.highlighted {
    background: rgba(26, 84, 144, 0.2);
    border-color: #1a5490;
}

.oil-type h4 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.3rem;
}

.oil-type p {
    color: #e5e5e5;
    margin-bottom: 1rem;
}

.price-hint {
    color: #ffc107;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Benefit List */
.benefit-list {
    list-style: none;
    margin: 2rem 0;
}

.benefit-list li {
    padding: 1.2rem;
    background: #f8f9fa;
    margin-bottom: 1rem;
    border-left: 4px solid #1a5490;
    border-radius: 4px;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: #1a5490;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-card.featured {
    border-color: #1a5490;
    background: #e8f1f8;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #1a5490;
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a5490;
    margin: 1.5rem 0;
}

.btn-service {
    display: inline-block;
    background: #1a5490;
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-service:hover {
    background: #0d3a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 84, 144, 0.3);
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 2px solid #e5e5e5;
    margin: 2rem 0;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e5e5e5;
    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: #1a5490;
}

.form-group-checkbox {
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}

.form-group-checkbox label {
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-submit {
    background: #1a5490;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #0d3a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 84, 144, 0.3);
}

/* Trust Elements */
.trust-elements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.trust-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.trust-item h4 {
    margin-top: 0;
    color: #1a5490;
}

/* Value List */
.value-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-item {
    background: #ffffff;
    padding: 1.8rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
}

.value-item h4 {
    margin-top: 0;
    color: #1a5490;
}

/* Final CTA Button */
.btn-final-cta {
    display: inline-block;
    background: #1a5490;
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-final-cta:hover {
    background: #0d3a6f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 84, 144, 0.3);
}

.btn-light {
    display: inline-block;
    background: #ffffff;
    color: #1a5490;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Contact Grid */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info-block {
    background: #f8f9fa;
    padding: 1.8rem;
    border-radius: 8px;
}

.contact-info-block h3 {
    margin-top: 0;
    color: #1a5490;
}

.small-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* FAQ Items */
.faq-item {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #1a5490;
}

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

.faq-item p {
    margin-bottom: 0;
}

/* Services Detailed */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin: 3rem 0;
}

.service-detailed {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.service-detailed.featured-service {
    border-color: #1a5490;
    position: relative;
}

.badge-large {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #1a5490;
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 10;
}

.service-header {
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.service-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #1a5490;
    margin: 0;
}

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

.service-description {
    padding: 2rem;
}

.btn-service-detail {
    display: inline-block;
    background: #1a5490;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-service-detail:hover {
    background: #0d3a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 84, 144, 0.3);
}

/* Thank You Page */
.thank-you-section {
    padding: 4rem 1.5rem;
}

.thank-you-content {
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.thank-you-content h1 {
    color: #1a5490;
    margin-bottom: 1.5rem;
}

.thank-you-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2.5rem 0;
    text-align: left;
}

.thank-you-info h3 {
    margin-top: 0;
}

.selected-service {
    background: #e8f1f8;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 600;
    color: #1a5490;
    margin-top: 1.5rem;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    align-items: center;
}

.thank-you-contact {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Legal Content */
.legal-content {
    font-size: 0.98rem;
}

.legal-content h2 {
    margin-top: 3rem;
    font-size: 1.6rem;
}

.legal-content h3 {
    margin-top: 2rem;
}

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

.legal-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.cookies-table th,
.cookies-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.cookies-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a5490;
}

.cookies-table code {
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #dc3545;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section p {
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 0;
}

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

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

.footer-section ul li a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

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

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

/* Tablet Styles */
@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

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

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

    .comparison-block,
    .oil-types-comparison {
        flex-direction: row;
    }

    .services-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card {
        flex: 0 0 calc(50% - 1rem);
    }

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

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

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-section {
        flex: 0 0 30%;
    }

    .thank-you-actions {
        flex-direction: row;
        justify-content: center;
    }

    .info-blocks {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info-block {
        flex: 0 0 calc(50% - 1rem);
    }

    .trust-elements,
    .value-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .trust-item,
    .value-item {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .editorial-hero {
        padding: 5rem 1.5rem 4rem;
    }

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

    .editorial-section {
        padding: 5rem 1.5rem;
    }

    .services-grid {
        flex-wrap: nowrap;
    }

    .service-card {
        flex: 1;
    }

    .sticky-cta {
        display: block;
    }
}

/* Print Styles */
@media print {
    .cookie-banner,
    .nav-minimal,
    .sticky-cta,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

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