:root {
    --primary: #2c4a6b;
    --secondary: #e8a54b;
    --accent: #3d6b9e;
    --dark: #1a2a3a;
    --light: #f7f4ef;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background: var(--dark);
    color: var(--light);
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

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

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

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

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-editorial {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
}

.hero-editorial .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-editorial .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-editorial h1 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-editorial p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

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

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

.btn-primary:hover {
    background: #d4952f;
    color: var(--dark);
}

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

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

/* Editorial Sections */
.section-editorial {
    padding: 80px 24px;
}

.section-editorial.alt-bg {
    background: var(--white);
}

.section-editorial h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.section-editorial h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.editorial-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.inline-image {
    margin: 40px 0;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--primary);
}

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

/* Service Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 300px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card-image {
    height: 200px;
    background-color: var(--accent);
}

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

.service-card-content {
    padding: 24px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 16px;
}

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

.service-price span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Testimonials */
.testimonial-block {
    background: var(--primary);
    color: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    margin: 40px 0;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-role {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 80px 24px;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Form Styles */
.form-container {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 24px 24px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

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

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--light);
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    max-width: 1100px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Banner */
.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-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
}

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

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

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

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

/* Page Header */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 80px 24px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    flex: 1 1 250px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

/* Thanks Page */
.thanks-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
}

.thanks-box {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 600px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.thanks-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

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

/* Legal Pages */
.legal-content {
    padding: 60px 24px;
}

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

.legal-content h3 {
    color: var(--dark);
    margin: 24px 0 12px;
}

.legal-content p {
    margin-bottom: 16px;
}

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

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

/* Disclaimer */
.disclaimer {
    background: #f0e6d3;
    padding: 20px;
    border-radius: var(--radius);
    margin: 40px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* About Page */
.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    margin: 60px 0;
}

.about-text {
    flex: 1 1 400px;
}

.about-image {
    flex: 1 1 300px;
    background-color: var(--accent);
    border-radius: var(--radius);
    overflow: hidden;
}

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

/* Values */
.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    flex: 1 1 200px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 24px;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        display: block;
        padding: 16px 0;
    }

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

    .section-editorial {
        padding: 60px 24px;
    }

    .footer-content {
        gap: 32px;
    }

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

    .testimonial-block {
        padding: 32px;
    }

    .form-container {
        padding: 32px;
    }
}
