@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-hu.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --charcoal-900: #161f23;
    --charcoal: #1f2a2f;
    --charcoal-700: #2b3a41;
    --slate: #354349;
    --smoke: #f5f6f7;
    --line: #dde3e4;
    --accent: #4c7059;
    --accent-dark: #3a5644;
    --accent-light: #a9cdb7;
    --accent-tint: #e9f0eb;
    --text: #233236;
    --muted: #56646a;
    --r-lg: 22px;
    --r-md: 14px;
    --r-sm: 8px;
    --shadow: 0 1px 2px rgb(13 20 24 / .06), 0 14px 36px rgb(13 20 24 / .1);
    --shadow-lift: 0 2px 4px rgb(13 20 24 / .08), 0 26px 56px rgb(13 20 24 / .2);
    --focus-in: #fff;
    --focus-out: #161f23;
    --space: clamp(3.5rem, 7vw, 6rem);
    --gap: clamp(1rem, 2vw, 1.6rem);
}

@view-transition { navigation: auto; }

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--smoke);
    color: var(--text);
    font: 400 1.0313rem/1.65 "Montserrat", "Segoe UI", system-ui, sans-serif;
    text-wrap: pretty;
}

img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.16; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.5rem); color: var(--charcoal); }
h3 { font-size: 1.2rem; letter-spacing: -.005em; line-height: 1.3; color: var(--slate); }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
button { font: inherit; cursor: pointer; }

/* two colours, so it is visible on any background */
:focus-visible { outline: 3px solid var(--focus-in); box-shadow: 0 0 0 6px var(--focus-out); border-radius: var(--r-sm); }

.wrap { width: min(100% - 2.5rem, 80rem); margin-inline: auto; }
.icon { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 40; padding: .75rem 1.1rem; background: #fff; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 0; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 3.4rem;
    padding: .75rem 1.75rem;
    border: 1px solid transparent;
    border-radius: 99rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 32px rgb(76 112 89 / .32);
    transition: translate .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button:hover { background: var(--accent-dark); translate: 0 -2px; box-shadow: 0 20px 38px rgb(76 112 89 / .4); }
.button:active { translate: 0; }
.button:focus-visible { border-radius: 99rem; }
.button--big { min-height: 4rem; padding-inline: 2.1rem; font-size: 1.2rem; font-weight: 700; }
.button--ghost { border-color: rgb(255 255 255 / .45); background: transparent; color: #fff; box-shadow: none; }
.button--ghost:hover { background: rgb(255 255 255 / .12); box-shadow: none; }
.button--plain { border-color: var(--accent); background: transparent; color: var(--accent-dark); box-shadow: none; }
.button--plain:hover { background: var(--accent-tint); box-shadow: none; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(22 31 35 / .94); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgb(255 255 255 / .09); }
.top a { color: inherit; text-decoration: none; }
.top__row { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); min-height: 5rem; }
.top__brand { display: flex; align-items: center; margin-right: auto; }
.top__brand img { display: block; width: 6.4rem; }
.top__nav { display: flex; gap: clamp(0rem, .8vw, .6rem); font-size: .97rem; font-weight: 500; }
.top__nav a { padding: .65rem .9rem; border-radius: 99rem; }
.top__nav a:hover { background: rgb(255 255 255 / .11); }
.top__phone { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; padding: .4rem 1.35rem; border-radius: 99rem; background: var(--accent); font-weight: 700; white-space: nowrap; transition: background-color .2s; }
.top__phone:hover { background: #5b7f69; }

/* hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fefefe;
    background:
        radial-gradient(circle at top right, rgb(91 127 105 / .35), transparent 55%),
        radial-gradient(circle at bottom left, rgb(43 58 65 / .45), transparent 60%),
        linear-gradient(120deg, var(--charcoal-900), var(--charcoal));
    --focus-in: #161f23;
    --focus-out: #fff;
}
.hero__photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; opacity: .62; mask-image: linear-gradient(90deg, transparent, #000 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(45deg, rgb(255 255 255 / .05) 0 8px, transparent 8px 16px); opacity: .35; mask-image: linear-gradient(90deg, #000 20%, transparent 70%); }
.hero__text { max-width: 46rem; padding-block: clamp(3.5rem, 9vw, 8rem); }
.hero__badge { display: inline-block; margin: 0 0 1.5rem; padding: .55rem 1.1rem; border: 1px solid rgb(255 255 255 / .24); border-radius: 99rem; background: rgb(255 255 255 / .09); font-size: .92rem; font-weight: 500; }
.hero h1 { font-size: clamp(2.15rem, 1.3rem + 3.5vw, 3.9rem); line-height: 1.1; letter-spacing: -.025em; }
.hero__lead { max-width: 36rem; margin: 1.4rem 0 2.2rem; color: rgb(255 255 255 / .86); font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.55; }

.notice { background: #fff4d2; color: #4a3b06; }
.notice p { margin: 0; padding-block: .95rem; font-weight: 500; }

/* sections */
.section { padding-block: var(--space); }
.section--soft { background: linear-gradient(180deg, #f8f9fa, #eff2f2); }
.section--plain { background: #fdfdfd; }
.section--plain + .section--plain, #termekek:has(> .section--plain:last-child) + .section--plain { padding-top: 0; }
.section__head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.section__head h2 { margin-bottom: 1rem; }
.section__head p { color: var(--muted); font-size: 1.07rem; }
.section__head > :last-child { margin-bottom: 0; }
.section__head ul { display: inline-block; margin: 0; padding-left: 1.2rem; text-align: left; color: var(--muted); }

.card { border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }

/* why us */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--gap); }
.feature { padding: 1.9rem; background: linear-gradient(135deg, rgb(91 127 105 / .12), transparent 60%), #fff; }
.feature__icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1.2rem; border-radius: 16px; background: linear-gradient(135deg, rgb(91 127 105 / .3), rgb(63 90 71 / .55)); color: #24382b; font-size: 1.3rem; }
.feature h3 { margin-bottom: .6rem; }
.feature p { margin: 0; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__story { font-size: 1.12rem; }
.about__lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem 2rem; margin-top: 2rem; }
.about h2 { margin-bottom: .7rem; font-size: 1.3rem; }
.about ul { margin: 0; padding: 0; list-style: none; }
.about li { position: relative; padding: .22rem 0 .22rem 1.6rem; }
.about li::before { content: ""; position: absolute; left: 0; top: .68em; width: .85em; height: .45em; border: solid var(--accent); border-width: 0 0 2.5px 2.5px; rotate: -45deg; }
.about img { display: block; width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* product list */
.filter { margin-bottom: 2rem; }
.filter__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.filter button { min-height: 2.9rem; padding: .45rem 1.25rem; border: 1px solid #c3cccd; border-radius: 99rem; background: #fff; color: var(--text); font-weight: 500; transition: background-color .2s, border-color .2s; }
.filter button:hover { border-color: var(--accent); background: var(--accent-tint); }
.filter button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.filter button:focus-visible { border-radius: 99rem; }
.filter p { margin: .9rem 0 0; color: var(--muted); font-size: .95rem; text-align: center; }
.filter p:empty { display: none; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: var(--gap); }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); transition: translate .25s ease, box-shadow .25s ease; }
.tile[hidden] { display: none; }
.tile__media { display: grid; place-items: center; aspect-ratio: 8 / 5; overflow: hidden; background: linear-gradient(135deg, rgb(91 127 105 / .35), rgb(35 50 54 / .6)); color: #fff; font-weight: 600; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.5rem 1.5rem; }
.tile__title { margin-bottom: .6rem; }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.tile__title a:focus-visible { outline: none; box-shadow: none; }
.tile__title a:focus-visible::after { outline: 3px solid var(--focus-in); outline-offset: -6px; box-shadow: inset 0 0 0 3px var(--focus-out); }
.tile__more { margin-top: auto; padding-top: 1.1rem; color: var(--accent-dark); font-weight: 600; }
.tile .rich { color: var(--muted); font-size: .94rem; line-height: 1.55; }
@media (hover: hover) {
    .tile:hover { translate: 0 -6px; box-shadow: var(--shadow-lift); }
    .tile:hover .tile__more { text-decoration: underline; text-underline-offset: .2em; }
}

/* descriptions from the admin: the lists hold the sizes */
.rich > :last-child { margin-bottom: 0; }
.rich p { margin-bottom: .7em; }
.rich ul, .rich ol { margin: 0 0 .8em; padding: 0; list-style: none; }
.rich li { padding: .4rem 0; border-top: 1px solid var(--line); color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.rich li:first-child { border-top: 0; }

/* product page */
.product-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, var(--charcoal-900), var(--charcoal)); color: #fefefe; --focus-in: #161f23; --focus-out: #fff; }
.product-hero__photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(5px) brightness(.42); scale: 1.05; }
.product-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at top left, rgb(91 127 105 / .3), transparent 65%), linear-gradient(180deg, rgb(22 31 35 / .6), rgb(22 31 35 / .35)); }
.product-hero .wrap { padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(5.5rem, 9vw, 8rem); }
.product-hero h1 { margin-top: clamp(1.25rem, 3vw, 2.5rem); font-size: clamp(1.9rem, 1.2rem + 2.9vw, 3.4rem); }
.product-hero h1 small { font-size: max(.4em, 1rem); font-weight: 500; letter-spacing: 0; color: rgb(255 255 255 / .82); }
.crumbs { font-size: .95rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .1rem .65rem; margin: 0; padding: 0; list-style: none; }
.crumbs li { padding-block: .35rem; }
.crumbs li:has(a) { padding-block: 0; }
.crumbs a { display: inline-block; padding-block: .35rem; color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: .65rem; color: rgb(255 255 255 / .6); }
.crumbs li[aria-current] { color: rgb(255 255 255 / .82); }
.sheet { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap); align-items: start; margin-top: calc(-1 * clamp(3.75rem, 6vw, 5.5rem)); padding-bottom: var(--space); }
.sheet__info { position: sticky; top: 6.5rem; padding: clamp(1.4rem, 2.4vw, 2.1rem); }
.sheet__info h2 { margin-bottom: 1rem; font-size: 1.4rem; }
.sheet__info .rich { font-size: 1.05rem; color: var(--muted); }
.sheet__call { display: grid; gap: .9rem; margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.sheet__call p { margin: 0; color: var(--muted); }
.sheet__call .button { width: 100%; }
.gallery { padding: .7rem; }
.gallery__main { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--charcoal); }
.gallery__photo { display: block; width: 100%; max-height: 40rem; object-fit: cover; view-transition-name: product-photo; }
.gallery__zoom { position: absolute; right: .9rem; bottom: .9rem; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 99rem; background: rgb(22 31 35 / .84); color: #fff; font-size: .92rem; font-weight: 600; }
.gallery__empty { display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: 16px; background: linear-gradient(135deg, #5b7f69, #233236); color: #fff; font-weight: 600; }
.gallery__title { margin: 1.2rem .5rem .7rem; font-size: 1.1rem; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .6rem; margin: 0; padding: 0 .1rem .1rem; list-style: none; }
.gallery__thumbs a { display: block; overflow: hidden; border: 3px solid transparent; border-radius: 12px; }
.gallery__thumbs a[aria-current] { border-color: var(--accent); }
.gallery__thumbs img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 9px; }

/* the picture viewer */
.viewer { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #0d1316; color: #fff; }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.viewer img { width: 100%; height: 100%; object-fit: contain; }
.viewer p { margin: 0; padding: .9rem 4rem; text-align: center; }
.viewer button { position: absolute; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / .16); color: #fff; font-size: 1.15rem; }
.viewer button:hover { background: rgb(255 255 255 / .32); }
.viewer button:focus-visible { outline: 3px solid #fff; box-shadow: none; border-radius: 50%; }
.viewer__close { top: 1rem; right: 1rem; }
.viewer__prev { left: 1rem; top: calc(50% - 1.6rem); }
.viewer__next { right: 1rem; top: calc(50% - 1.6rem); }
body:has(.viewer[open]) { overflow: hidden; }

/* call to action */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; padding: clamp(1.9rem, 4.5vw, 3.75rem); border-radius: var(--r-lg); background: radial-gradient(circle at top right, rgb(91 127 105 / .45), transparent 60%), linear-gradient(135deg, var(--charcoal), var(--charcoal-700)); color: #f5f7f8; box-shadow: 0 26px 64px rgb(16 24 29 / .28); --focus-in: #161f23; --focus-out: #fff; }
.cta h2 { margin-bottom: .7rem; color: #fff; }
.cta p { margin: 0; color: rgb(255 255 255 / .84); }
.cta .button { background: #fff; color: var(--accent-dark); box-shadow: 0 14px 32px rgb(0 0 0 / .28); }
.cta .button:hover { background: var(--accent-tint); }
.cta__text { flex: 1 1 24rem; max-width: 38rem; }

/* contact */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.contacts .card { padding: 1.6rem 1.75rem; }
.contacts h3 { display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem; font-size: 1.08rem; }
.contacts h3 .icon { color: var(--accent); }
.contacts a { display: inline-block; padding-block: .25rem; font-weight: 600; overflow-wrap: anywhere; }
.contacts__phone { background: linear-gradient(135deg, var(--accent-dark), var(--accent)) !important; color: #fff; --focus-in: #161f23; --focus-out: #fff; }
.contacts__phone h3, .contacts__phone h3 .icon { color: #fff; }
.contacts__phone a { color: #fff; font-size: 1.6rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.contacts__phone a:hover { text-decoration: underline; }
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); }
.hours { padding: 1.75rem; }
.hours h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.hours dl { margin: 0; font-variant-numeric: tabular-nums; }
.hours dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); font-weight: 500; }
.hours dd { margin: 0; font-weight: 700; }
.hours p { margin: 1.2rem 0 0; color: var(--muted); font-size: .95rem; }
.map { display: grid; align-content: center; justify-items: center; gap: .9rem; min-height: 24rem; padding: 2rem; overflow: hidden; text-align: center; background: radial-gradient(circle at 30% 20%, rgb(91 127 105 / .3), transparent 55%), linear-gradient(135deg, #e6ecea, #d5dedb); }
.map > .icon { width: 3rem; height: 3rem; color: var(--accent-dark); stroke-width: 1.5; }
.map > p:first-of-type { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--charcoal); }
.map .actions { justify-content: center; }
.map:has(iframe) { padding: 0; }
.map iframe { width: 100%; height: 100%; min-height: 24rem; border: 0; }

.foot { padding-block: 2.25rem; background: var(--charcoal-900); color: rgb(255 255 255 / .78); font-size: .95rem; --focus-in: #161f23; --focus-out: #fff; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.foot a { padding-block: .4rem; color: inherit; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }

.missing main { padding-block: var(--space); }
.missing h1 { margin-bottom: 1rem; }

/* the visitor's choice about analytics */
.consent { position: fixed; inset: auto 1rem 1rem auto; z-index: 30; max-width: 25rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lift); font-size: .97rem; }
.consent .button { min-height: 2.9rem; }

.thumbbar { display: none; }

@media (max-width: 62rem) {
    .top__nav { display: none; }
    .about, .sheet, .visit { grid-template-columns: minmax(0, 1fr); }
    .sheet__info { position: static; }
    .hero__photo { width: 100%; opacity: .34; mask-image: linear-gradient(180deg, #000, transparent); }
}

/* phones: navigation within the reach of the thumb */
@media (max-width: 44rem) {
    html { scroll-padding: 1rem 0 5.5rem; }
    body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
    .top { position: static; }
    .top__row { min-height: 4.25rem; justify-content: center; }
    .top__brand { margin: 0; }
    .top__brand img { width: 5.9rem; }
    .top__phone { display: none; }
    .hero__text .button, .cta .button { width: 100%; }
    .button--big { padding-inline: 1.25rem; font-size: 1.1rem; }
    .section__head { text-align: left; }
    .filter__row { flex-wrap: nowrap; justify-content: flex-start; margin-inline: -1.25rem; padding: .4rem 1.25rem; overflow-x: auto; scrollbar-width: none; }
    .filter button { flex: none; }
    .filter p { text-align: left; }
    .tiles { gap: .9rem; }
    .tile { flex-direction: row; }
    .tile__media { flex: none; align-self: start; width: 7rem; aspect-ratio: 1; margin: .9rem 0 .9rem .9rem; border-radius: var(--r-md); font-size: .85rem; text-align: center; }
    .tile__body { min-width: 0; padding: 1rem 1.1rem 1.1rem 1rem; }
    .tile__title { margin-bottom: .4rem; font-size: 1.08rem; }
    .tile .rich li { padding: .28rem 0; }
    .tile__more { padding-top: .7rem; }
    .gallery__thumbs { display: flex; overflow-x: auto; scrollbar-width: none; }
    .gallery__thumbs li { flex: 0 0 6.75rem; }
    .thumbbar { position: fixed; inset: auto 0 0; z-index: 15; display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: .4rem; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 28px rgb(13 20 24 / .14); }
    .thumbbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3.2rem; border-radius: 99rem; color: var(--text); font-size: .92rem; font-weight: 600; text-decoration: none; }
    .thumbbar .thumbbar__call { background: var(--accent); color: #fff; font-size: 1.02rem; font-weight: 700; }
    .consent { inset: auto .75rem 5.2rem .75rem; max-width: none; }
    .viewer__prev, .viewer__next { top: auto; bottom: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    @view-transition { navigation: none; }
    *, *::before, *::after { transition: none !important; }
}

@media (forced-colors: active) {
    .button, .filter button, .top__phone { border: 2px solid ButtonText; }
    :focus-visible { outline-color: Highlight; }
}

@media print {
    .top__nav, .thumbbar, .map, .actions, .consent, .filter, .cta { display: none; }
}
