/* ============ Variables ============ */
:root {
    --bg: #0a0a0c;
    --bg-alt: #131317;
    --bg-card: rgba(255,255,255,0.05);
    --border: rgba(255,255,255,0.08);
    --text: #eceef1;
    --text-dim: #a3a6ad;
    --text-faint: #6c6f78;
    --accent: #4f8cff;
    --accent-2: #a35cff;
    --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', Arial, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ Reset ============ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    background: var(--bg);
    color: var(--text-dim);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 25px;
    font-weight: 600;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent), var(--accent-2));
    border-radius: 10px;
}

/* ============ Scroll progress bar ============ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient);
    z-index: 2000;
    box-shadow: 0 0 10px var(--accent);
    transition: width 0.1s ease-out;
}

/* ============ Cursor glow (desktop only) ============ */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(79,140,255,0.10), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s ease;
    opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
    .cursor-glow.active { opacity: 1; }
}

/* ============ Reveal on scroll ============ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0s);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Header ============ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 6%;
    z-index: 1000;
    transition: all 0.4s var(--ease);
}

header.scrolled {
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 6%;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

header nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

header nav a {
    color: #d5d6da;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

header nav a:hover,
header nav a.active {
    color: #fff;
}

header nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    display: block;
    width: 0;
    height: 2px;
    background: var(--gradient);
    box-shadow: 0 0 8px var(--accent);
    transition: width 0.3s var(--ease);
}

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

.nav-cta {
    padding: 9px 22px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
}

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

.nav-cta:hover {
    background: var(--gradient);
    border-color: transparent;
}

/* ============ Hero ============ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../images/pexels-karlsolano-10978726.jpg") center / cover no-repeat;
    animation: kenburns 22s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes kenburns {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-1.5%, -1.5%); }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.35) 45%, rgba(10,10,12,0.9) 100%);
    z-index: 1;
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 900px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 18px;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: clamp(3rem, 9vw, 6rem);
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
    animation: wordUp 0.9s var(--ease) forwards;
    animation-delay: var(--d, 0s);
}

.hero-title .line:nth-child(1) .word { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) .word { animation-delay: 0.45s; }
.hero-title .line:nth-child(3) .word { animation-delay: 0.7s; }

@keyframes wordUp {
    to { transform: translateY(0); }
}

.accent-word {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.2rem;
    margin: 20px 0 10px;
    color: #e6e6e9;
    letter-spacing: 0.3px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ============ Buttons ============ */
.btn {
    display: inline-block;
    padding: 15px 38px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.35s var(--ease);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px rgba(79,140,255,0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(163,92,255,0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-ghost {
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

/* ============ Scroll cue ============ */
.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #eee;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    animation: fadeIn 1.5s ease 1.4s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.8; }
}

.scroll-cue-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-cue-mouse span {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 3px;
    animation: scrollDown 1.6s ease infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    70% { opacity: 0.3; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* ============ Sections ============ */
.section {
    position: relative;
    padding: 130px 8%;
    text-align: center;
}

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

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============ About ============ */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.about-media {
    position: relative;
}

.about-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}

.about-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.about-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.about-media:hover .about-frame img {
    transform: scale(1.06);
}

.about-badge {
    position: absolute;
    bottom: -26px;
    right: -26px;
    background: var(--gradient);
    color: #fff;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(79,140,255,0.4);
    animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-badge-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge-label {
    font-size: 0.7rem;
    margin-top: 4px;
    line-height: 1.2;
}

.about-content h2 {
    text-align: left;
}

.about-content p {
    margin-bottom: 18px;
}

/* ============ Stats strip ============ */
.stats-strip {
    position: relative;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 8%;
    overflow: hidden;
}

.stats-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(79,140,255,0.10), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(163,92,255,0.10), transparent 45%);
    pointer-events: none;
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 26px;
    border-radius: 16px;
    position: relative;
    transition: transform 0.45s var(--ease), background 0.45s ease;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border) 50%, transparent);
}

.stat:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.03);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    transition: transform 0.45s var(--ease), border-color 0.45s ease, box-shadow 0.45s ease;
}

.stat:hover .stat-icon {
    transform: scale(1.12) rotate(-6deg);
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--accent), 0 12px 24px rgba(79,140,255,0.35);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-2);
    margin-left: 2px;
}

.stat-label {
    margin-top: 8px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-dim);
}

/* ============ Portfolio ============ */
.filter-bar {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.filter-btn {
    padding: 10px 26px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #fff;
    border-color: var(--accent);
}

.filter-btn.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.portfolio-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    background: #111;
    transition: transform 0.6s var(--ease), opacity 0.4s ease;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease), filter 0.5s ease;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item figcaption {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.4s var(--ease);
}

.portfolio-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item figcaption span {
    background: var(--gradient);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ============ Services ============ */
.services {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 44px 32px;
    flex: 1;
    min-width: 260px;
    border-radius: 14px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.45s ease, box-shadow 0.45s ease;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
}

.card:hover::before {
    opacity: 0.08;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.card h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.card p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* ============ Testimonials ============ */
.testimonials {
    position: relative;
    padding: 130px 8%;
    text-align: center;
    background: var(--bg-alt);
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(79,140,255,0.12), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(163,92,255,0.12), transparent 45%);
    z-index: 0;
}

.testimonials > * {
    position: relative;
    z-index: 1;
}

.testimonial-slider {
    max-width: 720px;
    margin: 40px auto 0;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s var(--ease);
}

.testimonial {
    min-width: 100%;
    padding: 10px 20px;
}

.testimonial p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--text);
    line-height: 1.6;
}

.testimonial-author {
    display: block;
    margin-top: 22px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.testimonial-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dots button.active {
    background: var(--gradient);
    width: 26px;
    border-radius: 6px;
}

/* ============ CTA banner ============ */
.cta-banner {
    position: relative;
    padding: 110px 8%;
    text-align: center;
    background:
        linear-gradient(rgba(10,10,12,0.85), rgba(10,10,12,0.9)),
        url("../images/bild2.jpg") center 20% / cover fixed;
}

.cta-content h2 {
    max-width: 700px;
    margin: 0 auto 16px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* ============ Contact ============ */
.contact-section h2 { margin-bottom: 40px; }

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 46px;
    border-radius: 18px;
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.form-row {
    display: flex;
    gap: 26px;
}

.form-field {
    position: relative;
    flex: 1;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 18px 18px 10px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.form-field label {
    position: absolute;
    left: 18px;
    top: 18px;
    color: var(--text-faint);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(79,140,255,0.15);
    outline: none;
    background: rgba(255,255,255,0.06);
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 0.72rem;
    padding: 0 6px;
    background: var(--bg);
    color: var(--accent);
    border-radius: 4px;
}

.contact-form button {
    padding: 18px 0;
    background: var(--gradient);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(79,140,255,0.35);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.contact-form button span { position: relative; z-index: 1; }

.contact-form button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.contact-form button:hover::before {
    transform: translateX(120%);
}

.contact-form button:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(163,92,255,0.4);
}

.contact-form button:active {
    transform: translateY(-1px);
}

/* ============ Footer ============ */
footer {
    position: relative;
    background-color: #08080a;
    color: #fff;
    padding: 70px 6% 20px;
    font-size: 0.92rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-logo h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

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

.footer-links h3,
.footer-contact h3,
.footer-hours h3,
.footer-social h3 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact p,
.footer-hours p {
    margin-bottom: 8px;
    color: var(--text-dim);
}

.footer-social a {
    font-size: 1.4rem;
    margin-right: 14px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent);
    transform: scale(1.2) rotate(-6deg);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 50px;
    padding-top: 18px;
    font-size: 0.82rem;
    color: var(--text-faint);
}

.footer-bottom a {
    color: var(--text-faint);
    text-decoration: none;
    margin-left: 8px;
    transition: color 0.3s ease;
}

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

a[href^="mailto:"] {
    text-decoration: none;
    color: inherit;
}

a[href^="mailto:"]:hover {
    color: var(--accent);
}

/* ============ Back to top ============ */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(79,140,255,0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.35s var(--ease);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-6px);
}

/* ============ Lightbox ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5,5,7,0.95);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

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

.lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transform: scale(0.92);
    transition: transform 0.35s var(--ease);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 26px;
    right: 32px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--gradient);
    border-color: transparent;
}

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

/* ============ Hamburger ============ */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-content h2 { text-align: center; }
    .about-content { text-align: center; }
    .about-media { max-width: 420px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px 0; }
    .stat:not(:last-child)::after { display: none; }
    .stat:nth-child(odd)::before {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: linear-gradient(180deg, transparent, var(--border) 50%, transparent);
    }
}

@media (max-width: 768px) {
    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(8,8,10,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 34px;
        transition: right 0.4s var(--ease);
        z-index: 1050;
    }

    header nav a {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
    }

    nav.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .section { padding: 90px 6%; }
    .form-row { flex-direction: column; gap: 26px; }
    .contact-form { padding: 32px 22px; }
    .cta-banner { background-attachment: scroll; }
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
