/* ============================================================
   PAL HOME — Luxus & Prémium Házépítés
   Modern luxury design system
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
    --green-990: #03100a;
    --green-950: #04170e;
    --green-900: #062315;
    --green-850: #082c1b;
    --green-800: #0b3a23;
    --green-700: #145a32;
    --green-600: #1b7a43;
    --green-500: #239b56;

    --gold-100: #fbf0d3;
    --gold-200: #f9e6b6;
    --gold-300: #f5d68a;
    --gold-400: #e8c279;
    --gold-500: #d6ab64;
    --gold-600: #c49a5d;
    --gold-700: #a87f48;

    --cream: #faf7f0;
    --cream-2: #f4efe3;
    --cream-3: #ece5d3;
    --ink: #16241c;
    --ink-soft: #45544b;

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Jost', 'Segoe UI', sans-serif;

    --grad-gold: linear-gradient(110deg, var(--gold-300), var(--gold-600) 55%, var(--gold-300));
    --grad-hero: linear-gradient(135deg, #021407 0%, #06301a 45%, #145a32 100%);

    --shadow-lg: 0 30px 80px -20px rgba(2, 18, 9, .55);
    --shadow-md: 0 18px 50px -18px rgba(2, 18, 9, .35);
    --shadow-gold: 0 12px 40px -10px rgba(214, 171, 100, .45);

    --ease-lux: cubic-bezier(.22, 1, .36, 1);
    --radius: 18px;
    --header-h: 84px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.063rem;
    line-height: 1.75;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: var(--gold-500); color: var(--green-950); }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container-wide { width: min(1400px, 94%); margin-inline: auto; }

/* ---------- 3. Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--gold-600);
}
.eyebrow::before {
    content: "";
    width: 42px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500));
}

.sec-head { max-width: 720px; margin-bottom: clamp(2.6rem, 6vw, 4.2rem); }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-head.is-center .eyebrow::after {
    content: "";
    width: 42px; height: 1px;
    background: linear-gradient(90deg, var(--gold-500), transparent);
}

.sec-title {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    margin-top: 1.1rem;
    letter-spacing: -.01em;
}
.sec-title em {
    font-style: italic;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sec-lead { margin-top: 1.2rem; font-size: 1.1rem; color: var(--ink-soft); }

.on-dark { color: var(--cream); }
.on-dark .sec-lead { color: rgba(250, 247, 240, .68); }

/* ---------- 4. Buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .65em;
    padding: 1.02em 2.3em;
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 999px;
    overflow: hidden;
    transition: transform .45s var(--ease-lux), box-shadow .45s var(--ease-lux), background-color .45s, color .45s, border-color .45s;
    white-space: nowrap;
}
.btn-sm { padding: .72em 1.7em; font-size: .82rem; }
.btn-lg { padding: 1.15em 2.8em; font-size: .98rem; }

.btn-gold {
    background: var(--grad-gold);
    background-size: 180% auto;
    color: var(--green-950);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 18px 50px -12px rgba(214, 171, 100, .6);
}
.btn-gold::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
    transform: translateX(-110%);
    transition: transform .9s var(--ease-lux);
}
.btn-gold:hover::after { transform: translateX(110%); }

.btn-ghost {
    color: var(--gold-200);
    border: 1px solid rgba(245, 214, 138, .4);
    background: rgba(255, 255, 255, .04);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    border-color: var(--gold-300);
    background: rgba(245, 214, 138, .1);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--green-900);
    color: var(--gold-200);
    border: 1px solid rgba(245, 214, 138, .25);
}
.btn-dark:hover { background: var(--green-800); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-arrow { transition: transform .4s var(--ease-lux); }
.btn:hover .btn-arrow { transform: translateX(6px); }

/* ---------- 5. Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-hero);
    transition: opacity .7s ease, visibility .7s;
}
#preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader-inner img { animation: preloader-pulse 1.6s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(245, 214, 138, .35)); }
.preloader-bar { width: 120px; height: 1px; background: rgba(245,214,138,.18); position: relative; overflow: hidden; }
.preloader-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-gold);
    transform: translateX(-100%);
    animation: preloader-bar 1.2s var(--ease-lux) infinite;
}
@keyframes preloader-pulse { 50% { transform: scale(1.07); } }
@keyframes preloader-bar { to { transform: translateX(100%); } }

/* ---------- 6. Header ---------- */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(4, 23, 14, .82);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid rgba(245, 214, 138, .12);
    transition: background .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease-lux);
}
#site-header.is-transparent:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
#site-header.is-scrolled { box-shadow: 0 10px 40px -12px rgba(2, 14, 8, .6); }
#site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 2rem;
}

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(245,214,138,.3)); transition: transform .5s var(--ease-lux); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.brand-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 1.32rem;
    letter-spacing: .12em;
    color: var(--cream);
    line-height: 1;
}
.brand-text em {
    font-style: normal;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-text small {
    font-family: var(--font-body);
    font-size: .56rem;
    font-weight: 400;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: rgba(250, 247, 240, .55);
    margin-top: 7px;
}

#site-nav { display: flex; align-items: center; gap: 2.4rem; }
.nav-list { display: flex; gap: 2.2rem; }
.nav-link {
    position: relative;
    font-size: .92rem;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(250, 247, 240, .82);
    padding: .4em 0;
    transition: color .35s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--ease-lux);
}
.nav-link:hover, .nav-link.is-active { color: var(--gold-300); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

#nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 110;
}
#nav-toggle span {
    width: 26px; height: 2px;
    background: var(--gold-300);
    border-radius: 2px;
    transition: transform .45s var(--ease-lux), opacity .3s;
}
#nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#nav-toggle.is-open span:nth-child(2) { opacity: 0; }
#nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--grad-hero);
    overflow: hidden;
    isolation: isolate;
}

/* A "blur" hatást maga a radial-gradient adja — a filter: blur()
   nagy felületen túl drága lenne (gyenge gépeken akadozna). */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    opacity: .55;
    z-index: -1;
    will-change: transform;
}
.blob-1 {
    width: 56vw; height: 56vw;
    min-width: 480px; min-height: 480px;
    background: radial-gradient(circle, rgba(35, 155, 86, .5) 0%, rgba(35, 155, 86, .22) 35%, transparent 68%);
    top: -18%; left: -12%;
    animation: blob-drift-1 22s ease-in-out infinite alternate;
}
.blob-2 {
    width: 44vw; height: 44vw;
    min-width: 420px; min-height: 420px;
    background: radial-gradient(circle, rgba(214, 171, 100, .3) 0%, rgba(214, 171, 100, .13) 38%, transparent 68%);
    bottom: -16%; right: -10%;
    animation: blob-drift-2 26s ease-in-out infinite alternate;
}
.blob-3 {
    width: 30vw; height: 30vw;
    min-width: 320px; min-height: 320px;
    background: radial-gradient(circle, rgba(20, 90, 50, .7) 0%, rgba(20, 90, 50, .3) 40%, transparent 70%);
    top: 30%; right: 16%;
    animation: blob-drift-3 18s ease-in-out infinite alternate;
}
@keyframes blob-drift-1 { to { transform: translate(9vw, 7vh) scale(1.12); } }
@keyframes blob-drift-2 { to { transform: translate(-7vw, -6vh) scale(1.08); } }
@keyframes blob-drift-3 { to { transform: translate(-5vw, 8vh) scale(.92); } }

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(2, 14, 7, .55) 100%);
}

.hero-rings {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.hero-rings span {
    position: absolute;
    border: 1px solid rgba(245, 214, 138, .09);
    border-radius: 50%;
}
.hero-rings span:nth-child(1) { width: 560px; height: 560px; animation: ring-spin 50s linear infinite; border-style: dashed; }
.hero-rings span:nth-child(2) { width: 780px; height: 780px; opacity: .7; }
.hero-rings span:nth-child(3) { width: 1020px; height: 1020px; opacity: .45; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero-content {
    position: relative;
    padding: calc(var(--header-h) + 4vh) 6vw 12vh;
    max-width: 980px;
}

.hero-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    animation: hero-in 1.2s var(--ease-lux) both;
}
.hero-logo img {
    width: clamp(110px, 16vw, 168px);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 12px 45px rgba(245, 214, 138, .4));
    animation: logo-float 6s ease-in-out infinite;
}
.hero-logo::after {
    content: "";
    position: absolute;
    inset: -26%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 214, 138, .22), transparent 62%);
    z-index: -1;
    animation: logo-glow 6s ease-in-out infinite;
}
@keyframes logo-float { 50% { transform: translateY(-12px); } }
@keyframes logo-glow { 50% { opacity: .55; transform: scale(1.12); } }

.hero-title {
    font-size: clamp(3rem, 8.5vw, 6.2rem);
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--cream);
    animation: hero-in 1.2s .15s var(--ease-lux) both;
}
.hero-title em {
    font-style: normal;
    background: var(--grad-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-shimmer 5s ease-in-out infinite;
}
@keyframes gold-shimmer { 50% { background-position: 100% center; } }

.hero-tagline {
    margin-top: 1.4rem;
    font-size: clamp(.78rem, 1.6vw, .95rem);
    font-weight: 400;
    letter-spacing: .58em;
    text-indent: .58em;
    text-transform: uppercase;
    color: rgba(250, 247, 240, .62);
    animation: hero-in 1.2s .3s var(--ease-lux) both;
}

.hero-divider {
    width: 1px;
    height: 64px;
    margin: 2.6rem auto;
    background: linear-gradient(180deg, transparent, var(--gold-400), transparent);
    animation: hero-in 1.2s .45s var(--ease-lux) both;
}

.hero-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.45rem, 3.4vw, 2.3rem);
    line-height: 1.45;
    background: var(--grad-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-in 1.2s .6s var(--ease-lux) both, gold-shimmer 7s 2s ease-in-out infinite;
}

.hero-cta {
    margin-top: 3.2rem;
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: hero-in 1.2s .78s var(--ease-lux) both;
}

@keyframes hero-in {
    from { opacity: 0; transform: translateY(42px); filter: blur(10px); }
    to   { opacity: 1; transform: none; filter: none; }
}

.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: .68rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: rgba(250, 247, 240, .55);
    transition: color .4s;
    animation: hero-in 1.2s 1.1s var(--ease-lux) both;
}
.hero-scroll:hover { color: var(--gold-300); }
.hero-scroll::after {
    content: "";
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, var(--gold-400), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 50% { transform: scaleY(.45); transform-origin: top; opacity: .4; } }

/* Alacsony képernyőn tömörebb hero, hogy minden elférjen */
@media (max-height: 860px) {
    .hero-logo img { width: clamp(84px, 11vw, 116px); }
    .hero-logo { margin-bottom: 1.2rem; }
    .hero-divider { height: 40px; margin: 1.6rem auto; }
    .hero-cta { margin-top: 2.2rem; }
    .hero-content { padding-bottom: 14vh; }
}

/* ---------- 8. Gold marquee ---------- */
.marquee {
    position: relative;
    background: var(--green-990);
    border-block: 1px solid rgba(245, 214, 138, .16);
    padding: 1.15rem 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 4.5rem;
    width: max-content;
    animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.02rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(245, 214, 138, .75);
    white-space: nowrap;
}
.marquee-track span::after { content: "✦"; font-size: .8em; color: var(--gold-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
.section-dark {
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(35, 155, 86, .14), transparent 60%),
        radial-gradient(700px 480px at 8% 110%, rgba(214, 171, 100, .08), transparent 60%),
        var(--green-950);
    color: var(--cream);
}
.section-cream {
    background:
        radial-gradient(800px 500px at 110% 0%, rgba(214, 171, 100, .12), transparent 55%),
        var(--cream);
}
.section-cream-2 { background: var(--cream-2); }

/* ---------- 10. Stats ---------- */
.stats { background: var(--green-990); padding: clamp(3rem, 6vw, 4.6rem) 0; border-bottom: 1px solid rgba(245,214,138,.1); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.4rem;
    text-align: center;
}
.stat { position: relative; }
.stat + .stat::before {
    content: "";
    position: absolute;
    left: -1.2rem; top: 12%;
    height: 76%; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(245, 214, 138, .25), transparent);
}
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.stat-label {
    margin-top: .5rem;
    font-size: .8rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(250, 247, 240, .6);
}

/* ---------- 11. About (Bemutatkozás) ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.about-media { position: relative; }
.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 4.6;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-lux); }
.about-media:hover .about-img-main img { transform: scale(1.06); }

.about-img-frame {
    position: absolute;
    inset: 24px -24px -24px 24px;
    border: 1px solid rgba(196, 154, 93, .5);
    border-radius: var(--radius);
    z-index: -1;
}
.about-img-small {
    position: absolute;
    width: 46%;
    bottom: -9%;
    right: -7%;
    border-radius: 14px;
    overflow: hidden;
    border: 6px solid var(--cream);
    box-shadow: var(--shadow-md);
    aspect-ratio: 1;
}
.about-img-small img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
    position: absolute;
    top: 6%;
    left: -7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 128px; height: 128px;
    border-radius: 50%;
    background: rgba(6, 35, 21, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 214, 138, .35);
    color: var(--gold-200);
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: logo-float 7s ease-in-out infinite;
}
.about-badge strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.about-badge span { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; margin-top: 5px; opacity: .8; }

.about-quote {
    margin: 1.8rem 0;
    padding-left: 1.4rem;
    border-left: 2px solid var(--gold-500);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.22rem;
    color: var(--ink);
}
.about-text p + p { margin-top: 1rem; }
.about-text { color: var(--ink-soft); }

.about-sign { margin-top: 2.2rem; display: flex; align-items: center; gap: 1.6rem; }
.about-sign img { width: 150px; mix-blend-mode: multiply; opacity: .85; }
.about-sign-meta strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.about-sign-meta span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); }

/* ---------- 12. Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1.6rem;
}
.service-card {
    position: relative;
    padding: 2.6rem 2.1rem 2.4rem;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid rgba(245, 214, 138, .14);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform .6s var(--ease-lux), border-color .6s, box-shadow .6s;
}
.service-card::before {
    content: "";
    position: absolute;
    top: -40%; left: -30%;
    width: 70%; height: 80%;
    background: radial-gradient(circle, rgba(245, 214, 138, .14), transparent 70%);
    opacity: 0;
    transition: opacity .7s;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 214, 138, .45);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }

.service-num {
    position: absolute;
    top: 1.2rem; right: 1.6rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.6rem;
    color: rgba(245, 214, 138, .14);
    transition: color .6s;
}
.service-card:hover .service-num { color: rgba(245, 214, 138, .38); }

.service-icon {
    width: 58px; height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 1.6rem;
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(245, 214, 138, .2), rgba(196, 154, 93, .08));
    border: 1px solid rgba(245, 214, 138, .3);
    color: var(--gold-300);
    transition: transform .6s var(--ease-lux);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.1); }
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 1.34rem; color: var(--cream); margin-bottom: .8rem; }
.service-card p { font-size: .97rem; color: rgba(250, 247, 240, .62); }

/* ---------- 13. Process ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: step;
}
.process-step { position: relative; padding-top: 1.8rem; }
.process-step::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-500) 0 36px, var(--cream-3) 36px);
}
.process-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 3.2rem;
    line-height: 1;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.process-step h3 { font-size: 1.32rem; margin: 1rem 0 .7rem; }
.process-step p { font-size: .97rem; color: var(--ink-soft); }

/* ---------- 14. Gallery ---------- */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .7rem;
    margin-bottom: 3rem;
}
.filter-btn {
    padding: .65em 1.8em;
    font-size: .85rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(250, 247, 240, .65);
    border: 1px solid rgba(245, 214, 138, .2);
    border-radius: 999px;
    transition: all .45s var(--ease-lux);
}
.filter-btn:hover { color: var(--gold-200); border-color: rgba(245, 214, 138, .5); }
.filter-btn.is-active {
    background: var(--grad-gold);
    color: var(--green-950);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.masonry { columns: 3 300px; column-gap: 1.3rem; }
.masonry-item {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 1.3rem;
    border-radius: 14px;
    overflow: hidden;
    break-inside: avoid;
    cursor: zoom-in;
    transform: translateZ(0);
}
.masonry-item img {
    width: 100%;
    transition: transform 1.1s var(--ease-lux), filter 1.1s var(--ease-lux);
}
.masonry-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(3, 16, 10, .78));
    opacity: 0;
    transition: opacity .6s;
}
.masonry-item .masonry-zoom {
    position: absolute;
    right: 14px; bottom: 14px;
    z-index: 2;
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(245, 214, 138, .92);
    color: var(--green-950);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateY(12px);
    transition: all .5s var(--ease-lux);
}
.masonry-item .masonry-cat {
    position: absolute;
    left: 16px; bottom: 14px;
    z-index: 2;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-200);
    opacity: 0;
    transform: translateY(12px);
    transition: all .5s .06s var(--ease-lux);
}
.masonry-item:hover img { transform: scale(1.07); }
.masonry-item:hover::after,
.masonry-item:hover .masonry-zoom,
.masonry-item:hover .masonry-cat { opacity: 1; transform: none; }
.masonry-item.is-hidden { display: none; }

/* Home gallery preview */
.gpreview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1.1rem;
}
.gpreview-grid .masonry-item { margin: 0; height: 100%; }
.gpreview-grid .masonry-item img { height: 100%; object-fit: cover; }
.gpreview-grid .gp-tall { grid-row: span 2; }
.gpreview-grid .gp-wide { grid-column: span 2; }
.gpreview-more { text-align: center; margin-top: 3rem; }

/* ---------- 15. CTA banner ---------- */
.cta-banner {
    position: relative;
    padding: clamp(5rem, 12vw, 9rem) 0;
    background-image: linear-gradient(100deg, rgba(2, 19, 10, .94) 20%, rgba(6, 48, 26, .72)), url('../img/gallery/haz/full/21-hatvan_balassi_post_001.jpg');
    background-size: cover;
    background-position: center 65%;
    background-attachment: fixed;
    color: var(--cream);
    overflow: hidden;
}
.cta-banner-inner { max-width: 660px; }
.cta-banner .sec-title { margin-top: 1rem; }
.cta-banner p { margin-top: 1.2rem; color: rgba(250, 247, 240, .72); }
.cta-banner .btn { margin-top: 2.4rem; }

/* ---------- 16. Page hero (subpages) ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3.4rem, 7vw, 5.5rem);
    background: var(--grad-hero);
    color: var(--cream);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.page-hero .hero-grain, .page-hero .hero-vignette { z-index: -1; }
.page-hero .hero-blob { opacity: .4; }
.page-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    animation: hero-in 1s .1s var(--ease-lux) both;
}
.page-hero-title em {
    font-style: italic;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero-sub {
    margin-top: 1.1rem;
    color: rgba(250, 247, 240, .68);
    font-size: 1.05rem;
    max-width: 560px;
    margin-inline: auto;
    animation: hero-in 1s .25s var(--ease-lux) both;
}
.breadcrumb {
    display: inline-flex;
    gap: .8em;
    margin-bottom: 1.4rem;
    font-size: .76rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(245, 214, 138, .65);
    animation: hero-in 1s var(--ease-lux) both;
}
.breadcrumb a:hover { color: var(--gold-200); }

/* ---------- 17. Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.contact-info > p { margin-top: 1.1rem; color: rgba(250, 247, 240, .68); }

.contact-cards { margin-top: 2.4rem; display: grid; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.3rem 1.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(245, 214, 138, .16);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: border-color .5s, transform .5s var(--ease-lux);
}
.contact-card:hover { border-color: rgba(245, 214, 138, .45); transform: translateX(6px); }
.contact-card-icon {
    flex: 0 0 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(245, 214, 138, .22), rgba(196, 154, 93, .08));
    border: 1px solid rgba(245, 214, 138, .3);
    color: var(--gold-300);
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card strong { display: block; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(245, 214, 138, .8); margin-bottom: .15rem; }
.contact-card span, .contact-card a.val { color: var(--cream); font-size: 1.02rem; }
.contact-card a.val:hover { color: var(--gold-200); }

/* Form */
.form-shell {
    position: relative;
    padding: clamp(1.8rem, 4vw, 3rem);
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
    border: 1px solid rgba(245, 214, 138, .2);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
}
.form-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(245, 214, 138, .5), transparent 38%, transparent 65%, rgba(245, 214, 138, .25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { position: relative; margin-bottom: 1.2rem; }

.form-control {
    width: 100%;
    padding: 1.05em 1.25em;
    font: inherit;
    font-weight: 300;
    color: var(--cream);
    background: rgba(3, 16, 10, .45);
    border: 1px solid rgba(245, 214, 138, .18);
    border-radius: 12px;
    outline: none;
    transition: border-color .4s, box-shadow .4s, background .4s;
}
.form-control::placeholder { color: rgba(250, 247, 240, .38); }
.form-control:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 4px rgba(214, 171, 100, .15);
    background: rgba(3, 16, 10, .65);
}
select.form-control { appearance: none; 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='%23d6ab64' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.2em center; }
select.form-control option { background: var(--green-900); color: var(--cream); }
textarea.form-control { resize: vertical; min-height: 140px; }

.form-label {
    display: block;
    margin-bottom: .45rem;
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(245, 214, 138, .85);
}
.form-label .opt { color: rgba(250, 247, 240, .4); text-transform: none; letter-spacing: .05em; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.6rem; }
.form-note { font-size: .85rem; color: rgba(250, 247, 240, .5); max-width: 300px; }

/* honeypot — látogatók elől rejtve */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.form-status {
    display: none;
    margin-top: 1.4rem;
    padding: 1rem 1.3rem;
    border-radius: 12px;
    font-size: .98rem;
}
.form-status.is-ok {
    display: block;
    background: rgba(35, 155, 86, .16);
    border: 1px solid rgba(35, 155, 86, .5);
    color: #b6e8cc;
}
.form-status.is-err {
    display: block;
    background: rgba(200, 60, 60, .14);
    border: 1px solid rgba(220, 90, 90, .5);
    color: #f3c2c2;
}
.btn.is-loading { pointer-events: none; opacity: .65; }
.btn.is-loading .btn-arrow { animation: ring-spin 1s linear infinite; }

/* ---------- 18. Values (Rólunk) ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}
.value-card {
    padding: 2.2rem 1.9rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--cream-3);
    box-shadow: 0 14px 40px -18px rgba(22, 36, 28, .18);
    transition: transform .6s var(--ease-lux), box-shadow .6s;
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px -20px rgba(22, 36, 28, .3); }
.value-card .service-icon {
    background: linear-gradient(150deg, rgba(20, 90, 50, .12), rgba(214, 171, 100, .14));
    border-color: rgba(196, 154, 93, .4);
    color: var(--green-700);
}
.value-card h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.value-card p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- 19. Footer ---------- */
#site-footer {
    position: relative;
    background:
        radial-gradient(900px 480px at 50% -10%, rgba(20, 90, 50, .35), transparent 60%),
        var(--green-990);
    color: rgba(250, 247, 240, .72);
    padding-top: clamp(4rem, 9vw, 7rem);
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(720px, 80vw); height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.footer-watermark {
    position: absolute;
    right: -6%;
    bottom: -12%;
    width: clamp(300px, 36vw, 520px);
    opacity: .05;
    pointer-events: none;
}

.footer-cta {
    text-align: center;
    padding-bottom: clamp(3.4rem, 7vw, 5.5rem);
    border-bottom: 1px solid rgba(245, 214, 138, .12);
}
.footer-cta-title {
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    color: var(--cream);
    margin-bottom: 2.2rem;
}
.footer-cta-title em {
    font-style: italic;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.footer-col h3 {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 1.3rem;
}
.footer-nav li, .footer-contact li { margin-bottom: .55rem; font-size: .98rem; }
.footer-nav a, .footer-contact a { transition: color .35s, padding-left .35s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-300); padding-left: 6px; }
.footer-slogan {
    margin-top: 1.4rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.08rem;
    color: rgba(245, 214, 138, .8);
}
.footer-social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(245, 214, 138, .3);
    font-size: .75rem;
    letter-spacing: .08em;
    color: var(--gold-300);
    transition: all .4s var(--ease-lux);
}
.footer-social a:hover { background: var(--grad-gold); color: var(--green-950); transform: translateY(-4px); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.6rem 0 2rem;
    border-top: 1px solid rgba(245, 214, 138, .1);
    font-size: .85rem;
    color: rgba(250, 247, 240, .45);
}
.footer-bottom-tag { letter-spacing: .26em; text-transform: uppercase; font-size: .72rem; }

.footer-legal-link { text-decoration: underline; text-underline-offset: 3px; transition: color .35s; }
.footer-legal-link:hover { color: var(--gold-300); }

/* ---------- 19/b. Cookie sáv ---------- */
.cookie-bar {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%) translateY(20px);
    z-index: 140;
    width: min(860px, calc(100vw - 32px));
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s var(--ease-lux), transform .6s var(--ease-lux), visibility .6s;
}
.cookie-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.cookie-bar-inner {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 1.2rem 1.5rem;
    border-radius: 18px;
    background: rgba(4, 23, 14, .9);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid rgba(245, 214, 138, .28);
    box-shadow: var(--shadow-lg);
    color: var(--cream);
}
.cookie-icon {
    flex: 0 0 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(245, 214, 138, .22), rgba(196, 154, 93, .08));
    border: 1px solid rgba(245, 214, 138, .3);
    color: var(--gold-300);
}
.cookie-icon svg { width: 24px; height: 24px; }
.cookie-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--gold-200);
    margin-bottom: .2rem;
}
.cookie-text p { font-size: .88rem; line-height: 1.55; color: rgba(250, 247, 240, .75); }
.cookie-text a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.cookie-text a:hover { color: var(--gold-100); }
.cookie-actions { display: flex; flex-direction: column; gap: .55rem; flex-shrink: 0; }
.cookie-actions .btn { justify-content: center; }

@media (max-width: 700px) {
    .cookie-bar-inner { flex-wrap: wrap; }
    .cookie-icon { display: none; }
    .cookie-actions { flex-direction: row; width: 100%; }
    .cookie-actions .btn { flex: 1; }
}

/* ---------- 19/c. Jogi oldal (adatvédelem) ---------- */
.legal-content { max-width: 800px; margin-inline: auto; color: var(--ink-soft); }
.legal-updated {
    font-size: .82rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 2.2rem;
}
.legal-content h2 {
    font-size: 1.55rem;
    color: var(--ink);
    margin: 2.6rem 0 .9rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--cream-3);
}
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-content p + p { margin-top: .8rem; }
.legal-content ul { margin: .8rem 0 .8rem 1.3rem; list-style: disc; }
.legal-content li { margin-bottom: .35rem; }
.legal-content a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--gold-700); }
.legal-content strong { color: var(--ink); font-weight: 500; }

/* ---------- 19/d. Adatvédelmi checkbox az űrlapon ---------- */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-top: 1.4rem;
    font-size: .88rem;
    line-height: 1.55;
    color: rgba(250, 247, 240, .72);
    cursor: pointer;
}
.form-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 20px;
    width: 20px; height: 20px;
    margin-top: 2px;
    border: 1px solid rgba(245, 214, 138, .45);
    border-radius: 6px;
    background: rgba(3, 16, 10, .45);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.form-consent input[type="checkbox"]::after {
    content: "";
    width: 10px; height: 10px;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    background: var(--green-950);
    transform: scale(0);
    transition: transform .25s var(--ease-lux);
}
.form-consent input[type="checkbox"]:checked {
    background: var(--grad-gold);
    border-color: var(--gold-400);
}
.form-consent input[type="checkbox"]:checked::after { transform: scale(1); }
.form-consent input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 4px rgba(214, 171, 100, .2); }
.form-consent a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.form-consent a:hover { color: var(--gold-100); }

/* ---------- 20. To top ---------- */
#to-top {
    position: fixed;
    right: 26px; bottom: 26px;
    z-index: 90;
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(6, 35, 21, .85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 214, 138, .35);
    color: var(--gold-300);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all .5s var(--ease-lux);
}
#to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
#to-top:hover { background: var(--grad-gold); color: var(--green-950); box-shadow: var(--shadow-gold); }

/* ---------- 21. Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 12, 7, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.lightbox-stage {
    position: relative;
    max-width: min(1280px, 92vw);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    transform: scale(.94);
    transition: transform .45s var(--ease-lux);
}
.lightbox.is-open .lightbox-stage { transform: none; }
.lightbox-stage img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8);
}
.lightbox-stage figcaption { font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(245, 214, 138, .8); }

.lightbox-btn {
    position: absolute;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(245, 214, 138, .3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--gold-200);
    font-size: 1.7rem;
    line-height: 1;
    transition: all .35s;
}
.lightbox-btn:hover { background: var(--grad-gold); color: var(--green-950); }
.lightbox-close { top: 24px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
    position: absolute;
    bottom: 26px; left: 50%;
    transform: translateX(-50%);
    font-size: .82rem;
    letter-spacing: .3em;
    color: rgba(250, 247, 240, .65);
}

/* ---------- 22. Reveal animations ---------- */
.reveal, .reveal-l, .reveal-r, .reveal-z {
    opacity: 0;
    transition: opacity 1s var(--ease-lux), transform 1s var(--ease-lux), filter 1s var(--ease-lux);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}
.reveal { transform: translateY(46px); }
.reveal-l { transform: translateX(-56px); }
.reveal-r { transform: translateX(56px); }
.reveal-z { transform: scale(.88); filter: blur(8px); }
.in-view { opacity: 1; transform: none; filter: none; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gpreview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    :root { --header-h: 72px; }

    #nav-toggle { display: flex; }
    #site-nav {
        position: fixed;
        inset: 0;
        z-index: 105;
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        background: rgba(3, 16, 10, .96);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .5s ease, visibility .5s;
    }
    #site-nav.is-open { opacity: 1; visibility: visible; }
    .nav-list { flex-direction: column; align-items: center; gap: 1.6rem; }
    .nav-link { font-size: 1.25rem; }
    #site-nav .nav-cta { font-size: .95rem; }

    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 520px; margin-inline: auto; margin-bottom: 2.5rem; }
    .about-img-small { right: 0; }
    .about-badge { left: -4%; }

    .cta-banner { background-attachment: scroll; }
}

@media (max-width: 640px) {
    .brand-text { font-size: 1.12rem; }
    .brand-text small { display: none; }
    .brand-logo { width: 38px; height: 38px; }
    .gpreview-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stat + .stat::before { display: none; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-btn { width: 44px; height: 44px; }
    .about-img-small { width: 52%; bottom: -7%; }
    .about-badge { width: 104px; height: 104px; top: 3%; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .masonry { columns: 2 150px; column-gap: .8rem; }
    .masonry-item { margin-bottom: .8rem; }
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal, .reveal-l, .reveal-r, .reveal-z { opacity: 1; transform: none; filter: none; }
}
