:root {
    --brand: #40aaf6;
    --brand-dark: #2b86e0;
    --ink: #16202c;
    --muted: #5d6f84;
    --bg: #f5f8fc;
    --surface: #ffffff;
    --border: #e2e9f1;
    --green: #2ecc71;
    --red: #e74c3c;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(30, 70, 120, .10);
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.6;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

img { max-width: 100%; }

.topbar {
    background: var(--ink);
    color: #cdd9e6;
    font-size: 13.5px;
}
.topbar-in {
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    align-items: center; padding: 9px 20px;
}
.tb-item { color: #cdd9e6; display: inline-flex; align-items: center; gap: 6px; }
.tb-item:hover { color: #fff; text-decoration: none; }
.tb-ic { opacity: .8; }

.social-icons { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.social-icon {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); color: #cdd9e6;
    transition: background .15s, color .15s, transform .15s;
}
.social-icon:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.social-icon svg { width: 15px; height: 15px; fill: currentColor; }

.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social .social-icon { width: 36px; height: 36px; background: rgba(255,255,255,.08); }
.foot-social .social-icon svg { width: 18px; height: 18px; }
.foot-social .social-icon:hover { background: var(--brand); }

.site-head {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
}
.head-in {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo {
    width: 46px; height: 46px; border-radius: 11px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; font-weight: 800; font-size: 20px;
    display: grid; place-items: center; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 17px; }
.brand-text span { font-size: 13px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
    color: var(--ink); padding: 9px 13px; border-radius: 8px;
    font-weight: 600; font-size: 14.5px;
}
.nav a:hover { background: var(--bg); text-decoration: none; }
.nav a.active { color: var(--brand-dark); }
.nav .nav-cta {
    background: var(--brand); color: #fff; margin-left: 6px;
}
.nav .nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
    display: none; background: var(--bg); border: 1px solid var(--border);
    width: 44px; height: 44px; border-radius: 9px; font-size: 20px; cursor: pointer;
}

.hero {
    background:
        radial-gradient(900px 400px at 80% -10%, rgba(64,170,246,.18), transparent 60%),
        linear-gradient(180deg, #ffffff, var(--bg));
    padding: 64px 0 56px;
}
.hero h1 { font-size: 40px; line-height: 1.12; margin: 0 0 14px; letter-spacing: -.5px; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 26px; }
.hero .accent { color: var(--brand-dark); }

.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 16px;
    border: none; cursor: pointer; transition: filter .15s, transform .05s;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); }

.section { padding: 56px 0; }
.section h2 { font-size: 28px; margin: 0 0 8px; text-align: center; }
.section .sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 36px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card .ic {
    width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(64,170,246,.12); color: var(--brand-dark); font-size: 24px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.band {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; text-align: center; padding: 48px 20px; border-radius: 16px;
}
.band h2 { color: #fff; }
.band .sub { color: rgba(255,255,255,.9); }
.band .btn-ghost { background: #fff; color: var(--brand-dark); border: none; }

.layout-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }

.panel {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
}
.panel h2 { text-align: left; margin-top: 0; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14.5px; }
.form-control {
    display: block; width: 100%; box-sizing: border-box;
    min-height: 46px; padding: 11px 13px; font-size: 15px;
    border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--ink);
}
.form-control:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(64,170,246,.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.price-box {
    background: var(--bg); border: 1px dashed var(--border);
    border-radius: 10px; padding: 14px 16px; margin: 6px 0 16px;
    font-size: 20px; font-weight: 800;
}
.price-box span { color: var(--brand-dark); }

.note { background: #fff3cd; border: 1px solid #f5c451; color: #7a5600;
    padding: 12px 14px; border-radius: 9px; font-size: 14px; margin-bottom: 16px; }
.alert-ok { display: none; background: #e6f7ec; border: 1px solid var(--green);
    color: #1e7a3d; padding: 14px 16px; border-radius: 9px; margin-bottom: 16px; font-weight: 600; }
.alert-err { display: none; background: #fdecea; border: 1px solid var(--red);
    color: #b03020; padding: 14px 16px; border-radius: 9px; margin-bottom: 16px; font-weight: 600; }

.help-side .panel + .panel { margin-top: 20px; }
.help-side h3 { margin: 0 0 6px; }
.contact-line { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.contact-line .ic { color: var(--brand-dark); width: 22px; text-align: center; }

.price-table { width: 100%; border-collapse: collapse; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { background: var(--bg); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.price-table td.amt { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table tr:last-child td { border-bottom: none; }
.price-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.steps { counter-reset: step; display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.step { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.step .num { counter-increment: step; flex: none; width: 40px; height: 40px; border-radius: 10px;
    background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step .num::before { content: counter(step); }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); }

.site-foot { background: var(--ink); color: #b9c6d4; margin-top: 56px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 44px 20px; }
.foot-col h4 { color: #fff; margin: 0 0 12px; font-size: 16px; }
.foot-col p { margin: 6px 0; font-size: 14.5px; }
.foot-col a { color: #b9c6d4; }
.foot-col a:hover { color: #fff; }
.foot-brand .brand-text b { color: #fff; }
.foot-brand .brand-text span { color: #9fb0c1; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 20px; font-size: 13.5px; color: #8295a6; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 76px; left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--border);
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
        display: none; box-shadow: var(--shadow);
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 10px; border-radius: 8px; }
    .nav .nav-cta { margin: 8px 0 0; text-align: center; }
    .layout-2 { grid-template-columns: 1fr; }
    .foot-in { grid-template-columns: 1fr; }
    .hero h1 { font-size: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .social-icons { margin-left: 0; }
}

.page-hero {
    position: relative; color: #fff; text-align: center;
    padding: 80px 20px; background-size: cover; background-position: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12,24,40,.62), rgba(12,24,40,.72)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: 38px; margin: 0 0 10px; letter-spacing: -.5px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.92); max-width: 680px; margin: 0 auto; }

.hero-img {
    position: relative; color: #fff;
    background-size: cover; background-position: center; min-height: 460px;
    display: flex; align-items: center;
}
.hero-img::before { content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, rgba(10,20,35,.78) 0%, rgba(10,20,35,.45) 55%, rgba(10,20,35,.2) 100%); }
.hero-img .wrap { position: relative; padding: 60px 20px; }
.hero-img h1 { color: #fff; }
.hero-img .lead { color: rgba(255,255,255,.92); }

.media { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.media img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: var(--shadow); display: block; }

.brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }

.slider-card { background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; text-align: center; }
.slider-readout { display: flex; align-items: baseline; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.slider-days { font-size: 26px; font-weight: 800; }
.slider-price { font-size: 40px; font-weight: 900; color: var(--brand-dark); letter-spacing: -1px; }
.slider-card input[type="range"] { width: 100%; margin: 22px 0 6px; accent-color: var(--brand); height: 6px; }
.slider-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }

.svc-list { list-style: none; padding: 0; margin: 0; }
.svc-list li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; }
.svc-list li:last-child { border-bottom: none; }
.svc-list .svc-name { font-weight: 600; }
.svc-list .svc-price { font-weight: 800; color: var(--brand-dark); white-space: nowrap; }
.svc-block { margin-bottom: 26px; }
.svc-block h3 { margin: 0 0 6px; }
.svc-block .muted { color: var(--muted); font-size: 14px; margin: 0 0 10px; }

.highlight-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.hl-card { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
    border-radius: var(--radius); padding: 22px 24px; }
.hl-card .d { font-size: 15px; opacity: .92; }
.hl-card .p { font-size: 30px; font-weight: 900; margin: 4px 0 12px; }
.hl-card a { color: #fff; font-weight: 700; text-decoration: underline; }
@media (max-width: 600px) { .highlight-cards { grid-template-columns: 1fr; } }

.brand-logo-img { background: transparent; border: none; padding: 0; box-shadow: none; }
.brand-logo-img img { width: 100%; height: 100%; object-fit: contain; }

/* ===== Foglalás: fizetési mód, szolgáltatások ===== */
.pay-methods { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-opt { flex: 1 1 140px; position: relative; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt span {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 10px; border: 2px solid var(--border); border-radius: 10px;
    font-weight: 600; font-size: 14px; text-align: center; transition: all .15s; background: #fff;
}
.pay-opt input:checked + span { border-color: var(--brand); background: #eaf6ff; color: var(--brand-dark); }
.pay-opt:hover span { border-color: var(--brand); }

.svc-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.svc-opt { flex: 1 1 200px; position: relative; cursor: pointer; }
.svc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt span {
    display: flex; align-items: center; gap: 8px; padding: 11px 12px;
    border: 2px solid var(--border); border-radius: 10px; font-size: 14px; transition: all .15s; background: #fff;
}
.svc-opt input:checked + span { border-color: var(--green); background: #eafaf1; color: #1e7a3d; }
.svc-opt:hover span { border-color: var(--green); }

/* ===== Megtelt figyelmeztetés ===== */
.full-warn { text-align: center; padding: 18px 10px; }
.full-warn-icon { font-size: 44px; }
.full-warn h3 { margin: 8px 0 8px; color: var(--brand-dark); }
.full-warn p { color: var(--muted); max-width: 440px; margin: 0 auto 18px; line-height: 1.6; }
.full-warn-phones { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ===== Technikai modal ===== */
.bk-modal {
    position: fixed; inset: 0; background: rgba(16,32,44,.55);
    display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 18px;
    backdrop-filter: blur(2px);
}
.bk-modal-card {
    background: #fff; border-radius: 16px; max-width: 440px; width: 100%;
    padding: 28px 26px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.bk-modal-icon { font-size: 42px; }
.bk-modal-card h3 { margin: 10px 0 10px; color: var(--brand-dark); }
.bk-modal-card p { color: var(--muted); line-height: 1.6; margin: 0 0 22px; }
.bk-modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bk-modal-actions .btn { min-width: 130px; }

/* =========================================================================
   VÁROS AUTOCOMPLETE (publikus foglalási oldal)
   ========================================================================= */
.city-ac-wrap { position: relative; }
.city-ac-list {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 120;
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; margin-top: 3px; max-height: 240px; overflow-y: auto;
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
    display: none;
}
.city-ac-list.open { display: block; }
.city-ac-item {
    padding: 10px 14px; cursor: pointer; font-size: 14px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #f0f3f7;
    transition: background .1s;
}
.city-ac-item:last-child { border-bottom: none; }
.city-ac-item:hover, .city-ac-item.active {
    background: #eaf4ff;
}
.city-ac-item .city-name { font-weight: 700; color: var(--ink); }
.city-ac-item .city-country { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.city-ac-item b { font-weight: 800; color: var(--brand-dark); }

/* =========================================================================
   FORM PLACEHOLDER
   ========================================================================= */
.form-control::placeholder {
    color: #a0adb8; font-weight: 400; opacity: 1;
}
input[type="tel"]::placeholder {
    color: #a0adb8; font-weight: 400; opacity: 1;
}

/* =========================================================================
   KOZMETIKA CSOMAG VÁLASZTÓ
   ========================================================================= */
#cosmeticPackages .svc-opts { gap: 8px; }
#cosmeticPackages .svc-opt { flex: 1 1 100%; }
#cosmeticPackages .svc-opt input { position: absolute; opacity: 0; pointer-events: none; }
#cosmeticPackages .svc-opt span {
    display: flex; align-items: center; gap: 8px; padding: 11px 14px;
    border: 2px solid var(--border); border-radius: 10px; font-size: 14px;
    transition: all .15s; background: #fff; cursor: pointer;
}
#cosmeticPackages .svc-opt input:checked + span {
    border-color: var(--brand); background: #eaf6ff; color: var(--brand-dark);
}
#cosmeticPackages .svc-opt:hover span { border-color: var(--brand); }
#cosmeticPackages .svc-opt span b { color: var(--brand-dark); }

/* Nyelvváltó (HU/EN) a fejlécben */
.lang-switch { display:inline-flex; align-items:center; gap:6px; margin-left:14px; }
.lang-btn { font-weight:700; font-size:14px; color:var(--muted,#6b7a8d); text-decoration:none; padding:2px 4px; border-radius:6px; }
.lang-btn:hover { color:var(--brand,#40AAF6); }
.lang-btn.active { color:var(--brand,#40AAF6); }
.lang-sep { color:#c7d2dd; }
@media (max-width: 820px) { .lang-switch { margin:8px 0 0; } }

/* Gyakori kérdések (FAQ) */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #e6edf5; border-radius: 14px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(16,32,44,.04); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; font-size: 16.5px; color: #16202c; position: relative; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: #40AAF6; transition: transform .2s; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: #40AAF6; }
.faq-a { padding: 0 22px 20px; color: #4a5a6b; line-height: 1.7; font-size: 15px; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: #40AAF6; }

/* Google értékelések szekció */
.reviews-section { text-align: center; }
.reviews-head { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.reviews-title { font-weight: 800; font-size: 20px; color: #16202c; text-align: left; }
.reviews-stars { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.reviews-rating { font-weight: 800; font-size: 20px; color: #f59e0b; }
.reviews-star-row { display: inline-flex; }
.reviews-count { color: #6b7a8d; font-size: 14px; }
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.review-card { background: #fff; border: 1px solid #e6edf5; border-radius: 16px; padding: 18px; box-shadow: 0 4px 16px rgba(16,32,44,.05); display: flex; flex-direction: column; }
.review-top { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; text-transform: uppercase; }
.review-who { flex: 1; min-width: 0; }
.review-name { font-weight: 700; font-size: 14.5px; color: #16202c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-date { font-size: 12.5px; color: #8a97a6; }
.review-gmark { flex: 0 0 auto; }
.review-star-row { display: flex; margin: 12px 0 8px; }
.review-text { color: #4a5a6b; font-size: 14px; line-height: 1.6; margin: 0; }
.reviews-actions { margin-top: 28px; }
@media (max-width: 980px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reviews-grid { grid-template-columns: 1fr; } .reviews-head { flex-direction: column; gap: 8px; text-align: center; } .reviews-title { text-align: center; } }

/* Foglalás: dátum + 15 perces idő választó */
.dt-split { display: flex; gap: 8px; }
.dt-split input[type="date"] { flex: 1 1 auto; min-width: 0; }
.dt-split select { flex: 0 0 108px; }
@media (max-width: 480px) { .dt-split { flex-direction: column; } .dt-split select { flex: 1 1 auto; } }
