/* ==========================================================================
   MEST BEAUTY – platforma de rezervări beauty
   Structura inspirată de șablonul "Lezar" (salon/spa), paleta Mest
   (mest.risen.systems: negru #010101, auriu #CAB092, crem #FAF5EF, font Rubik).
   ========================================================================== */
:root {
    /* Paleta MEST (mest.risen.systems): negru, auriu-bej, crem */
    --bg: #faf5ef;
    --bg-2: #efe6da;
    --card: #ffffff;
    --glass: rgba(255, 255, 255, .86);
    --text: #010101;
    --muted: #4f4a44;
    --subtle: #8a837b;
    --line: rgba(1, 1, 1, .09);
    --black: #010101;
    --gold: #cab092;
    --gold-h: #b89b7a;
    --gold-d: #8a6a43;      /* auriu inchis pentru text (contrast) */
    --blue: #cab092;        /* accentul principal (pastrat numele variabilei) */
    --blue-h: #b89b7a;
    --blue-soft: rgba(202, 176, 146, .18);
    --green: #3f8a62;       /* doar pentru stari "deschis / achitat" */
    --green-d: #2f6b4b;
    --star: #cab092;
    --danger: #c0392b;
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
    --shadow: 0 10px 30px -12px rgba(1, 1, 1, .12), 0 2px 6px -2px rgba(1, 1, 1, .05);
    --shadow-h: 0 20px 44px -14px rgba(1, 1, 1, .22), 0 4px 10px -2px rgba(1, 1, 1, .06);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --serif: "Rubik", -apple-system, "Segoe UI", sans-serif;
    --sans: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --nav-h: 82px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.hide { display: none !important; }

/* ---------- Top bar (Lezar) ---------- */
.topbar { background: #1a1816; color: rgba(255,255,255,.78); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar i { color: var(--gold); margin-right: 6px; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(1,1,1,.96); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.nav { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand img { height: 58px; width: auto; object-fit: contain; }
.site-header .brand { padding-right: 28px; margin-right: 4px; border-right: 1px solid rgba(255,255,255,.18); height: 100%; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--gold-d); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 14px; font-size: 16px; font-weight: 400; color: rgba(255,255,255,.86); transition: .3s var(--ease); border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: #fff; border-bottom-color: var(--gold); }
.site-header .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.site-header .btn-ghost:hover { background: #fff; color: var(--black); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 18px; }
.mobile-menu { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-sm); font-weight: 500; font-size: 15px; transition: .3s var(--ease); white-space: nowrap; border: 1px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-h); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(138,106,67,.6); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-green { background: var(--gold); color: #fff; }
.btn-green:hover { background: var(--gold-h); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(0,0,0,.2); }
.btn-link { color: var(--gold-d); font-weight: 600; padding: 0; }
.btn-link:hover { text-decoration: underline; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-danger { background: #fff; color: var(--danger); border-color: rgba(220,38,38,.25); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Section heads (Lezar: label + titlu serif) ---------- */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.18; letter-spacing: -.01em; margin: 12px 0 14px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head p { max-width: 560px; color: var(--muted); font-size: 17px; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .section-head { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.leaf { position: absolute; pointer-events: none; opacity: .14; color: var(--gold); font-size: 140px; }

/* ---------- Hero with map ---------- */
.hero { padding: 36px 0 20px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 0; align-items: stretch; }
.hero-copy { background: var(--gold); color: #fff; border-radius: 0; padding: 40px 38px; display: flex; flex-direction: column; }
.hero-copy h1 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; font-weight: 500; margin: 14px 0 12px; }
.hero-copy h1 em { font-style: normal; color: var(--black); }
.hero-copy p { color: rgba(255,255,255,.94); }
.hero-copy .eyebrow { color: #fff; }
.hero-copy .eyebrow::before { background: #fff; }
.hero-copy .input, .hero-copy .select { border-radius: 0; border-color: #fff; color: var(--text); }
.hero-copy .field-icon i { color: var(--gold-d); }
.hero-copy .btn-primary { background: var(--black); border-radius: 0; }
.hero-copy .btn-primary:hover { background: #2a2a2a; box-shadow: none; }
.hero-copy .btn-ghost { border-radius: 0; border-color: #fff; }
.search-box { margin-top: 22px; display: grid; gap: 10px; }
.field-icon { position: relative; }
.field-icon i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--subtle); }
.field-icon input, .field-icon select { padding-left: 44px !important; }
.hero-stats { display: flex; gap: 22px; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.35); }
.hero-stats b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.85); }
.hero-map-wrap { position: relative; border-radius: 0; overflow: hidden; min-height: 560px; background: #e5e7eb; }
.hero-map-wrap .map { position: absolute; inset: 0; z-index: 0; }
.map-overlay-top { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 5; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.map-overlay-top > * { pointer-events: auto; }
.map-pill { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); border-radius: var(--r-sm); padding: 9px 15px; font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.map-pill.active { background: var(--black); color: #fff; border-color: var(--black); }
.hero-map-wrap .leaflet-top.leaflet-right { top: 62px; }
.map-locate { position: absolute; right: 16px; bottom: 120px; z-index: 5; width: 46px; height: 46px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); color: var(--gold-d); font-size: 18px; }
.map-strip { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 5; display: flex; gap: 12px; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.map-strip::-webkit-scrollbar { display: none; }
.mini-card { scroll-snap-align: start; flex: 0 0 270px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-h); padding: 10px; display: flex; gap: 10px; align-items: center; border: 2px solid transparent; transition: .3s var(--ease); }
.mini-card.active { border-color: var(--blue); }
.mini-card .thumb { width: 64px; height: 64px; border-radius: 13px; flex: none; }
.mini-card h4 { font-size: 15px; line-height: 1.2; }
.mini-card .meta { font-size: 12.5px; color: var(--muted); }

/* Marker HTML (Leaflet / Google AdvancedMarker) */
.bm-marker { width: max-content; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 4px 10px 4px 4px; box-shadow: 0 6px 16px rgba(0,0,0,.22); font: 700 12.5px/1 var(--sans); color: var(--text); white-space: nowrap; transform: translate(-50%, -100%); position: relative; border: 2px solid #fff; transition: transform .2s; }
.bm-marker::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; }
.bm-marker .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; }
.bm-marker.featured { background: var(--black); color: #fff; border-color: var(--black); }
.bm-marker.featured::after { border-top-color: var(--black); }
.bm-marker.active { transform: translate(-50%, -100%) scale(1.15); z-index: 10; }
.bm-user { width: 18px; height: 18px; border-radius: 50%; background: var(--black); border: 3px solid var(--gold); box-shadow: 0 0 0 9px rgba(202,176,146,.35); transform: translate(-50%, -50%); }
.leaflet-div-icon { background: none !important; border: 0 !important; }
.leaflet-marker-icon { overflow: visible !important; }
.leaflet-container .leaflet-tile-pane { filter: saturate(.55) brightness(1.03); }

/* ---------- Category chips / cards ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: .25s var(--ease); }
.chip:hover { border-color: rgba(0,0,0,.2); }
.chip.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.chip i { color: var(--gold-d); }
.chip.active i { color: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.cat-card { background: var(--card); border-radius: var(--r-md); padding: 26px 22px; box-shadow: var(--shadow); transition: .4s var(--ease); position: relative; overflow: hidden; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.cat-card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--blue-soft); color: var(--gold-d); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.cat-card small { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--subtle); font-weight: 700; }
.cat-card h4 { font-family: var(--serif); font-size: 21px; margin: 4px 0 6px; }
.cat-card p { font-size: 14px; color: var(--muted); }
.cat-card .go { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--gold-d); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- About / features (Lezar two-column) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.visual { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow-h); }
.visual-art { position: absolute; inset: 0; background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(202,176,146,.55), transparent 45%),
    linear-gradient(135deg, #010101 0%, #2b2621 50%, #cab092 100%); }
.visual-art .big-ico { position: absolute; inset: 0; display: grid; place-items: center; font-size: 150px; color: rgba(255,255,255,.88); }
.visual-badge { position: absolute; left: 22px; bottom: 22px; background: var(--glass); backdrop-filter: blur(14px); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.visual-badge b { font-family: var(--serif); font-size: 28px; color: var(--gold-d); }
.check-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i { color: var(--gold-d); margin-top: 4px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 28px; }
.feature { display: flex; gap: 14px; }
.feature .ico { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--gold-d); font-size: 19px; }
.feature h4 { font-size: 17px; margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Provider cards (Lezar portfolio/products) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pcard { background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: .45s var(--ease); display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); }
.cover { position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center; overflow: hidden; }
.cover-gen { background: linear-gradient(135deg, var(--c, #010101), color-mix(in srgb, var(--c, #010101) 40%, #cab092)); }
.cover-gen .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 64px; color: rgba(255,255,255,.92); letter-spacing: .02em; }
.cover-gen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 45%); }
.cover .badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 2; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.92); color: var(--text); }
.badge-blue { background: var(--blue); color: #fff; }
.badge-green { background: var(--green); color: #fff; }
.badge-soft { background: var(--blue-soft); color: var(--gold-d); }
.badge-gray { background: var(--bg-2); color: var(--muted); }
.badge-red { background: rgba(220,38,38,.1); color: var(--danger); }
.badge-amber { background: rgba(245,165,36,.15); color: #b45309; }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-body h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.rating { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; }
.rating i { color: var(--star); }
.rating span { color: var(--subtle); font-weight: 500; }
.stars i { color: var(--star); font-size: 13px; }
.stars i.off { color: #d4d4d8; }
.pcard-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.price-from { font-size: 14px; color: var(--muted); }
.price-from b { font-size: 18px; color: var(--text); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); }

/* ---------- Testimonials ---------- */
.testi-wrap { background: var(--card); border-radius: 36px; padding: 70px 56px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: var(--bg); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.testi blockquote { font-family: var(--serif); font-size: 17px; line-height: 1.55; }
.testi .who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; color: #fff; background: var(--gold); flex: none; overflow: hidden; font-size: 15px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.logos-row { display: flex; justify-content: space-around; gap: 30px; flex-wrap: wrap; margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); color: var(--subtle); font-family: var(--serif); font-size: 20px; letter-spacing: .04em; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--card); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; border: 2px solid transparent; }
.plan.popular { border-color: var(--gold); box-shadow: 0 26px 60px -20px rgba(138,106,67,.4); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.plan h3 { font-family: var(--serif); font-size: 26px; }
.plan .tagline { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan .price { font-size: 52px; font-weight: 700; letter-spacing: -.03em; margin: 14px 0 2px; }
.plan .price small { font-size: 16px; color: var(--subtle); font-weight: 500; }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 22px 0 28px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li i { color: var(--gold-d); margin-top: 4px; }
.plan .btn { margin-top: auto; }
.sms-note { display: flex; gap: 14px; align-items: center; background: var(--blue-soft); border: 1px solid rgba(202,176,146,.5); border-radius: var(--r-md); padding: 18px 22px; margin-top: 28px; }
.sms-note i { font-size: 24px; color: var(--gold-d); }

/* ---------- Hours & contact (Lezar) ---------- */
.hours-box { background: var(--black); color: #fff; border-radius: var(--r-lg); padding: 40px; position: relative; overflow: hidden; }
.hours-box h3, .contact-box h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 20px; }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.hours-list li.today { color: var(--gold); font-weight: 600; }
.contact-box { background: var(--card); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--gold-d); display: grid; place-items: center; flex: none; }
.contact-item small { color: var(--subtle); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #010101, #2b2621 60%, #8a6a43); color: #fff; border-radius: 36px; padding: 60px; display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; overflow: hidden; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; max-width: 640px; }
.cta-band p { opacity: .85; margin-top: 10px; max-width: 560px; }
.cta-band .btn-ghost { border: 0; }

/* ---------- Footer (Lezar) ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 76px 0 0; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h5 { color: #fff; font-family: var(--serif); font-size: 20px; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.foot-brand p { font-size: 14.5px; margin: 16px 0 20px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .3s; }
.socials a:hover { background: var(--gold); }
.newsletter { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px; margin-top: 14px; }
.newsletter input { flex: 1; background: none; border: 0; outline: 0; padding: 0 16px; color: #fff; min-width: 0; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.store-btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.22); padding: 8px 16px; border-radius: 12px; line-height: 1.1; }
.store-btn i { font-size: 24px; }
.store-btn small { display: block; font-size: 10px; opacity: .7; }
.store-btn b { font-size: 15px; }
.foot-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 13.5px; flex-wrap: wrap; }
.foot-bottom nav { display: flex; gap: 20px; }

/* ---------- Mobile app-style bottom nav ---------- */
.tabbar { display: none; }

/* ---------- App download popup ---------- */
.app-pop { position: fixed; inset: 0; z-index: 200; display: none; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); }
.app-pop.show { display: flex; animation: fade .3s; }
.app-sheet { width: 100%; max-width: 520px; background: var(--card); border-radius: 28px 28px 0 0; padding: 14px 24px calc(26px + env(safe-area-inset-bottom)); text-align: center; animation: up .45s var(--ease); }
.app-sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: var(--bg-2); margin: 0 auto 18px; }
.app-sheet .app-ico { width: 78px; height: 78px; border-radius: 18px; margin: 0 auto 14px; box-shadow: var(--shadow-h); }
.app-sheet h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 6px; }
.app-sheet p { color: var(--muted); margin-bottom: 18px; }
.app-sheet .store-btns { justify-content: center; margin: 0 0 14px; }
.app-sheet .store-btn { border-color: #000; padding: 11px 20px; }
.app-sheet .store-btn.primary { background: var(--blue); border-color: var(--blue); }
@media (min-width: 700px) { .app-pop { align-items: center; } .app-sheet { border-radius: 28px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.lbl { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.input, .select, .textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; outline: 0; transition: .2s; font-size: 15px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(202,176,146,.25); }
.textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--blue); width: 17px; height: 17px; flex: none; }
.error { color: var(--danger); font-size: 13px; margin-top: 5px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--subtle); font-size: 13px; margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { background: #fff; border: 1px solid var(--line); color: var(--text); }
.btn-google:hover { border-color: rgba(0,0,0,.25); }
.btn-google svg { width: 19px; height: 19px; }

.alert { border-radius: 14px; padding: 13px 18px; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.alert-success { background: rgba(63,138,98,.12); color: var(--green-d); }
.alert-error { background: rgba(220,38,38,.08); color: var(--danger); }
.alert-info { background: var(--blue-soft); color: var(--gold-d); }
.flash-stack { position: fixed; top: 90px; right: 20px; z-index: 120; display: grid; gap: 8px; max-width: 380px; }
.flash-stack .alert { box-shadow: var(--shadow-h); background-color: #fff; animation: up .4s var(--ease); }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(150deg, #cab092, #b89b7a 55%, #8a6a43); color: #fff; padding: 70px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side.pro { background: linear-gradient(150deg, #010101, #2b2621 60%, #8a6a43); }
.auth-side h2 { font-family: var(--serif); font-size: 42px; line-height: 1.15; margin: 14px 0; }
.auth-side .eyebrow { color: rgba(255,255,255,.8); }
.auth-side ul { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.auth-side li i { color: #fff; margin-right: 8px; }
.auth-main { display: grid; place-items: center; padding: 50px 24px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h1 { font-family: var(--serif); font-size: 34px; margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border-radius: 14px; padding: 4px; gap: 4px; }
.seg label { text-align: center; padding: 11px; border-radius: 11px; font-weight: 600; cursor: pointer; font-size: 14.5px; color: var(--muted); }
.seg input { display: none; }
.seg input:checked + span { color: var(--text); }
.seg label:has(input:checked) { background: #fff; box-shadow: var(--shadow); color: var(--text); }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-pick label { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; cursor: pointer; background: #fff; transition: .2s; }
.plan-pick label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.plan-pick input { display: none; }
.plan-pick b { display: block; font-size: 15px; }
.plan-pick span { font-size: 13px; color: var(--muted); }

/* ---------- Provider page ---------- */
.p-hero { position: relative; height: 340px; border-radius: 0 0 36px 36px; overflow: hidden; }
.p-hero .cover { position: absolute; inset: 0; aspect-ratio: auto; }
.p-hero .cover-gen .initials { font-size: 120px; }
.p-head { margin-top: -90px; position: relative; z-index: 3; background: var(--card); border-radius: var(--r-lg); padding: 28px 32px; box-shadow: var(--shadow-h); display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.p-logo { width: 104px; height: 104px; border-radius: 26px; background: var(--c, var(--blue)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 40px; flex: none; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); }
.p-logo img { width: 100%; height: 100%; object-fit: cover; }
.p-head h1 { font-family: var(--serif); font-size: 36px; line-height: 1.1; }
.p-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.p-meta i { color: var(--gold-d); margin-right: 5px; }
.p-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; margin-top: 30px; align-items: start; }
.p-layout > *, .cab > * { min-width: 0; }
.slots > p { grid-column: 1 / -1; }
.box { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px; }
.box + .box { margin-top: 22px; }
.box h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 16px; }
.svc-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-d); margin: 22px 0 8px; }
.svc-group:first-child h3 { margin-top: 0; }
.svc { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc h4 { font-size: 16px; font-weight: 600; }
.svc .d { font-size: 13.5px; color: var(--subtle); }
.svc .right { display: flex; gap: 14px; align-items: center; flex: none; }
.svc .pr { font-weight: 700; font-size: 17px; text-align: right; }
.svc .pr s { display: block; font-size: 12.5px; color: var(--subtle); font-weight: 500; }
.sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.small-map { height: 220px; border-radius: 16px; overflow: hidden; margin: 14px 0; background: var(--bg-2); }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.review .reply { margin-top: 10px; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; border-left: 3px solid var(--blue); }
.rating-big { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.rating-big b { font-family: var(--serif); font-size: 54px; line-height: 1; }

/* ---------- Booking ---------- */
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: none; width: 66px; padding: 10px 0; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: center; cursor: pointer; transition: .2s; }
.day small { display: block; font-size: 11.5px; color: var(--subtle); text-transform: uppercase; font-weight: 700; }
.day b { font-size: 21px; }
.day.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.day.active small { color: rgba(255,255,255,.8); }
.day.closed { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 14px; }
.slot { padding: 11px 0; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; text-align: center; cursor: pointer; transition: .2s; }
.slot:hover { border-color: var(--blue); }
.slot.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; background: #fff; }
.pay-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.pay-opt input { accent-color: var(--blue); width: 18px; height: 18px; }
.pay-opt .ico { font-size: 22px; color: var(--gold-d); width: 30px; text-align: center; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 19px; }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps span { flex: 1; height: 5px; border-radius: 9px; background: var(--bg-2); }
.steps span.on { background: var(--blue); }

/* ---------- Cabinet ---------- */
.cab { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 34px 0 60px; align-items: start; }
.cab-nav { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 18px; position: sticky; top: calc(var(--nav-h) + 20px); }
.cab-user { display: flex; gap: 12px; align-items: center; padding: 6px 6px 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.cab-user b { display: block; line-height: 1.2; }
.cab-nav a, .cab-nav button.lnk { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; font-weight: 500; color: var(--muted); width: 100%; font-size: 15px; text-align: left; }
.cab-nav a:hover, .cab-nav button.lnk:hover { background: var(--bg); color: var(--text); }
.cab-nav a.active { background: var(--blue-soft); color: var(--gold-d); font-weight: 600; }
.cab-nav i { width: 20px; text-align: center; }
.cab h1 { font-family: var(--serif); font-size: 32px; margin-bottom: 4px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0; }
.kpi { background: var(--card); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow); }
.kpi small { color: var(--subtle); font-size: 13px; font-weight: 600; }
.kpi b { display: block; font-size: 28px; letter-spacing: -.02em; margin-top: 4px; }
.list-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-item:last-child { border-bottom: 0; }
.date-tile { width: 62px; flex: none; text-align: center; border-radius: 14px; background: var(--blue-soft); color: var(--gold-d); padding: 8px 0; }
.date-tile b { display: block; font-size: 22px; line-height: 1; }
.date-tile small { font-size: 11.5px; text-transform: uppercase; font-weight: 700; }
.grow { flex: 1; min-width: 180px; }
.tabs { display: flex; gap: 6px; margin: 18px 0; overflow-x: auto; }
.tabs a { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); background: var(--card); border: 1px solid var(--line); white-space: nowrap; }
.tabs a.active { background: var(--black); color: #fff; border-color: var(--black); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty i { font-size: 40px; color: var(--bg-2); margin-bottom: 12px; display: block; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 26px; color: #d4d4d8; cursor: pointer; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
details.inline-form summary { list-style: none; cursor: pointer; }
details.inline-form summary::-webkit-details-marker { display: none; }
.hours-edit { display: grid; gap: 8px; }
.hours-edit .row { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 10px; align-items: center; }
.pick-map { height: 320px; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.progress { height: 8px; background: var(--bg-2); border-radius: 9px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); border-radius: 9px; }

/* ---------- Full map page ---------- */
.map-page { position: relative; height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 400px 1fr; }
.map-side { background: var(--bg); overflow-y: auto; padding: 18px; border-right: 1px solid var(--line); }
.map-side .result { display: flex; gap: 12px; background: var(--card); border-radius: 18px; padding: 10px; margin-bottom: 10px; box-shadow: var(--shadow); border: 2px solid transparent; cursor: pointer; }
.map-side .result.active { border-color: var(--blue); }
.map-side .result .thumb { width: 86px; height: 86px; border-radius: 14px; flex: none; }
.map-main { position: relative; }
.map-main .map { position: absolute; inset: 0; z-index: 0; }
.thumb { background-size: cover; background-position: center; position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 26px; }
.filters { display: grid; gap: 10px; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-map-wrap { min-height: 460px; order: -1; }
    .grid-3, .plans, .testi-grid { grid-template-columns: 1fr 1fr; }
    .p-layout { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-actions .hide-m { display: none; }
    .nav-actions { margin-left: auto; }
    .burger { display: grid; place-items: center; }
    .mobile-menu.open { display: block; position: fixed; inset: var(--nav-h) 0 0; background: var(--bg); z-index: 60; padding: 20px 24px; overflow-y: auto; }
    .mobile-menu a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }
    .split, .auth-wrap { grid-template-columns: 1fr; gap: 36px; }
    .auth-side { display: none; }
    .cab { grid-template-columns: 1fr; }
    .cab-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
    .cab-nav .cab-user { display: none; }
    .cab-nav a, .cab-nav button.lnk { width: auto; white-space: nowrap; }
    .map-page { grid-template-columns: 1fr; grid-template-rows: 1fr; }
    .map-side { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; max-height: 45%; border-radius: 24px 24px 0 0; border: 0; box-shadow: 0 -10px 30px rgba(0,0,0,.12); }
}
@media (max-width: 768px) {
    :root { --nav-h: 66px; }
    .brand img { height: 46px; }
    .site-header .brand { border-right: 0; padding-right: 0; }
    .hero-copy { padding: 26px 20px; }
    .topbar { display: none; }
    .section { padding: 60px 0; }
    .container { padding: 0 16px; }
    .grid-3, .grid-2, .plans, .testi-grid, .features, .form-row { grid-template-columns: 1fr; }
    .testi-wrap { padding: 40px 22px; border-radius: 26px; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 26px; border-radius: 26px; }
    .hero { padding: 12px 0; }
    .hero-map-wrap { min-height: 62vh; border-radius: 22px; }
    .hero-copy { padding: 24px 20px; }
    .p-hero { height: 220px; border-radius: 0 0 26px 26px; }
    .p-head { margin-top: -60px; padding: 20px; }
    .p-logo { width: 76px; height: 76px; font-size: 30px; border-radius: 20px; }
    .p-head h1 { font-size: 27px; }
    .hours-edit .row { grid-template-columns: 1fr 1fr; }
    .hours-edit .row .check { grid-column: 1 / -1; }

    /* Pe telefon footer-ul clasic dispare; apare bara de jos ca in aplicatie */
    .site-footer { display: none; }
    body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
    .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
        border-top: 1px solid var(--line); padding: 6px 6px calc(8px + env(safe-area-inset-bottom)); }
    .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--subtle); padding: 4px 0; position: relative; }
    .tabbar a i { font-size: 20px; }
    .tabbar a.active { color: var(--gold-d); }
    .tabbar a .dot-badge { position: absolute; top: 0; right: calc(50% - 18px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
    .tabbar .tab-pin { margin-top: -30px; }
    .tabbar .tab-pin .pin { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(140deg, #010101, #2b2621 55%, var(--gold)); color: #fff; display: grid; place-items: center; font-size: 25px; box-shadow: 0 10px 24px -6px rgba(1,1,1,.45); border: 4px solid #fff; }
    .tabbar .tab-pin.active { color: var(--gold-d); }
    .map-page { height: calc(100vh - var(--nav-h) - 78px); }
    .leaflet-control-zoom { display: none; }
    .map-overlay-top .map-pill { padding: 8px 12px; font-size: 13px; }
    .flash-stack { top: auto; bottom: 96px; left: 16px; right: 16px; max-width: none; }
    .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
    .kpi b { font-size: 22px; }
    .box { padding: 20px 18px; border-radius: 22px; }
    .box h2 { font-size: 23px; }
    .svc { flex-wrap: wrap; }
    .table-wrap { overflow-x: auto; }
}
