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

:root {
    --primary: #2d5f8d;
    --secondary: #c67c3e;
    --accent: #8faa96;
    --dark: #1a1a1a;
    --light: #f7f3ed;
    --text: #333333;
    --border: #d4c5b9;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

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

header {
    background: var(--dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--secondary);
}

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

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

.ad-notice {
    background: rgba(198, 124, 62, 0.15);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--light);
    border: 1px solid var(--secondary);
}

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

nav a {
    color: var(--light);
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 38, 48, 0.9), rgba(45, 95, 141, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--light);
    padding: 80px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    max-width: 680px;
}

.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #a96730;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 124, 62, 0.3);
}

.story-section {
    padding: 100px 20px;
    background: white;
}

.story-content {
    max-width: 750px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary);
    line-height: 1.3;
}

.story-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: #4a4a4a;
}

.inline-image {
    margin: 45px 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--accent);
}

.inline-image img {
    width: 100%;
    height: 420px;
}

.split-section {
    display: flex;
    align-items: stretch;
    min-height: 550px;
}

.split-content {
    flex: 1;
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image {
    flex: 1;
    background-color: var(--accent);
}

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

.split-left {
    background: var(--light);
}

.split-right {
    background: white;
}

.split-section h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.split-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.split-section ul {
    list-style: none;
    margin: 25px 0;
}

.split-section li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.split-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.services-grid {
    padding: 90px 20px;
    background: linear-gradient(to bottom, #f0ebe3, white);
}

.services-grid h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--primary);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    flex: 0 1 320px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-image {
    height: 220px;
    background-color: var(--accent);
}

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

.service-info {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.select-service-btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.select-service-btn:hover {
    background: #234a6d;
}

.select-service-btn.selected {
    background: var(--secondary);
}

.testimonials-section {
    padding: 90px 20px;
    background: var(--dark);
    color: var(--light);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.testimonials-wrapper {
    display: flex;
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.testimonial {
    flex: 1;
    min-width: 280px;
    background: rgba(255,255,255,0.05);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.testimonial p {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial cite {
    font-weight: 600;
    font-style: normal;
    color: var(--secondary);
}

.form-section {
    padding: 100px 20px;
    background: white;
}

.form-section h2 {
    text-align: center;
    font-size: 2.7rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.form-section .subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light);
    padding: 45px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

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

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

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

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

.submit-btn {
    background: var(--secondary);
    color: white;
    padding: 16px 50px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

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

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.selected-service-notice {
    background: rgba(45, 95, 141, 0.1);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
    display: none;
}

.selected-service-notice.visible {
    display: block;
}

.footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 20px 30px;
}

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

.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: var(--light);
    transition: color 0.3s;
}

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

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.disclaimer {
    background: #fff9f0;
    border: 1px solid #f0d9b5;
    padding: 25px;
    margin: 50px auto;
    border-radius: 8px;
    max-width: 900px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.disclaimer strong {
    color: var(--dark);
}

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

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

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

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

.cookie-text p {
    margin-bottom: 8px;
}

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

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

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

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

.cookie-accept:hover {
    background: #a96730;
}

.cookie-reject {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
}

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

.page-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.page-content h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.contact-info-section {
    padding: 80px 20px;
    background: white;
}

.contact-grid {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-details h2 {
    font-size: 2.3rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.info-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    background-color: var(--accent);
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
}

.thanks-section {
    padding: 120px 20px;
    text-align: center;
    background: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.thanks-content h1 {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.thanks-content p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #555;
}

.thanks-content .service-selected {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    font-weight: 600;
    color: var(--secondary);
}

.citation {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted var(--primary);
}

.citation:hover {
    color: var(--secondary);
}

.references-section {
    background: var(--light);
    padding: 40px 20px;
    margin-top: 50px;
}

.references-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.references-section ol {
    padding-left: 25px;
}

.references-section li {
    margin-bottom: 15px;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }

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

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

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        max-width: 400px;
        width: 100%;
    }

    .testimonials-wrapper {
        flex-direction: column;
    }

    nav {
        width: 100%;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
