/* ========================================
   ESPACE SPORT - CSS Styles
   Mobile-first, Flexbox layout
   ======================================== */

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

:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-accent: #f6ad55;
    --color-accent-dark: #dd9a48;
    --color-dark: #2d3748;
    --color-gray: #718096;
    --color-gray-light: #a0aec0;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-bg-light: #ebf8ff;
    --color-border: #e2e8f0;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-bg);
}

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

a:hover {
    color: var(--color-accent);
}

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

ul, ol {
    list-style-position: inside;
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

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

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

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

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-bg);
    box-shadow: var(--shadow-sm);
}

.nav {
    padding: 1rem 0;
}

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

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

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

.logo svg {
    flex-shrink: 0;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 1rem;
    list-style: none;
}

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

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

.nav-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--color-dark);
    font-weight: 500;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
}

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

.hero-content {
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

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

.hero-svg {
    max-width: 100%;
    height: auto;
}

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

.page-intro {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

.legal-hero {
    padding: 2rem 0;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: 3rem 0;
}

.section-intro {
    text-align: center;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
}

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

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

.philosophy-text h2 {
    margin-bottom: 1rem;
}

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

.philosophy-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.value-item svg {
    margin-bottom: 1rem;
}

.value-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-item p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Stats */
.stats {
    background-color: var(--color-primary);
    padding: 2.5rem 0;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
}

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

.stat-label {
    color: var(--color-bg);
    font-size: 0.9rem;
}

/* Services Preview */
.services-preview {
    background-color: var(--color-bg-alt);
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background-color: var(--color-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

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

.service-card svg {
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-gray);
    margin-bottom: 0;
}

.services-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Process */
.process h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.process-step {
    text-align: center;
    max-width: 280px;
}

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

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.process-connector {
    display: none;
}

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

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.testimonial {
    background-color: var(--color-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.quote-icon {
    margin-bottom: 0.5rem;
}

.testimonial p {
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.testimonial footer {
    display: flex;
    flex-direction: column;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial footer span {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* Expertise */
.expertise {
    background-color: var(--color-bg);
}

.expertise-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.expertise-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expertise-item {
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
}

.expertise-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.expertise-item p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Brands */
.brands {
    background-color: var(--color-bg-alt);
    padding: 2rem 0;
}

.brands h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.brand-item:hover {
    opacity: 1;
}

/* FAQ */
.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

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

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

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

.faq-icon {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform var(--transition);
}

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

.faq-answer {
    display: none;
    padding-bottom: 1rem;
}

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

.faq-answer p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-primary);
    text-align: center;
}

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

.cta-content p {
    color: var(--color-bg-light);
    margin-bottom: 1.5rem;
}

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

.cta-section.alt-bg h2 {
    color: var(--color-primary);
}

.cta-section.alt-bg p {
    color: var(--color-gray);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.story {
    background-color: var(--color-bg);
}

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

.story-text h2 {
    margin-bottom: 1rem;
}

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

.story-svg {
    max-width: 300px;
    margin: 0 auto;
}

/* Timeline */
.timeline h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--color-accent);
}

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

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

.timeline-content p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Team */
.team {
    background-color: var(--color-bg-alt);
}

.team h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

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

.team-member {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.member-avatar {
    margin-bottom: 1rem;
}

.team-member h3 {
    margin-bottom: 0.25rem;
}

.member-role {
    display: block;
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.team-member p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Values Detailed */
.values-detailed h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.value-text h3 {
    margin-bottom: 0.5rem;
}

.value-text p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Commitments */
.commitments {
    background-color: var(--color-bg-alt);
}

.commitments h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.commitments-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.commitment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.commitment-card svg {
    margin-bottom: 1rem;
}

.commitment-card h3 {
    margin-bottom: 0.5rem;
}

.commitment-card p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-main h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.service-detail {
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-title-price {
    flex: 1;
}

.service-title-price h3 {
    margin-bottom: 0.25rem;
}

.price-range {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
}

.service-detail p {
    color: var(--color-gray);
}

.service-features {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.service-features li {
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

/* Extra Services */
.services-extra {
    background-color: var(--color-bg-alt);
}

.services-extra h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.extra-services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.extra-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.extra-service svg {
    margin-bottom: 1rem;
}

.extra-service h3 {
    margin-bottom: 0.5rem;
}

.extra-service p {
    color: var(--color-gray);
    margin-bottom: 0.75rem;
}

.service-price {
    font-weight: 600;
    color: var(--color-accent);
}

/* Comparison */
.comparison h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

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

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

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

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

.comparison-table tr:hover {
    background-color: var(--color-bg-alt);
}

/* Process Service */
.process-service h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.process-detailed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

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

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

.process-content p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-main {
    background-color: var(--color-bg);
}

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

.info-block {
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.info-block svg {
    margin-bottom: 1rem;
}

.info-block h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.info-block address {
    font-style: normal;
    color: var(--color-gray);
}

.info-block address p {
    margin-bottom: 0.25rem;
}

.info-block a {
    color: var(--color-accent);
    font-weight: 500;
}

.info-note {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-gray);
}

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

.company-description {
    margin-bottom: 2rem;
}

.company-description h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.company-description p {
    color: var(--color-gray);
}

.directions h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.direction-item {
    padding: 1rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.direction-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.direction-item p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Company Info */
.company-info {
    background-color: var(--color-bg-alt);
}

.company-info h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.legal-block {
    text-align: center;
    padding: 1rem;
    min-width: 150px;
}

.legal-block h3 {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.legal-block p {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0;
}

/* Visit Info */
.visit-info {
    background-color: var(--color-bg);
}

.visit-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visit-block {
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.visit-block svg {
    margin-bottom: 1rem;
}

.visit-block h3 {
    margin-bottom: 1rem;
}

.visit-block ul {
    list-style: none;
}

.visit-block li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-gray);
}

.visit-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* ========================================
   THANK YOU PAGE
   ======================================== */
.thank-you-section {
    padding: 4rem 0;
    text-align: center;
}

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

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

.thank-you-text {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.thank-you-subtext {
    color: var(--color-gray-light);
    margin-bottom: 2rem;
}

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

/* Quick Info */
.quick-info {
    background-color: var(--color-bg-alt);
}

.quick-info h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.quick-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quick-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
}

.quick-info-item svg {
    margin-bottom: 1rem;
}

.quick-info-item h3 {
    margin-bottom: 0.5rem;
}

.quick-info-item p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content {
    padding: 3rem 0;
}

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

.legal-section {
    margin-bottom: 2.5rem;
}

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

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

.legal-section h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: var(--color-gray);
}

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

.legal-section li {
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

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

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

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--color-dark);
    color: var(--color-bg);
    padding: 3rem 0 1rem;
}

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

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

.footer-brand p {
    color: var(--color-gray-light);
    font-size: 0.9rem;
}

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

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

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

.footer-links a {
    color: var(--color-gray-light);
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-gray-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========================================
   COOKIE BANNER & MODAL
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-bg);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
}

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

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

.cookie-content p {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

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

/* 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: 1rem;
}

.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);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
}

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

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

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

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

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
}

.option-title {
    font-weight: 600;
    color: var(--color-primary);
}

.cookie-option p {
    margin-left: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-gray);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (min-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

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

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

    .value-item {
        flex: 1;
        min-width: 200px;
    }

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

    .service-card {
        flex: 1;
        min-width: 280px;
    }

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

    .testimonial {
        flex: 1;
        min-width: 280px;
    }

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

    .expertise-item {
        flex: 1;
        min-width: 280px;
    }

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

    .team-member {
        flex: 1;
        min-width: 250px;
    }

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

    .value-block {
        flex: 1;
        min-width: 280px;
    }

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

    .commitment-card {
        flex: 1;
        min-width: 250px;
    }

    .extra-services-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .extra-service {
        flex: 1;
        min-width: 250px;
    }

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

    .contact-info {
        flex: 1;
    }

    .contact-details {
        flex: 1.5;
    }

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

    .visit-block {
        flex: 1;
    }

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

    .quick-info-grid {
        flex-direction: row;
    }

    .quick-info-item {
        flex: 1;
    }

    .cookie-actions {
        flex-direction: row;
    }

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

    .footer-brand {
        flex: 1;
        min-width: 200px;
    }

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

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        width: auto;
        padding-top: 0;
        gap: 2rem;
    }

    .nav-menu li {
        border-top: none;
    }

    .nav-menu a {
        padding: 0;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero .container {
        flex-direction: row;
        align-items: center;
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

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

    .hero-visual {
        flex: 1;
    }

    .philosophy-grid {
        flex-direction: row;
        align-items: center;
    }

    .philosophy-text {
        flex: 1;
    }

    .philosophy-values {
        flex: 1;
        flex-direction: column;
    }

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

    .process-connector {
        display: flex;
        align-items: center;
        padding-top: 1rem;
    }

    .story-content {
        flex-direction: row;
        align-items: center;
    }

    .story-text {
        flex: 1.5;
    }

    .story-visual {
        flex: 1;
    }

    .value-block {
        flex-direction: row;
        text-align: left;
    }

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

    .service-detail {
        flex: 1;
        min-width: 350px;
    }
}
