/* ============================================
   FORM & HOLZ - Custom Theme CSS
   Meisterschreiner für Qualität
   ============================================ */

/* --- Skip to Content (Accessibility) --- */
.skip-to-content {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-wood-dark);
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10001;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 10px;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    z-index: 10001;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(196, 163, 90, 0.5);
}

/* --- Grain Texture Overlay --- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Marquee Section --- */
.marquee-section {
    background: var(--color-wood-dark);
    padding: 22px 0;
    overflow: hidden;
    border-top: 1px solid rgba(196, 163, 90, 0.15);
    border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(245, 240, 235, 0.25);
    letter-spacing: 0.05em;
    text-transform: none;
    transition: color 0.3s;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0.4;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- CSS Variables --- */
:root {
    --color-wood-dark: #2C1810;
    --color-wood: #5C3A21;
    --color-wood-light: #8B6914;
    --color-wood-warm: #A0734A;
    --color-cream: #F5F0EB;
    --color-cream-dark: #E8E0D6;
    --color-white: #FAFAF8;
    --color-black: #1A1A1A;
    --color-charcoal: #2D2D2D;
    --color-forest: #2D5016;
    --color-forest-light: #4A7A2E;
    --color-gold: #C4A35A;
    --color-gold-light: #D4B96A;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

    --nav-height: 80px;
    --section-padding: clamp(80px, 10vw, 160px);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-smooth);
}

/* --- Loader / Intro Animation --- */
.site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-wood-dark);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loader-logo {
    width: 120px;
    height: 120px;
    opacity: 0;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-cream);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 30px;
    overflow: hidden;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.loader-line {
    width: 0;
    height: 1px;
    background: var(--color-gold);
    margin-top: 20px;
}

.loader-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-wood-warm);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-top: 15px;
    opacity: 0;
}

.loader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0;
}

/* --- Navigation --- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 60px);
    transition: all 0.5s var(--ease-smooth);
}

.site-nav.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.08);
    height: 70px;
}

.site-nav.scrolled .nav-logo-text {
    color: var(--color-wood-dark);
}

.site-nav.scrolled .nav-links a {
    color: var(--color-charcoal);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

.nav-logo img {
    width: 45px;
    height: 45px;
    border-radius: 4px;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-cream);
    letter-spacing: 0.05em;
    transition: color 0.5s var(--ease-smooth);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 45px);
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-cream);
    position: relative;
    padding: 5px 0;
    transition: color 0.5s var(--ease-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width 0.4s var(--ease-out-expo);
}

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

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.nav-hamburger span {
    width: 28px;
    height: 2px;
    background: var(--color-cream);
    transition: all 0.4s var(--ease-smooth);
    transform-origin: center;
}

.site-nav.scrolled .nav-hamburger span {
    background: var(--color-charcoal);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background: var(--color-cream) !important;
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background: var(--color-cream) !important;
}

/* When mobile menu is open, force light elements on dark overlay */
.nav-mobile-overlay.active ~ .site-nav .nav-logo-text,
body.mobile-menu-open .nav-logo-text {
    color: var(--color-cream) !important;
}

body.mobile-menu-open .site-nav,
body.mobile-menu-open .site-nav.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

body.mobile-menu-open .nav-hamburger span {
    background: var(--color-cream) !important;
}

body.mobile-menu-open .theme-toggle {
    border-color: rgba(245, 240, 235, 0.2) !important;
}

body.mobile-menu-open .theme-toggle svg {
    stroke: var(--color-cream) !important;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1.5px solid rgba(245, 240, 235, 0.2);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease-smooth);
    margin-right: 10px;
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-cream);
    transition: all 0.3s;
}

.site-nav.scrolled .theme-toggle {
    border-color: rgba(45, 45, 45, 0.2);
}

.site-nav.scrolled .theme-toggle svg {
    stroke: var(--color-charcoal);
}

.theme-toggle:hover {
    border-color: var(--color-gold);
    transform: rotate(15deg);
}

.theme-toggle:hover svg {
    stroke: var(--color-gold);
}

/* Show/hide sun/moon icons based on theme */
.theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }

/* Light theme overrides */
[data-theme="light"] .hero-overlay {
    background: linear-gradient(180deg, rgba(245,240,235,0.7) 0%, rgba(245,240,235,0.4) 40%, rgba(245,240,235,0.85) 100%);
}

[data-theme="light"] .hero-content .hero-eyebrow {
    color: var(--color-wood);
}

[data-theme="light"] .hero-title {
    color: var(--color-wood-dark);
}

[data-theme="light"] .hero-title em {
    color: var(--color-gold);
}

[data-theme="light"] .hero-subtitle {
    color: rgba(44, 24, 16, 0.7);
}

[data-theme="light"] .btn-outline {
    color: var(--color-wood-dark);
    border-color: rgba(44, 24, 16, 0.3);
}

[data-theme="light"] .btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

[data-theme="light"] .nav-logo-text {
    color: var(--color-wood-dark) !important;
}

[data-theme="light"] .nav-links a {
    color: var(--color-charcoal) !important;
}

[data-theme="light"] .hero-scroll-indicator span {
    color: rgba(44, 24, 16, 0.4);
}

[data-theme="light"] .scroll-line {
    background: linear-gradient(to bottom, var(--color-gold), transparent);
}

[data-theme="light"] .marquee-section {
    background: var(--color-cream-dark);
    border-color: rgba(196, 163, 90, 0.2);
}

[data-theme="light"] .marquee-item {
    color: rgba(44, 24, 16, 0.15);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-wood-dark);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-smooth);
}

.nav-mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav-mobile-overlay a {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--color-cream);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(30px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-wood-dark);
}

/* Hero Ken Burns Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    will-change: transform, opacity;
    filter: brightness(0.55) saturate(0.9);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.fade-out {
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(44, 24, 16, 0.6) 0%,
        rgba(44, 24, 16, 0.3) 40%,
        rgba(44, 24, 16, 0.75) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 25px;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    color: var(--color-cream);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-title em {
    font-style: italic;
    color: var(--color-gold);
}

.hero-title .word {
    display: inline-block;
    overflow: hidden;
}

.hero-title .word-inner {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    color: rgba(245, 240, 235, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.5);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 38px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-wood-dark);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 163, 90, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-cream);
    border: 1.5px solid rgba(245, 240, 235, 0.4);
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--color-wood-dark);
    color: var(--color-cream);
}

.btn-dark:hover {
    background: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 24, 16, 0.3);
}

.btn-arrow {
    transition: transform 0.3s var(--ease-smooth);
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* --- Section Common --- */
.section {
    padding: var(--section-padding) clamp(20px, 5vw, 80px);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--color-wood-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--color-wood);
}

.section-desc {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-charcoal);
    line-height: 1.8;
    opacity: 0.8;
}

.section-line {
    width: 60px;
    height: 1.5px;
    background: var(--color-gold);
    margin: 25px auto 0;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 50px 35px;
    background: var(--color-white);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
    opacity: 0;
    transform: translateY(40px);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-wood-warm));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--color-gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-wood-dark);
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    opacity: 0.75;
    line-height: 1.7;
}

/* --- About / Story Section --- */
.story-section {
    background: var(--color-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.story-image-wrapper {
    position: relative;
    overflow: hidden;
}

.story-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-smooth);
}

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

.story-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-gold);
    z-index: -1;
}

.story-content {
    padding: 20px 0;
}

.story-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    color: var(--color-wood-dark);
    line-height: 1.25;
    margin-bottom: 25px;
}

.story-content h2 em {
    font-style: italic;
    color: var(--color-wood);
}

.story-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-charcoal);
    opacity: 0.8;
    margin-bottom: 20px;
}

.story-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-cream-dark);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    opacity: 0.6;
}

/* --- Services Section --- */
.services-section {
    background: var(--color-wood-dark);
    color: var(--color-cream);
}

.services-section .section-title {
    color: var(--color-cream);
}

.services-section .section-desc {
    color: rgba(245, 240, 235, 0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 45px 35px;
    border: 1px solid rgba(245, 240, 235, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
    opacity: 0;
    transform: translateY(40px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
}

.service-card:hover {
    border-color: rgba(196, 163, 90, 0.3);
    transform: translateY(-5px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: rgba(196, 163, 90, 0.2);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.5s var(--ease-smooth);
}

.service-card:hover .service-number {
    color: rgba(196, 163, 90, 0.5);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: 15px;
    position: relative;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(245, 240, 235, 0.6);
    position: relative;
}

.service-icon-line {
    width: 30px;
    height: 1.5px;
    background: var(--color-gold);
    margin-bottom: 20px;
    transition: width 0.5s var(--ease-out-expo);
}

.service-card:hover .service-icon-line {
    width: 60px;
}

/* --- Process / Timeline Section --- */
.process-section {
    background: var(--color-cream);
    overflow: hidden;
}

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

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.process-line {
    position: absolute;
    left: 30px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-gold), rgba(196, 163, 90, 0.1));
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-wood-dark);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease-smooth);
}

.process-step:hover .process-number {
    background: var(--color-gold);
    color: var(--color-wood-dark);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(196, 163, 90, 0.3);
}

.process-content {
    padding-top: 10px;
    flex: 1;
}

.process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-wood-dark);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.process-step:hover .process-content h3 {
    color: var(--color-wood);
}

.process-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    opacity: 0.75;
}

@media (max-width: 768px) {
    .process-line {
        left: 20px;
    }
    .process-number {
        min-width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .process-step {
        gap: 25px;
    }
}

/* --- Gallery Section --- */
.gallery-section {
    background: var(--color-cream);
    overflow: hidden;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 10px 25px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    background: transparent;
    border: 1.5px solid var(--color-cream-dark);
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--color-wood-dark);
    border-color: var(--color-wood-dark);
    color: var(--color-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px);
    transition: transform 0.8s var(--ease-smooth), filter 0.8s ease;
}
.gallery-item img.loaded {
    filter: blur(0);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.9), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-smooth);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-cream);
    margin-bottom: 5px;
}

.gallery-item-overlay span {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-smooth);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-cream);
    font-size: 1.5rem;
    transition: transform 0.3s var(--ease-smooth);
    background: none;
    border: none;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 2px;
}

/* --- Team Section --- */
.team-section {
    background: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-30px);
}

.team-card:nth-child(2) {
    transform: translateX(30px);
}

.team-photo {
    width: 180px;
    min-width: 180px;
    height: 230px;
    overflow: hidden;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: all 0.5s var(--ease-smooth);
}

.team-card:hover .team-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-wood-dark);
    margin-bottom: 5px;
}

.team-info .team-role {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 15px;
    display: block;
}

.team-info p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    opacity: 0.75;
}

/* --- CTA / Contact Banner --- */
.cta-section {
    background: linear-gradient(135deg, var(--color-wood-dark) 0%, #1a0f0a 100%);
    text-align: center;
    padding: var(--section-padding) 30px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(196, 163, 90, 0.05) 0%, transparent 60%);
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--color-cream);
    line-height: 1.25;
    margin-bottom: 20px;
    position: relative;
}

.cta-section h2 em {
    font-style: italic;
    color: var(--color-gold);
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(245, 240, 235, 0.7);
    max-width: 550px;
    margin: 0 auto 40px;
    position: relative;
    line-height: 1.8;
}

.cta-section .btn {
    position: relative;
}

/* --- Contact Section --- */
.contact-section {
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-wood-dark);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1rem;
    color: var(--color-charcoal);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-detail svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-gold);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
}

.contact-detail span {
    font-size: 0.95rem;
    color: var(--color-charcoal);
}

.contact-detail a {
    color: var(--color-wood);
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--color-gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-charcoal);
    background: var(--color-white);
    border: 1.5px solid var(--color-cream-dark);
    outline: none;
    transition: border-color 0.3s var(--ease-smooth);
}

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

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

/* Radio group */
.form-group-radio label:first-child {
    margin-bottom: 10px;
}

.radio-group {
    display: flex;
    gap: 25px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--color-charcoal);
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-black);
    color: rgba(245, 240, 235, 0.6);
    padding: 60px clamp(20px, 5vw, 80px) 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245, 240, 235, 0.1);
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-cream);
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cream);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 0.9rem;
    transition: color 0.3s var(--ease-smooth);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 240, 235, 0.15);
    border-radius: 50%;
    transition: all 0.3s var(--ease-smooth);
}

.footer-social a:hover {
    border-color: var(--color-gold);
    background: rgba(196, 163, 90, 0.1);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: rgba(245, 240, 235, 0.6);
    transition: fill 0.3s var(--ease-smooth);
}

.footer-social a:hover svg {
    fill: var(--color-gold);
}

/* Footer Legal */
.footer-legal {
    text-align: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(245, 240, 235, 0.1);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-legal-links a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s var(--ease-smooth);
}

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

.footer-legal-sep {
    opacity: 0.3;
    font-size: 0.7rem;
}

.footer-vat {
    font-size: 0.75rem;
    opacity: 0.4;
}

/* CodLab Credit */
.footer-codlab {
    border-top: 1px solid rgba(245, 240, 235, 0.06);
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.codlab-glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    transition: all 0.3s var(--ease-smooth);
    text-decoration: none !important;
}

.codlab-glass-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.codlab-text {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.45);
    transition: color 0.3s;
}

.codlab-glass-badge:hover .codlab-text {
    color: rgba(245, 240, 235, 0.7);
}

.codlab-logo {
    height: 14px;
    width: 56px;
    max-height: 14px;
    opacity: 0.5;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.codlab-glass-badge:hover .codlab-logo {
    opacity: 0.8;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background: var(--color-wood-dark);
    overflow: hidden;
}

.testimonials-section .section-title {
    color: var(--color-cream);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.active {
    display: block;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
    margin-bottom: 25px;
    opacity: 0.5;
}

.testimonial-quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    font-weight: 400;
    color: var(--color-cream);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author-info strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-cream);
    letter-spacing: 0.03em;
}

.testimonial-author-info span {
    font-size: 0.8rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.testimonial-prev,
.testimonial-next {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1.5px solid rgba(245, 240, 235, 0.2);
    color: var(--color-cream);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s var(--ease-smooth);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(245, 240, 235, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

/* --- Before/After Slider --- */
.before-after-container {
    aspect-ratio: 16/9 !important;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: ew-resize;
}

.before-after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-after-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-img {
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.05s linear;
}

.before-after-label {
    position: absolute;
    bottom: 15px;
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cream);
    background: rgba(44, 24, 16, 0.7);
    backdrop-filter: blur(4px);
}

.before-img .before-after-label {
    left: 15px;
}

.after-img .before-after-label {
    right: 15px;
}

.before-after-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    transition: left 0.05s linear;
}

.handle-line {
    flex: 1;
    width: 2px;
    background: var(--color-gold);
}

.handle-circle {
    width: 44px;
    height: 44px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.handle-circle svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-wood-dark);
}

/* --- Button Ripple --- */
.btn {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(196, 163, 90, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    right: 25px;
    max-width: 440px;
    width: calc(100% - 50px);
    background: var(--color-wood-dark);
    border: 1px solid rgba(196, 163, 90, 0.15);
    border-radius: 8px;
    padding: 28px;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(196, 163, 90, 0.08);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
    pointer-events: none;
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

.cookie-banner-content {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
}

.cookie-banner-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-banner-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: 8px;
}

.cookie-banner-text p {
    font-size: 0.82rem;
    color: rgba(245, 240, 235, 0.65);
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: var(--color-gold-light);
}

/* Categories */
.cookie-banner-categories {
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(245, 240, 235, 0.08);
    border-bottom: 1px solid rgba(245, 240, 235, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-category {
    display: grid;
    grid-template-columns: 24px 1fr;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    cursor: pointer;
    align-items: start;
}

.cookie-category input[type="checkbox"] {
    grid-row: 1 / 3;
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
    cursor: pointer;
    margin-top: 2px;
}

.cookie-cat-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-cream);
    letter-spacing: 0.03em;
}

.cookie-cat-desc {
    font-size: 0.75rem;
    color: rgba(245, 240, 235, 0.45);
    line-height: 1.5;
}

/* Actions */
.cookie-banner-actions,
.cookie-banner-save {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 11px 14px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s var(--ease-smooth);
    text-align: center;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--color-gold);
    color: var(--color-wood-dark);
}

.cookie-btn-accept:hover {
    background: var(--color-gold-light);
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(196, 163, 90, 0.3);
}

.cookie-btn-deny {
    background: transparent;
    color: var(--color-cream);
    border: 1.5px solid rgba(245, 240, 235, 0.2);
}

.cookie-btn-deny:hover {
    border-color: rgba(245, 240, 235, 0.5);
    transform: translateY(-1px);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--color-gold);
    border: 1.5px solid rgba(196, 163, 90, 0.3);
}

.cookie-btn-settings:hover {
    border-color: var(--color-gold);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 15px;
        right: 15px;
        width: calc(100% - 30px);
        padding: 22px;
    }
    .cookie-banner-actions {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
    }
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* --- Custom Cursor (Desktop) --- */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--color-gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    will-change: transform;
    transition: width 0.25s var(--ease-smooth), height 0.25s var(--ease-smooth),
                border-color 0.25s, background 0.25s, opacity 0.3s;
    mix-blend-mode: difference;
    display: none;
}

.custom-cursor.active {
    width: 50px;
    height: 50px;
    background: rgba(196, 163, 90, 0.15);
    border-color: transparent;
    margin-left: -15px;
    margin-top: -15px;
}

@media (pointer: fine) {
    .custom-cursor {
        display: block;
    }
    body {
        cursor: none;
    }
    a, button, .gallery-item, .btn {
        cursor: none;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-item.tall {
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .theme-toggle {
        display: none;
    }

    .nav-mobile-overlay {
        display: flex;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-photo {
        width: 160px;
        height: 200px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .story-stats {
        gap: 30px;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .story-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Smooth scroll offset for anchors --- */
section[id] {
    scroll-margin-top: var(--nav-height);
}

/* --- Selection color --- */
/* --- Button Ripple Effect --- */
.btn {
    position: relative;
    overflow: hidden;
}
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(196, 163, 90, 0.35);
    transform: scale(0);
    animation: btn-ripple-anim 0.6s ease-out forwards;
    pointer-events: none;
}
@keyframes btn-ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --- 3D Tilt Card Shine Overlay --- */
.tilt-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.18) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border-radius: inherit;
}

::selection {
    background: var(--color-gold);
    color: var(--color-wood-dark);
}
