:root {
    --bg: #0b1220;
    --surface: #ffffff;
    --surface-alt: #fff4f5;
    --text: #2a1115;
    --text-muted: #6f4a50;
    --primary: #e51f2a;
    --primary-dark: #b8121e;
    --accent: #ffffff;
    --shadow: 0 16px 40px rgba(13, 25, 49, 0.14);
    --radius: 18px;
    --radius-sm: 12px;
    --max-width: 1120px;
    --nav-bg: rgba(151, 10, 25, 0.9);
    --nav-text: rgba(255, 255, 255, 0.9);
    --page-grad-a: rgba(229, 31, 42, 0.16);
    --page-grad-b: rgba(255, 255, 255, 0.8);
    --page-bg-top: #fff7f8;
    --page-bg-bottom: #ffeef0;
    --orb-one: #ff9ea5;
    --orb-two: #e51f2a;
}

body[data-theme='dark'] {
    --surface: #1f1215;
    --surface-alt: #2b171c;
    --text: #fceff1;
    --text-muted: #deb7bd;
    --primary: #ff4b57;
    --primary-dark: #ff848e;
    --accent: #ffffff;
    --shadow: 0 18px 40px rgba(2, 8, 20, 0.45);
    --nav-bg: rgba(63, 8, 15, 0.92);
    --nav-text: rgba(241, 244, 251, 0.92);
    --page-grad-a: rgba(255, 75, 87, 0.11);
    --page-grad-b: rgba(255, 255, 255, 0.05);
    --page-bg-top: #15090c;
    --page-bg-bottom: #1d0d11;
    --orb-one: #852830;
    --orb-two: #c71825;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    line-height: 1.65;
    background:
        radial-gradient(circle at 15% 10%, var(--page-grad-a), transparent 38%),
        radial-gradient(circle at 90% 20%, var(--page-grad-b), transparent 35%),
        linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-bottom) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.background-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.orb-one {
    width: 280px;
    height: 280px;
    background: var(--orb-one);
    top: -80px;
    left: -80px;
}

.orb-two {
    width: 340px;
    height: 340px;
    background: var(--orb-two);
    top: 260px;
    right: -120px;
}

#hero {
    padding: 24px 20px 0;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 18px;
    border-radius: 16px;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 18px;
    position: sticky;
    top: 14px;
    z-index: 100;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    object-fit: cover;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav-controls {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle__icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffbac0;
    box-shadow: 0 0 0 0 rgba(255, 186, 192, 0.4);
    transform: rotate(0deg) scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

body[data-theme='dark'] .theme-toggle__icon {
    background: #e4ebff;
    box-shadow: 6px -6px 0 0 #7c89a8 inset;
    transform: rotate(180deg) scale(1.05);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

nav a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.hero-slider {
    max-width: var(--max-width);
    margin: 18px auto 0;
    position: relative;
    height: min(72vh, 680px);
    min-height: 420px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.65s ease, transform 2.4s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-text {
    position: absolute;
    z-index: 2;
    left: clamp(18px, 6vw, 56px);
    bottom: clamp(28px, 7vw, 56px);
    max-width: 640px;
    color: #f9f9f9;
    background: rgba(20, 4, 8, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 18px 20px;
    backdrop-filter: blur(2px);
    animation: riseIn 0.6s ease;
}

.pill {
    display: inline-block;
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.slide-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.12;
    margin-bottom: 10px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.slide-text p {
    font-size: clamp(0.95rem, 2vw, 1.12rem);
    max-width: 54ch;
    color: #f9f9f9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(122, 10, 21, 0.6);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.slider-arrow.prev {
    left: 14px;
}

.slider-arrow.next {
    right: 14px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.dot.active {
    width: 28px;
    border-radius: 10px;
    background: #ffffff;
}

.stats-strip {
    max-width: var(--max-width);
    margin: -26px auto 0;
    z-index: 3;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat-item {
    background: color-mix(in srgb, var(--surface), transparent 7%);
    border: 1px solid rgba(9, 19, 36, 0.06);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 16px;
    text-align: center;
}

.stat-item strong {
    display: block;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.section {
    max-width: var(--max-width);
    margin: 56px auto 0;
    border-radius: 24px;
    padding: clamp(28px, 5vw, 54px);
    box-shadow: var(--shadow);
}

.section--light {
    background: var(--surface);
}

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

.section-head {
    margin-bottom: 24px;
}

.section-tag {
    display: inline-block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

p {
    color: var(--text-muted);
}

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

.about-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    min-height: 240px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-item {
    border-radius: var(--radius);
    padding: 22px;
    background: color-mix(in srgb, var(--surface), transparent 3%);
    border: 1px solid rgba(9, 19, 36, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 29, 52, 0.15);
}

.service-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.25s ease;
    cursor: zoom-in;
}

.gallery img:hover {
    transform: scale(1.03);
}

.contact-card {
    border-radius: var(--radius);
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface), #fff 35%), color-mix(in srgb, var(--surface-alt), #ffe7eb 45%));
    padding: 24px;
    border: 1px solid rgba(9, 19, 36, 0.08);
}

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

.contact-card a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.social-block h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(229, 31, 42, 0.28);
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

footer {
    margin-top: 44px;
    background: #790d16;
    text-align: center;
    padding: 26px 20px;
}

footer p {
    color: #f9f9f9;
}

#scrollTopBtn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(229, 31, 42, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 130;
}

#scrollTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 21, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 150;
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: min(1100px, 92vw);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.is-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.is-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .service-list {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    nav {
        position: fixed;
        left: 14px;
        right: 14px;
        margin: 0;
        gap: 10px;
    }

    .logo-text {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        margin: 0;
        padding: 14px;
        border-radius: 12px;
        background: rgba(121, 11, 21, 0.95);
        flex-direction: column;
        gap: 12px;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    #hero {
        padding-top: 84px;
    }

    .hero-slider {
        min-height: 470px;
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    #scrollTopBtn {
        right: 14px;
        bottom: 14px;
    }
}
