:root {
    --color-primary: #1a365d;
    --color-secondary: #2c5282;
    --color-accent: #ed8936;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-bg-dark: #1a202c;
    --color-border: #e2e8f0;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --max-width-narrow: 680px;
    --max-width-medium: 900px;
    --max-width-wide: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

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

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.25rem;
}

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

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 1rem 2rem;
}

.brand-link {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-list a:hover::after,
.nav-list a:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform 0.2s ease;
}

.editorial-content {
    padding-top: 0;
}

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

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

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-text-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: var(--max-width-narrow);
    padding: 2rem;
    color: var(--color-bg);
}

.hero-text-overlay h1 {
    color: var(--color-bg);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.story-section {
    padding: 4rem 2rem;
}

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

.lead-paragraph {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

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

.offset-left .narrow-content {
    margin-left: 10%;
    margin-right: auto;
}

.inline-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-accent);
    color: var(--color-bg);
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.inline-cta:hover,
.inline-cta:focus {
    background-color: var(--color-secondary);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.inline-image-section {
    padding: 3rem 2rem;
    max-width: var(--max-width-medium);
    margin: 0 auto;
}

.image-with-caption {
    position: relative;
}

.image-with-caption img {
    border-radius: 8px;
    background-color: var(--color-bg-alt);
}

.image-caption {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 0.75rem;
    text-align: center;
}

.featured-services {
    padding: 5rem 2rem;
    background-color: var(--color-bg);
}

.services-intro {
    text-align: center;
    max-width: var(--max-width-narrow);
    margin: 0 auto 3rem;
}

.service-cards-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    justify-content: center;
}

.service-card {
    flex: 1 1 320px;
    max-width: 380px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

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

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

.card-content {
    padding: 1.5rem;
}

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

.card-link {
    display: inline-block;
    font-weight: 600;
    color: var(--color-secondary);
}

.testimonial-inline {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 5rem 2rem;
}

.featured-quote {
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.6;
}

.featured-quote p {
    margin-bottom: 1.5rem;
}

.featured-quote cite {
    font-size: 1rem;
    font-style: normal;
    opacity: 0.85;
}

.process-section {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.process-visual {
    flex: 1 1 400px;
    min-height: 400px;
    background-color: var(--color-bg-alt);
}

.process-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-content {
    flex: 1 1 500px;
    padding: 4rem 3rem;
    background-color: var(--color-bg-alt);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.step h4 {
    flex: 1 1 100%;
    margin-bottom: 0.25rem;
}

.step p {
    flex: 1 1 100%;
    margin-bottom: 0;
    padding-left: 3.5rem;
}

.cta-section {
    background-color: var(--color-secondary);
    padding: 5rem 2rem;
    text-align: center;
}

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

.cta-content h2 {
    color: var(--color-bg);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.primary-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-accent);
    color: var(--color-bg);
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.primary-cta:hover,
.primary-cta:focus {
    background-color: var(--color-bg);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.form-section {
    padding: 5rem 2rem;
    background-color: var(--color-bg);
}

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

.form-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-container > p {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15);
}

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

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    font-size: 1.0625rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover,
.submit-btn:focus {
    background-color: var(--color-secondary);
}

.site-footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    flex: 1 1 300px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-bg);
    margin-bottom: 0.5rem;
}

.brand-tagline {
    font-size: 0.9375rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.link-group h4 {
    color: var(--color-bg);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.5rem;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.link-group a:hover,
.link-group a:focus {
    color: var(--color-accent);
}

.footer-bottom {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
}

.disclaimer {
    font-size: 0.8125rem;
    opacity: 0.7;
    max-width: var(--max-width-medium);
    margin: 0 auto 1rem;
}

.copyright {
    font-size: 0.8125rem;
    opacity: 0.6;
    margin-bottom: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-dark);
    color: var(--color-bg);
    padding: 1.25rem 2rem;
    z-index: 1000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1 1 400px;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

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

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

.cookie-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
    background-color: #dd6b20;
}

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

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

.page-header {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    color: var(--color-bg);
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    margin-bottom: 0;
}

.page-content {
    padding: 4rem 2rem;
}

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

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

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: var(--max-width-medium);
    margin: 0 auto;
}

.service-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

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

.service-image {
    flex: 1 1 300px;
    background-color: var(--color-bg-alt);
    border-radius: 8px;
    overflow: hidden;
}

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

.service-info {
    flex: 1 1 400px;
}

.service-info h3 {
    font-size: 1.5rem;
}

.price-tag {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-bg);
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.375rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.team-section {
    padding: 4rem 2rem;
    background-color: var(--color-bg-alt);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: var(--max-width-wide);
    margin: 2rem auto 0;
}

.team-member {
    flex: 1 1 280px;
    max-width: 320px;
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    background-color: var(--color-border);
}

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

.team-member h3 {
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.team-member p:last-child {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: var(--max-width-medium);
    margin: 0 auto;
}

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

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h4 {
    color: var(--color-text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.info-item p {
    margin-bottom: 0;
    font-size: 1.0625rem;
}

.contact-map {
    flex: 1 1 400px;
    min-height: 350px;
    background-color: var(--color-bg-alt);
    border-radius: 8px;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.legal-content li {
    margin-bottom: 0.5rem;
}

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

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-bg);
    stroke-width: 3;
    fill: none;
}

.thanks-box h1 {
    margin-bottom: 1rem;
}

.thanks-box p {
    color: var(--color-text-light);
    font-size: 1.0625rem;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.back-link:hover,
.back-link:focus {
    background-color: var(--color-secondary);
    color: var(--color-bg);
}

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

    h2 {
        font-size: 1.5rem;
    }

    .header-container {
        padding: 1rem;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 1rem;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--color-border);
    }

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

    .nav-list a {
        display: block;
        padding: 0.875rem 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .offset-left .narrow-content {
        margin-left: auto;
    }

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

    .process-visual {
        min-height: 250px;
    }

    .process-content {
        padding: 3rem 2rem;
    }

    .step p {
        padding-left: 0;
    }

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

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

    .contact-layout {
        flex-direction: column;
    }
}
