:root {
    --primary: #2d4a6f;
    --secondary: #8b5a3c;
    --accent: #c9a86c;
    --dark: #1a1a2e;
    --light: #f8f6f3;
    --text: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-strong: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 40px;
    height: 40px;
}

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

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

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

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: #6d4630;
    color: var(--white);
    transform: translateY(-2px);
}

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

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

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.hero-editorial {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.hero-editorial h1 {
    font-size: 2.8rem;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-image-wrap {
    margin: 50px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.hero-image-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section {
    padding: 80px 0;
}

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

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

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

.section-dark p {
    color: rgba(255,255,255,0.85);
}

h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-40 {
    margin-bottom: 40px;
}

.editorial-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 30px;
}

.editorial-text p {
    margin-bottom: 25px;
}

.highlight-box {
    background: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 30px 35px;
    margin: 40px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-box p {
    margin: 0;
    font-style: italic;
    color: var(--text);
}

.inline-cta {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin: 50px 0;
    text-align: center;
}

.inline-cta h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.inline-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-5px);
}

.service-card-inner {
    display: flex;
    flex-direction: column;
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-card h3 {
    margin-bottom: 12px;
}

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

.service-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

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

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    flex: 1 1 280px;
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.testimonial-block {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin: 40px 0;
    position: relative;
}

.testimonial-block::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
}

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

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

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

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

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

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.form-section {
    background: var(--light);
    padding: 80px 0;
}

.form-wrap {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

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

.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 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

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

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233d3d3d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.split-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.split-content {
    flex: 1 1 400px;
}

.split-image {
    flex: 1 1 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.about-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.about-photo {
    flex: 0 0 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.values-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

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

.contact-text strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}

footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

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

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

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

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

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

.footer-col a {
    color: rgba(255,255,255,0.7);
}

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

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

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

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

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

.cookie-text {
    flex: 1 1 400px;
    font-size: 0.95rem;
}

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

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

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

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

.sticky-cta {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta .btn {
    box-shadow: var(--shadow-strong);
}

.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

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

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

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

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

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

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

.policy-content h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.policy-content h2 {
    font-size: 1.4rem;
    margin: 40px 0 15px;
}

.policy-content p,
.policy-content li {
    margin-bottom: 15px;
    color: var(--text);
}

.policy-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--light) 0%, #e0ddd8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.numbers-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #6d4630 100%);
    padding: 100px 0;
    text-align: center;
}

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

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

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

.cta-section .btn:hover {
    background: var(--light);
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .service-card-inner {
        flex-direction: row;
    }

    .service-card-image {
        width: 280px;
        height: auto;
        flex-shrink: 0;
    }

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

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

    nav {
        display: none;
        width: 100%;
        order: 3;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--light);
    }

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

    h2 {
        font-size: 1.7rem;
    }

    .section {
        padding: 60px 0;
    }

    .form-wrap {
        padding: 30px 20px;
    }

    .split-section {
        gap: 40px;
    }

    .footer-grid {
        gap: 30px;
    }

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

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-editorial {
        padding: 50px 0 40px;
    }

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

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .testimonial-block {
        padding: 30px 25px;
    }

    .highlight-box {
        padding: 25px;
    }
}
