/* Denisse Beauty — roz pudrat și burgundy, gândit întâi pentru telefon */
:root {
  --paper: #fff7f8;
  --blush: #f9e3e8;
  --rose: #e9a9b8;
  --rose-deep: #d06d88;
  --burgundy: #7b1d3c;
  --wine: #4a0f24;
  --ink: #3a1a26;
  --muted: #8a6371;
  --line: #efcfd7;
  --ok: #2f7a4f;
  --err: #b3261e;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', system-ui, sans-serif;

  --radius: 14px;
  --wrap: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; display: block; }
a { color: var(--burgundy); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; color: var(--wine); }
h2 { font-size: clamp(2rem, 6vw, 2.75rem); }
h2 em { font-style: italic; font-weight: 500; color: var(--rose-deep); }
.eyebrow {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
}

/* Bara de sus */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 21;
  background: var(--paper);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--burgundy); text-decoration: none; font-weight: 600; }
.logo img { height: 40px; width: auto; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--ink); font-size: .95rem; }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--burgundy);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--wine); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.small { padding: 8px 16px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--burgundy); box-shadow: inset 0 0 0 1.5px var(--burgundy); }
.btn.ghost:hover { background: var(--blush); }

/* Banner mod demonstrativ */
.demo-banner {
  background: var(--wine);
  color: var(--blush);
  font-size: .85rem;
  text-align: center;
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px));
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--blush), var(--paper)); }
.hero .wrap { padding-block: 56px 48px; display: grid; gap: 20px; }
.hero .wrap { justify-items: center; text-align: center; }
.hero p { margin-inline: auto; }
.hero .actions { justify-content: center; }
/* Lumina albă din spatele logo-ului îl scoate în evidență pe fundalul roz. */
.hero h1 { padding: 4px 28px; background: radial-gradient(closest-side, color-mix(in srgb, #fff 85%, transparent), transparent); }
.hero-logo { width: min(78vw, 340px); height: auto; }
/* Auriul din logo e deschis; îl facem puțin mai intens și mai clar. */
.hero-logo, .logo img { filter: saturate(1.25) contrast(1.15) brightness(.9) drop-shadow(0 1px 1px color-mix(in srgb, var(--wine) 25%, transparent)); }
.hero .tag { font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 1.7rem); color: var(--wine); }
.hero p { max-width: 34rem; margin: 0; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

section { padding-block: 56px; scroll-margin-top: 60px; } /* titlul nu mai intră sub bara de sus */
.section-head { display: grid; gap: 6px; margin-bottom: 28px; }

/* Servicii */
.cats { display: grid; gap: 32px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cat h3 { font-size: 1.6rem; font-style: italic; padding-bottom: 8px; border-bottom: 1px solid var(--rose); margin-bottom: 4px; }
.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 10px 4px;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
  background: none;
  border-left: 0; border-right: 0; border-top: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 0;
}
.svc:hover { background: var(--blush); }
.svc .n { font-weight: 500; }
.svc .p { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--burgundy); font-variant-numeric: tabular-nums; }
.svc .d { font-size: .85rem; color: var(--muted); }
.svc .alege { font-size: .8rem; color: var(--rose-deep); text-align: right; }
.note { margin-top: 20px; color: var(--muted); font-style: italic; }

/* Programare */
.booking { background: var(--blush); }
.panel {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 28px;
  box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--wine) 45%, transparent);
}
@media (max-width: 480px) { .panel { padding: 18px; } }
.step { display: grid; gap: 12px; min-width: 0; }
.step-title { display: flex; align-items: baseline; gap: 10px; font-weight: 500; }
.step-title .nr {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rose-deep);
}

select, input, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
select:focus, input:focus, textarea:focus { border-color: var(--burgundy); outline: none; }
label { display: grid; gap: 6px; font-size: .92rem; }
.field-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
.day {
  flex: 0 0 auto;
  width: 68px;
  scroll-snap-align: start;
  display: grid;
  justify-items: center;
  gap: 0;
  padding: 10px 4px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.day .w { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.day .dd { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.day .m { font-size: .75rem; color: var(--muted); }
.day[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: var(--paper); }
.day[aria-pressed="true"] .w, .day[aria-pressed="true"] .m { color: var(--blush); }
.day:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot {
  padding: 10px 0;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.slot:hover { border-color: var(--rose-deep); }
.slot[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: var(--paper); }
.hint { color: var(--muted); font-size: .92rem; margin: 0; }

.summary {
  border-left: 3px solid var(--rose-deep);
  padding: 4px 0 4px 14px;
  display: grid;
  gap: 2px;
}
.summary strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--wine); }
.msg { margin: 0; font-size: .95rem; }
.msg.err { color: var(--err); }

.done { text-align: center; display: grid; gap: 12px; justify-items: center; padding-block: 16px; }
.done h3 { font-size: 2rem; font-style: italic; }
.done .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.taxa-msg { margin: 0; max-width: 30rem; padding: 10px 14px; border-radius: 10px; background: #fdf3e2; border: 1px solid #ecd3a4; color: #6b4a12; font-size: .95rem; }
.check-row.regula { align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.check-row.regula input { margin-top: 3px; flex: none; }

/* Recenzii */
/* Capturile au înălțimi diferite, așa că le așezăm pe coloane (ca un panou Pinterest). */
.reviews { columns: 3 260px; column-gap: 16px; }
.review {
  margin: 0 0 16px;
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 30px -22px color-mix(in srgb, var(--wine) 50%, transparent);
}
.review img { width: 100%; height: auto; border-radius: 12px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.35; color: var(--wine); }
.review figcaption { display: flex; align-items: center; gap: 10px; padding-inline: 4px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.review .stars { color: #c9a24a; letter-spacing: .1em; font-size: .95rem; }
.done .check {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--burgundy); color: var(--paper);
  display: grid; place-items: center; font-size: 1.6rem;
}

/* Galerie */
/* Prima poză e mare: pe telefon pe toată lățimea, pe ecran mare în stânga, cât două rânduri. */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 10px; }
.gallery img:first-child { grid-column: span 2; aspect-ratio: 3 / 4; }
@media (min-width: 640px) {
  .gallery { grid-template-columns: 1.8fr 1fr 1fr; }
  .gallery img:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; height: 100%; }
}

/* Info */
.info { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.info h3 { font-size: 1.5rem; font-style: italic; margin-bottom: 8px; }
.info ul { margin: 0; padding-left: 1.1em; color: var(--ink); }
.info li + li { margin-top: 4px; }

/* Contact */
.contact { background: var(--wine); color: var(--blush); }
.contact h2 { color: var(--paper); }
.contact h2 em { color: var(--rose); }
.contact .eyebrow { color: var(--rose); }
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-content: start; }
.contact-layout { display: grid; gap: 28px; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 1fr 1.1fr; align-items: start; } }

/* Harta Google */
.map { display: grid; gap: 12px; width: 100%; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--blush); }
.contact .map iframe { box-shadow: 0 0 0 1px color-mix(in srgb, var(--rose) 35%, transparent); }
.done-map { max-width: 520px; margin-top: 8px; }
.done-map iframe { aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.install-hint { margin: 0; font-size: .9rem; line-height: 1.45; }
.contact .install .btn { justify-self: start; }
.contact .install-hint { color: var(--blush); }
.top .install-hint { display: block; padding-block: 0 10px; color: var(--muted); }
.btn.light { background: var(--paper); color: var(--wine); }
.btn.light:hover { background: var(--blush); }
.map .btn { justify-self: start; }
.done-map .btn { justify-self: center; }
.contact-item { display: grid; gap: 4px; }
.contact-item .lbl { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.contact-item a, .contact-item span { color: var(--paper); font-size: 1.1rem; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
footer { background: var(--wine); color: var(--rose); font-size: .85rem; border-top: 1px solid color-mix(in srgb, var(--rose) 25%, transparent); }
footer .wrap { padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
footer a { color: var(--rose); }

/* Admin */
.admin-main { padding-block: 32px 64px; display: grid; gap: 28px; }
.login { max-width: 360px; display: grid; gap: 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--blush);
  color: var(--wine);
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
}
.day-group { display: grid; gap: 8px; }
.day-group h3 { font-size: 1.45rem; font-style: italic; text-transform: capitalize; }
.appt {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.appt.blocat { background: var(--blush); border-style: dashed; }
.appt .ora { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--burgundy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.appt .ora small { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 400; color: var(--muted); }
.appt .cine { min-width: 0; }
.appt .cine b { display: block; }
.appt .cine span { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.appt .act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.appt .act a, .appt .act button, .taxa-rand button {
  font-size: .85rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: var(--burgundy);
  cursor: pointer;
}
.appt .act button.danger, .taxa-rand button.danger { color: var(--err); }
.appt .act button.danger.confirm, .taxa-rand button.danger.confirm { background: var(--err); color: #fff; border-color: var(--err); }
.appt .cine .tag { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: .8rem; background: var(--blush); color: var(--wine); }
.appt .cine .tag.warn { background: #fdf3e2; color: #6b4a12; border: 1px solid #ecd3a4; }
.taxe-list { display: grid; gap: 10px; }
.taxa-rand { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.taxa-rand small { color: var(--muted); }
@media (max-width: 560px) {
  .appt { grid-template-columns: 80px minmax(0, 1fr); }
  .appt .act { grid-column: 1 / -1; justify-content: flex-start; }
}
.block-form { display: grid; gap: 14px; }
.block-form [hidden] { display: none; }
.check-row { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.check-row input { width: auto; accent-color: var(--burgundy); }
details.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
details.card summary { cursor: pointer; font-weight: 500; color: var(--burgundy); }
details.card[open] summary { margin-bottom: 14px; }
.empty { color: var(--muted); font-style: italic; }
