/* ==========================================================================
   Horváth Faredőny – egyesített stíluslap
   ========================================================================== */

/* ---- 1. CSS-változók ---- */

:root {
    --hr-dark: #1a1a1a;
    --hr-split-dark: #1c2936;
    --hr-text: #333333;
    --hr-text-muted: #555555;
    --hr-white: #ffffff;
    --hr-nav: #b3856e;
    --hr-green: #7FB0B2; /* RAL 6021: #86A47C; RAL 6034: #7FB0B2;  Javaslat: #00c9a7 */
    --hr-green-dark: #68b014;
    --hr-footer-bg: #f0f0f0;
    --hr-btn-gradient: #7FB0B2; /* #7FB0B2; Eredeti: 00c9a7 */
    --hr-btn-outline: #7FB0B2;
    --hr-section-gap: 25px;
    --hr-hero-mobile-bg: #3d2b1f;
    --hr-card-bg-alt: #f5f2eb;
    /* Sticky fejléc (logo + menü + promo) – JS pontosítja */
    --hr-anchor-offset: 220px;
}

html {
    scroll-padding-top: var(--hr-anchor-offset);
}

/* ---- 2. Reset és globális alapbeállítások ---- */

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

body {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 400;
    color: #625b57;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--hr-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    margin: 0;
    padding: 0;
}

main > section + section {
    margin-top: var(--hr-section-gap);
}

main > section {
    margin-bottom: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

.section-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- 3. Tipográfia ---- */

.section-title {
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}

.section-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Dinamikus oldal – WYSIWYG (Quill) tartalom megjelenítése */
.page-cms-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--bs-body-color);
}

.page-cms-content > *:last-child {
    margin-bottom: 0;
}

.page-cms-content h2,
.page-cms-content h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.page-cms-content h2 {
    font-size: 1.5rem;
}

.page-cms-content h3 {
    font-size: 1.25rem;
}

.page-cms-content p {
    margin-bottom: 1rem;
}

.page-cms-content ul,
.page-cms-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-cms-content li + li {
    margin-top: 0.35rem;
}

.page-cms-content a {
    color: var(--bs-primary);
    text-decoration: underline;
}

.page-cms-content a:hover {
    text-decoration: none;
}

.hero-title {
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 24px;
}

.hero-title strong {
    font-weight: 800;
}

.hero-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 12px;
}

.hero-text:last-child {
    margin-bottom: 0;
}

.card-item-title {
    font-size: clamp(38px, 2.7vw, 48px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 12px;
}

/* ---- 4. Általánosan használható komponensek és gombok ---- */

.hr-btn-gradient {
    display: inline-block;
    padding: 0.55rem 2.5rem;
    border: none;
    border-radius: 50px;
    background: var(--hr-btn-gradient);
    color: var(--hr-dark);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.hr-btn-gradient:hover {
    color: var(--hr-white);
    opacity: 0.9;
}

.hr-btn-solid-green {
    display: inline-block;
    padding: 0.55rem 2.5rem;
    border: none;
    border-radius: 50px;
    background: #00c9a7;
    color: var(--hr-white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.hr-btn-solid-green:hover {
    color: var(--hr-white);
    opacity: 0.9;
}

.hr-btn-outline-teal {
    display: inline-block;
    padding: 0.55rem 2rem;
    border: 2px solid var(--hr-btn-outline);
    border-radius: 50px;
    background: transparent;
    color: var(--hr-text);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hr-btn-outline-teal:hover {
    background-color: var(--hr-btn-outline);
    color: var(--hr-white);
}

.hr-btn-outline-white {
    display: inline-block;
    padding: 0.55rem 2.5rem;
    border: 2px solid var(--hr-white);
    border-radius: 50px;
    background: transparent;
    color: var(--hr-white);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hr-btn-outline-white:hover {
    background-color: var(--hr-white);
    color: var(--hr-green-dark);
}

.section-content .hr-btn-outline-teal,
.section-content .hr-btn-outline-white {
    align-self: flex-start;
}

/* ---- 5. Header ---- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--hr-white);
    margin-bottom: 0;
}

.header-top {
    border-bottom: 1px solid #eeeeee;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-height: 74px;
    padding: 0.5rem 0;
}

.header-logo {
    display: block;
    line-height: 0;
}

.header-logo img {
    height: 58px;
    width: auto;
}

.header-utils {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-top-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--hr-text-muted);
}

.header-link .bi {
    font-size: 0.85rem;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Elválasztó csak akkor, ha van előtte elem (pl. Regisztráció / Bejelentkezés) */
.header-social:not(:first-child) {
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid #dddddd;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--hr-text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.header-social a:hover {
    color: var(--hr-dark);
}

.header-lang {
    display: flex;
    align-items: center;
}

/* Elválasztó csak akkor, ha a fejléc utils blokk is látszik */
.header-utils + .header-lang {
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid #dddddd;
}

.header-lang__list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-lang__item {
    margin: 0;
    padding: 0;
}

.header-lang__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    padding: 2px;
    border: 2px solid transparent;
    border-radius: 4px;
    line-height: 0;
    opacity: 0.72;
    transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-lang__link:hover,
.header-lang__link:focus {
    opacity: 1;
    border-color: rgba(0, 0, 0, 0.12);
}

.header-lang__link.is-active {
    opacity: 1;
}

.header-lang__flag {
    display: block;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.site-header__toggler {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: none;
    background: transparent;
    color: #333333;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.site-header__toggler:focus {
    box-shadow: none;
    outline: none;
}

.site-header__toggler .bi {
    display: block;
    font-size: 1.85rem;
    line-height: 1;
}

/* ---- 6. Navigáció ---- */

.site-nav {
    background-color: var(--hr-nav);
    margin: 0;
    padding: 0;
    line-height: 1;
    position: relative;
}

.site-nav .container-fluid,
.site-nav .navbar-collapse,
.site-nav .navbar-nav {
    margin: 0;
    padding-bottom: 0;
}

.site-nav .nav-link {
    color: var(--hr-white);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.55rem 0.75rem;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
    color: var(--hr-white);
    background-color: rgba(0, 0, 0, 0.22);
}

.site-nav .navbar-nav {
    justify-content: center;
}

.site-nav__products {
    position: static;
}

.site-nav__products-head {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.site-nav__products-link {
    flex: 1 1 auto;
}

.site-nav__products-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 2.25rem;
    padding: 0.55rem 0.5rem;
    border: 0;
    background: transparent;
    color: var(--hr-white);
    cursor: pointer;
    font: inherit;
    text-align: center;
    transition: background-color 0.2s ease;
}

.site-nav__products-toggle:hover,
.site-nav__products-toggle:focus {
    background-color: rgba(0, 0, 0, 0.22);
}

.site-nav__products-icon {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.site-nav__products-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1040;
    background-color: var(--hr-white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.site-nav__products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
}

.site-nav__group-title {
    display: block;
    margin: 0 0 0.65rem;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #493d38;
    text-decoration: none;
}

a.site-nav__group-title:hover,
a.site-nav__group-title:focus {
    color: var(--hr-dark);
}

.site-nav__subgroup {
    margin-bottom: 0.65rem;
}

.site-nav__subgroup-title {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #4a433f;
    text-decoration: none;
}

a.site-nav__subgroup-title:hover,
a.site-nav__subgroup-title:focus {
    color: var(--hr-dark);
}

.site-nav__group-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__group-list--nested {
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
}

.site-nav__group-list a {
    display: block;
    padding: 0.32rem 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    color: #4a433f;
    white-space: normal;
    transition: color 0.2s ease;
}

.site-nav__group-list a:hover,
.site-nav__group-list a:focus {
    color: var(--hr-dark);
    background: transparent;
}

@media (min-width: 992px) {
    .site-nav__products:hover .site-nav__products-menu,
    .site-nav__products.is-open .site-nav__products-menu {
        display: block;
    }

    .site-nav__products:hover .site-nav__products-icon,
    .site-nav__products.is-open .site-nav__products-icon {
        transform: rotate(180deg);
    }

    .site-nav__products-head {
        width: auto;
    }

    .site-nav__products-toggle {
        min-width: 0;
        padding-left: 0.15rem;
        padding-right: 0.65rem;
    }

    .site-nav__products-link {
        padding-right: 0.15rem;
    }
}

@media (min-width: 1200px) {
    .site-nav__products-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        max-width: 1320px;
        padding: 1.75rem 2rem;
    }
}

/* ---- 6/b. Header promo sáv ---- */

.header-promo {
    background-color: var(--hr-green);
}

.header-promo::after {
    content: "";
    display: block;
    height: var(--hr-section-gap);
    background-color: var(--hr-white);
}

.header-promo__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 2.5rem;
}

.header-promo__title {
    margin: 0 0 4px;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.header-promo__subtitle {
    margin: 0;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    color: #1a1a1a;
}

.header-promo__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 42px;
    padding: 0.65rem 2rem;
    border-radius: 999px;
    background-color: var(--hr-white);
    color: #333333;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.header-promo__btn:hover {
    opacity: 0.92;
    color: #333333;
}

/* ---- 7. Hero ---- */

main > .hero-section:first-child {
    margin-top: 0;
}

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 540px;
    margin: 0;
    --hero-container-max: 60rem;
    background-image: url("../../images/HR_SITE-1.jpg");
    background-size: cover;
    background-position: 80% 28%;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.38) 0%,
            rgba(0, 0, 0, 0.12) 18px,
            transparent 36px
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.28) 38%,
            rgba(0, 0, 0, 0.06) 62%,
            transparent 82%
        );
}

.hero-section > .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    width: 100%;
    padding: 3rem 0;
}

.hero-content .row {
    width: 100%;
    margin: 0;
}

.hero-copy {
    max-width: 680px;
}

.hero-text-wrap {
    max-width: 100%;
}

.hero-section__mobile-image {
    display: none;
}

/* ---- 8. Split section ---- */

.split-section {
    overflow: hidden;
}

.split-section .section-media {
    position: relative;
    min-height: 420px;
}

.split-section .section-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-section .section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    padding: 3rem 3.5rem;
}

.split-section--dark .section-content {
    background-color: var(--hr-split-dark);
    color: var(--hr-white);
}

.split-section--light .section-content {
    background-color: var(--hr-white);
}

.section-badge {
    width: 200px;
    margin-bottom: 1.25rem;
}

.split-section--dark .section-title {
    font-size: clamp(34px, 2.65vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 18px;
}

.split-section--dark .section-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 14px;
}

.split-section--light .section-text {
    color: var(--hr-text-muted);
}

.split-section--light .section-text:last-of-type {
    margin-bottom: 1.75rem;
}

/* ---- 9. Team section ---- */

.team-section {
    position: relative;
    width: 100%;
    background-color: var(--hr-white);
    overflow: hidden;
}

.team-section__inner {
    position: relative;
    z-index: 1;
    min-height: 0;
}

.team-section__content {
    max-width: 520px;
}

.team-section .section-title {
    font-size: clamp(38px, 2.8vw, 50px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #493d38;
    margin-bottom: 18px;
}

.team-section .section-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #625b57;
    margin-bottom: 12px;
}

.team-section .section-text:last-of-type {
    margin-bottom: 1.75rem;
}

.team-section .hr-btn-outline-teal {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    min-height: 42px;
    padding: 11px 30px;
    border-radius: 999px;
}

.team-section__mobile-image {
    display: none;
}

/* ---- 10. Cards section ---- */

.cards-section {
    background-color: var(--hr-white);
    padding: 0;
}

.cards-section__row {
    margin-left: 0;
    margin-right: 0;
}

.cards-section__col {
    padding-left: calc(var(--hr-section-gap) / 2);
    padding-right: calc(var(--hr-section-gap) / 2);
}

.cards-section__col:first-child {
    padding-left: 0;
}

.cards-section__col:last-child {
    padding-right: 0;
}

.card-item-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.card-item-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.card-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 72%;
    display: block;
}

.card-item-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1.5rem 7.5%;
    text-align: center;
    pointer-events: none;
}

.card-item-caption a {
    pointer-events: auto;
}

.cards-section .hr-btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    min-width: 180px;
    min-height: 38px;
    padding: 0 28px;
    border-radius: 999px;
}

/* ---- 11. CTA section ---- */

.cta-section {
    overflow: hidden;
}

.cta-section .section-media {
    position: relative;
    min-height: 380px;
}

.cta-section .section-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-section .section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    padding: 3rem 3.5rem;
    background-color: var(--hr-green);
}

.cta-section .section-title {
    font-size: clamp(38px, 2.8vw, 50px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.cta-section .section-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    max-width: 500px;
    margin-bottom: 20px;
}

.cta-section .hr-btn-outline-white {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.cta-section .hr-btn-outline-white:hover {
    background-color: #1a1a1a;
    color: var(--hr-white);
}

/* ---- 12. Map ---- */

.map-section iframe {
    display: block;
    width: 100%;
    height: clamp(440px, 32vw, 620px);
    border: 0;
}

/* ---- 13. Footer ---- */

.site-footer {
    background-color: var(--hr-footer-bg);
    padding: 1.25rem 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    color: #5f5b58;
}

.site-footer a {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    color: #5f5b58;
}

.site-footer a:hover {
    color: var(--hr-dark);
}

/* ---- 14. Responsive media query-k ---- */

@media (min-width: 992px) {
    :root {
        --hr-section-gap: 12px;
    }

    .site-nav__collapse {
        display: flex !important;
        justify-content: center;
        flex-grow: 0;
        flex-basis: auto;
        width: 100%;
    }

    .site-nav .nav-link {
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0.025em;
        padding: 9px 14px;
    }

    .site-nav .navbar-nav {
        width: auto;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        flex-direction: row;
    }

    .hero-copy {
        margin-left: calc(-1 * min(12.5rem, max(0px, (100vw - var(--hero-container-max)) / 2 - 1.5rem)));
    }

    .hero-text-wrap {
        max-width: 60%;
    }

    .hero-title-line {
        display: block;
        white-space: nowrap;
    }
}

@media (min-width: 1200px) {
    .hero-section {
        --hero-container-max: 71.25rem;
        min-height: 540px;
    }

    .hero-title {
        font-size: clamp(43px, 3vw, 56px);
        line-height: 1.04;
        letter-spacing: -0.025em;
        margin-bottom: 24px;
    }

    .hero-content {
        padding: 3.25rem 0;
    }

    .split-section .section-content,
    .cta-section .section-content {
        padding: 3.5rem 4.5rem;
    }

    .team-section {
        aspect-ratio: 1920 / 686;
        background-image: url("../../images/HR_SITE-3.jpg");
        background-repeat: no-repeat;
        background-position: left top;
        background-size: 100% auto;
        min-height: 520px;
    }

    .team-section__inner {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        padding: 2rem 0;
    }

    .team-section__content {
        max-width: none;
        padding: 3.5rem 4.5rem;
        background-color: transparent;
    }
}

@media (min-width: 1400px) {
    .hero-section {
        --hero-container-max: 82.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .team-section {
        aspect-ratio: auto;
        background-image: none;
    }

    .team-section__inner {
        position: static;
        inset: auto;
        display: block;
        padding: 0;
    }

    .team-section__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: none;
        min-height: 420px;
        padding: 3rem 3.5rem;
        background-color: var(--hr-white);
    }

    .team-section .section-title {
        font-size: 36px;
        line-height: 1.12;
    }

    .team-section .hr-btn-outline-teal {
        align-self: center;
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .hero-title {
        font-size: clamp(36px, 5vw, 46px);
        line-height: 1.06;
    }

    .hero-title-line {
        display: block;
    }

    .hero-text {
        font-size: 13px;
        line-height: 1.55;
    }

    .split-section--dark .section-title {
        font-size: 38px;
        line-height: 1.1;
    }

    .card-item-title {
        font-size: 40px;
    }

    .cta-section .section-title {
        font-size: 40px;
        line-height: 1.1;
    }

    .section-text,
    .split-section--dark .section-text,
    .team-section .section-text,
    .cta-section .section-text {
        font-size: 13px;
        line-height: 1.6;
    }
}

@media (max-width: 991.98px) {
    :root {
        --hr-section-gap: 12px;
    }

    .site-header__toggler {
        display: inline-flex;
    }

    .header-top-inner {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        min-height: 64px;
        padding: 0.65rem 0;
    }

    .header-logo {
        margin-right: 0;
    }

    .header-logo img {
        height: 48px;
    }

    .header-top-actions {
        position: static;
        transform: none;
        margin-left: auto;
        margin-right: 0.35rem;
    }

    .header-utils {
        display: none;
    }

    .header-lang {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .site-header__toggler {
        margin-left: 0;
    }

    .site-nav {
        background-color: transparent;
        padding: 0;
    }

    .site-nav__collapse {
        background-color: var(--hr-nav);
    }

    .site-nav .navbar-nav {
        width: 100%;
        padding: 0.25rem 0 0.5rem;
    }

    .site-nav .nav-link {
        text-align: center;
        padding: 0.85rem 1rem;
        font-size: 11px;
    }

    .site-nav .nav-link:hover,
    .site-nav .nav-link:focus {
        background-color: rgba(0, 0, 0, 0.08);
    }

    .site-nav__products-head {
        position: relative;
    }

    .site-nav__products-link {
        text-align: center;
        padding-right: 2.75rem;
    }

    .site-nav__products-toggle {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        min-width: 2.75rem;
    }

    .site-nav__products-toggle:hover,
    .site-nav__products-toggle:focus {
        background-color: rgba(0, 0, 0, 0.08);
    }

    .site-nav__products.is-open .site-nav__products-menu {
        display: block;
    }

    .site-nav__products.is-open .site-nav__products-icon {
        transform: rotate(180deg);
    }

    .site-nav__products-menu {
        position: static;
        box-shadow: none;
        border-top: 0;
        background-color: rgba(0, 0, 0, 0.08);
    }

    .site-nav__products-grid {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: none;
        padding: 0;
    }

    .site-nav__group {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.85rem 1rem 0.95rem;
    }

    .site-nav__group-title,
    a.site-nav__group-title {
        color: var(--hr-white);
        font-size: 13px;
        margin-bottom: 0.5rem;
    }

    a.site-nav__group-title:hover,
    a.site-nav__group-title:focus {
        color: var(--hr-white);
        text-decoration: underline;
    }

    .site-nav__subgroup-title,
    a.site-nav__subgroup-title {
        color: rgba(255, 255, 255, 0.85);
        font-size: 13px;
    }

    .site-nav__group-list a {
        color: rgba(255, 255, 255, 0.92);
        font-size: 14px;
        padding: 0.4rem 0;
    }

    .site-nav__group-list a:hover,
    .site-nav__group-list a:focus {
        color: var(--hr-white);
    }

    .header-promo__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 1.5rem;
        text-align: left;
    }

    .header-promo__btn {
        align-self: center;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        min-height: 0;
        background-image: none;
    }

    .hero-section::before {
        display: none;
    }

    .hero-section__mobile-image {
        display: block;
        order: 1;
        width: 100%;
        height: auto;
        margin: 0;
        vertical-align: top;
    }

    .hero-section > .container {
        order: 2;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .hero-content {
        background-color: var(--hr-hero-mobile-bg);
        padding: 2rem 1.5rem 2.25rem;
        margin: 0;
        border: none;
    }

    .hero-copy {
        max-width: 100%;
        margin-left: 0;
    }

    .hero-text-wrap {
        max-width: 100%;
    }

    .hero-title {
        margin-bottom: 1.25rem;
    }

    .split-section .section-content,
    .cta-section .section-content {
        padding: 2rem 1.5rem 2.25rem;
    }

    .split-section .section-media {
        min-height: 0;
        height: auto;
    }

    .split-section .section-media img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: unset;
    }

    .split-section .section-content {
        min-height: auto;
    }

    .cta-section .section-media {
        min-height: 0;
        height: auto;
    }

    .cta-section .section-media img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: unset;
    }

    .cta-section .section-content {
        min-height: auto;
        align-items: stretch;
        text-align: left;
    }

    .cta-section .section-text {
        max-width: none;
    }

    .cta-section .hr-btn-outline-white {
        align-self: center;
    }

    .team-section {
        display: flex;
        flex-direction: column;
        aspect-ratio: auto;
        min-height: 0;
        background-image: none;
        overflow: visible;
    }

    .team-section__mobile-image {
        display: block;
        order: 1;
        width: 100%;
        height: auto;
        margin: 0;
        vertical-align: top;
    }

    .team-section__inner {
        order: 2;
        position: static;
        inset: auto;
        width: 100%;
        padding: 0;
    }

    .team-section__inner .container-fluid {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .team-section__inner .row {
        margin-left: 0;
        margin-right: 0;
    }

    .team-section__content {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0;
        padding: 2rem 1.5rem 2.25rem;
        background-color: var(--hr-white);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .team-section .hr-btn-outline-teal {
        align-self: center;
    }

    .card-item-image {
        aspect-ratio: 375 / 280;
        overflow: hidden;
    }

    .card-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .card-item-caption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding: 0 1.5rem 10%;
        text-align: center;
        pointer-events: none;
        background: none;
    }

    .card-item-caption a {
        pointer-events: auto;
    }

    .cards-section__col {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .cards-section__col:first-child {
        padding-left: 0;
    }

    .cards-section__col:last-child {
        padding-right: 0;
    }

    .cards-section__col + .cards-section__col {
        margin-top: var(--hr-section-gap);
    }
}

@media (max-width: 767.98px) {
    .header-top .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-link {
        font-size: 10px;
    }

    .hero-title {
        font-size: clamp(26px, 7.5vw, 34px);
        font-weight: 300;
        line-height: 1.12;
        letter-spacing: -0.02em;
        margin-bottom: 1.25rem;
    }

    .hero-title-line {
        display: block;
        white-space: normal;
    }

    .hero-title strong {
        font-weight: 800;
    }

    .hero-text {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 28px;
        font-weight: 700;
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    .split-section--dark .section-title {
        font-size: 28px;
        line-height: 1.12;
    }

    .team-section .section-title {
        font-size: 30px;
        line-height: 1.1;
    }

    .section-text,
    .split-section--dark .section-text,
    .team-section .section-text,
    .cta-section .section-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .section-badge {
        width: 160px;
        margin-bottom: 1rem;
    }

    .cards-section__col {
        padding-left: 0;
        padding-right: 0;
    }

    .card-item-title {
        font-size: 32px;
        line-height: 1.08;
        margin-bottom: 12px;
    }

    .cta-section .section-title {
        font-size: 32px;
        line-height: 1.08;
    }

    .map-section iframe {
        height: 280px;
    }

    .site-footer {
        padding: 1rem 0;
    }
}

/* ---- 15. Árajánlat aloldal ---- */

main > .page-hero:first-child {
    margin-top: 0;
}

.page-hero {
    overflow: hidden;
}

.page-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.page-hero picture {
    display: block;
    width: 100%;
}

.page-hero picture img {
    display: block;
    width: 100%;
    height: auto;
}

/* Mobilon az aloldal hero képek aránya igazodjon a főoldal
   mobil hero képéhez (HR_SITE-1-mobil.jpg: 1032×526), ne a széles
   panoráma eredeti ~3,6:1 arányához – különben vékony csík marad.
   Ha van külön hero_kep_mobil, azt arányosan jelenítjük (nincs vágás). */
@media (max-width: 991.98px) {
    .page-hero:not(.page-hero--has-mobile) {
        aspect-ratio: 1032 / 526;
    }

    .page-hero:not(.page-hero--has-mobile) img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .page-hero--has-mobile {
        aspect-ratio: auto;
    }

    .page-hero--has-mobile picture img {
        height: auto;
        object-fit: unset;
    }
}

.quote-section {
    padding: 0 0 3.5rem;
    background-color: var(--hr-white);
}

.quote-section__title {
    margin: 2.5rem 0 2rem;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-align: center;
    color: #1a1a1a;
}

.quote-form .form-label {
    margin-bottom: 0.35rem;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #493d38;
}

.quote-form .form-label .required {
    color: #c0392b;
}

.quote-form .form-control,
.quote-form .form-select {
    min-height: 42px;
    border: 1px solid #d8d2cc;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--hr-text);
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    border-color: var(--hr-btn-outline);
    box-shadow: 0 0 0 0.15rem rgba(0, 201, 167, 0.15);
}

.quote-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.quote-form .form-text {
    margin-top: 0.35rem;
    font-size: 11px;
    line-height: 1.45;
    color: #8a4b45;
}

.quote-form__radios {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding-top: 0.35rem;
}

.quote-form__radios .form-check {
    margin-bottom: 0;
}

.quote-form__radios .form-check-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--hr-text);
}

.quote-form__actions {
    margin-top: 1.5rem;
    text-align: right;
}

.quote-form__actions .hr-btn-gradient {
    min-width: 200px;
    min-height: 42px;
    padding: 0.65rem 2rem;
    font-size: 13px;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

.quote-form__honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.quote-form__phone-code {
    flex: 0 0 5.5rem;
    max-width: 5.5rem;
    padding-right: 0.35rem;
    padding-left: 0.5rem;
}

.quote-form__phone .form-control {
    min-width: 0;
}

.quote-tetelek {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote-tetel-sor {
    padding: 1rem;
    border: 1px solid #e8e2dc;
    border-radius: 4px;
    background-color: #faf9f8;
}

.quote-tetel-sor__fejlec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.quote-tetel-sor__cim {
    font-size: 13px;
    font-weight: 600;
    color: #493d38;
}

.quote-dynamic-block {
    animation: quote-fade-in 0.2s ease;
}

@keyframes quote-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.quote-aside {
    padding: 1.5rem;
    background-color: #f5f2eb;
    border-left: 3px solid var(--hr-nav);
}

.quote-aside__title {
    margin: 0 0 0.75rem;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #493d38;
}

.quote-aside__text {
    margin: 0 0 0.75rem;
    font-size: 12px;
    line-height: 1.55;
    color: #625b57;
}

.quote-aside__list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 12px;
    line-height: 1.55;
    color: #625b57;
}

.quote-aside__entry {
    margin-bottom: 0.65rem;
}

.quote-aside__entry:last-child {
    margin-bottom: 0;
}

.quote-aside__entry-label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 600;
    color: #493d38;
}

.quote-aside__entry-values {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.quote-aside__list a,
.quote-aside__contact-link {
    color: #493d38;
    font-weight: 600;
}

.quote-aside__list a:hover,
.quote-aside__contact-link:hover {
    color: var(--hr-dark);
}

.site-nav .nav-link.active,
.site-nav .nav-link.active:hover,
.site-nav .nav-link.active:focus {
    color: var(--hr-white);
    background-color: rgba(0, 0, 0, 0.22);
}

@media (max-width: 991.98px) {
    .quote-section {
        padding-bottom: 2.5rem;
    }

    .quote-section__title {
        margin: 1.75rem 0 1.5rem;
        font-size: 28px;
    }

    .quote-aside {
        margin-top: 2rem;
        border-left: 0;
        border-top: 3px solid var(--hr-nav);
    }

    .quote-form__actions {
        text-align: center;
    }
}

/* ---- 16. Kapcsolat oldal ---- */

.contact-section {
    padding: 0 0 3.5rem;
    background-color: var(--hr-white);
}

.contact-section__intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.contact-section__title {
    margin: 2.5rem 0 1rem;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.contact-section__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--hr-text-muted);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    background-color: var(--hr-card-bg-alt);
    border-left: 4px solid var(--hr-nav);
    border-radius: 4px;
}

.contact-card__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--hr-white);
    color: var(--hr-nav);
    font-size: 1.15rem;
}

.contact-card__body {
    min-width: 0;
}

.contact-card__label {
    margin: 0 0 0.35rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a4b45;
}

.contact-card__value {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--hr-dark);
}

.contact-card__value a {
    color: inherit;
    text-decoration: none;
}

.contact-card__value a:hover {
    color: var(--hr-btn-outline);
}

.contact-card__meta {
    margin: 0.35rem 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--hr-text-muted);
}

.contact-panel {
    height: 100%;
    padding: 2rem 2.25rem;
    background-color: var(--hr-split-dark);
    color: var(--hr-white);
    border-radius: 4px;
}

.contact-panel__title {
    margin: 0 0 1rem;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hr-white);
}

.contact-panel__text {
    margin: 0 0 1rem;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.contact-panel__text:last-of-type {
    margin-bottom: 1.75rem;
}

.contact-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-panel .hr-btn-outline-teal {
    border-color: var(--hr-white);
    color: var(--hr-white);
}

.contact-panel .hr-btn-outline-teal:hover {
    background-color: var(--hr-white);
    color: var(--hr-split-dark);
}

@media (max-width: 991.98px) {
    .contact-section {
        padding-bottom: 2.5rem;
    }

    .contact-section__title {
        margin-top: 1.75rem;
        font-size: 28px;
    }

    .contact-panel {
        margin-top: 0.5rem;
        padding: 1.5rem 1.35rem;
    }

    .contact-panel__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-panel__actions .hr-btn-gradient,
    .contact-panel__actions .hr-btn-outline-teal {
        width: 100%;
        text-align: center;
    }
}

/* ---- 17. Rólunk oldal ---- */

.about-page > section + section {
    margin-top: 0;
}

.about-content {
    padding: 2.75rem 0 3.5rem;
    background-color: var(--hr-white);
}

.about-content--closing {
    padding-top: 2.5rem;
    padding-bottom: 3.75rem;
}

.about-content__title {
    margin: 0 0 1.25rem;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.about-content__lead {
    margin: 0 0 1rem;
    font-size: 15px;
    line-height: 1.65;
    color: var(--hr-text);
}

.about-content__text {
    margin: 0 0 1rem;
    font-size: 14px;
    line-height: 1.65;
    color: var(--hr-text-muted);
}

.about-block {
    margin-top: 2.25rem;
}

.about-block__title {
    margin: 0 0 0.85rem;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.about-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    font-size: 14px;
    line-height: 1.65;
    color: var(--hr-text-muted);
}

.about-list li + li {
    margin-top: 0.35rem;
}

.about-list--light {
    color: rgba(255, 255, 255, 0.92);
}

.about-list--dark {
    color: #1a1a1a;
}

.about-list--columns {
    column-count: 2;
    column-gap: 2.5rem;
}

.about-band {
    padding: 2.75rem 0;
}

.about-band--dark {
    background-color: var(--hr-split-dark);
    color: var(--hr-white);
}

.about-band--green {
    background-color: var(--hr-green);
    color: #1a1a1a;
}

.about-band__title {
    margin: 0 0 1rem;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hr-white);
}

.about-band__title--dark {
    color: #1a1a1a;
}

.about-band__text {
    margin: 0 0 1rem;
    font-size: 14px;
    line-height: 1.65;
}

.about-band--dark .about-band__text {
    color: rgba(255, 255, 255, 0.88);
}

.about-band--green .about-band__text {
    color: #1a1a1a;
}

.about-band__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 42px;
    margin-top: 0.75rem;
    padding: 0.65rem 2rem;
    border-radius: 999px;
    background-color: var(--hr-white);
    color: #333333;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.about-band__btn:hover {
    opacity: 0.92;
    color: #333333;
}

@media (max-width: 991.98px) {
    .about-content {
        padding: 2rem 0 2.75rem;
    }

    .about-content__title {
        font-size: 28px;
    }

    .about-block {
        margin-top: 1.75rem;
    }

    .about-list--columns {
        column-count: 1;
    }

    .about-band {
        padding: 2rem 0;
    }
}

/* ---- Termékeink hub + kategóriaoldal ---- */

.products-page > section + section {
    margin-top: 0;
}

.products-hub {
    padding: 2.75rem 0 3.75rem;
    background-color: var(--hr-white);
}

.products-hub__title {
    margin: 0 0 2rem;
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.products-hub__empty {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: var(--hr-text-muted);
}

.products-hub__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem 1.1rem;
    max-width: 960px;
    margin: 0 auto;
}

.products-hub__tile {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 0.85rem;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background-color: var(--hr-white);
    color: #1a1a1a;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.products-hub__tile:hover,
.products-hub__tile:focus {
    border-color: var(--hr-nav);
    background-color: #faf7f5;
    color: #1a1a1a;
}

.products-hub__tile-label {
    font-size: clamp(12px, 1.35vw, 15px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.products-category {
    padding: 2.25rem 0 3.75rem;
    background-color: var(--hr-white);
}

.products-category__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1.25rem;
    font-size: 12px;
    color: var(--hr-text-muted);
}

.products-category__breadcrumb a {
    color: var(--hr-nav);
    text-decoration: none;
}

.products-category__breadcrumb a:hover,
.products-category__breadcrumb a:focus {
    color: var(--hr-dark);
    text-decoration: underline;
}

.products-category__breadcrumb-sep {
    color: #b0b0b0;
}

.products-category__title {
    margin: 0 0 2.5rem;
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.products-category__title:has(+ .products-category__intro) {
    margin-bottom: 1rem;
}

.products-category__intro {
    width: 100%;
    max-width: none;
    margin: 0 0 2.5rem;
    font-size: 15px;
    line-height: 1.7;
    color: var(--hr-text-muted);
}

.products-category__intro p {
    margin: 0 0 0.85rem;
    width: 100%;
}

.products-category__intro p:last-child {
    margin-bottom: 0;
}

.products-group {
    margin-top: 2.5rem;
    margin-bottom: 3.5rem;
    padding-bottom: 1.5rem;
    scroll-margin-top: var(--hr-anchor-offset);
}

.products-group:first-child {
    margin-top: 0;
}

.products-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.products-group__title {
    margin: 0 0 1.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--hr-nav);
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.product-block {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #ececec;
    scroll-margin-top: var(--hr-anchor-offset);
}

.products-category > .container > .product-block:last-child,
.products-category > .container > .products-group:last-child .product-block:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-block__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 1.75rem 2rem;
    align-items: start;
}

.product-block__media,
.product-block__body,
.product-block__aside {
    min-width: 0;
}

.product-block__main-image {
    position: relative;
    border: 1px solid #e5e5e5;
    background-color: #f4f4f4;
    overflow: hidden;
}

.product-block__main-image--empty {
    min-height: 220px;
    background-color: #f3f3f3;
}

.product-block__zoom {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-block__zoom:focus-visible {
    outline: 2px solid var(--hr-nav);
    outline-offset: -2px;
}

.product-block__main-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    object-position: center;
    background-color: #f4f4f4;
}

.product-block__zoom-icon {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: rgba(73, 61, 56, 0.88);
    color: #fff;
    font-size: 1rem;
    pointer-events: none;
}

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

.product-block__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.product-block__thumb {
    display: block;
    padding: 0;
    border: 1px solid #d7d7d7;
    background: #f4f4f4;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.product-block__thumb.is-active,
.product-block__thumb:hover,
.product-block__thumb:focus {
    border-color: var(--hr-nav);
}

.product-block__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    background-color: #f4f4f4;
}

.product-block__title {
    margin: 0 0 1rem;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
}

.product-block__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--hr-text-muted);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.product-block__desc img,
.product-block__desc table,
.product-block__desc iframe,
.product-block__desc video {
    max-width: 100%;
}

.product-block__desc img,
.product-block__desc video {
    height: auto;
}

.product-block__desc p {
    margin: 0 0 0.85rem;
}

.product-block__desc p:last-child {
    margin-bottom: 0;
}

.product-block__desc h2,
.product-block__desc h3 {
    margin: 1.25rem 0 0.65rem;
    font-size: 1.05em;
    font-weight: 700;
    color: #1a1a1a;
}

.product-block__desc ul,
.product-block__desc ol {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
}

.product-block__placeholder {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--hr-text-muted);
}

.product-block__aside-title {
    margin: 0 0 0.55rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.product-props {
    margin: 0 0 1.25rem;
}

.product-props__item {
    margin: 0 0 1rem;
}

.product-props__item:last-child {
    margin-bottom: 0;
}

.product-props__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--hr-text-muted);
}

.product-props__list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 13px;
    line-height: 1.55;
    color: var(--hr-text-muted);
}

.product-props__list li + li {
    margin-top: 0.15rem;
}

.product-profiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.65rem;
}

.product-profiles__item {
    min-width: 0;
}

.product-profiles__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: inherit;
    text-align: center;
}

.product-profiles__link:hover,
.product-profiles__link:focus-visible {
    color: inherit;
}

.product-profiles__link:focus-visible {
    outline: 2px solid var(--hr-nav);
    outline-offset: 3px;
}

.product-profiles__link:hover .product-profiles__frame,
.product-profiles__link:focus-visible .product-profiles__frame {
    border-color: var(--hr-nav);
    background-color: #faf8f3;
}

.product-profiles__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 76px;
    padding: 0.7rem 0.5rem;
    border-radius: 12px;
    background-color: var(--hr-card-bg-alt);
    border: 1px solid rgba(58, 47, 38, 0.10);
}

.product-profiles__frame img {
    display: block;
    width: 100%;
    height: 44px;
    object-fit: contain;
}

.product-profiles__nev {
    font-size: 12px;
    line-height: 1.3;
    color: var(--hr-text-muted);
    max-width: 100%;
}

.product-colors {
    margin: 0 0 1.25rem;
}

.product-colors__group + .product-colors__group {
    margin-top: 1.15rem;
}

.product-swatches {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 0.5rem;
}

.product-ral {
    margin: 0;
}

.product-ral__card {
    margin: 0;
}

.product-ral__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.product-catalogs {
    margin: 1.15rem 0 0;
}

.product-catalogs__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    color: inherit;
}

.product-catalogs__card:hover,
.product-catalogs__card:focus-visible {
    color: inherit;
}

.product-catalogs__card:focus-visible {
    outline: 2px solid var(--hr-nav);
    outline-offset: 3px;
}

.product-catalogs__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.product-catalogs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 42px;
    padding: 0.55rem 1.15rem;
    border: 2px solid var(--hr-btn-outline);
    border-radius: 999px;
    background-color: transparent;
    color: var(--hr-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.product-catalogs__btn .bi {
    font-size: 1rem;
    line-height: 1;
}

.product-catalogs__card:hover .product-catalogs__btn,
.product-catalogs__card:focus-visible .product-catalogs__btn {
    background-color: var(--hr-btn-outline);
    color: var(--hr-white);
}

.catalog-index {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}

@media (min-width: 992px) {
    .catalog-index:not(:has(.catalog-index__card:not(.catalog-index__card--pdf))) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem 1.35rem;
    }
}

.catalog-index__card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    color: inherit;
    min-width: 0;
}

.catalog-index__card:hover,
.catalog-index__card:focus-visible {
    color: inherit;
}

.catalog-index__card:focus-visible {
    outline: 2px solid var(--hr-nav);
    outline-offset: 3px;
}

.catalog-index__media {
    display: block;
    overflow: hidden;
    position: relative;
}

.catalog-index__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 5;
    object-fit: cover;
}

.catalog-index__card--pdf .catalog-index__media {
    background-color: var(--hr-card-bg-alt);
    box-shadow: 0 1px 0 rgba(58, 47, 38, 0.06);
}

.catalog-index__card--pdf:hover .catalog-index__img {
    transform: scale(1.02);
}

.catalog-index__card--pdf .catalog-index__img {
    aspect-ratio: 3 / 4;
    object-position: top center;
    transition: transform 0.35s ease;
}

.catalog-index__badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.18rem 0.5rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hr-white);
    background-color: var(--hr-nav);
}

.catalog-index__pdf-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    aspect-ratio: 3 / 4;
    background-color: var(--hr-card-bg-alt);
    color: var(--hr-nav);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-index__pdf-fallback .bi {
    font-size: 2.25rem;
    line-height: 1;
}

.catalog-index__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.catalog-index__nev {
    font-size: 1.02rem;
    font-weight: 600;
    color: #3a2f26;
}

.catalog-index__cim {
    font-size: 13px;
    color: var(--hr-text-muted);
    line-height: 1.4;
}

.catalog-index__more {
    margin-top: 0.2rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hr-nav);
}

.catalog-index__more .bi {
    margin-right: 0.25rem;
}

.catalog-index__card:hover .catalog-index__more {
    text-decoration: underline;
}

.catalog-page {
    background-color: var(--hr-white);
}

.catalog-page__content {
    padding: 2.5rem 0 4rem;
}

.catalog-page__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1.5rem;
    font-size: 13px;
    color: var(--hr-text-muted);
}

.catalog-page__breadcrumb a {
    color: var(--hr-nav);
}

.catalog-page__breadcrumb a:hover {
    text-decoration: underline;
}

.catalog-page__breadcrumb-sep {
    color: #c4b8ad;
}

.catalog-page__header {
    max-width: 46rem;
    margin: 0 0 2.25rem;
}

.catalog-page__title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    font-weight: 600;
    color: #3a2f26;
    letter-spacing: 0.01em;
}

.catalog-page__subtitle {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 400;
    color: #625b57;
}

.catalog-page__desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--hr-text-muted);
}

.catalog-page__empty {
    color: var(--hr-text-muted);
}

.catalog-page__group {
    margin: 2.25rem 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3a2f26;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem 1.1rem;
    margin: 0 0 0.5rem;
}

.catalog-swatch {
    min-width: 0;
}

.catalog-swatch__link {
    display: block;
    overflow: hidden;
}

.catalog-swatch__link:focus-visible {
    outline: 2px solid var(--hr-nav);
    outline-offset: 2px;
}

.catalog-swatch__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 5;
    object-fit: cover;
}

.catalog-swatch__meta {
    margin-top: 0.45rem;
    text-align: center;
}

.catalog-swatch__kod {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #3a2f26;
    letter-spacing: 0.02em;
}

.catalog-swatch__nev,
.catalog-swatch__note {
    margin: 0.15rem 0 0;
    font-size: 12px;
    color: var(--hr-text-muted);
    line-height: 1.35;
}

.product-swatches__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    min-width: 0;
}

.product-swatches__circle {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.product-swatches__circle img,
.product-swatches__circle svg {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.product-swatches__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 0;
    width: 100%;
}

.product-swatches__kod-row {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.2rem;
    max-width: 100%;
}

.product-swatches__kod {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    word-break: break-word;
}

.product-swatches__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.2rem;
    padding: 0 0.3rem;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    background: #fff;
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.product-swatches__more:hover,
.product-swatches__more:focus,
.product-swatches__item.is-open .product-swatches__more {
    border-color: var(--hr-nav);
    color: var(--hr-nav);
}

.product-swatches__popover {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.35rem);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 5.5rem;
    max-width: 10rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: translateX(-50%);
    text-align: center;
}

.product-swatches__popover[hidden] {
    display: none;
}

.product-swatches__popover-kod {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    word-break: break-word;
}

.product-swatches__nev {
    font-size: 11px;
    line-height: 1.3;
    color: var(--hr-text-muted);
    word-break: break-word;
}

.product-block__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 1.5rem;
    border-radius: 999px;
    background-color: var(--hr-btn-gradient);
    color: var(--hr-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.product-block__cta:hover,
.product-block__cta:focus {
    opacity: 0.92;
    color: var(--hr-dark);
}

@media (max-width: 991.98px) {
    .products-hub {
        padding: 2rem 0 2.75rem;
    }

    .products-hub__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
        max-width: 640px;
    }

    .products-category {
        padding: 1.75rem 0 2.75rem;
    }

    .products-category__title {
        margin-bottom: 1.75rem;
        text-align: left;
    }

    .products-category__intro {
        margin-top: -0.5rem;
        margin-bottom: 1.75rem;
    }

    .product-block__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-block__main-img {
        aspect-ratio: 16 / 11;
    }

    .product-swatches {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .products-group,
    .product-block {
        scroll-margin-top: var(--hr-anchor-offset);
    }
}

@media (max-width: 575.98px) {
    .products-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .products-hub__tile {
        padding: 0.7rem;
        border-radius: 5px;
    }

    .products-hub__tile-label {
        font-size: 13px;
    }

    .product-block__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-swatches {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ==========================================================================
   Referenciák oldal (forma alapú mozaik)
   ========================================================================== */

.refs-page {
    background-color: #fff;
}

.refs-content {
    padding: 2.5rem 0 4rem;
}

/* Egy közös keret: intro és mozaik bal széle azonos vonalban */
.refs-content > .container.refs-shell {
    padding-left: 0;
    padding-right: 0;
}

.refs-content__title {
    margin: 0 0 2rem;
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.refs-content__empty {
    margin: 0;
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hr-text-muted);
}

.refs-intro {
    margin-bottom: 1.25rem;
}

.refs-intro__media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background-color: #ececec;
}

/* Nincs CSS sötétítés az intro képen; a főoldali kártyakép
   beégetett alsó sávját felülről vágjuk le. */
.refs-intro__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 18%;
    transform: scale(1.18);
    transform-origin: center top;
}

.refs-intro__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    background-color: #f0ebe3;
    color: #3a2f26;
}

.refs-intro__heading {
    margin: 0 0 1rem;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    color: #2c241c;
}

.refs-intro__text {
    margin: 0 0 0.85rem;
    font-size: 14px;
    line-height: 1.7;
    color: #4a3f35;
}

.refs-intro__text:last-child {
    margin-bottom: 0;
}

.refs-row {
    margin-bottom: 1.25rem;
}

.refs-row:last-child {
    margin-bottom: 0;
}

/*
 * Közös 2 oszlopos arány (páros + mozaik + intro):
 * így a függőleges vágások sorok között egy vonalban futnak.
 */
.refs-mozaik,
.refs-paros,
.refs-intro__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.refs-intro__grid {
    gap: 0;
    align-items: stretch;
}

.refs-mozaik {
    align-items: stretch;
    /* Egységes mozaik-magasság: bal álló és jobb stack ugyanolyan magas */
    min-height: clamp(420px, 48vw, 560px);
}

.refs-mozaik > .refs-tile--allovany,
.refs-mozaik > .refs-tile--allovany-jobb,
.refs-mozaik--tukor > .refs-tile {
    height: 100%;
    min-height: 0;
}

.refs-mozaik__stack {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 1.25rem;
    height: 100%;
    min-height: 0;
}

.refs-mozaik__stack > .refs-tile,
.refs-mozaik__stack > .refs-mozaik__negyed-par {
    min-height: 0;
    height: 100%;
}

.refs-mozaik__negyed-par {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    min-height: 0;
}

.refs-mozaik__negyed-par > .refs-tile {
    min-height: 0;
    height: 100%;
}

.refs-paros {
    align-items: stretch;
}

/* Egyetlen kép a sorban: ne hagyjon üres jobb oszlopot */
.refs-paros--egy {
    grid-template-columns: 1fr;
}

.refs-tile {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: #1a1a1a;
    min-width: 0;
}

.refs-tile__link {
    position: relative;
    display: block;
    height: 100%;
    min-height: inherit;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

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

.refs-tile__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Magasabb sötétítés: a kép alsó ~58%-át fedi, függetlenül a szöveg hosszától */
.refs-tile--has-caption::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.78) 32%,
        rgba(0, 0, 0, 0.45) 62%,
        rgba(0, 0, 0, 0.12) 88%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.refs-tile--banner.refs-tile--has-caption::after {
    height: 62%;
}

/*
 * A mozaik / páros csempéknél a rács adja a méretet;
 * a kép abszolút kitölti a slotot (nem saját arányával „húzza szét” a sort).
 */
.refs-mozaik .refs-tile__img,
.refs-paros .refs-tile__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
}

.refs-tile--allovany,
.refs-tile--allovany-jobb,
.refs-tile--szeles,
.refs-tile--negyed {
    min-height: 0;
}

/* Magányos széles/negyed/álló (nem mozaik stackben): ne omoljon össze 0 magasra */
.refs-paros > .refs-tile--szeles,
.refs-paros > .refs-tile--negyed,
.refs-paros > .refs-tile--allovany,
.refs-paros > .refs-tile--allovany-jobb,
.refs-paros--negyed > .refs-tile--negyed {
    min-height: clamp(220px, 28vw, 320px);
}

.refs-tile--banner .refs-tile__img {
    aspect-ratio: 21 / 9;
    min-height: 220px;
}

.refs-tile--paros {
    min-height: clamp(220px, 28vw, 320px);
}

.refs-tile__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.35rem 1.35rem 1.25rem;
    background: none;
    color: #fff;
}

.refs-tile__caption--banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 1.25rem 2rem;
    align-items: end;
    padding: 1.5rem 1.5rem 1.4rem;
}

.refs-tile__title {
    margin: 0 0 0.4rem;
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.refs-tile__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.refs-tile__caption--banner .refs-tile__title {
    margin-bottom: 0;
    font-size: clamp(20px, 2.4vw, 28px);
}

.refs-tile__caption--banner .refs-tile__text {
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .refs-content {
        padding: 2rem 0 3rem;
    }

    .refs-intro__grid {
        grid-template-columns: 1fr;
    }

    .refs-intro__img {
        min-height: 220px;
        aspect-ratio: 16 / 10;
    }

    .refs-mozaik,
    .refs-paros {
        grid-template-columns: 1fr;
    }

    .refs-mozaik {
        min-height: 0;
    }

    .refs-mozaik__stack {
        grid-template-rows: none;
        height: auto;
    }

    .refs-mozaik > .refs-tile--allovany,
    .refs-mozaik > .refs-tile--allovany-jobb,
    .refs-mozaik--tukor > .refs-tile,
    .refs-mozaik__stack > .refs-tile,
    .refs-mozaik__negyed-par > .refs-tile,
    .refs-tile--paros,
    .refs-tile--negyed {
        min-height: clamp(240px, 62vw, 360px);
        height: auto;
    }

    .refs-mozaik__negyed-par {
        grid-template-columns: 1fr;
        height: auto;
    }

    .refs-paros--negyed {
        grid-template-columns: 1fr;
    }

    .refs-tile__caption--banner {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .refs-content__title {
        font-size: 26px;
        margin-bottom: 1.5rem;
    }

    .refs-row,
    .refs-intro {
        margin-bottom: 0.85rem;
    }

    .refs-mozaik,
    .refs-paros,
    .refs-mozaik__stack,
    .refs-mozaik__negyed-par {
        gap: 0.85rem;
    }

    .refs-tile--has-caption::after {
        height: 64%;
    }

    .refs-tile__caption,
    .refs-tile__caption--banner {
        padding: 1.1rem 1rem 1rem;
    }

    .refs-tile__title {
        font-size: 16px;
    }

    .refs-tile__text {
        font-size: 12px;
    }
}

/* ==========================================================================
   Díjak, elismerések oldal (pages/dijak_minositesek.php)
   Mockup: Dokumentacio/HR_SITE_DIJAK.jpg
   ========================================================================== */

.dijak-page {
    background-color: #fff;
}

.dijak-content {
    padding: 3rem 0 4.5rem;
}

.dijak-content__title {
    margin: 0 0 2.75rem;
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.dijak-content__empty {
    margin: 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hr-text-muted);
}

.dijak-section {
    margin-bottom: 3.25rem;
}

.dijak-section:last-child {
    margin-bottom: 0;
}

.dijak-section__title {
    margin: 0 0 1.75rem;
    text-align: center;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: #3a2f26;
}

.dijak-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}

.dijak-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.dijak-card__link {
    display: block;
    width: 100%;
    max-width: 280px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.dijak-card__link:hover,
.dijak-card__link:focus-visible {
    opacity: 0.88;
}

.dijak-card__media {
    display: block;
    width: 100%;
    background-color: #f7f5f2;
    overflow: hidden;
}

.dijak-card__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    object-position: center top;
    background-color: #fff;
}

.dijak-card__title {
    margin: 1rem 0 0;
    max-width: 280px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #1a1a1a;
}

/* GLightbox – Horváth Redőny skin (alsó krém sáv: cím + leírás) */
.glightbox-container .goverlay {
    background: rgba(18, 14, 10, 0.88);
}

.glightbox-clean .gslide-description {
    background: #f0ebe3;
    border-top: 1px solid rgba(58, 47, 38, 0.1);
}

.glightbox-clean .gdesc-inner {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1rem 1.25rem 1.15rem;
    text-align: left;
}

.glightbox-clean .gslide-title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #2c241c;
}

.glightbox-clean .gslide-title:not(:empty) + .gslide-desc:not(:empty) {
    margin-top: 0.35rem;
}

.glightbox-clean .gslide-desc {
    display: block;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    color: #4a3f35;
}

.glightbox-clean .gslide-desc:empty {
    display: none;
}

.glightbox-clean .gclose,
.glightbox-clean .gprev,
.glightbox-clean .gnext {
    background-color: rgba(240, 235, 227, 0.92);
    border-radius: 0;
}

.glightbox-clean .gclose path,
.glightbox-clean .gprev path,
.glightbox-clean .gnext path {
    fill: #3a2f26;
}

.glightbox-clean .gclose:hover,
.glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover {
    background-color: #f0ebe3;
    opacity: 1;
}

.glightbox-clean .gslide-image img {
    max-height: calc(100vh - 10.5rem);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991.98px) {
    .dijak-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .dijak-content {
        padding: 2.25rem 0 3.25rem;
    }

    .dijak-content__title {
        margin-bottom: 2rem;
    }

    .dijak-section {
        margin-bottom: 2.5rem;
    }

    .dijak-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        justify-items: center;
    }

    .dijak-card__link,
    .dijak-card__title {
        max-width: 260px;
    }

    .catalog-page__content {
        padding: 1.75rem 0 3rem;
    }

    .catalog-grid {
        gap: 1.1rem 0.75rem;
    }

    .catalog-index {
        grid-template-columns: 1fr;
    }

    .glightbox-clean .gslide-image img {
        max-height: calc(100vh - 6rem);
    }
}

/* ==========================================================================
   Blog (lista + cikk)
   ========================================================================== */

.blog-page {
    background-color: var(--hr-white);
}

.blog-page > section + section,
.blog-page > article + section {
    margin-top: 0;
}

.blog-content {
    padding: 2.5rem 0 4rem;
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1.5rem;
    font-size: 13px;
    color: var(--hr-text-muted);
}

.blog-breadcrumb a {
    color: var(--hr-nav);
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb__sep {
    color: #c4b8ad;
}

.blog-content__header {
    max-width: 46rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.blog-content__title {
    margin: 0 0 0.85rem;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.blog-content__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--hr-text-muted);
}

.blog-content__empty {
    margin: 2rem 0 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hr-text-muted);
}

.blog-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.6rem;
    margin: 0 0 2.25rem;
}

.blog-cats__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.4rem 1rem;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    background-color: var(--hr-white);
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.blog-cats__chip:hover,
.blog-cats__chip:focus-visible {
    border-color: var(--hr-nav);
    background-color: #faf7f5;
    color: #1a1a1a;
}

.blog-cats__chip.is-active {
    border-color: var(--hr-nav);
    background-color: var(--hr-nav);
    color: var(--hr-white);
}

.blog-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.35rem;
}

.blog-card {
    min-width: 0;
    height: 100%;
}

.blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    min-width: 0;
}

.blog-card__link:hover,
.blog-card__link:focus-visible {
    color: inherit;
}

.blog-card__link:focus-visible {
    outline: 2px solid var(--hr-nav);
    outline-offset: 3px;
}

.blog-card__media {
    display: block;
    overflow: hidden;
    position: relative;
    background-color: var(--hr-card-bg-alt);
}

.blog-card__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card__link:hover .blog-card__img {
    transform: scale(1.03);
}

.blog-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    color: var(--hr-nav);
    background-color: var(--hr-card-bg-alt);
}

.blog-card__placeholder .bi {
    font-size: 2rem;
    line-height: 1;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
    padding: 1rem 0 0;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--hr-nav);
}

.blog-card__meta time {
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--hr-text-muted);
}

.blog-card__title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.blog-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--hr-text-muted);
}

.blog-card__more {
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hr-nav);
}

.blog-card__link:hover .blog-card__more {
    text-decoration: underline;
}

.blog-article {
    padding: 2.5rem 0 4rem;
}

.blog-article__header {
    max-width: 46rem;
    margin: 0 auto 1.75rem;
}

.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.85rem;
    margin: 0 0 0.85rem;
    font-size: 13px;
    color: var(--hr-text-muted);
}

.blog-article__meta a {
    color: var(--hr-nav);
    font-weight: 600;
}

.blog-article__meta a:hover {
    text-decoration: underline;
}

.blog-article__title {
    margin: 0 0 0.85rem;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #1a1a1a;
}

.blog-article__lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: #4a433f;
}

.blog-article__body {
    max-width: 46rem;
    margin: 0 auto;
}

.blog-article__body a {
    color: var(--hr-nav);
}

.blog-cta {
    max-width: 46rem;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.6rem;
    background-color: var(--hr-card-bg-alt);
    border-left: 4px solid var(--hr-nav);
}

.blog-cta__title {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
}

.blog-cta__text {
    margin: 0 0 1rem;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hr-text-muted);
}

.blog-related {
    max-width: 46rem;
    margin: 2.75rem auto 0;
}

.blog-related__title {
    margin: 0 0 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.blog-grid--related {
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.blog-grid--related .blog-card__body {
    padding-top: 0;
}

@media (max-width: 991.98px) {
    .blog-content,
    .blog-article {
        padding: 1.75rem 0 3rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem 1rem;
    }

    .blog-content__header {
        text-align: left;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-content__title,
    .blog-article__title {
        font-size: 26px;
    }

    .blog-cats {
        justify-content: flex-start;
    }
}
