:root {
    --red: #e30613;
    --red-hover: #c00510;
    --black: #0d0d0d;
    --dark: #1a1a1a;
    --gray-bg: #f5f5f5;
    --testimonial-bg: #ebe9e4;
    --gray-border: #e0e0e0;
    --gray-text: #666;
    --white: #fff;
    --font: 'Montserrat', system-ui, sans-serif;
    --container: min(1140px, 92vw);
    --radius: 4px;
    --shadow-card: 0 4px 24px rgba(0,0,0,.08);
    --transition: .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.scroll-anchor {
    position: absolute; top: 0; left: 0;
    width: 1px; height: 1px; visibility: hidden; pointer-events: none;
}
body { font-family: var(--font); color: var(--black); line-height: 1.6; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin: 0 auto; }

/* Loader */
.page-loader {
    position: fixed; inset: 0; z-index: 9999; background: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .4s, visibility .4s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.spinner {
    width: 44px; height: 44px; border: 3px solid var(--gray-border);
    border-top-color: var(--red); border-radius: 50%;
    animation: spin .7s linear infinite;
}
.spinner-sm { width: 18px; height: 18px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem 2rem; font-family: var(--font); font-weight: 700; font-size: .8rem;
    letter-spacing: .08em; text-transform: uppercase; border: none;
    border-radius: 50px; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(227,6,19,.35); }
.btn-lg { padding: 1rem 2.25rem; font-size: .82rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .72rem; }
.btn-block { width: 100%; }
.btn .btn-loader { display: none; align-items: center; gap: .5rem; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loader { display: flex; }
.btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* Header – átlátszó a hero carousel felett */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: transparent;
    transition: background .35s, box-shadow .35s, border-color .35s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(13,13,13,.96);
    border-bottom-color: rgba(255,255,255,.08);
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: .9rem 0; gap: 1rem;
}
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo-main { font-weight: 800; font-size: .95rem; color: var(--white); letter-spacing: .1em; }
.logo-sub { font-size: .6rem; color: #888; letter-spacing: .18em; margin-top: 2px; }
.nav { display: flex; gap: 2rem; }
.nav a { color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 600; letter-spacing: .05em; transition: color .2s; }
.nav a:hover { color: var(--red); }
.menu-toggle {
    display: none; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 4px;
    position: relative; z-index: 1002;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s, visibility .3s;
}
.nav-backdrop.open {
    opacity: 1; visibility: visible; pointer-events: auto;
}
body.nav-open { overflow: hidden; }

/* Hero – carousel háttér, tartalom containerben */
.hero {
    position: relative;
    height: clamp(440px, 58vh, 580px);
    background: var(--black);
    overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background: var(--black) center/cover no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 6s ease;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(105deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.45) 100%);
}
.hero-inner {
    position: relative; z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 5.5rem 0 3rem;
}
.hero-content { max-width: 620px; }
.hero-content h1 {
    font-size: clamp(1.45rem, 3.2vw, 2.35rem); color: var(--white);
    line-height: 1.12; letter-spacing: .02em; text-transform: uppercase; margin-bottom: .85rem;
}
.hero-title-lead { font-weight: 500; }
.hero-title-main { font-weight: 900; }
.hero-subtitle {
    font-size: clamp(.9rem, 1.8vw, 1.15rem); font-weight: 800; color: var(--red);
    text-transform: uppercase; letter-spacing: .07em; margin-bottom: .85rem;
}
.hero-desc {
    color: rgba(255,255,255,.8); font-size: .92rem;
    margin-bottom: 1.5rem; max-width: 480px; line-height: 1.65;
}
.hero-content .btn-lg { font-size: .82rem; }

@media (min-width: 769px) {
    .hero-subtitle {
        font-size: clamp(1.25rem, 2.1vw, 1.65rem);
        margin-bottom: 1rem;
    }
    .hero-desc {
        font-size: 1.08rem;
        margin-bottom: 1.75rem;
        max-width: 520px;
    }
    .hero-content .btn-lg {
        font-size: .98rem;
        padding: 1.15rem 2.5rem;
    }
    .hero-content .btn-lg svg { width: 20px; height: 20px; }
}
.hero-controls {
    position: absolute; bottom: 2rem; right: 0; z-index: 3;
    display: flex; align-items: center; gap: .65rem;
}
.hero-arrow {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: .2s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-dots { display: flex; gap: .4rem; }
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: .25s;
}
.hero-dot.active { background: var(--red); width: 22px; border-radius: 4px; }

/* Stats */
.stats-bar {
    background: var(--gray-bg);
    padding: 0;
    border-bottom: 1px solid var(--gray-border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.75rem;
    text-align: left;
    border-right: 1px solid var(--gray-border);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    flex-shrink: 0;
    color: var(--red);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-body { min-width: 0; }
.stat-value {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: .2rem;
    line-height: 1.15;
}
.stat-label {
    font-size: .78rem;
    color: var(--gray-text);
    line-height: 1.45;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray-bg); }
.section-dark { background: var(--dark); color: var(--white); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem); font-weight: 900;
    letter-spacing: .08em; text-transform: uppercase;
}
.section-dark .section-header h2 { color: var(--white); }
.section-line { width: 50px; height: 3px; background: var(--red); margin: .75rem auto 0; }
.section-subtitle { color: var(--gray-text); font-size: .9rem; margin-top: .65rem; }
.section-cta { text-align: center; margin-top: 2rem; }

/* Carousel */
.carousel {
    position: relative; padding: 0 3.25rem;
}
.carousel-viewport {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.carousel[data-carousel="gallery"] .carousel-viewport {
    touch-action: pan-x pan-y;
}
.carousel-viewport.is-dragging { cursor: grabbing; }
.carousel-viewport.is-dragging .carousel-track { cursor: grabbing; }
.carousel[data-carousel="projects"] .carousel-viewport {
    padding: 14px 10px 18px;
    margin: -14px -10px -18px;
}
.carousel-track {
    display: flex; gap: 1.25rem;
    transition: transform .45s cubic-bezier(.25, 1, .35, 1);
    will-change: transform;
}
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--gray-border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5; color: #555; transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.carousel-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots {
    display: flex; justify-content: center; align-items: center;
    gap: .45rem; flex-wrap: wrap;
    margin-top: 1.35rem; padding: 0 .5rem;
}
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
    background: var(--gray-border); cursor: pointer; transition: .25s;
}
.carousel-dot:hover { background: #bbb; }
.carousel-dot.active { background: var(--red); width: 22px; border-radius: 4px; }
.carousel-counter { text-align: center; margin-top: 1.25rem; font-size: .8rem; color: var(--gray-text); font-weight: 600; }

.carousel-gallery-nav {
    margin-top: 1.35rem;
    padding: 0 .5rem;
}
.carousel-gallery-nav[hidden] { display: none !important; }
.carousel-range {
    display: block;
    width: 100%;
    height: 6px;
    margin: 0 0 .75rem;
    accent-color: var(--red);
    cursor: pointer;
}
.carousel-gallery-nav .carousel-counter {
    display: block;
    text-align: center;
    margin-top: 0;
    font-variant-numeric: tabular-nums;
}

/* Project cards */
.carousel[data-carousel="projects"] .carousel-track > * {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: 0;
}
.project-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.project-card-img { aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.project-card-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform .5s;
    -webkit-user-drag: none; user-drag: none; pointer-events: none;
}
.project-card:hover .project-card-img img { transform: scale(1.04); }
.project-card-body { padding: 1.15rem 1.25rem 1.35rem; }
.project-location {
    display: flex; align-items: center; gap: .35rem;
    color: var(--red); font-size: .7rem; font-weight: 700; letter-spacing: .1em; margin-bottom: .45rem;
}
.project-card-body h3 { font-size: .92rem; font-weight: 800; margin-bottom: .65rem; text-transform: uppercase; letter-spacing: .02em; }
.project-specs { list-style: none; }
.project-specs li {
    display: flex; align-items: flex-start; gap: .45rem;
    font-size: .8rem; color: var(--gray-text); padding: .2rem 0;
}
.project-specs li::before {
    content: ''; width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='2.5'%3E%3Cpath d='M5 12l4 4L19 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Gallery */
.carousel[data-carousel="gallery"] .carousel-track > * {
    flex: 0 0 calc((100% - 3.75rem) / 4);
    min-width: 0;
}
.gallery-item {
    aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
    cursor: pointer; position: relative; background: #ccc;
    border: none; padding: 0; width: 100%;
}
.gallery-item:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0);
    transition: background .3s;
}
.gallery-item:hover::after { background: rgba(0,0,0,.15); }

/* Lightbox */
body.lightbox-open { overflow: hidden; }
.lightbox {
    position: fixed; inset: 0; z-index: 10500; background: rgba(0,0,0,.94);
    display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none !important; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; pointer-events: none; }
.lightbox-close {
    position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none;
    color: var(--white); font-size: 2.25rem; cursor: pointer; line-height: 1; z-index: 2;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.12); border: none; color: var(--white);
    font-size: 2.5rem; width: 52px; height: 52px; border-radius: 50%;
    cursor: pointer; z-index: 2; transition: background .2s;
}
    font-size: 2.25rem; cursor: pointer; width: 48px; height: 48px; border-radius: 50%;
}
.lightbox-nav:hover { background: var(--red); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Why */
.why-bar {
    background: var(--gray-bg);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}
#why.section { padding-bottom: 0; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.why-card {
    text-align: center;
    padding: 2rem 1.25rem;
    border-right: 1px solid var(--gray-border);
}
.why-card:last-child { border-right: none; }
.why-icon { color: var(--red); margin: 0 auto 1rem; width: 52px; height: 52px; }
.why-card h3 { font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .65rem; }
.why-card p { font-size: .8rem; color: var(--gray-text); line-height: 1.55; }

/* How */
.how-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 980px;
    margin: 0 auto;
}
.how-step {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 0 .75rem 1rem;
}
.how-step-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 1.35rem;
}
.how-step-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-weight: 800;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how-step-icon {
    flex-shrink: 0;
    color: var(--white);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how-step-icon svg { width: 56px; height: 56px; }
.how-step h3 {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .55rem;
    color: var(--white);
}
.how-step p {
    font-size: .78rem;
    color: rgba(255, 255, 255, .62);
    line-height: 1.55;
    max-width: 15rem;
    margin: 0 auto;
}
.how-connector {
    flex: 0 0 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding-top: .55rem;
    color: rgba(255, 255, 255, .45);
}

/* Testimonials */
.carousel[data-carousel="testimonials"] .carousel-track > .carousel-slide {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: 0;
    box-sizing: border-box;
}
.testimonial-card {
    background: var(--testimonial-bg);
    border-radius: 12px;
    padding: 1.65rem 1.5rem 1.35rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.35rem;
}
.testimonial-body {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}
.testimonial-quote {
    flex-shrink: 0;
    color: var(--red);
    font-size: 3.25rem;
    line-height: .75;
    font-weight: 800;
    font-family: Georgia, 'Times New Roman', serif;
    margin-top: -.15rem;
}
.testimonial-text {
    flex: 1;
    min-width: 0;
    font-size: .84rem;
    color: #2a2a2a;
    line-height: 1.62;
    margin: .35rem 0 0;
}
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.testimonial-meta {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    min-width: 0;
}
.testimonial-author {
    font-weight: 800;
    font-size: .82rem;
    color: var(--black);
    letter-spacing: .02em;
}
.testimonial-city {
    font-size: .78rem;
    color: #8a8a8a;
    font-weight: 500;
}
.testimonial-stars {
    flex-shrink: 0;
    display: flex;
    gap: 1px;
    color: var(--red);
    font-size: .95rem;
    letter-spacing: .05em;
    line-height: 1;
}

/* Contact */
.section-contact { background: var(--black); color: var(--white); padding: 5rem 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: stretch;
}
.contact-info {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.contact-heading {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.22;
}
.contact-heading-top {
    font-size: clamp(1.35rem, 2.6vw, 1.95rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: .02em;
}
.contact-heading-red {
    font-size: clamp(1.5rem, 2.9vw, 2.15rem);
    font-weight: 900;
    color: var(--red);
    letter-spacing: .02em;
}
.contact-heading-bottom {
    font-size: clamp(1.35rem, 2.6vw, 1.95rem);
    font-weight: 500;
    color: var(--white);
    letter-spacing: .02em;
    text-transform: none;
}
.contact-benefits-box {
    flex: 1;
    margin-top: 2.5rem;
    background: #5a5a5a;
    border-radius: 0 28px 0 0;
    padding: 2.25rem 1.85rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-benefits { list-style: none; }
.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.15rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.45;
}
.contact-benefits li:last-child { margin-bottom: 0; }
.check-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--white);
    position: relative;
}
.check-icon::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 6px;
    width: 6px;
    height: 11px;
    border: solid var(--red);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Form – fehér mezők fekete háttéren (design terv) */
.contact-form-wrap { width: 100%; }
.contact-form {
    background: transparent;
    padding: 0;
    --form-space: .42rem;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--form-space);
    margin-bottom: var(--form-space);
}
.contact-form .form-group { margin-bottom: var(--form-space); }
.contact-form .form-row .form-group { margin-bottom: 0; }
.contact-form .form-label {
    display: block; font-size: .78rem; font-weight: 600;
    color: rgba(255,255,255,.75); margin-bottom: .35rem;
}
.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group input[type="tel"],
.contact-form .form-group textarea {
    width: 100%; padding: .68rem .9rem;
    background: var(--white); border: none;
    border-radius: 8px; font-family: var(--font); font-size: .9rem; color: var(--black);
    transition: box-shadow .2s;
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: #aaa; }
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
}
.contact-form .form-group input:focus:not(.field-valid):not(.field-invalid),
.contact-form .form-group textarea:focus:not(.field-valid):not(.field-invalid) {
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.25);
}
.contact-form .form-group input.field-valid,
.contact-form .form-group textarea.field-valid {
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.35);
    border: 1px solid #2e7d32;
}
.contact-form .form-group input.field-invalid,
.contact-form .form-group textarea.field-invalid {
    box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.35);
    border: 1px solid var(--red);
}
.contact-form .form-group.is-valid .custom-radio .radio-mark,
.contact-form .form-group.is-valid .custom-checkbox .checkbox-mark {
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.35);
    border-color: #2e7d32;
}
.contact-form .form-group.is-invalid .custom-radio .radio-mark,
.contact-form .form-group.is-invalid .custom-checkbox .checkbox-mark {
    box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.35);
    border-color: var(--red);
}
.contact-form .field-error:not(:empty) { color: #ff8a8a; }

.recaptcha-modal-dialog { width: min(420px, 100%); }
.recaptcha-modal-body { text-align: center; }
.recaptcha-modal-text {
    font-size: .88rem; color: #444; margin-bottom: 1.25rem; line-height: 1.55;
}
.recaptcha-widget {
    display: block; margin: 0 auto 1rem; width: 304px; max-width: 100%;
    min-height: 78px;
}
.recaptcha-modal-error {
    color: var(--red); font-size: .84rem; font-weight: 700; margin: 0 0 .85rem;
    line-height: 1.45;
}
.recaptcha-modal-error[hidden] { display: none !important; }
.recaptcha-modal .privacy-modal-backdrop { z-index: 0; }
.recaptcha-modal .privacy-modal-dialog { z-index: 1; }
.recaptcha-modal-actions {
    position: relative; z-index: 2;
    display: flex; justify-content: center; gap: .65rem; flex-wrap: wrap;
}
.recaptcha-modal .btn-ghost {
    border: 1px solid var(--gray-border); color: #555;
}
.contact-form .field-error {
    display: block; color: #ff6b6b; font-size: .72rem;
    margin-top: .15rem; min-height: .7rem;
}

/* Egyedi radio */
.contact-form .radio-group {
    display: flex; flex-direction: column;
    gap: .4rem; margin-top: .15rem;
}
.custom-radio {
    display: flex; align-items: center; gap: .75rem;
    cursor: pointer; user-select: none;
}
.custom-radio input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.radio-mark {
    width: 24px; height: 24px; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.45); border-radius: 50%;
    background: var(--white); position: relative;
    transition: border-color .2s, box-shadow .2s;
}
.radio-text { font-size: .88rem; color: rgba(255,255,255,.92); line-height: 1.4; }
.custom-radio:hover .radio-mark { border-color: rgba(255,255,255,.8); }
.custom-radio input:focus-visible + .radio-mark { box-shadow: 0 0 0 3px rgba(227,6,19,.35); }
.custom-radio input:checked + .radio-mark {
    border-color: var(--red); border-width: 2px;
}
.custom-radio input:checked + .radio-mark::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 12px; height: 12px; background: var(--red); border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Egyedi checkbox */
.custom-checkbox {
    display: flex; align-items: flex-start; gap: .75rem;
    cursor: pointer; user-select: none;
}
.custom-checkbox input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.checkbox-mark {
    width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px;
    border: 2px solid rgba(255,255,255,.45); border-radius: 5px;
    background: var(--white); position: relative;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.checkbox-text { font-size: .82rem; color: rgba(255,255,255,.85); line-height: 1.5; }
.custom-checkbox:hover .checkbox-mark { border-color: rgba(255,255,255,.8); }
.custom-checkbox input:focus-visible + .checkbox-mark { box-shadow: 0 0 0 3px rgba(227,6,19,.35); }
.custom-checkbox input:checked + .checkbox-mark {
    background: var(--red); border-color: var(--red);
}
.custom-checkbox input:checked + .checkbox-mark::after {
    content: ''; position: absolute; left: 7px; top: 3px;
    width: 6px; height: 11px;
    border: solid var(--white); border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.contact-form .form-group-gdpr { margin-top: 0; margin-bottom: var(--form-space); }
.privacy-link {
    display: inline; padding: 0; border: none; background: none;
    color: var(--red); font: inherit; font-weight: 700; text-decoration: underline;
    text-underline-offset: 2px; cursor: pointer;
}
.privacy-link:hover { color: #fff; }

/* Privacy modal */
body.privacy-modal-open { overflow: hidden; }
.privacy-modal {
    position: fixed; inset: 0; z-index: 11000;
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem;
}
.privacy-modal[hidden] { display: none !important; }
.privacy-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.65);
}
.privacy-modal-dialog {
    position: relative; z-index: 1;
    width: min(840px, 100%);
    max-height: min(88vh, 860px);
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.privacy-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1.15rem 1.35rem;
    border-bottom: 1px solid var(--gray-border);
}
.privacy-modal-header h2 {
    font-size: 1.05rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .04em; color: var(--black);
}
.privacy-modal-close {
    background: none; border: none; font-size: 1.75rem; line-height: 1;
    color: #888; cursor: pointer; padding: 0 .15rem;
}
.privacy-modal-close:hover { color: var(--red); }
.privacy-modal-body {
    padding: 1.5rem 1.65rem 1.75rem; overflow-y: auto;
    font-size: .875rem; line-height: 1.75; color: #3a3a3a;
}
.privacy-modal-body h2 {
    font-size: .98rem; font-weight: 800; margin: 1.85rem 0 .75rem;
    padding-bottom: .45rem;
    color: var(--black);
    border-bottom: 2px solid var(--red);
    letter-spacing: .01em;
}
.privacy-modal-body h2:first-child { margin-top: 0; }
.privacy-modal-body h3 {
    font-size: .9rem; font-weight: 700; margin: 1.15rem 0 .45rem;
    color: #1a1a1a;
}
.privacy-modal-body p { margin-bottom: .8rem; }
.privacy-modal-body p:last-child { margin-bottom: 0; }
.privacy-modal-body ul, .privacy-modal-body ol {
    margin: 0 0 1rem; padding-left: 1.35rem;
}
.privacy-modal-body li { margin-bottom: .45rem; }
.privacy-modal-body li:last-child { margin-bottom: 0; }
.privacy-modal-body blockquote {
    margin: .85rem 0 1.1rem; padding: .95rem 1.1rem;
    background: #f5f4f1; border-left: 3px solid var(--red);
    border-radius: 0 6px 6px 0;
}
.privacy-modal-body blockquote p { margin-bottom: 0; }
.privacy-modal-body strong { color: #1a1a1a; font-weight: 700; }
.privacy-modal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.privacy-modal-body a:hover { color: #000; }

/* Fájlfeltöltés – design szerinti sor */
.contact-form .file-row {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: .45rem .75rem; margin-top: 0;
}
.file-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
    margin-top: .35rem;
}
.file-row-label { font-size: .88rem; color: rgba(255,255,255,.9); font-weight: 600; }
.file-btn {
    padding: .65rem 1.35rem; background: var(--white); color: var(--black);
    border: none; border-radius: 8px; font-family: var(--font);
    font-size: .82rem; font-weight: 600; cursor: pointer; transition: .2s;
}
.file-btn:hover { background: #f0f0f0; }
.file-hint-inline { font-size: .72rem; color: rgba(255,255,255,.45); }
.file-input-hidden {
    position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.contact-form .file-preview { margin-top: .35rem; }
.file-preview { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.file-preview-item {
    display: flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.1); color: var(--white);
    padding: .35rem .7rem; border-radius: 5px; font-size: .75rem;
}
.file-preview-item button {
    background: none; border: none; color: var(--red); cursor: pointer;
    font-size: 1.1rem; line-height: 1; padding: 0;
}

.contact-form .btn-primary.btn-block {
    margin-top: 0;
    padding: .9rem 2rem;
    font-size: .85rem;
    border-radius: 50px;
    letter-spacing: .1em;
}
.form-message { margin-top: 1rem; padding: .85rem 1rem; border-radius: 6px; font-size: .85rem; font-weight: 600; }
.form-message.success { background: rgba(46,125,50,.2); color: #a5d6a7; border: 1px solid rgba(46,125,50,.3); }
.form-message.error { background: rgba(198,40,40,.15); color: #ef9a9a; border: 1px solid rgba(198,40,40,.3); }
.form-message[hidden] { display: none !important; }

/* Footer */
.site-footer { background: #111; color: rgba(255,255,255,.65); padding: 2rem 0 0; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 1.5rem; }
.footer-inner strong { color: var(--white); display: block; margin-bottom: .35rem; }
.footer-contact { display: flex; flex-direction: column; gap: .35rem; text-align: right; }
.footer-contact a { color: var(--white); transition: color .2s; }
.footer-contact a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: .85rem 0; text-align: center; font-size: .72rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--gray-border); }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--gray-border); }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .why-card { border-right: none; border-bottom: 1px solid var(--gray-border); }
    .why-card:nth-child(3n+1),
    .why-card:nth-child(3n+2) { border-right: 1px solid var(--gray-border); }
    .why-card:nth-last-child(-n+2) { border-bottom: none; }
    .how-steps {
        flex-wrap: wrap;
        max-width: none;
    }
    .how-step { flex: 1 1 calc(50% - 1rem); padding: 0 1rem 2rem; }
    .how-connector { display: none; }
    .carousel[data-carousel="projects"] .carousel-track > * { flex: 0 0 calc((100% - 1.25rem) / 2); }
    .carousel[data-carousel="testimonials"] .carousel-track > .carousel-slide { flex: 0 0 calc((100% - 1.25rem) / 2); }
    .carousel[data-carousel="gallery"] .carousel-track > * { flex: 0 0 calc((100% - 1.25rem) / 2); }
}
@media (max-width: 768px) {
    .header-cta { display: none; }
    .menu-toggle { display: flex; }
    .nav {
        position: fixed; top: 0; right: -100%; width: 260px; height: 100vh;
        background: var(--black); flex-direction: column; padding: 5rem 1.5rem 2rem;
        gap: 1.25rem; transition: right .3s; z-index: 1000;
    }
    .nav.open { right: 0; }
    .hero { height: clamp(400px, 58vh, 500px); }
    .hero-inner { padding-top: 5rem; padding-bottom: 2.5rem; }
    .hero-controls { bottom: 1.5rem; right: 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-benefits-box { border-radius: 0 20px 0 0; margin-top: 1.75rem; padding: 1.75rem 1.5rem 2rem; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card:nth-child(3n+1),
    .why-card:nth-child(3n+2) { border-right: none; }
    .why-card:nth-child(odd) { border-right: 1px solid var(--gray-border); }
    .why-card:nth-last-child(-n+2) { border-bottom: none; }
    .how-steps { flex-direction: column; align-items: center; }
    .how-step { flex: 1 1 auto; width: 100%; max-width: 320px; padding-bottom: 2rem; }
    .how-connector { display: none; }
    .carousel { padding: 0 2.75rem; }
    .carousel[data-carousel] .carousel-track > *,
    .carousel[data-carousel="testimonials"] .carousel-track > .carousel-slide { flex: 0 0 100%; }
    .footer-inner { flex-direction: column; }
    .footer-contact { text-align: left; }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-card,
    .why-card:nth-child(odd),
    .why-card:nth-child(3n+1),
    .why-card:nth-child(3n+2) {
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
    }
    .why-card:last-child { border-bottom: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item,
    .stat-item:nth-child(odd) {
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
    }
    .stat-item:last-child { border-bottom: none; }
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    padding: 1rem 0;
    background: rgba(18, 18, 18, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(0);
    transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.is-hiding {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner-title {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .35rem;
}
.cookie-banner-text p {
    margin: 0;
    font-size: .82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    max-width: 52rem;
}
.cookie-banner-link {
    display: inline-block;
    margin-top: .5rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-link:hover { color: #fff; }
.cookie-banner-actions {
    display: flex;
    gap: .65rem;
    flex-shrink: 0;
}
.cookie-banner .btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}
.cookie-banner .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}
@media (max-width: 768px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions { justify-content: flex-end; }
}
