:root {
    --primary: #2d5a4a;
    --primary-light: #3d7a6a;
    --secondary: #c9a66b;
    --text-dark: #1a1a1a;
    --text-body: #3d3d3d;
    --text-light: #6b6b6b;
    --bg-cream: #faf8f5;
    --bg-sage: #e8ede9;
    --bg-warm: #f5f0e8;
    --white: #ffffff;
    --border: #d4d4d4;
    --shadow: rgba(0,0,0,0.08);
    --radius: 6px;
    --max-content: 720px;
    --max-wide: 1100px;
}

* {
    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-body);
    background: var(--bg-cream);
}

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

a:hover {
    color: var(--primary-light);
}

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

.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--max-wide);
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

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

.ad-notice {
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--bg-warm);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text-body);
    font-size: 0.95rem;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
}

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

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

.hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

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

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

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

.section {
    padding: 4rem 1.5rem;
}

.section-narrow {
    max-width: var(--max-content);
    margin: 0 auto;
}

.section-wide {
    max-width: var(--max-wide);
    margin: 0 auto;
}

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

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

.section-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.editorial-block {
    margin-bottom: 3rem;
}

.editorial-block h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.editorial-block h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.editorial-block p {
    margin-bottom: 1.2rem;
}

.inline-image {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--bg-sage);
}

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

.inline-image figcaption {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-cream);
}

.split-section {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

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

.split-content {
    flex: 1;
}

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

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

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
    box-shadow: 0 6px 20px var(--shadow);
    transform: translateY(-3px);
}

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

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

.service-card-body {
    padding: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px var(--shadow);
    max-width: 560px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,90,74,0.1);
}

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

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--primary-light);
}

.contact-info {
    background: var(--bg-warm);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.6rem;
    color: var(--text-body);
}

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

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
    margin: 2rem 0;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 1rem;
}

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

.cta-banner {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 3rem 0;
    border-radius: var(--radius);
}

.cta-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
    max-width: var(--max-wide);
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

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

.footer-col li {
    margin-bottom: 0.5rem;
}

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

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

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

.disclaimer {
    background: var(--bg-warm);
    padding: 1.5rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 2rem 0;
    line-height: 1.6;
}

.legal-content {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-content h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.legal-content p,
.legal-content li {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.thanks-content h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.thanks-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    z-index: 1000;
    display: none;
}

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

.cookie-inner {
    max-width: var(--max-wide);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
}

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

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 600;
}

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

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

.references {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.references h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.references ol {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 1.2rem;
}

.references li {
    margin-bottom: 0.4rem;
}

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

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

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 1rem;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border);
    }

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

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

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

    .section {
        padding: 2.5rem 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

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