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

* {
    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-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

h1 { font-size: 2.75rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

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

.container-narrow {
    max-width: 800px;
}

.container-wide {
    max-width: 1400px;
}

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

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

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

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

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

nav ul li a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.hero {
    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.85) 0%, rgba(26,54,93,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 700px;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.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-text);
}

.btn-accent:hover {
    background-color: #b7791f;
}

.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-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

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

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

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

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

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

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

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

.card-content {
    padding: 1.5rem;
}

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

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

.price-tag {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    align-items: flex-start;
}

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

.service-image {
    flex: 0 0 200px;
    height: 150px;
    background-color: var(--fallback-img-bg);
    border-radius: 6px;
    overflow: hidden;
}

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

.service-content {
    flex: 1;
}

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

.service-content p {
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.two-column {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.two-column > * {
    flex: 1;
}

.two-column-reverse {
    flex-direction: row-reverse;
}

.image-block {
    background-color: var(--fallback-img-bg);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

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

.text-block h2 {
    margin-bottom: 1.5rem;
}

.text-block p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--color-primary);
}

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

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--color-border);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content {
    padding-left: 2rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--fallback-img-bg);
    overflow: hidden;
}

.testimonial-author-info strong {
    display: block;
    color: var(--color-text);
}

.testimonial-author-info span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.cta-banner {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
}

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

.cta-banner p {
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

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

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
}

.contact-text h4 {
    margin-bottom: 0.25rem;
}

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

footer {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    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 ul li {
    margin-bottom: 0.75rem;
}

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

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

.footer-col p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

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

.disclaimer {
    background-color: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    display: none;
}

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

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

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

.cookie-content p a {
    color: var(--color-accent);
}

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

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    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);
}

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

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

.page-header p {
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

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

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.legal-content {
    padding: 3rem 0;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
}

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

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

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

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--color-secondary);
}

.thanks-content h1 {
    margin-bottom: 1rem;
}

.thanks-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.grid-3 > * {
    flex: 1;
    min-width: 280px;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: block;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-light);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    counter-reset: step-counter;
}

.process-step {
    flex: 1;
    min-width: 200px;
    position: relative;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.process-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.process-step h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .two-column {
        flex-direction: column;
        gap: 2rem;
    }

    .two-column-reverse {
        flex-direction: column;
    }

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

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

    .service-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }

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

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        border-bottom: 1px solid var(--color-border);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        min-height: 60vh;
    }

    .section {
        padding: 3rem 0;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-col {
        min-width: 45%;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

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

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer-col {
        min-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
