/* ===== ADAPTIVE DIGITAL — Aston Martin F1 Design System ===== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* Smaragd + chartreuse + krém paletta */
    --black: #06231D;          /* mély zöld bázis (nem fekete) */
    --dark: #082a22;
    --dark-card: #0C342C;      /* kártyafelület */
    --dark-hover: #114036;
    --amr: #076653;            /* smaragd akcens */
    --amr-deep: #0C342C;
    --amr-dark: #06231D;
    --lime: #E3EF26;           /* chartreuse fő-akcens */
    --lime-soft: #EAF25C;
    --lime-dim: rgba(227, 239, 38, 0.14);
    --white: #ffffff;
    --off-white: #FFFDEE;      /* krém */
    --gray-100: #e8eadf;
    --gray-200: #cdd6c2;
    --gray-300: #93a394;
    --gray-400: #6f7e70;
    --gray-500: #50604f;
    --gray-600: #1d3a31;
    --gray-700: #0f2d25;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.4s var(--ease);

    /* Prémium polish 3.0 — krém / smaragd / chartreuse */
    --paper: #FFFDEE;          /* krém világos szekció */
    --paper-2: #E2FBCE;        /* pasztell zöld alt szekció */
    --ink: #06231D;            /* mély zöld szöveg világos háttéren */
    --ink-soft: #3a4f44;
    --pearl: #FFFDEE;
    --emerald: #076653;
    --emerald-deep: #0C342C;
    --platinum-grad: linear-gradient(176deg, #FFFDEE 0%, #EAF7DA 45%, #9fcf8e 100%);
    --gold: #c9d96a;           /* visszafogott chartreuse micro-akcens */
    --gold-2: #5f7e3a;
    --gold-grad: linear-gradient(135deg, #EAF25C, #076653 60%, #b9d24a);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Premium noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

::selection { background: var(--amr); color: var(--white); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--amr); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 500; text-transform: none; font-family: var(--font); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 500; letter-spacing: 0.05em; }

p { color: var(--gray-300); font-size: 0.95rem; line-height: 1.75; }

a { color: inherit; text-decoration: none; transition: color 0.3s; }

.container { max-width: 1340px; min-width: 0; margin: 0 auto; padding: 0 3rem; }

/* Ensure content areas are at least 1200px on desktop */
@media (min-width: 1280px) {
    .container { min-width: 1200px; }
}

/* === NAV — AM style: minimal, dark, fixed === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    transition: background 0.3s, border 0.3s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(6,35,29,0.96);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--amr);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
}

.nav__logo-icon {
    width: 38px;
    height: 38px;
    background: var(--amr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.nav__logo-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.3;
}

.nav__logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.footer .nav__logo-img {
    height: 36px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav__links a {
    color: var(--gray-300);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav__links a:hover,
.nav__links a.active {
    color: var(--white);
}

.nav__cta {
    height: 38px;
    padding: 0 1.5rem !important;
    font-size: 0.65rem !important;
    background: var(--lime) !important;
    color: var(--black) !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    cursor: pointer;
    transition: opacity 0.3s;
}

.nav__cta:hover { opacity: 0.85; }

/* Hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}
.nav__hamburger span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
}
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
}
.mobile-menu a:hover { color: var(--lime); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: 48px;
    padding: 0 2rem;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary { background: var(--lime); color: var(--black); }
.btn--primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn--green { background: var(--amr); color: var(--white); }
.btn--green:hover { background: var(--amr-dark); }

.btn--outline { background: transparent; color: var(--white); border: 1px solid var(--gray-500); }
.btn--outline:hover { border-color: var(--white); }

.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--gray-100); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--gray-700); }

.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(3px); }

/* === LABEL === */
.label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 1rem;
}

.label::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--lime);
}

/* For light sections */
.section--light .label, .section--light-alt .label { color: var(--amr); }
.section--light .label::before, .section--light-alt .label::before { background: var(--amr); }
.section--light h2, .section--light h3, .section--light h4, .section--light-alt h2, .section--light-alt h3, .section--light-alt h4 { color: var(--black); }
.section--light p, .section--light-alt p { color: var(--gray-400); }
.section--light .btn--outline, .section--light-alt .btn--outline { color: var(--black); border-color: var(--gray-200); }
.section--light .btn--outline:hover, .section--light-alt .btn--outline:hover { border-color: var(--black); }

/* Light section overrides for all components */
.section--light .case-card { background: var(--off-white); }
.section--light .case-card h3 { color: var(--white); }
.section--light .case-card p { color: var(--gray-200); }

.section--light .cases__grid { background: var(--gray-100); }

.section--light .tech__grid, .section--light-alt .tech__grid { background: var(--gray-100); }
.section--light .tech-item, .section--light-alt .tech-item { background: var(--white); }
.section--light .tech-item:hover, .section--light-alt .tech-item:hover { background: var(--off-white); }
.section--light .tech-item__name, .section--light-alt .tech-item__name { color: var(--black); }
.section--light .tech-item__desc, .section--light-alt .tech-item__desc { color: var(--gray-400); }
.section--light .tech-item__icon svg, .section--light-alt .tech-item__icon svg { stroke: var(--amr); }

.section--light .process__step, .section--light-alt .process__step { border-right-color: var(--gray-100); }
.section--light .process__step-number, .section--light-alt .process__step-number { color: rgba(7,102,83, 0.1); }
.section--light .process__step h3, .section--light-alt .process__step h3 { color: var(--black); }
.section--light .process__step p, .section--light-alt .process__step p { color: var(--gray-400); }

.section-header { margin-bottom: 3.5rem; max-width: 620px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--amr), var(--lime));
    margin-top: 1rem;
}
.section-header.center h2::after { margin-left: auto; margin-right: auto; }
.section-header p { margin-top: 1rem; }

/* === HERO — Full-screen, AM style === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--black);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 70% at 0% 50%, rgba(7,102,83, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(7,102,83, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(7,102,83, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 100px 100px;
}

.hero__stripe {
    position: absolute;
    top: 0;
    right: 18%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(7,102,83, 0.4), transparent);
    transform: skewX(-20deg);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 8rem;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--lime);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2rem;
}

.hero__eyebrow .dot {
    width: 5px;
    height: 5px;
    background: var(--lime);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 { margin-bottom: 1.5rem; max-width: none; font-size: clamp(2.4rem, 4vw, 4rem); }

/* töréspont-vezérlés: fix sortörés csak széles kijelzőn, elválaszthatatlan szavak */
.nowrap { white-space: nowrap; }

/* Hero scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.hero__scroll span {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gray-500);
}
.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--amr), transparent);
    animation: scrollHint 2s ease-in-out infinite;
}
.hero h1 .highlight {
    color: var(--lime);
    position: relative;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amr), var(--lime));
}

.hero__desc {
    font-size: 1.05rem;
    max-width: 620px;
    margin-bottom: 2.5rem;
    color: var(--gray-200);
    line-height: 1.85;
}

.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 5rem; }

.hero__stats {
    display: flex;
    gap: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lime);
    line-height: 1;
    letter-spacing: 0.02em;
}

.hero__stat-label {
    font-size: 0.68rem;
    color: var(--gray-500);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

/* === SECTIONS === */
.section { padding: 8rem 0; position: relative; }
.section--dark { background: var(--dark); }
.section--premium {
    background: var(--black);
    position: relative;
    overflow: hidden;
}
.section--premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 0% 50%, rgba(7,102,83, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 100% 0%, rgba(7,102,83, 0.1) 0%, transparent 50%);
    z-index: 0;
    transform: translateY(var(--parallax-y, 0));
    will-change: transform;
}
.section--premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
}
.section--premium > .container { position: relative; z-index: 1; }
.section--premium__stripe {
    position: absolute;
    top: 0;
    right: 22%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(7,102,83, 0.3), transparent);
    transform: skewX(-20deg);
    z-index: 0;
}
.section--light { background: var(--white); }
.section--light-alt { background: var(--off-white); }
.section--amr { background: var(--amr); }
.section--amr h2, .section--amr h3 { color: var(--white); }
.section--amr p { color: rgba(255,255,255,0.7); }
.section--amr .label { color: var(--lime); }
.section--amr .label::before { background: var(--lime); }

/* === MARQUEE === */
/* Green accent bar between hero and content */
.hero-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--amr), var(--lime));
}

.marquee {
    padding: 1.25rem 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
    background: var(--white);
}

.marquee__track {
    display: flex;
    gap: 2rem;
    animation: marquee 45s linear infinite;
    width: max-content;
}

.marquee__item {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.marquee__item .sep {
    width: 3px;
    height: 3px;
    background: var(--amr);
    border-radius: 50%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === SERVICE CARDS — AM grid style === */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--amr), var(--lime));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s var(--ease);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amr), var(--lime));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

.service-card:hover::before { transform: scaleY(1); }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { background: var(--off-white); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }

.service-card__number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--amr);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--amr);
    background: rgba(7,102,83, 0.08);
    border-radius: 0;
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    color: var(--black);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: -0.01em;
    font-family: var(--font);
    font-weight: 700;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-card__link {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amr);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-card__link:hover { color: var(--black); }

/* === PROCESS === */
.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.process__step {
    padding: 2.5rem;
    border-right: 1px solid rgba(255,255,255,0.05);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--amr), var(--lime)) 1;
    border-image-slice: 1 0 0 0;
    position: relative;
}

.process__step:last-child { border-right: none; }

.process__step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(7,102,83, 0.35);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.process__step h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.process__step p { font-size: 0.9rem; color: var(--gray-400); }

/* === CASE STUDY CARDS — AM image card style === */
.cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.04);
}

.case-card {
    position: relative;
    overflow: hidden;
    height: 480px;
    cursor: pointer;
    background: var(--black);
}

.case-card__bg {
    position: absolute;
    inset: 0;
    transition: transform 1s var(--ease);
    opacity: 0.5;
}

.case-card:nth-child(1) .case-card__bg { background: linear-gradient(170deg, #01665E 0%, #000 70%); }
.case-card:nth-child(2) .case-card__bg { background: linear-gradient(170deg, #1a1a2e 0%, #000 70%); }
.case-card:nth-child(3) .case-card__bg { background: linear-gradient(170deg, #2d1b3d 0%, #000 70%); }
.case-card:nth-child(4) .case-card__bg { background: linear-gradient(170deg, #1b2d3d 0%, #000 70%); }

.case-card:hover .case-card__bg { transform: scale(1.06); opacity: 0.7; }

.case-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
}

.case-card__tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--lime);
    margin-bottom: 0.75rem;
}

.case-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.case-card p { font-size: 0.85rem; color: var(--gray-300); }

/* === TECH GRID === */
.tech__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.04);
}

.tech-item {
    background: var(--black);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.tech-item:hover { background: var(--dark-hover); }

.tech-item__icon { margin-bottom: 0.75rem; color: var(--lime); opacity: 0.8; }
.tech-item__name { font-weight: 600; font-size: 0.82rem; color: var(--white); }
.tech-item__desc { font-size: 0.7rem; color: var(--gray-500); margin-top: 0.25rem; }

/* === TESTIMONIAL === */
.testimonial {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.testimonial__line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--amr), var(--lime));
    margin: 0 auto 2rem;
}

.testimonial__quote {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--gray-100);
    line-height: 2;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 100%;
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.testimonial__avatar {
    width: 40px;
    height: 40px;
    background: var(--amr);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.testimonial__name { font-weight: 600; font-size: 0.9rem; }
.testimonial__role { font-size: 0.75rem; color: var(--gray-500); }

.section--light .testimonial { background: var(--white); border-color: var(--gray-100); box-shadow: 0 8px 40px rgba(0,0,0,0.04); }
.section--light .testimonial__quote { color: var(--gray-500); }
.section--light .testimonial__name { color: var(--black); }
.section--light .testimonial__role { color: var(--gray-300); }

/* === CTA BANNER — AMR green full-width === */
.cta-banner {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    background: var(--amr);
}

.cta-banner__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, transparent 50%);
}

.cta-banner__stripe {
    position: absolute;
    top: 0;
    right: 22%;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,0.08);
    transform: skewX(-20deg);
    z-index: 1;
}

.cta-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 480px; margin: 0 auto 2rem; }

/* === FOOTER — AM style === */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 0% 100%, rgba(7,102,83, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 100% 0%, rgba(7,102,83, 0.08) 0%, transparent 50%);
    z-index: 0;
}
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
}
.footer > .container { position: relative; z-index: 1; }

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer__brand p {
    margin-top: 1rem;
    font-size: 0.82rem;
    max-width: 260px;
    color: var(--gray-500);
}

.footer__title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--lime);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--amr);
    display: inline-block;
}

.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a { color: var(--gray-500); font-size: 0.82rem; }
.footer__links a:hover { color: var(--lime); }

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__bottom p { font-size: 0.72rem; color: var(--gray-600); }

.footer__social { display: flex; gap: 0.35rem; }
.footer__social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 700;
}
.footer__social a:hover { border-color: var(--amr); color: var(--lime); }

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* === PAGE HEADER (subpages) === */
.page-header {
    padding: 10rem 0 4rem;
    position: relative;
    background: var(--black);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 20% 50%, rgba(7,102,83, 0.06) 0%, transparent 70%);
}

/* Premium page header with hero-like effects */
.page-header--premium {
    overflow: hidden;
}
.page-header--premium::before {
    background:
        radial-gradient(ellipse 80% 70% at 0% 50%, rgba(7,102,83, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(7,102,83, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(7,102,83, 0.08) 0%, transparent 50%);
    z-index: 1;
}
.page-header--premium .hero__bg { z-index: 0; }
.page-header--premium .page-header__content { z-index: 3; }

.page-header__content { position: relative; z-index: 2; }
.page-header h1 { margin-bottom: 0.75rem; }
.page-header p { font-size: 1.05rem; max-width: 540px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gray-600); }
.breadcrumb .current { color: var(--lime); }

/* === SERVICE DETAIL (subpages) === */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.service-detail + .service-detail {
    border-top: 1px solid rgba(255,255,255,0.04);
}

.section--light .service-detail + .service-detail {
    border-top-color: var(--gray-100);
}

.service-detail__visual {
    height: 400px;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail__visual-inner {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(7,102,83, 0.2);
    border-radius: 50%;
    animation: rotate 25s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotate { 100% { transform: rotate(360deg); } }

.service-detail__visual-inner::before {
    content: '';
    width: 90px;
    height: 90px;
    border: 1px solid rgba(7,102,83, 0.1);
    border-radius: 50%;
    animation: rotate 18s linear infinite reverse;
}

.service-detail__visual .icon-large {
    position: absolute;
    color: var(--lime);
    opacity: 0.6;
}

.service-detail__visual .icon-large svg {
    width: 48px;
    height: 48px;
}

.service-detail__text h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.service-detail__text p { margin-bottom: 1.25rem; }

.feature-list { list-style: none; margin-bottom: 2rem; }
.feature-list li {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    color: var(--gray-300);
    font-size: 0.9rem;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 5px;
    height: 1px;
    background: var(--amr);
}

.section--light .feature-list li { color: var(--gray-400); }

/* === PRICING === */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    position: relative;
}

.pricing-card.featured {
    background: var(--black);
    border-top: 3px solid var(--lime);
}

.pricing-card.featured h3, .pricing-card.featured h4 { color: var(--white); }
.pricing-card.featured p { color: var(--gray-300); }

.pricing-card__badge {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: var(--lime);
    color: var(--black);
    padding: 0.3rem 0.8rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-card__name {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--amr);
    margin-bottom: 0.75rem;
}

.pricing-card.featured .pricing-card__name { color: var(--lime); }

.pricing-card__price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
}

.pricing-card.featured .pricing-card__price { color: var(--white); }

.pricing-card__period {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-card.featured .pricing-card__period { border-bottom-color: var(--gray-600); }

.pricing-card__features { list-style: none; margin-bottom: 2rem; }
.pricing-card__features li {
    padding: 0.45rem 0;
    color: var(--gray-400);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-card.featured .pricing-card__features li { color: var(--gray-300); }

.pricing-card__features .check { color: var(--amr); font-weight: 700; }
.pricing-card.featured .pricing-card__features .check { color: var(--lime); }

/* === CONTACT === */
.contact__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 0.85rem 1rem;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--amr);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }

.contact-info__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 1px solid rgba(7,102,83, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lime);
}

.contact-info__icon svg { width: 18px; height: 18px; }

.contact-info__text h4 { margin-bottom: 0.15rem; }
.contact-info__text p { font-size: 0.85rem; color: var(--gray-400); }

/* === TEAM === */
.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.04);
}

.team-card {
    background: var(--black);
    overflow: hidden;
    transition: var(--transition);
}
.team-card:hover { background: var(--dark-hover); }

.team-card__photo {
    height: 260px;
    background: linear-gradient(170deg, var(--amr-dark) 0%, var(--black) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    color: var(--gray-500);
}

.team-card__photo svg { width: 48px; height: 48px; stroke: var(--gray-500); }

.team-card__info { padding: 1.5rem 1.75rem; }
.team-card__name { font-size: 1rem; font-weight: 700; }
.team-card__role {
    font-size: 0.7rem;
    color: var(--lime);
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.team-card__bio { font-size: 0.82rem; color: var(--gray-500); margin-top: 0.6rem; line-height: 1.55; }

/* === TIMELINE === */
.timeline { position: relative; padding-left: 2.5rem; max-width: 650px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--amr), rgba(7,102,83,0.1));
}

.timeline__item { position: relative; padding-bottom: 2.5rem; padding-left: 1.5rem; }
.timeline__item::before {
    content: '';
    position: absolute;
    left: -2.85rem;
    top: 0.25rem;
    width: 7px;
    height: 7px;
    background: var(--lime);
    border-radius: 50%;
}

.timeline__year {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--lime);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.3rem;
}

.timeline__item h4 { margin-bottom: 0.3rem; }
.timeline__item p { font-size: 0.85rem; color: var(--gray-500); }

/* === VALUES === */
.values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.04);
}

.value-card {
    background: var(--black);
    padding: 2.5rem;
    display: flex;
    gap: 1.25rem;
    transition: var(--transition);
}
.value-card:hover { background: var(--dark-hover); }

.value-card__icon { min-width: 36px; color: var(--lime); }
.value-card__icon svg { width: 24px; height: 24px; }
.value-card h4 { margin-bottom: 0.4rem; }
.value-card p { font-size: 0.85rem; color: var(--gray-500); }

/* === NUMBERS === */
.numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.number-item__value {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.number-item__label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

/* === FAQ === */
.faq__list { max-width: 680px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.04); }

.section--light .faq-item { border-bottom-color: var(--gray-100); }

.faq-item__question {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s;
}

.section--light .faq-item__question { color: var(--black); }

.faq-item__question:hover { color: var(--lime); }
.section--light .faq-item__question:hover { color: var(--amr); }

.faq-item__icon {
    font-size: 1.1rem;
    transition: transform 0.3s;
    color: var(--lime);
    font-weight: 300;
    flex-shrink: 0;
}

.section--light .faq-item__icon { color: var(--amr); }

.faq-item.active .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-item__answer { max-height: 300px; }
.faq-item__answer p { font-size: 0.9rem; color: var(--gray-400); padding-bottom: 1.25rem; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services__grid, .pricing__grid, .team__grid { grid-template-columns: repeat(2, 1fr); }
    .process__grid { grid-template-columns: repeat(2, 1fr); }
    .process__step:nth-child(2) { border-right: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .service-detail { grid-template-columns: 1fr; gap: 2.5rem; }
    .tech__grid { grid-template-columns: repeat(3, 1fr); }
    .numbers { grid-template-columns: repeat(2, 1fr); }
    .hero__stats { gap: 2.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .nav__links, .nav__cta { display: none !important; }
    .nav__hamburger { display: flex; }
    .section { padding: 4rem 0; }
    .hero__content { padding-top: 6rem; }
    /* mobilon a cím szabadon törik, kisebb fokozattal */
    .br-lg { display: none; }
    .hero h1 { font-size: clamp(2.05rem, 8.5vw, 2.7rem); }
    .hero__stats { flex-direction: column; gap: 1.25rem; }
    .services__grid, .cases__grid, .pricing__grid, .team__grid, .values__grid, .process__grid { grid-template-columns: 1fr; }
    .process__step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .tech__grid, .numbers { grid-template-columns: repeat(2, 1fr); }
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .page-header { padding: 8rem 0 3rem; }
    .testimonial { padding: 2rem 1rem; }
    .pricing-card.featured { transform: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .tech__grid, .numbers { grid-template-columns: 1fr; }
    .numbers-bar__grid { grid-template-columns: 1fr 1fr; }
    .clients__track { gap: 3rem; }
}

/* ===== PREMIUM ADDITIONS ===== */

/* Numbers bar — full-width AMR green section */
.numbers-bar {
    background: var(--amr);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.numbers-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.1) 100%);
}

.numbers-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.numbers-bar__item {
    text-align: center;
    position: relative;
}

.numbers-bar__item + .numbers-bar__item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.numbers-bar__value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: 0.02em;
}

.numbers-bar__label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.5);
    margin-top: 0.6rem;
}

/* Client logos bar */
.clients {
    padding: 3.5rem 0;
    background: var(--off-white);
    border-bottom: 3px solid var(--amr);
    overflow: hidden;
}

.clients__label {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.clients__marquee {
    display: flex;
    width: max-content;
    animation: clients-scroll 70s linear infinite;
}

.clients__marquee:hover {
    animation-play-state: paused;
}

@keyframes clients-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .clients__marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

.clients__track {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    padding-right: 4.5rem;
    flex-wrap: nowrap;
}

.clients__logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-200);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s;
    cursor: default;
    white-space: nowrap;
}

.clients__logo:hover {
    color: var(--amr);
}

.clients__logo-img {
    height: 34px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.45;
    transition: opacity 0.3s;
}

.clients__logo-img--tall {
    height: 52px;
}

.clients__logo-img:hover {
    opacity: 0.8;
}

/* Decorative section divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.divider__line {
    width: 60px;
    height: 1px;
    background: var(--gray-100);
}

.divider__dot {
    width: 5px;
    height: 5px;
    background: var(--amr);
    border-radius: 50%;
}

/* Full-width image break */
.image-break {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: var(--amr);
}

.image-break__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,102,83, 0.95) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.image-break__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-break__content h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.image-break__content p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* Geometric decorative element */
.geo-accent {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.geo-accent::after {
    content: '';
    position: absolute;
    inset: 30px;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 50%;
}

/* Premium card hover lift */
.case-card:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

/* Footer premium top border */
.footer {
    border-top: 3px solid var(--amr);
}

/* Section thin green accent lines */
.section--amr-border-top {
    border-top: 3px solid var(--amr);
}

/* Premium stat counter style for portfolio page */
.stat-highlight {
    color: var(--lime);
    font-family: var(--font-display);
    font-weight: 700;
}

/* ===== MICRO-ANIMATIONS & PREMIUM EFFECTS ===== */

/* Button glow on hover */
.btn--primary {
    position: relative;
    overflow: hidden;
}
.btn--primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--lime), var(--amr), var(--lime));
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.4s;
    z-index: -1;
}
.btn--primary:hover::before { opacity: 0.5; }

/* CTA button pulse animation */
.cta-banner .btn {
    animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
}

/* Service card icon hover spin */
.service-card__icon svg {
    transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card__icon svg {
    transform: rotate(8deg) scale(1.1);
}

/* Service card number slide-in */
.service-card__number {
    transition: transform 0.5s var(--ease), color 0.3s;
}
.service-card:hover .service-card__number {
    transform: translateX(4px);
    color: var(--lime);
}

/* Service card link arrow bounce */
.service-card__link .arrow {
    transition: transform 0.3s var(--ease);
}
.service-card:hover .service-card__link .arrow {
    animation: arrowBounce 1s var(--ease) infinite;
}
@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* Tech item hover lift + glow */
.tech-item {
    transition: var(--transition), box-shadow 0.4s, transform 0.4s;
}
.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(7,102,83, 0.15);
}
.tech-item__icon svg {
    transition: transform 0.4s var(--ease);
}
.tech-item:hover .tech-item__icon svg {
    transform: scale(1.15);
}

/* Value card hover effects */
.value-card {
    transition: var(--transition), transform 0.4s, box-shadow 0.4s;
}
.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.value-card__icon svg {
    transition: transform 0.5s var(--ease);
}
.value-card:hover .value-card__icon svg {
    transform: rotate(10deg) scale(1.15);
}

/* Process step number hover */
.process__step-number {
    transition: color 0.4s, transform 0.4s var(--ease);
}
.process__step:hover .process__step-number {
    color: rgba(7,102,83, 0.6);
    transform: translateY(-4px);
}

/* Contact info item hover */
.contact-info__item {
    transition: transform 0.3s var(--ease), background 0.3s;
    padding: 0.75rem;
    margin: -0.75rem;
    border-radius: 0;
}
.contact-info__item:hover {
    transform: translateX(6px);
    background: rgba(7,102,83, 0.05);
}

/* FAQ icon rotation */
.faq-item__icon {
    transition: transform 0.4s var(--ease), color 0.3s;
}
.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
    color: var(--lime);
}

/* Numbers bar value count-up glow */
.numbers-bar__value {
    text-shadow: 0 0 30px rgba(255,255,255,0.15);
}

/* Smooth label line grow animation */
.reveal.visible .label::before {
    animation: labelGrow 0.6s var(--ease) forwards;
}
@keyframes labelGrow {
    from { width: 0; }
    to { width: 16px; }
}

/* Section header h2 underline grow */
.reveal.visible .section-header h2::after,
.section-header.reveal.visible h2::after {
    animation: underlineGrow 0.8s var(--ease) 0.2s forwards;
}
@keyframes underlineGrow {
    from { width: 0; }
    to { width: 48px; }
}
.section-header h2::after {
    width: 0;
}

/* Hero bar shimmer effect */
.hero-bar {
    position: relative;
    overflow: hidden;
}
.hero-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Premium stripe glow pulse */
.section--premium__stripe {
    animation: stripePulse 5s ease-in-out infinite;
}
@keyframes stripePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Logo icon hover */
.nav__logo-icon {
    transition: background 0.3s, transform 0.3s var(--ease);
}
.nav__logo:hover .nav__logo-icon {
    background: var(--lime);
    transform: scale(1.05);
}

/* Social icon hover lift */
.footer__social a {
    transition: var(--transition), transform 0.3s;
}
.footer__social a:hover {
    transform: translateY(-3px);
}

/* Testimonial avatar glow */
.testimonial__avatar {
    transition: box-shadow 0.4s;
}
.testimonial:hover .testimonial__avatar,
.testimonial__avatar:hover {
    box-shadow: 0 0 0 4px rgba(7,102,83, 0.3);
}

/* Image break parallax-ready */
.image-break__content h2 {
    transition: transform 0.6s var(--ease);
}

/* Smooth scroll indicator for hero */
@keyframes scrollHint {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* Premium grain texture intensity for dark sections */
.section--premium {
    isolation: isolate;
}

/* ===== HORIZONTAL TIMELINE ===== */
.timeline-h {
    position: relative;
    padding-top: 3rem;
}

.timeline-h__line {
    position: absolute;
    top: calc(3rem + 10px);
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(255,255,255,0.06);
}

.timeline-h__line-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--amr), var(--lime));
    transition: width 1.8s var(--ease);
}

.timeline-h.visible .timeline-h__line-fill {
    width: 100%;
}

.timeline-h__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.timeline-h__step {
    text-align: center;
    padding-top: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-h.visible .timeline-h__step {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.timeline-h.visible .timeline-h__step:nth-child(1) { transition-delay: 0.3s; }
.timeline-h.visible .timeline-h__step:nth-child(2) { transition-delay: 0.6s; }
.timeline-h.visible .timeline-h__step:nth-child(3) { transition-delay: 0.9s; }
.timeline-h.visible .timeline-h__step:nth-child(4) { transition-delay: 1.2s; }

.timeline-h__dot {
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid var(--amr);
    z-index: 2;
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.timeline-h.visible .timeline-h__dot {
    background: var(--amr);
    border-color: var(--lime);
    box-shadow: 0 0 20px rgba(7,102,83, 0.4);
}

.timeline-h__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(7,102,83, 0.25);
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.timeline-h__step h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.timeline-h__step p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* Timeline on light sections */
.section--light .timeline-h__line { background: rgba(6,35,29,0.1); }
.section--light .timeline-h__step h4 { color: var(--black); }
.section--light .timeline-h__step p { color: var(--gray-400); }
.section--light .timeline-h__dot { background: var(--white); }
.section--light .timeline-h.visible .timeline-h__dot { background: var(--amr); }

/* Timeline step hover */
.timeline-h__step:hover .timeline-h__dot {
    background: var(--lime);
    border-color: var(--lime);
    box-shadow: 0 0 30px rgba(227,239,38, 0.3);
    transform: translateX(-50%) scale(1.2);
}
.timeline-h__step:hover .timeline-h__number {
    color: rgba(7,102,83, 0.5);
}

@media (max-width: 768px) {
    .timeline-h__steps { grid-template-columns: 1fr 1fr; gap: 3rem 1.5rem; }
    .timeline-h__line { display: none; }
}

/* =====================================================================
   PRÉMIUM RÉTEG — 2.0  (AI & Web App first)
   ===================================================================== */

/* --- Mono / eyebrow utilities --- */
.mono { font-family: var(--font-mono); letter-spacing: -0.02em; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--lime);
}
.eyebrow::before {
    content: ''; width: 22px; height: 1px; background: var(--lime);
    opacity: 0.7;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

/* --- Custom cursor --- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 99998; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor-dot { width: 6px; height: 6px; background: var(--lime); transform: translate(-50%, -50%); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.5); transform: translate(-50%, -50%); transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s; }
.cursor-ring.is-hover { width: 56px; height: 56px; background: rgba(227,239,38,0.12); border-color: transparent; }
body.cursor-on { cursor: none; }
body.cursor-on a, body.cursor-on button, body.cursor-on .btn { cursor: none; }
@media (max-width: 1024px), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } body.cursor-on { cursor: auto; } }

/* --- Magnetic / premium button polish --- */
.btn { position: relative; overflow: hidden; border-radius: 2px; will-change: transform; }
.btn--primary { background: var(--lime); color: var(--black); box-shadow: 0 0 0 rgba(227,239,38,0); }
.btn--primary:hover { opacity: 1; box-shadow: 0 10px 40px -8px rgba(227,239,38,0.4); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,0.03); color: var(--white); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--lg { height: 56px; padding: 0 2.4rem; font-size: 0.74rem; }

/* --- Aurora / mesh accent behind hero --- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.aurora::before { width: 50vw; height: 50vw; top: -15%; left: -10%; background: radial-gradient(circle, rgba(7,102,83,0.55), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora::after { width: 38vw; height: 38vw; bottom: -10%; right: -5%; background: radial-gradient(circle, rgba(227,239,38,0.18), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(12%, 14%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14%, -10%) scale(1.1); } }

/* --- Tilt cards --- */
.tilt { transform-style: preserve-3d; transition: transform 0.3s var(--ease); will-change: transform; }
.tilt__inner { transform: translateZ(30px); }

/* --- Hero badges row --- */
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.4rem; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: -0.01em;
    color: var(--gray-200); padding: 0.5rem 0.9rem; border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02);
}
.hero__badge svg { width: 14px; height: 14px; color: var(--lime); }

/* --- Split hero layout --- */
.hero--split .hero__content { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.hero--split h1 { max-width: 14ch; }
@media (max-width: 980px) { .hero--split .hero__content { grid-template-columns: 1fr; gap: 2.5rem; } }

/* =========================================================
   ÉLŐ AI-DEMO WIDGET
   ========================================================= */
.ai-demo {
    position: relative; background: linear-gradient(160deg, #0e110f, #0a0c0b);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
    padding: 1.6rem; box-shadow: 0 40px 100px -40px rgba(0,0,0,0.9);
    overflow: hidden;
}
.ai-demo::before { content:''; position:absolute; inset:0; border-radius:16px; padding:1px; background: linear-gradient(160deg, rgba(7,102,83,0.5), transparent 40%, rgba(227,239,38,0.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }
.ai-demo__bar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.3rem; }
.ai-demo__dots { display: flex; gap: 6px; }
.ai-demo__dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-600); }
.ai-demo__dots span:first-child { background: #ff5f57; } .ai-demo__dots span:nth-child(2){ background:#febc2e; } .ai-demo__dots span:nth-child(3){ background:#28c840; }
.ai-demo__title { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gray-300); margin-left: auto; }
.ai-demo__label { font-size: 0.8rem; color: var(--gray-200); margin-bottom: 0.7rem; font-weight: 500; }
.ai-demo__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.ai-demo__chip {
    font-family: var(--font-mono); font-size: 0.72rem; padding: 0.45rem 0.85rem;
    border-radius: 100px; border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02); color: var(--gray-200); cursor: pointer;
    transition: var(--transition);
}
.ai-demo__chip:hover { border-color: var(--lime); color: var(--white); }
.ai-demo__chip.active { background: var(--lime); color: var(--black); border-color: var(--lime); }
.ai-demo__input-row { display: flex; gap: 0.6rem; }
.ai-demo__input {
    flex: 1; height: 48px; padding: 0 1rem; border-radius: 8px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    color: var(--white); font-family: var(--font); font-size: 0.9rem;
}
.ai-demo__input:focus { outline: none; border-color: var(--amr); }
.ai-demo__input::placeholder { color: var(--gray-400); }
.ai-demo__send {
    height: 48px; width: 48px; flex: 0 0 48px; border-radius: 8px; border: none;
    background: var(--lime); color: var(--black); cursor: pointer; display: grid; place-items: center;
    transition: var(--transition);
}
.ai-demo__send:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(227,239,38,0.5); }
.ai-demo__output { margin-top: 1.3rem; min-height: 0; }
.ai-demo__result { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.2rem; }
.ai-demo__thinking { font-family: var(--font-mono); font-size: 0.78rem; color: var(--amr); display: flex; align-items: center; gap: 0.5rem; }
.ai-demo__thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--amr); animation: blink 1s infinite; }
.ai-demo__thinking i:nth-child(2){ animation-delay: 0.2s; } .ai-demo__thinking i:nth-child(3){ animation-delay: 0.4s; }
@keyframes blink { 0%,100%{opacity:0.2;} 50%{opacity:1;} }
.ai-demo__rec-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 0.6rem; }
.ai-demo__rec { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem; border-radius: 10px; background: rgba(255,255,255,0.03); margin-bottom: 0.6rem; opacity: 0; transform: translateY(8px); animation: riseIn 0.5s var(--ease) forwards; }
.ai-demo__rec-icon { flex: 0 0 32px; height: 32px; border-radius: 8px; background: var(--lime-dim); color: var(--lime); display: grid; place-items: center; }
.ai-demo__rec-icon svg { width: 16px; height: 16px; }
.ai-demo__rec-title { font-weight: 600; font-size: 0.9rem; color: var(--white); margin-bottom: 0.15rem; }
.ai-demo__rec-desc { font-size: 0.8rem; color: var(--gray-300); line-height: 1.5; }
.ai-demo__rec-meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--amr); margin-left: auto; white-space: nowrap; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }
.ai-demo__disclaimer { font-size: 0.7rem; color: var(--gray-400); margin-top: 0.8rem; font-family: var(--font-mono); }

/* =========================================================
   PACKAGE / MEGOLDÁS KÁRTYÁK (árazás nélkül)
   ========================================================= */
.packages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.package {
    position: relative; background: var(--dark-card); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 2.2rem; display: flex; flex-direction: column;
    transition: var(--transition);
}
.package:hover { border-color: rgba(227,239,38,0.4); transform: translateY(-4px); }
.package--featured { border-color: var(--amr); background: linear-gradient(180deg, #12463a 0%, #0C342C 55%); }
.package__tag { position: absolute; top: 1.4rem; right: 1.4rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--black); background: var(--lime); padding: 0.3rem 0.6rem; border-radius: 4px; }
.package__step { font-family: var(--font-mono); font-size: 0.72rem; color: #62b795; margin-bottom: 1.2rem; }
.package__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.package__for { font-size: 0.85rem; color: var(--gray-200); margin-bottom: 1.6rem; line-height: 1.6; }
.package__features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.8rem; }
.package__features li { display: flex; gap: 0.7rem; font-size: 0.88rem; color: var(--gray-100); line-height: 1.5; }
.package__features li svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--lime); margin-top: 2px; }
.package__cta { margin-top: auto; }
.package__outcome { font-family: var(--font-mono); font-size: 0.78rem; color: var(--lime); padding: 0.8rem 1rem; border-radius: 8px; background: var(--lime-dim); margin-bottom: 1.6rem; }
@media (max-width: 880px) { .packages__grid { grid-template-columns: 1fr; } }

/* =========================================================
   ANIMÁLT CHART (case study eredmények)
   ========================================================= */
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 2rem 0; }
.metric { background: var(--dark-card); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 1.6rem; position: relative; }
.metric__value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; color: var(--lime); line-height: 1; }
.metric__label { font-size: 0.82rem; color: var(--gray-300); margin-top: 0.6rem; }
.chart { display: flex; align-items: flex-end; gap: 0.8rem; height: 180px; padding: 1.5rem; background: var(--dark-card); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; }
.chart__bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 0.6rem; height: 100%; }
.chart__fill { width: 100%; max-width: 56px; border-radius: 6px 6px 0 0; height: 0; transition: height 1.2s var(--ease); background: var(--gray-600); }
.chart__bar--hi .chart__fill { background: linear-gradient(180deg, var(--lime), var(--amr)); }
.chart__cap { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gray-300); }
@media (max-width: 880px) { .metric-grid { grid-template-columns: 1fr; } }

/* =========================================================
   AUDIT-FLOW (kapcsolat kvalifikáló)
   ========================================================= */
.audit { background: var(--dark-card); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 2.4rem; }
.audit__progress { height: 3px; background: rgba(255,255,255,0.08); border-radius: 3px; margin-bottom: 2rem; overflow: hidden; }
.audit__progress-fill { height: 100%; width: 25%; background: var(--lime); border-radius: 3px; transition: width 0.5s var(--ease); }
.audit__step { display: none; }
.audit__step.active { display: block; animation: riseIn 0.5s var(--ease); }
.audit__q { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.audit__hint { font-size: 0.85rem; color: var(--gray-300); margin-bottom: 1.6rem; }
.audit__options { display: grid; gap: 0.7rem; }
.audit__option {
    text-align: left; padding: 1rem 1.2rem; border-radius: 10px; cursor: pointer;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-100); font-size: 0.92rem; font-family: var(--font); transition: var(--transition);
}
.audit__option:hover { border-color: var(--lime); color: var(--white); transform: translateX(4px); }
.audit__option.selected { background: var(--lime-dim); border-color: var(--lime); color: var(--white); }
.audit__field { width: 100%; padding: 0.9rem 1.1rem; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: var(--white); font-family: var(--font); font-size: 0.95rem; margin-bottom: 0.8rem; }
.audit__field:focus { outline: none; border-color: var(--amr); }
.audit__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8rem; }
.audit__back { background: none; border: none; color: var(--gray-300); font-family: var(--font-mono); font-size: 0.78rem; cursor: pointer; }
.audit__back:hover { color: var(--white); }
.audit__success { text-align: center; padding: 1rem 0; }
.audit__success-icon { width: 60px; height: 60px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--lime-dim); color: var(--lime); display: grid; place-items: center; }
.audit__success-icon svg { width: 28px; height: 28px; }

/* =========================================================
   "HOGYAN DOLGOZUNK" / BENTO + egyéb finomítás
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1.2rem; }
.bento__cell { background: var(--dark-card); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 1.6rem; position: relative; overflow: hidden; transition: var(--transition); }
.bento__cell:hover { border-color: rgba(227,239,38,0.35); }
.bento__cell--wide { grid-column: span 2; }
.bento__cell--tall { grid-row: span 2; }
.bento__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--lime-dim); color: var(--lime); display: grid; place-items: center; margin-bottom: 1rem; }
.bento__icon svg { width: 20px; height: 20px; }
.bento__h { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.bento__p { font-size: 0.82rem; color: var(--gray-300); line-height: 1.55; }
.bento__big { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 600; letter-spacing: -0.03em; color: var(--lime); line-height: 1; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__cell--wide { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-auto-rows: auto; } .bento__cell, .bento__cell--wide, .bento__cell--tall { grid-column: auto; grid-row: auto; min-height: 150px; } }

/* Logo icon refinement */
.nav__logo-icon { font-family: var(--font-display) !important; }
.numbers-bar__value, .hero__stat-number, .metric__value { font-family: var(--font-display); }
.numbers-bar__value { letter-spacing: -0.03em; }

/* =====================================================================
   PRÉMIUM POLISH 3.0 — gazdagabb paletta, grain, metál, üveg
   ===================================================================== */

/* --- Több / finomabb grain (vignette csak a sötét szekciókban, lokálisan) --- */
body::after { opacity: 0.035; background-size: 180px 180px; }
.hero::after, .page-header::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 120% 80% at 50% -20%, transparent 58%, rgba(0,0,0,0.5) 100%);
}
.hero > .container, .page-header > .container { position: relative; z-index: 2; }

/* --- Meleg gyöngyház világos szekciók (a rideg fehér helyett) --- */
.section--light { background: var(--paper); }
.section--light-alt { background: var(--paper-2); }
.section--light h2, .section--light h3, .section--light h4,
.section--light-alt h2, .section--light-alt h3, .section--light-alt h4 { color: var(--ink); }
.section--light p, .section--light-alt p { color: var(--ink-soft); }
.section--light .label, .section--light-alt .label { color: var(--emerald); }
.section--light .label::before, .section--light-alt .label::before { background: var(--emerald); }
/* nagyon finom, világos grain a világos szekciókra (nem sötétít) */
.section--light, .section--light-alt { position: relative; }
.section--light::before, .section--light-alt::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}
.section--light > .container, .section--light-alt > .container { position: relative; z-index: 1; }
/* light szekción belüli mono/eyebrow szín */
.section--light .eyebrow, .section--light-alt .eyebrow { color: var(--gold-2); }
.section--light .eyebrow::before, .section--light-alt .eyebrow::before { background: var(--gold-2); }

/* --- Platina-metál főcímek a sötét kontextusban --- */
.hero h1, .page-header h1, .section--premium h2, .image-break h2 {
    background: var(--platinum-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero h1 .highlight, .page-header h1 .highlight {
    -webkit-text-fill-color: var(--lime); color: var(--lime);
}
/* a lime highlight kapjon finom glow-t, ne legyen lapos */
.hero h1 .highlight { text-shadow: 0 0 38px rgba(227,239,38,0.35); }

/* --- Mélyebb, gazdagabb premium-szekció glow + vignette --- */
.section--premium::before {
    background:
        radial-gradient(ellipse 70% 60% at 0% 45%, rgba(7,102,83,0.26) 0%, transparent 60%),
        radial-gradient(ellipse 55% 50% at 100% 0%, rgba(7,102,83,0.16) 0%, transparent 52%),
        radial-gradient(ellipse 40% 40% at 85% 100%, rgba(227,239,38,0.06) 0%, transparent 60%);
}
.section--premium { background: linear-gradient(180deg, #06231D 0%, #0a2e26 50%, #06231D 100%); }

/* --- Premium gyöngyház szöveg a sötét szekciók törzséhez --- */
.section--premium p { color: #9bb0a0; }

/* --- Kártyák: kontextus-tudatos prémium kezelés --- */

/* SÖTÉT kártyák (sötét szekción): üveg + teal hairline + glow */
.tech-item, .value-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
    backdrop-filter: blur(6px);
}
.tech-item::after, .value-card::after,
.metric::after, .bento__cell::after, .package::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(150deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 35%, rgba(7,102,83,0.18) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    transition: opacity 0.4s var(--ease); opacity: 0.65;
}
.tech-item:hover::after, .value-card:hover::after,
.metric:hover::after, .bento__cell:hover::after, .package:hover::after {
    background: linear-gradient(150deg, rgba(227,239,38,0.5), rgba(255,255,255,0.04) 40%, rgba(7,102,83,0.4) 100%);
    opacity: 1;
}
.value-card:hover, .tech-item:hover, .metric:hover, .bento__cell:hover, .package:hover {
    box-shadow: 0 30px 70px -36px rgba(0,0,0,0.9), 0 0 50px -22px rgba(7,102,83,0.4);
    transform: translateY(-4px);
}

/* VILÁGOS kártyák (paper szekción): tiszta, emelt, finom arany-akcens */
.section--light .service-card, .section--light-alt .service-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(20,22,15,0.06);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 18px 40px -28px rgba(20,22,15,0.35);
    z-index: 1;
}
.section--light .service-card:hover, .section--light-alt .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -30px rgba(7,102,83,0.35), 0 0 0 1px rgba(7,102,83,0.25);
}
.section--light .service-card h3, .section--light-alt .service-card h3 { color: var(--ink); }
.section--light .service-card p, .section--light-alt .service-card p { color: var(--ink-soft); }
.section--light .service-card .service-card__number, .section--light-alt .service-card .service-card__number {
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; opacity: 0.9;
}
.service-card > .tilt__inner, .service-card > * { position: relative; z-index: 1; }

/* --- Számok / metrikák: finom platina helyett markáns lime->emerald --- */
.metric__value, .numbers-bar__value, .bento__big {
    background: linear-gradient(180deg, var(--lime-soft), var(--amr));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* --- Gombok: gradient + shimmer sweep --- */
.btn--primary { background: linear-gradient(135deg, var(--lime-soft), var(--lime)); color: #06231D; }
.btn--primary::after {
    content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn--primary:hover::after { left: 140%; }
.btn--white { background: var(--pearl); }

/* --- Eyebrow kap finom arany micro-akcens variánst sötéten --- */
.eyebrow .dot { box-shadow: 0 0 14px var(--lime); }

/* --- hero-bar: gazdagabb, mozgó metál csík --- */
.hero-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-deep), var(--amr) 30%, var(--lime) 50%, var(--amr) 70%, var(--emerald-deep));
    background-size: 200% 100%;
    animation: barShift 8s linear infinite;
}
@keyframes barShift { to { background-position: 200% 0; } }

/* --- premium stripe finomítás --- */
.section--premium__stripe { background: linear-gradient(to bottom, transparent, rgba(7,102,83,0.4), rgba(227,239,38,0.15), transparent); }

/* --- package featured: arany helyett mélysmaragd üveg + finom belső fény --- */
.package--featured { box-shadow: 0 40px 90px -50px rgba(7,102,83,0.7), inset 0 1px 0 rgba(255,255,255,0.04); }
.package--featured .package__tag { background: var(--gold-grad); color: #06231D; box-shadow: 0 6px 20px -8px rgba(201,169,106,0.6); }

/* --- CTA banner: mélyebb, gazdagabb --- */
.cta-banner__bg { background: radial-gradient(ellipse 80% 120% at 50% 0%, var(--emerald) 0%, var(--emerald-deep) 45%, #06231D 100%) !important; }

/* --- testimonial idézet: kiemelt nagy idézőjel + pearl --- */
.testimonial__quote { color: var(--pearl); }
.section--light .testimonial__quote { color: var(--ink); }

/* --- icon-large halvány arany helyett emerald-glow --- */
.service-detail__visual-inner { box-shadow: inset 0 0 80px -20px rgba(7,102,83,0.5); }

/* Reszponzív: kártya-tilt kikapcs kis kijelzőn nem szükséges, de a hover-shadow halkabb */
@media (max-width: 768px) {
    .service-card:hover, .value-card:hover, .tech-item:hover { transform: none; }
    body::before { background: radial-gradient(ellipse 140% 70% at 50% -10%, transparent 60%, rgba(0,0,0,0.4) 100%); }
}

/* =====================================================================
   PALETTA-KORREKCIÓK (krém / smaragd / chartreuse kontextusok)
   ===================================================================== */
/* Smaragd számsáv: krém, tömör nagy számok (a gradiens alja egybeolvadna a háttérrel) */
.numbers-bar { background: linear-gradient(135deg, var(--amr), var(--emerald-deep)); }
.numbers-bar__value {
    background: none !important;
    -webkit-text-fill-color: var(--paper); color: var(--paper);
    text-shadow: 0 0 34px rgba(227,239,38,0.22);
}
.numbers-bar__label { color: rgba(255,253,238,0.72) !important; }

/* Krém logósáv: olvasható, visszafogott mély-zöld logók */
.clients { border-bottom-color: var(--amr); }
.clients__logo { color: rgba(6,35,29,0.42) !important; }
.clients__label { color: var(--emerald) !important; }

/* Marquee (ha előfordul) krémre */
.marquee { background: var(--paper); border-color: rgba(6,35,29,0.08); }

/* CTA világos gomb a smaragd banneren: krém + mély-zöld szöveg */
.cta-banner .btn--white { background: var(--paper); color: var(--ink); }

/* Világos szekció: idézet és testimonial szerző olvashatóság */
.section--light .testimonial__name, .section--light-alt .testimonial__name { color: var(--ink); }
.section--light .testimonial__role, .section--light-alt .testimonial__role { color: var(--ink-soft); }
.section--light .testimonial__avatar, .section--light-alt .testimonial__avatar { background: var(--emerald); color: var(--paper); }

/* Sötét kártyák világos szekción: a benti körvonalas gombok maradjanak világosak
   (a .section--light .btn--outline szabály különben sötét-a-sötéten tenné) */
.package .btn--outline,
.section--light .package .btn--outline,
.section--light-alt .package .btn--outline {
    color: var(--paper);
    border-color: rgba(255,253,238,0.28);
}
.package .btn--outline:hover,
.section--light .package .btn--outline:hover {
    color: var(--lime);
    border-color: var(--lime);
}
/* Csomag-leírás jól olvasható világos sage */
.package__for { color: #d3ddca; }
.package__features li { color: #eef2e6; }

/* A .package__for egy <p>, amit a .section--light p sötét szabálya felülírt.
   Nagyobb specificitással visszavilágosítjuk a sötét kártyán. */
.section--light .package .package__for,
.section--light-alt .package .package__for,
.section--light .package p,
.section--light-alt .package p { color: #d3ddca; }

/* Nagy, középre zárt image-break cím: biztos sortáv, hogy a lecsúszó betűk
   (g, j) ne érjenek a következő sorba */
.image-break__content h2 { line-height: 1.14; }
.hero h1 { line-height: 1.08; }

/* Tech-kártya alcímek olvashatóbb sage-re (sötét kártyán a gray-500 túl sötét volt) */
.tech-item__desc { color: #9db3a0; }
