/* Root Variables */
:root {
    /* Colors - Professional Italian Business Palette */
    --primary: 25 60% 48%; /* #C4824A - Warm Italian Bronze */
    --primary-dark: 25 70% 38%; /* #9E6B3A */
    --primary-light: 25 50% 58%; /* #D4965A */
    --secondary: 210 25% 25%; /* #3A4A5C - Professional Blue-Grey */
    --secondary-light: 210 20% 35%; /* #4A5A6C */
    --accent: 190 80% 45%; /* #1699CC - Elegant Teal */
    
    /* Neutrals */
    --background: 210 11% 98%; /* #F5F7FA */
    --surface: 0 0% 100%; /* #FFFFFF */
    --surface-light: 210 16% 96%; /* #F0F2F5 */
    --border: 210 12% 88%; /* #DDE1E6 */
    --text-primary: 210 17% 15%; /* #1F2937 */
    --text-secondary: 210 8% 46%; /* #6B7280 */
    --text-muted: 210 6% 60%; /* #9CA3AF */
    
    /* Status Colors */
    --success: 142 71% 45%; /* #10B981 */
    --warning: 43 96% 56%; /* #F59E0B */
    --error: 0 84% 60%; /* #EF4444 */
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Shadows */
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: hsl(var(--text-primary));
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
    color: hsl(var(--text-secondary));
}

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

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

ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

li {
    margin-bottom: var(--space-sm);
    color: hsl(var(--text-secondary));
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    min-height: 48px;
}

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

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

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

.btn-secondary:hover {
    background-color: hsl(var(--secondary-light));
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--surface));
    border-top: 3px solid hsl(var(--primary));
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: hsl(var(--surface));
    margin: var(--space-lg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.close {
    position: absolute;
    right: var(--space-lg);
    top: var(--space-lg);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: hsl(var(--text-muted));
}

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

/* Cookie Toggle Switches */
.cookie-category {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid hsl(var(--border));
}

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: var(--space-sm);
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: hsl(var(--border));
    border-radius: 12px;
    margin-right: var(--space-md);
    transition: background-color var(--transition-fast);
}

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

.cookie-toggle input[type="checkbox"]:checked + .slider {
    background-color: hsl(var(--primary));
}

.cookie-toggle input[type="checkbox"]:checked + .slider::before {
    transform: translateX(26px);
}

.cookie-toggle input[type="checkbox"]:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Header Styles */
.header {
    background-color: hsl(var(--surface));
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: var(--space-md) 0;
}

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

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-xl);
}

.nav-link {
    color: hsl(var(--text-primary));
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text-primary));
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-xl);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    color: hsl(var(--text-primary));
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    color: hsl(var(--text-secondary));
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
    font-size: 2.5rem;
    color: hsl(var(--text-primary));
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: hsl(var(--primary));
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    filter: hue-rotate(25deg) saturate(1.2);
}

.service-card h3 {
    color: hsl(var(--text-primary));
    margin-bottom: var(--space-md);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.team-member {
    background-color: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.team-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-lg);
    filter: hue-rotate(25deg) saturate(1.2);
}

/* Goals Section */
.goals-content {
    max-width: 800px;
    margin: 0 auto;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.goal-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    filter: hue-rotate(25deg) saturate(1.2);
}

.goal-text h3 {
    margin-bottom: var(--space-sm);
    color: hsl(var(--text-primary));
}

/* Success Stats */
.success-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: hsl(var(--primary));
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 1.1rem;
    color: hsl(var(--text-secondary));
    font-weight: 500;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

/* Footer */
.footer {
    background-color: hsl(var(--secondary));
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3 {
    color: white;
    margin-bottom: var(--space-lg);
}

.footer-logo {
    height: 40px;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color var(--transition-fast);
}

.social-links a:hover {
    background-color: hsl(var(--primary));
}

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.8);
}

.contact-item img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1));
    padding: var(--space-3xl) 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

/* About Page */
.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.about-icon img {
    width: 200px;
    height: 200px;
    filter: hue-rotate(25deg) saturate(1.2);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.value-item {
    text-align: center;
    padding: var(--space-xl);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-lg);
    filter: hue-rotate(25deg) saturate(1.2);
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin: var(--space-3xl) 0;
}

.mission-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.stat-box {
    text-align: center;
    padding: var(--space-lg);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.team-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: hue-rotate(25deg) saturate(1.2);
}

/* Services Page */
.service-detail {
    margin-bottom: var(--space-3xl);
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid hsl(var(--border));
}

.service-detail:last-child {
    border-bottom: none;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.service-detail.reverse .service-content {
    grid-template-columns: 1fr 2fr;
}

.service-icon-large img {
    width: 150px;
    height: 150px;
    filter: hue-rotate(25deg) saturate(1.2);
}

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

.service-text li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
}

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

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.process-step {
    text-align: center;
    padding: var(--space-xl);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: var(--space-lg);
}

/* Specializations */
.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.specialization-card {
    text-align: center;
    padding: var(--space-xl);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.specialization-card:hover {
    transform: translateY(-5px);
}

.spec-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-lg);
    filter: hue-rotate(25deg) saturate(1.2);
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-icon img {
    width: 30px;
    height: 30px;
    filter: hue-rotate(25deg) saturate(1.2);
}

.contact-text h3 {
    margin-bottom: var(--space-sm);
    color: hsl(var(--text-primary));
}

.office-hours {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid hsl(var(--border));
}

.hours-item:last-child {
    border-bottom: none;
}

/* Form Styles */
.contact-form {
    background-color: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: hsl(var(--text-primary));
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Map Section */
.map-container {
    background-color: hsl(var(--surface-light));
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    text-align: center;
    margin-top: var(--space-xl);
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.map-icon {
    width: 80px;
    height: 80px;
    filter: hue-rotate(25deg) saturate(1.2);
}

/* Emergency Contact */
.emergency-contact {
    background-color: hsl(var(--accent) / 0.1);
}

.emergency-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.emergency-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    padding: var(--space-lg);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.emergency-info img {
    width: 24px;
    height: 24px;
    filter: hue-rotate(25deg) saturate(1.2);
}

.emergency-info small {
    display: block;
    margin-top: var(--space-sm);
    color: hsl(var(--text-muted));
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

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

/* Thank You Page */
.thank-you-section {
    padding: var(--space-3xl) 0;
    text-align: center;
}

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

.thank-you-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-xl);
    filter: hue-rotate(25deg) saturate(1.2);
}

.thank-you-message {
    font-size: 1.1rem;
    margin-bottom: var(--space-3xl);
    color: hsl(var(--text-secondary));
}

.next-steps {
    margin: var(--space-3xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.step-item {
    padding: var(--space-lg);
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-info-box {
    background-color: hsl(var(--surface-light));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-3xl) 0;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin: var(--space-lg) 0;
    flex-wrap: wrap;
}

.office-hours {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

/* Social Proof */
.testimonials-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.testimonial-item {
    background-color: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-icon img {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-lg);
    filter: hue-rotate(25deg) saturate(1.2);
}

.testimonial-item blockquote {
    font-style: italic;
    margin-bottom: var(--space-lg);
    color: hsl(var(--text-secondary));
}

.testimonial-item cite {
    font-weight: 500;
    color: hsl(var(--primary));
}

/* Newsletter Reminder */
.newsletter-reminder {
    background-color: hsl(var(--surface-light));
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-benefits li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    text-align: left;
}

.newsletter-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--success));
    font-weight: bold;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

.legal-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 2px solid hsl(var(--border));
}

.last-updated {
    color: hsl(var(--text-muted));
    font-style: italic;
    margin-bottom: 0;
}

.legal-text {
    line-height: 1.7;
}

.legal-text h2 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    color: hsl(var(--primary));
    border-bottom: 1px solid hsl(var(--border));
    padding-bottom: var(--space-sm);
}

.legal-text h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: hsl(var(--text-primary));
}

.contact-box {
    background-color: hsl(var(--surface-light));
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid hsl(var(--primary));
    margin: var(--space-lg) 0;
}

.legal-footer {
    margin-top: var(--space-3xl);
    padding-top: var(--space-lg);
    border-top: 1px solid hsl(var(--border));
    text-align: center;
    color: hsl(var(--text-muted));
}

/* Cookie Policy Tables */
.cookie-table {
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: hsl(var(--surface));
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.cookie-table th {
    background-color: hsl(var(--surface-light));
    font-weight: 600;
    color: hsl(var(--text-primary));
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-intro,
    .mission-content,
    .service-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-detail.reverse .service-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-details {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .specializations-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .modal,
    .newsletter,
    .cta {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .section {
        padding: 1rem 0;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .service-card,
    .team-member,
    .value-item {
        page-break-inside: avoid;
    }
}

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

/* Focus Styles for Better Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: 25 100% 35%;
        --text-primary: 0 0% 0%;
        --text-secondary: 0 0% 20%;
        --border: 0 0% 50%;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles would go here if needed */
}
