:root {
    --primary: #1a4d7c;
    --primary-dark: #0d3a5c;
    --secondary: #e8b923;
    --accent: #2d8a6e;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #f8f9fa;
    --bg-cream: #fdfbf7;
    --bg-blue: #e8f1f8;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.2s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Hero Editorial */
.hero-editorial {
    padding: 160px 24px 80px;
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-cream) 100%);
    text-align: center;
}

.hero-editorial .eyebrow {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-editorial h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--primary);
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-image {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Editorial Content */
.editorial-section {
    padding: 80px 24px;
}

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

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

.editorial-intro {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 32px;
}

.editorial-intro::first-letter {
    font-size: 3.5rem;
    float: left;
    line-height: 1;
    margin-right: 12px;
    color: var(--primary);
    font-weight: 700;
}

.editorial-text {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text);
}

.editorial-heading {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 48px 0 24px;
    font-weight: 700;
}

.editorial-subheading {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 36px 0 16px;
    font-weight: 600;
}

/* Inline Image */
.inline-image {
    margin: 48px -100px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.inline-image img {
    width: 100%;
    height: auto;
    display: block;
}

.inline-image figcaption {
    background: var(--bg-light);
    padding: 12px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Quote Block */
.quote-block {
    background: var(--primary);
    color: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    margin: 48px 0;
    position: relative;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: rgba(255,255,255,0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-block p {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.quote-block cite {
    display: block;
    margin-top: 20px;
    font-size: 0.95rem;
    font-style: normal;
    opacity: 0.8;
}

/* Info Box */
.info-box {
    background: var(--bg-cream);
    border-left: 4px solid var(--secondary);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.info-box p {
    margin: 0;
    color: var(--text);
}

/* Steps List */
.steps-list {
    counter-reset: steps;
    margin: 32px 0;
}

.step-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.step-number {
    counter-increment: steps;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
}

/* Services Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 48px 0;
}

.service-card {
    flex: 1 1 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-image svg {
    width: 64px;
    height: 64px;
    fill: var(--white);
}

.service-card-body {
    padding: 28px;
}

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

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

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

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

.price-unit {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #d4a820;
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 24px;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Inline CTA */
.inline-cta {
    background: var(--bg-cream);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

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

.inline-cta-text p {
    color: var(--text-light);
    margin: 0;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.sticky-cta .btn {
    box-shadow: var(--shadow-lg);
}

/* Form Styles */
.form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 48px;
    margin: 48px 0;
}

.form-section h2 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.form-section .form-intro {
    color: var(--text-light);
    margin-bottom: 32px;
}

.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: 14px 18px;
    border: 2px solid #e1e5e9;
    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(26, 77, 124, 0.1);
}

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

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin: 24px 0;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text);
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info strong {
    display: block;
    color: var(--text);
}

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

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    margin: 48px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 64px 24px 32px;
}

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

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

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

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

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

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 24px;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 24px;
    z-index: 10000;
    display: none;
}

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

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

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

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

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

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

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-cream) 100%);
    text-align: center;
}

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

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

.thanks-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--white);
}

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

.thanks-content p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

/* Contact Info */
.contact-info {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

/* About Page */
.about-hero {
    padding: 160px 24px 80px;
    background: var(--bg-blue);
    text-align: center;
}

.about-hero h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 48px 0;
}

.team-card {
    flex: 0 1 280px;
    text-align: center;
}

.team-avatar {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    font-weight: 700;
}

.team-card h3 {
    color: var(--primary);
    margin-bottom: 4px;
}

.team-card span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Page Headers */
.page-header {
    padding: 140px 24px 60px;
    background: var(--bg-light);
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-content {
    padding: 60px 24px 80px;
}

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

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

.legal-content p {
    margin-bottom: 16px;
    color: var(--text);
}

.legal-content ul {
    margin: 16px 0 16px 24px;
    color: var(--text);
}

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

/* Map Placeholder */
.map-container {
    height: 300px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0;
    border: 2px dashed #ddd;
}

.map-container span {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-editorial {
        padding: 120px 24px 60px;
    }

    .inline-image {
        margin: 32px 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .inline-cta {
        flex-direction: column;
        text-align: center;
    }

    .stats-row {
        gap: 32px;
    }

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

    .footer-legal a {
        margin: 0 12px;
    }

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

    .sticky-cta {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .sticky-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-editorial h1 {
        font-size: 1.8rem;
    }

    .form-section {
        padding: 28px 20px;
    }

    .quote-block {
        padding: 28px;
    }

    .service-card-body {
        padding: 20px;
    }
}
