/* ========================================================
   FPRedőny – Milky Coffee Brown Theme
   ======================================================== */

/* ----- Custom properties ----- */
:root {
    /* Colour palette */
    --bg:              #FAF6EF;
    --surface:         #FFFFFF;
    --surface-warm:    #F4EAD8;
    --surface-warm2:   #EDD9C0;
    --border:          #E2CEBC;
    --border-light:    #EDD9C0;

    /* Coffee tones */
    --coffee-100: #F0E0CA;
    --coffee-200: #DBBF9B;
    --coffee-300: #C49B6E;
    --coffee-400: #A87A48;
    --coffee-500: #8A6130;
    --coffee-600: #6B4A22;
    --coffee-700: #4D3318;

    /* Semantic */
    --accent:       var(--coffee-400);
    --accent-hover: var(--coffee-500);
    --text:         #2B1D0E;
    --text-muted:   #7A5C42;
    --text-light:   #9B7E65;
    --link:         var(--coffee-500);
    --link-hover:   var(--coffee-600);
    --white:        #FFFFFF;
    --success:      #2d7a4e;
    --error:        #b91c1c;

    /* Layout */
    --container-max: 1100px;
    --container-pad: 1.25rem;

    /* Radius */
    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(90,60,20,.08);
    --shadow-sm: 0 2px 8px rgba(90,60,20,.10);
    --shadow:    0 4px 16px rgba(90,60,20,.12);
    --shadow-lg: 0 8px 32px rgba(90,60,20,.14);

    /* Typography */
    --font:        'Inter', system-ui, sans-serif;
    --font-size:   1rem;
    --line-height: 1.7;
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
a:hover, a:focus { color: var(--link-hover); }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .35rem; }
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; color: var(--text); }

/* ----- Layout helpers ----- */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section { padding: 3.5rem 0; }
.section--warm { background: var(--surface-warm); }
.section--white { background: var(--surface); }
.section--coffee { background: var(--coffee-600); color: var(--white); }
.section--coffee h2,
.section--coffee h3,
.section--coffee p { color: var(--white); }

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem 1.4rem;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn i { width: 1em; height: 1em; flex-shrink: 0; }

.btn-primary {
    background: var(--coffee-500);
    color: var(--white);
    border-color: var(--coffee-500);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--coffee-600);
    border-color: var(--coffee-600);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--coffee-600);
    border-color: var(--coffee-400);
}
.btn-outline:hover, .btn-outline:focus {
    background: var(--coffee-100);
    color: var(--coffee-700);
}

.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }

/* ----- Header ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}
.site-logo:hover, .site-logo:focus { color: var(--accent); }

.logo-icon {
    width: 2.4rem; height: 2.4rem;
    background: var(--coffee-500);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}
.logo-icon i { width: 1.3rem; height: 1.3rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-brand { font-size: 1.1rem; font-weight: 700; }
.logo-sub { font-size: .72rem; color: var(--text-muted); font-weight: 400; letter-spacing: .03em; }

.header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--coffee-600);
    text-decoration: none;
    font-size: .95rem;
    padding: .4rem .6rem;
    border-radius: var(--radius-sm);
    transition: background .2s;
}
.header-phone:hover { background: var(--coffee-100); color: var(--coffee-700); }
.header-phone i { width: 1.1rem; height: 1.1rem; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: background .2s;
}
.nav-toggle:hover { background: var(--coffee-100); }
.nav-toggle i { width: 1.5rem; height: 1.5rem; }

/* ----- Navigation ----- */
.main-nav {
    background: var(--coffee-700);
    border-bottom: 2px solid var(--coffee-600);
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
    flex-wrap: wrap;
    align-items: stretch;
}
.nav-list li { margin-top: 0; }
.nav-item--mobile-only { display: none; }

.nav-link {
    display: block;
    padding: .75rem 1rem;
    color: var(--coffee-100);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .02em;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.nav-link:hover, .nav-link:focus {
    background: var(--coffee-600);
    color: var(--white);
}
.nav-link.is-active {
    background: var(--coffee-500);
    color: var(--white);
    font-weight: 600;
}
.nav-link--cta {
    margin-left: auto;
    background: var(--coffee-400);
    color: var(--white);
    font-weight: 600;
}
.nav-link--cta:hover { background: var(--coffee-300); color: var(--coffee-700); }

/* ----- Hero section ----- */
.hero {
    background: linear-gradient(135deg, var(--coffee-700) 0%, var(--coffee-600) 50%, var(--coffee-500) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center;
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px;
    padding: .3rem .85rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--coffee-100);
    margin-bottom: 1rem;
}
.hero__badge i { width: .9rem; height: .9rem; }

.hero__title {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: .75rem;
}
.hero__title span { color: var(--coffee-200); }

.hero__lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 1.75rem;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.hero__image-wrap {
    flex-shrink: 0;
}

.hero__trust {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.hero__trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .88rem;
    color: rgba(255,255,255,.8);
}
.hero__trust-item i { color: var(--coffee-200); width: 1.1rem; height: 1.1rem; }

/* ----- Service cards ----- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    text-decoration: none;
    color: var(--text);
}
.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: var(--coffee-300);
    color: var(--text);
}

.service-card__icon {
    width: 3rem; height: 3rem;
    background: var(--coffee-100);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--coffee-600);
    transition: background .2s;
}
.service-card:hover .service-card__icon { background: var(--coffee-200); }
.service-card__icon i { width: 1.5rem; height: 1.5rem; }

.service-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--coffee-700);
}

.service-card__desc {
    font-size: .9rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.service-card__arrow {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--coffee-500);
}
.service-card__arrow i { width: 1rem; height: 1rem; transition: transform .2s; }
.service-card:hover .service-card__arrow i { transform: translateX(4px); }

/* ----- Why us / USP ----- */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.usp-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    border-left: 4px solid var(--coffee-400);
    box-shadow: var(--shadow-xs);
}

.usp-card__icon {
    color: var(--coffee-500);
    margin-bottom: .6rem;
}
.usp-card__icon i { width: 1.75rem; height: 1.75rem; }

.usp-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.usp-card__text {
    font-size: .9rem;
    color: var(--text-muted);
}

/* ----- Content page layout ----- */
.page-header {
    background: var(--surface-warm);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}

.page-header__label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--coffee-500);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .6rem;
}
.page-header__label i { width: 1rem; height: 1rem; }

.page-header__label--local {
    margin-top: .75rem;
    margin-bottom: 0;
    color: var(--coffee-400);
    font-size: .8rem;
}

/* Service page local intro box */
.info-box--local {
    background: var(--surface-warm);
    border-left-color: var(--coffee-500);
    font-style: italic;
    font-size: .97rem;
}

/* Local intro paragraph on homepage */
.local-intro {
    background: var(--coffee-100);
    border-left: 4px solid var(--coffee-400);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.25rem;
    font-size: .95rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.page-header__title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: .75rem;
}
.page-header__title span { color: var(--coffee-500); }

.page-header__lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    font-style: italic;
    border-left: 3px solid var(--coffee-400);
    padding-left: 1rem;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.content-body h2 {
    font-size: 1.35rem;
    margin: 2rem 0 .75rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--coffee-100);
    color: var(--coffee-700);
}
.content-body h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 .5rem;
    color: var(--coffee-600);
}
.content-body p { margin-bottom: 1rem; }
.content-body ul, .content-body ol { margin-bottom: 1rem; }
.content-body li { margin-bottom: .4rem; }
.content-body strong { color: var(--coffee-700); }

.checklist {
    list-style: none;
    padding: 0;
}
.checklist li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .3rem 0;
}
.checklist li::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 1.1rem; height: 1.1rem;
    background: var(--coffee-500);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    margin-top: .28rem;
}

.content-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.sidebar-card--accent {
    background: var(--coffee-600);
    border-color: var(--coffee-700);
    color: var(--white);
}
.sidebar-card--accent h3 { color: var(--white); }
.sidebar-card--accent p  { color: rgba(255,255,255,.85); }

.sidebar-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.sidebar-card__title i { color: var(--coffee-400); width: 1.2rem; height: 1.2rem; }
.sidebar-card--accent .sidebar-card__title i { color: var(--coffee-200); }

.sidebar-phone {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    background: var(--coffee-500);
    padding: .8rem 1rem;
    border-radius: var(--radius);
    transition: background .2s;
    margin-top: .5rem;
}
.sidebar-phone:hover { background: var(--coffee-400); color: var(--white); }
.sidebar-phone i { width: 1.3rem; height: 1.3rem; }

/* ----- Pricing highlight ----- */
.price-highlight {
    background: var(--surface-warm);
    border: 2px solid var(--coffee-300);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}
.price-highlight__label { font-size: .9rem; color: var(--text-muted); margin-bottom: .25rem; }
.price-highlight__value { font-size: 2rem; font-weight: 700; color: var(--coffee-600); }
.price-highlight__note  { font-size: .85rem; color: var(--text-muted); margin-top: .25rem; }

/* ----- Info / tip box ----- */
.info-box {
    background: var(--coffee-100);
    border-left: 4px solid var(--coffee-400);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: .92rem;
}
.info-box strong { color: var(--coffee-700); }

/* ----- Type cards grid (services detail) ----- */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.type-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.type-card__name {
    font-weight: 700;
    font-size: .95rem;
    color: var(--coffee-700);
    margin-bottom: .4rem;
}
.type-card p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ----- Numbered steps ----- */
.steps-list {
    list-style: none;
    padding: 0;
    counter-reset: steps;
}
.steps-list li {
    counter-increment: steps;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}
.steps-list li::before {
    content: counter(steps);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem; height: 2rem;
    background: var(--coffee-500);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: .9rem;
    margin-top: .1rem;
}
.steps-list li p { margin: 0; }
.steps-list li strong { display: block; margin-bottom: .2rem; color: var(--coffee-700); }

/* ----- CTA strip (above footer) ----- */
.cta-strip {
    background: var(--surface-warm2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-strip__text strong {
    display: block;
    font-size: 1.2rem;
    color: var(--coffee-700);
    margin-bottom: .25rem;
}
.cta-strip__text span {
    font-size: .9rem;
    color: var(--text-muted);
}

.cta-strip__actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

/* ----- Contact form ----- */
.contact-form { max-width: 680px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-label span.req { color: var(--error); }

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: .6rem .85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .95rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--coffee-400);
    box-shadow: 0 0 0 3px rgba(168,122,72,.15);
}
.form-textarea { min-height: 120px; resize: vertical; }

.form-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .88rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
    cursor: pointer;
}
.form-checkbox-wrap input { width: 1rem; height: 1rem; margin-top: .15rem; accent-color: var(--coffee-500); flex-shrink: 0; }
.form-honeypot { display: none !important; }

.form-submit { grid-column: 1 / -1; }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: .95rem;
}
.alert-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: var(--error); }

/* ----- Footer ----- */
.site-footer {
    background: var(--coffee-700);
    color: var(--coffee-100);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-heading {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--white);
    margin-bottom: .85rem;
}

.footer-list {
    list-style: none;
    padding: 0;
}
.footer-list li { margin-bottom: .45rem; }

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--coffee-200);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}
.footer-link:hover { color: var(--white); }
.footer-link i { width: .95rem; height: .95rem; flex-shrink: 0; }

.footer-list--compact .footer-link { font-size: .85rem; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}

.footer-bottom-link {
    color: rgba(255,255,255,.5);
    transition: color .2s;
    text-decoration: none;
}
.footer-bottom-link:hover { color: var(--white); }

.footer-copyright { font-size: .82rem; color: rgba(255,255,255,.4); }

/* ----- Breadcrumb ----- */
.breadcrumb {
    background: var(--surface-warm);
    border-bottom: 1px solid var(--border);
    padding: .5rem 0;
    font-size: .82rem;
}
.breadcrumb__list {
    display: flex;
    list-style: none;
    padding: 0; margin: 0;
    flex-wrap: wrap;
    gap: .1rem;
    align-items: center;
}
.breadcrumb__list li { margin-top: 0; }
.breadcrumb__link { color: var(--coffee-500); text-decoration: none; }
.breadcrumb__link:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--text-muted); padding: 0 .3rem; }
.breadcrumb__current { color: var(--text-muted); }

/* ----- Service image in sidebar ----- */
.sidebar-card--image { padding: 0; overflow: hidden; }
.service-img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }

/* ----- Related services list ----- */
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { margin-bottom: .4rem; margin-top: 0; }
.related-link {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--coffee-600);
    text-decoration: none;
    font-size: .9rem;
    padding: .2rem 0;
    transition: color .15s;
}
.related-link:hover { color: var(--coffee-400); }
.related-link i { width: .9rem; height: .9rem; flex-shrink: 0; }

/* ----- Sidebar CTA button (inverted outline) ----- */
.btn-sidebar {
    margin-top: .75rem;
    border-color: rgba(255,255,255,.4);
    color: #fff;
    width: 100%;
    justify-content: center;
}
.btn-sidebar:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ----- Small text link ----- */
.link-sm {
    color: var(--coffee-600);
    text-decoration: none;
    font-size: .9rem;
}
.link-sm:hover { color: var(--coffee-400); }

/* ----- Back to top ----- */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.75rem; height: 2.75rem;
    background: var(--coffee-500);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s;
    z-index: 50;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--coffee-600); color: var(--white); }
.back-to-top i { width: 1.2rem; height: 1.2rem; }

/* ----- Comparison table ----- */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    margin: 1rem 0;
}
.compare-table th, .compare-table td {
    padding: .65rem .85rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.compare-table th {
    background: var(--coffee-600);
    color: var(--white);
    font-weight: 600;
}
.compare-table tr:nth-child(even) td { background: var(--surface-warm); }
.compare-table .icon-yes { color: var(--success); }
.compare-table .icon-no  { color: var(--error); }

/* ----- Section heading ----- */
.section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-heading__sub {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--coffee-500);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .6rem;
}
.section-heading__title {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--coffee-700);
}
.section-heading__lead {
    font-size: .98rem;
    color: var(--text-muted);
    margin-top: .5rem;
    max-width: 600px;
    margin-inline: auto;
}

/* ----- 404 page ----- */
.not-found {
    text-align: center;
    padding: 5rem 1rem;
}
.not-found__code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--coffee-200);
    line-height: 1;
    margin-bottom: 1rem;
}
.not-found__title { font-size: 1.5rem; margin-bottom: 1rem; }
.not-found p { color: var(--text-muted); margin-bottom: 2rem; }

/* ========================================================
   Responsive
   ======================================================== */

@media (max-width: 900px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .content-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Gomb elrejtése – a hamburgermenüben elérhető */
    .header-actions .btn-primary { display: none; }

    .nav-toggle { display: flex; }
    .main-nav { display: none; }
    .main-nav.is-open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-link { border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-item--mobile-only { display: block; }
    .nav-link--cta {
        margin-left: 0;
        background: var(--coffee-400);
        color: var(--white);
        font-weight: 700;
        text-align: center;
        padding: 1rem;
    }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__image-wrap { display: none; }

    .form-grid { grid-template-columns: 1fr; }
    .form-group--full { grid-column: 1; }
    .form-submit { grid-column: 1; }
    .form-checkbox-wrap { grid-column: 1; }

    .cta-strip__inner { flex-direction: column; align-items: flex-start; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    :root { --container-pad: 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .usp-grid { grid-template-columns: 1fr; }
    .type-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; }
    .header-phone span { display: none; }
    .header-phone { padding: .5rem; }
}
