/* =====================================================================
   Focus Ablak v2 theme layer (loads after base.css + site.css)
   Same brand colours and logo. Calmer, more architectural:
   serif display headings, 2-4px corners, hairline rules, flat cards,
   one accent per block so the eye knows where to go.
   ===================================================================== */
:root {
  --radius-global: 6px;
  --radius-media: 6px;
  --ink: #0f1d26;           /* headings, derived from brand-darkest */
  --body: #3d4a53;          /* body text */
  --muted: #64717a;
  --line: #dde3e7;
  --line-dark: rgba(255,255,255,.16);
  --lightBg: #f3f5f6;
  --paper: #f7f7f5;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: 0 1px 0 rgba(0,17,26,.04);
  --shadow-xl: 0 18px 40px rgba(0,17,26,.10);
  --display: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

/* ---------- Type ---------- */
body { font-family: var(--sans); color: var(--body); background: #fff; font-size: 16px; line-height: 1.65; }
p { color: var(--body); }
h1, h2 { font-family: var(--display); font-weight: 400; color: var(--ink); letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; margin-bottom: 20px; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
h4 { font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--ink); }
@media (max-width: 768px) {
  h1 { font-size: 2.55rem; line-height: 1.06; }
  h2 { font-size: 2rem; line-height: 1.1; }
  h3 { font-size: 19px; }
}
.bg-lightBg { background-color: var(--lightBg) !important; }
.text-darkText { color: var(--ink) !important; }
.text-gray-600, .text-gray-500 { color: var(--muted) !important; }

/* Eyebrow: small caps label with a hairline in front */
.m3-label { font-family: var(--sans); font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-head .m3-label, .eyebrow { display: inline-flex !important; align-items: center; gap: 12px; }
.section-head .m3-label::before, .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.text-center .m3-label::before { display: none; }
.m3-label.text-brand { color: #006b9e; }
.bg-darkText .m3-label.text-brand, .bg-brandDarkest .m3-label.text-brand, .page-hero .m3-label.text-brand { color: #8fd3f7; }

/* Title rule: short square bar, not a rounded pill */
.title-line { width: 40px; height: 2px; border-radius: 0; margin-top: 22px; background: var(--brand); }
.section-head p { font-size: 1.06rem; color: var(--muted); }
.section-head { margin-bottom: 56px; }

/* ---------- Header ---------- */
.glass-nav { background: rgba(255,255,255,.97); backdrop-filter: none; border-bottom: 1px solid var(--line); }
.nav-link { font-weight: 600; color: var(--ink); }
.nav-link.is-active::after { border-radius: 0; bottom: -6px; }
.nav-dropdown { border-radius: var(--radius-global) !important; box-shadow: 0 18px 40px rgba(0,17,26,.12) !important; border-color: var(--line) !important; padding: 6px 0 !important; }
.nav-dropdown a { border-left: 2px solid transparent; }
.nav-dropdown a:hover, .nav-dropdown a.is-active { background: var(--lightBg); border-left-color: var(--brand); }
.nav-dropdown a strong { font-family: var(--sans); }
.site-nav .bg-brand.m3-label { letter-spacing: .08em; box-shadow: none !important; transform: none !important; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 15.5px;
  padding: 15px 26px; border-radius: var(--radius-global); gap: 10px; box-shadow: none;
}
.btn-primary { border: 1px solid var(--brand); }
.btn-primary:hover { transform: none; box-shadow: none; background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-secondary { border: 1px solid var(--brand-dark); }
.btn-on-dark { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.link-arrow { font-weight: 700; font-size: 15px; }

/* ---------- Tags (were rounded chips) ---------- */
.chip { border-radius: var(--radius-global); background: transparent; border: 1px solid #c9d6de; color: #2f4552; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; font-weight: 700; }

/* ---------- Cards: flat, hairline, no lift ---------- */
.cat-tile, .review-card, .feature-card, .faq-item, .catalog-card, .form-card, .cv-tile, .service-select-card {
  border-radius: var(--radius-global); box-shadow: none; border: 1px solid var(--line);
}
.cat-tile:hover, .feature-card:hover, .catalog-card:hover, .cv-tile:hover { transform: none !important; box-shadow: none !important; border-color: var(--brand); }
.cat-tile .cat-img { aspect-ratio: 4/3; }
.cat-tile:hover .cat-img img { transform: scale(1.03); }
.cat-tile .cat-body h3 { margin-bottom: 8px; }
.feature-card { padding: 32px; gap: 22px; }
.feature-card::before, .feature-card::after { display: none !important; }
.feature-card i { border-radius: var(--radius-global); box-shadow: none; font-size: 1.6rem; padding: 14px; border: 1px solid var(--line); background: var(--lightBg); }
.catalog-card { background: #fff; text-align: left; align-items: flex-start; padding: 28px; }
.catalog-card .cc-icon { width: 52px; height: 52px; border-radius: var(--radius-global); font-size: 22px; box-shadow: none; background: var(--primaryLight); margin-bottom: 20px; }
.catalog-card button { border-radius: var(--radius-global); text-align: center; }
.form-card { border-top: 3px solid var(--brand); box-shadow: 0 1px 0 rgba(0,17,26,.04); }
.input-group input, .input-group textarea, .input-group select { border-radius: var(--radius-global); background: #fff; }
.service-select-card { border-radius: var(--radius-global); }
.gallery-item, .gallery-item img { border-radius: var(--radius-media) !important; }
.lightbox-img, .cv-panel { border-radius: var(--radius-global); }
.cv-btn { border-radius: var(--radius-global); }
.cv-tile { border-radius: var(--radius-global); }
.hero-logo-panel { border-radius: var(--radius-global); box-shadow: none; background: #fff; padding: 26px 34px; }
.owner-photo { border-radius: var(--radius-global); box-shadow: none; }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.review-card { padding: 30px; }
.review-card .stars { color: #e3a008; letter-spacing: 2px; }
.g-badge { border-radius: var(--radius-global); box-shadow: none; }
.footer-col h4::after { border-radius: 0; height: 2px; }
.timeline-dot::before { display: none; }

/* FAQ: plain rows with a +/− marker */
.faq-list { display: flex; flex-direction: column; gap: 0 !important; border-top: 1px solid var(--line); }
.faq-list .faq-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; margin: 0 !important; }
.faq-item summary { font-family: var(--sans); font-weight: 700; color: var(--ink); padding-left: 0 !important; padding-right: 0 !important; }
.faq-item summary::after { content: '+'; font-family: var(--sans); font-weight: 400; font-size: 26px; line-height: 1; width: auto; height: auto; background: none; border-radius: 0; color: var(--brand); }
.faq-item[open] summary::after { content: '−'; transform: none; }
.faq-item[open] { box-shadow: none; border-color: var(--line); }
.faq-item .faq-a { padding-left: 0 !important; padding-right: 0 !important; }

/* ---------- Page hero: navy photo band with a fine grid ---------- */
.page-hero { background-color: var(--brand-darkest); }
.page-hero h1 { color: #fff; }
.arch-grid { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 120px 120px; mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); }

/* ================= New v2 components ================= */

/* Section index: "01 / Termékek" */
.sec-index { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #006b9e; margin-bottom: 18px; }
.sec-index b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--ink); }
.sec-index::after { content: ''; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.on-dark .sec-index, .sec-index.on-dark { color: #8fd3f7; }
.on-dark .sec-index b, .sec-index.on-dark b { color: #fff; }

/* Home hero (v2) */
.hero-v2 { position: relative; min-height: 64vh; display: flex; align-items: center; background: var(--brand-darkest); color: #fff; overflow: hidden; }
.hero-v2 > .bg { position: absolute; inset: 0; z-index: 0; }
.hero-v2 > .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-v2 > .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,17,26,.94) 0%, rgba(0,17,26,.80) 45%, rgba(0,45,70,.55) 100%); }
.hero-v2 h1 { color: #fff; }
.hero-v2 .lead { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 34rem; }
.hero-frame { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.28); }
.hero-frame::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.hero-frame .hero-logo-panel { display: block; text-align: center; }
.hero-frame .hero-logo-panel img { margin: 0 auto; height: 200px; }
.hero-frame .cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); font-weight: 700; }
@media (max-width: 768px) { .hero-frame { padding: 16px; } .hero-frame .hero-logo-panel img { height: 120px; } .hero-frame::before { display: none; } }

/* Trust strip under the hero */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip li { display: flex; align-items: center; gap: 12px; padding: 22px 24px; font-weight: 700; color: var(--ink); font-size: 15px; border-left: 1px solid var(--line); }
.trust-strip li:first-child { border-left: 0; padding-left: 0; }
.trust-strip li i { color: var(--brand); font-size: 18px; }
@media (max-width: 900px) { .trust-strip ul { grid-template-columns: 1fr 1fr; } .trust-strip li { padding: 16px 12px; border-left: 0; border-top: 1px solid var(--line); font-size: 14px; } .trust-strip li:nth-child(-n+2) { border-top: 0; } .trust-strip li:first-child { padding-left: 12px; } }

/* Product rows: big image, numbered, one link each */
.prod-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.prod-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); color: inherit; }
.prod-item .num { font-family: var(--display); font-size: 40px; color: var(--brand); line-height: 1; align-self: start; }
.prod-item .media { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius-global); background: var(--lightBg); order: 3; }
.prod-item .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prod-item:hover .media img { transform: scale(1.03); }
.prod-item h3 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; margin-bottom: 12px; }
.prod-item .meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #006b9e; margin-bottom: 14px; display: block; }
@media (max-width: 900px) { .prod-item { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; } .prod-item .num { font-size: 28px; } .prod-item .media { order: 0; } .prod-item h3 { font-size: 28px; } }

/* "A jó döntés a részleteknél kezdődik": 2x2 criteria with rules */
.crit-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.crit { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: 36px 0; border-top: 1px solid var(--line); }
.crit i { font-size: 26px; color: var(--brand); padding-top: 6px; }
.crit h3 { font-size: 24px; margin-bottom: 10px; }
.crit p { margin: 0; color: var(--muted); }
.crit-foot { margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 17px; }
@media (max-width: 768px) { .crit-grid { grid-template-columns: 1fr; } .crit { grid-template-columns: 40px 1fr; padding: 26px 0; } .crit i { font-size: 22px; } .crit h3 { font-size: 20px; } }

/* "Egy rendszerben" dark band with blueprint frame */
.system-band { position: relative; background: var(--brand-darkest); color: #fff; overflow: hidden; }
.system-band > .bg { position: absolute; inset: 0; }
.system-band > .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.system-band > .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,17,26,.96) 0%, rgba(0,17,26,.82) 50%, rgba(0,40,62,.75) 100%); }
.system-band h2 { color: #fff; }
.system-band .lead { color: rgba(255,255,255,.8); }
.blueprint { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; min-height: 460px; }
.blueprint::before { content: ''; position: absolute; inset: -24px -24px -24px 30%; border: 1px solid rgba(143,211,247,.28); pointer-events: none; }
.blueprint::after { content: ''; position: absolute; top: -24px; bottom: -24px; left: 64%; width: 1px; background: rgba(143,211,247,.22); pointer-events: none; }
.bp-item { position: relative; z-index: 1; padding-top: 18px; border-top: 1px solid rgba(143,211,247,.45); max-width: 270px; }
.bp-item h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.bp-item p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; line-height: 1.55; }
.bp-item:nth-of-type(3), .bp-item:nth-of-type(5) { justify-self: end; }
.bp-item:nth-of-type(4), .bp-item:nth-of-type(5) { align-self: end; grid-row: 3; }
.bp-window { position: absolute; z-index: 0; left: 50%; top: 50%; width: 190px; height: 190px; transform: translate(-50%, -50%); border: 5px solid rgba(230,244,250,.85); }
.bp-window::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: rgba(230,244,250,.85); }
.bp-window::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 4px; margin-top: -2px; background: rgba(230,244,250,.85); }
@media (max-width: 1023px) {
  .blueprint { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; gap: 28px 24px; }
  .blueprint::before, .blueprint::after, .bp-window { display: none; }
  .bp-item:nth-child(n) { justify-self: stretch; align-self: start; grid-row: auto; max-width: none; }
}
@media (max-width: 520px) { .blueprint { grid-template-columns: 1fr; } }

/* Owner block with real portrait */
.owner-v2 { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.owner-v2 figure { position: relative; margin: 0; max-width: 400px; width: 100%; isolation: isolate; }
.owner-v2 figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-global); filter: saturate(.92); }
.owner-v2 figure img { box-shadow: 18px 18px 0 -1px #fff, 18px 18px 0 0 var(--brand); }
.owner-v2 figcaption { margin-top: 34px !important; }
.owner-v2 figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); }
.owner-v2 figcaption strong { color: var(--ink); display: block; font-size: 16px; }
.owner-quote-v2 { font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.25; color: var(--ink); margin: 0 0 28px; padding-left: 24px; border-left: 2px solid var(--brand); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 36px; }
.pillars > div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.pillars > div:nth-child(odd) { border-right: 1px solid var(--line); }
.pillars > div:nth-child(even) { padding-left: 24px; padding-right: 0; }
.pillars h4 { margin-bottom: 4px; }
.pillars p { font-size: 15px; margin: 0; color: var(--muted); }
@media (max-width: 1023px) { .owner-v2 { grid-template-columns: 1fr; gap: 48px; } .owner-v2 figure { max-width: 400px; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillars > div:nth-child(n) { border-right: 0; padding-left: 0; padding-right: 0; } .owner-v2 figure img { box-shadow: 10px 10px 0 -1px #fff, 10px 10px 0 0 var(--brand); } .owner-v2 figure { max-width: calc(100% - 12px); } }

/* Process: horizontal numbered columns */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps > div { padding: 30px 28px 8px 0; position: relative; }
.steps > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .n { font-family: var(--display); font-size: 44px; color: var(--brand); line-height: 1; display: block; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr 1fr; } .steps > div:nth-child(3) { border-left: 0; padding-left: 0; } .steps > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps > div:nth-child(n) { border-left: 0; padding-left: 0; } .steps > div + div { border-top: 1px solid var(--line); } }

/* Partner logos row */
.partners-v2 { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-v2 span { display: flex; align-items: center; justify-content: center; padding: 26px 8px; font-weight: 800; font-size: 20px; color: #3a5566; letter-spacing: .04em; border-left: 1px solid var(--line); }
.partners-v2 span:first-child { border-left: 0; }
@media (max-width: 768px) { .partners-v2 { grid-template-columns: repeat(3, 1fr); } .partners-v2 span { font-size: 16px; border-top: 1px solid var(--line); } .partners-v2 span:nth-child(-n+3) { border-top: 0; } .partners-v2 span:nth-child(4) { border-left: 0; } }

/* Reference mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.mosaic .gallery-item { height: 100% !important; width: 100%; min-height: 0; }
.mosaic .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 768px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 8px; } .mosaic .wide { grid-column: span 2; } }

/* Reviews with avatar photo */
.review-card .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.rating-head { display: flex; align-items: baseline; gap: 14px; }
.rating-head .big { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--ink); }

/* Service area list */
.area-list { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.area-list span { flex: 1 1 33%; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.area-list span i { color: var(--brand); font-size: 13px; }

/* Image with caption (inner pages) */
.figure-v2 { margin: 0; }
.figure-v2 img { width: 100%; border-radius: var(--radius-global); object-fit: cover; }
.figure-v2 figcaption { font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 12px; }

/* sticky columns need clip, not hidden */
body { overflow-x: clip; }

/* =====================================================================
   Home "Munkáink" motion gallery (#home-galeria)
   A = split gate reveal, B = rotating cylinder. Static grid by default
   (no JS, reduced motion), motion only when site.js adds .is-live.
   Never put overflow hidden/auto/clip on ancestors of .mg-sticky.
   ===================================================================== */
.mg-section .variant-group { padding-top: 8px; }
.mg { position: relative; }
.mg-sticky { padding: 72px 16px 88px; }
.mg-title { max-width: 80rem; margin: 0 auto 40px; }
.mg-title h2 { margin-bottom: 0; }
.mg-hint, .mg-panel { display: none; }
.mg-grid { max-width: 80rem; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mg .gallery-item { height: auto !important; aspect-ratio: 4 / 3; width: 100%; min-width: 0; padding: 0; cursor: zoom-in; border: 1px solid var(--line); background: var(--lightBg); }
.mg .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .mg-sticky { padding: 56px 16px 64px; }
  .mg-title { margin-bottom: 28px; }
  .mg-grid { gap: 8px; }
  .mg .gallery-item { aspect-ratio: 3 / 4; }
}

/* ---- Live motion (shared) ---- */
.mg.is-live .mg-scroll { height: 300vh; }
.mg.is-live .mg-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); padding: 0; overflow: hidden; }
@media (max-width: 768px) { .mg.is-live .mg-scroll { height: 240vh; } }

/* ---- A: split gate reveal ---- */
.mg-gate.is-live .mg-grid { position: absolute; inset: 0; max-width: none; padding: 28px 16px; grid-template-columns: repeat(3, min(24vw, 330px)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; justify-content: center; align-content: stretch; will-change: transform, opacity; z-index: 1; }
.mg-gate.is-live .gallery-item { aspect-ratio: auto; height: 100% !important; border-color: #fff; }
.mg-gate.is-live .mg-panel { display: block; position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; z-index: 5; background: var(--brand-darkest); will-change: transform; }
.mg-panel-l { left: 0; border-right: 1px solid rgba(143,211,247,.45); }
.mg-panel-r { right: 0; }
.mg-panel img { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; object-position: center 45%; border-radius: 0; }
.mg-panel-l img { left: 0; }
.mg-panel-r img { left: -100%; }
.mg-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,17,26,.82) 0%, rgba(0,17,26,.70) 50%, rgba(0,17,26,.86) 100%); }
.mg-panel::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 120px 120px; }
.mg-gate.is-live .mg-title { position: absolute; inset: 0; z-index: 6; margin: 0; max-width: none; padding: 0 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; will-change: opacity, transform; }
.mg-gate.is-live .mg-title .sec-index { color: #8fd3f7; }
.mg-gate.is-live .mg-title .sec-index::before { content: ''; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.mg-gate.is-live .mg-title h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; }
.mg-gate.is-live .mg-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
@media (max-width: 768px) {
  .mg-gate.is-live .mg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px; gap: 8px; }
}

/* ---- B: rotating cylinder ---- */
.mg-cyl.is-live .mg-sticky { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; }
.mg-cyl.is-live .mg-title { margin: 0; text-align: center; padding: 0 16px; }
.mg-cyl.is-live .mg-title .sec-index { justify-content: center; }
.mg-cyl.is-live .mg-title .sec-index::before { content: ''; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.mg-cyl.is-live .mg-stage { perspective: 1300px; width: 100%; display: flex; justify-content: center; }
.mg-cyl.is-live .mg-ring { --mg-w: 300px; --mg-h: 400px; position: relative; display: block; width: var(--mg-w); height: var(--mg-h); max-width: none; margin: 0; transform-style: preserve-3d; will-change: transform; }
.mg-cyl.is-live .gallery-item { position: absolute; inset: 0; aspect-ratio: auto; height: 100% !important; border: 3px solid #fff; outline: 1px solid var(--line); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mg-cyl.is-live .gallery-item:hover img { transform: none; }
@media (max-width: 768px) { .mg-cyl.is-live .mg-ring { --mg-w: 200px; --mg-h: 280px; } .mg-cyl.is-live .mg-sticky { gap: 24px; } }
@media (max-height: 760px) and (min-width: 769px) { .mg-cyl.is-live .mg-ring { --mg-w: 240px; --mg-h: 320px; } }

/* =====================================================================
   Process block "Az ajánlatkéréstől a beépítésig" (muanyag-nyilaszarok)
   Reference layout: centred head, four cards with a node on the top
   edge joined by a hairline. Icons instead of step numbers.
   ===================================================================== */
.proc-head { max-width: 46rem; margin-left: auto; margin-right: auto; text-align: center; }
.proc-head .sec-index { justify-content: center; }
.proc-head .sec-index::before { content: ''; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.proc-head p { margin: 0 auto; }
.proc { list-style: none; margin: 0; padding: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 24px; position: relative; counter-reset: none; }
.proc::before { content: ''; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 1px; background: var(--brand); opacity: .45; }
.proc li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-global); padding: 60px 26px 32px; text-align: center; }
.proc-node { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--brand); border-radius: var(--radius-global); color: var(--brand); font-size: 24px; box-shadow: 0 0 0 8px var(--lightBg); }
.proc li:first-child .proc-node { background: var(--brand); color: #fff; }
.proc h3 { margin-bottom: 10px; }
.proc p { font-size: 15px; color: var(--muted); margin: 0; }
.proc-foot { margin-top: 44px; text-align: center; }
@media (max-width: 1023px) { .proc { grid-template-columns: 1fr 1fr; gap: 64px 20px; } .proc::before { display: none; } }
@media (max-width: 600px) {
  .proc { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .proc::before { display: block; top: 0; bottom: 0; left: 31px; right: auto; width: 1px; height: auto; }
  .proc li { text-align: left; padding: 22px 20px 22px 22px; margin: 0 0 16px 80px; }
  .proc-node { top: 22px; left: -80px; transform: none; width: 62px; height: 62px; font-size: 22px; box-shadow: 0 0 0 6px var(--lightBg); }
}
