/* Base Reset & Variables */
:root {
    /* Colors */
    --color-primary: #0d59f2;
    --color-primary-dark: #0b4bcc; /* Slightly darker for hover states */
    --color-secondary: #F2A900;
    --color-whatsapp: #25D366;
    --color-background-light: #f5f6f8;
    --color-background-dark: #101622;
    --color-text-main: #111318;
    --color-text-light: #ffffff;
    --color-text-muted: #637588;

    /* Fonts */
    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;

    /* Border Radius - Increased for softer look */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Local font faces */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html {
    scroll-behavior: smooth;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--font-body);
}

body {
    background-color: var(--color-background-light);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: inherit;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: inherit;
    letter-spacing: -0.02em; /* Tighter tracking for modern look */
}

/* Ensure H1 has an explicit, responsive size to avoid relying on user-agent defaults
   (this helps address 'H1UserAgentFontSizeInSection' deprecation warnings) */
h1 {
    font-size: clamp(1.75rem, 4.5vw, 3.75rem);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: inherit;
    color: inherit;
    margin: 0;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grow { flex-grow: 1; }
.hidden { display: none; }
.text-primary { color: var(--color-primary); }

/* Icon base class for SVG icons (no longer used for Material Symbols, kept for future SVGs) */
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    fill: currentColor;
    vertical-align: middle;
}

/* Mobile Menu Helper */
.overflow-hidden { overflow: hidden; }

/* Grid */
.grid { display: grid; }
.gap-4 { gap: 1rem; }

/* Dark Mode Support (Basic structure, expandable) */
@media (prefers-color-scheme: dark) {
    /* Optional: Uncomment to auto-enable dark mode based on system preference
       or stick to class-based toggling if that's what the JS does.
    */
}

/* Header Component */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid #f0f1f5;
    height: 65px;
    display: flex;
    /* justify-content: center; Removed to let container handle width */
    align-items: center;
}

@media (prefers-color-scheme: dark) {
    .site-header {
        background-color: rgba(17, 19, 24, 0.95);
        border-bottom-color: #1f2937;
    }
}

.site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 32px;
    color: var(--color-primary);
}

.logo-text {
    color: var(--color-text-main);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

@media (prefers-color-scheme: dark) {
    .logo-text { color: var(--color-text-light); }
}

/* Desktop Nav */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-links-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--color-text-main);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

@media (prefers-color-scheme: dark) {
    .nav-link { color: #e5e7eb; }
    .nav-link:hover { color: var(--color-primary); }
}

/* Dropdown */
.dropdown-container {
    position: relative;
    cursor: pointer;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 12rem;
    background-color: white;
    border: 1px solid #f3f4f6;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    padding: 0.5rem 0;
}

.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

@media (prefers-color-scheme: dark) {
    .dropdown-menu {
        background-color: var(--color-background-dark);
        border-color: #1f2937;
    }
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    transition: background-color 0.15s;
}

.dropdown-item:hover {
    background-color: var(--color-background-light);
    color: var(--color-primary);
}

@media (prefers-color-scheme: dark) {
    .dropdown-item { color: #e5e7eb; }
    .dropdown-item:hover { background-color: #1f2937; }
}

/* Buttons */
.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0 1.5rem;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 15px -3px rgba(13, 89, 242, 0.2);
    transition: background-color 0.2s;
    min-width: 84px;
    overflow: hidden;
}

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

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    font-size: 20px;
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: flex;
    color: var(--color-text-main);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

@media (prefers-color-scheme: dark) {
    .mobile-menu-btn { color: white; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: #111318;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.is-active {
    transform: translateX(0);
}

.mobile-menu-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #1f2937;
    height: 65px;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.mobile-brand-text {
    font-size: 1.125rem; /* 18px, matches logo-text */
    font-weight: 700;
}

.mobile-close-btn {
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    height: 24px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
}

.mobile-link {
    font-size: 1.125rem;
    font-weight: 400;
    color: #e5e7eb;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1f2937;
    transition: color 0.2s;
}

.mobile-link:hover {
    color: var(--color-primary);
}

.mobile-locations-title {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.mobile-locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mobile-location-chip {
    font-size: 0.875rem;
    color: #9ca3af;
    padding: 0.5rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.2s;
}

.mobile-location-chip:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-footer {
    margin-top: auto;
    padding: 1.5rem;
    background-color: rgba(17, 24, 39, 0.5);
}

.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 3rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 700;
    transition: background-color 0.2s;
}

.mobile-call-btn:hover {
    background-color: var(--color-primary-dark);
}

/* Hero Component */
.hero-section {
    position: relative;
    width: 100%;
    padding-top: 65px; /* Offset fixed header */
}

.hero-background {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    padding: 5rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
    gap: 2rem;
}

/* Hero responsive background image + overlay for LCP */
.hero-background { overflow: hidden; position: relative; }
.hero-picture { position: absolute; inset: 0; z-index: 1; }
.hero-picture img.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)); }
.hero-content { position: relative; z-index: 10; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background-color: var(--color-secondary);
    color: var(--color-text-main);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.hero-title {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.033em;
    max-width: 800px;
    /* Reduce shadow to lower painting cost */
    text-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

@media (min-width: 768px) {
    .hero-title { font-size: 3.75rem; }
}

.hero-title-highlight {
    color: #dbeafe; /* blue-100 */
}

.hero-description {
    color: #e5e7eb;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}

@media (min-width: 768px) {
    .hero-description { font-size: 1.25rem; }
}

.hero-location {
    color: rgba(219, 234, 254, 0.8);
    font-size: 0.875rem;
    font-weight: 400;
    max-width: 600px;
    margin-top: -1rem;
}

@media (min-width: 768px) {
    .hero-location { font-size: 1rem; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons { flex-direction: row; }
}

.btn-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 3.5rem;
    padding: 0 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.btn-hero-primary {
    background-color: var(--color-primary);
    box-shadow: 0 10px 15px -3px rgba(13, 89, 242, 0.2);
}

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

.btn-hero-whatsapp {
    background-color: var(--color-whatsapp);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.2);
}

.btn-hero-whatsapp:hover {
    background-color: #20bd5a;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 400;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature-icon {
    color: var(--color-secondary);
}

/* Services Component */
.services-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 4rem 1rem;
    background-color: white;
}

@media (prefers-color-scheme: dark) {
    .services-header { background-color: var(--color-background-dark); }
}

.services-header-content {
    display: flex;
    flex-direction: column;
    max-width: 960px;
    padding: 0 1rem;
    text-align: center;
}

.section-label {
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--color-text-main);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.25rem; }
}

@media (prefers-color-scheme: dark) {
    .section-title { color: white; }
}

.section-divider {
    height: 0.25rem;
    width: 5rem;
    background-color: var(--color-primary);
    margin: 1rem auto 0;
    border-radius: var(--radius-full);
}

.service-section {
    width: 100%;
    padding: 2.5rem 0;
    background-color: white;
}

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

@media (min-width: 768px) {
    .service-section { padding: 4rem 0; }
}

@media (prefers-color-scheme: dark) {
    .service-section { background-color: var(--color-background-dark); }
    .service-section.alt-bg { background-color: #161b26; }
}

.service-row {
    display: flex;
    flex-direction: column-reverse; /* Text first on mobile */
    align-items: center;
    gap: 3rem;
}

.service-row.reverse {
    flex-direction: column; /* Text first on mobile (natural order) */
}

@media (min-width: 768px) {
    .service-row { flex-direction: row; gap: 5rem; }
    .service-row.reverse { flex-direction: row; }
}

.service-image-col { width: 100%; }
.service-text-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .service-image-col { width: 50%; }
    .service-text-col { width: 50%; }
}

.service-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
}

.service-image-wrapper:hover::after {
    /* Mask removed */
    display: none;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.service-image-wrapper:hover .service-image {
    transform: scale(1.05);
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-icon-box {
    padding: 0.75rem;
    padding-bottom: 0.35rem;
    border-radius: 1rem;
    background-color: rgba(13, 89, 242, 0.1);
    color: var(--color-primary);
}

.service-category {
    font-size: 0.875rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-heading {
    color: var(--color-text-main);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .service-heading { font-size: 2.25rem; }
}

@media (prefers-color-scheme: dark) {
    .service-heading { color: white; }
}

.service-description {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.625;
}

@media (prefers-color-scheme: dark) {
    .service-description { color: #d1d5db; }
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-main);
}

@media (prefers-color-scheme: dark) {
    .service-list-item { color: #e5e7eb; }
}

.icon-success { color: #22c55e; } /* green-500 */
.icon-primary { color: var(--color-primary); }

/* Feature Grid (Service 2) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.feature-card {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
    .feature-card {
        background-color: var(--color-background-dark);
        border-color: #374151;
    }
}

.feature-title {
    display: block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.feature-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Contact Component */
.contact-section {
    width: 100%;
    background-color: var(--color-primary);
    padding: 4rem 1rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.contact-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-icon-wrapper {
    display: inline-block;
    padding: 1rem;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    margin-bottom: 0.5rem;
}

.contact-title {
    font-size: 1.875rem; /* 3xl */
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .contact-title { font-size: 3rem; /* 5xl */ }
}

.contact-description {
    color: #dbeafe; /* blue-100 */
    font-size: 1.125rem; /* text-lg */
    max-width: 42rem;
}

@media (min-width: 768px) {
    .contact-description { font-size: 1.25rem; /* text-xl */ }
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .contact-actions { flex-direction: row; }
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 0.75rem;
    padding: 1.25rem 2rem;
    box-shadow: var(--shadow-2xl);
    min-width: 300px;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.btn-contact:hover .btn-contact-icon {
    transform: scale(1.1);
}

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

.btn-contact-call:hover {
    background-color: #f3f4f6; /* gray-100 */
}

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

.btn-contact-whatsapp:hover {
    background-color: #20bd5a;
}

.btn-contact-icon {
    font-size: 1.875rem; /* 3xl */
    transition: transform 0.2s;
}

.btn-contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.75rem; /* text-xs */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.btn-value {
    font-size: 1.5rem; /* 2xl */
    font-weight: 700;
    line-height: 1;
}

.btn-contact-whatsapp .btn-value {
    font-size: 1.25rem; /* xl */
}

.contact-footer {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* FAQ Component */
.faq-section {
    width: 100%;
    padding: 4rem 1rem;
    background-color: var(--color-background-light);
}

@media (prefers-color-scheme: dark) {
    .faq-section { background-color: rgba(17, 24, 39, 0.5); }
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-text-main);
}

@media (prefers-color-scheme: dark) {
    .faq-title { color: white; }
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border: 1px solid #f3f4f6;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.2s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: #e5e7eb;
}

@media (prefers-color-scheme: dark) {
    .faq-item {
        background-color: #111318;
        border-color: #1f2937;
    }
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-main);
}

@media (prefers-color-scheme: dark) {
    .faq-question { color: white; }
}

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

.faq-toggle-icon {
    transition: transform 0.3s;
    color: #9ca3af;
}

/* Legal Pages */
.legal-page {
    padding: 5rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    min-height: 600px;
    width: 100%;
}

.legal-header {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.legal-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

@media (min-width: 768px) {
    .legal-title { font-size: 3rem; }
}

@media (prefers-color-scheme: dark) {
    .legal-title { color: white; }
}

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

.legal-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid #f3f4f6;
    background-color: white;
    box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
    .legal-card {
        border-color: #1f2937;
        background-color: #111318;
    }
}

.legal-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

@media (prefers-color-scheme: dark) {
    .legal-section-title { color: white; }
}

.legal-content p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

@media (prefers-color-scheme: dark) {
    .legal-content p { color: #9ca3af; }
}

.legal-link {
    color: var(--color-primary);
    font-weight: 400;
    text-decoration: none;
}

.legal-link:hover {
    text-decoration: underline;
}

.legal-subgrid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .legal-subgrid.two-cols { grid-template-columns: repeat(2, 1fr); }
}

.legal-info-card {
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: var(--radius-xl);
    border: 1px solid #f3f4f6;
}

@media (prefers-color-scheme: dark) {
    .legal-info-card {
        background-color: rgba(17, 24, 39, 0.5);
        border-color: #1f2937;
    }
}

.legal-info-title {
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.25rem;
}

@media (prefers-color-scheme: dark) {
    .legal-info-title { color: white; }
}

.legal-info-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.legal-highlight-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background-color: rgba(13, 89, 242, 0.05);
    border: 1px solid rgba(13, 89, 242, 0.1);
}

.legal-highlight-text {
    margin: 0;
    font-weight: 400;
}

.legal-button {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    background-color: #f3f4f6; /* gray-100 */
    color: var(--color-text-main);
    font-size: 0.875rem;
    font-weight: 400;
    transition: background-color 0.2s;
    text-decoration: none;
}

.legal-button:hover {
    background-color: #e5e7eb; /* gray-200 */
}

@media (prefers-color-scheme: dark) {
    .legal-button {
        background-color: #1f2937; /* gray-800 */
        color: white;
    }
    .legal-button:hover {
        background-color: #374151; /* gray-700 */
    }
}

/* Site Wrapper */
.site-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

/* Footer Component */
.site-footer {
    background-color: var(--color-background-dark);
    color: white;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid #1f2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand .logo-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.625;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-icon {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Breadcrumbs Component */
.breadcrumbs-wrapper {
    width: 100%;
    padding: 1rem 0;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

@media (prefers-color-scheme: dark) {
    .breadcrumbs-wrapper {
        background-color: #111827;
        border-color: #1f2937;
    }
}

.breadcrumbs-list {
    display: inline-flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs-link {
    color: #6b7280;
    transition: color 0.15s;
    font-size: 0.875rem;
    font-weight: 400;
}

.breadcrumbs-link:hover {
    color: var(--color-primary);
}

.breadcrumbs-separator {
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.breadcrumbs-separator-icon {
    font-size: 18px;
    margin: 0 0.5rem;
}



.breadcrumbs-current {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 400;
}

@media (prefers-color-scheme: dark) {
    .breadcrumbs-current { color: #d1d5db; }
}

/* Error 404 Page */
.error-page {
    padding: 8rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.error-icon {
    margin-bottom: 2rem;
}

.error-icon .icon {
    color: rgba(13, 89, 242, 0.2);
    font-size: 100px;
}

.error-code {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

@media (min-width: 768px) {
    .error-code { font-size: 6rem; }
}

@media (prefers-color-scheme: dark) {
    .error-code { color: white; }
}

.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #4b5563;
}

@media (min-width: 768px) {
    .error-title { font-size: 1.875rem; }
}

@media (prefers-color-scheme: dark) {
    .error-title { color: #9ca3af; }
}

.error-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-color-scheme: dark) {
    .error-description { color: #6b7280; }
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .error-actions { flex-direction: row; }
}

.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: var(--shadow-lg);
}

.btn-large.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(13, 89, 242, 0.2);
}

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

.btn-large.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-main);
    box-shadow: 0 10px 15px -3px rgba(242, 169, 0, 0.2);
}

.btn-large.btn-secondary:hover {
    background-color: #eab308;
}

.faq-item[open] .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    margin-top: 1rem;
    color: #4b5563;
    line-height: 1.625;
}

@media (prefers-color-scheme: dark) {
    .faq-answer { color: #9ca3af; }
}