/* Base Reset and Variables */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-primary-light: #3b82f6;
    --color-secondary: #64748b;
    --color-success: #22c55e;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-text-lighter: #9ca3af;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-bg-dark: #f3f4f6;
    --color-border: #e5e7eb;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

ul, ol {
    list-style: none;
}

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

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

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

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

.btn-secondary:hover {
    background-color: var(--color-border);
    color: var(--color-text);
}

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

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

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

.nav {
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-text);
}

.logo svg {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

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

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition);
}

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

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

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

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

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Page Hero */
.page-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

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

.page-hero-small {
    padding: 40px 0;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.section-header h2 {
    margin-bottom: 16px;
}

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

/* Stats Section */
.stats-section {
    padding: 48px 0;
    background-color: var(--color-primary);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Philosophy Section */
.philosophy-section {
    background-color: var(--color-bg-alt);
}

.philosophy-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.philosophy-text {
    flex: 1;
}

.philosophy-text h2 {
    margin-bottom: 20px;
}

.philosophy-text p {
    color: var(--color-text-light);
}

.philosophy-text .btn {
    margin-top: 24px;
}

.philosophy-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Services Preview */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    padding: 32px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
}

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

.services-cta {
    text-align: center;
}

/* Process Section */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.step-content h3 {
    margin-bottom: 8px;
}

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

.process-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
    gap: 16px;
}

.process-horizontal .process-step {
    flex: 1 1 calc(20% - 16px);
    min-width: 180px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
}

.process-horizontal .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin: 0 auto;
}

.process-horizontal .step-icon {
    margin: 0 auto 8px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-bg-alt);
}

.testimonials-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 300px;
    background-color: var(--color-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-content p {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 24px;
}

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

.author-avatar {
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 600;
}

.author-location {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
}

.trust-content h2 {
    text-align: center;
    margin-bottom: 40px;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-item {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    display: flex;
    gap: 20px;
}

.trust-item svg {
    flex-shrink: 0;
}

.trust-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.trust-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Industries Section */
.industries-section {
    background-color: var(--color-bg-alt);
}

.industries-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.industry-item span {
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

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

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

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 20px;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: var(--color-text-light);
}

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

.cta-content {
    text-align: center;
    color: #ffffff;
}

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn-primary {
    background-color: #ffffff;
    color: var(--color-primary);
}

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

/* Story Section */
.story-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.story-text {
    flex: 1;
}

.story-text h2 {
    margin-bottom: 20px;
}

.story-text p {
    color: var(--color-text-light);
}

.story-visual {
    flex: 1;
}

/* Values Section */
.values-section {
    background-color: var(--color-bg-alt);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.value-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    padding: 32px;
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 12px;
}

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

/* Team Section */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
}

.team-member {
    flex: 1 1 calc(25% - 24px);
    min-width: 240px;
    text-align: center;
}

.member-avatar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.team-member h3 {
    margin-bottom: 4px;
}

.member-role {
    display: block;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-member p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

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

.team-stat .stat-number {
    color: var(--color-primary);
    font-size: 2rem;
}

.team-stat .stat-label {
    color: var(--color-text-light);
}

/* Milestones Section */
.milestones-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

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

.milestone-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}

.milestone-year {
    flex-shrink: 0;
    width: 60px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: right;
}

.milestone-content {
    flex: 1;
    padding-left: 24px;
    position: relative;
}

.milestone-content::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 4px;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.milestone-content h3 {
    margin-bottom: 8px;
}

.milestone-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Approach Section */
.approach-section {
    background-color: var(--color-bg-alt);
}

.approach-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.approach-text {
    flex: 1;
}

.approach-text h2 {
    margin-bottom: 20px;
}

.approach-text p {
    color: var(--color-text-light);
}

.approach-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Services Detail */
.services-main {
    padding: 60px 0;
}

.service-detail {
    margin-bottom: 48px;
    padding: 32px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.service-detail-header {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.service-detail-icon {
    flex-shrink: 0;
}

.service-detail-info {
    flex: 1;
}

.service-detail-info h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-detail-info p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

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

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

.service-detail-content {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.service-includes,
.service-timeline {
    flex: 1 1 300px;
}

.service-includes h3,
.service-timeline h3 {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--color-text);
}

.service-includes ul {
    list-style: disc;
    padding-left: 20px;
}

.service-includes li {
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.service-timeline p {
    color: var(--color-text-light);
}

/* Pricing Info */
.pricing-info {
    background-color: var(--color-bg-alt);
    padding: 60px 0;
}

.pricing-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.pricing-text {
    flex: 1;
}

.pricing-text h2 {
    margin-bottom: 16px;
}

.pricing-text p {
    color: var(--color-text-light);
}

.pricing-factors {
    list-style: disc;
    padding-left: 20px;
    margin: 16px 0;
}

.pricing-factors li {
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.pricing-guarantee {
    flex: 0 0 350px;
    padding: 32px;
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.guarantee-badge {
    margin-bottom: 20px;
}

.guarantee-badge svg {
    margin: 0 auto;
}

.pricing-guarantee h3 {
    margin-bottom: 12px;
}

.pricing-guarantee p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Comparison Table */
.comparison-section {
    padding: 60px 0;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-header,
.comparison-row {
    display: flex;
    border-bottom: 1px solid var(--color-border);
}

.comparison-header {
    background-color: var(--color-bg-dark);
    font-weight: 600;
}

.comparison-cell {
    flex: 1;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 120px;
}

.comparison-cell:first-child {
    flex: 2;
    justify-content: flex-start;
    text-align: left;
}

.comparison-cell.highlight {
    background-color: rgba(37, 99, 235, 0.05);
}

.comparison-header .comparison-cell.highlight {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
}

.comparison-price .comparison-cell {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-main {
    padding: 60px 0;
}

.contact-grid {
    display: flex;
    gap: 48px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 8px;
}

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

.contact-details a {
    color: var(--color-primary);
}

.contact-note {
    font-size: 0.875rem;
    color: var(--color-text-lighter);
    margin-top: 4px;
}

.contact-description {
    flex: 1;
}

.contact-description h2 {
    margin-bottom: 16px;
}

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

.company-info-block {
    margin-top: 32px;
    padding: 24px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.company-info-block h3 {
    margin-bottom: 16px;
}

.company-info-block ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-info-block li {
    color: var(--color-text-light);
}

/* Directions Section */
.directions-section {
    background-color: var(--color-bg-alt);
    padding: 60px 0;
}

.directions-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.directions-text {
    flex: 1;
}

.directions-text h2 {
    margin-bottom: 24px;
}

.direction-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.direction-icon {
    flex-shrink: 0;
    padding-top: 4px;
}

.direction-item h4 {
    margin-bottom: 4px;
}

.direction-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.directions-visual {
    flex: 1;
}

/* Why Us Section */
.why-us-section {
    padding: 60px 0;
}

.why-us-content h2 {
    text-align: center;
    margin-bottom: 40px;
}

.why-us-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.why-us-item {
    flex: 1 1 calc(25% - 24px);
    min-width: 200px;
    text-align: center;
}

.why-us-item svg {
    margin: 0 auto 16px;
}

.why-us-item h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.why-us-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Thank You Page */
.thank-you-section {
    padding: 80px 0;
}

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

.thank-you-icon {
    margin-bottom: 24px;
}

.thank-you-icon svg {
    margin: 0 auto;
}

.thank-you-content h1 {
    margin-bottom: 16px;
}

.thank-you-content > p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.thank-you-info {
    margin: 48px 0;
    text-align: left;
}

.thank-you-info h2 {
    text-align: center;
    margin-bottom: 32px;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.next-step {
    display: flex;
    gap: 20px;
}

.next-step .step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    border-radius: 50%;
}

.step-text h3 {
    margin-bottom: 4px;
}

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

.thank-you-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-info-section {
    background-color: var(--color-bg-alt);
    padding: 48px 0;
}

.quick-info-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.quick-info-item {
    text-align: center;
}

.quick-info-item svg {
    margin: 0 auto 12px;
}

.quick-info-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.quick-info-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
}

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

.legal-text h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.legal-text p {
    color: var(--color-text-light);
}

.legal-text ul {
    list-style: disc;
    padding-left: 24px;
    margin: 16px 0;
}

.legal-text li {
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.cookie-table th {
    background-color: var(--color-bg-alt);
    font-weight: 600;
}

.cookie-table td {
    color: var(--color-text-light);
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 24px;
}

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

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

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 16px;
}

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

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

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.footer-links a:hover {
    color: #ffffff;
}

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

.footer-contact p {
    font-size: 0.95rem;
    opacity: 0.8;
}

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

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-text);
    color: #ffffff;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-banner[hidden] {
    display: none;
}

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

.cookie-content p {
    flex: 1;
    font-size: 0.95rem;
    opacity: 0.9;
}

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

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    font-size: 1.25rem;
}

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

.modal-close:hover {
    color: var(--color-text);
}

.modal-body {
    padding: 24px;
}

.cookie-option {
    padding: 16px 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: 8px;
}

.cookie-option-header label {
    font-weight: 600;
    cursor: pointer;
}

.cookie-option-header span:first-child {
    font-weight: 600;
}

.cookie-required {
    font-size: 0.875rem;
    color: var(--color-text-lighter);
}

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

.toggle {
    -webkit-appearance: none;
    appearance: none;
    width: 48px;
    height: 24px;
    background-color: var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background-color var(--transition);
}

.toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform var(--transition);
}

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

.toggle:checked::before {
    transform: translateX(24px);
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--color-border);
}

.modal-footer .btn {
    flex: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-visual {
        order: -1;
    }

    .philosophy-content,
    .story-content,
    .approach-content,
    .pricing-content,
    .directions-content {
        flex-direction: column;
    }

    .pricing-guarantee {
        flex: auto;
    }

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

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

    h2 {
        font-size: 1.5rem;
    }

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

    section {
        padding: 60px 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 20px;
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        border-bottom: none;
    }

    .stats-grid {
        flex-direction: column;
        text-align: center;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .testimonial-card {
        flex: 1 1 100%;
    }

    .trust-item,
    .value-card {
        flex: 1 1 100%;
    }

    .team-member {
        flex: 1 1 100%;
    }

    .team-stats {
        flex-direction: column;
        gap: 24px;
    }

    .milestones-timeline::before {
        left: 30px;
    }

    .milestone-year {
        width: 30px;
        font-size: 0.875rem;
    }

    .process-horizontal .process-step {
        flex: 1 1 100%;
    }

    .comparison-cell {
        min-width: 80px;
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }

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

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .why-us-item {
        flex: 1 1 calc(50% - 16px);
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0 60px;
    }

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

    .btn {
        padding: 10px 20px;
    }

    .btn-large {
        padding: 14px 28px;
    }

    .service-detail {
        padding: 20px;
    }

    .service-detail-header {
        flex-direction: column;
    }

    .comparison-cell:first-child {
        flex: 1.5;
    }

    .why-us-item {
        flex: 1 1 100%;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }
}
