:root {
    --primary: #2c5f7c;
    --primary-dark: #1e4a5f;
    --secondary: #e8a54b;
    --accent: #3d8b6e;
    --bg-light: #faf9f7;
    --bg-warm: #f5f0e8;
    --bg-dark: #1a2e3a;
    --text-main: #2d3748;
    --text-light: #718096;
    --text-inverse: #f7fafc;
    --border: #e2e8f0;
    --shadow: rgba(44, 95, 124, 0.12);
    --fallback-img: #d4c8b8;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

.ad-notice {
    background: var(--bg-warm);
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

header {
    background: white;
    box-shadow: 0 2px 12px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

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: 3px;
    background: var(--text-main);
    margin: 5px 0;
    transition: 0.3s;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--fallback-img);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 46, 58, 0.85) 0%, rgba(44, 95, 124, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #d4962f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 165, 75, 0.4);
}

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

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

.section {
    padding: 80px 0;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-dark .section-header h2 {
    color: white;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.editorial-block {
    margin-bottom: 48px;
}

.editorial-block h3 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 16px;
}

.editorial-block p {
    margin-bottom: 16px;
    color: var(--text-main);
}

.editorial-image {
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--fallback-img);
}

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

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

.service-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    display: flex;
    flex-direction: row;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--shadow);
}

.service-image {
    flex: 0 0 40%;
    min-height: 280px;
    background-color: var(--fallback-img);
    position: relative;
}

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

.service-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
}

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

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

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

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.feature-card {
    flex: 1 1 280px;
    max-width: 350px;
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px var(--shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.feature-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

.testimonials {
    padding: 60px 0;
}

.testimonial-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px var(--shadow);
    border-left: 4px solid var(--secondary);
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 16px;
}

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

.testimonial-location {
    color: var(--text-light);
    font-size: 14px;
}

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

.cta-section h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    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(--primary);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit:hover {
    background: #d4962f;
}

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

.about-intro-text {
    flex: 1;
}

.about-intro-image {
    flex: 0 0 45%;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--fallback-img);
}

.stats-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 48px 0;
    background: var(--primary);
    border-radius: 12px;
}

.stat-item {
    text-align: center;
    padding: 0 32px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
}

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

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

.contact-info h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 24px;
}

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

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

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

.contact-details h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--text-light);
    font-size: 15px;
}

footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: 60px 0 24px;
}

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

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 15px;
}

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

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

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

.disclaimer {
    background: var(--bg-warm);
    padding: 24px;
    border-radius: 8px;
    margin-top: 48px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

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

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

.legal-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

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

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

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

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

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.thanks-content h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

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

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

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

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

.cookie-text {
    flex: 1;
    font-size: 14px;
    color: var(--text-main);
}

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

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

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

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

.cookie-accept:hover {
    background: var(--primary-dark);
}

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

.cookie-reject:hover {
    background: var(--bg-warm);
}

.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-light);
}

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

.breadcrumb span {
    margin: 0 8px;
}

.inline-cta {
    background: var(--bg-warm);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    border: 2px dashed var(--secondary);
}

.inline-cta h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
}

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

@media (max-width: 768px) {
    .header-main {
        padding: 12px 16px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: -4px 0 20px var(--shadow);
        transition: right 0.3s ease;
    }

    nav.active {
        right: 0;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .section {
        padding: 48px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .service-image {
        min-height: 200px;
    }

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

    .footer-grid {
        gap: 32px;
    }

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

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

    .stats-row {
        gap: 24px;
        padding: 32px 16px;
    }

    .stat-number {
        font-size: 36px;
    }
}
