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

:root {
    --primary: #1a3a52;
    --secondary: #d4af37;
    --accent: #8b4513;
    --light: #f8f6f3;
    --dark: #2c2c2c;
    --text: #333333;
    --border: #e0d8cc;
}

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

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

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

header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.ad-notice {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    padding: 4px 12px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid var(--border);
}

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

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

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

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-primary:hover {
    background: #14304a;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: white;
}

.editorial-text {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.editorial-text h2 {
    font-size: 2.4rem;
    margin-bottom: 24px;
    color: var(--primary);
    line-height: 1.3;
}

.editorial-text h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--accent);
}

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

.inline-image {
    width: 100%;
    max-width: 720px;
    height: 400px;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
    background: #e8e5e0;
}

.cta-inline {
    background: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 32px;
    margin: 48px 0;
    text-align: center;
    border-radius: 4px;
}

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

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

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    flex: 1;
    min-width: 280px;
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-card p {
    margin-bottom: 20px;
    color: #555;
}

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

.price-unit {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}

.form-section {
    background: white;
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--primary);
    text-align: center;
}

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

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

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

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

.testimonial {
    background: var(--light);
    padding: 32px;
    border-radius: 8px;
    margin: 48px auto;
    max-width: 720px;
    border-left: 4px solid var(--secondary);
}

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

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

.reference {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 0 2px;
}

.reference:hover {
    text-decoration: underline;
}

.references-section {
    background: #f5f3f0;
    padding: 48px 0;
    margin-top: 80px;
}

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

.references-list h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.references-list ol {
    padding-left: 24px;
}

.references-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.references-list a {
    color: var(--primary);
    word-break: break-all;
}

.disclaimer {
    background: #fff9e6;
    border: 2px solid #f4e4b3;
    padding: 24px;
    border-radius: 6px;
    margin: 48px auto;
    max-width: 720px;
}

.disclaimer h4 {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.disclaimer p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

footer {
    background: var(--dark);
    color: #ccc;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

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

.contact-info p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--primary);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

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

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

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

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

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

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

.legal-content h3 {
    font-size: 1.3rem;
    margin: 24px 0 12px;
    color: var(--primary);
}

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

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

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

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

.thanks-container h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.thanks-container p {
    font-size: 1.3rem;
    margin-bottom: 32px;
    max-width: 600px;
}

.checkmark {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 3rem;
    color: white;
}

@media (max-width: 768px) {
    nav ul {
        gap: 16px;
        font-size: 0.9rem;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .service-cards {
        flex-direction: column;
    }

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

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

    .ad-notice {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}
