/* ==========================================================================
   KingCaffe — stylesheet
   ========================================================================== */

:root {
  --espresso: #150e0c;
  --coffee-900: #1b1210;
  --coffee-800: #241713;
  --coffee-700: #33211a;
  --coffee-600: #4a2f24;
  --crema: #e9d7ba;
  --latte: #f8f3ec;
  --sand: #efe4d4;
  --gold: #d59b3c;
  --gold-soft: #f0bd63;
  --gold-ink: #9c6b18; /* varianta pentru text mic pe fundal deschis (contrast ≥ 4.5) */
  --ink: #17100e;
  --muted: #7a6558;
  --muted-dark: #b8a292;
  --line: rgba(23, 16, 14, .1);
  --line-dark: rgba(233, 215, 186, .14);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 45px -22px rgba(21, 14, 12, .45);
  --shadow-lg: 0 40px 80px -40px rgba(21, 14, 12, .6);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --nav-h: clamp(62px, 4.5vw + 42px, 76px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15.5px, .28vw + 14.7px, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--latte);
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(213, 155, 60, .25);
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - var(--gutter) * 2, 800px); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--espresso);
  padding: .75rem 1.25rem; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(213, 155, 60, .85); }
.btn:active { transform: translateY(0); }

.btn--primary { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); }
.btn--ghost {
  background: transparent; color: var(--crema);
  border-color: rgba(233, 215, 186, .35);
}
.btn--ghost:hover { background: rgba(233, 215, 186, .1); box-shadow: none; }
.btn--outline {
  background: transparent; color: var(--coffee-700);
  border-color: rgba(23, 16, 14, .18);
}
.btn--outline:hover { background: var(--coffee-900); color: var(--crema); border-color: var(--coffee-900); box-shadow: none; }
.btn--sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-stuck {
  background: rgba(21, 14, 12, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark), 0 12px 30px -24px #000;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--crema); }
.logo__mark { width: 34px; height: 34px; color: var(--gold); flex: none; }
.logo__text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em;
}
.logo__text span { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a {
  color: var(--crema); font-size: .95rem; font-weight: 500; opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}
.nav__links a:hover { opacity: 1; color: var(--gold-soft); }
.nav__links .btn { opacity: 1; color: var(--espresso); }
.nav__links .btn:hover { color: var(--espresso); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark); border-radius: 12px;
  background: rgba(233, 215, 186, .06);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--crema);
  transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(2.25rem, 5vw, 4.5rem)) 0 0;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(59, 36, 25, 1) 0%, rgba(59, 36, 25, 0) 55%),
    radial-gradient(80% 70% at 10% 20%, rgba(42, 26, 20, 1) 0%, rgba(42, 26, 20, 0) 60%),
    var(--coffee-900);
  color: var(--crema);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(233, 215, 186, .07) 1px, rgba(233, 215, 186, 0) 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: -120px; top: -80px;
  background: radial-gradient(circle, rgba(213, 155, 60, .3), rgba(213, 155, 60, 0) 65%);
  filter: blur(18px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3rem); align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero h1 { color: var(--latte); margin-bottom: .35em; }
.grad {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 45%, #ffe0a8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1rem, .4vw + .95rem, 1.15rem); color: rgba(233, 215, 186, .82); max-width: 46ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.hero .eyebrow, .eyebrow--light { color: rgba(233, 215, 186, .7); }

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.75rem; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 2.25rem;
  list-style: none; margin: 0; padding: 1.6rem 0 0;
  border-top: 1px solid var(--line-dark);
}
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-soft); }
.hero__trust span { font-size: .85rem; color: rgba(233, 215, 186, .6); }

/* pahar de drum — desenat ca SVG, pentru că varianta cu clip-path + filter
   nu se afișa pe Safari/iOS */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.togo {
  width: min(240px, 62vw); height: auto; aspect-ratio: 240 / 360;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .55));
}
.togo__word {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  fill: #241713;
}

/* aburul: trei fuioare care urcă și se estompează */
.steam__wisp {
  opacity: 0;
  animation: steam 4s ease-in-out infinite;
  /* Safari are nevoie de transform-box ca transformările CSS să se aplice
     corect elementelor din interiorul unui SVG. */
  transform-box: fill-box;
  transform-origin: center bottom;
  will-change: transform, opacity;
}
.steam__wisp--2 { animation-delay: .7s; animation-duration: 4.6s; }
.steam__wisp--3 { animation-delay: 1.4s; animation-duration: 4.2s; }
@keyframes steam {
  0%   { opacity: 0;   transform: translateY(14px) scaleY(.85); }
  25%  { opacity: .95; }
  60%  { opacity: .65; }
  100% { opacity: 0;   transform: translateY(-26px) scaleY(1.15); }
}

.price-badge {
  position: absolute; right: 0; bottom: 24px;
  width: 122px; height: 122px; border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
  color: var(--espresso);
  display: grid; place-content: center; text-align: center;
  box-shadow: 0 24px 50px -20px rgba(213, 155, 60, .8);
  animation: float 5s ease-in-out infinite;
}
.price-badge__num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.price-badge__cur { font-weight: 700; font-size: 1rem; margin-top: -4px; }
.price-badge__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* marquee */
.marquee {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  background: rgba(0,0,0,.22);
  overflow: hidden; padding: .9rem 0;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, rgba(0,0,0,0));
}
.marquee__track {
  display: flex; gap: 2.25rem; width: max-content;
  animation: slide 32s linear infinite;
  font-family: var(--font-display); font-size: 1.05rem;
  color: rgba(233, 215, 186, .55); white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(3.25rem, 6.5vw, 6rem) 0; }
.section--tight { padding: clamp(2.75rem, 5vw, 4.5rem) 0; }
.section--alt { background: var(--sand); }
.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__sub { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid > *, .hero__copy, .hero__visual, .offer__copy, .offer__card,
.contact__copy, .form, .steps > *, .strip > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- benefit cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(213,155,60,.4); }
.card__icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(140deg, rgba(213,155,60,.2), rgba(213,155,60,.06));
  color: var(--coffee-700);
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chip {
  padding: .6rem 1.1rem; min-height: 44px; border-radius: 999px;
  display: inline-flex; align-items: center; white-space: nowrap;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--gold); color: var(--coffee-700); }
.chip.is-active { background: var(--coffee-900); border-color: var(--coffee-900); color: var(--crema); }

/* ---------- băuturi ---------- */
.drink {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.drink:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(213,155,60,.45); }
.drink__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drink__icon { width: 54px; height: 54px; color: var(--coffee-700); }
.drink__price {
  padding: .35rem .85rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--espresso); font-weight: 700; font-size: .9rem;
}
.drink p { color: var(--muted); font-size: .94rem; flex: 1; }
.drink__meta {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-ink); font-weight: 600;
  padding-top: .9rem; border-top: 1px solid var(--line);
}
.note { margin: 2rem 0 0; color: var(--muted); font-size: .95rem; }
.note a { color: var(--coffee-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.note a:hover { color: var(--gold); }

/* ---------- căutare locații ---------- */
.finder {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.finder__search {
  position: relative; flex: 1 1 340px;
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .2rem .4rem .2rem 1.1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.finder__search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(213,155,60,.18); }
.finder__search svg {
  width: 19px; height: 19px; flex: none;
  fill: none; stroke: var(--muted); stroke-width: 1.9; stroke-linecap: round;
}
.finder__search input {
  flex: 1; border: 0; background: transparent; padding: .8rem .5rem .8rem 0;
  font-family: inherit; font-size: max(16px, .95rem); color: var(--ink); min-width: 0;
}
.finder__search input:focus { outline: none; }
.finder .filters { margin: 0; }

.loc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: .35rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.loc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.loc.is-hidden { display: none; }
.loc__type {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.loc h3 { margin: .2rem 0 0; font-size: 1.1rem; }
.loc p { margin: 0; color: var(--muted); font-size: .93rem; }
.loc__hours {
  margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--coffee-700); font-weight: 600;
}
.products__empty { text-align: center; color: var(--muted); padding: 2rem 0; }
.price {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--coffee-800);
  display: inline-flex; align-items: baseline; gap: .3rem;
}
.price small { font-family: var(--font-body); font-size: .78rem; font-weight: 500; color: var(--muted); }
.machine__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.tag {
  position: absolute; top: 14px; left: 14px;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.9); color: var(--coffee-800);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.tag--gold { background: var(--coffee-900); color: var(--gold-soft); }

/* ---------- offer ---------- */
.offer {
  background:
    radial-gradient(90% 100% at 15% 0%, rgba(56, 35, 26, 1) 0%, rgba(56, 35, 26, 0) 60%),
    var(--coffee-900);
  color: var(--crema);
}
.offer__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.offer h2 { color: var(--latte); }
.offer p { color: rgba(233, 215, 186, .78); }

.ticks { list-style: none; margin: 1.75rem 0 2.25rem; padding: 0; display: grid; gap: .75rem; }
.ticks li { position: relative; padding-left: 2rem; color: rgba(233, 215, 186, .88); font-size: .98rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(213,155,60,.2); color: var(--gold-soft);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

.ticket {
  background: linear-gradient(160deg, #fffdf9, #f0e5d5);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.ticket__top { padding: 2rem 2rem 1.5rem; text-align: center; }
.ticket__top p {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0;
}
.ticket__price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--coffee-800); }
.ticket__price span {
  font-size: 4.6rem; line-height: 1;
  background: linear-gradient(140deg, var(--gold), #a86f1f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ticket__perf {
  position: relative; height: 2px; margin: 0 1.5rem;
  border-top: 2px dashed rgba(23,16,14,.18);
}
.ticket__perf::before, .ticket__perf::after {
  content: ""; position: absolute; top: -13px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--coffee-900);
}
.ticket__perf::before { left: -13px; }
.ticket__perf::after { right: -13px; }
.ticket__list { list-style: none; margin: 0; padding: 1.5rem 2rem 2rem; display: grid; gap: .85rem; }
.ticket__list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem;
  font-size: .95rem; color: var(--muted);
  padding-bottom: .6rem; border-bottom: 1px dashed rgba(23,16,14,.1);
}
.ticket__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ticket__list li span { min-width: 0; }
.ticket__list li span:last-child { font-weight: 700; color: var(--coffee-800); margin-left: auto; }

/* ---------- machines ---------- */
.machine {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.machine:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.machine--feature { border-color: rgba(213,155,60,.55); box-shadow: 0 20px 50px -30px rgba(213,155,60,.9); }
.machine__media {
  position: relative; height: 200px; display: grid; place-items: center;
  background: linear-gradient(150deg, #f4ead9, #e5d3ba); color: var(--coffee-700);
}
.machine--feature .machine__media { background: linear-gradient(150deg, #33211a, #1b1210); color: var(--gold-soft); }
.machine__media svg { width: 130px; height: 130px; }
.machine__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.machine__body > p { color: var(--muted); font-size: .93rem; }
.specs { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .5rem; flex: 1; }
.specs li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--coffee-700); }
.specs li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}

/* ---------- bandă informativă ---------- */
.strip {
  margin-top: 2rem; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #f4ead9, #e8d8bd);
  border: 1px solid rgba(213,155,60,.3);
}
.strip strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .35rem; color: var(--coffee-800); }
.strip p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative; padding: 2rem 1.5rem 1.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: rgba(213,155,60,.35); line-height: 1; display: block; margin-bottom: .6rem;
}
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- testimonials ---------- */
.quote {
  margin: 0; padding: 1.9rem 1.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 1rem;
}
.stars { color: var(--gold); letter-spacing: .18em; font-size: .95rem; }
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; color: var(--coffee-800);
}
.quote figcaption { display: flex; flex-direction: column; margin-top: auto; }
.quote figcaption strong { font-size: .95rem; }
.quote figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- bara de recenzii Google ---------- */
.gbar {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.gbar__brand { display: flex; align-items: center; gap: 1rem; flex: 1 1 340px; min-width: 0; }
/* Insigna se adaptează la orice fișier pui în locul celui implicit:
   înălțime fixă, lățime după proporțiile imaginii. */
.gbar__badge {
  flex: none; height: 44px; width: auto; max-width: 180px;
  object-fit: contain; display: block;
}
.gbar__brand strong { display: block; font-size: 1rem; color: var(--coffee-800); }
.gbar__sub { font-size: .85rem; color: var(--muted); }

.gbar__score { display: flex; align-items: center; gap: .75rem; flex: 0 1 auto; }
.gbar__rating {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1;
  color: var(--coffee-800);
}
.gbar__stars { position: relative; display: inline-block; line-height: 1; white-space: nowrap; }
.gbar__stars-empty { color: rgba(23, 16, 14, .16); letter-spacing: .1em; font-size: 1.15rem; }
.gbar__stars-full {
  --fill: 98%;
  position: absolute; inset: 0; overflow: hidden; width: var(--fill);
  color: var(--gold); letter-spacing: .1em; font-size: 1.15rem;
}
.gbar__count { font-size: .9rem; color: var(--muted); }
.gbar__count strong { color: var(--coffee-800); }

.gbar__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-left: auto; }

@media (max-width: 700px) {
  .gbar { flex-direction: column; align-items: flex-start; gap: 1rem; }
  /* pe coloană, flex-basis ar fi însemnat înălțime — de aici golul din bară */
  .gbar__brand, .gbar__score { flex: 0 0 auto; width: 100%; }
  .gbar__actions { margin-left: 0; width: 100%; }
  .gbar__actions .btn { flex: 1 1 auto; }
  .gbar__rating { font-size: 1.85rem; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.4rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open] { border-color: rgba(213,155,60,.5); box-shadow: var(--shadow); }
.faq__item summary {
  cursor: pointer; list-style: none; font-weight: 600; color: var(--coffee-800);
  min-height: 44px; padding: .25rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--gold); transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: .9rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- contact ---------- */
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__list svg {
  width: 22px; height: 22px; flex: none; margin-top: 3px;
  fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.contact__list div { display: flex; flex-direction: column; }
.contact__list span:first-child {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.contact__list a, .contact__list .plain { font-weight: 600; color: var(--coffee-800); }
.contact__list a { display: inline-flex; align-items: center; min-height: 40px; }
.contact__list a:hover { color: var(--gold); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--coffee-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem;
  font-size: max(16px, .95rem);
  border: 1px solid var(--line); border-radius: 12px;
  background: #fdfbf8; color: var(--ink);
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(213,155,60,.18);
}
.field.has-error input, .field.has-error select { border-color: #c0392b; }
.field__err { font-size: .8rem; color: #c0392b; font-style: normal; min-height: 0; }
.field.has-error .field__err { min-height: 1rem; }

.check {
  display: flex; gap: .65rem; align-items: center; min-height: 44px;
  font-size: .88rem; color: var(--muted); cursor: pointer;
}
.check input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* sprite-ul SVG cu simbolurile reutilizate (pahar, aparat) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.form__status { margin: 0; font-size: .92rem; min-height: 1.2rem; }
.form__status.is-ok { color: #1e7a4a; font-weight: 600; }
.form__status.is-err { color: #c0392b; font-weight: 600; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- footer ---------- */
.footer {
  background: var(--coffee-900); color: rgba(233, 215, 186, .72);
  padding: clamp(2.75rem, 5vw, 4rem) 0 calc(2rem + env(safe-area-inset-bottom));
}
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark);
}
.footer__brand p { font-size: .92rem; margin-top: 1rem; max-width: 38ch; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; }
.footer__col h3 {
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .35rem;
}
.footer__col a, .footer__col span { font-size: .93rem; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  padding-top: 1.5rem; font-size: .84rem; color: rgba(233, 215, 186, .58);
}
.footer__bottom p { margin: 0; }

.footer__bottom a {
  color: var(--gold); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(213, 155, 60, .4);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.footer__bottom a:hover { color: var(--gold-soft); text-decoration-color: currentColor; }

/* ---------- floating call button ---------- */
.fab {
  position: fixed; z-index: 90;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.3rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--espresso); font-weight: 700; font-size: .92rem;
  box-shadow: 0 18px 36px -18px rgba(213,155,60,.95);
  opacity: 0; transform: translateY(14px) scale(.94); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-visible:hover { transform: translateY(-3px); }
.fab svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive — desktop mare ≥1500 · desktop 1081-1499 · tabletă 701-1080
   · telefon ≤700 · telefon mic ≤400
   ========================================================================== */

/* ---------- desktop mare ---------- */
@media (min-width: 1500px) {
  :root { --container: 1280px; }
  .hero__inner { padding-bottom: 6rem; }
  .hero__visual { min-height: 440px; }
  .togo { width: 268px; }
}

/* ---------- desktop îngust: strângem navigația ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 1.15rem; }
  .nav__links a { font-size: .9rem; }
}

/* ---------- tabletă (portret și landscape) ---------- */
@media (max-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem; }

  .ticket { transform: none; max-width: 460px; margin-inline: auto; }
  .offer__inner, .contact__inner { gap: 2.5rem; }
  .hero__visual { min-height: 320px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ---------- tabletă portret: coloanele mari se pun una sub alta ---------- */
@media (max-width: 900px) {
  .hero__inner, .offer__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__copy, .offer__copy, .contact__copy { max-width: 640px; }
  .hero__visual { order: -1; min-height: 300px; margin-top: .5rem; }
  .form { max-width: 640px; }
}

/* nav pliat mai devreme decât în trecut: la 1080 cele 5 linkuri + butonul se înghesuiau */
@media (max-width: 1080px) {
  .nav__toggle { display: flex; }
  .nav { background: rgba(21, 14, 12, .92); backdrop-filter: blur(14px); }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .75rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
    background: var(--espresso);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px -30px #000;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-125%); transition: transform .3s ease;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a {
    display: flex; align-items: center; min-height: 52px;
    font-size: 1rem; border-bottom: 1px solid var(--line-dark);
  }
  .nav__links .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
}

/* ---------- telefon ---------- */
@media (max-width: 700px) {
  .grid--3, .grid--4, .steps, .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }

  .hero { padding-top: calc(var(--nav-h) + 1.75rem); }
  .hero__inner { padding-bottom: 2.75rem; gap: 1.75rem; }
  .hero__visual { order: 0; min-height: 250px; margin-top: .25rem; }
  .btn { white-space: normal; text-align: center; }
  .hero__cta { margin: 1.5rem 0 2rem; gap: .75rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__trust { gap: 1.25rem 1.75rem; padding-top: 1.25rem; }
  .hero__trust li { flex: 1 1 40%; }
  .hero__trust strong { font-size: 1.35rem; }

  .price-badge { width: 92px; height: 92px; right: 0; bottom: 12px; }
  .price-badge__num { font-size: 2.2rem; }
  .price-badge__cur { font-size: .85rem; }
  .price-badge__label { font-size: .62rem; }
  .togo { width: min(190px, 52vw); }

  .marquee__track { animation-duration: 22s; font-size: .95rem; gap: 1.5rem; }

  /* filtrele devin un rând care se derulează lateral, în loc să se rupă pe 3 rânduri */
  .filters {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; flex: none; }
  .finder { gap: .85rem; }
  .finder__search { flex: 1 1 100%; }

  .form { padding: 1.35rem; border-radius: var(--radius); }
  .ticket__top { padding: 1.6rem 1.5rem 1.25rem; }
  .ticket__price span { font-size: 3.8rem; }
  .ticket__list { padding: 1.25rem 1.5rem 1.6rem; }
  .drink__icon { width: 46px; height: 46px; }
  .machine__media { height: 168px; }
  .machine__media svg { width: 110px; height: 110px; }

  .fab { padding: .95rem; }
  .fab span { display: none; }
  .footer__bottom { flex-direction: column; gap: .35rem; }
}

/* ---------- telefon mic (≤400px: iPhone SE, Android compacte) ---------- */
@media (max-width: 400px) {
  .logo__text { font-size: 1.2rem; }
  .logo__mark { width: 30px; height: 30px; }
  .eyebrow { font-size: .72rem; letter-spacing: .1em; }
  .hero__trust li { flex: 1 1 100%; }
  .togo { width: min(165px, 50vw); }
  .price-badge { width: 82px; height: 82px; }
  .price-badge__num { font-size: 1.9rem; }
  .card, .drink, .loc, .quote { padding-inline: 1.15rem; }
  .machine__body { padding-inline: 1.15rem; }
}

/* ---------- telefon în landscape: hero-ul nu mai ocupă tot ecranul ---------- */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1080px) {
  .hero { padding-top: calc(var(--nav-h) + 1.25rem); }
  .hero h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
  .hero .lead { font-size: .95rem; }
  .hero__trust { padding-top: 1rem; gap: 1rem 1.5rem; }
  .hero__trust strong { font-size: 1.25rem; }
  .hero__inner { grid-template-columns: 1.2fr .8fr; padding-bottom: 2rem; }
  .hero__visual { order: 0; min-height: 200px; }
  .togo { width: min(140px, 26vw); }
  .price-badge { width: 74px; height: 74px; }
  .price-badge__num { font-size: 1.7rem; }
  .nav__links { max-height: calc(100dvh - var(--nav-h)); }
}

/* ---------- ecrane tactile: fără efecte de hover care „rămân agățate" ---------- */
@media (hover: none) {
  .btn:hover, .card:hover, .drink:hover, .loc:hover, .machine:hover, .fab:hover {
    transform: none; box-shadow: none;
  }
  .card:hover, .drink:hover { border-color: var(--line); }
  .btn:active { transform: scale(.98); }
  .footer__col a, .note a, .footer__bottom a { display: inline-flex; align-items: center; min-height: 40px; }
  .check input { width: 22px; height: 22px; }
  .card:active, .drink:active, .loc:active { transform: scale(.995); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.page-404 {
  display: grid; place-items: center; min-height: 100vh; min-height: 100dvh;
  background: var(--coffee-900); color: var(--crema); text-align: center;
}
.page-404 .nf { padding: 2rem; }
.page-404 .nf h1 { font-size: clamp(4rem, 14vw, 8rem); color: var(--gold); margin-bottom: .1em; }
.page-404 .nf h2 { color: var(--latte); }
.page-404 .nf p { color: rgba(233, 215, 186, .75); max-width: 44ch; margin-inline: auto; }
.page-404 .nf .actions { margin-top: 1.5rem; }
