:root {
    --sage-50: #f3f7f4;
    --sage-100: #e3ede6;
    --sage-200: #c5dccb;
    --sage-300: #9cc1a8;
    --sage-400: #6fa180;
    --sage-500: #4f8665;
    --sage-600: #3d6b51;
    --sage-700: #325642;
    --sage-800: #2a4537;
    --sage-900: #1d3127;
    --cream: #faf8f3;
    --ink: #1f2a24;
    --muted: #5b6a62;
    --border: rgba(45, 75, 60, 0.12);
    --shadow-sm: 0 2px 8px rgba(45, 75, 60, 0.06);
    --shadow-md: 0 10px 30px rgba(45, 75, 60, 0.08);
    --shadow-lg: 0 20px 60px rgba(45, 75, 60, 0.12);
    --radius: 14px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--sage-400) var(--sage-50);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: var(--sage-50);
}

::-webkit-scrollbar-thumb {
    background: var(--sage-400);
    border-radius: 6px;
    border: 2px solid var(--sage-50);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sage-600);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--sage-900);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; transition: color .25s ease; }

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background: rgba(250, 248, 243, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--sage-800);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--sage-500);
    transform: rotate(15deg);
    display: inline-block;
}

.logo-accent { color: var(--sage-500); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--sage-800);
    position: relative;
}

.nav-menu a:hover { color: var(--sage-500); }

.nav-cta {
    background: var(--sage-600);
    color: var(--cream) !important;
    padding: 10px 22px;
    border-radius: 999px;
    transition: all .25s ease;
}

.nav-cta:hover {
    background: var(--sage-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.nav-outline {
    background: transparent;
    color: var(--sage-700) !important;
    border: 1.5px solid var(--sage-300);
    padding: 9px 22px;
    border-radius: 999px;
    transition: all .25s ease;
}

.nav-outline:hover {
    background: var(--sage-50);
    border-color: var(--sage-500);
    color: var(--sage-700) !important;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--sage-800);
    transition: .25s;
    border-radius: 2px;
}

/* HERO */
.hero {
    position: relative;
    padding: 50px 0 36px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sage-50) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(111, 161, 128, 0.18), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(156, 193, 168, 0.15), transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    grid-template-areas:
        "text visual"
        "stats stats";
    column-gap: 60px;
    row-gap: 50px;
    align-items: center;
}

.hero-text { grid-area: text; }
.hero-visual { grid-area: visual; }
.hero-content > .hero-stats { grid-area: stats; }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(45, 75, 60, 0.22);
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(29, 49, 39, 0.35) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    background: rgba(250, 248, 243, 0.96);
    backdrop-filter: blur(6px);
    padding: 14px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(29, 49, 39, 0.18);
}

.badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--sage-100);
    color: var(--sage-600);
    display: inline-grid;
    place-items: center;
    place-content: center;
    font-size: 1.1rem;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
    align-self: center;
    padding: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.hero-image-badge strong {
    display: block;
    font-size: 0.92rem;
    color: var(--sage-800);
    font-weight: 600;
    line-height: 1.2;
}

.hero-image-badge span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.badge-rotator {
    position: relative;
    min-width: 180px;
    min-height: 38px;
}

.badge-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .6s ease, transform .6s ease;
    pointer-events: none;
}

.badge-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(79, 134, 101, 0.1);
    color: var(--sage-700);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 134, 101, 0.18);
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    margin-bottom: 22px;
    font-weight: 700;
}

.hero h1 .accent {
    color: var(--sage-500);
    font-style: italic;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 580px;
    margin-bottom: 40px;
    text-align: justify;
    hyphens: manual;
    -webkit-hyphens: manual;
    text-justify: inter-word;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.98rem;
    transition: all .3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--sage-600);
    color: var(--cream);
    box-shadow: 0 8px 24px rgba(61, 107, 81, 0.25);
}

.btn-primary:hover {
    background: var(--sage-700);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(61, 107, 81, 0.32);
}

.btn-outline {
    background: transparent;
    color: var(--sage-700);
    border: 1.5px solid var(--sage-300);
}

.btn-outline:hover {
    background: var(--sage-100);
    border-color: var(--sage-500);
}

.btn-block { width: 100%; }

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--sage-700);
    font-weight: 600;
}

.stat-em {
    font-style: italic;
    font-weight: 600;
    color: var(--sage-700);
    font-size: 0.85em;
    margin-left: 4px;
}

.stat span {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ACTIVE NAV STATE */
.nav-menu a.active {
    color: var(--sage-500);
    font-weight: 600;
}

/* PAGE HERO (aloldal címsor) */
.page-hero {
    position: relative;
    padding: 70px 0 60px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sage-50) 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(111, 161, 128, 0.15), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(156, 193, 168, 0.12), transparent 55%);
    pointer-events: none;
}

.page-hero > .container { position: relative; z-index: 1; }

.page-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin: 22px 0 18px;
    font-weight: 700;
}

.page-hero h1 .accent {
    color: var(--sage-500);
    font-style: italic;
    font-weight: 500;
}

.page-hero-sub {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-custom-note {
    color: #c1121f;
    font-size: 0.98rem;
    font-weight: 500;
    max-width: 620px;
    margin: 28px auto 14px;
    line-height: 1.6;
}

.btn-custom-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(198, 17, 31, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-custom-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(198, 17, 31, 0.38);
    background: linear-gradient(135deg, #d62836, #a30f1b);
}

.btn-custom-request:active {
    transform: translateY(0);
}

.hero-tag-red {
    background: linear-gradient(135deg, #fdecea, #fbd5d0) !important;
    color: #c1121f !important;
}

.btn-custom-request-submit {
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #fff;
    border: none;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(198, 17, 31, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-custom-request-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(198, 17, 31, 0.38);
    background: linear-gradient(135deg, #d62836, #a30f1b);
}

/* SERVICES PAGE SECTION */
.services-section {
    padding: 80px 0 90px;
}

.service-card-wide h3 { color: var(--sage-800); }

.services-cta {
    margin-top: 60px;
    padding: 40px 36px;
    background: var(--sage-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.services-cta p {
    color: var(--sage-800);
    font-size: 1.08rem;
    font-weight: 500;
    margin: 0;
}

/* CALCULATOR PAGE */
.calculator-section {
    padding: 60px 0 90px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.calc-form {
    display: grid;
    gap: 28px;
}

.calc-question {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 28px;
}

.calc-question legend {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--sage-900);
    font-weight: 600;
    margin-bottom: 16px;
    padding: 0;
}

.calc-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.calc-options-grid {
    grid-template-columns: 1fr 1fr;
}

.calc-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 13px 18px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    color: var(--sage-800);
    font-size: 0.96rem;
    user-select: none;
}

.calc-option:hover {
    border-color: var(--sage-300);
    background: var(--sage-50);
}

.calc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calc-option:has(input:checked) {
    border-color: var(--sage-500);
    background: var(--sage-50);
    color: var(--sage-900);
    font-weight: 500;
    box-shadow: inset 0 0 0 1px var(--sage-500);
}

.calc-option:has(input:checked)::before {
    content: '✓';
    color: var(--sage-600);
    font-weight: 700;
    margin-right: 10px;
}

.calc-option-with-note small {
    margin-left: 10px;
    font-size: 0.78rem;
    color: var(--muted);
    font-style: italic;
    line-height: 1.4;
}

.calc-option-with-note small::before {
    content: '– ';
}

.calc-path {
    display: grid;
    gap: 28px;
}

.calc-path[hidden] {
    display: none;
}

.calc-input-row {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    animation: modalFadeIn .3s ease;
}

.calc-input-label {
    display: block;
}

.calc-input-label > span {
    display: block;
    font-size: 0.85rem;
    color: var(--sage-800);
    font-weight: 500;
    margin-bottom: 6px;
}

.calc-input-label input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    transition: all .2s ease;
}

.calc-input-label input:focus {
    outline: none;
    border-color: var(--sage-500);
    box-shadow: 0 0 0 3px rgba(79, 134, 101, 0.1);
}

.calc-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--muted);
    font-style: italic;
}

.calc-result-card.is-special .calc-price {
    font-size: 1.4rem;
    line-height: 1.3;
}

.calc-result {
    position: sticky;
    top: 100px;
}

.calc-result-card {
    background: linear-gradient(135deg, var(--sage-700), var(--sage-900));
    color: var(--cream);
    padding: 36px 32px 32px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(45, 75, 60, 0.22);
    position: relative;
    overflow: hidden;
}

.calc-result-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(250, 248, 243, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.calc-result-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(250, 248, 243, 0.7);
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
}

.calc-price {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 18px;
    line-height: 1.1;
    position: relative;
    transition: opacity .25s ease;
}

.calc-price.is-updating {
    opacity: 0.4;
}

.calc-result-note {
    font-size: 0.85rem;
    color: rgba(250, 248, 243, 0.75);
    margin-bottom: 22px;
    line-height: 1.55;
    position: relative;
}

.calc-result-card .btn-primary {
    background: var(--cream);
    color: var(--sage-800);
    position: relative;
}

.calc-result-card .btn-primary:hover {
    background: #fff;
    color: var(--sage-900);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .calc-result {
        position: static;
        order: -1;
    }
    .calc-options-grid {
        grid-template-columns: 1fr 1fr;
    }
    .calculator-section { padding: 40px 0 60px; }
}

/* QUOTE MODAL */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.is-open {
    display: flex;
    animation: modalFadeIn .25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 49, 39, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--cream);
    border-radius: 20px;
    padding: 34px 38px 28px;
    max-width: 480px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(29, 49, 39, 0.3);
    z-index: 1;
    animation: modalSlideUp .35s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--sage-50);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--sage-700);
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.modal-close:hover {
    background: var(--sage-200);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 18px;
}

.modal-header .hero-tag {
    margin-bottom: 10px;
    padding: 6px 14px;
    font-size: 0.78rem;
}

.modal-header h2 {
    font-size: 1.55rem;
    margin: 0 0 4px;
}

.modal-header p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

.modal-form label {
    display: block;
    margin-bottom: 10px;
}

.modal-form label > span {
    display: block;
    font-size: 0.82rem;
    color: var(--sage-800);
    font-weight: 500;
    margin-bottom: 4px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 0.94rem;
    color: var(--ink);
    transition: all .2s ease;
    resize: vertical;
}

.phone-field {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: all .2s ease;
}

.phone-field:focus-within {
    border-color: var(--sage-500);
    box-shadow: 0 0 0 3px rgba(79, 134, 101, 0.1);
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: var(--sage-50);
    color: var(--sage-800);
    font-weight: 500;
    font-size: 0.94rem;
    border-right: 1.5px solid var(--border);
    user-select: none;
}

.phone-field input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.phone-field input:focus {
    box-shadow: none !important;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--sage-500);
    box-shadow: 0 0 0 3px rgba(79, 134, 101, 0.1);
}

.modal-form button {
    margin-top: 4px;
    padding: 13px 28px;
}

.modal-note {
    text-align: center;
    margin: 10px 0 0;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.45;
}

body.modal-open {
    overflow: hidden;
}

.modal-success {
    text-align: center;
    padding: 20px 0 10px;
    animation: modalFadeIn .4s ease-out;
}

.modal-success .success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--sage-100);
    color: var(--sage-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 18px;
}

.modal-success h3 {
    font-size: 1.5rem;
    margin: 0 0 8px;
    color: var(--sage-800);
}

.modal-success p {
    color: var(--muted);
    margin: 0;
    font-size: 0.96rem;
}

@media (max-width: 540px) {
    .modal-content { padding: 40px 24px 28px; }
    .modal-header h2 { font-size: 1.5rem; }
}

/* CONTACT PAGE */
.contact-page-section {
    padding: 70px 0 50px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 50px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage-300);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sage-50);
    color: var(--sage-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all .3s ease;
}

.contact-card:hover .contact-card-icon {
    background: var(--sage-600);
    color: var(--cream);
}

.contact-card-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage-500);
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-card-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--sage-900);
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
}

a.contact-card-value:hover { color: var(--sage-600); }

.contact-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-card-head .contact-card-icon {
    margin-bottom: 0;
}

.contact-card-person {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--sage-800);
    font-weight: 500;
    line-height: 1.2;
}

.contact-hours {
    background: linear-gradient(135deg, var(--sage-50), #fff);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 40px;
    margin-bottom: 50px;
}

.contact-hours-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.contact-hours-header .contact-card-icon {
    margin-bottom: 0;
}

.contact-hours-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

.contact-hours-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 1rem;
}

.hour-row:last-child { border-bottom: none; }

.hour-day {
    color: var(--sage-800);
    font-weight: 500;
}

.hour-time {
    color: var(--sage-700);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.hour-closed {
    color: var(--muted);
    font-style: italic;
    font-size: 0.95rem;
}

.contact-hours-note {
    margin: 0;
    padding-top: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}

.contact-quick-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ABOUT PAGE */
.about-story.section {
    padding: 90px 0;
}

.values-section {
    padding: 90px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.value-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all .35s ease;
    text-align: left;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--sage-50);
    color: var(--sage-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all .3s ease;
}

.value-card:hover .value-icon {
    background: var(--sage-600);
    color: var(--cream);
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.numbers-section {
    padding: 90px 0;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: linear-gradient(135deg, var(--sage-700), var(--sage-900));
    color: var(--cream);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(45, 75, 60, 0.18);
    position: relative;
    overflow: hidden;
}

.numbers-grid::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(250, 248, 243, 0.07), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.number-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.number-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 6px;
}

.number-item .stat-em {
    color: rgba(250, 248, 243, 0.85);
    margin-left: 4px;
}

.number-item span {
    font-size: 0.92rem;
    opacity: 0.85;
}

.about-cta-section {
    padding: 0 0 100px;
}

.about-cta {
    background: var(--sage-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.about-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.about-cta p {
    color: var(--muted);
    margin: 0;
}

/* GALLERY PAGE */
.gallery-section {
    padding: 70px 0 90px;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--sage-800);
    padding: 9px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.93rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s ease;
}

.filter-btn:hover {
    border-color: var(--sage-400);
    color: var(--sage-600);
    background: var(--sage-50);
}

.filter-btn.is-active {
    background: var(--sage-600);
    border-color: var(--sage-600);
    color: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.gallery-item {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .4s ease, box-shadow .35s ease;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    aspect-ratio: 4 / 3;
    display: block;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--sage-500);
    outline-offset: 4px;
}

.gallery-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sage-100);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-placeholder {
    background: linear-gradient(135deg, var(--sage-300) 0%, var(--sage-500) 50%, var(--sage-700) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(250, 248, 243, 0.15), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(29, 49, 39, 0.18), transparent 50%);
}

.gallery-placeholder::after {
    content: '❋';
    position: absolute;
    font-size: 4rem;
    color: rgba(250, 248, 243, 0.18);
    transform: rotate(15deg);
}

.gallery-placeholder-text {
    position: relative;
    z-index: 1;
    color: rgba(250, 248, 243, 0.92);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(29, 49, 39, 0.18);
    backdrop-filter: blur(4px);
}

.gallery-info {
    padding: 20px 22px 22px;
}

.gallery-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage-500);
    margin-bottom: 8px;
}

.gallery-info h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.gallery-info p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

.gallery-note {
    margin-top: 50px;
    text-align: center;
    color: var(--muted);
    font-style: italic;
    font-size: 0.95rem;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    animation: modalFadeIn .25s ease-out;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 49, 39, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(250, 248, 243, 0.95);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    color: var(--sage-800);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all .2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.lightbox-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(250, 248, 243, 0.92);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--sage-800);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.lightbox-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

@media (max-width: 600px) {
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    animation: modalSlideUp .4s ease-out;
    object-fit: contain;
}


.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(250, 248, 243, 0.95);
    color: var(--sage-800);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev[hidden],
.lightbox-next[hidden],
.lightbox-counter[hidden] {
    display: none;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(29, 49, 39, 0.65);
    color: var(--cream);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 3;
    backdrop-filter: blur(4px);
}

@media (max-width: 600px) {
    .lightbox { padding: 16px 12px; }
    .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 1.4rem; }
}

/* SECTIONS */
.section { padding: 110px 0; }
.section-alt { background: var(--sage-50); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;
    color: var(--sage-500);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 18px;
}

.section-header p {
    color: var(--muted);
    font-size: 1.08rem;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: #fff;
    padding: 38px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sage-400), var(--sage-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--sage-50);
    color: var(--sage-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
    transition: all .3s ease;
}

.service-card:hover .service-icon {
    background: var(--sage-600);
    color: var(--cream);
    transform: rotate(-6deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.97rem;
    text-align: left;
    hyphens: manual;
    -webkit-hyphens: manual;
}

.service-card .service-emphasis {
    display: block;
    margin-top: 14px;
}

[class*="service-card-bg-"] {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
        var(--card-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-clip: border-box;
}

[class*="service-card-bg-"]:hover {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
        var(--card-bg);
}

.service-card-bg-felmeres     { --card-bg: url('kepek/1.jfif'); }
.service-card-bg-elocsovezes  { --card-bg: url('kepek/elcs.jfif'); }
.service-card-bg-leszereles   { --card-bg: url('kepek/hiba.jfif'); }
.service-card-bg-hibajavitas  { --card-bg: url('kepek/jav.jfif'); }

.card-corner-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--sage-600);
    color: var(--cream) !important;
    padding: 7px 14px 7px 11px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(45, 75, 60, 0.2);
    line-height: 1.2;
    text-decoration: none;
}

.card-corner-btn:hover {
    background: var(--sage-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(45, 75, 60, 0.28);
}

.card-corner-finger {
    flex-shrink: 0;
    animation: tapHand 1.8s ease-in-out infinite;
    transform-origin: 70% 100%;
}

/* FLIP CARDS */
.service-card-flip {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    overflow: visible !important;
    perspective: 1400px;
    box-shadow: none !important;
    display: block !important;
}

.service-card-flip:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.service-card-flip::before {
    display: none !important;
}

.card-flip-inner {
    display: grid;
    grid-template-areas: 'stack';
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 100%;
}

.card-face {
    grid-area: stack;
    background-color: #fff;
    padding: 38px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-back {
    transform: rotateY(180deg);
    background-color: var(--cream);
    border-color: var(--sage-200);
}

.service-card-flip.is-flipped .card-flip-inner {
    transform: rotateY(180deg);
}

.service-card-flip:hover .card-face {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-corner-btn-back {
    background: var(--sage-100) !important;
    color: var(--sage-700) !important;
    box-shadow: 0 4px 10px rgba(45, 75, 60, 0.1) !important;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.card-corner-btn-back:hover {
    background: var(--sage-200) !important;
    color: var(--sage-800) !important;
    transform: translateY(-2px);
}

.card-back-title {
    font-family: 'Playfair Display', serif;
    color: var(--sage-900);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 6px 0 18px;
}

.price-tier {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.price-tier:last-child { margin-bottom: 0; }

.price-tier-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 5px;
}

.price-tier-label {
    font-weight: 600;
    color: var(--sage-800);
    font-size: 0.92rem;
    line-height: 1.3;
}

.price-tier-price {
    font-family: 'Playfair Display', serif;
    color: var(--sage-700);
    font-weight: 600;
    font-size: 1.15rem;
    white-space: nowrap;
    line-height: 1;
}

.price-tier-desc {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.price-tier-featured {
    background: rgba(255, 255, 255, 0.88);
    border-color: var(--sage-300);
    box-shadow: 0 4px 12px rgba(45, 75, 60, 0.06);
}

.price-list {
    list-style: none;
    padding: 12px 16px;
    margin: 0 0 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: 12px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.92rem;
    color: var(--sage-800);
    font-weight: 500;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list .price-list-header {
    display: block;
    font-style: italic;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
}

.price-list-price {
    font-family: 'Playfair Display', serif;
    color: var(--sage-700);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.card-back-note-small {
    font-size: 0.78rem;
    color: var(--muted);
    font-style: italic;
    margin: 0 0 14px;
    text-align: left;
    line-height: 1.4;
}

.card-back-extras {
    border-top: 1px dashed var(--border);
    padding-top: 12px;
}

.card-back-extras p {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 6px;
    line-height: 1.5;
    text-align: left;
}

.card-back-extras p:last-child {
    margin-bottom: 0;
}

.card-back-extras strong {
    color: var(--sage-800);
    font-weight: 600;
}

@keyframes tapHand {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    15% { transform: translateY(-4px) rotate(-8deg); }
    30% { transform: translateY(0) rotate(0deg); }
    45% { transform: translateY(-3px) rotate(-6deg); }
    60% { transform: translateY(0) rotate(0deg); }
}

.service-card-bg-telepites    { --card-bg: url('kepek/kar.jfif'); }
.service-card-bg-karbantartas { --card-bg: url('kepek/tel.jfif'); }


.service-card .service-subtitle {
    margin-top: -10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage-900);
    letter-spacing: 0.02em;
}

.service-card .service-note {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 0.82rem;
    font-style: italic;
    color: var(--sage-700);
    opacity: 0.8;
}

/* PRODUCTS */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.product-card {
    background: linear-gradient(135deg, var(--cream) 0%, var(--sage-50) 100%);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    transition: transform .35s ease, box-shadow .35s ease;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 180px;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sage-200), var(--sage-400));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    overflow: hidden;
}

button.product-image {
    cursor: zoom-in;
    background: linear-gradient(135deg, var(--sage-50), var(--sage-100));
}

button.product-image:focus {
    outline: none;
}

button.product-image:focus-visible {
    outline: 2px solid var(--sage-500);
    outline-offset: 2px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .35s ease;
    position: relative;
    z-index: 1;
}

/* For images that have a baked-in white background — blends white to transparent */
.product-image img.img-blend-white {
    mix-blend-mode: multiply;
}

/* Sale / promo badge — top-left corner of product image */
.product-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(198, 17, 31, 0.32);
    pointer-events: none;
    line-height: 1;
}

.product-sale-badge-inline {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #fff;
    padding: 3px 9px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(198, 17, 31, 0.28);
    line-height: 1;
    margin-left: 6px;
    vertical-align: middle;
}

button.product-image:hover img {
    transform: scale(1.05);
}

button.product-image:has(img) .product-art {
    display: none;
}

.product-image[data-photos]::after {
    content: attr(data-photos);
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(250, 248, 243, 0.92);
    color: var(--sage-700);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.product-art {
    font-size: 5rem;
    color: rgba(250, 248, 243, 0.85);
    text-shadow: 0 6px 18px rgba(45, 75, 60, 0.15);
}

.product-body {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}


.product-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--sage-900);
    margin: 0;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.015em;
    cursor: pointer;
    transition: color .2s ease;
    display: inline;
}

.product-title-wrap {
    align-self: flex-start;
}

.product-title:hover,
.product-title:focus {
    color: var(--sage-500);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-color: var(--sage-500);
    outline: none;
}

/* Disable card hover transform while info modal is open
   (otherwise the card transform creates a new containing block
   for the fixed-positioned popover inside it, making it jump) */
body.modal-open .product-card:hover {
    transform: none;
    box-shadow: none;
}

/* Info modal backdrop */
.info-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(29, 49, 39, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
}

.info-modal-backdrop.is-active {
    display: block;
    animation: modalFadeIn .25s ease-out;
}

/* Info popover (now a centered modal) */
.product-details-popover {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px 36px 30px;
    box-shadow: 0 30px 80px rgba(29, 49, 39, 0.3);
    z-index: 1000;
    width: 92%;
    max-width: 680px;
    max-height: 88vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    pointer-events: none;
}

.product-details-popover.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.popover-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--sage-100);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--sage-800);
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    z-index: 2;
}

.popover-close:hover {
    background: var(--sage-200);
    transform: rotate(90deg);
}

.popover-product-name {
    margin: 0 0 18px;
    padding-right: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--sage-900);
    font-weight: 600;
    line-height: 1.3;
}

.product-details-popover h5 {
    margin: 22px 0 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sage-500);
}

.product-details-popover h5:first-of-type {
    margin-top: 0;
}

.product-details-popover dl {
    margin: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 22px;
    row-gap: 7px;
    font-size: 0.9rem;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.product-details-popover dt {
    color: var(--sage-500);
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.product-details-popover dd {
    margin: 0;
    color: var(--sage-800);
    font-weight: 500;
    text-align: right;
}

.popover-placeholder {
    margin: 0;
    padding: 18px 22px;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--muted);
    font-style: italic;
    text-align: center;
    font-size: 0.88rem;
}

.product-features {
    list-style: none;
    padding: 18px 22px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    columns: 2;
    column-gap: 30px;
    font-size: 0.86rem;
    color: var(--sage-800);
}

.product-features li {
    line-height: 1.45;
    margin: 0 0 9px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.product-features li:last-child {
    margin-bottom: 0;
}

.product-features li::before {
    content: '✓';
    color: var(--sage-500);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.45;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .product-features { columns: 1; }
    .product-details-popover { padding: 28px 22px 22px; }
}

.product-specs {
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 18px;
    row-gap: 5px;
    align-items: baseline;
}

.product-specs dt {
    color: var(--sage-500);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.product-specs dd {
    margin: 0;
    color: var(--sage-900);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.2;
}

.product-specs dd .spec-sub {
    color: var(--sage-500);
    font-weight: 400;
    margin-left: 2px;
    font-size: 0.85em;
}

/* Spec grid layout — 3 rows of varied cards */
.spec-grid {
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.spec-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.spec-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

/* Row 1: Performance cards (colored) */
.spec-card {
    border-radius: 10px;
    padding: 7px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1px;
    border: 1px solid transparent;
}

.spec-card-icon {
    font-size: 1.05rem;
    line-height: 1;
    margin-bottom: 1px;
}

.spec-card-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    opacity: 0.75;
}

.spec-card-value {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
}

.spec-card-cool {
    background: linear-gradient(135deg, #e7f1fa, #d2e6f2);
    color: #2c5870;
    border-color: #b9d6e7;
}

.spec-card-heat {
    background: linear-gradient(135deg, #fdf0e2, #f8dcbc);
    color: #884a17;
    border-color: #efc796;
}

.spec-card-room {
    background: linear-gradient(135deg, var(--sage-100), var(--sage-200));
    color: var(--sage-800);
    border-color: var(--sage-300);
}

/* Row 2: Energy class badges */
.spec-energy {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.spec-energy-label {
    font-size: 0.72rem;
    color: var(--sage-700);
    font-weight: 500;
}

.spec-energy-badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
    color: #fff;
    flex-shrink: 0;
}

/* Energy class color codes — same class = same color, EU label inspired */
.spec-energy-aaa   { background: linear-gradient(135deg, #2d8a4f, #1a5e35); }  /* A+++ */
.spec-energy-aa    { background: linear-gradient(135deg, #4caf50, #2e7d32); }  /* A++  */
.spec-energy-aplus { background: linear-gradient(135deg, #8bc34a, #689f38); }  /* A+   */
.spec-energy-a     { background: linear-gradient(135deg, #cddc39, #afb42b); color: #1d3127; }  /* A */
.spec-energy-b     { background: linear-gradient(135deg, #ffc107, #ffa000); color: #1d3127; }  /* B */
.spec-energy-c     { background: linear-gradient(135deg, #ff9800, #f57c00); }  /* C */
.spec-energy-d     { background: linear-gradient(135deg, #ff7043, #e64a19); }  /* D */
.spec-energy-e     { background: linear-gradient(135deg, #f44336, #d32f2f); }  /* E */
.spec-energy-empty { background: linear-gradient(135deg, #b8c0bb, #8a938e); }  /* — placeholder */

/* Backwards-compatibility aliases */
.spec-energy-good { background: linear-gradient(135deg, #2d8a4f, #1a5e35); }
.spec-energy-mid  { background: linear-gradient(135deg, #b8c0bb, #8a938e); }

/* Row 3: Extras chips (compact) */
.spec-chip {
    background: var(--sage-50);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--sage-800);
    justify-content: center;
}

.spec-chip-icon {
    color: var(--sage-600);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.spec-chip strong {
    color: var(--sage-900);
    font-weight: 700;
}

.product-actions {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
}

.product-action-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all .25s ease;
}

.product-action-col:hover {
    border-color: var(--sage-400);
    box-shadow: 0 4px 14px rgba(45, 75, 60, 0.1);
}

.product-action-price {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--sage-700);
    padding: 6px 12px;
    text-align: center;
    background: var(--sage-50);
    border-bottom: 1px solid var(--border);
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-action-price:empty::before {
    content: '— Ft';
    color: var(--sage-300);
    font-weight: 500;
    font-style: italic;
}

.product-action-price-oos {
    color: #c0392b;
    background: #fdecea;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.product-action-price-sale {
    color: #c1121f;
}

.product-action-original {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--sage-800);
    text-align: center;
    padding: 0 12px 6px;
    background: var(--sage-50);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.01em;
}

.product-action-original s {
    color: var(--sage-800);
    text-decoration-color: #c1121f;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: none;
}

.product-action-price + .product-action-original {
    margin-top: -6px;
}

.product-action-price:has(+ .product-action-original) {
    border-bottom: none;
    padding-bottom: 2px;
}

.product-action-btn {
    background: var(--sage-600);
    color: var(--cream);
    border: none;
    padding: 7px 16px;
    border-radius: 0;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.product-action-btn:hover {
    background: var(--sage-700);
}

.product-desc {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 22px;
    min-height: 50px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--sage-700);
    font-weight: 600;
}

.product-link {
    color: var(--sage-600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap .2s ease;
}

.product-link:hover { color: var(--sage-800); }

.products-section {
    padding: 70px 0 90px;
}

.product-brand {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sage-500);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 14px;
}

.product-spec {
    font-size: 0.74rem;
    color: var(--sage-700);
    background: var(--sage-50);
    border: 1px solid var(--sage-100);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 500;
}

/* PRODUCTS PAGE — filter layout */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: start;
}

.product-filters {
    position: sticky;
    top: 90px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 18px 14px;
}

.filter-title {
    font-size: 1.05rem;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.filter-group {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-of-type {
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sage-500);
    margin: 0 0 8px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 3px 0;
    cursor: pointer;
    user-select: none;
    font-size: 0.88rem;
    color: var(--sage-800);
}

.filter-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--sage-600);
    cursor: pointer;
    flex-shrink: 0;
}

.filter-check small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 400;
}

/* Range slider */
.price-range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sage-700);
    font-family: 'Playfair Display', serif;
}

.range-slider-wrap {
    position: relative;
    height: 32px;
    margin: 0 8px;
}

.range-track {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sage-100);
    border-radius: 2px;
}

.range-fill {
    position: absolute;
    top: 14px;
    height: 4px;
    background: var(--sage-500);
    border-radius: 2px;
    left: 0;
    right: 0;
}

.range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--sage-600);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(45, 75, 60, 0.2);
    transition: transform .15s ease;
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--sage-600);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(45, 75, 60, 0.2);
    transition: transform .15s ease;
}

.range-input::-moz-range-thumb:hover {
    transform: scale(1.15);
}

.range-input::-webkit-slider-runnable-track {
    background: transparent;
    border: none;
}

.range-input::-moz-range-track {
    background: transparent;
    border: none;
}

/* Brand chips */
.brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.brand-chip {
    position: relative;
    cursor: pointer;
    user-select: none;
    display: block;
}

.brand-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.brand-name {
    display: block;
    text-align: center;
    padding: 6px 10px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sage-800);
    transition: all .2s ease;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-chip:hover .brand-name {
    border-color: var(--sage-300);
}

.brand-chip:has(input:checked) .brand-name {
    background: var(--sage-600);
    color: var(--cream);
    border-color: var(--sage-600);
}

/* Brand-specific font styling — approximating brand identity */
.brand-midea     { font-family: 'Inter', sans-serif; letter-spacing: 0.02em; }
.brand-gree      { font-family: 'Inter', sans-serif; letter-spacing: 0.04em; font-weight: 700; }
.brand-fisher    { font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; }
.brand-aux       { font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; }
.brand-fujitsu   { font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.01em; }
.brand-lg        { font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; }
.brand-mdv       { font-family: 'Inter', sans-serif; font-size: 0.76rem; }
.brand-panasonic { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.brand-polar     { font-family: 'Inter', sans-serif; letter-spacing: 0.05em; font-weight: 600; }
.brand-syen      { font-family: 'Inter', sans-serif; letter-spacing: 0.03em; font-weight: 600; }

/* Reset button */
.filter-reset {
    width: 100%;
    background: transparent;
    border: 1.5px dashed var(--sage-300);
    color: var(--sage-700);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.83rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}

.filter-reset:hover {
    background: var(--sage-50);
    border-style: solid;
}

/* Products controls bar */
.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding: 14px 18px;
    background: var(--sage-50);
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
}

.products-count {
    color: var(--sage-800);
    font-weight: 500;
    font-size: 0.93rem;
}

.products-count span {
    font-family: 'Playfair Display', serif;
    color: var(--sage-700);
    font-weight: 600;
    font-size: 1.05rem;
    margin-right: 2px;
}

.sort-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sort-btn {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--sage-800);
    padding: 6px 12px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.83rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}

.sort-btn:hover {
    border-color: var(--sage-300);
    color: var(--sage-600);
}

.sort-btn.is-active {
    background: var(--sage-600);
    color: var(--cream);
    border-color: var(--sage-600);
}

.sort-btn-sale {
    background: #fff;
    color: #c1121f;
    border-color: var(--border);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.sort-btn-sale:hover {
    background: #fff;
    color: #c1121f;
    border-color: #e63946;
}

.sort-btn-sale.is-active {
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(198, 17, 31, 0.32);
}

.product-card.is-hidden {
    display: none;
}

.no-products-msg {
    text-align: center;
    padding: 50px 20px;
    color: var(--muted);
    font-style: italic;
    background: var(--sage-50);
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border);
}

@media (max-width: 900px) {
    .products-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .product-filters {
        position: static;
    }
    .products-section { padding: 50px 0 70px; }
}

@media (max-width: 600px) {
    .product-card {
        grid-template-columns: 140px 1fr;
        min-height: 140px;
    }
}

@media (max-width: 900px) {
    .products-section { padding: 50px 0 70px; }
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin: 14px 0 22px;
}

.about-text > p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.about-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    font-weight: 500;
}

.check {
    width: 28px;
    height: 28px;
    background: var(--sage-100);
    color: var(--sage-600);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: linear-gradient(135deg, var(--sage-600), var(--sage-800));
    color: var(--cream);
    padding: 60px 50px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(45, 75, 60, 0.25);
    transform: rotate(-2deg);
    transition: transform .4s ease;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(250, 248, 243, 0.12), transparent 70%);
    border-radius: 50%;
}

.visual-card:hover { transform: rotate(0); }

.visual-big {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.visual-small {
    display: block;
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.5;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form label {
    display: block;
}

.contact-form label span {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--sage-800);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-family: inherit;
    font-size: 0.97rem;
    color: var(--ink);
    transition: all .25s ease;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 134, 101, 0.1);
}

.form-note {
    text-align: center;
    color: var(--sage-600);
    font-weight: 500;
    font-size: 0.95rem;
    min-height: 1.2em;
}

.contact-info {
    display: grid;
    gap: 22px;
    align-content: start;
}

.info-item {
    background: #fff;
    padding: 22px 24px;
    border-radius: var(--radius);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid var(--border);
    transition: all .25s ease;
}

.info-item:hover {
    border-color: var(--sage-300);
    transform: translateX(4px);
}

.info-icon {
    width: 42px;
    height: 42px;
    background: var(--sage-50);
    color: var(--sage-600);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--sage-800);
    margin-bottom: 4px;
}

.info-item a, .info-item span {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-item a:hover { color: var(--sage-600); }

/* FOOTER */
.footer {
    background: var(--sage-900);
    color: rgba(250, 248, 243, 0.85);
    padding: 70px 0 30px;
}

.footer .container {
    max-width: 1320px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2.8fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(250, 248, 243, 0.12);
}

.footer ul:has(.footer-contact-block) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.footer-placeholder {
    margin-top: 16px;
    color: rgba(250, 248, 243, 0.55);
    font-size: 0.92rem;
    font-style: italic;
    max-width: 280px;
}

.logo-footer { color: var(--cream); }
.logo-footer .logo-text { color: var(--cream); }
.logo-footer .logo-accent { color: var(--sage-300); }

.footer-tag {
    margin-top: 16px;
    color: rgba(250, 248, 243, 0.65);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer h4 {
    color: var(--cream);
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: 0.94rem;
}

.footer-contact-block {
    padding: 0 16px;
    border-right: 1px solid rgba(250, 248, 243, 0.1);
}

.footer-contact-block:first-child { padding-left: 0; }
.footer-contact-block:last-child { padding-right: 0; border-right: none; }

.footer-contact-block a {
    white-space: nowrap;
}

.footer-contact-role {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(250, 248, 243, 0.5);
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-contact-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.98rem;
    color: var(--cream);
    font-weight: 500;
    margin-bottom: 4px;
    font-style: italic;
}

.footer-contact-block a {
    font-size: 0.95rem;
    color: rgba(250, 248, 243, 0.9);
}

.footer a:hover { color: var(--sage-300); }

.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.86rem;
    color: rgba(250, 248, 243, 0.55);
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas: "text" "visual" "stats";
        gap: 50px;
        text-align: left;
    }
    .hero-image-wrap { max-width: 420px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer ul:has(.footer-contact-block) { grid-template-columns: 1fr; }
    .footer-contact-block {
        padding: 12px 0;
        border-right: none;
        border-bottom: 1px solid rgba(250, 248, 243, 0.08);
    }
    .footer-contact-block:first-child { padding-top: 0; }
    .footer-contact-block:last-child { padding-bottom: 0; border-bottom: none; }
    .section { padding: 80px 0; }
    .services-section { padding: 60px 0 70px; }
    .page-hero { padding: 50px 0 45px; }
    .services-cta { flex-direction: column; text-align: center; padding: 32px 24px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .gallery-section { padding: 50px 0 70px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
    .about-cta { flex-direction: column; text-align: center; padding: 36px 28px; }
    .about-story.section, .values-section, .numbers-section { padding: 60px 0; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-hours { padding: 30px 26px; }
    .contact-page-section { padding: 50px 0 36px; }
    .hero { padding: 50px 0 36px; }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .filter-btn { padding: 8px 16px; font-size: 0.88rem; }
}

@media (max-width: 720px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px 28px;
        gap: 18px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all .25s ease;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-cta { text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-stats { gap: 28px; }
    .stat strong { font-size: 1.8rem; }
    .visual-card { padding: 44px 32px; }
    .visual-big { font-size: 3rem; }
}


/* LEGAL PAGE (ÁSZF / Adatvédelem) */
.legal-section {
    padding: 60px 0 90px;
    background: var(--cream);
}

.legal-container {
    max-width: 860px;
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--sage-800);
    margin: 42px 0 14px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.legal-section h2:first-of-type {
    border-top: none;
    margin-top: 28px;
    padding-top: 0;
}

.legal-section p {
    font-family: 'Inter', sans-serif;
    color: var(--sage-800);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 14px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-justify: inter-word;
}

.legal-list li {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.legal-section p strong {
    color: var(--sage-900);
    font-weight: 600;
}

.legal-section a {
    color: var(--sage-600);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-section a:hover { color: var(--sage-800); }

.legal-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 18px;
}

.legal-list li {
    position: relative;
    padding-left: 22px;
    font-family: 'Inter', sans-serif;
    color: var(--sage-800);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--sage-500);
    font-size: 0.7rem;
}

.legal-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    color: var(--muted);
    font-style: italic;
    margin: 0 0 28px;
    padding: 8px 16px;
    background: var(--sage-50);
    border-left: 3px solid var(--sage-300);
    border-radius: 4px;
}

.legal-meta-bottom {
    margin-top: 40px;
    text-align: right;
    border-left: none;
    border-right: 3px solid var(--sage-300);
    background: var(--sage-50);
}

.legal-intro {
    margin: 0 0 36px;
    padding: 28px 32px;
    background: var(--sage-50);
    border-left: 3px solid var(--sage-400);
    border-radius: 6px;
}

.legal-intro p {
    margin: 0 0 18px;
    line-height: 1.85;
    font-size: 0.98rem;
    color: var(--sage-800);
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-justify: inter-word;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-note {
    margin-top: 14px !important;
    padding: 12px 18px;
    background: var(--sage-50);
    border-left: 3px solid var(--sage-500);
    border-radius: 4px;
    font-size: 0.92rem !important;
    font-style: italic;
    color: var(--sage-800) !important;
}

.legal-subheading {
    margin: 22px 0 10px !important;
    font-size: 0.98rem !important;
    color: var(--sage-900) !important;
    padding-left: 4px;
    border-left: 3px solid var(--sage-400);
    padding: 8px 14px;
    background: var(--sage-50);
    border-radius: 4px;
    text-align: left !important;
}

.legal-process {
    margin: 12px 0 24px 32px;
    padding: 22px 26px;
    background: var(--sage-50);
    border-left: 3px solid var(--sage-500);
    border-radius: 6px;
}

.legal-process-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    color: var(--sage-900) !important;
}

.legal-process .legal-subheading {
    background: rgba(255, 255, 255, 0.6);
    border-left-color: var(--sage-600);
    margin-top: 18px !important;
}

.legal-process ul.legal-list {
    margin-bottom: 12px;
}

.legal-process ul.legal-list:last-child {
    margin-bottom: 0;
}

.legal-list-nested {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    margin-left: 14px;
}

.legal-list-nested li {
    font-size: 0.93rem;
}

.legal-toc {
    margin: 32px 0 40px;
    padding: 22px 28px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-left: 4px solid var(--sage-500);
    border-radius: 6px;
}

.legal-toc-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.15rem !important;
    color: var(--sage-800) !important;
    margin: 0 0 14px !important;
    border: none !important;
    padding: 0 !important;
}

.legal-toc-list {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 28px;
}

.legal-toc-list li {
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.94rem;
    color: var(--sage-700);
    break-inside: avoid;
}

.legal-toc-list a {
    color: var(--sage-700);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-toc-list a:hover {
    color: #c1121f;
    text-decoration: underline;
}

@media (max-width: 720px) {
    .legal-toc-list {
        columns: 1;
    }
}

html { scroll-behavior: smooth; }

.legal-section h2[id^="fej-"] {
    scroll-margin-top: 100px;
}

/* Mobile optimizations for legal pages (ÁSZF, Adatkezelési, Impresszum) */
@media (max-width: 720px) {
    .legal-section {
        padding: 36px 0 60px;
    }
    .legal-container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .legal-section h2 {
        font-size: 1.25rem;
        margin: 32px 0 12px;
    }
    .legal-section p,
    .legal-list li {
        font-size: 0.92rem;
        line-height: 1.7;
    }
    .legal-intro {
        padding: 18px 16px;
        margin-bottom: 28px;
    }
    .legal-intro p {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
    .legal-intro p:first-child {
        font-size: 0.98rem;
    }
    .legal-process {
        margin: 12px 0 24px 0;
        padding: 16px 14px;
    }
    .legal-list {
        margin: 8px 0 14px;
    }
    .legal-list li {
        padding-left: 18px;
        margin-bottom: 6px;
    }
    .legal-list-nested {
        padding-left: 4px;
    }
    .legal-note {
        padding: 12px 14px;
        font-size: 0.88rem !important;
    }
    .legal-subheading {
        font-size: 0.95rem;
        padding: 8px 14px;
    }
    .legal-toc {
        padding: 16px 16px;
        margin: 20px 0 28px;
    }
    .legal-toc-title {
        font-size: 1.05rem !important;
        margin-bottom: 10px !important;
    }
    .legal-toc-list li {
        font-size: 0.9rem;
    }
    .legal-meta {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    .legal-section h2[id^="fej-"] {
        scroll-margin-top: 80px;
    }
    /* Avoid horizontal overflow from long URLs/words */
    .legal-section {
        word-break: break-word;
    }
}

@media (max-width: 420px) {
    .legal-section h2 {
        font-size: 1.15rem;
    }
    .legal-section p,
    .legal-list li {
        font-size: 0.88rem;
    }
}

/* Modal mobile improvements (Ajánlatkérés + Másmilyen gépet szeretnék) */
@media (max-width: 540px) {
    .modal {
        padding: 12px;
        align-items: flex-start;
    }
    .modal-content {
        padding: 28px 20px 22px;
        max-width: 100%;
        max-height: calc(100vh - 24px);
        margin-top: 12px;
        border-radius: 16px;
    }
    .modal-header {
        margin-bottom: 14px;
    }
    .modal-header h2 {
        font-size: 1.35rem;
        margin: 8px 0;
    }
    .modal-header p {
        font-size: 0.9rem;
    }
    .modal-form label {
        font-size: 0.85rem;
    }
    .modal-form label > span {
        margin-bottom: 4px;
    }
    .modal-form input,
    .modal-form textarea {
        font-size: 16px;
        padding: 10px 12px;
    }
    .modal-form textarea {
        min-height: 70px;
    }
    .phone-prefix {
        font-size: 16px;
    }
    .modal-form .btn-block,
    .modal-form .btn-custom-request-submit {
        font-size: 0.95rem;
        padding: 12px 18px;
        margin-top: 6px;
    }
    .modal-note {
        font-size: 0.78rem;
        margin-top: 8px;
        line-height: 1.4;
    }
    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
}

@media (max-width: 380px) {
    .modal-content {
        padding: 22px 16px 18px;
    }
    .modal-header h2 {
        font-size: 1.2rem;
    }
}

/* Compact modal layout on mobile so the form fits without scrolling */
@media (max-width: 540px) {
    .modal-content {
        padding: 22px 18px 16px;
    }
    .modal-header {
        margin-bottom: 10px;
    }
    .modal-header .hero-tag {
        font-size: 0.65rem;
        padding: 3px 10px;
        margin-bottom: 6px;
    }
    .modal-header h2 {
        font-size: 1.2rem;
        margin: 6px 0 4px;
    }
    .modal-header p {
        font-size: 0.82rem;
        margin: 0;
        line-height: 1.4;
    }
    .modal-form {
        gap: 8px;
    }
    .modal-form label {
        font-size: 0.8rem;
    }
    .modal-form label > span {
        margin-bottom: 3px;
        font-size: 0.78rem;
    }
    .modal-form input,
    .modal-form textarea {
        padding: 8px 10px;
    }
    .modal-form textarea {
        min-height: 56px;
        rows: 2;
    }
    .modal-form .btn-block,
    .modal-form .btn-custom-request-submit {
        padding: 11px 16px;
        margin-top: 4px;
    }
    .modal-note {
        font-size: 0.72rem;
        margin-top: 5px;
        line-height: 1.3;
    }
}

@media (max-width: 380px) {
    .modal-content {
        padding: 18px 14px 14px;
    }
    .modal-header h2 {
        font-size: 1.1rem;
    }
    .modal-header p {
        font-size: 0.78rem;
    }
    .modal-form textarea {
        min-height: 48px;
    }
    .modal-note {
        font-size: 0.7rem;
    }
}

/* Contact page mobile (kapcsolat.html) */
@media (max-width: 720px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 32px;
    }
    .contact-card {
        padding: 22px 20px;
    }
    .contact-card-head {
        margin-bottom: 14px;
        gap: 12px;
    }
    .contact-card-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
    }
    .contact-card-icon svg {
        width: 22px;
        height: 22px;
    }
    .contact-card-label {
        font-size: 0.72rem;
    }
    .contact-card-value {
        font-size: 1.05rem;
    }
    .contact-card-person {
        font-size: 0.95rem;
    }
    .contact-hours {
        padding: 24px 20px;
        margin-bottom: 32px;
    }
    .contact-hours-header {
        gap: 14px;
        margin-bottom: 18px;
    }
    .contact-hours-header h3 {
        font-size: 1.15rem;
    }
    .hour-row {
        padding: 10px 0;
        font-size: 0.95rem;
    }
    .hour-time {
        font-size: 1rem;
    }
    .contact-page-section {
        padding: 40px 0 28px;
    }
}

@media (max-width: 380px) {
    .contact-card {
        padding: 18px 16px;
    }
    .contact-card-value {
        font-size: 1rem;
    }
}

/* Hero stats mobile improvements (homepage bottom) */
@media (max-width: 720px) {
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding-top: 28px;
        justify-items: center;
    }
    .stat {
        text-align: center;
        min-width: 0;
        width: 100%;
    }
    .stat strong {
        font-size: 1.5rem;
        line-height: 1.15;
    }
    .stat-em {
        display: block;
        font-size: 0.7em;
        margin-left: 0;
        margin-top: 2px;
        white-space: nowrap;
    }
    .stat span {
        font-size: 0.78rem;
        margin-top: 4px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 8px;
    }
    .stat strong {
        font-size: 1.25rem;
    }
    .stat-em {
        font-size: 0.65em;
    }
    .stat span {
        font-size: 0.72rem;
    }
}

@media (max-width: 360px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 20px;
    }
    .stat strong {
        font-size: 1.6rem;
    }
    .stat-em {
        display: inline;
        font-size: 0.75em;
        margin-left: 4px;
    }
    .stat span {
        font-size: 0.88rem;
    }
}

/* Product cards mobile improvements (termekek.html) */
@media (max-width: 600px) {
    .product-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .product-image {
        height: 180px;
        min-height: 180px;
    }
    .product-image img {
        padding: 18px;
    }
    .product-body {
        padding: 16px 16px 18px;
    }
    .product-title {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    .spec-grid {
        gap: 6px;
    }
    .spec-row {
        gap: 6px;
    }
    .spec-card {
        padding: 7px 6px;
    }
    .spec-card-icon {
        font-size: 1rem;
    }
    .spec-card-label {
        font-size: 0.62rem;
    }
    .spec-card-value {
        font-size: 0.82rem;
    }
    .spec-energy-label {
        font-size: 0.62rem;
    }
    .spec-energy-badge {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    .spec-chip {
        padding: 6px 8px;
        font-size: 0.72rem;
    }
    .product-actions {
        gap: 8px;
        padding-top: 10px;
    }
    .product-action-price {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    .product-action-original {
        font-size: 0.68rem;
        padding: 0 8px 4px;
    }
    .product-action-btn {
        padding: 9px 10px;
        font-size: 0.78rem;
    }
    .product-sale-badge {
        top: 8px;
        left: 8px;
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

@media (max-width: 420px) {
    .product-image {
        height: 150px;
        min-height: 150px;
    }
    .product-actions {
        flex-direction: column;
    }
    .product-action-col {
        width: 100%;
    }
}

/* Tablet / iPad portrait optimizations (720px - 900px) */
@media (min-width: 721px) and (max-width: 900px) {
    /* Show hamburger menu on iPad portrait too (full menu was cramped) */
    .menu-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px 28px;
        gap: 18px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all .25s ease;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-cta { text-align: center; }

    /* Contact cards: 2 columns (instead of 3) */
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero a bit smaller */
    .hero h1 { font-size: 2.6rem; }
    .hero-stats { gap: 36px; }
    .stat strong { font-size: 1.9rem; }

    /* Product cards more breathing room */
    .product-card {
        grid-template-columns: 200px 1fr;
    }
    .product-body {
        padding: 14px 16px;
    }
}

/* Notebook / smaller laptop tweaks (900px - 1200px) */
@media (min-width: 901px) and (max-width: 1200px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .hero h1 { font-size: 2.8rem; }
    .hero-content { gap: 36px; }
    .product-card {
        grid-template-columns: 220px 1fr;
    }
}

/* About page (rolunk.html) mobile + tablet optimizations */
@media (max-width: 900px) {
    .about-grid {
        gap: 48px !important;
    }
    .visual-card {
        padding: 50px 36px;
        transform: rotate(-1deg);
    }
    .visual-big {
        font-size: 3.5rem;
    }
    .visual-small {
        font-size: 0.95rem;
    }
}

@media (max-width: 720px) {
    .about-story.section,
    .values-section,
    .numbers-section {
        padding: 50px 0;
    }
    .about-grid {
        gap: 36px !important;
    }
    .about-text h2 {
        font-size: 1.6rem;
        margin: 10px 0 16px;
    }
    .about-text > p {
        font-size: 0.95rem;
        margin-bottom: 18px;
        line-height: 1.7;
    }
    .about-list {
        gap: 10px;
    }
    .about-list li {
        font-size: 0.92rem;
        gap: 10px;
    }
    .check {
        width: 24px;
        height: 24px;
        font-size: 0.78rem;
    }
    .visual-card {
        padding: 36px 28px;
        border-radius: 18px;
        transform: rotate(0);
    }
    .visual-big {
        font-size: 2.8rem;
    }
    .visual-small {
        font-size: 0.88rem;
        line-height: 1.4;
    }
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
    .value-card {
        padding: 24px 20px;
    }
    .value-card h3 {
        font-size: 1.1rem;
    }
    .value-card p {
        font-size: 0.92rem;
        line-height: 1.6;
    }
    .value-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }
    .value-icon svg {
        width: 26px;
        height: 26px;
    }
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 28px 18px !important;
    }
    .number-item strong {
        font-size: 1.6rem;
        line-height: 1.15;
    }
    .number-item span {
        font-size: 0.78rem;
        margin-top: 4px;
    }
    .about-cta {
        padding: 28px 22px !important;
        gap: 18px;
    }
    .about-cta h2 {
        font-size: 1.3rem;
    }
    .about-cta p {
        font-size: 0.92rem;
    }
}

@media (max-width: 420px) {
    .about-text h2 {
        font-size: 1.4rem;
    }
    .visual-big {
        font-size: 2.4rem;
    }
    .numbers-grid {
        grid-template-columns: 1fr;
    }
    .number-item strong {
        font-size: 1.8rem;
    }
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 720px;
    margin: 0 auto;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 26px;
    box-shadow: 0 20px 60px rgba(45, 75, 60, 0.25);
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    animation: cookieSlideUp 0.4s ease-out;
}

.cookie-banner.is-visible {
    display: flex;
}

@keyframes cookieSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
    flex: 1 1 320px;
    min-width: 0;
}

.cookie-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--sage-900);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-banner-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--sage-800);
    margin: 0;
    line-height: 1.55;
}

.cookie-banner-text a {
    color: var(--sage-600);
    text-decoration: underline;
}

.cookie-banner-text a:hover { color: var(--sage-800); }

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    padding: 11px 22px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--sage-600);
    color: var(--cream);
}

.cookie-btn-accept:hover {
    background: var(--sage-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 75, 60, 0.25);
}

.cookie-btn-info {
    background: transparent;
    color: var(--sage-700);
    border: 1px solid var(--sage-300);
}

.cookie-btn-info:hover {
    background: var(--sage-50);
    color: var(--sage-800);
}

@media (max-width: 600px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 18px 20px;
        gap: 14px;
        border-radius: 14px;
    }
    .cookie-banner-title {
        font-size: 1rem;
    }
    .cookie-banner-text {
        font-size: 0.82rem;
    }
    .cookie-banner-actions {
        width: 100%;
        flex-direction: column-reverse;
        gap: 8px;
    }
    .cookie-btn {
        width: 100%;
        padding: 11px 18px;
    }
}
