:root {
    --color-primary: #2c4a6e;
    --color-secondary: #8b7355;
    --color-accent: #c9a86c;
    --color-dark: #1a1a2e;
    --color-light: #f8f6f3;
    --color-muted: #6b7280;
    --color-bg-alt: #eae6df;
    --color-white: #ffffff;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', sans-serif;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.7;
    font-size: 16px;
}

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

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

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

h1 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.6rem; margin-bottom: 1rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.8rem; }

p { margin-bottom: 1.2rem; }

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

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

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

.header {
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad-disclosure {
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.header-main {
    padding: 16px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}

.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(--color-bg-alt);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3.2rem;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 600px;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

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

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

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

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

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

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-muted);
}

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

.editorial-block p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.editorial-image {
    margin: 32px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

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

.editorial-quote {
    border-left: 4px solid var(--color-accent);
    padding-left: 24px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-secondary);
}

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

.service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 300px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-image {
    height: 200px;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

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

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

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

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

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-bg-alt);
}

.price-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-unit {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.feature-item {
    flex: 1 1 calc(33.333% - 24px);
    min-width: 250px;
    text-align: center;
    padding: 32px;
}

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

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

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

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

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

.testimonial-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}

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

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

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

.testimonial-info h4 {
    margin-bottom: 4px;
    color: var(--color-dark);
}

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

.form-section {
    background: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    max-width: 700px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-bg-alt);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    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;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.form-actions .btn {
    flex: 1;
}

.contact-info-block {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-lg);
}

.contact-info-block h3 {
    color: var(--color-white);
    margin-bottom: 24px;
}

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

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent);
    flex-shrink: 0;
}

.contact-item span {
    font-size: 1rem;
}

.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 64px 0 24px;
}

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

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

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

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

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

.footer-col a {
    color: var(--color-muted);
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.disclaimer {
    background: var(--color-bg-alt);
    padding: 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-top: 32px;
    line-height: 1.6;
}

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

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

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

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

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

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

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

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

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

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

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

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

.page-header p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

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

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.legal-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

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

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

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

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

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

.thanks-content h1 {
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 1.1rem;
    color: var(--color-muted);
}

.cta-inline {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 48px 0;
}

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

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

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

.about-intro-content {
    flex: 2;
}

.about-intro-sidebar {
    flex: 1;
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.stat-item {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-bg-alt);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

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

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

.team-member {
    flex: 1 1 calc(33.333% - 24px);
    min-width: 250px;
    text-align: center;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

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

.team-member h4 {
    margin-bottom: 4px;
}

.team-member span {
    color: var(--color-muted);
}

.process-timeline {
    position: relative;
    padding-left: 48px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-bg-alt);
}

.process-step {
    position: relative;
    padding-bottom: 40px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 4px;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 4px solid var(--color-white);
}

.process-step h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
}

.reference-list {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.reference-list h4 {
    margin-bottom: 16px;
}

.reference-list ol {
    margin-left: 20px;
}

.reference-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.reference-list a {
    word-break: break-all;
}

@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
    }

    .split-section.reverse {
        flex-direction: column;
    }

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

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

    .service-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero h1 { font-size: 2.4rem; }

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

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

    .nav-main ul {
        flex-direction: column;
        gap: 16px;
    }

    .nav-toggle {
        display: block;
    }

    .header-main .container {
        position: relative;
    }

    .section {
        padding: 48px 0;
    }

    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }

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

    .features-list {
        flex-direction: column;
    }

    .form-section {
        padding: 24px;
    }

    .form-actions {
        flex-direction: column;
    }

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