/* ============================================
   ProLikam - Main Stylesheet
   Design: Architectural Precision + Organic Colors
   UX Redesign 2026
   ============================================ */

/* CSS Variables with Fluid Typography & Spacing */
:root {
    /* ProLikam Brand Color Palette */
    /* Primary: Červenohnědá (Pantone 188 C) */
    --primary: #7F0000;
    --primary-light: #A62828;
    --primary-dark: #5C0000;
    /* Secondary: Zlatá (Pantone 872 C) */
    --gold: #A67C3D;
    --gold-light: #C9A366;
    --gold-dark: #7D5A2A;
    /* Neutrals */
    --earth: #5C4D3D;
    --earth-light: #8B7355;
    --earth-dark: #3D3228;
    --cream: #FAF8F5;
    --sand: #EDE8E0;
    --off-white: #F5F3EF;
    --charcoal: #2C2C2C;
    --white: #ffffff;
    --error: #C43333;
    --success: #3D7E42;
    /* Legacy aliases for compatibility */
    --sage: var(--gold);
    --sage-light: var(--gold-light);
    --sage-dark: var(--gold-dark);

    /* Typography - Fluid Scale */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Fluid font sizes: clamp(min, preferred, max) */
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(2.75rem, 2rem + 3.75vw, 4.5rem);

    /* Fluid spacing */
    --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
    --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
    --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
    --space-2xl: clamp(3rem, 2rem + 5vw, 6rem);
    --space-3xl: clamp(4rem, 3rem + 5vw, 8rem);

    /* Touch targets - minimum 44px for accessibility */
    --touch-target: 44px;
    --touch-target-lg: 48px;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.16);

    /* Container */
    --container-padding: clamp(1rem, 3vw, 5%);
}

/* ============================================
   Reset & Base - Mobile First
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--charcoal);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
    z-index: 10000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   Navigation - Mobile First
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-base);
}

nav.scrolled {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    box-shadow: var(--shadow-md);
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

nav .logo img {
    height: clamp(64px, 5vw + 40px, 96px);
    width: auto;
}

/* Remove white background from JPG logo - requires transparent PNG for best results */
nav:not(.scrolled) .logo img {
    mix-blend-mode: multiply;
}

nav.scrolled .logo img {
    mix-blend-mode: normal;
}

/* Text logo fallback */
.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

/* Desktop navigation - hidden on mobile */
.nav-links {
    display: none;
    gap: clamp(1.5rem, 3vw, 3rem);
    list-style: none;
}

.nav-links a {
    color: var(--charcoal);
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-base);
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-dark);
}

.nav-cta {
    display: none;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition-base);
    min-height: var(--touch-target);
}

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

/* Mobile Menu Button - Always visible on mobile */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    padding: var(--space-sm);
    min-width: var(--touch-target);
    min-height: var(--touch-target);
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition-base);
    transform-origin: center;
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* Mobile Menu - Full screen overlay */
.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: calc(70px + var(--space-xl)) var(--container-padding) var(--space-xl);
    z-index: 999;
    transform: translateX(100%);
    opacity: 0;
    transition: all var(--transition-slow);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
}

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

.mobile-menu a {
    display: flex;
    align-items: center;
    padding: var(--space-md) 0;
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--charcoal);
    min-height: var(--touch-target-lg);
    transition: color var(--transition-base);
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--gold-dark);
}

/* ============================================
   Buttons - Touch Friendly
   ============================================ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: 0.5px;
    min-height: var(--touch-target-lg);
    transition: all var(--transition-base);
    text-align: center;
}

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

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

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

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

/* ============================================
   Hero Section - Full Bleed Background
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(44,44,44,0.15) 0%, rgba(44,44,44,0.1) 40%, rgba(44,44,44,0.65) 100%),
        linear-gradient(135deg, rgba(127,0,0,0.2) 0%, transparent 60%);
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: var(--space-lg);
}

.hero-tag::before {
    content: '';
    width: 28px;
    height: 1.5px;
    background: var(--gold-light);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 400;
    line-height: 1.08;
    margin-bottom: var(--space-md);
    color: var(--white);
    max-width: 14ch;
}

.hero h1 em {
    font-style: italic;
    color: var(--white);
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    margin-bottom: var(--space-xl);
    line-height: 1.65;
}

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

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: var(--space-md) var(--space-lg);
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: var(--radius-full);
    min-height: var(--touch-target-lg);
    transition: all var(--transition-base);
    text-align: center;
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    min-height: var(--touch-target-lg);
    transition: all var(--transition-base);
    text-align: center;
}

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

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
    background: var(--earth-dark);
    padding: var(--space-xl) var(--container-padding);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: var(--space-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.stat-label {
    font-size: var(--text-xs);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-md);
}

.section-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.section-subtitle {
    color: var(--earth);
    font-size: var(--text-base);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--space-3xl) var(--container-padding);
    background: var(--cream);
}

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

.service-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    display: block;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover img,
.service-card:active img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(44,44,44,0.92) 0%, rgba(44,44,44,0.4) 45%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    color: var(--white);
    transition: background var(--transition-base);
}

.service-card:hover .service-overlay {
    background: linear-gradient(0deg, rgba(44,44,44,0.95) 0%, rgba(44,44,44,0.5) 50%, rgba(44,44,44,0.1) 100%);
}

.service-card-num {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    color: var(--gold-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.service-overlay h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.service-overlay p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.service-card:hover .service-overlay p {
    max-height: 120px;
}

.service-link {
    color: var(--gold-light);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: gap var(--transition-fast);
}

.service-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
    gap: 0.75rem;
}

.service-card:hover .service-link svg {
    transform: translateX(2px);
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: var(--space-3xl) var(--container-padding);
    background: var(--sand);
}

.products-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.products-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
    color: var(--primary);
    line-height: 1.2;
}

.products-content > p {
    color: var(--earth);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--earth-dark);
    font-size: var(--text-sm);
}

.product-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

.products-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.products-gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.products-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.products-gallery a:hover img,
.products-gallery a:active img {
    transform: scale(1.03);
}

.products-gallery a:first-child {
    grid-column: span 2;
}

.products-gallery a:first-child img {
    aspect-ratio: 2/1;
}

/* ============================================
   Technology Section
   ============================================ */
.technology {
    padding: var(--space-3xl) var(--container-padding);
    background: var(--earth-dark);
    color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.tech-card {
    display: block;
    padding: var(--space-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    color: var(--white);
}

.tech-card:hover,
.tech-card:active {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.tech-icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

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

.tech-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.tech-card p {
    font-size: var(--text-sm);
    opacity: 0.75;
    line-height: 1.6;
}

/* ============================================
   About Preview Section
   ============================================ */
.about-preview {
    padding: var(--space-3xl) var(--container-padding);
    background: var(--white);
}

.about-preview-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.about-preview-image {
    position: relative;
}

.about-preview-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.about-preview-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    background: var(--gold-light);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-preview-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
    color: var(--primary);
    line-height: 1.2;
}

.about-preview-content p {
    color: var(--earth);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--space-3xl) var(--container-padding);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--sand) 100%);
    text-align: center;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
    color: var(--primary);
    line-height: 1.2;
}

.cta > p {
    color: var(--earth);
    font-size: var(--text-base);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--earth-dark);
    color: var(--white);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 40%, transparent 100%);
}

.footer-main {
    padding: var(--space-2xl) var(--container-padding) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

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

.footer-brand .logo {
    display: inline-flex;
}

.footer-brand .logo img {
    height: 112px;
    width: auto;
}

.footer-brand p {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-style: italic;
    color: rgba(255,255,255,0.75);
    max-width: 340px;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    color: var(--gold-light);
}

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

.footer-col li {
    margin-bottom: var(--space-xs);
}

.footer-col a,
.footer-col > ul > li > span {
    color: rgba(255,255,255,0.85);
    font-size: var(--text-sm);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.3rem 0;
    line-height: 1.6;
}

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

.footer-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--gold-light);
    margin-top: 0.2rem;
}

.footer-bottom {
    margin: var(--space-xl) var(--container-padding) 0;
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
    text-align: center;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s ease;
}

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

/* ============================================
   Legal / Privacy Policy Page
   ============================================ */
.legal-content {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.legal-text h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.legal-text h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--charcoal);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.legal-text h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--charcoal);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
}

.legal-text p {
    color: var(--earth);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.legal-text ul {
    padding-left: 1.5rem;
    margin-bottom: var(--space-md);
}

.legal-text li {
    color: var(--earth);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.legal-text hr {
    border: none;
    height: 1px;
    background: var(--sand);
    margin: var(--space-xl) 0;
}

.legal-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* ============================================
   Page Header (for subpages)
   ============================================ */
.page-header {
    padding: calc(80px + var(--space-2xl)) var(--container-padding) var(--space-xl);
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.page-header p {
    color: var(--earth);
    font-size: var(--text-base);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.breadcrumb {
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
}

.breadcrumb a {
    color: var(--gold);
    padding: var(--space-xs);
}

.breadcrumb span {
    color: var(--earth);
    margin: 0 var(--space-xs);
}

/* ============================================
   Content Sections (for subpages)
   ============================================ */
.content-section {
    padding: var(--space-2xl) var(--container-padding);
}

.content-section:nth-child(even) {
    background: var(--cream);
}

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

/* .reverse is handled via order in desktop media query */

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.content-image img {
    width: 100%;
}

.content-text h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.content-text p {
    color: var(--earth);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.content-text ul {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.content-text li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--earth-dark);
    font-size: var(--text-sm);
}

.content-text li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ============================================
   Product Cards
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-content {
    padding: var(--space-lg);
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.product-card p {
    color: var(--earth);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-section {
    padding: var(--space-2xl) var(--container-padding);
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.contact-info > p {
    color: var(--earth);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.contact-details {
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.contact-icon {
    width: var(--touch-target);
    height: var(--touch-target);
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--earth-dark);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
}

.contact-item p,
.contact-item a {
    color: var(--earth);
    font-size: var(--text-sm);
}

.contact-item a {
    display: inline-block;
    padding: var(--space-xs) 0;
}

.contact-item a:hover,
.contact-item a:active {
    color: var(--gold-dark);
}

.contact-form {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--earth-dark);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--sand);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    transition: border-color var(--transition-base);
    min-height: var(--touch-target-lg);
    -webkit-appearance: none;
    appearance: none;
}

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c4d3d' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right var(--space-md) center;
    padding-right: calc(var(--space-md) * 2 + 12px);
}

.contact-form .btn-primary {
    width: 100%;
}

/* ============================================
   Map
   ============================================ */
.map-section {
    height: 300px;
    background: var(--sand);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Partners Grid
   ============================================ */
.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.partner-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.partner-item:hover,
.partner-item:active {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.partner-item h4 {
    font-size: var(--text-base);
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.partner-item p {
    font-size: var(--text-sm);
    color: var(--earth);
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--gold-light);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-content {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.timeline-content h3 {
    color: var(--earth-dark);
    margin-bottom: var(--space-xs);
    font-size: var(--text-base);
}

.timeline-content p {
    color: var(--earth);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ============================================
   Process Section (Homepage)
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.process-step-num {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: var(--sand);
    line-height: 1;
    min-width: 60px;
    text-align: right;
    position: relative;
}

.process-step-num::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.process-step-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.process-step-content p {
    font-size: var(--text-sm);
    color: var(--earth);
    line-height: 1.7;
}

/* ============================================
   About Values Grid
   ============================================ */
.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.about-value {
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
}

.about-value h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.about-value p {
    font-size: var(--text-xs);
    color: var(--earth);
    margin-bottom: 0;
    line-height: 1.55;
}

/* ============================================
   About Image Accent
   ============================================ */
.about-image-accent {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
}

.about-image-accent .accent-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.about-image-accent .accent-label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ============================================
   Dark Section Utility
   ============================================ */
.dark-section {
    background: var(--earth-dark) !important;
    color: var(--white);
}

.dark-section .section-tag {
    color: var(--gold-light);
}

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

.dark-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.dark-section .tech-card {
    color: var(--white);
}

.dark-section .tech-card h3,
.dark-section .tech-card p {
    color: var(--white);
}

.dark-section .tech-card p {
    opacity: 0.8;
}

/* ============================================
   Values Section (Light Background)
   ============================================ */
.values-section {
    background: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

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

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

.value-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--sand);
}

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

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

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

.value-card h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.value-card p {
    font-size: var(--text-sm);
    color: var(--earth);
    line-height: 1.6;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-item {
    border-bottom: 1px solid var(--sand);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--space-md) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--charcoal);
    text-align: left;
    min-height: var(--touch-target-lg);
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

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

.faq-question svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--earth-light);
    transition: transform var(--transition-fast);
}

.faq-item.open .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: var(--space-md);
    font-size: var(--text-sm);
    color: var(--earth);
    line-height: 1.75;
}

/* ============================================
   Contact Channels (replaces emoji icons)
   ============================================ */
.contact-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-channel {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.contact-channel:hover {
    background: var(--sand);
}

.channel-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--white);
    border: 1.5px solid var(--sand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
}

.channel-icon svg {
    width: 20px;
    height: 20px;
}

.channel-text h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.15rem;
}

.channel-text p,
.channel-text a {
    font-size: var(--text-sm);
    color: var(--earth);
    line-height: 1.5;
}

/* ============================================
   Form Improvements
   ============================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.form-group .error-msg {
    display: none;
    font-size: var(--text-xs);
    color: var(--error);
    margin-top: 0.35rem;
    font-weight: 500;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(196,51,51,0.08);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(166,124,61,0.12);
}

.form-group label .required {
    color: var(--primary);
}

.form-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.form-subtitle {
    font-size: var(--text-sm);
    color: var(--earth);
    margin-bottom: var(--space-lg);
}

.form-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: var(--space-lg);
    cursor: pointer;
}

.form-gdpr input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-gdpr span {
    font-size: var(--text-xs);
    color: var(--earth);
    line-height: 1.5;
}

.form-gdpr a {
    color: var(--gold-dark);
    text-decoration: underline;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    min-height: var(--touch-target-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.form-submit:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-submit.success {
    background: var(--success);
    border-color: var(--success);
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-xl);
}

.form-success.visible {
    display: block;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(61,126,66,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.form-success-icon svg {
    width: 28px;
    height: 28px;
    color: var(--success);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: var(--text-sm);
    color: var(--earth);
    line-height: 1.65;
}

/* ============================================
   CTA Section - improved
   ============================================ */
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    margin-top: var(--space-md);
}

.cta-phone {
    font-size: var(--text-sm);
    color: var(--earth);
    margin-top: var(--space-sm);
}

.cta-phone a {
    color: var(--primary);
    font-weight: 600;
}

.cta-phone a:hover {
    text-decoration: underline;
}

/* ============================================
   TABLET BREAKPOINT (640px+)
   ============================================ */
@media (min-width: 640px) {
    /* Stats - 4 columns */
    .stats-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-md);
    }

    /* Services - 2 columns */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tech cards - 2 columns */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Product cards - 2 columns */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Partners - 2 columns */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    /* Hero actions inline */
    .hero-actions {
        flex-direction: row;
    }

    /* Contact channels - 2 columns */
    .contact-channels {
        grid-template-columns: 1fr 1fr;
    }

    /* Form row - 2 columns */
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    /* CTA actions inline */
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }

    /* Map taller */
    .map-section {
        height: 350px;
    }
}

/* ============================================
   DESKTOP BREAKPOINT (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    /* Navigation - Desktop layout */
    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    /* Hero - Desktop */
    .hero-content {
        padding: var(--space-3xl) var(--container-padding);
    }

    /* Services - 4 columns */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-card {
        aspect-ratio: 3/5;
    }

    /* Process - 2 columns */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl) var(--space-2xl);
    }

    /* About - Side by side */
    .about-preview-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
        align-items: center;
    }

    /* Products - Side by side */
    .products-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    /* Tech cards - 4 columns */
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* About preview - Side by side */
    .about-preview-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .about-preview-image::before {
        top: -20px;
        left: -20px;
        width: 100px;
        height: 100px;
    }

    /* Content grids - Side by side */
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .content-grid.reverse .content-image {
        order: 2;
    }

    .content-grid.reverse .content-text {
        order: 1;
    }

    /* Contact - Side by side */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .contact-form {
        padding: var(--space-xl);
    }

    /* Product cards - 3 columns */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Partners - 3+ columns */
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer - horizontal layout */
    .footer-main {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-xl);
    }

    .footer-brand {
        flex-shrink: 0;
        width: 260px;
    }

    /* Map taller */
    .map-section {
        height: 400px;
    }

    /* Timeline - Centered */
    .timeline {
        max-width: 800px;
        padding-left: 0;
    }

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: var(--space-xl);
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: var(--space-xl);
        padding-right: 0;
    }

    .timeline-item::before {
        left: auto;
        right: -6px;
    }

    .timeline-item:nth-child(even)::before {
        left: -6px;
        right: auto;
    }
}

/* ============================================
   LARGE DESKTOP BREAKPOINT (1280px+)
   ============================================ */
@media (min-width: 1280px) {
    /* Increase nav gap */
    .nav-links {
        gap: 3rem;
    }

    /* Partners - 4 columns */
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   HOVER STATES - Only for devices that support hover
   ============================================ */
@media (hover: hover) and (pointer: fine) {
    .service-overlay p {
        max-height: 0;
    }

    .service-card:hover .service-overlay p {
        max-height: 120px;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

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

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

    .product-card:hover {
        transform: translateY(-8px);
    }
}

/* Touch devices: always show service descriptions */
@media (hover: none) {
    .service-overlay p {
        max-height: 120px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   DARK MODE SUPPORT (optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
    /* Can be enabled if needed */
}

/* ============================================
   Cookie Consent Bar
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(44, 44, 44, 0.97);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-consent.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-consent-inner {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: var(--space-md) var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.cookie-consent-inner p {
    font-size: var(--text-sm);
    color: var(--white);
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-inner p a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-inner p a:hover {
    color: var(--gold);
}

.cookie-consent-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.btn-cookie-reject {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: var(--touch-target);
    white-space: nowrap;
}

.btn-cookie-reject:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.cookie-consent .btn-primary {
    white-space: nowrap;
}

@media (max-width: 639px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-consent-actions .btn-primary,
    .cookie-consent-actions .btn-cookie-reject {
        flex: 1;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    nav,
    .mobile-menu,
    .hero-bg,
    .cta,
    .map-section {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .content-section {
        padding: 1rem 0;
        break-inside: avoid;
    }
}
