:root {
    --blue: #078bd2;
    --blue-dark: #006da8;
    --blue-soft: #eaf7fd;
    --ink: #171b22;
    --muted: #66717d;
    --line: #dfe6eb;
    --surface: #ffffff;
    --canvas: #f7f8f6;
    --cream: #fff9dc;
    --yellow: #f5c400;
    --radius-sm: 12px;
    --radius: 20px;
    --shadow: 0 18px 45px rgba(23, 27, 34, 0.09);
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; left: 16px; top: -80px; z-index: 1000;
    padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(223, 230, 235, 0.85);
    backdrop-filter: blur(14px);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 190px; }
.brand-logo img { width: 178px; height: 62px; object-fit: contain; object-position: left center; }
.brand-logo:has(img:not([src])), .brand-logo:has(img[src=""]) { display: none; }
.brand-fallback { display: none; color: var(--blue); font-size: 1.55rem; line-height: 0.9; font-style: italic; }
.brand-fallback strong { display: block; }
.brand-fallback small { display: block; color: var(--ink); font-size: 0.72rem; text-align: right; }
.brand-logo img[src="/assets/images/logo.svg"] + * { display: none; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; color: #37404a; font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.main-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px;
    background: var(--blue); transition: right 160ms ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav .nav-cta { padding: 11px 18px; color: #fff; background: var(--blue); border-radius: 999px; }
.main-nav .nav-cta:hover { background: var(--blue-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 3px; }

.page-content { min-height: 60vh; }
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background: linear-gradient(135deg, var(--cream) 0%, #fff 54%, var(--blue-soft) 100%); }
.hero::after { content: ""; position: absolute; width: 440px; height: 440px; right: -180px; top: -240px; border: 74px solid rgba(7, 139, 210, 0.08); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 72px; align-items: center; }
.hero-grid-single { grid-template-columns: minmax(0, 920px); }
.eyebrow { display: inline-flex; color: var(--blue-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 16px 0 22px; font-size: clamp(2.6rem, 5.4vw, 5.1rem); line-height: 1.02; letter-spacing: -0.055em; }
.hero h1 span { color: var(--blue); }
.hero-copy > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(7, 139, 210, 0.22); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button:disabled { color: var(--muted); cursor: default; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; color: #4b5661; font-size: 0.9rem; font-weight: 650; }
.hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 7px; color: var(--blue-dark); background: #fff; border-radius: 50%; }
.products-section, .steps-section { padding: 86px 0; }
.products-section--home { padding-top: 64px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-heading--products { margin-bottom: 24px; }
.section-heading h1, .section-heading h2 { margin: 8px 0 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.04em; }
.home-products-intro h1 { color: var(--blue); }
.home-products-intro h2 { color: #ec008c; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.home-products-intro h3 { margin: 8px 0 0; color: #000; font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.25; letter-spacing: -0.02em; }
.home-products-intro { min-width: 0; width: 100%; }
.home-assistant { max-width: 760px; margin-top: 20px; }
.home-assistant-toggle { color: #fff; background: #ec008c; box-shadow: 0 10px 24px rgba(236, 0, 140, .16); }
.home-assistant-toggle:hover { background: #c60076; }
.home-assistant-toggle:focus-visible, .home-assistant-product-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.home-assistant-panel { margin-top: 16px; padding: clamp(16px, 3vw, 26px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.home-assistant-form { display: grid; gap: 12px; }
.home-assistant-form label { font-weight: 750; }
.home-assistant-form textarea { width: 100%; min-height: 100px; resize: vertical; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.home-assistant-form textarea:focus { outline: 3px solid rgba(7, 139, 210, .18); border-color: var(--blue); }
.home-assistant-form button { justify-self: start; }
.home-assistant-conversation { max-height: 360px; margin-bottom: 20px; padding-right: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.home-assistant-conversation ol { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.home-assistant-user { width: fit-content; max-width: 90%; margin: 0 0 10px auto; padding: 10px 16px; color: #fff; background: #c60076; border-radius: 18px 18px 0 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.home-assistant-reply { padding: 16px; background: var(--blue-soft); border-radius: 18px 18px 18px 0; overflow-wrap: anywhere; }
.home-assistant-reply > strong { color: var(--blue-dark); }
.home-assistant-reply > p { margin: 6px 0 0; white-space: pre-wrap; }
.home-assistant-product-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.home-assistant-product-link { display: inline-flex; padding: 9px 14px; color: var(--blue-dark); border: 1px solid var(--blue); border-radius: 999px; background: #fff; text-decoration: none; }
.home-assistant-reply > .home-assistant-product-link { margin-top: 12px; }
.home-assistant-product-link:hover { background: #d8f0fc; }
.home-assistant-choice { font: inherit; text-align: left; cursor: pointer; white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
.home-assistant-choice:disabled { opacity: .5; cursor: default; }
.home-assistant-choice:disabled:hover { background: #fff; }
.home-assistant-next { padding-top: 12px; border-top: 1px solid var(--line); }
.home-assistant-status { margin: 12px 0 0; color: var(--blue-dark); white-space: pre-wrap; }
.home-assistant-status.is-error { color: #b42318; }
.home-assistant-privacy { margin: 16px 0 0; color: var(--muted); font-size: .8rem; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); }
.category-nav { position: sticky; top: 84px; z-index: 30; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 64px; padding: 10px; background: rgba(247, 248, 246, 0.94); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 34px rgba(23, 27, 34, 0.1); backdrop-filter: blur(14px); }
.category-nav-item, .product-category { --category-color: var(--blue); --category-soft: var(--blue-soft); }
.category-nav-item--eladashelyi, .product-category--eladashelyi { --category-color: #d72d68; --category-soft: #fff0f5; }
.category-nav-item--kulteri, .product-category--kulteri { --category-color: #398b46; --category-soft: #eef8ef; }
.category-nav-item--klasszikus, .product-category--klasszikus { --category-color: #078bd2; --category-soft: #eaf7fd; }
.category-nav-item { min-width: 0; display: grid; grid-template-columns: 68px minmax(0, 1fr) 24px; align-items: center; gap: 12px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 14px; text-decoration: none; transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease; }
.category-nav-item:hover, .category-nav-item:focus-visible { background: var(--category-soft); border-color: var(--category-color); transform: translateY(-1px); outline: none; }
.category-nav-item img { width: 68px; height: 48px; object-fit: contain; }
.category-nav-copy { min-width: 0; }
.category-nav-copy strong, .category-nav-copy small { display: block; }
.category-nav-copy strong { font-size: 0.9rem; line-height: 1.15; }
.category-nav-copy small { margin-top: 4px; color: var(--muted); font-size: 0.76rem; }
.category-nav-arrow { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; background: var(--category-color); border-radius: 50%; font-weight: 850; }
.product-categories { display: grid; gap: 72px; }
.product-category { scroll-margin-top: 190px; }
.category-heading { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; padding: 18px 22px; background: var(--category-soft); border: 1px solid var(--line); border-left: 5px solid var(--category-color); border-radius: var(--radius); transition: box-shadow 180ms ease; }
.product-category:target .category-heading { box-shadow: 0 0 0 4px color-mix(in srgb, var(--category-color) 22%, transparent); }
.category-heading img { flex: 0 0 auto; width: 132px; height: 88px; object-fit: contain; }
.category-kicker { display: block; margin-bottom: 4px; color: var(--blue-dark); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.category-heading h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.1; letter-spacing: -0.035em; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { min-height: 330px; padding: 24px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.product-card:hover { transform: translateY(-4px); border-color: #a8d9f2; box-shadow: var(--shadow); }
.product-visual { display: grid; place-items: center; height: 150px; margin-bottom: 22px; padding: 10px; overflow: hidden; background: linear-gradient(145deg, #f9fbfc, var(--blue-soft)); border-radius: 16px; }
.product-visual img { width: 100%; height: 130px; object-fit: contain; }
.product-icon { display: grid; place-items: center; width: 62px; height: 62px; color: var(--blue-dark); background: #fff; border-radius: 17px; box-shadow: 0 8px 20px rgba(7, 139, 210, 0.1); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.05em; }
.product-name { font-size: 1.2rem; font-weight: 820; }
.product-description { margin-top: 5px; color: var(--muted); font-size: 0.9rem; }
.product-link { margin-top: auto; padding-top: 18px; color: var(--blue-dark); font-weight: 750; font-size: 0.9rem; }
.all-products { margin-top: 30px; text-align: center; }

.steps-section { color: #fff; background: var(--ink); }
.steps-section .eyebrow { color: #71c9f3; }
.section-heading.compact { margin-bottom: 38px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 16px; padding: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.steps li > span { flex: 0 0 38px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--yellow); border-radius: 50%; font-weight: 900; }
.steps strong { display: block; margin-top: 6px; font-size: 1.05rem; }
.steps p { margin: 5px 0 0; color: #aeb7c0; font-size: 0.9rem; }

.site-footer { padding: 72px 0 64px; color: #263240; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1fr 0.95fr; gap: clamp(44px, 6vw, 88px); align-items: start; }
.footer-logo { min-height: 108px; display: flex; align-items: center; }
.footer-logo img { width: min(100%, 300px); height: 116px; object-fit: contain; object-position: left center; }
.footer-logo-fallback { color: var(--blue); font-size: 2.25rem; line-height: 0.9; font-weight: 850; font-style: italic; }
.footer-logo-fallback small { display: block; margin-top: 6px; color: var(--ink); font-size: 0.95rem; text-align: right; }
.footer-motto { margin: 10px 0 8px; font-size: 1.42rem; line-height: 1.2; }
.footer-intro { max-width: 480px; margin: 0; color: #46515c; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 20px 0 26px; font-size: 0.9rem; }
.footer-legal-links a { color: #263240; text-decoration: none; }
.footer-legal-links a:hover { color: var(--blue-dark); text-decoration: underline; }
.footer-title { margin: 0 0 20px; font-size: 1.45rem; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.footer-title-uppercase { text-transform: uppercase; }
.footer-subtitle { margin: -8px 0 14px; font-size: 1.15rem; }
.company-data { margin: 0; }
.company-data div { margin: 0 0 8px; }
.company-data dt { font-weight: 800; }
.company-data dd { margin: 1px 0 0; color: #46515c; }
.company-data a, .footer-location a { color: inherit; text-decoration: none; }
.company-data a:hover, .footer-location a:hover { color: var(--blue-dark); text-decoration: underline; }
.footer-location { padding: 20px 18px; border-top: 1px solid var(--line); }
.footer-location:first-of-type { padding-top: 12px; border-top: 0; }
.footer-location h3 { margin: 0 0 2px; font-size: 1.05rem; }
.footer-location address, .footer-location p { margin: 0; font-style: normal; }
.footer-location ul { margin: 0; padding: 0; list-style: none; }
.popular-products { display: flex; flex-wrap: wrap; gap: 7px; }
.popular-products a { padding: 5px 9px; color: #fff; background: #5c646d; border-radius: 4px; font-size: 0.78rem; line-height: 1.15; text-decoration: none; transition: background-color 150ms ease, transform 150ms ease; }
.popular-products a:first-child { background: var(--ink); }
.popular-products a:hover { background: var(--blue-dark); transform: translateY(-1px); }
.footer-social { margin-top: 64px; }
.footer-social .footer-title span { color: #ef4035; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; color: #5a626a; background: #c8cccf; border-radius: 50%; font-size: 1.35rem; font-weight: 850; text-decoration: none; transition: color 150ms ease, background-color 150ms ease, transform 150ms ease; }
.social-links a:hover { color: #fff; background: var(--blue); transform: translateY(-2px); }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 1px); display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 12px; }
    .main-nav a::after { display: none; }
    .main-nav .nav-cta { margin-top: 6px; text-align: center; }
    .category-nav-item { grid-template-columns: 52px minmax(0, 1fr) 22px; padding-inline: 9px; }
    .category-nav-item img { width: 52px; height: 42px; }
    .category-nav-copy strong { font-size: 0.82rem; }
    .hero { padding-top: 62px; }
    .hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-column--popular { grid-column: 1 / -1; }
    .footer-social { margin-top: 38px; }
}

@media (max-width: 600px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { min-height: 72px; }
    .brand { min-width: 0; }
    .brand-logo img { width: 145px; height: 52px; }
    .hero { padding: 52px 0; }
    .hero h1 { font-size: 2.65rem; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-points { align-items: flex-start; flex-direction: column; gap: 10px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .category-nav { top: 72px; display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
    .category-nav-item { flex: 0 0 238px; scroll-snap-align: start; }
    .product-categories { gap: 52px; }
    .category-heading { align-items: flex-start; flex-direction: column; }
    .category-heading img { width: 110px; height: 74px; }
    .product-grid { grid-template-columns: 1fr; }
    .products-section, .steps-section { padding: 64px 0; }
    .site-footer { padding: 56px 0 48px; }
    .footer-grid { grid-template-columns: 1fr; gap: 44px; }
    .footer-column--popular { grid-column: auto; }
    .footer-motto { font-size: 1.2rem; }
}

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