/* ========================= */
/* ALAPOK ÉS ARCULAT */
/* ========================= */
:root {
  --beige-light: #eee3d5;
  --beige-medium: #d8c6af;
  --beige-dark: #bca58a;
  --text-primary: #171714;
  --text-muted: #5f5b54;
  --background: #f3eade;
  --white: #fff;
  --line: #d1c0a9;
  --button-hover: #3e3b35;
  --focus: #775a37;
  --error: #962a21;
  --success: #315e37;
  --header-height: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; background: var(--background); color: var(--text-primary); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open, body.lightbox-open { overflow: hidden; }
::selection { background: var(--beige-dark); color: var(--text-primary); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, input, select, textarea, .button { border-radius: 0; }
button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
button, a, input, textarea, select { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 700; }
h2 { font-size: clamp(2rem, 3.3vw, 3rem); letter-spacing: -.025em; margin-bottom: 26px; }
h3 { font-size: 1.6rem; letter-spacing: -.025em; }
p { margin-bottom: 20px; }
.container { width: min(100% - 112px, 1376px); margin-inline: auto; }
.full-section { min-height: 100vh; min-height: 100svh; scroll-margin-top: 0; }
.section-padding { padding-block: 80px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .19em; line-height: 1.5; margin-bottom: 28px; display: flex; align-items: center; gap: 11px; }
.small-square { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; background: var(--text-primary); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 23px; border: 1px solid var(--text-primary); font-size: 16px; line-height: 1.5; font-weight: 500; transition: background .2s, color .2s; }
.button-dark { color: var(--beige-light); background: var(--text-primary); }
.button-dark:hover { background: var(--button-hover); border-color: var(--button-hover); }
.button-outline { background: transparent; }
.button-outline:hover { background: var(--beige-medium); }
.button:disabled { opacity: .65; cursor: wait; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 12px; line-height: 1.6; }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover .icon { transform: translate(2px, -2px); }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 110; left: 16px; top: 12px; padding: 12px 20px; background: var(--text-primary); color: white; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading h2::after, .about-copy h2::after, .contact-copy h2::after { content: ""; display: block; width: 72px; height: 3px; background: var(--text-primary); margin-top: 23px; }
.section-intro { max-width: 380px; color: var(--text-muted); margin-bottom: 5px; font-size: 16px; }
.section-intro p:last-child { margin-bottom: 0; }

/* ========================= */
/* FEJLÉC ÉS NAVIGÁCIÓ */
/* ========================= */
.site-header { position: fixed; z-index: 50; top: 0; width: 100%; height: var(--header-height); background: var(--beige-light); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 196px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.primary-nav a { position: relative; padding: 13px 0; font-size: 18px; }
.primary-nav a::after { position: absolute; content: ""; height: 1px; bottom: 5px; left: 0; width: 100%; background: var(--text-primary); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.primary-nav a:hover::after, .primary-nav a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ========================= */
/* KEZDŐLAP / HERO SZEKCIÓ */
/* ========================= */
.hero { display: flex; flex-direction: column; padding-top: var(--header-height); }
.hero > .hero-main, .hero > .benefits { width: 100%; }
.hero-main { position: relative; display: flex; align-items: center; width: 100%; max-width: none; padding-block: 60px; flex: 1; min-height: 580px; background: linear-gradient(110deg, var(--beige-medium), var(--beige-light)); }
.hero-copy { position: relative; width: 46%; padding: 0; margin-left: max(5.5vw, calc((100vw - 1376px) / 2)); z-index: 2; }
.hero h1 { font-size: clamp(42px, 4.8vw, 72px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 27px; }
.hero h1::after { content: ""; display: block; width: 84px; height: 4px; background: var(--text-primary); margin-top: 30px; }
.hero h1 span { font-size: 1em; letter-spacing: inherit; }
.hero-description { max-width: 380px; font-size: 20px; color: var(--text-primary); line-height: 1.4; margin-bottom: 32px; }
.hero .button { min-width: 230px; justify-content: center; font-size: 20px; }
.hero-visual { position: absolute; inset: 0 0 0 40%; min-width: 0; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.image-label { position: absolute; top: 19px; right: 18px; font-size: 8px; font-weight: 600; letter-spacing: .12em; padding: 5px 9px; background: var(--beige-light); }
.benefits { width: 100%; max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 32px max(5.5vw, calc((100vw - 1376px) / 2)); background: var(--beige-light); }
.benefit { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-inline: 20px; border-left: 1px solid var(--line); text-align: center; font-size: 18px; line-height: 1.25; }
.benefit:first-child { border-left: 0; }
.benefit svg { width: 48px; height: 48px; fill: none; stroke: var(--text-primary); stroke-width: 1.3; }


/* ========================= */
/* SZOLGÁLTATÁSOK SZEKCIÓ */
/* ========================= */
.services { background: var(--background); }
.services-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.service-card { background: var(--beige-light); display: flex; flex-direction: column; min-width: 0; }
.service-featured { background: var(--beige-medium); }
.service-photo { height: 212px; position: relative; overflow: hidden; }
.service-photo img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-photo img { transform: scale(1.035); }
.service-badge { position: absolute; left: 15px; bottom: 15px; color: var(--beige-light); background: var(--text-primary); padding: 6px 10px; font-size: 8px; letter-spacing: .1em; }
.service-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.service-number { color: var(--text-muted); font-size: 10px; letter-spacing: .08em; margin-bottom: 19px; }
.service-body h3 { font-size: clamp(1.4rem, 1.8vw, 1.8rem); line-height: 1.12; min-height: 59px; margin-bottom: 18px; overflow-wrap: anywhere; }
.service-body p { font-size: 13px; line-height: 1.85; color: var(--text-muted); margin-bottom: 24px; }
.service-body ul { list-style: none; padding: 0; margin: 0 0 30px; font-size: 12px; line-height: 2.1; }
.service-body li { position: relative; padding-left: 12px; }
.service-body li::before { content: ""; width: 3px; height: 3px; background: var(--text-muted); position: absolute; left: 0; top: 9px; }
.service-body .text-link { margin-top: auto; font-size: 12px; gap: 5px; }
.section-bottom-note { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 23px; display: flex; justify-content: space-between; gap: 25px; font-size: 11px; color: var(--text-muted); }
.section-bottom-note a { display: flex; align-items: center; gap: 35px; color: var(--text-primary); }
.section-bottom-note .icon { width: 17px; height: 17px; }

/* ========================= */
/* RÓLUNK SZEKCIÓ */
/* ========================= */
.about { display: flex; align-items: center; background: var(--background); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 145px); align-items: center; }
.about-visual { position: relative; min-width: 0; }
.about-visual::before { content: ""; position: absolute; inset: 24px 24px -24px -24px; border: 1px solid var(--line); }
.about-visual > img { position: relative; width: 100%; max-height: 650px; object-fit: cover; background: var(--beige-medium); }
.about-signature { position: absolute; bottom: 0; left: 0; right: 0; background: var(--beige-light); padding: 23px 30px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; }
.about-signature > span { font-size: 7px; letter-spacing: .12em; }
.about-signature strong { grid-row: span 2; grid-column: 2; font-size: 38px; font-weight: 500; letter-spacing: -.06em; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy p { color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.about-principles { display: grid; gap: 12px; margin: 28px 0 32px; padding-block: 22px; border-block: 1px solid var(--line); font-size: 11px; }
.about-principles span { display: flex; gap: 22px; align-items: center; }
.about-principles b { color: var(--text-muted); font-size: 9px; font-weight: 400; }

/* ========================= */
/* GALÉRIA SZEKCIÓ */
/* ========================= */
.gallery { background: var(--background); }
.sample-note { color: var(--text-muted); font-size: 11px; line-height: 1.8; border-left: 1px solid var(--beige-dark); padding-left: 16px; }
.gallery-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 260px 260px 270px; gap: 18px; }
.gallery-item { position: relative; display: block; width: 100%; height: 100%; border: 0; padding: 0; overflow: hidden; text-align: left; background: var(--beige-medium); }
.gallery-item > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item:hover > img { transform: scale(1.045); }
.gallery-item::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(23, 23, 20, .65)); pointer-events: none; }
.gallery-large { grid-row: span 2; }
.gallery-wide { grid-column: span 3; }
.gallery-wide > img { object-position: center 60%; }
.gallery-caption { position: absolute; z-index: 1; left: 23px; right: 23px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; color: white; font-size: 16px; line-height: 1.4; }
.gallery-caption small { display: block; font-size: 7px; letter-spacing: .14em; margin-bottom: 8px; }
.gallery-caption .icon { width: 21px; height: 21px; }
.gallery-help { display: flex; align-items: center; gap: 10px; font-size: 10px; margin: 24px 0 0; color: var(--text-muted); }
.gallery-help .small-square { width: 4px; height: 4px; }
.gallery-pagination { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; width: 100%; max-width: 540px; flex-shrink: 0; align-items: center; gap: 10px; margin: 12px auto 0; font-size: 13px; }
.gallery-pagination .icon-button { width: auto; height: auto; min-height: 44px; padding: 8px 10px; font-size: 13px; line-height: 1.3; }
#gallery-page-count { text-align: center; font-size: 12px; line-height: 1.4; }
.gallery-pagination button:disabled { opacity: .35; cursor: default; }

/* ========================= */
/* KAPCSOLAT ÉS ŰRLAP */
/* ========================= */
.contact { background: var(--beige-medium); display: flex; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 8vw, 125px); align-items: start; }
.contact h2 { margin-bottom: 30px; }
.contact-description { color: var(--text-muted); max-width: 340px; font-size: 14px; line-height: 1.9; }
.contact-details { display: grid; gap: 29px; margin-top: 45px; }
.contact-label { display: block; font-size: 10px; letter-spacing: .15em; margin-bottom: 8px; color: var(--text-muted); }
.phone-link { font-size: clamp(1.4rem, 2.3vw, 2.2rem); letter-spacing: -.04em; }
.contact-details a { display: inline-flex; align-items: center; gap: 25px; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-details .icon { width: 19px; height: 19px; }
.email-link { font-size: 18px; letter-spacing: -.02em; }
.contact-details small { display: block; max-width: 300px; font-size: 9px; color: var(--text-muted); line-height: 1.8; margin-top: 8px; }
.contact-brand-note { display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--line); margin-top: 45px; padding-top: 24px; font-size: 11px; line-height: 1.65; }
.contact-brand-note svg { height: 40px; width: 40px; stroke: var(--text-muted); stroke-width: 1; fill: none; }
.form-panel { position: relative; background: var(--beige-light); padding: 38px; min-width: 0; }
.form-heading h3 { font-size: 27px; margin-bottom: 13px; }
.demo-note { font-size: 12px; line-height: 1.8; color: var(--text-muted); border-left: 2px solid var(--line); padding-left: 12px; margin-bottom: 27px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 20px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > label { display: block; margin-bottom: 7px; font-size: 12px; }
.optional { color: var(--text-muted); font-size: 10px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); background: transparent; padding: 11px 12px; color: var(--text-primary); font-size: 14px; min-height: 44px; }
.form-field textarea { display: block; resize: vertical; min-height: 135px; line-height: 1.8; }
.form-field select { padding-right: 4px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-muted); opacity: 1; }
.form-field :is(input, select, textarea):focus { border-color: var(--beige-dark); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: block; font-size: 10px; line-height: 1.5; color: var(--error); margin-top: 5px; }
.field-error:empty { display: none; }
.privacy-field { margin-block: 22px; }
.privacy-field > div { display: flex; gap: 10px; align-items: flex-start; }
.privacy-field input { width: 16px; height: 16px; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--text-primary); }
.privacy-field label { font-size: 12px; line-height: 1.8; color: var(--text-muted); }
.privacy-field a { text-decoration: underline; text-underline-offset: 2px; }
.form-submit { width: 100%; gap: 12px; }
.form-status { margin: 14px 0 0; font-size: 12px; line-height: 1.7; }
.form-status:empty { display: none; }
.form-status[data-state="error"], .form-status.is-error { color: var(--error); }
.form-status[data-state="success"], .form-status.is-success { color: var(--success); }
.required-note { margin: 14px 0 0; color: var(--text-muted); font-size: 11px; }
.honeypot { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ========================= */
/* LÁBLÉC */
/* ========================= */
.site-footer { background: var(--beige-light); padding-block: 43px 20px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-main > p { font-size: 11px; line-height: 1.8; color: var(--text-muted); margin-bottom: 0; margin-right: auto; }
.back-to-top { font-size: 10px; display: flex; align-items: center; gap: 28px; }
.back-to-top > span { font-size: 24px; line-height: 1; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; font-size: 9px; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; align-items: center; gap: 24px; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--text-primary); text-decoration: underline; }
.footer-bottom button { border: 0; background: none; padding: 0; font: inherit; color: inherit; }

/* ========================= */
/* GALÉRIA / LIGHTBOX */
/* ========================= */
.lightbox { width: min(1100px, 94vw); max-width: none; max-height: 94vh; max-height: 94svh; padding: 20px 30px; border: 0; background: var(--beige-light); color: var(--text-primary); }
.lightbox::backdrop { background: rgba(18, 17, 14, .88); }
.lightbox-header, .lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lightbox-header { font-size: 9px; letter-spacing: .15em; padding-bottom: 14px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); font-size: 21px; flex-shrink: 0; }
.icon-button:hover { background: var(--beige-medium); }
.lightbox-stage { display: grid; grid-template-columns: 44px 1fr 44px; gap: 18px; align-items: center; }
.lightbox-stage img { width: 100%; height: min(65vh, 650px); height: min(65svh, 650px); object-fit: contain; min-width: 0; background: var(--beige-light); }
.lightbox-footer { padding-top: 18px; }
.lightbox-footer p { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.lightbox-footer small { font-size: 10px; color: var(--text-muted); }
#lightbox-count { font-size: 11px; white-space: nowrap; }

/* ========================= */
/* ANALITIKAI HOZZÁJÁRULÁS */
/* ========================= */
.cookie-banner { position: fixed; z-index: 120; inset: auto 24px 24px; width: min(1000px, calc(100% - 48px)); margin-inline: auto; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: 28px; max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); overflow: auto; overscroll-behavior: contain; background: var(--beige-light); border: 1px solid var(--beige-dark); box-shadow: 0 12px 45px #17171426; animation: cookie-enter .25s ease both; }
.cookie-banner .cookie-eyebrow, .cookie-dialog .cookie-eyebrow { display: block; margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--text-muted); }
.cookie-banner h2 { margin: 0 0 10px; font-size: 25px; letter-spacing: -.035em; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.65; }
.cookie-banner p a, .cookie-dialog-body > p a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cookie-banner .button, .cookie-dialog .button { min-height: 46px; justify-content: center; padding: 10px 12px; font-size: 13px; text-align: center; line-height: 1.4; }
.cookie-actions > :last-child { grid-column: 1 / -1; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
body.cookie-dialog-open { overflow: hidden; }
.cookie-dialog { position: fixed; inset: 0; width: min(620px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; color: var(--text-primary); background: var(--background); border: 1px solid var(--beige-dark); box-shadow: 0 20px 70px #0003; }
.cookie-dialog[open] { display: block; animation: cookie-enter .2s ease both; }
.cookie-dialog::backdrop { background: #17171480; }
.cookie-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px; }
.cookie-dialog-header h2 { min-width: 0; margin: 0; font-size: 28px; letter-spacing: -.035em; overflow-wrap: anywhere; }
.cookie-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; font-size: 25px; line-height: 1; color: inherit; background: transparent; border: 1px solid var(--line); }
.cookie-close:hover { background: var(--beige-medium); }
.cookie-dialog-body { padding: 0 24px 24px; }
.cookie-dialog-body > p { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.cookie-category { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); }
.cookie-category h3, .cookie-category label { display: block; margin: 0 0 7px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.cookie-category p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--text-muted); }
.cookie-category input[type="checkbox"] { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 46px; min-width: 46px; height: 26px; margin: 3px 0 0; border: 1px solid var(--focus); border-radius: 20px; background: var(--line); cursor: pointer; }
.cookie-category input[type="checkbox"]::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-primary); transition: transform .18s ease, background .18s ease; }
.cookie-category input[type="checkbox"]:checked { background: var(--text-primary); }
.cookie-category input[type="checkbox"]:checked::before { transform: translateX(20px); background: var(--beige-light); }
.cookie-category input[type="checkbox"]:disabled { opacity: .55; cursor: not-allowed; }
.cookie-required { padding-top: 4px; white-space: nowrap; font-size: 11px; font-weight: 600; }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.cookie-dialog-actions .button { flex: 1 1 150px; }
@keyframes cookie-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 959px) {
  .cookie-banner { grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 620px; }
  .cookie-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .cookie-banner { inset: auto 12px 12px; width: calc(100% - 24px); padding: 20px; }
  .cookie-banner h2 { font-size: 23px; }
  .cookie-actions { grid-template-columns: minmax(0, 1fr); }
  .cookie-dialog { width: calc(100% - 24px); }
  .cookie-dialog-header { padding: 20px; }
  .cookie-dialog-header h2 { font-size: 24px; }
  .cookie-dialog-body { padding: 0 20px 20px; }
  .cookie-dialog-actions { padding: 16px 20px 20px; }
  .cookie-category { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-dialog[open] { animation: none; }
  .cookie-category input[type="checkbox"]::before { transition: none; }
}
@media print { .cookie-banner, .cookie-dialog { display: none !important; } }

/* ========================= */
/* IMPRESSZUM, ADATKEZELÉS, 404 */
/* ========================= */
.legal-main { min-height: calc(100vh - var(--header-height)); padding-block: 85px; margin-top: var(--header-height); }
.legal-page .site-header img { width: 166px; height: auto; }
.legal-main h1 { font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -.06em; margin-bottom: 35px; overflow-wrap: anywhere; }
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.65rem; margin-top: 40px; margin-bottom: 18px; letter-spacing: -.03em; }
.legal-content h3 { font-size: 1.2rem; margin-top: 25px; }
.legal-content p, .legal-content li, .legal-content dd, .legal-content dt { font-size: 14px; overflow-wrap: anywhere; }
.legal-content a:not(.button), .legal-main > .container > p a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content dl { display: grid; grid-template-columns: minmax(130px, .7fr) 1.8fr; gap: 15px 25px; }
.legal-content dt { font-weight: 600; }
.legal-content dd { margin: 0; }
.notice { padding: 20px 24px; background: var(--beige-medium); border-left: 2px solid var(--beige-dark); font-size: 13px; }
.error-page .legal-main { display: flex; align-items: center; }
.error-code { font-size: clamp(100px, 20vw, 220px); line-height: 1; letter-spacing: -.08em; color: var(--beige-dark); }

/* ========================= */
/* TÁBLAGÉPES ELRENDEZÉS */
/* ========================= */
@media (max-width: 1199px) {
  .container { width: calc(100% - 80px); }
  .header-inner { gap: 22px; }
  .brand img { width: 156px; }
  .primary-nav { gap: 20px; }
  .primary-nav a { font-size: 16px; }
  .hero-description { max-width: 320px; font-size: 18px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .service-body h3 { font-size: 27px; min-height: 0; }
  .service-body h3 br { display: none; }
  .service-body p { font-size: 13px; }
  .service-body ul { font-size: 12px; }
  .service-body .text-link { font-size: 12px; }
  .service-photo { height: 230px; }
  .about-grid, .contact-grid { gap: 55px; }
  .form-panel { padding: 28px; }
  .form-grid { column-gap: 15px; }
  .gallery-grid { grid-template-rows: 230px 230px 230px; }
  .gallery-caption { left: 17px; right: 17px; font-size: 14px; }
}
@media (max-width: 959px) {
  :root { --header-height: 76px; }
  .container { width: calc(100% - 56px); }
  .primary-nav a { font-size: 13px; }
  .section-padding { padding-block: 85px; }
  .hero h1 { font-size: 38px; }
  .hero-description { max-width: 265px; font-size: 17px; }
  .hero .button { min-width: 200px; font-size: 18px; }
  .benefit { padding-inline: 10px; gap: 14px; font-size: 16px; }
  .benefit svg { width: 42px; height: 42px; }
  .section-heading { gap: 35px; }
  .section-intro { max-width: 260px; font-size: 13px; }
  .about-grid { gap: 40px; }
  .about-signature { padding: 18px; }
  .about-signature > span { font-size: 6px; }
  .about-signature strong { font-size: 30px; }
  .about-copy p { font-size: 15px; }
  .about-visual > img { height: 550px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px 260px; }
  .gallery-large { grid-row: auto; }
  .gallery-wide { grid-column: auto; }
  .contact-grid { gap: 35px; }
  .contact h2 { font-size: 34px; }
  .form-panel { padding: 25px; }
  .form-heading h3 { font-size: 23px; }
  .form-grid { grid-template-columns: 1fr; row-gap: 15px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 12px; }
  .footer-bottom > span { display: none; }
}

/* ========================= */
/* MOBIL ELRENDEZÉS */
/* ========================= */
@media (max-width: 699px) {
  :root { --header-height: 72px; }
  .container { width: calc(100% - 40px); }
  body { font-size: 14px; }
  h2 { font-size: clamp(34px, 8.8vw, 48px); }
  .section-padding { padding-block: 64px; }
  .eyebrow { font-size: 9px; margin-bottom: 22px; }
  .brand img { width: 159px; }
  .header-inner { gap: 20px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; align-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); order: 3; }
  .nav-toggle span { display: block; width: 19px; height: 1px; background: var(--text-primary); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: absolute; left: 0; right: 0; top: var(--header-height); height: calc(100vh - var(--header-height)); height: calc(100svh - var(--header-height)); background: var(--beige-light); padding: 25px 30px 45px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  body.menu-open .primary-nav { visibility: visible; opacity: 1; transform: translateY(0); }
  .primary-nav a { font-size: 27px; letter-spacing: -.04em; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current] { color: var(--text-muted); }
  .hero-main { flex-direction: column; gap: 0; align-items: stretch; padding: 0; }
  .hero-copy { width: auto; margin: 0; padding: 40px 20px 32px; }
  .hero h1 { font-size: clamp(32px, 9vw, 52px); margin-bottom: 24px; }
  .hero h1::after { width: 64px; height: 3px; margin-top: 24px; }
  .hero-description { max-width: 380px; font-size: 18px; line-height: 1.5; margin-bottom: 25px; }
  .hero .button { min-width: 210px; }
  .hero-visual { position: relative; inset: auto; height: 320px; width: 100%; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); }
  .image-label { top: 15px; right: 12px; font-size: 7px; }
  .benefits { grid-template-columns: repeat(2, 1fr); padding: 28px 20px; gap: 28px 0; }
  .benefit { border-left: 0; padding-inline: 12px; font-size: 15px; gap: 12px; }
  .benefit:nth-child(even) { border-left: 1px solid var(--line); }
  .benefit svg { width: 40px; height: 40px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-intro { margin-top: 24px; max-width: 100%; font-size: 13px; }
  .services-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-photo { height: 230px; }
  .service-body { padding: 27px; }
  .service-body h3 { font-size: 28px; margin-bottom: 16px; }
  .service-number { margin-bottom: 14px; }
  .service-body ul { line-height: 2; margin-bottom: 25px; }
  .service-body p { margin-bottom: 18px; }
  .section-bottom-note { display: grid; gap: 12px; margin-top: 28px; padding-top: 22px; }
  .section-bottom-note a { justify-content: space-between; max-width: 210px; }
  .about-grid { display: flex; flex-direction: column-reverse; gap: 45px; align-items: stretch; }
  .about-copy p { font-size: 15px; }
  .about-visual { margin-left: 12px; }
  .about-visual::before { inset: 14px 14px -14px -12px; }
  .about-visual > img { height: auto; max-height: 530px; }
  .about-signature { padding: 23px; }
  .about-signature strong { font-size: 35px; }
  .about-signature > span { font-size: 7px; }
  .gallery-grid { gap: 15px; grid-template-columns: 1fr 1fr; grid-template-rows: 330px 210px 210px 260px; }
  .gallery-large, .gallery-wide { grid-column: span 2; }
  .gallery-caption { left: 13px; right: 13px; bottom: 15px; font-size: 12px; }
  .gallery-large .gallery-caption, .gallery-wide .gallery-caption { left: 20px; right: 20px; font-size: 17px; }
  .gallery-caption small { font-size: 6px; letter-spacing: .1em; }
  .gallery-caption .icon { width: 17px; height: 17px; }
  .gallery-help { font-size: 9px; }
  .sample-note { max-width: 350px; }
  .contact-grid { display: block; }
  .contact h2 { font-size: clamp(30px, 8vw, 40px); }
  .contact-description { max-width: 380px; }
  .contact-details { margin-top: 32px; gap: 25px; }
  .phone-link { font-size: 29px; }
  .contact-details small { font-size: 10px; }
  .contact-brand-note { margin-top: 32px; padding-top: 22px; }
  .form-panel { margin-top: 38px; padding: 27px 23px; }
  .form-heading h3 { font-size: 27px; }
  .demo-note { font-size: 10px; }
  .form-grid { gap: 20px; }
  .form-field > label { font-size: 12px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; padding: 11px; }
  .form-field textarea { font-size: 14px; }
  .privacy-field label { font-size: 11px; }
  .required-note { font-size: 10px; }
  .site-footer { padding-block: 35px 23px; }
  .footer-main { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding-bottom: 30px; }
  .footer-main > p { grid-row: 2; margin: 0; }
  .back-to-top { grid-row: span 2; grid-column: 2; font-size: 9px; gap: 9px; }
  .footer-bottom { display: grid; gap: 16px; font-size: 9px; }
  .footer-bottom > div { flex-wrap: wrap; gap: 22px; }
  .footer-bottom a, .footer-bottom button { padding-block: 5px; }
  .lightbox { width: calc(100vw - 20px); padding: 15px; }
  .lightbox-stage { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lightbox-stage img { grid-row: 1; grid-column: 1 / -1; height: 52vh; height: 52svh; }
  #lightbox-prev { grid-row: 2; justify-self: start; }
  #lightbox-next { grid-row: 2; justify-self: end; }
  .lightbox-footer { padding-top: 12px; align-items: flex-start; }
  .lightbox-footer p { font-size: 17px; }
  .lightbox-footer small { font-size: 9px; }
  .legal-main { padding-block: 50px; }
  .legal-page .header-inner { gap: 16px; }
  .legal-page .site-header img { width: 140px; }
  .legal-page .site-header .text-link { font-size: 10px; gap: 6px; }
  .legal-main h1 { font-size: clamp(32px, 10vw, 50px); }
  .legal-content dl { grid-template-columns: 1fr; gap: 5px; }
  .legal-content dd { margin-bottom: 17px; }
  .legal-content ul, .legal-content ol { padding-left: 20px; }
  .notice { padding: 17px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 30px; }
  .hero-copy { padding-inline: 16px; }
  .hero-visual { height: 280px; }
  .benefit { font-size: 14px; }
  .gallery-grid { gap: 10px; grid-template-rows: 285px 185px 185px 225px; }
  .gallery-caption { font-size: 10px; left: 10px; right: 10px; }
  .gallery-caption .icon { width: 13px; height: 13px; }
  .form-panel { padding: 24px 18px; }
  .phone-link { font-size: 26px; }
  .footer-main { column-gap: 10px; }
  .footer-main .brand img { width: 145px; }
  .back-to-top { font-size: 8px; }
}

/* ========================= */
/* SZEKCIÓK: PONTOSAN EGY KÉPERNYŐ */
/* Kis kijelzőn a tartalom belül görgethető. */
/* ========================= */
.full-section { height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
.section-padding { position: relative; display: flex; align-items: stretch; padding-block: calc(var(--header-height) + 24px) 24px; background: var(--background); }
.section-padding > .container { height: 100%; min-height: 0; scrollbar-width: thin; }
.section-heading { flex-shrink: 0; gap: 25px; margin-bottom: 20px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { margin-bottom: 18px; font-size: clamp(28px, 3.2vw, 44px); }
.section-heading h2::after, .about-copy h2::after, .contact-copy h2::after { margin-top: 14px; }
.section-intro { font-size: 14px; margin: 0; }

/* Nyitóoldal: a kép és az előnyök is a képernyőn belül maradnak. */
.hero-main { min-height: 0; padding-block: 20px; }
.hero-copy { max-height: 100%; overflow: auto; scrollbar-width: thin; }
.hero h1 { font-size: clamp(30px, min(4.8vw, 8vh), 72px); margin-bottom: 20px; }
.hero h1::after { margin-top: 20px; }
.hero-description { font-size: clamp(15px, 2.2vh, 20px); margin-bottom: 22px; }
.hero .button { min-height: 46px; padding-block: 10px; }
.benefits { flex-shrink: 0; padding-block: clamp(12px, 3vh, 28px); }
.benefit { gap: 10px; font-size: clamp(13px, 2vh, 18px); }
.benefit svg { width: clamp(28px, 5vh, 44px); height: clamp(28px, 5vh, 44px); }

/* Szolgáltatások: öt kártya, kisebb kijelzőn oldalirányú lapozás. */
.services > .container { display: flex; flex-direction: column; overflow: hidden; }
.services-grid { flex: 1; min-height: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 16px; }
.service-card { height: 100%; min-height: 0; overflow: hidden; background: var(--beige-light); border: 1px solid var(--line); }
.service-featured { background: var(--beige-medium); }
.service-photo { flex-shrink: 0; height: clamp(90px, calc(100% - 300px), 52%); }
.service-body { min-height: 0; overflow: auto; scrollbar-width: thin; padding: 18px; }
.service-body h3 { min-height: 0; font-size: clamp(21px, 1.9vw, 27px); margin-bottom: 12px; }
.service-body p { line-height: 1.55; margin-bottom: 12px; }
.service-body ul { line-height: 1.8; margin-bottom: 16px; }
.service-body .text-link { flex-shrink: 0; }
.service-controls { display: none; }
.section-bottom-note { flex-shrink: 0; margin-top: 16px; padding-top: 12px; }

/* Rólunk: letisztult kép és szöveg, egységes színekkel. */
.about-grid { gap: clamp(28px, 5vw, 80px); overflow: hidden; }
.about-visual { height: 100%; min-height: 0; margin: 0; }
.about-visual::before { display: none; }
.about-visual > img { height: 100%; max-height: none; width: 100%; object-fit: cover; }
.about-copy { min-height: 0; max-height: 100%; overflow: auto; scrollbar-width: thin; }
.about-copy p { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.about-principles { margin-block: 18px; padding-block: 16px; font-size: 12px; gap: 10px; }

/* Galéria: hat kép, a rendelkezésre álló magasságból osztva. */
.gallery > .container { display: flex; flex-direction: column; overflow: hidden; }
.gallery-grid { flex: 1; min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery-large, .gallery-wide { grid-column: auto; grid-row: auto; }
.gallery-caption { font-size: 15px; }
.gallery-help { display: block; flex-shrink: 0; margin: 0 0 14px; padding: 10px 14px; border-left: 3px solid var(--text-primary); background: var(--beige-light); color: var(--text-primary); font-size: 13px; line-height: 1.45; font-weight: 500; }
.sample-note { margin-bottom: 0; }

/* Kapcsolat: elérhetőségek és űrlap; a természetes magasság szabályai lent. */
.contact-grid { gap: clamp(28px, 5vw, 80px); overflow: hidden; }
.contact-copy { min-height: 0; max-height: 100%; overflow: auto; scrollbar-width: thin; }
.contact-details { gap: 22px; margin-top: 24px; }
.contact-brand-note { margin-top: 24px; padding-top: 18px; }
.form-panel { height: 100%; min-height: 0; max-height: 100%; overflow: auto; margin-top: 0; padding: 24px; background: var(--beige-light); border: 1px solid var(--line); scrollbar-width: thin; }
.form-heading h3 { font-size: 25px; }
.demo-note { margin-bottom: 18px; }
.contact .form-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field textarea { min-height: 90px; }
.privacy-field { margin-block: 16px; }

@media (max-width: 1199px) {
  .services-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .service-card { scroll-snap-align: start; }
  .service-controls { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; gap: 12px; margin-top: 12px; font-size: 12px; }
  .service-controls button { width: 44px; height: 36px; border: 1px solid var(--beige-dark); background: var(--beige-light); font-size: 22px; }
  .service-controls button:disabled { opacity: .35; cursor: default; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .services-grid { grid-auto-columns: calc((100% - 32px) / 3); }
}
@media (max-width: 959px) {
  .section-padding { padding-block: calc(var(--header-height) + 18px) 18px; }
  .section-bottom-note { margin-top: 10px; padding-top: 10px; }
  .about-signature { padding: 15px; }
  .gallery-caption { left: 14px; right: 14px; bottom: 14px; font-size: 13px; }
}
@media (max-width: 699px) {
  .hero-main { display: grid; grid-template-rows: minmax(0, 1.7fr) minmax(0, 1fr); padding: 0; }
  .hero-copy { height: 100%; padding: 20px; display: block; }
  .hero h1 { font-size: clamp(30px, 8vw, 43px); margin-bottom: 16px; }
  .hero h1::after { margin-top: 16px; }
  .hero-description { font-size: 16px; line-height: 1.4; margin-bottom: 18px; }
  .hero .button { min-height: 44px; font-size: 17px; }
  .hero-visual { height: 100%; min-height: 0; }
  .benefits { padding: 14px 20px; gap: 12px 0; }
  .benefit { gap: 7px; font-size: 13px; }
  .benefit svg { width: 28px; height: 28px; }
  .section-heading { display: block; margin-bottom: 14px; }
  .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: 29px; margin-bottom: 14px; }
  .section-heading h2::after, .about-copy h2::after, .contact-copy h2::after { width: 60px; margin-top: 12px; }
  .section-intro { font-size: 13px; }
  .services-grid { grid-auto-columns: 100%; }
  .service-photo { height: clamp(70px, calc(100% - 310px), 45%); }
  .service-body h3 { font-size: 24px; }
  .service-body h3 br { display: none; }
  .section-bottom-note { display: block; font-size: 11px; }
  .section-bottom-note > span { display: none; }
  .section-bottom-note a { max-width: none; }
  .about-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; }
  .about-copy { grid-row: 1; height: 100%; }
  .about-visual { grid-row: 2; }
  .about-principles { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-block: 12px; padding-block: 12px; }
  .about-principles span { gap: 8px; }
  .about-signature { padding: 12px 18px; }
  .about-signature strong { font-size: 26px; }
  .gallery .section-intro > p:first-child { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .gallery-large .gallery-caption, .gallery-wide .gallery-caption, .gallery-caption { font-size: 11px; left: 10px; right: 10px; bottom: 10px; }
  .gallery-caption small { display: none; }
  .contact-grid { display: flex; flex-direction: column; gap: 24px; overflow: auto; }
  .contact-copy, .form-panel { flex-shrink: 0; height: auto; max-height: none; overflow: visible; }
  .contact-details { gap: 16px; margin-top: 16px; }
  .contact-brand-note { display: none; }
  .form-panel { padding: 20px; }
  .contact .form-grid { grid-template-columns: 1fr; }
}

/* ========================= */
/* LOGÓ: AZ ÚJ NÉGYZETES SVG ARÁNYAINAK MEGTARTÁSA */
/* ========================= */
.site-header img.site-logo { width: calc(var(--header-height) - 16px); height: calc(var(--header-height) - 16px); object-fit: contain; }
.site-footer img.site-logo { width: 88px; height: 88px; object-fit: contain; }

/* ========================= */
/* RESZPONZÍV MENÜ ÉS KISEBB KÉPERNYŐK */
/* A nagy képernyős elrendezés változatlan. */
/* ========================= */
.site-header.compact-nav .header-inner { gap: 16px; }
.site-header.compact-nav .nav-toggle { display: flex; flex: 0 0 44px; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 44px; height: 44px; border: 1px solid var(--line); background: none; order: 3; }
.site-header.compact-nav .nav-toggle span { width: 19px; height: 1px; background: var(--text-primary); transition: transform .2s; }
.site-header.compact-nav .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.compact-nav .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.site-header.compact-nav .primary-nav { position: absolute; inset: var(--header-height) 0 auto; width: 100%; height: calc(100vh - var(--header-height)); height: calc(100svh - var(--header-height)); padding: 20px 28px 32px; background: var(--beige-light); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
body.menu-open .site-header.compact-nav .primary-nav { visibility: visible; opacity: 1; transform: none; }
.site-header.compact-nav .primary-nav a { flex-shrink: 0; padding: 14px 0; font-size: 26px; line-height: 1.4; letter-spacing: -.025em; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.site-header.compact-nav .primary-nav a::after { display: none; }

@media (max-width: 959px) {
  .section-padding > .container { min-width: 0; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about-signature { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px; }
  .about-signature > span { overflow-wrap: anywhere; }
  .about-signature strong { font-size: 22px; }
  .contact-grid { align-items: stretch; }
  .contact-copy, .form-panel { width: 100%; min-width: 0; }
  .contact .form-grid { grid-template-columns: 1fr; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
  .form-submit { padding-inline: 14px; gap: 8px; font-size: 14px; }
  .button-label { min-width: 0; overflow-wrap: anywhere; }
  .contact-details a { max-width: 100%; gap: 12px; }
  .phone-link { font-size: clamp(22px, 6.5vw, 29px); }
  .gallery > .container { overflow-y: auto; }
  .gallery-grid { min-height: 180px; flex-shrink: 0; }
  .gallery-caption > span { min-width: 0; overflow-wrap: anywhere; }
  .gallery-help { padding: 8px 10px; font-size: 12px; }
  .lightbox { overflow: auto; }
  .lightbox-stage img { height: min(52svh, calc(94svh - 210px)); min-height: 72px; }
}
@media (min-width: 700px) and (max-width: 959px) and (orientation: portrait) {
  .hero-main { display: grid; grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr); padding: 0; }
  .hero-copy { width: auto; height: 100%; margin: 0; padding: 28px; }
  .hero h1 { font-size: 44px; }
  .hero-description { max-width: 480px; font-size: 18px; }
  .hero-visual { position: relative; inset: auto; width: 100%; height: 100%; min-height: 0; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); }
}
@media (max-width: 699px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .benefit span { overflow-wrap: anywhere; }
  .contact-copy, .form-panel { align-self: stretch; }
}
@media (max-width: 959px) and (max-height: 500px) {
  :root { --header-height: 60px; }
  .hero .benefits { padding-block: 8px; }
  .benefit { font-size: 11px; gap: 5px; }
  .benefit svg { width: 24px; height: 24px; }
  .hero h1 { font-size: 28px; }
  .hero h1::after { margin-top: 12px; }
  .hero-description { font-size: 14px; line-height: 1.35; margin-bottom: 12px; }
  .service-photo { height: clamp(48px, 25%, 75px); }
  .lightbox { padding: 12px; }
  .lightbox-stage { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; }
  .lightbox-stage img { grid-row: 1; grid-column: 2; height: min(65svh, calc(94svh - 140px)); min-height: 50px; }
  #lightbox-prev { grid-row: 1; grid-column: 1; }
  #lightbox-next { grid-row: 1; grid-column: 3; }
}

/* ========================= */
/* ÁLLÓ TELEFON: A NYITÓSZÖVEG NEM KÜLÖN GÖRGETŐABLAK */
/* ========================= */
@media (max-width: 699px) and (orientation: portrait) {
  .hero-main { grid-template-rows: auto minmax(0, 1fr); }
  .hero-copy { height: auto; min-width: 0; max-height: none; overflow: visible; padding: 16px 20px; }
}
@media (max-width: 699px) and (max-height: 640px) and (orientation: portrait) {
  .hero-copy { padding: 14px 16px; }
  .hero h1 { font-size: 28px; margin-bottom: 12px; }
  .hero h1::after { margin-top: 12px; }
  .hero-description { font-size: 15px; line-height: 1.35; margin-bottom: 12px; }
  .hero .benefits { padding: 10px 16px; gap: 10px 0; }
  .hero .benefit { flex-direction: row; justify-content: center; gap: 8px; font-size: 11px; }
  .hero .benefit svg { width: 24px; height: 24px; }
}

/* ========================= */
/* RÓLUNK: KIS KÉPERNYŐN EGYSZER NYITHATÓ BEMUTATKOZÁS */
/* ========================= */
#about-details { display: contents; }
.about-more { display: none; }
@media (max-width: 959px) {
  .about.about-collapsible .about-grid { overflow: visible; }
  .about.about-collapsible .about-copy { height: auto; max-height: none; overflow: visible; }
  .about.about-collapsible:not(.about-expanded) #about-intro-extra,
  .about.about-collapsible:not(.about-expanded) #about-details { display: none; }
  .about.about-collapsible:not(.about-expanded) .about-more { display: inline-flex; margin-top: 4px; }
  .about.about-expanded { height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; }
  .about.about-expanded > .about-grid { height: auto; grid-template-rows: auto; align-items: start; }
  .about.about-expanded .about-copy { align-self: start; }
  .about.about-expanded #about-details { display: block; }
  .about.about-expanded .about-visual { height: clamp(220px, 55svh, 560px); }
}
@media (max-width: 699px) {
  .about.about-collapsible:not(.about-expanded) .about-grid { grid-template-rows: auto minmax(0, 1fr); }
}

/* ========================= */
/* KAPCSOLAT: A TELJES TARTALOM AZ OLDALLAL EGYÜTT GÖRGETHETŐ */
/* ========================= */
.contact.full-section { height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; }
.contact > .contact-grid { height: auto; overflow: visible; }
.contact .contact-copy, .contact .form-panel { height: auto; max-height: none; overflow: visible; }
.contact .form-panel { align-self: stretch; }

/* ========================= */
/* MOBIL NYITÓOLDAL: ARÁNYOS SZÖVEG ÉS VALÓDI MAGASSÁGÚ KÉP */
/* ========================= */
@media (max-width: 699px) {
  .hero.full-section { height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; }
  .hero-main { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; }
  .hero-copy { flex: 0 0 auto; width: auto; height: auto; min-width: 0; max-height: none; margin: 0; padding: 24px 20px 20px; overflow: visible; }
  .hero h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 16px; }
  .hero h1 br:first-of-type, .hero h1::after { display: none; }
  .hero-description { max-width: none; font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
  .hero .button { display: flex; width: 100%; min-width: 0; min-height: 48px; padding: 12px 20px; font-size: 16px; }
  .hero-visual { position: relative; inset: auto; flex: 1 0 clamp(220px, 62vw, 340px); width: calc(100% - 40px); height: auto; min-height: 220px; margin: 0 20px 20px; clip-path: none; overflow: hidden; }
  .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
  .hero .benefits { padding: 16px 20px; gap: 14px 0; border-top: 1px solid var(--line); }
  .hero .benefit { flex-direction: row; justify-content: flex-start; gap: 10px; padding-inline: 10px; text-align: left; font-size: 12px; line-height: 1.35; }
  .hero .benefit svg { width: 26px; height: 26px; }
  .hero .benefit span { min-width: 0; }
}

/* ========================= */
/* SZOLGÁLTATÁSOK: MOBILON NINCS BELSŐ FÜGGŐLEGES GÖRGETÉS */
/* ========================= */
@media (max-width: 959px) {
  .services.full-section { height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; }
  .services > .container { height: auto; overflow: visible; }
  .services .services-grid { flex: none; grid-template-rows: auto; overflow-y: hidden; scrollbar-width: none; }
  .services .services-grid::-webkit-scrollbar { display: none; }
  .services .service-card { height: auto; }
  .services .service-photo { height: clamp(220px, 32vw, 320px); flex: 0 0 auto; }
  .services .service-body { height: auto; max-height: none; overflow: visible; }
}
@media (max-width: 699px) {
  .services .service-photo { height: clamp(220px, 62vw, 320px); }
}

/* ========================= */
/* BETÖLTŐ ÉS FINOM ANIMÁCIÓK */
/* ========================= */
.site-loader { position: fixed; inset: 0; z-index: 1000; display: none; place-content: center; justify-items: center; gap: 20px; background: var(--beige-light); opacity: 1; transition: opacity .32s ease; }
html.is-loading .site-loader { display: grid; }
html.loader-leaving .site-loader { opacity: 0; }
html.is-loading, html.is-loading body { overflow: hidden; }
@media (min-width: 700px) {
  html.intro-running .hero-copy { overflow: hidden; }
}
.loader-logo { width: clamp(180px, 25vw, 300px); height: auto; aspect-ratio: 1; object-fit: contain; animation: vostone-pulse 1.5s ease-in-out infinite; }
.loader-caption { font-size: 12px; letter-spacing: .14em; color: var(--text-muted); }
html.motion-enabled:not(.is-ready) .site-header .brand,
html.motion-enabled:not(.is-ready) .nav-toggle,
html.motion-enabled:not(.is-ready) .primary-nav a,
html.motion-enabled:not(.is-ready) .hero-copy > *,
html.motion-enabled:not(.is-ready) .hero-visual,
html.motion-enabled:not(.is-ready) .benefit { opacity: 0; }
html.motion-enabled.is-ready .site-header .brand { animation: vostone-nav-enter .65s .04s both; }
html.motion-enabled.is-ready .nav-toggle { animation: vostone-nav-enter .65s .1s both; }
html.motion-enabled.is-ready .site-header:not(.compact-nav) .primary-nav a,
html.motion-enabled.is-ready body.menu-open .site-header.compact-nav .primary-nav a { animation: vostone-nav-enter .6s var(--nav-delay, 0s) both; }
html.motion-enabled.is-ready .primary-nav a:nth-child(1) { --nav-delay: .10s; }
html.motion-enabled.is-ready .primary-nav a:nth-child(2) { --nav-delay: .18s; }
html.motion-enabled.is-ready .primary-nav a:nth-child(3) { --nav-delay: .26s; }
html.motion-enabled.is-ready .primary-nav a:nth-child(4) { --nav-delay: .34s; }
html.motion-enabled.is-ready .primary-nav a:nth-child(5) { --nav-delay: .42s; }
html.motion-enabled.is-ready .hero h1 { animation: vostone-enter .75s .10s both; }
html.motion-enabled.is-ready .hero-description { animation: vostone-enter .75s .24s both; }
html.motion-enabled.is-ready .hero .button { animation: vostone-enter .75s .38s both; }
html.motion-enabled.is-ready .hero-visual { animation: vostone-photo-enter .9s .18s both; }
html.motion-enabled.is-ready .benefit { animation: vostone-enter .7s .52s both; }
html.motion-enabled.is-ready .benefit:nth-child(2) { animation-delay: .60s; }
html.motion-enabled.is-ready .benefit:nth-child(3) { animation-delay: .68s; }
html.motion-enabled.is-ready .benefit:nth-child(4) { animation-delay: .76s; }
.reveal-item { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-item.is-visible { opacity: 1; transform: none; }
@keyframes vostone-pulse { 0%,100% { opacity: .72; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.035); } }
@keyframes vostone-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes vostone-nav-enter { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes vostone-photo-enter { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* ========================= */
/* CSÖKKENTETT MOZGÁS ÉS NYOMTATÁS */
/* ========================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-item { opacity: 1; transform: none; }
}
@media print {
  .site-loader { display: none !important; }
  .reveal-item { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; }
  .primary-nav, .nav-toggle, .cookie-banner, .back-to-top, .form-panel { display: none !important; }
  .full-section { height: auto; min-height: 0; overflow: visible; break-inside: avoid; }
  .section-padding { padding-block: 30px; }
  .container { width: 100%; }
}
