/* Az oldalak közös építőelemei: nyitó sáv, kártyák, árcsomagok, lépések, GYIK, űrlap, záró blokk.
   Minden oldal <main class="v2"> eleme alatt érvényesek. */

.v2 {
    --bg-deep: #0b1020;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(148, 163, 184, 0.18);
    --text: #e8edf7;
    --muted: #9aa7bd;
    --accent: #4f8cff;
    --accent-rgb: 79, 140, 255;
    --field: rgba(255, 255, 255, 0.05);
    --field-solid: #141b33;
    --radius: 24px;
    color-scheme: dark;

    color: var(--text);
}

html[data-theme="light"] .v2 {
    --surface: #ffffff;
    --border: rgba(15, 23, 42, 0.1);
    --text: #0f172a;
    --muted: #52607a;
    --accent: #2563eb;
    --accent-rgb: 37, 99, 235;
    --field: #f8fafc;
    --field-solid: #ffffff;
    color-scheme: light;
}

/* Ha az oldalnak nincs saját szolgáltatásszíne, az elemek az alap kéket használják. */
:where(.v2) {
    --svc: var(--accent);
    --svc-rgb: var(--accent-rgb);
}

/* ---------- Gombok ---------- */
.v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.v2-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #6d5cf6 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(79, 140, 255, 0.35);
}

.v2-btn-primary:hover {
    color: #fff;
    box-shadow: 0 16px 40px rgba(79, 140, 255, 0.5);
}

.v2-btn-ghost {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

.v2-btn-ghost:hover {
    border-color: var(--accent);
    color: var(--text);
}

.v2-btn-light {
    background: #fff;
    color: #0f172a;
}

.v2-btn-light:hover {
    color: #0f172a;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.v2-btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.v2-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ---------- Hero ---------- */
.v2-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    isolation: isolate;
}

/* Lassan mozgó színes fényfoltok a háttérben */
.v2-hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto;
    height: 90%;
    z-index: -2;
    background:
        radial-gradient(40% 50% at 20% 30%, rgba(79, 140, 255, 0.35), transparent 70%),
        radial-gradient(35% 45% at 80% 20%, rgba(139, 92, 246, 0.3), transparent 70%),
        radial-gradient(30% 40% at 60% 80%, rgba(16, 185, 129, 0.18), transparent 70%);
    filter: blur(40px);
    animation: v2-drift 18s ease-in-out infinite alternate;
}

/* Halvány rácsminta, amely lefelé elhalványul */
.v2-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
    opacity: 0.5;
}

.v2-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.v2-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.v2-hero h1 {
    margin: 1.25rem 0;
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    text-wrap: balance;
}

.v2-gradient-text {
    background: linear-gradient(100deg, #4f8cff 0%, #8b5cf6 55%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.v2-lead {
    max-width: 34rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    text-wrap: pretty;
}

.v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Böngészőablakba tett képernyőfotók egymásra csúsztatva */
.v2-stack {
    position: relative;
    aspect-ratio: 5 / 4;
}

.v2-browser {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-deep);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.v2-browser::before {
    content: '';
    display: block;
    height: 28px;
    background:
        radial-gradient(circle at 16px 14px, #ff5f57 5px, transparent 6px),
        radial-gradient(circle at 34px 14px, #febc2e 5px, transparent 6px),
        radial-gradient(circle at 52px 14px, #28c840 5px, transparent 6px),
        #121933;
}

.v2-browser img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.v2-stack .v2-browser {
    position: absolute;
}

.v2-stack .v2-browser:nth-child(1) {
    top: 14%;
    left: 0;
    width: 78%;
    z-index: 2;
}

.v2-stack .v2-browser:nth-child(2) {
    top: 0;
    right: 0;
    width: 60%;
    transform: rotate(3deg);
    z-index: 1;
}

.v2-stack .v2-browser:nth-child(3) {
    right: 3%;
    bottom: 0;
    width: 54%;
    transform: rotate(-3deg);
    z-index: 3;
}

html[data-theme="light"] .v2-browser {
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

/* Tények sora a hero alatt */
.v2-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.v2-fact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    font-size: 0.95rem;
    font-weight: 600;
}

.v2-fact i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* ---------- Szekciók ---------- */
.v2-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.v2-head {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.v2-kicker {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.v2-head h2 {
    margin: 0.5rem 0 0.75rem;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    text-wrap: balance;
}

.v2-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.1rem;
}

/* ---------- Szolgáltatások (bento rács) ---------- */
.v2-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.v2-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

/* Az egeret követő fényfolt a szolgáltatás színében */
.v2-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--svc-rgb), 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.v2-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--svc-rgb), 0.5);
    color: inherit;
}

.v2-card:hover::before {
    opacity: 1;
}

.v2-span-4 { grid-column: span 4; }
.v2-span-3 { grid-column: span 3; }
.v2-span-2 { grid-column: span 2; }

.v2-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(var(--svc-rgb), 0.3);
    border-radius: 14px;
    background: rgba(var(--svc-rgb), 0.14);
    color: var(--svc);
    font-size: 1.3rem;
}

.v2-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.v2-card p {
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.v2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.v2-tag {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.8rem;
}

.v2-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    font-weight: 700;
}

.v2-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--svc);
}

/* ---------- Munkáink ---------- */
.v2-work {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
}

.v2-work-item {
    position: relative;
    display: block;
    min-height: 240px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-deep);
    overflow: hidden;
}

.v2-work-item:first-child {
    grid-row: span 2;
}

.v2-work-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.v2-work-item:hover img {
    transform: scale(1.04);
}

.v2-work-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 3rem 1.5rem 1.25rem;
    background: linear-gradient(transparent, rgba(5, 8, 20, 0.92));
    color: #fff;
}

.v2-work-caption strong {
    display: block;
    font-size: 1.15rem;
}

.v2-work-caption span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ---------- Folyamat ---------- */
.v2-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    counter-reset: step;
}

.v2-step {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.v2-step::before {
    counter-increment: step;
    content: '0' counter(step);
    display: block;
    margin-bottom: 0.75rem;
    color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    -webkit-text-stroke: 1px var(--accent);
}

.v2-step h3 {
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.v2-step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- Záró blokk ---------- */
.v2-cta {
    padding: clamp(2.5rem, 6vw, 4.5rem);
    border-radius: 32px;
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 60%, #be185d 100%);
    color: #fff;
    text-align: center;
}

.v2-cta h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    font-weight: 800;
    text-wrap: balance;
}

.v2-cta p {
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.88;
}

.v2-cta .v2-actions {
    justify-content: center;
    margin-top: 0;
}

/* ---------- Mozgás ---------- */
@keyframes v2-drift {
    to {
        transform: translate3d(4%, 6%, 0) scale(1.08);
    }
}

@keyframes v2-rise {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Görgetésre beúszó elemek tiszta CSS-sel; ahol a böngésző nem támogatja, az elemek egyszerűen láthatók. */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .v2-reveal {
            animation: v2-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 35%;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-hero::before {
        animation: none;
    }
}

/* ---------- Kisebb képernyők ---------- */
@media (max-width: 991.98px) {
    .v2-hero-grid {
        grid-template-columns: 1fr;
    }

    .v2-facts,
    .v2-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2-span-4,
    .v2-span-3,
    .v2-span-2 {
        grid-column: span 6;
    }
}

@media (max-width: 767.98px) {
    .v2-work {
        grid-template-columns: 1fr;
    }

    .v2-work-item:first-child {
        grid-row: auto;
    }
}

@media (max-width: 575.98px) {
    .v2-facts,
    .v2-steps {
        grid-template-columns: 1fr;
    }

    .v2-actions .v2-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Aloldalak nyitó sávja ---------- */
.v2-hero-center {
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

.v2-hero-center h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.v2-hero-center .v2-lead {
    max-width: 44rem;
    margin-inline: auto;
}

.v2-hero-center .v2-actions {
    justify-content: center;
}

.v2-hero-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 18px;
    font-size: 1.6rem;
}

.v2-head-center {
    margin-inline: auto;
    text-align: center;
}

/* ---------- Kártyarácsok ---------- */
.v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* Hárommal osztható számú kártyánál három oszlop, hogy ne maradjon csonka sor */
.v2-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.v2-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.v2-card p:last-child {
    margin-bottom: 0;
}

.v2-steps-3 {
    grid-template-columns: repeat(3, 1fr);
}

.v2-panel {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.v2-feature {
    display: flex;
    gap: 1rem;
}

.v2-feature .v2-icon {
    flex: none;
    margin: 0;
}

.v2-feature h3 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.v2-feature p {
    margin: 0;
    color: var(--muted);
}

.v2-note {
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

/* ---------- Árcsomagok ---------- */
.v2-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.v2-plan-featured {
    border-color: var(--svc);
    box-shadow: 0 20px 60px rgba(var(--svc-rgb), 0.18);
}

.v2-plan-badge {
    position: absolute;
    top: -0.8rem;
    left: 1.75rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: var(--svc);
    color: #0b1020;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.v2-plan h3 {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.v2-plan-tagline {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.v2-plan-price {
    margin: 1.25rem 0;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.v2-plan-price small {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.v2-plan-old {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: line-through;
}

.v2-checks {
    display: grid;
    gap: 0.55rem;
    margin: 0 0 1.5rem;
    padding: 0;
    color: var(--muted);
    font-size: 0.95rem;
    list-style: none;
}

.v2-checks li {
    display: flex;
    gap: 0.6rem;
}

.v2-checks li::before {
    content: '\f00c';
    flex: none;
    color: var(--svc);
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.v2-plan .v2-btn {
    justify-content: center;
    margin-top: auto;
}

/* ---------- GYIK (JavaScript nélkül, <details> elemekkel) ---------- */
.v2-faq {
    display: grid;
    gap: 0.75rem;
    max-width: 52rem;
    margin-inline: auto;
}

.v2-faq details {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}

.v2-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.v2-faq summary::-webkit-details-marker {
    display: none;
}

.v2-faq summary::after {
    content: '+';
    color: var(--svc);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease;
}

.v2-faq details[open] summary::after {
    transform: rotate(45deg);
}

.v2-faq p {
    margin: 0;
    padding: 0 1.4rem 1.3rem;
    color: var(--muted);
}

/* ---------- Referenciák ---------- */
.v2-project {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

/* Kiemelt ablak: a projektek egymásra rétegezve, egyszerre egy látszik.
   A magasságot a leghosszabb adja, így váltáskor nem ugrik az oldal. */
.v2-spotlight-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.v2-spotlight {
    display: grid;
}

.v2-spotlight > .v2-project {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.v2-spotlight > .v2-project.is-active {
    opacity: 1;
    visibility: visible;
}

.v2-project .v2-browser img {
    cursor: zoom-in;
}

/* A grid elem alapból nem tud a tartalmánál keskenyebb lenni; ez engedi összehúzódni. */
.v2-project-media {
    min-width: 0;
}

/* Kis képek a projekt további képeihez */
.v2-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.v2-thumb {
    width: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: none;
    opacity: 0.6;
    overflow: hidden;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.v2-thumb:hover,
.v2-thumb.is-active {
    opacity: 1;
}

.v2-thumb.is-active {
    border-color: var(--accent);
}

.v2-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.v2-project h2 {
    margin: 0.5rem 0 0.75rem;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
}

.v2-project p {
    color: var(--muted);
}

.v2-tag i {
    margin-right: 0.35rem;
}

/* Kategóriaszűrő */
.v2-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.v2-chip {
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.v2-chip:hover {
    border-color: var(--accent);
    color: var(--text);
}

.v2-chip.is-active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

/* Lapozó */
.v2-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2rem;
}

.v2-pager[hidden] {
    display: none;
}

.v2-page {
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 0.6rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--muted);
    font-weight: 600;
    transition: all 0.2s ease;
}

.v2-page:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--text);
}

.v2-page.is-active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.v2-page:disabled {
    opacity: 0.4;
}

/* Projektkártyák rácsa */
.v2-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.v2-project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}

.v2-project-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    cursor: zoom-in;
}

.v2-count-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(5, 8, 20, 0.8);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.v2-project-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
}

.v2-project-card h3 {
    margin: 0.4rem 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.v2-project-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.v2-project-card[hidden] {
    display: none;
}

.v2-card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: auto;
}

.v2-card-actions .v2-more {
    padding: 0;
    border: 0;
    background: none;
    font-weight: 700;
    text-decoration: none;
}

/* ---------- Kapcsolat ---------- */
.v2-contact-list {
    display: grid;
    gap: 1.1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.v2-contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v2-contact-list .v2-icon {
    flex: none;
    margin: 0;
}

.v2-contact-list strong {
    display: block;
}

.v2-contact-list span {
    color: var(--muted);
}

.v2-contact-list a {
    color: var(--text);
    text-decoration: none;
}

.v2-contact-list a:hover {
    color: var(--accent);
}

.v2-form {
    display: grid;
    gap: 1rem;
}

.v2-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.v2-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.v2-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--field);
    color: var(--text);
    font: inherit;
}

/* A lenyíló lista elemei nem öröklik az áttetsző hátteret, ezért külön, tömör színt kapnak. */
.v2-input option {
    background-color: var(--field-solid);
    color: var(--text);
}

.v2-input:focus {
    border-color: var(--accent);
    outline: 2px solid rgba(var(--accent-rgb), 0.35);
}

.v2-form .v2-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
    color: var(--muted);
    font-weight: 400;
}

.v2-check input {
    margin-top: 0.25rem;
}

.v2-check a {
    color: var(--accent);
}

.v2-form .v2-btn {
    justify-content: center;
}

@media (max-width: 991.98px) {
    .v2-steps-3,
    .v2-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2-project {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .v2-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .v2-steps-3,
    .v2-grid-3,
    .v2-form-row {
        grid-template-columns: 1fr;
    }
}
