/* ===========================================================================
   Arogant Flowers — foaia de stil a paginii publice
   Culori: hârtie caldă + vișiniu de brand + verde de tulpină.
   Tipografie: Fraunces (titluri) + Karla (text).
   =========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper:        #FDFBFC;
  --blush:        #F7EEF0;
  --blush-deep:   #F0E1E5;
  --line:         #E6D5DA;
  --visiniu:      #7B1E3A;
  --visiniu-dark: #4A0F22;
  /* Verdele rămâne exclusiv semnalul „deschis": punctul din antet și faptele scurte. */
  --frunza:       #2F5D50;
  --frunza-soft:  #E7EFEB;
  --ink:          #24191D;
  --mut:          #7A6067;
  --lamp:         #C98A2B;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1140px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(74, 15, 34, .05), 0 12px 32px -18px rgba(74, 15, 34, .28);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.09rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--visiniu); text-underline-offset: .18em; }

:focus-visible {
  outline: 3px solid var(--frunza);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 50%; translate: -50% -120%;
  background: var(--visiniu-dark); color: #FDF7F4; padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px; z-index: 100; transition: translate .18s ease;
}
.skip:focus { translate: -50% 0; }

/* ── Titluri ──────────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--visiniu-dark);
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--visiniu);
  margin: 0 0 1rem;
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section > .wrap > .eyebrow { margin-bottom: .6rem; }
.section-title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.section-intro { max-width: 56ch; color: var(--mut); margin: .9rem 0 0; }

.band { background: var(--blush); }
.band-line { border-block: 1px solid var(--line); }

/* ── Butoane ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 54px; padding: .85rem 1.6rem;
  font-family: var(--body); font-size: 1.03rem; font-weight: 700;
  letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border-radius: 999px; border: 2px solid transparent;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, translate .16s ease;
}
.btn:hover { translate: 0 -1px; }
.btn svg { width: 21px; height: 21px; flex: none; }

/* Acțiunea principală este WhatsApp; apelul telefonic rămâne a doua opțiune.
   Amândouă poartă vișiniul brandului — semnul WhatsApp și eticheta spun ce face
   butonul, deci nu e nevoie să împrumutăm verdele altei mărci. */
.btn-wa { background: var(--visiniu); color: #FDF7F4; border-color: var(--visiniu); }
.btn-wa:hover { background: var(--visiniu-dark); border-color: var(--visiniu-dark); }

.btn-call { background: transparent; color: var(--visiniu); border-color: var(--visiniu); }
.btn-call:hover { background: var(--visiniu); color: #FDF7F4; }

.btn-ghost {
  background: transparent; color: var(--visiniu-dark);
  border-color: var(--line); font-weight: 600;
}
.btn-ghost:hover { border-color: var(--visiniu); color: var(--visiniu); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ── Antet ────────────────────────────────────────────────────────────── */

.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px; padding-block: .6rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--display); font-size: 1.22rem; font-weight: 600;
  color: var(--visiniu-dark); line-height: 1.1; letter-spacing: -.01em;
}
.brand-sub { display: block; font-family: var(--body); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }

.header .btn { min-height: 44px; padding: .5rem 1.15rem; font-size: .95rem; }
.header-call { display: none; }
@media (min-width: 720px) { .header-call { display: inline-flex; } }

/* ── Semnalul „deschis" — elementul-semnătură ────────────────────────── */

.status {
  display: inline-flex; align-items: baseline; gap: .5rem;
  padding: .38rem .85rem .42rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper);
  font-size: .86rem; font-weight: 600; color: var(--visiniu-dark);
  white-space: nowrap;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--frunza);
  align-self: center; flex: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--frunza) 55%, transparent);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--frunza) 50%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.status time { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.status-label { color: var(--mut); font-weight: 600; }
@media (max-width: 560px) { .status-label { display: none; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto -30%; height: 90%;
  background: radial-gradient(60% 60% at 30% 20%, var(--blush) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
body[data-tod="noapte"] .hero::before {
  background:
    radial-gradient(50% 46% at 78% 8%, color-mix(in srgb, var(--lamp) 26%, transparent) 0%, transparent 72%),
    radial-gradient(60% 60% at 25% 22%, var(--blush) 0%, transparent 70%);
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -.028em;
}
.hero h1 .clock {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--visiniu);
  white-space: nowrap;
}
.hero-lede { max-width: 46ch; margin: 1.4rem 0 0; font-size: 1.1rem; color: var(--ink); }
.hero .btn-row { margin-top: 2rem; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin: 2.2rem 0 0; padding: 1.1rem 0 0; list-style: none;
  border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--mut);
}
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
/* Verdele rămâne culoarea semnalelor practice: „deschis", contact, reasigurări. */
.hero-facts li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--frunza); flex: none;
}

.hero-figure { position: relative; }
.hero-figure .frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--blush);
  aspect-ratio: 4 / 5;
}
.hero-figure img, .hero-figure svg { width: 100%; height: 100%; object-fit: cover; }

.hero-note {
  position: absolute; left: 50%; bottom: -18px; translate: -50% 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem 1.1rem; font-size: .84rem; font-weight: 600; color: var(--visiniu-dark);
  box-shadow: var(--shadow); white-space: nowrap;
}

/* ── Avantaje ─────────────────────────────────────────────────────────── */

.usp-grid {
  display: grid; gap: 1.6rem 2.4rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.usp-grid h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: .3rem; }
.usp-grid p { margin: 0; color: var(--mut); font-size: .97rem; }
.usp-grid li { padding-left: 1.15rem; border-left: 2px solid var(--visiniu); }

/* ── Servicii ─────────────────────────────────────────────────────────── */

.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 2.5rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .55rem;
}
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--mut); font-size: .97rem; }
.card .price {
  margin-top: auto; padding-top: .9rem; font-family: var(--display);
  font-size: 1.12rem; font-weight: 600; color: var(--visiniu);
}
.card .price small { display: block; font-family: var(--body); font-size: .8rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }

/* ── Sortiment ────────────────────────────────────────────────────────── */

.flowers {
  display: grid; gap: 2rem 1.5rem; margin: 2.8rem 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .flowers { grid-template-columns: repeat(3, 1fr); gap: 2.6rem 2rem; } }

.flowers li { text-align: center; }
.flowers img {
  width: clamp(96px, 22vw, 152px); height: auto; margin: 0 auto .7rem;
  transition: rotate .4s ease, scale .4s ease;
}
.flowers li:hover img { rotate: -3deg; scale: 1.05; }
.flowers h3 { font-size: 1.14rem; font-weight: 600; margin-bottom: .25rem; }
.flowers p { margin: 0; color: var(--mut); font-size: .93rem; text-wrap: balance; }

/* ── Galerie ──────────────────────────────────────────────────────────── */

.gallery {
  display: grid; gap: .9rem; margin-top: 2.5rem;
  /* auto-fit, ca trei fotografii să umple rândul în loc să lase gol în dreapta */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.gallery button {
  padding: 0; border: 0; background: var(--blush); cursor: zoom-in;
  border-radius: 10px; overflow: hidden; aspect-ratio: 1; display: block;
}
.gallery img, .gallery svg { width: 100%; height: 100%; object-fit: cover; transition: scale .3s ease; }
.gallery button:hover img { scale: 1.04; }

/* ── Recenzii ─────────────────────────────────────────────────────────── */

.reviews {
  display: flex; gap: 1rem; margin-top: 2.5rem; padding-bottom: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.reviews > * { scroll-snap-align: start; flex: 0 0 min(78vw, 300px); }
.reviews button {
  padding: 0; border: 1px solid var(--line); background: var(--paper); cursor: zoom-in;
  border-radius: 12px; overflow: hidden; display: block; width: 100%;
}
.reviews img, .reviews svg { width: 100%; height: auto; }

/* ── Despre ───────────────────────────────────────────────────────────── */

.about-grid { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text p { margin: 0 0 1rem; }
.pull {
  font-family: var(--display); font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  font-weight: 400; line-height: 1.25; color: var(--visiniu-dark);
  margin: 0; padding-left: 1.4rem; border-left: 3px solid var(--visiniu);
}
.pull cite { display: block; margin-top: .9rem; font-family: var(--body); font-size: .85rem;
  font-style: normal; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--mut); }

/* ── Contact ──────────────────────────────────────────────────────────── */

.contact-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }

.contact-list { margin: 2rem 0 0; padding: 0; }
.contact-list > div { padding: .95rem 0; border-bottom: 1px solid var(--line); }
.contact-list dd { margin: 0; }
.contact-list dt, .contact-list .label {
  font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--mut); margin-bottom: .2rem;
}
.contact-list .value { font-size: 1.08rem; color: var(--ink); }
.contact-list a { font-weight: 600; }

.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--blush);
}
.map iframe { display: block; width: 100%; height: clamp(300px, 44vw, 420px); border: 0; }
.map-foot { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between;
  padding: .9rem 1.1rem; background: var(--paper); border-top: 1px solid var(--line); font-size: .93rem; }

/* ── Subsol ───────────────────────────────────────────────────────────── */

.footer { background: var(--visiniu-dark); color: #EBD9DE; padding-block: 3rem 5.5rem; }
.footer a { color: #F6E7EB; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer img.mark { width: 54px; height: 54px; margin-bottom: 1rem; }
.footer h2 { color: #FBEEF1; font-size: 1rem; font-family: var(--body); font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: .8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: .3rem 0; display: flex; align-items: center; gap: .6rem; }
.footer li svg { width: 18px; height: 18px; flex: none; opacity: .72; }

.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(246, 231, 235, .18);
  font-size: .86rem; color: #C9AEB6; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }

/* Datele legale ale firmei — se completează din panou. */
.footer-company {
  margin-top: 1.6rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(246, 231, 235, .14);
  font-size: .84rem; color: #BFA0A9; line-height: 1.5;
}
.footer-company.is-placeholder { font-style: italic; opacity: .75; }

/* ── Bulele plutitoare de contact ─────────────────────────────────────────
   Apar după ce vizitatorul a coborât puțin în pagină și rămân la îndemână.  */

.bubbles {
  position: fixed; z-index: 60;
  right: clamp(.9rem, 3vw, 2rem);
  bottom: calc(clamp(.9rem, 3vw, 2rem) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column-reverse; gap: .7rem;
  opacity: 0; translate: 0 14px; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, translate .3s ease, visibility .3s;
}
.bubbles.is-visible { opacity: 1; translate: 0 0; visibility: visible; pointer-events: auto; }

.bubble {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  color: #FDF7F4; text-decoration: none;
  box-shadow: 0 6px 20px -6px rgba(74, 15, 34, .45);
  transition: scale .18s ease, background-color .18s ease;
}
.bubble:hover { scale: 1.06; }
.bubble svg { width: 27px; height: 27px; }

/* Bula principală e plină; cea de apel rămâne deschisă, ca să se distingă
   una de alta fără să folosim o a doua culoare. */
.bubble-wa { background: var(--visiniu); position: relative; }
.bubble-wa:hover { background: var(--visiniu-dark); }

.bubble-call {
  background: var(--paper); color: var(--visiniu);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px -6px rgba(74, 15, 34, .35);
}
.bubble-call:hover { background: var(--blush); }

/* Pulsație discretă, doar pe acțiunea principală. */
.bubbles.is-visible .bubble-wa::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--visiniu) 55%, transparent);
  animation: bubble-pulse 4.5s cubic-bezier(.22, .61, .36, 1) infinite;
  pointer-events: none;
}

@keyframes bubble-pulse {
  0%       { box-shadow: 0 0 0 0 color-mix(in srgb, var(--visiniu) 50%, transparent); }
  12%      { box-shadow: 0 0 0 14px transparent; }
  100%     { box-shadow: 0 0 0 14px transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles.is-visible .bubble-wa::after { animation: none; }
}

@media (min-width: 860px) { .footer { padding-bottom: 3rem; } }

/* ── Recenzii preluate din Google ─────────────────────────────────────── */

.g-summary {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  margin-top: 1.4rem; font-size: .97rem;
}
.g-score { font-family: var(--display); font-size: 1.9rem; font-weight: 600; color: var(--visiniu-dark); line-height: 1; }
.stars { color: var(--lamp); letter-spacing: .1em; white-space: nowrap; }

.g-reviews {
  display: grid; gap: 1rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.g-review {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.3rem;
}
.g-review-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.g-review-head img { width: 40px; height: 40px; border-radius: 50%; background: var(--blush); }
.g-review-head b { display: block; font-size: .97rem; color: var(--visiniu-dark); }
.g-review-head span { font-size: .82rem; color: var(--mut); }
.g-review p { margin: 0; font-size: .96rem; }

.g-attrib { margin-top: 1.4rem; font-size: .87rem; color: var(--mut); }

/* ── Lightbox ─────────────────────────────────────────────────────────── */

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  padding: clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--visiniu-dark) 92%, transparent);
  border: 0;
}
/* Un <dialog> închis trebuie să rămână ascuns — de aceea afișarea e legată de [open]. */
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(36, 25, 29, .6); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; object-fit: contain; }
.lightbox-close, .lightbox-nav button {
  position: absolute; background: rgba(253, 247, 244, .12); color: #FDF7F4;
  border: 1px solid rgba(253, 247, 244, .3); border-radius: 999px;
  width: 48px; height: 48px; font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav .prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-nav .next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-count { position: absolute; bottom: 1.2rem; left: 50%; translate: -50% 0;
  color: #E7CFD6; font-size: .9rem; font-variant-numeric: tabular-nums; }

/* ── Filigran „în dezvoltare" ─────────────────────────────────────────────
   Se afișează doar cât timp DEV_WATERMARK este activ în config.php.
   Nu prinde clicuri și nu se tipărește.                                     */

.filigran {
  position: fixed; inset: 0; z-index: 80;
  pointer-events: none;
  opacity: .10;
  background-repeat: repeat;
  background-position: center;
  background-size: 520px 300px;
}
@media print { .filigran { display: none; } }

/* ── Substituenți (până când clientul încarcă fotografii reale) ───────── */

.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--blush); }
.ph-tag {
  position: absolute; left: .7rem; top: .7rem;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .2rem .6rem; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--mut);
}
.ph-wrap { position: relative; width: 100%; height: 100%; }
