/* ============================================
   LUMIÈRE DENTAL STUDIO — Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
    --color-bg: #faf9f7;
    --color-bg-warm: #f5f0eb;
    --color-bg-dark: #1b2a3d;
    --color-bg-darker: #131f2e;
    --color-sage: #6b8a7a;
    --color-sage-light: #8aab9c;
    --color-sage-dark: #4a6b5a;
    --color-navy: #1b2a3d;
    --color-navy-light: #2c4260;
    --color-cream: #f0ebe3;
    --color-warm-white: #fdfcfa;
    --color-text: #2c2c2c;
    --color-text-light: #6b6b6b;
    --color-text-on-dark: #e8e4df;
    --color-accent: #c9a96e;
    --color-accent-light: #dfc99a;
    --color-border: #e5e0da;
    --color-white: #ffffff;

    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul { list-style: none; }

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: 20px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-sage);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(107,138,122,0.3);
}

.btn-primary:hover {
    background: var(--color-sage-dark);
    box-shadow: 0 6px 28px rgba(107,138,122,0.4);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Image Placeholders --- */
.img-placeholder {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-bg-warm) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(250,249,247,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    font-size: 1.6rem;
    color: var(--color-sage);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: -0.01em;
}

.navbar:not(.scrolled) .logo-text {
    color: var(--color-white);
}

.navbar:not(.scrolled) .logo-icon {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
    padding: 4px 0;
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255,255,255,0.8);
}

.navbar:not(.scrolled) .nav-links a:hover {
    color: #fff;
}

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

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

.nav-links a:hover {
    color: var(--color-sage);
}

.nav-cta {
    background: var(--color-sage) !important;
    color: var(--color-white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--color-sage-dark) !important;
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 100%;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar:not(.scrolled) .hamburger,
.navbar:not(.scrolled) .hamburger::before,
.navbar:not(.scrolled) .hamburger::after {
    background: var(--color-white);
}

.hamburger {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(27,42,61,0.85) 0%, rgba(107,138,122,0.7) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f5f0eb" width="1200" height="800"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19,31,46,0.4) 0%, rgba(27,42,61,0.2) 50%, rgba(19,31,46,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--color-accent-light);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
}

.hero .btn-primary {
    background: var(--color-white);
    color: var(--color-navy);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.hero .btn-primary:hover {
    background: var(--color-accent-light);
    color: var(--color-navy);
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-navy);
}

.stat-suffix {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-sage);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

.about-image-stack {
    position: relative;
    height: 500px;
}

.about-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-1 {
    width: 75%;
    height: 65%;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-img-2 {
    width: 60%;
    height: 55%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 6px solid var(--color-white);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-cream), var(--color-bg-warm));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon {
    width: 28px;
    height: 28px;
    color: var(--color-sage);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   TEAM
   ============================================ */
.team {
    padding: 120px 0;
    background: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
}

.team-photo {
    margin-bottom: 28px;
}

.team-img {
    border-radius: var(--radius-xl);
    aspect-ratio: 3/4;
    min-height: 300px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-bg-warm) 50%, var(--color-sage-light) 100%);
}

.team-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-sage);
    margin-bottom: 6px;
}

.team-creds {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 14px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--color-bg);
}

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gallery-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    aspect-ratio: 2/1;
}

.gallery-img {
    position: relative;
    border-radius: 0;
    min-height: 180px;
    cursor: pointer;
}

.gallery-after {
    background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-sage) 100%);
}

.gallery-label {
    padding: 16px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
    text-align: center;
}

.gallery-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 32px;
    font-style: italic;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--color-navy);
    color: var(--color-text-on-dark);
}

.testimonials .section-label {
    color: var(--color-accent-light);
}

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

.testimonials .section-title em {
    color: var(--color-accent-light);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-track {
    position: relative;
    min-height: 280px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-slide blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text-on-dark);
    margin-bottom: 32px;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    font-style: normal;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--color-accent-light);
}

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

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition);
}

.testimonial-btn svg {
    width: 20px;
    height: 20px;
}

.testimonial-btn:hover {
    background: var(--color-sage);
    border-color: var(--color-sage);
}

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

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.testimonial-dot.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   TECHNOLOGY
   ============================================ */
.technology {
    padding: 120px 0;
    background: var(--color-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tech-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-sage), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.tech-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

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

.tech-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 16px;
    transition: color var(--transition);
}

.tech-card:hover .tech-number {
    color: var(--color-sage);
}

.tech-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   CONTACT / BOOKING
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    color: var(--color-sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--color-sage);
}

.contact-form-wrap {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.contact-form-wrap h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.optional {
    font-weight: 400;
    color: var(--color-text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: all var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-sage);
    box-shadow: 0 0 0 3px rgba(107,138,122,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0aaa3;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-success {
    text-align: center;
    padding: 20px 0;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--color-sage);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-darker);
    color: var(--color-text-on-dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-text {
    color: var(--color-white);
}

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

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin: 16px 0 24px;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-social a:hover {
    background: var(--color-sage);
    border-color: var(--color-sage);
    color: var(--color-white);
}

.footer-links h4,
.footer-trust h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

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

.footer-trust ul li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
}

.footer-insurance {
    margin-top: 24px;
}

.footer-insurance p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

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

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

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

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(19,31,46,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all var(--transition);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-sage);
    border-color: var(--color-sage);
}

.lightbox-content {
    max-width: 80%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content .img-placeholder {
    min-width: 500px;
    min-height: 400px;
    font-size: 1.2rem;
    border-radius: var(--radius-lg);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 50px;
    }

    .services-grid,
    .team-grid,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        color: var(--color-navy) !important;
    }

    .nav-cta {
        margin-top: 12px;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

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

    .about-image-stack {
        height: 350px;
    }

    .about-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

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

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

    .contact-form-wrap {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }

    .lightbox-content .img-placeholder {
        min-width: 280px;
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .about,
    .services,
    .team,
    .gallery,
    .technology,
    .contact {
        padding: 80px 0;
    }

    .about-image-stack {
        height: 280px;
    }

    .about-img-2 {
        width: 55%;
    }

    .testimonial-track {
        min-height: 360px;
    }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }

    .fade-up {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-sage);
    outline-offset: 3px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
