:root {
    --color-primary: #1a365d;
    --color-secondary: #c53030;
    --color-accent: #2b6cb0;
    --color-bg-light: #f7fafc;
    --color-bg-dark: #1a202c;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --fallback-img-bg: #cbd5e0;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
}

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

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

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

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ad-disclosure {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    font-size: 0.75rem;
    text-align: center;
    padding: 0.5rem 1rem;
}

.top-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-primary);
}

.logo span {
    color: var(--color-secondary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
}

.hero-magazine {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--fallback-img-bg);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 32, 44, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-magazine .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-headline {
    color: var(--color-white);
    font-size: 3.5rem;
    max-width: 700px;
}

.hero-subline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    max-width: 600px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #9b2c2c;
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

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

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

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

.section {
    padding: 5rem 0;
}

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

.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-left {
    text-align: left;
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.magazine-col-wide {
    flex: 2;
    min-width: 300px;
}

.magazine-col-narrow {
    flex: 1;
    min-width: 280px;
}

.magazine-col-third {
    flex: 1;
    min-width: 250px;
}

.intro-block {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-left: 4px solid var(--color-secondary);
}

.intro-block p {
    font-size: 1.15rem;
    color: var(--color-text);
}

.sidebar-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list .icon {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    background-color: var(--fallback-img-bg);
    overflow: hidden;
}

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

.service-content {
    padding: 1.75rem;
}

.service-content h3 {
    margin-bottom: 0.75rem;
}

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

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.services-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-flex .service-card {
    flex: 1;
    min-width: 300px;
    max-width: calc(33.333% - 1.5rem);
}

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

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

.about-image {
    flex: 1;
    min-width: 300px;
    background-color: var(--fallback-img-bg);
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

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

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    background-color: var(--color-bg-light);
    border-radius: 8px;
}

.value-item h4 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--color-border);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

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

.contact-form-wrapper {
    flex: 1.5;
    min-width: 350px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.contact-item p {
    margin: 0;
    color: var(--color-text-light);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--color-border);
    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: var(--color-accent);
}

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

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin: 3rem 0;
}

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.footer-col a {
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.disclaimer-box {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 0.85rem;
    line-height: 1.6;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    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-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text a {
    color: var(--color-white);
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.cookie-accept:hover {
    background-color: #9b2c2c;
}

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

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

.thanks-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.thanks-box {
    max-width: 600px;
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--color-white);
}

.thanks-box h1 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.page-header {
    background-color: var(--color-primary);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.content-page {
    padding: 4rem 0;
}

.content-page h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

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

.content-page li {
    margin-bottom: 0.5rem;
}

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.breadcrumb a {
    color: var(--color-text-light);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.feature-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 3rem 0;
    background-color: var(--color-primary);
}

.feature-item {
    text-align: center;
    color: var(--color-white);
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.feature-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.feature-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.inline-cta:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.sticky-cta {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 900;
    display: none;
}

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

.sticky-cta .btn {
    box-shadow: 0 4px 20px rgba(197, 48, 48, 0.4);
}

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

    h2 {
        font-size: 1.6rem;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .hero-subline {
        font-size: 1.1rem;
    }

    .main-nav ul {
        gap: 1rem;
    }

    .services-flex .service-card {
        max-width: 100%;
    }

    .about-split {
        flex-direction: column;
    }

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

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

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

    .section {
        padding: 3rem 0;
    }
}
