:root {
    --primary: #1a2634;
    --secondary: #3d5a73;
    --accent: #c9a962;
    --light: #f7f5f0;
    --dark: #0d1318;
    --text: #2c3e50;
    --muted: #6b7c8c;
    --white: #ffffff;
    --fallback-img: #d4d8dc;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.ad-disclosure {
    background: var(--dark);
    color: var(--muted);
    text-align: center;
    padding: 6px 12px;
    font-size: 0.75rem;
}

.top-nav {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

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

.hero-magazine {
    display: flex;
    min-height: 85vh;
    background: var(--light);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px;
}

.hero-tag {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-image {
    flex: 1.2;
    background: var(--fallback-img);
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.section-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.magazine-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

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

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

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

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

.card-img {
    height: 240px;
    background: var(--fallback-img);
    overflow: hidden;
}

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

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-text {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

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

.card-price-note {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 400;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.service-card {
    flex: 1 1 340px;
    max-width: 400px;
}

.feature-row {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-img {
    flex: 1;
    min-width: 300px;
    background: var(--fallback-img);
    border-radius: 8px;
    overflow: hidden;
}

.feature-img img {
    display: block;
    width: 100%;
}

.feature-content {
    flex: 1;
    min-width: 300px;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-text {
    color: var(--muted);
    margin-bottom: 24px;
}

.testimonials {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.testimonial {
    flex: 1 1 300px;
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

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

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

.contact-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

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

.contact-form-wrap {
    flex: 1.5;
    min-width: 320px;
}

.contact-item {
    margin-bottom: 28px;
}

.contact-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-value {
    color: var(--muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #dde2e7;
    border-radius: 4px;
    background: var(--white);
    color: var(--text);
    transition: border-color 0.3s;
}

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

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

.footer {
    background: var(--dark);
    color: var(--muted);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

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

.footer-links {
    list-style: none;
}

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

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

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

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

.disclaimer {
    background: var(--light);
    padding: 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 48px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

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

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

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

.cookie-btns {
    display: flex;
    gap: 12px;
}

.btn-cookie {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-accept:hover {
    background: var(--white);
}

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

.btn-reject:hover {
    border-color: var(--white);
}

.thanks-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.thanks-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.thanks-text {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
}

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

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

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 32px 0 16px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text);
}

.legal-content ul {
    margin: 16px 0 16px 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.about-intro {
    display: flex;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.stats-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 48px 0;
}

.stat-item {
    text-align: center;
    flex: 1 1 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: var(--muted);
    font-size: 0.95rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 80px 24px;
}

.cta-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    opacity: 0.9;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

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

.cta-section .btn-primary:hover {
    background: var(--accent);
    color: var(--dark);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-item {
    flex: 1 1 280px;
    height: 280px;
    background: var(--fallback-img);
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.process-steps {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1 1 220px;
    text-align: center;
    padding: 24px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.step-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.step-text {
    color: var(--muted);
    font-size: 0.95rem;
}

.inline-cta {
    background: var(--light);
    padding: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 48px 0;
}

.inline-cta-text {
    flex: 1;
    min-width: 250px;
}

.inline-cta-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.3rem;
}

.references-section {
    padding: 40px 0;
    background: var(--light);
}

.reference-list {
    font-size: 0.85rem;
    color: var(--muted);
}

.reference-list a {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .hero-magazine {
        flex-direction: column;
    }

    .hero-image {
        min-height: 300px;
    }

    .hero-content {
        padding: 40px 24px;
    }

    .nav-links {
        gap: 16px;
    }

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

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
    }

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