@font-face{font-family:'Literata';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/literata-400i-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Literata';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/literata-400i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Literata';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/literata-400i-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Literata';font-style:italic;font-weight:600;font-display:swap;src:url(/fonts/literata-600i-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Literata';font-style:italic;font-weight:600;font-display:swap;src:url(/fonts/literata-600i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Literata';font-style:italic;font-weight:600;font-display:swap;src:url(/fonts/literata-600i-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Literata';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/literata-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Literata';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/literata-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Literata';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/literata-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Literata';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/literata-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Literata';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/literata-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Literata';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/literata-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/source-sans-3-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/source-sans-3-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/source-sans-3-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/source-sans-3-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/source-sans-3-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/source-sans-3-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Marck Script';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/marck-script-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Marck Script';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/marck-script-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Marck Script';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/marck-script-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* KIT CORE — mecanica comuna. NU se editeaza per client: tema (theme.css) suprascrie variabilele.
   API-ul este descris in PLAYBOOK.md. */

:root {
  color-scheme: only light;
  --c-fond: #faf8f5;
  --c-fond-2: #f0ece6;
  --c-text: #1d1b19;
  --c-text-2: #5a554f;
  --c-accent: #8a5a44;
  --c-accent-text: #ffffff;
  --c-linie: rgba(0, 0, 0, .12);
  --f-titlu: Georgia, serif;
  --f-text: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --raza: 10px;
  --raza-btn: 999px;
  --lat: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --bara-h: 68px;
  --cta-h: 64px;
  --vh: 1vh; /* masurat o singura data in core.js; niciodata vh/dvh/svh brut */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --rise-dist: 26px;
  --rise-dur: .8s;
  --banda-gap: 16px;
  --banda-card: min(78vw, 340px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bara-h) + 12px); }
body {
  margin: 0; background: var(--c-fond); color: var(--c-text);
  font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-titlu); line-height: 1.08; margin: 0 0 .4em; text-wrap: balance; font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--lat)); margin-inline: auto; }
.sectiune { padding-block: clamp(56px, 9vw, 120px); }

/* ---------- bara de sus ---------- */
.bara {
  position: sticky; top: 0; z-index: 50; height: var(--bara-h);
  background: var(--c-fond); border-bottom: 1px solid var(--c-linie);
  view-transition-name: bara; /* neclintita la schimbarea paginii */
}
.bara .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bara .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.15rem/1 var(--f-titlu); min-height: 44px; }
.bara .logo img { height: calc(var(--bara-h) - 26px); width: auto; }
.bara nav { display: flex; align-items: center; gap: 26px; }
.bara nav a { text-decoration: none; font-size: .95rem; padding: 10px 0; }
.bara nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.bara .limbi { display: flex; gap: 8px; font-size: .85rem; }
.bara .limbi a { padding: 12px 4px; text-decoration: none; opacity: .6; }
.bara .limbi a[aria-current="true"] { opacity: 1; font-weight: 600; }
.meniu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; margin-right: -10px; }
.meniu-btn span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.meniu-deschis .meniu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.meniu-deschis .meniu-btn span:nth-child(2) { opacity: 0; }
.meniu-deschis .meniu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .meniu-btn { display: block; }
  .bara nav {
    position: fixed; left: 0; right: 0; top: var(--bara-h); height: calc(var(--vh) * 100 - var(--bara-h));
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px;
    padding: 28px var(--gutter); background: var(--c-fond); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .bara nav a { font: 500 1.6rem/1.2 var(--f-titlu); padding: 10px 0; }
  .meniu-deschis .bara nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
}
/* blocarea paginii corecta pe iOS: position fixed + scrollY retinut (core.js) */
body.blocat { position: fixed; left: 0; right: 0; width: 100%; }

/* ---------- butoane, iconite, stele ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px;
  border-radius: var(--raza-btn); background: var(--c-accent); color: var(--c-accent-text); text-decoration: none;
  font-weight: 600; border: 1px solid var(--c-accent); cursor: pointer; transition: transform .2s var(--ease), background .2s;
}
.btn:active { transform: scale(.97); }
.btn.contur { background: transparent; color: var(--c-text); border-color: currentColor; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }
.stele { display: inline-flex; gap: 2px; color: var(--c-stele, #e0a526); }
.stele .ico { width: 1em; height: 1em; }

/* ---------- poze ---------- */
.poza { position: relative; overflow: hidden; background: var(--dom, var(--c-fond-2)); }
.poza img { width: 100%; height: 100%; object-fit: cover; }
[data-cortina] { clip-path: inset(0 0 0 0); }
.js [data-cortina]:not(.in) { clip-path: inset(0 0 100% 0); }
.js [data-cortina] { transition: clip-path 1.1s var(--ease); }

/* ---------- aparitii la derulare ---------- */
.js .rise { opacity: 0; transform: translateY(var(--rise-dist)); }
.js .rise.in { opacity: 1; transform: none; transition: opacity var(--rise-dur) var(--ease), transform var(--rise-dur) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rise.gata { opacity: 1; transform: none; }

/* ---------- carusel (banda) ---------- */
.banda { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; padding-block: 24px; }
.banda-sina { display: flex; gap: var(--banda-gap); width: max-content; will-change: transform; }
.banda-card { flex: none; width: var(--banda-card); transform-origin: 50% 100%; }
.banda img { pointer-events: none; -webkit-user-drag: none; }
.recenzie { background: var(--c-fond-2); border-radius: var(--raza); padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.recenzie p { margin: 0; font-size: .98rem; }
.recenzie .autor { margin-top: auto; font-weight: 600; font-size: .9rem; }
.recenzie .sursa { font-size: .8rem; color: var(--c-text-2); }
/* pielile: --p = distanta fata de centru (-1..1), calculata in core.js */
.banda[data-efect="adanc"] .banda-card { transform: scale(calc(1 - .12 * var(--pa, 0))); opacity: calc(1 - .45 * var(--pa, 0)); }
.banda[data-efect="arc"] .banda-card { transform: translateY(calc(40px * var(--pa, 0) * var(--pa, 0))) rotate(calc(6deg * var(--p, 0))); }
.banda[data-efect="focus"] .banda-card { filter: blur(calc(3px * var(--pa, 0))); opacity: calc(1 - .5 * var(--pa, 0)); }
.banda[data-efect="polaroid"] .banda-card { background: #fff; padding: 12px 12px 40px; box-shadow: 0 10px 30px rgba(0,0,0,.12); transform: rotate(calc(var(--r, 0) * 1deg)); }
.banda[data-efect="polaroid"] .banda-card:nth-child(3n) { --r: -2.5; }
.banda[data-efect="polaroid"] .banda-card:nth-child(3n+1) { --r: 2; }
.banda[data-efect="film"] { background: #111; padding-block: 34px; }
.banda[data-efect="film"]::before, .banda[data-efect="film"]::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; z-index: 1;
  background: repeating-linear-gradient(90deg, transparent 0 10px, #eee 10px 22px, transparent 22px 34px);
  -webkit-mask: linear-gradient(#000 0 0) center / 100% 8px no-repeat; mask: linear-gradient(#000 0 0) center / 100% 8px no-repeat;
}
.banda[data-efect="film"]::before { top: 8px; } .banda[data-efect="film"]::after { bottom: 8px; }
.banda[data-efect="film"] .banda-card { filter: saturate(.85) contrast(1.05); }
.banda[data-efect="citat"] .banda-card { width: min(88vw, 640px); }
.banda[data-efect="citat"] .recenzie { background: none; text-align: center; opacity: calc(1 - .7 * var(--pa, 0)); }
.banda[data-efect="citat"] .recenzie p { font: 400 clamp(1.3rem, 3.4vw, 2rem)/1.3 var(--f-titlu); }

/* ---------- program, faq ---------- */
.orar { list-style: none; padding: 0; margin: 0; }
.orar li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--c-linie); }
.orar li.azi { font-weight: 700; }
.faq details { border-bottom: 1px solid var(--c-linie); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 18px; color: var(--c-text-2); }

/* ---------- before / after: stratul "after" are cutie reala ---------- */
.ba { position: relative; overflow: hidden; border-radius: var(--raza); touch-action: pan-y; --x: 50%; aspect-ratio: 4 / 5; }
.ba > .poza { position: absolute; inset: 0; }
.ba .ba-dupa { clip-path: inset(0 0 0 var(--x)); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .ba-linie { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: #fff; pointer-events: none; }
.ba .ba-linie::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.ba .eticheta { position: absolute; bottom: 12px; padding: 4px 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .8rem; border-radius: 4px; }
.ba .eticheta.st { left: 12px; } .ba .eticheta.dr { right: 12px; }

/* ---------- subsol, cookies, buton fix jos ---------- */
.subsol { padding-block: 56px 32px; border-top: 1px solid var(--c-linie); font-size: .92rem; }
.subsol .firma { color: var(--c-text-2); font-size: .82rem; margin-top: 28px; }
.subsol a { text-underline-offset: 3px; }
.cookies {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 520px;
  background: var(--c-text); color: var(--c-fond); border-radius: var(--raza); padding: 16px 18px;
  display: flex; gap: 14px; align-items: center; font-size: .88rem; box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; flex: 1; }
.cookies a { color: inherit; }
.cookies button { flex: none; min-height: 44px; padding: 8px 18px; border-radius: var(--raza-btn); border: 0; background: var(--c-fond); color: var(--c-text); font-weight: 600; cursor: pointer; }
.cta-jos { display: none; }
@media (max-width: 760px) {
  .cta-jos {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    height: var(--cta-h); margin: 0; width: auto; border-radius: var(--raza-btn); box-shadow: 0 8px 30px rgba(0,0,0,.22);
  }
  body.are-cta { padding-bottom: calc(var(--cta-h) + 28px + env(safe-area-inset-bottom, 0px)); }
  body.are-cta .cookies { bottom: calc(var(--cta-h) + 24px + env(safe-area-inset-bottom, 0px)); }
  /* compacta pe telefon: bara de cookies nu are voie sa acopere titlul/butonul din hero (vazut la site-urile lui Luca) */
  .cookies { padding: 9px 10px 9px 14px; gap: 10px; font-size: .76rem; line-height: 1.35; }
  .cookies button { padding: 8px 14px; }
}

/* ---------- pagina legala ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }

/* ---------- trecere nativa intre pagini ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

@media (prefers-reduced-motion: reduce) {
  .js .rise { transform: none; }
  .js .rise.in { transition: opacity .5s linear; }
  .js [data-cortina]:not(.in) { clip-path: inset(0 0 0 0); opacity: 0; }
  .js [data-cortina] { transition: opacity .5s linear; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---- theme ---- */
/* novembre-cafe — zidul cu iederă din curte, refăcut ca mozaic (atelierul Virginiei). Cărămida/teracota pereților
   (dominanta), crem ca chitul dintre tessere (fondul), verdele iederei (accentul). Pozele și panourile stau în arcade, ca
   invitația lor și ușile cafenelei. Abstract nivel 5: mozaicul generativ din extra.js. Literata + Source Sans 3; Marck
   Script doar pentru numele lor. */
:root {
  --c-fond: #efe6d8;
  --c-fond-2: #e5d8c6;
  --c-text: #231713;
  --c-text-2: #5f4b42;
  --c-caramida: #7c3b2a;
  --c-iedera: #5c7a3a;
  --c-accent: #7c3b2a;
  --c-accent-text: #efe6d8;
  --c-linie: rgba(35, 23, 19, .14);
  --c-stele: #7c3b2a;
  --c-seara: #1f1916;
  --c-bec: #ffd28a;
  --f-titlu: 'Literata', Georgia, serif;
  --f-text: 'Source Sans 3', system-ui, sans-serif;
  --f-script: 'Marck Script', cursive;
  --raza: 0px;
  --raza-btn: 999px;
  --lat: 1280px;
  --bara-h: 68px;
  --arc: 999px 999px 0 0;
  --lin: cubic-bezier(.22, .8, .25, 1);
}

body { background: var(--c-fond); color: var(--c-text); font-family: var(--f-text); font-size: 1.08rem; line-height: 1.62; }
h1, h2, h3, .final-titlu, .acasa-mare, .nota-mare { font-family: var(--f-titlu); font-weight: 400; line-height: 1.16; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); margin: 0; text-wrap: balance; }
em { font-style: italic; color: var(--c-caramida); }
p { text-wrap: pretty; }
a { color: inherit; }
figure { margin: 0; }
.sectiune { padding-block: clamp(52px, 6vw, 92px); }
.sectiune:not(.acasa-sec):not(.interior-sec) + .sectiune:not(.acasa-sec):not(.interior-sec) { padding-top: clamp(12px, 2vw, 32px); }
.sec-cap { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 32px; margin-bottom: clamp(22px, 3vw, 40px); }
.link-sageata { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--c-iedera); }
.acciuni { display: flex; flex-wrap: wrap; gap: 10px; }

/* butoane: capsule; la hover se umple ca chitul dintre tessere */
.btn { background: var(--c-caramida); border-color: var(--c-caramida); color: var(--c-fond); font-weight: 600; }
.btn:not(.cta-jos) { position: relative; }
.btn { overflow: hidden; isolation: isolate; transition: color .35s var(--lin), border-color .35s var(--lin); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, var(--c-iedera) 0 14px, #4f6a31 14px 16px); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--lin); }
.btn.contur { background: transparent; color: var(--c-text); border-color: var(--c-text); }
.btn.contur.deschis { color: var(--c-fond); border-color: rgba(239, 230, 216, .6); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--c-iedera); outline-offset: 3px; }
@media (hover: hover) {
  .btn:hover { color: var(--c-fond); border-color: var(--c-iedera); }
  .btn:hover::before { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn::before { transition: none; } }

/* bara */
.bara { background: var(--c-fond); }
.bara .logo { min-height: 44px; display: inline-flex; align-items: center; }
.bara .logo span { font: 400 1.9rem/1 var(--f-script); color: var(--c-caramida); }
.bara nav a[aria-current="page"] { text-decoration: none; background: linear-gradient(var(--c-iedera), var(--c-iedera)) 0 100% / 100% 2px no-repeat; }
.bara .bara-cta { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
@media (max-width: 860px) { .bara nav a:not(.btn) { font: 400 2.1rem/1.2 var(--f-titlu); } }

/* GHIRLANDA: firul (svg), becurile și fotografiile prinse cu clești */
.ghirlanda { position: relative; overflow: hidden; }
.fir { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fir path { fill: none; stroke: #5e5048; stroke-width: 1.6; }
.bec { position: absolute; width: 11px; height: 14px; margin: -2px 0 0 -5.5px; border-radius: 50% 50% 46% 46%; background: radial-gradient(circle at 50% 40%, #fff6dc, var(--c-bec) 60%, #e9a548); box-shadow: 0 0 10px 3px rgba(255, 196, 110, .55), 0 0 34px 10px rgba(255, 180, 90, .16); }
.bec::before { content: ""; position: absolute; left: 3px; right: 3px; top: -4px; height: 5px; background: #3a302b; border-radius: 1px; }
.carti { position: absolute; inset: 0; }
/* poziția de pornire e deja un transform (JS-ul o schimbă doar pe ea: fără deplasări de layout) */
.carte { position: absolute; left: 0; top: 0; width: var(--carte, 190px); margin: 0; padding: 8px 8px 30px; background: #fbf7f0; box-shadow: 0 14px 28px rgba(0, 0, 0, .32); transform-origin: 50% 0; transform: translate(calc(var(--i) * (var(--carte, 190px) + 10px) + 20px), 40px); will-change: transform; }
.carte::before { content: ""; position: absolute; left: 50%; top: -12px; width: 9px; height: 24px; margin-left: -4.5px; border-radius: 2px; background: linear-gradient(90deg, #c89a63, #a77a48); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.carte .poza { aspect-ratio: 4 / 5; }

/* HERO: seara în curte; ghirlanda sus, poemul lor dedesubt */
.hero { position: relative; background: radial-gradient(120% 70% at 50% 0%, #3a2b22, var(--c-seara) 70%); color: var(--c-fond); padding-bottom: clamp(30px, 4vw, 56px); overflow: hidden; }
.g-hero { --carte: clamp(140px, 12vw, 180px); height: clamp(330px, calc(var(--vh) * 48), 440px); }
.hero-grila { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 80px); align-items: end; }
.hero-logo { margin: 0 0 10px; font: 400 clamp(2rem, 3vw, 2.7rem)/1 var(--f-script); color: #e3a874; }
.hero h1 { margin: 0; max-width: 16ch; font-size: clamp(2.5rem, 4.8vw, 4.6rem); line-height: 1.12; }
.hero h1 em { color: var(--c-bec); }
.hero-sub { margin: 0 0 14px; max-width: 40ch; color: rgba(239, 230, 216, .8); }
.incredere { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .92rem; color: rgba(239, 230, 216, .78); }
.incredere li { display: flex; align-items: center; gap: 6px; }
.incredere b { font: 400 1.8rem/1 var(--f-titlu); color: var(--c-fond); }
.incredere svg { width: 15px; height: 15px; color: var(--c-bec); }
.hero .btn:not(.contur) { background: var(--c-fond); border-color: var(--c-fond); color: var(--c-text); }
.btn.contur.deschis { color: var(--c-fond); border-color: rgba(239, 230, 216, .55); }

/* vitrina pe acasă: plăci vii */
.placi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.placa { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--arc); background: var(--c-fond-2); }
.placa .strat { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.placa .strat.activ { opacity: 1; }
.placa .poza { height: 100%; }
.placa figcaption, .interior figcaption { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 16px); text-align: center; line-height: 1.3; padding: 4px 12px; border-radius: 999px; background: rgba(239, 230, 216, .94); font-size: .82rem; font-weight: 600; }

/* „Ca la mama acasă!” */
.acasa-sec { background: var(--c-caramida); color: var(--c-fond); }
.acasa-grila { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.acasa-poza { border-radius: var(--arc); overflow: hidden; aspect-ratio: .8; max-width: 440px; box-shadow: 0 0 0 10px rgba(239, 230, 216, .9); }
.acasa-poza .poza { height: 100%; }
.acasa-mare { margin: 0; font-size: clamp(2.6rem, 5vw, 4.6rem); font-style: italic; }
.acasa-text { margin: 16px 0 18px; max-width: 46ch; font-size: 1.15rem; color: rgba(239, 230, 216, .86); }
.acasa-lista { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid rgba(239, 230, 216, .25); }
.acasa-lista li { padding: 11px 0; border-bottom: 1px solid rgba(239, 230, 216, .25); }
.acasa-sec .link-sageata { border-color: var(--c-fond); }

/* atelierul de mozaic */
.mozaic-grila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.mozaic-poze { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mozaic-poze .poza { aspect-ratio: 4 / 5; border-radius: var(--arc); }
.mozaic-grila p { max-width: 46ch; color: var(--c-text-2); }

/* recenzii */
.nota-mare { font-size: 1.45em; color: var(--c-caramida); margin-right: .12em; }
.rec-grila { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rec { background: #fbf6ee; padding: 20px 20px 18px; border-top: 3px solid var(--c-iedera); }
.rec-stele { display: flex; gap: 2px; color: var(--c-caramida); }
.rec-stele svg { width: 14px; height: 14px; }
.rec blockquote { margin: 10px 0 12px; font-size: 1rem; line-height: 1.5; }
.rec figcaption { font-size: .85rem; font-weight: 600; color: var(--c-text-2); }

/* final: seara, doar ghirlanda aprinsă */
.final { background: var(--c-seara); color: var(--c-fond); padding: 0 0 clamp(46px, 6vw, 84px); }
.g-final { height: 110px; }
.final-grila { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 40px; }
.final-logo { margin: 0 0 10px; font: 400 2.2rem/1 var(--f-script); color: #e3a874; }
.final-titlu { margin: 0; max-width: 20ch; font-size: clamp(2.1rem, 4.2vw, 3.8rem); }
.final-titlu em { color: var(--c-bec); }
.final-adresa { margin: 14px 0 0; color: rgba(239, 230, 216, .76); }
.final-btn { display: flex; flex-wrap: wrap; gap: 10px; }
.final .btn:not(.contur) { background: var(--c-fond); border-color: var(--c-fond); color: var(--c-text); }

/* antetele subpaginilor: ghirlanda cu fotografiile oprite + titlul */
.antet { background: var(--c-seara); color: var(--c-fond); padding-bottom: clamp(26px, 3.4vw, 48px); overflow: hidden; }
.g-antet { --carte: clamp(110px, 10vw, 150px); height: calc(var(--carte) * 1.25 + 150px); }
.antet-grila { position: relative; z-index: 1; }
.antet h1 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); line-height: 1.05; }
.antet-grila p { margin: 12px 0 0; color: rgba(239, 230, 216, .8); max-width: 50ch; }

/* vitrina (pagina) */
.vitrina { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; }
.produs-poza .poza { aspect-ratio: 4 / 5; border-radius: var(--arc); }
.produs h2 { margin: 14px 0 4px; font-size: 1.45rem; }
.produs p { margin: 0; font-size: .98rem; color: var(--c-text-2); }
.lista-grila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; align-items: start; }
.lista-grila h2 { font-size: 1.8rem; margin-bottom: 10px; }
.lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-linie); }
.lista li { padding: 11px 0; border-bottom: 1px solid var(--c-linie); }
.lista-nota { background: var(--c-fond-2); padding: 24px; border-radius: 22px 22px 0 0; }
.lista-nota p { margin: 0 0 14px; }

/* povestea: o linie de timp ca un rând de tessere */
.poveste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--c-linie); }
.poveste li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px 32px; padding: 18px 0; border-bottom: 1px solid var(--c-linie); align-items: baseline; }
.p-data { font: italic 400 1.3rem/1.2 var(--f-titlu); color: var(--c-caramida); }
.poveste p { margin: 0; font-size: 1.12rem; max-width: 60ch; }
.interior-sec { background: var(--c-fond-2); }
.interior { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.interior figure { position: relative; }
.interior .poza { aspect-ratio: 4 / 5; }

/* contact */
.contact-grila { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.contact-grila h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 18px; }
.c-rand { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.1rem; }
.c-rand a { display: inline-flex; align-items: center; min-height: 44px; }
.c-rand svg { width: 22px; height: 22px; color: var(--c-caramida); flex: none; }
.c-nota { margin: 10px 0 0; color: var(--c-text-2); font-size: .95rem; }
.c-btn { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
details { border-bottom: 1px solid var(--c-linie); }

/* subsol */
.pie { display: grid; gap: 8px; }
.pie p { margin: 0; }
.pie-logo { font: 400 clamp(2.6rem, 5vw, 3.6rem)/1 var(--f-script); color: var(--c-caramida); }

@media (max-width: 1100px) {
  .rec-grila { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vitrina { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { padding-bottom: 26px; }
  .hero-grila { grid-template-columns: 1fr; gap: 14px; }
  .hero-logo { font-size: 1.8rem; margin-bottom: 8px; }
  .hero-sub { margin: 0 0 10px; font-size: 1rem; }
  .hero .acciuni { display: none; }
  .incredere { margin-bottom: 0; }
  .placi { grid-template-columns: 1fr 1fr; }
  .acasa-grila, .mozaic-grila, .contact-grila, .lista-grila { grid-template-columns: 1fr; }
  .acasa-poza { max-width: 300px; }
  .rec-grila { grid-template-columns: 1fr; }
  .vitrina, .interior { grid-template-columns: 1fr 1fr; }
  .poveste li { grid-template-columns: 1fr; gap: 4px; }
  .antet-arcada { width: 92px; margin: 0 4px; }
  .antet-grila { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  .antet-panou { padding: 20px 16px 18px; }
  .antet h1 { font-size: clamp(2.2rem, 9.6vw, 3rem); overflow-wrap: anywhere; }
}

/* v3 pe telefon */
@media (max-width: 860px) {
  .g-hero { --carte: 29vw; height: calc(29vw * 1.25 + 92px); }
  .hero-grila { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero .acciuni { display: none; }
  .g-antet { --carte: 26vw; height: calc(26vw * 1.25 + 84px); }
  .antet h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}
