/* CSS Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #3d6b5f;
    --color-primary-dark: #2d5047;
    --color-secondary: #d4a574;
    --color-accent: #8fb3a5;
    --color-bg: #faf9f7;
    --color-bg-alt: #f0eeea;
    --color-text: #2c3e36;
    --color-text-light: #5a6b62;
    --color-white: #ffffff;
    --color-border: #ddd9d3;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--color-text);
    font-weight: 600;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.625rem; }

p { margin-bottom: 1rem; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header & Navigation */
.header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo svg {
    width: 36px;
    height: 36px;
}

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

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

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

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    gap: 0.5rem;
}

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

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

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

.btn-secondary:hover {
    background: #c4955e;
    color: var(--color-white);
}

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

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

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-white) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    color: var(--color-primary-dark);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Cards */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    flex: 1 1 300px;
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

/* Service Cards */
.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

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

.service-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-light);
}

/* Feature Blocks */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature {
    flex: 1 1 280px;
    display: flex;
    gap: 1rem;
}

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

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.feature-content h4 {
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* Statistics */
.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.stat {
    text-align: center;
    padding: 1.5rem 2rem;
}

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

.stat-label {
    color: var(--color-text-light);
    margin-top: 0.5rem;
    font-size: 0.9375rem;
}

/* Testimonials */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial {
    flex: 1 1 350px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.testimonial-role {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Quote Section */
.quote-section {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
}

.quote-section blockquote {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.quote-section cite {
    font-style: normal;
    opacity: 0.8;
}

/* Process Steps */
.process {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1 1 250px;
    text-align: center;
    position: relative;
}

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

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform var(--transition);
}

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

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

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-light);
}

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

/* Industries */
.industries {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.industry-tag {
    background: var(--color-bg-alt);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition);
}

.industry-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Values */
.values {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.value-item {
    flex: 1 1 300px;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-bg-alt) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}

/* Contact Info */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.contact-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--color-text-light);
}

/* Map placeholder */
.map-placeholder {
    flex: 1 1 400px;
    min-height: 300px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: var(--color-text-light);
}

.map-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

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

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

.cta-section p {
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Footer */
.footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.9375rem;
}

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

.footer-links h4 {
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

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

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

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

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

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

/* Thank You Page */
.thank-you {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

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

.thank-you-icon svg {
    width: 50px;
    height: 50px;
    color: var(--color-white);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-text);
    color: var(--color-white);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

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

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

.cookie-text {
    flex: 1;
    font-size: 0.9375rem;
}

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

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

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
    transition: all var(--transition);
}

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

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

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

.cookie-reject:hover {
    border-color: var(--color-white);
}

.cookie-settings {
    background: transparent;
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

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

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    line-height: 1;
}

.cookie-modal-body {
    padding: 1.5rem;
}

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

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

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-option-title {
    font-weight: 600;
}

.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-border);
    border-radius: 24px;
    transition: var(--transition);
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-option-desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Alternating Blocks */
.alt-block {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.alt-block:nth-child(even) {
    flex-direction: row-reverse;
}

.alt-block-content {
    flex: 1 1 400px;
}

.alt-block-visual {
    flex: 1 1 300px;
    min-height: 250px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.alt-block-visual svg {
    width: 120px;
    height: 120px;
    color: var(--color-primary);
    opacity: 0.7;
}

/* Comparison */
.comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.comparison-card {
    flex: 1 1 300px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.comparison-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.02);
}

.comparison-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.comparison-list .check {
    color: var(--color-primary);
}

/* Highlighted Panel */
.highlight-panel {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.highlight-panel h2,
.highlight-panel h3 {
    color: var(--color-white);
}

/* Milestones */
.milestones {
    position: relative;
    padding-left: 2rem;
}

.milestones::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.milestone {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.milestone::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translateX(-6px);
}

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

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem 1.25rem;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }

    .menu-toggle {
        display: flex;
    }

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

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

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero {
        padding: 3rem 0;
    }

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

    .section {
        padding: 3rem 0;
    }

    .stat-number {
        font-size: 2.25rem;
    }

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

    .cookie-buttons {
        justify-content: center;
    }

    .alt-block,
    .alt-block:nth-child(even) {
        flex-direction: column;
    }

    .comparison-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.faq-question:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    z-index: 10001;
}

.skip-link:focus {
    top: 1rem;
}
