/* =========================================================================
   Mihaela Bacula — Cabinet Individual de Psihologie
   Foaie de stil principală. Fără pas de build (CSS pur).
   Paletă: bordo #810124 / crem #f4f1ea. Fonturi: Playfair Display + Montserrat.
   ========================================================================= */

:root {
    --bordo: #810124;
    --bordo-dark: #5e0019;
    --bordo-soft: #9b2741;
    --crem: #f4f1ea;
    --crem-2: #efe9df;
    --ink: #20191b;
    --muted: #6b5e62;
    --line: #e2d8cd;
    --white: #ffffff;
    --accent: #685e96;

    --font-body: "Montserrat", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-head: "Playfair Display", Georgia, "Times New Roman", serif;

    --radius: 14px;
    --radius-lg: 26px;
    --shadow-sm: 0 4px 14px rgba(94, 0, 25, 0.06);
    --shadow: 0 18px 50px rgba(94, 0, 25, 0.12);
    --container: 1180px;
    --header-h: 88px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--crem);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ----- Accesibilitate: skip link ----- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--bordo); color: var(--crem); padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; outline: 2px solid var(--crem); outline-offset: -4px; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--bordo); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--cream2 { background: var(--crem-2); }
.section--bordo { background: var(--bordo); color: var(--crem); }
.section--bordo h1, .section--bordo h2, .section--bordo h3 { color: var(--crem); }

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .74rem;
    font-weight: 600;
    color: var(--bordo-soft);
    margin-bottom: .9rem;
}
.section--bordo .eyebrow { color: rgba(244,241,234,.75); }

.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head .lead { margin-top: .6rem; }

.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; } .mt-4 { margin-top: 2.5rem; }

/* ----- Buttons ----- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: 14px 28px; border-radius: 999px;
    font-weight: 600; font-size: .92rem; letter-spacing: .03em;
    border: 1.5px solid var(--bordo); background: var(--bordo); color: var(--crem);
    text-transform: uppercase; transition: all .22s ease; cursor: pointer;
}
.btn:hover { background: var(--bordo-dark); border-color: var(--bordo-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--bordo); }
.btn--ghost:hover { background: var(--bordo); color: var(--crem); }
.btn--light { background: var(--crem); border-color: var(--crem); color: var(--bordo); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--bordo-dark); }
.btn--block { display: flex; width: 100%; justify-content: center; }

.link-more { font-weight: 600; color: var(--bordo); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-more:hover { color: var(--bordo-dark); }

/* ========================================================================
   Header
   ======================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244, 241, 234, .92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--bordo); padding: 10px 14px; border-radius: 8px; position: relative;
}
.nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
    background: var(--bordo); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a:hover, .nav a.is-active { color: var(--bordo-dark); }
.header-cta { display: inline-flex; }
/* Butonul „Programează” din interiorul meniului apare doar pe mobil (în dropdown). */
.nav > .btn { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--bordo); }
.nav-toggle svg { width: 30px; height: 30px; }

/* ========================================================================
   Hero
   ======================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0; }
.hero::before {
    content: ""; position: absolute; right: -160px; top: -120px; width: 520px; height: 520px;
    background: url('/images/decorativ.png') no-repeat center/contain; opacity: .5; pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero__content h1 { margin-bottom: 1rem; }
.hero__content .lead { font-size: 1.18rem; }
.hero__meta { margin-top: 1.6rem; }
.hero__name { font-family: var(--font-head); font-style: italic; font-size: 1.6rem; color: var(--bordo); }
.hero__role { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 600; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }

.hero__photo { position: relative; }
.hero__photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 3/4; }
.hero__photo::after {
    content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--bordo);
    border-radius: var(--radius-lg); z-index: -1; opacity: .35;
}

/* ----- approaches chips ----- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.chip {
    font-size: .8rem; font-weight: 600; padding: 8px 14px; border-radius: 999px;
    background: var(--crem-2); border: 1px solid var(--line); color: var(--bordo);
}

/* ========================================================================
   Cards / grids
   ======================================================================== */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
    height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__price { font-family: var(--font-head); font-size: 1.05rem; color: var(--bordo-soft); font-weight: 600; margin: .2rem 0 .6rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card .card__cta { margin-top: auto; padding-top: 1rem; }

/* service group */
.service-group + .service-group { margin-top: clamp(40px, 5vw, 64px); }
.service-group__title { display: flex; align-items: center; gap: 14px; margin-bottom: 1.6rem; }
.service-group__title h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.service-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* post / event / book cards with media */
.media-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.media-card__img { aspect-ratio: 16/10; background: var(--crem-2) url('/images/decorativ.png') no-repeat center/52%; }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; }
.media-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.media-card__date { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bordo-soft); }
.media-card h3 { margin: .5rem 0; font-size: 1.25rem; }
.media-card p { color: var(--muted); font-size: .95rem; }
.media-card .card__cta { margin-top: auto; padding-top: 1rem; }

/* book row (featured) */
.book-feature { display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.book-feature__cover { aspect-ratio: 3/4; border-radius: var(--radius); background: var(--bordo); display: flex; align-items: center; justify-content: center; color: var(--crem); text-align: center; padding: 20px; box-shadow: var(--shadow); }
.book-feature__cover img { border-radius: var(--radius); height: 100%; object-fit: cover; }
.book-feature__cover span { font-family: var(--font-head); font-style: italic; font-size: 1.2rem; }

/* grilă cărți cu coperți */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.book-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.book-card__cover { aspect-ratio: 3/4; background: var(--crem-2); display: grid; place-items: center; padding: 18px; }
.book-card__cover img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 22px rgba(94,0,25,.18); }
.book-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.book-card__body h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.book-card__author { font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--bordo-soft); margin-bottom: .5rem; }
.book-card__subtitle { font-style: italic; color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.book-card__desc { color: var(--muted); font-size: .92rem; }
@media (max-width: 520px) { .book-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; } .book-card__body { padding: 14px 16px 18px; } }

/* ========================================================================
   Quote band
   ======================================================================== */
.quote-band { background: var(--bordo); color: var(--crem); text-align: center; padding: clamp(60px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: url('/images/decorativ.png') no-repeat center/420px; opacity: .06; }
.quote-band blockquote { position: relative; max-width: 820px; margin: 0 auto; font-family: var(--font-head); font-style: italic; font-size: clamp(1.4rem, 3.5vw, 2.3rem); line-height: 1.4; }
.quote-band cite { display: block; margin-top: 1.4rem; font-style: normal; font-family: var(--font-body); letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; opacity: .8; }

/* ========================================================================
   Prose (despre / blog / legal)
   ======================================================================== */
.prose { max-width: 760px; }
.prose p { color: var(--ink); }
.prose h2 { margin: 2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; color: var(--bordo-soft); }
.prose ul { margin: 0 0 1.2rem; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; color: var(--ink); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--bordo); }
.prose blockquote { border-left: 3px solid var(--bordo); padding-left: 1.2rem; font-family: var(--font-head); font-style: italic; color: var(--bordo); margin: 1.4rem 0; }

/* page hero (interior pages) */
.page-hero { background: var(--crem-2); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 84px) 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; left: -120px; bottom: -120px; width: 360px; height: 360px; background: url('/images/decorativ.png') no-repeat center/contain; opacity: .4; }
.page-hero .container { position: relative; }
.breadcrumbs { font-size: .8rem; letter-spacing: .04em; color: var(--muted); margin-bottom: .8rem; }
.breadcrumbs a:hover { color: var(--bordo); }

/* about layout */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-grid__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 24px); }
.fact-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.fact-list h3 { color: var(--bordo-soft); font-size: 1.05rem; margin-bottom: .6rem; }
.fact-list + .fact-list { margin-top: 22px; }

/* ========================================================================
   Contact + form
   ======================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info__item:last-child { border-bottom: 0; }
.contact-info__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--crem-2); color: var(--bordo); display: grid; place-items: center; }
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__label { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.contact-info__value { font-weight: 600; color: var(--ink); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: var(--bordo); color: var(--crem); display: grid; place-items: center; }
.socials a:hover { background: var(--bordo-dark); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field .req { color: var(--bordo); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
    background: var(--crem); font: inherit; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 3px rgba(129,1,36,.12); background: var(--white); }
.field textarea { resize: vertical; min-height: 130px; }
.field--error input, .field--error select, .field--error textarea { border-color: #c0392b; }
.field__error { color: #c0392b; font-size: .82rem; margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 22px; font-weight: 500; }
.alert--success { background: #e7f4ec; border: 1px solid #aed8bf; color: #1e6b40; }

/* map */
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 26px; }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* tabs (events) */
.tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { border: 1.5px solid var(--bordo); background: transparent; color: var(--bordo); padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.tab-btn.is-active { background: var(--bordo); color: var(--crem); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-head); font-size: 1.1rem; color: var(--bordo); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--bordo-soft); flex-shrink: 0; }
.faq__item[open] .faq__q::after { content: "\2013"; }
.faq__a { padding: 0 22px 20px; color: var(--muted); }

/* empty state */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty img { width: 120px; margin: 0 auto 20px; opacity: .6; }

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer { background: var(--bordo-dark); color: var(--crem); padding: clamp(48px, 6vw, 76px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--crem); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(244,241,234,.82); }
.site-footer a:hover { color: var(--white); }
.footer-brand p { color: rgba(244,241,234,.78); font-size: .95rem; max-width: 34ch; }
.footer-brand .footer-name { font-family: var(--font-head); font-style: italic; font-size: 1.35rem; color: var(--crem); margin-bottom: .3rem; }
.footer-links li { margin-bottom: .6rem; font-size: .92rem; }
.footer-contact li { margin-bottom: .7rem; font-size: .92rem; color: rgba(244,241,234,.85); }
.footer-social { display: flex; gap: 10px; margin: 18px 0 6px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,241,234,.12); color: var(--crem); border: 1px solid rgba(244,241,234,.22); transition: background .2s ease, color .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--crem); color: var(--bordo); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-anpc { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.footer-anpc a { background: var(--white); border-radius: 8px; padding: 6px; display: inline-flex; }
.footer-anpc img { height: 38px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(244,241,234,.18); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: rgba(244,241,234,.7); }

/* floating whatsapp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-item .page-link { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--bordo); font-weight: 600; }
.pagination .page-item.active .page-link { background: var(--bordo); color: var(--crem); border-color: var(--bordo); }
.pagination .page-item.disabled .page-link { opacity: .4; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 960px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .hero__grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero__photo { max-width: 460px; margin: 0 auto; order: -1; }
    .about-grid__photo img { position: static; max-width: 420px; margin: 0 auto; }
    .book-feature { grid-template-columns: 1fr; text-align: center; }
    .book-feature__cover { max-width: 220px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .header-cta { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
        background: var(--crem); border-bottom: 1px solid var(--line); padding: 16px 24px 26px; gap: 2px;
        transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s ease; box-shadow: var(--shadow);
    }
    .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .nav a { padding: 13px 8px; font-size: .9rem; border-bottom: 1px solid var(--line); }
    .nav a::after { display: none; }
    .nav > .btn { display: inline-flex; margin-top: 12px; }
    .grid--2, .grid--3, .field-row { grid-template-columns: 1fr; }
    body { font-size: 16px; }
}

@media (max-width: 420px) {
    .container { padding-inline: 18px; }
    .card, .form-card, .contact-info, .book-feature { padding: 24px; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ========================================================================
   Programare (sloturi)
   ======================================================================== */
.type-toggle { display: flex; gap: 10px; flex-wrap: wrap; }
.type-toggle label { display: inline-flex; margin: 0; cursor: pointer; }
.type-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.type-toggle span {
    display: inline-flex; align-items: center; padding: 9px 24px;
    border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
    font-size: .85rem; font-weight: 600; color: var(--ink);
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.type-toggle label:hover input:not(:disabled) + span { border-color: var(--bordo); color: var(--bordo); }
.type-toggle input:checked + span { background: var(--bordo); border-color: var(--bordo); color: var(--crem); }
.type-toggle input:focus-visible + span { box-shadow: 0 0 0 3px rgba(129, 1, 36, .18); }
.type-toggle input:disabled + span { opacity: .45; cursor: not-allowed; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.slot {
    padding: 10px 6px; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--white); font: inherit; font-size: .88rem; font-weight: 600;
    color: var(--ink); text-align: center; cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.slot:hover { border-color: var(--bordo); color: var(--bordo); }
.slot.is-selected { background: var(--bordo); border-color: var(--bordo); color: var(--crem); }

.slot-status { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }

.booking-summary {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 34px; box-shadow: var(--shadow-sm); max-width: 560px; margin: 0 auto;
}
.booking-summary__row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.booking-summary__row span { color: var(--muted); }

#service-meta { color: var(--muted); font-size: .8rem; margin-top: 7px; min-height: 1.2em; }

/* ------------------------------------------------------------------------
   Programare — calendar săptămânal (desktop) + bandă de zile (mobil)
   ------------------------------------------------------------------------ */
.cal { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cal-label { font-family: var(--font-head); font-weight: 600; color: var(--bordo); font-size: 1.02rem; text-align: center; flex: 1; }
.cal-nav { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--bordo); font-size: 1.25rem; line-height: 1; cursor: pointer; transition: all .15s ease; }
.cal-nav:hover:not(:disabled) { border-color: var(--bordo); background: var(--crem); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }

.cal-legend { display: flex; gap: 18px; justify-content: center; font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.cal-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.cal-dot--fizic { background: var(--bordo); }
.cal-dot--online { background: var(--accent); }

/* Grila săptămânală (desktop) */
.cal-week { display: grid; grid-template-columns: 46px repeat(7, 1fr); gap: 4px; }
.cal-h { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; text-align: center; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.cal-h b { display: block; font-size: 1rem; color: var(--ink); font-weight: 700; }
.cal-time { font-size: .72rem; color: var(--muted); display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; }
.cal-cell { min-height: 34px; display: flex; }
.cal-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: #ddd3c8; font-size: .8rem; user-select: none; }

/* Chip de slot — colorat după tip */
.cal-slot { flex: 1; border-radius: 8px; border: 1.5px solid; background: var(--white); font: inherit; font-size: .78rem; font-weight: 600; padding: 6px 2px; cursor: pointer; transition: all .15s ease; }
.cal-slot--fizic { border-color: var(--bordo); color: var(--bordo); }
.cal-slot--online { border-color: var(--accent); color: var(--accent); }
.cal-slot--both { border-color: var(--bordo); color: var(--bordo); background: linear-gradient(135deg, rgba(129,1,36,.05) 50%, rgba(104,94,150,.14) 50%); }
.cal-slot--fizic:hover:not(:disabled) { background: var(--bordo); color: var(--crem); }
.cal-slot--online:hover:not(:disabled) { background: var(--accent); color: #fff; }
.cal-slot--both:hover:not(:disabled) { background: var(--bordo); color: var(--crem); }

/* Înghețat: rămâne în nuanța tipului, dar estompat și ne-clicabil */
.cal-slot.is-frozen { opacity: .35; cursor: not-allowed; }
.cal-slot--fizic.is-frozen { background: rgba(129,1,36,.07); }
.cal-slot--online.is-frozen { background: rgba(104,94,150,.10); }

/* Selectat: plin, în culoarea tipului ales */
.cal-slot.is-selected.by-fizic { background: var(--bordo); border-color: var(--bordo); color: var(--crem); box-shadow: 0 0 0 3px rgba(129,1,36,.18); }
.cal-slot.is-selected.by-online { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 3px rgba(104,94,150,.22); }

/* Varianta mobil: bandă de zile + lista zilei */
.cal-mobile { display: none; }
.cal-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 10px; -webkit-overflow-scrolling: touch; }
.cal-day { min-width: 62px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); padding: 8px 4px 6px; text-align: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; cursor: pointer; font-family: inherit; transition: all .15s ease; }
.cal-day b { display: block; font-size: 1.05rem; color: var(--ink); }
.cal-day .cal-day-dots { display: flex; gap: 3px; justify-content: center; margin-top: 4px; min-height: 10px; }
.cal-day .cal-day-dots .cal-dot { width: 7px; height: 7px; margin: 0; }
.cal-day.is-active { border-color: var(--bordo); background: var(--crem); }
.cal-day.is-dim { opacity: .45; }
.cal-slot--lg { padding: 12px 6px; font-size: .95rem; min-height: 44px; }
.cal-mobile .slot-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }

.picked-label { font-weight: 600; font-size: .92rem; margin-top: 10px; min-height: 1.3em; }
.picked-label--fizic { color: var(--bordo); }
.picked-label--online { color: var(--accent); }

@media (max-width: 760px) {
    .cal-week { display: none; }
    .cal-mobile { display: block; }
    .cal { padding: 12px; }
}
