/* ==========================================================================
   stasHHouse Studios — Dark Premium Theme
   ========================================================================== */

:root {
    --bg: #0a0a0f;
    --bg-elevated: #101018;
    --surface: #14141d;
    --surface-hover: #191924;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f4f4f6;
    --text-muted: #a7a7b4;
    --text-dim: #71717e;
    --accent: #14b8a6;
    --accent-light: #2dd4bf;
    --accent-glow: rgba(20, 184, 166, 0.35);
    --gradient-accent: linear-gradient(120deg, #2dd4bf 0%, #14b8a6 45%, #0891b2 100%);
    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --nav-height: 76px;
    --radius: 20px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16.5px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

a { color: var(--accent-light); text-decoration: none; }
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 100;
    background: var(--accent);
    color: #06231f;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
}
.skip-link:focus { left: 12px; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section { position: relative; }

.section-pad { padding: 110px 0; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 20px;
}
.kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(30px, 4.4vw, 48px);
    margin-bottom: 20px;
}

.section-lead {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-muted);
    max-width: 640px;
    font-weight: 300;
}

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

/* --------------------------------------------------------------------------
   Ambient glow orbs
   -------------------------------------------------------------------------- */

.has-orb { overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}
.orb-teal { background: #14b8a6; }
.orb-cyan { background: #0891b2; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
    border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}
.brand img {
    height: 46px;
    width: auto;
    filter: invert(1);
    mix-blend-mode: screen;
    transition: transform 0.3s var(--ease);
}
.brand:hover img { transform: scale(1.05); }
.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.brand-name span { color: var(--accent-light); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
    padding: 6px 0;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { flex-shrink: 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: var(--gradient-accent);
    color: #04201c;
    box-shadow: 0 8px 28px -8px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px var(--accent-glow);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(20, 184, 166, 0.06);
}

.btn-sm { padding: 11px 22px; font-size: 14px; }

/* Mobile menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(8, 8, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
    padding: 14px 24px;
    transition: color 0.2s ease, transform 0.3s var(--ease);
    transform: translateY(14px);
    opacity: 0;
}
.mobile-menu.open a {
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu.open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu a:hover { color: var(--accent-light); }

.mobile-menu-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.mobile-menu-close:hover { border-color: var(--accent); color: var(--accent-light); }
.mobile-menu-close svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: calc(var(--nav-height) + 40px) 0 120px;
}

.hero-bg {
    position: absolute;
    inset: -12% 0;
    z-index: 0;
    will-change: transform;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.4) brightness(0.62) contrast(1.05);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 65% at 50% 38%, rgba(20, 184, 166, 0.16), transparent 65%),
        linear-gradient(180deg, rgba(10, 10, 15, 0.72) 0%, rgba(10, 10, 15, 0.45) 42%, var(--bg) 97%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.32);
    background: rgba(20, 184, 166, 0.1);
    backdrop-filter: blur(8px);
    color: var(--accent-light);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 10px var(--accent-light);
    animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
    font-size: clamp(44px, 8.5vw, 96px);
    font-weight: 700;
    margin-bottom: 24px;
    text-wrap: balance;
}

.hero-sub {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 300;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 42px;
    text-wrap: balance;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Equalizer bars */
.eq {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    height: 44px;
    margin-top: 64px;
}
.eq span {
    width: 4px;
    border-radius: 3px;
    background: var(--gradient-accent);
    opacity: 0.8;
    animation: eq-bounce 1.15s ease-in-out infinite;
    transform-origin: bottom;
    height: 100%;
}
@keyframes eq-bounce {
    0%, 100% { transform: scaleY(0.18); }
    50% { transform: scaleY(1); }
}

.scroll-hint {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-dim);
    animation: hint-float 2.4s ease-in-out infinite;
}
.scroll-hint svg { width: 22px; height: 22px; }
@keyframes hint-float {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
    50% { transform: translate(-50%, 9px); opacity: 0.3; }
}

/* --------------------------------------------------------------------------
   Marquee ticker
   -------------------------------------------------------------------------- */

.marquee {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    overflow: hidden;
    padding: 22px 0;
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.marquee-group span {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0 28px;
    white-space: nowrap;
}
.marquee-group svg {
    width: 9px;
    height: 9px;
    color: var(--accent);
    flex-shrink: 0;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Feature strip
   -------------------------------------------------------------------------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}
.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform 0.35s var(--ease), border-color 0.35s ease, background-color 0.35s ease;
}
.feature:hover {
    transform: translateY(-6px);
    border-color: rgba(45, 212, 191, 0.35);
    background: var(--surface-hover);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.25);
    margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--accent-light); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services { background: var(--bg-elevated); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 64px;
}
.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 212, 191, 0.3);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6), 0 0 40px -18px var(--accent-glow);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    box-shadow: 0 10px 26px -8px var(--accent-glow);
    margin-bottom: 24px;
}
.service-icon svg { width: 27px; height: 27px; color: #04201c; }

.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { font-size: 15.5px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 20px;
    margin-top: 64px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease), filter 0.7s ease;
    filter: brightness(0.88);
}
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1); }
.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 26px 22px;
    background: linear-gradient(180deg, transparent, rgba(8, 8, 12, 0.88));
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.04em;
}
.gallery-caption small {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Why / split section
   -------------------------------------------------------------------------- */

.why { background: var(--bg-elevated); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.split-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.split-media img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    filter: brightness(0.9);
}
.split-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(20, 184, 166, 0.12), transparent 55%);
    pointer-events: none;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 38px;
}
.checklist li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.check-badge {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.14);
    border: 1px solid rgba(45, 212, 191, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.check-badge svg { width: 15px; height: 15px; color: var(--accent-light); }
.checklist h3 { font-size: 17.5px; margin-bottom: 4px; }
.checklist p { font-size: 15px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   SEO / detail text
   -------------------------------------------------------------------------- */

.detail .prose {
    max-width: 780px;
    margin: 0 auto;
}
.detail .prose > p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 28px;
}
.detail-item {
    border-left: 2px solid rgba(45, 212, 191, 0.4);
    background: var(--surface);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 22px 26px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.detail-item:hover { border-left-color: var(--accent-light); background: var(--surface-hover); }
.detail-item h3 { font-size: 18px; margin-bottom: 6px; }
.detail-item p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 75% 130% at 50% -20%, rgba(20, 184, 166, 0.28), transparent 60%),
        var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.cta-band .section-lead { margin: 0 auto 40px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    margin-top: 64px;
}
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.3s ease, transform 0.3s var(--ease);
    flex: 1;
}
.contact-card:hover { border-color: rgba(45, 212, 191, 0.3); transform: translateY(-3px); }
.contact-card .service-icon { width: 50px; height: 50px; margin: 0; flex-shrink: 0; }
.contact-card .service-icon svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 15.5px; color: var(--text-muted); }
.contact-card a { color: var(--accent-light); font-weight: 500; transition: color 0.2s ease; }
.contact-card a:hover { color: var(--text); }

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 420px;
    filter: grayscale(0.35) contrast(1.02);
}
.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--border);
    background: #07070b;
    padding: 70px 0 34px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-brand img {
    height: 74px;
    width: auto;
    filter: invert(1);
    mix-blend-mode: screen;
    margin-bottom: 18px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 320px;
}
.footer-col h4 {
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li {
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-dim);
}
.footer-credit a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}
.footer-credit a:hover { color: var(--accent-light); }

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    max-width: 620px;
    margin: 0 auto;
    background: rgba(18, 18, 26, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
    transform: translateY(calc(100% + 40px));
    transition: transform 0.45s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 14px; color: var(--text-muted); flex: 1; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

/* Hidden state only when JS is running — no-JS clients and crawlers see everything */
html.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}
html.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 44px; }
    .split-media img { min-height: 340px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-pad { padding: 80px 0; }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .brand-name { font-size: 15px; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .gallery-item { height: 260px; }
    .gallery-item:first-child { grid-row: auto; height: 320px; }
    .hero-actions .btn { width: 100%; max-width: 340px; }
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 540px) {
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    body { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-bg { transform: none !important; }
}
