:root {
    --primary-color: #2c5f8d;
    --primary-dark: #1a3d5c;
    --secondary-color: #5a8fb4;
    --accent-color: #d4a960;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    z-index: 999;
    overflow-y: auto;
}

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

.nav-menu li {
    margin: 0 0 1rem 0;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.page-hero {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.section {
    padding: 4rem 0;
}

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

.section-highlight {
    background: var(--primary-color);
    color: var(--bg-white);
}

.section-highlight h2,
.section-highlight h3,
.section-highlight p {
    color: var(--bg-white);
}

.section-stats {
    background: var(--primary-dark);
    color: var(--bg-white);
}

.section-cta {
    background: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.intro-block {
    max-width: 800px;
    margin: 0 auto;
}

.intro-block p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-icon img {
    width: 60px;
    height: 60px;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.content-split-text {
    flex: 1;
}

.content-split-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-split-visual img {
    max-width: 400px;
    width: 100%;
}

.services-preview {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-preview-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-preview-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 1rem;
}

.link-arrow::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.link-arrow:hover::after {
    margin-left: 1rem;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

.process-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-step h3 {
    color: var(--primary-color);
}

.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

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

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

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: var(--text-light);
}

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

.btn-light:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.service-header h2 {
    margin-bottom: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.service-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-includes h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-includes ul {
    list-style-type: none;
    padding-left: 0;
}

.service-includes li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

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

.pricing-philosophy {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-philosophy p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info,
.contact-description {
    flex: 1;
}

.contact-block {
    margin-bottom: 2rem;
}

.contact-block h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-block p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.info-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    margin-bottom: 1rem;
}

.info-box ul {
    list-style-type: none;
    padding-left: 0;
}

.info-box li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.info-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.directions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.direction-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.direction-item p {
    line-height: 1.8;
}

.office-info {
    max-width: 900px;
    margin: 0 auto;
}

.office-info p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.thank-you-section {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-icon img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.team-intro p {
    font-size: 1.1rem;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.team-icon {
    margin: 0 auto 1.5rem;
}

.team-icon img {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.team-role {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.differences {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.difference-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.difference-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.legal-text p,
.legal-text li {
    line-height: 1.8;
}

.legal-update {
    margin-top: 3rem;
    font-style: italic;
    color: var(--text-light);
}

.cookie-table {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.cookie-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-row:last-child {
    border-bottom: none;
}

.cookie-col {
    padding: 0.25rem 0;
}

.footer {
    background: var(--text-color);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

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

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-color);
    color: var(--bg-white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cookie-options {
    margin-bottom: 2rem;
}

.cookie-option {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

    h2 {
        font-size: 2rem;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
        background: none;
    }

    .nav-menu li {
        margin: 0 0 0 1.5rem;
    }

    .nav-menu a {
        padding: 0.5rem 0;
        background: none;
    }

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

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .benefits-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .benefit-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .content-split {
        flex-direction: row;
    }

    .services-preview {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-preview-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .testimonials {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .testimonial-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .process-step {
        flex-direction: row;
        align-items: flex-start;
    }

    .service-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .contact-grid {
        flex-direction: row;
    }

    .thank-you-actions {
        flex-direction: row;
        justify-content: center;
    }

    .values-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .value-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .team-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .team-member {
        flex: 1 1 calc(50% - 1rem);
    }

    .timeline-item {
        flex-direction: row;
        gap: 2rem;
    }

    .timeline-year {
        min-width: 100px;
        flex-shrink: 0;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-col {
        flex: 1;
    }

    .cookie-content {
        flex-direction: row;
        text-align: left;
    }

    .cookie-buttons {
        flex-direction: row;
        width: auto;
    }

    .cookie-modal-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .benefits-grid {
        flex-wrap: nowrap;
    }

    .benefit-card {
        flex: 1;
    }

    .services-preview {
        flex-wrap: nowrap;
    }

    .service-preview-card {
        flex: 1;
    }

    .stats-grid {
        flex-wrap: nowrap;
    }

    .stat-item {
        flex: 1;
    }

    .testimonials {
        flex-wrap: nowrap;
    }

    .testimonial-card {
        flex: 1;
    }

    .team-grid {
        flex-wrap: nowrap;
    }

    .team-member {
        flex: 1;
    }

    .values-grid {
        flex-wrap: nowrap;
    }

    .value-card {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}