:root {
    --bg: #050811;
    --bg-soft: #0b1120;
    --panel: #0d1528;
    --panel-2: #111b31;
    --text: #eef4ff;
    --muted: #a9b6cd;
    --line: rgba(76, 140, 255, 0.14);
    --blue: #34b3ff;
    --violet: #7765ff;
    --silver: #d8dce5;
    --shadow: 0 20px 60px rgba(0,0,0,.34);
    --radius: 22px;
    --container: 1180px;
    --gradient: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(52, 179, 255, .08), transparent 24%),
        radial-gradient(circle at 82% 10%, rgba(119, 101, 255, .10), transparent 20%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--blue); }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 9, 17, .82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}
.custom-logo-wrap img,
.fallback-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
}
.site-nav ul {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.site-nav a {
    font-weight: 600;
    color: #dfe8fa;
}
.menu-toggle {
    display: none;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .75rem 1rem;
}

.hero-section,
.services-section,
.gallery-section,
.portfolio-preview,
.cta-section,
.page-content-section,
.standard-page-section {
    padding: 5rem 0;
}
.hero-shell {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 2rem;
    align-items: center;
}
.hero-copy {
    max-width: 560px;
}
.eyebrow {
    display: inline-flex;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(52,179,255,.16);
    background: rgba(52,179,255,.07);
    color: #8dd6ff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-section h1,
.section-heading h2,
.cta-section h2,
.standard-page-section h1,
.archive-header h1 {
    margin: 0 0 .9rem;
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.04em;
}
.section-heading h2,
.cta-section h2,
.standard-page-section h1,
.archive-header h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.02;
}
.hero-text,
.section-text,
.editor-content,
.archive-description,
.post-meta {
    color: var(--muted);
}
.hero-text {
    font-size: 1.08rem;
    max-width: 46ch;
}
.hero-actions {
    margin-top: 1.5rem;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: .2s ease;
}
.primary-button {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(74, 127, 255, .24);
}
.primary-button:hover {
    color: #fff;
    transform: translateY(-2px);
}

.hero-logo-panel,
.gallery-shell,
.clean-card,
.cta-strip,
.service-tile,
.standard-page-card,
.post-card,
.portfolio-card {
    background: linear-gradient(180deg, rgba(16,24,43,.94) 0%, rgba(10,17,30,.96) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-logo-panel {
    min-height: 460px;
    display: grid;
    place-items: center;
    padding: 2rem;
}
.hero-logo-panel img {
    max-width: 420px;
    width: 100%;
}
.section-heading {
    margin-bottom: 2rem;
}
.section-heading.centered {
    text-align: center;
}
.section-text.compact {
    max-width: 42ch;
    margin: 0 auto;
}
.services-minimal-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}
.service-tile {
    min-height: 132px;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    text-align: center;
}
.service-tile span {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}
.gallery-shell {
    padding: 1.4rem;
}
.gallery-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted);
}
.with-action {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}
.text-link {
    color: #99cfff;
    font-weight: 700;
}
.portfolio-clean-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.clean-card {
    padding: 1rem;
}
.clean-card h3 {
    margin: .25rem 0 0;
    font-size: 1.05rem;
}
.thumb-link img,
.featured-image img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: .8rem;
    object-fit: cover;
}
.cta-strip {
    padding: 1.5rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cta-strip h2 {
    margin-bottom: 0;
}
.narrow-content {
    width: min(860px, 100%);
    margin: 0 auto;
}
.editor-content a {
    color: #91d2ff;
}

.gallery-shell .ngg-galleryoverview,
.gallery-shell .ngg-albumoverview,
.gallery-shell .ngg-basic-thumbnails,
.gallery-shell .ngg-gallery-thumbnail-box,
.gallery-shell .ngg-pro-masonry {
    width: 100%;
}
.gallery-shell .ngg-gallery-thumbnail img,
.gallery-shell .ngg-thumbnail img,
.gallery-shell .ngg-pro-masonry-item img {
    border-radius: 14px;
    border: 1px solid var(--line);
}
.gallery-shell .ngg-gallery-thumbnail-box,
.gallery-shell .ngg-thumbnail {
    padding: .3rem;
}
.gallery-shell .ngg-gallery-caption,
.gallery-shell .ngg-albumtitle,
.gallery-shell .ngg-description {
    color: var(--muted);
}

.site-footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--line);
    background: rgba(5, 9, 16, .95);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.4rem;
}
.footer-logo {
    max-width: 220px;
    height: auto;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.footer-contact a,
.footer-contact span,
.social-links a,
.footer-bottom {
    color: var(--muted);
}
.social-links {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.footer-bottom ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

@media (max-width: 1080px) {
    .services-minimal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .hero-shell,
    .services-minimal-grid,
    .portfolio-clean-grid,
    .footer-grid,
    .cta-strip {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .cta-strip {
        display: grid;
    }

    .social-links {
        justify-content: flex-start;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 0 1rem 1rem;
        background: rgba(8, 13, 24, .98);
        border-bottom: 1px solid var(--line);
    }
    .site-nav.open { display: block; }
    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .menu-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
    .hero-section,
    .services-section,
    .gallery-section,
    .portfolio-preview,
    .cta-section,
    .page-content-section,
    .standard-page-section {
        padding: 4rem 0;
    }

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

    .custom-logo-wrap img,
    .fallback-logo {
        height: 56px;
    }

    .hero-logo-panel {
        min-height: 320px;
    }
}
