/* ============================================================
   DripxPrint — temă sticker bomb (negru + curcubeu)
   Template reutilizabil CST Code, varianta vibrantă / print.
   ============================================================ */

:root {
  --bg: #0c0b0f;
  --bg-2: #131119;
  --ink: #f5f1ea;
  --muted: #9c97a8;
  --paper: #fafafa;
  --line: rgba(255,255,255,.08);

  --pink: #ff2e63;
  --orange: #ff8a3d;
  --yellow: #ffd23f;
  --green: #3ddc84;
  --cyan: #1fc8db;
  --violet: #9b5de5;
  --drip: linear-gradient(95deg, #ff2e63, #ff8a3d, #ffd23f, #3ddc84, #1fc8db, #9b5de5);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-pop: cubic-bezier(.34,1.56,.64,1);
  --maxw: 1180px;
  --r: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* clip după hidden: Safari pe iPhone lasă pagina să alunece în lateral doar cu hidden */
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }

/* fonturi cu personalitate */
.section-title,
.pas-numar,
.contact-sticker strong {
  font-family: "Rubik", "Space Grotesk", sans-serif;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.02;
}

/* ---------- Bara de progres ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: var(--drip); z-index: 200;
  box-shadow: 0 0 14px rgba(255,46,99,.6);
}

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease-pop), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--pink); color: #fff;
  box-shadow: 0 8px 0 #b21441, 0 14px 26px rgba(255,46,99,.35);
}
.btn-primary:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 10px 0 #b21441, 0 20px 34px rgba(255,46,99,.45); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 4px 0 #b21441; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ---------- Navigație ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%; transition: background .3s var(--ease), backdrop-filter .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(12,11,15,.82); backdrop-filter: blur(12px);
  padding: .65rem 5%; border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1.3rem; }
.nav-logo { height: 46px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 600; font-size: .96rem; color: #d7d3df; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  background: var(--ink); color: #0c0b0f; padding: .5rem 1.15rem; border-radius: 999px; font-weight: 700;
  transition: transform .2s var(--ease-pop), background .2s;
}
.nav-links .nav-cta:hover { background: var(--yellow); color: #0c0b0f; transform: rotate(-2deg) scale(1.04); }
.nav-burger { display: none; background: none; border: none; color: var(--ink); font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* ---------- Bandă rulantă (pe cusătura dintre calculator și clipuri) ---------- */
.marquee-wrap { overflow: hidden; padding: 1rem 0; background: linear-gradient(var(--bg-2) 50%, var(--bg) 50%); }
.marquee {
  background: var(--drip); overflow: hidden; padding: .55rem 0;
  border-top: 3px solid #0c0b0f; border-bottom: 3px solid #0c0b0f;
  transform: rotate(-1.2deg);
  position: relative; z-index: 20; width: 104%; left: -2%;
}
.marquee-track { display: inline-flex; align-items: center; white-space: nowrap; animation: scroll-x 26s linear infinite; }
.mq-word { font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1.15rem; color: #0c0b0f; padding: 0 .4rem; }
.mq-dot { color: rgba(12,11,15,.6); padding: 0 .3rem; font-size: .7rem; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Secțiuni generale ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: .8rem; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin-bottom: 3rem; }
.section-lead em { color: var(--ink); font-style: italic; }
.drip-text {
  background: var(--drip); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

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

@keyframes floaty {
  0%, 100% { transform: rotate(calc(var(--rot, 0deg) * -1.4)) translateY(0); }
  50%      { transform: rotate(calc(var(--rot, 0deg) * -1.4)) translateY(-5px); }
}

/* ---------- Clipuri (sub calculator) — format vertical, ca pe TikTok / Instagram ---------- */
.clipuri-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; gap: 2rem; }
.clip { margin: 0; display: flex; flex-direction: column; }
.clip figcaption { display: flex; align-items: baseline; gap: .6rem; flex: 1; min-height: 2.8em; margin-bottom: .9rem; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.clip-n {
  flex: none; font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1.5rem;
  background: var(--drip); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.clip-media {
  aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #16141c;
  border: 5px solid var(--paper); box-shadow: 0 18px 36px rgba(0,0,0,.45);
}
.clip-media video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.clip-gol {
  height: 100%; display: grid; place-content: center; justify-items: center; gap: .7rem; color: #77728a;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,46,99,.13), transparent 62%),
    radial-gradient(120% 60% at 50% 100%, rgba(31,200,219,.11), transparent 62%),
    #16141c;
}
.clip-gol span { font-family: "Sedgwick Ave", cursive; font-size: 1.05rem; letter-spacing: .5px; }

/* ---------- Materiale (colanți) — mostra lipită ca un sticker + descriere ---------- */
.materiale { background: var(--bg-2); }
.materiale-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem 3.4rem; }
.mat { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.mat-mostra {
  width: 88px; height: 88px; margin: 8px; border-radius: 22px;
  background: #fff center / cover no-repeat;
  box-shadow: 0 0 0 5px var(--paper), 0 14px 26px rgba(0,0,0,.45);
  rotate: var(--rot, 0deg); transition: rotate .35s var(--ease-pop), scale .35s var(--ease-pop);
}
.mat:hover .mat-mostra { rotate: 0deg; scale: 1.06; }
.mat-text h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.mat-text p { color: #cfcad8; font-size: .96rem; }
.mat-text .mat-scurt { display: inline-block; margin: .1rem 0 .5rem; font-family: "Sedgwick Ave", cursive; color: var(--cyan); rotate: -1deg; }
.mat-text .mat-rec { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.mat-rec strong { color: var(--ink); }

/* ---------- Cât rezistă + Garanția calității ---------- */
.rezistenta { background: var(--bg); }
.rezistenta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; align-items: start; }
.rezistenta-text > p { color: #cfcad8; font-size: 1.04rem; max-width: 62ch; margin-bottom: 1rem; }
.rezistenta-text .rezistenta-intrebare { display: inline-block; margin: .3rem 0 1.2rem; font-family: "Sedgwick Ave", cursive; font-size: 1.25rem; color: var(--yellow); rotate: -1.5deg; }
.durate { margin: 1.5rem 0 1.8rem; border-top: 1px dashed rgba(255,255,255,.14); }
.durata { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.2rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.durata dt {
  font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1.75rem; line-height: 1.1; white-space: nowrap;
  background: var(--drip); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.durata dd { color: #cfcad8; font-size: .98rem; }
.durata dd strong { color: var(--ink); }
.rezistenta-text .rezistenta-nota { font-size: .85rem; font-style: italic; color: var(--muted); }
/* garanția = sticker de hârtie lipit cu bandă (rotația pe `rotate`, ca să nu se bată cu reveal-ul) */
.garantie {
  position: sticky; top: 110px; padding: 2.3rem 1.9rem 1.9rem; border-radius: 16px;
  background: var(--paper); color: #16141c; border-bottom: 8px solid var(--green);
  box-shadow: 0 22px 44px rgba(0,0,0,.45); rotate: 1.5deg;
}
.garantie::after,
.orice-card::after {
  content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 84px; height: 26px; background: rgba(255,255,255,.4);
  border: 1px dashed rgba(0,0,0,.15); border-radius: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.garantie h3 { font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1.7rem; line-height: 1.1; margin-bottom: 1.1rem; }
.garantie-ani { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1.2rem; }
.garantie-ani p { background: #16141c; color: #cfcad8; border-radius: 12px; padding: .8rem .9rem; font-size: .85rem; line-height: 1.35; }
.garantie-ani span { display: block; font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1.6rem; color: var(--yellow); }
.garantie > p { font-size: .96rem; color: #2c2933; margin-bottom: .8rem; }
.garantie > p:last-child { margin-bottom: 0; font-weight: 600; }

/* ---------- Orice fel de sticker: pozele lipite ca stickere + textul pe hârtie, ca garanția ---------- */
.orice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.orice-poze { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .42fr); gap: 1.1rem; }
.orice-poza { margin: 0; border-radius: 14px; overflow: hidden; border: 5px solid var(--paper); box-shadow: 0 16px 32px rgba(0,0,0,.45); }
.orice-poza img { width: 100%; height: 100%; object-fit: cover; }
.orice-poza--duba { grid-column: 1 / -1; aspect-ratio: 669 / 512; rotate: -1.5deg; }
.orice-poza--lup { aspect-ratio: 634 / 512; rotate: 1deg; }
.orice-poza--program { rotate: -1deg; }
.orice-card {
  position: relative; padding: 2.4rem 2rem 2rem; border-radius: 16px;
  background: var(--paper); color: #16141c; border-bottom: 8px solid var(--pink);
  box-shadow: 0 22px 44px rgba(0,0,0,.45); rotate: 1.2deg;
}
.orice-card h2 { font-family: "Rubik", sans-serif; font-weight: 900; font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.12; margin-bottom: 1.1rem; }
.orice-card h2 span { color: var(--pink); }
.orice-card p { font-size: 1rem; color: #2c2933; margin-bottom: .8rem; }
.orice-card .orice-tare { font-weight: 700; color: #16141c; }
.orice-card .orice-semnatura { margin: 1.2rem 0 1.5rem; }

/* ---------- Cum comanzi ---------- */
.pasi { position: relative; overflow: hidden; background: var(--bg-2); }
.pasi::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url(../poze/tipuri/01.jpg?v=4) center/cover;
  opacity: .06; filter: grayscale(.35) contrast(1.1);
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 28%, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 55%, #000 28%, transparent 74%);
}
.pasi .container { position: relative; z-index: 2; }
.pasi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pas {
  position: relative; padding: 2.4rem 1.6rem 1.8rem; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .35s var(--ease-pop), border-color .3s, box-shadow .3s;
}
.pas:nth-child(2) { transform: translateY(22px); }
.pas:hover { transform: translateY(-6px); border-color: var(--pink); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.pas:nth-child(2):hover { transform: translateY(16px); }
.pas-numar {
  position: absolute; top: -22px; left: 22px; font-size: 2.6rem;
  background: var(--drip); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none;
  animation: floaty 5s var(--ease) infinite;
}
.pas h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.pas p { color: var(--muted); font-size: .98rem; }

/* ---------- Configurator de comandă ---------- */
.comanda { background: var(--bg-2); }
.conf-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: start; }
.conf-step { margin-bottom: 1.8rem; }
.conf-step h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.conf-step-n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--drip); color: #0c0b0f; font-weight: 700; font-size: .9rem; flex: 0 0 auto;
}
.conf-field { margin-bottom: 1.1rem; }
.conf-field-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: .55rem; }
.conf-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.conf-chip {
  font-family: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  padding: .55rem 1rem; border-radius: 999px; color: var(--ink);
  background: var(--bg); border: 2px solid var(--line);
  transition: transform .2s var(--ease-pop), border-color .2s, background .2s, color .2s;
}
.conf-chip:hover { border-color: var(--cyan); transform: translateY(-2px); }
.conf-chip.is-active { background: var(--pink); border-color: var(--pink); color: #fff; }

.conf-summary {
  position: sticky; top: 92px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem; box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.conf-price { text-align: center; padding-bottom: 1.3rem; margin-bottom: 1.3rem; border-bottom: 1px dashed var(--line); }
.conf-price-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.conf-price-total {
  display: block; font-family: "Rubik", sans-serif; font-weight: 900; font-size: 2.8rem; line-height: 1.1; margin: .25rem 0;
  background: var(--drip); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.conf-price-unit { display: block; font-size: .95rem; color: var(--ink); font-weight: 600; }
.conf-price-note { display: block; font-size: .8rem; color: var(--muted); margin-top: .55rem; line-height: 1.4; }
.conf-step--upload { margin-bottom: 1.3rem; }
.conf-step--upload h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.conf-upload {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem; border: 2px dashed rgba(255,255,255,.22); border-radius: 12px;
  color: var(--muted); cursor: pointer; font-size: .92rem; font-weight: 600; text-align: center;
  transition: border-color .2s, color .2s;
}
.conf-upload:hover { border-color: var(--cyan); color: var(--cyan); }
.conf-upload.has-file { border-color: var(--green); color: var(--green); border-style: solid; }
.conf-upload input[type="file"] { display: none; }
.conf-upload-nota { font-size: .78rem; color: var(--muted); margin-top: .5rem; line-height: 1.4; }
/* „Vreau design (nu am unul)”: comutator sub încărcare, adaugă grafica la total */
.conf-grafica {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; min-height: 48px;
  margin-top: .9rem; padding: .7rem 1rem; border-radius: 12px; cursor: pointer; text-align: left;
  font-family: inherit; font-size: .95rem; font-weight: 700; color: var(--ink);
  background: var(--bg-2); border: 2px solid var(--line);
  transition: border-color .2s, background-color .2s;
}
.conf-grafica small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.conf-grafica-pret { flex: none; color: var(--yellow); }
.conf-grafica:hover { border-color: var(--cyan); }
.conf-grafica.is-active { border-color: var(--pink); background: rgba(255,46,99,.12); }
.conf-grafica.is-active .conf-grafica-text::before { content: "✓ "; color: var(--pink); }
#confForm { display: grid; gap: .7rem; }
#confForm input, #confForm textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-2); border: 2px solid var(--line); border-radius: 12px;
  padding: .75rem .9rem; transition: border-color .2s;
}
#confForm input:focus, #confForm textarea:focus { outline: none; border-color: var(--pink); }
#confForm textarea { resize: vertical; }
.form-status { font-size: .92rem; color: var(--green); min-height: 1.1rem; font-weight: 600; text-align: center; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.contact-list { list-style: none; display: grid; gap: .8rem; margin: 1.5rem 0; }
.contact-list li { display: flex; align-items: center; gap: .7rem; font-size: 1.08rem; }
.contact-list .ico { color: var(--pink); font-size: 1.2rem; }
.contact-list a:hover { color: var(--cyan); }
.program-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; max-width: 360px; }
.program-box h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: .7rem; }
.program-box ul { list-style: none; display: grid; gap: .4rem; }
.program-box li { display: flex; justify-content: space-between; font-size: .96rem; }
.program-box li span:last-child { color: var(--cyan); font-weight: 600; }
.social-links { display: flex; gap: 1rem; margin-top: 1.4rem; }
.social-links a {
  padding: .5rem 1.1rem; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: border-color .2s, color .2s, transform .2s var(--ease-pop);
}
.social-links a:hover { border-color: var(--violet); color: var(--violet); transform: rotate(-2deg); }
.contact-card { display: grid; place-items: center; }
.contact-sticker {
  background: var(--paper); color: #16141c; border-radius: 22px; padding: 2.4rem 2rem; text-align: center;
  transform: rotate(-3deg); box-shadow: 0 20px 44px rgba(0,0,0,.45); display: grid; gap: .4rem; max-width: 300px;
  border-bottom: 8px solid var(--pink);
}
.contact-sticker .cs-emoji { font-size: 2.6rem; }
.contact-sticker strong { font-size: 1.8rem; }
.contact-sticker span { color: #4a4753; font-size: .96rem; }

/* ---------- Subsol ---------- */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
#footerBrand { font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1.2rem; }
.footer-credit { font-size: .9rem; color: var(--muted); }
.footer-credit a { color: var(--cyan); }

/* ---------- Butoane plutitoare ---------- */
.fab {
  position: fixed; right: 22px; width: 58px; height: 58px; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer; border: none; z-index: 120;
  box-shadow: 0 10px 26px rgba(0,0,0,.4); transition: transform .25s var(--ease-pop);
}
.fab:hover { transform: scale(1.1) rotate(-4deg); }
.fab-wa { bottom: 92px; background: #25d366; color: #fff; }
.fab-chat { bottom: 22px; background: var(--pink); color: #fff; }

/* ---------- Chat ---------- */
.chat-panel {
  position: fixed; right: 22px; bottom: 92px; width: min(360px, 90vw); max-height: 70vh;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; z-index: 130;
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease-pop);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; background: var(--drip); color: #0c0b0f; font-weight: 700; }
.chat-head span { font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1rem; }
.chat-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #0c0b0f; line-height: 1; }
.chat-messages { padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.chat-msg { padding: .65rem .9rem; border-radius: 14px; font-size: .94rem; max-width: 85%; }
.chat-msg.bot { background: #211f29; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--pink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.chat-suggest button {
  background: transparent; border: 1.5px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: .4rem .8rem; font-size: .82rem; cursor: pointer; font-family: inherit;
  transition: border-color .2s, color .2s;
}
.chat-suggest button:hover { border-color: var(--cyan); color: var(--cyan); }
.chat-input { display: flex; gap: .5rem; padding: .8rem 1rem 1rem; border-top: 1px solid var(--line); }
.chat-input input {
  flex: 1; background: var(--bg); border: 2px solid var(--line); border-radius: 999px;
  padding: .6rem 1rem; color: var(--ink); font-family: inherit; font-size: 1rem; /* sub 16px, iPhone-ul face zoom pe pagină */
}
.chat-input input:focus { outline: none; border-color: var(--pink); }
.chat-input button { background: var(--pink); border: none; color: #fff; width: 42px; border-radius: 999px; cursor: pointer; font-size: 1rem; }

/* ---------- Pagini multi-page (nav solid + activ, CTA, galerie, despre, contact) ---------- */
.nav--solid { background: rgba(12,11,15,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-links a.is-current { color: var(--ink); }
.nav-links a.is-current:not(.nav-cta) { position: relative; }
.nav-links a.is-current:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px; background: var(--drip);
}
.nav-links .nav-cta.is-current { background: var(--yellow); }
.section--first { padding-top: 8.5rem; }

.cta-band { padding: 4.5rem 0; background: var(--bg); border-top: 1px solid var(--line); }
.cta-band-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band h2 { font-family: "Rubik", sans-serif; font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.cta-band p { color: var(--muted); margin-bottom: 1.6rem; }

.galerie-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.gf-item {
  border-radius: var(--r); overflow: hidden; aspect-ratio: 1/1;
  transform: rotate(var(--rot,0deg)); border: 5px solid var(--paper);
  box-shadow: 0 14px 30px rgba(0,0,0,.45); background: #1c1a24;
  transition: transform .35s var(--ease-pop), box-shadow .35s var(--ease);
}
.gf-item:hover { transform: rotate(0deg) scale(1.03); box-shadow: 0 22px 44px rgba(0,0,0,.55); }
.gf-item img { width: 100%; height: 100%; object-fit: cover; }

.contact-page .contact-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
.contact-form { display: grid; gap: .8rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: .8rem .9rem; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--pink); }
.contact-form textarea { resize: vertical; }
.contact-firma { margin-top: 1.6rem; font-size: .85rem; line-height: 1.6; color: var(--muted); }

.footer-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-nav a { font-size: .92rem; color: var(--muted); transition: color .2s; }
.footer-nav a:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pasi-grid { grid-template-columns: 1fr 1fr; }
  .conf-grid, .contact-grid, .contact-page .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .conf-summary { position: static; }
  .pas:nth-child(2) { transform: none; }
  .galerie-full { grid-template-columns: repeat(2, 1fr); }
  .rezistenta-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .garantie { position: relative; top: auto; max-width: 520px; }
  .orice-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .orice-card { max-width: 560px; order: -1; justify-self: center; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 75%;
    background: rgba(12,11,15,.97); backdrop-filter: blur(14px);
    flex-direction: column; justify-content: center; gap: 1.8rem;
    transform: translateX(100%); transition: transform .35s var(--ease); padding: 2rem;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-burger { display: block; z-index: 160; }
  .pasi-grid { grid-template-columns: 1fr; }
  .clipuri-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; justify-content: start;
    gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem;
  }
  .clip { scroll-snap-align: start; }
  .materiale-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .mat { grid-template-columns: 80px minmax(0, 1fr); gap: 1rem; }
  .mat-mostra { width: 64px; height: 64px; border-radius: 16px; }
  .durata { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .garantie, .orice-card { padding: 2.1rem 1.4rem 1.6rem; }
  .orice-poze { gap: .8rem; }
  .form-row--split { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .section--first { padding-top: 7rem; }
  .galerie-full { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ---------- Carduri produs (configurator) ---------- */
.conf-step--produse { margin-bottom: 2.2rem; }
.conf-produse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.conf-produs {
  position: relative; cursor: pointer; text-align: left; padding: 0; overflow: hidden;
  background: var(--bg); border: 2px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; color: var(--ink); font-family: inherit;
  transition: transform .25s var(--ease-pop), border-color .2s, box-shadow .25s;
}
.conf-produs:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 16px 32px rgba(0,0,0,.4); }
.conf-produs.is-active { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 16px 32px rgba(255,46,99,.25); }
.conf-produs.is-active::after { content: "✓"; position: absolute; top: 8px; right: 10px; z-index: 3; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.conf-produs-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(160deg,#2a2730,#16141c); }
.conf-produs-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.conf-produs:hover .conf-produs-media img { transform: scale(1.06); }
.conf-produs-nume { font-weight: 700; font-size: 1rem; padding: .8rem .9rem .1rem; }
.conf-produs-pret { font-size: .85rem; color: var(--cyan); font-weight: 600; padding: 0 .9rem .9rem; }
.conf-added { text-align: center; color: var(--green); font-weight: 600; font-size: .9rem; min-height: 1.1rem; margin-top: .6rem; }

/* ---------- Coș: buton nav + badge ---------- */
.cart-btn { position: relative; background: none; border: none; color: var(--ink); cursor: pointer; padding: .3rem; margin-left: .3rem; display: grid; place-items: center; }
.cart-btn:hover { color: var(--pink); }
.cart-count { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Coș: drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.cart-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s; }
.cart-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(390px, 92vw); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); }
.cart-drawer.open { pointer-events: auto; }
.cart-drawer.open .cart-overlay { opacity: 1; }
.cart-drawer.open .cart-panel { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.cart-head span { font-family: "Rubik", sans-serif; font-weight: 900; font-size: 1.1rem; }
.cart-x { background: none; border: none; color: var(--ink); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; display: flex; flex-direction: column; gap: .8rem; }
.cart-empty { color: var(--muted); text-align: center; margin: 2rem 0; }
.cart-empty a { color: var(--cyan); }
.cart-item { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.cart-item-info { display: flex; flex-direction: column; gap: .15rem; }
.cart-item-info strong { font-size: .98rem; }
.cart-item-info span { font-size: .82rem; color: var(--muted); }
.cart-item-file { color: var(--cyan) !important; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; flex: 0 0 auto; }
.cart-item-pret { font-weight: 700; white-space: nowrap; }
.cart-item-del { background: none; border: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; line-height: 1; }
.cart-item-del:hover { color: var(--pink); }
.cart-foot { padding: 1.1rem 1.3rem; border-top: 1px solid var(--line); }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.cart-total-row span:last-child { font-family: "Rubik", sans-serif; font-weight: 900; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; margin-top: 1.5rem; }
.checkout-h { font-size: 1.1rem; font-weight: 700; margin: 0 0 .9rem; }
.checkout-form { display: grid; gap: .8rem; }
.checkout-form .checkout-h ~ .checkout-h, .checkout-form .ck-pay + .checkout-h { margin-top: 1.2rem; }
.checkout-form input[type="text"], .checkout-form input[type="tel"], .checkout-form input[type="email"] {
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-2);
  border: 2px solid var(--line); border-radius: 12px; padding: .8rem .9rem; transition: border-color .2s; width: 100%;
}
.checkout-form input:focus { outline: none; border-color: var(--pink); }
.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ck-pay { display: flex; align-items: flex-start; gap: .6rem; padding: .9rem; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .92rem; }
.ck-pay input { margin-top: .2rem; accent-color: var(--pink); }
.ck-pay span strong { display: block; }
.ck-note { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.ck-note input { accent-color: var(--pink); margin-top: .15rem; }
.checkout-summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; position: sticky; top: 92px; }
.checkout-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 700; padding-top: 1rem; margin-top: .6rem; border-top: 1px dashed var(--line); }
.checkout-total span:last-child { font-family: "Rubik", sans-serif; font-weight: 900; }
.checkout-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; line-height: 1.5; }
.checkout-summary.done { border-color: var(--green); }

@media (max-width: 900px) {
  .conf-produse { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; gap: 2rem; }
  .checkout-summary { position: static; }
}
@media (max-width: 680px) {
  .conf-produse { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .conf-produs-nume { font-size: .9rem; }
  .conf-produs-pret { font-size: .78rem; }
  .ck-row { grid-template-columns: 1fr; }
}

/* ---------- Confirmare (multumim.html) ---------- */
.multumim { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.multumim-inner { max-width: 620px; }
.multumim-badge {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.5rem;
  display: grid; place-items: center; font-size: 2.4rem; color: #04331c; font-weight: 700;
  background: var(--green); box-shadow: 0 0 0 8px rgba(61,220,132,.18), 0 14px 34px rgba(0,0,0,.4);
  animation: floaty 4s var(--ease) infinite;
}
.multumim-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Comandă: chenar + opțiuni pe rânduri ---------- */
.conf-frame { border: 2px solid rgba(255,255,255,.13); border-radius: 22px; padding: 1.4rem 1.8rem; background: rgba(255,255,255,.025); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.conf-produs-media { display: none !important; }

/* rânduri: etichetă stânga + opțiuni dreapta, separate cu linii */
.conf-row { display: grid; grid-template-columns: 120px 1fr; gap: 1.1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.conf-row:first-child { padding-top: .3rem; }
.conf-row:last-child { border-bottom: none; padding-bottom: .2rem; }
.conf-row-label { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .98rem; color: var(--ink); }
.conf-row .conf-chips { margin: 0; }

/* produse compacte în rând (fără imagine) */
.conf-row .conf-produse { display: flex; flex-wrap: wrap; gap: .5rem; }
.conf-row .conf-produs { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .5rem 2rem .5rem .8rem; width: auto; }
.conf-row .conf-produs-nume { padding: 0; font-size: .9rem; }
.conf-row .conf-produs-pret { padding: 0; font-size: .76rem; }
.conf-row .conf-produs.is-active::after { top: 6px; right: 7px; width: 18px; height: 18px; font-size: .68rem; }

/* opțiunile din dreapta: chip-uri + câmpurile „Altă dimensiune / cantitate” + linkul spre Materiale */
.conf-row-opt { min-width: 0; display: grid; gap: .75rem; }
.conf-alta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.conf-alta[hidden] { display: none; }
.conf-alta span { color: var(--muted); font-weight: 600; }
.conf-alta input {
  width: 7.5rem; min-height: 44px; padding: .6rem .8rem; border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 2px solid var(--line);
  transition: border-color .2s;
}
.conf-alta input:focus { outline: none; border-color: var(--pink); }
.conf-help { justify-self: start; font-size: .88rem; color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.conf-help:hover { color: var(--ink); }

/* colant: materialul pe tot butonul, cu ramă metalică și luciu sus (după modelul trimis de client, 14 nov).
   Albul și transparentul n-au poză: le dau gradientul aici. */
.conf-chip--colant {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 50px; padding: .7rem 1.5rem; font-size: 1rem; font-weight: 700; color: #111014; white-space: nowrap;
  background: linear-gradient(180deg, #fff, #d9d8df) center / cover no-repeat;
  border: 3px solid rgba(255,255,255,.72);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.55), 0 8px 18px rgba(0,0,0,.4);
}
.conf-chip--colant::before {
  content: ""; position: absolute; inset: 0 0 50%; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0));
  pointer-events: none;
}
/* aura albă ține textul lizibil pe texturile agitate (chrome, reflectorizant) */
.conf-chip--colant span { text-shadow: 0 0 6px rgba(255,255,255,.95), 0 0 2px rgba(255,255,255,.9); }
.conf-chip--colant.is-active {
  background: linear-gradient(180deg, #fff, #d9d8df) center / cover no-repeat; color: #111014; border-color: var(--pink);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.22), 0 0 0 2px var(--pink), 0 0 22px rgba(255,46,99,.55);
}
.conf-chip--colant[data-val="Transparent"] { background: linear-gradient(180deg, #3a3940, #0a0a0d); color: #fff; }
.conf-chip--colant[data-val="Holografic Glitter"] { color: #fff; }
.conf-chip--colant[data-val="Transparent"] span,
.conf-chip--colant[data-val="Holografic Glitter"] span { text-shadow: 0 1px 3px rgba(0,0,0,.85); }

@media (max-width: 680px) {
  .conf-frame { padding: 1.1rem 1.1rem; }
  .conf-row { grid-template-columns: 1fr; gap: .6rem; padding: .95rem 0; text-align: center; }
  /* pe telefon calculatorul stă centrat (cererea clientului, 14 nov) */
  .comanda .section-title, .comanda .section-lead { text-align: center; }
  .comanda .section-lead { margin-inline: auto; margin-bottom: 2rem; }
  .conf-chips, .conf-alta, .conf-row .conf-produse { justify-content: center; }
  .conf-row .conf-produs { flex: 1 1 100%; align-items: center; padding: .6rem 2rem; }
  .conf-help { justify-self: center; }
  .conf-chip--colant { flex: 1 1 auto; min-width: 40%; padding: .6rem .9rem; font-size: .9rem; }
}

/* ============================================================
   PAGINI LEGALE + CONSIMȚĂMÂNT (GDPR / ANPC) — temă sticker bomb
   ============================================================ */
.legal-crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.legal-crumbs a { color: var(--cyan); }
.legal-crumbs a:hover { text-decoration: underline; }

.legal { max-width: 74ch; margin: 2.2rem 0 0; color: #cfcad8; }
.legal .legal-meta { font-size: .9rem; color: var(--muted); margin-bottom: 1.6rem; }
.legal h2 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--ink); margin: 2.4rem 0 .8rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 1rem; line-height: 1.75; }
.legal p { margin-bottom: .9rem; }
.legal ul { margin: .5rem 0 1.1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .45rem; }
.legal strong { color: var(--ink); }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.legal .identity { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 1rem 0 1.8rem; }
.legal .identity p { margin: .25rem 0; font-size: .98rem; color: var(--ink); }
.legal .identity [id^="legal"]:empty::before { content: "—"; color: var(--muted); }

/* Bifă consimțământ (formulare care colectează date personale) */
.consent { display: flex; align-items: flex-start; gap: .6rem; margin: .2rem 0 .4rem; font-size: .88rem; color: var(--muted); line-height: 1.5; cursor: pointer; text-align: left; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--pink); flex: none; }
.consent a { color: var(--cyan); text-decoration: underline; }
.consent--cart { margin: .2rem 0 1rem; }

/* Linkuri legale în subsol (injectate din app.js pe fiecare pagină) */
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: center; padding: 1.3rem 0 0; margin-top: 1.4rem; border-top: 1px solid var(--line); font-size: .86rem; }
.footer-legal a { color: var(--muted); transition: color .2s; }
.footer-legal a:hover { color: var(--cyan); }
.footer-firma { flex-basis: 100%; text-align: center; font-size: .8rem; color: var(--muted); }

/* A11Y: focus vizibil la navigare din tastatura */
:focus-visible{outline:3px solid #4f8cff !important;outline-offset:2px;border-radius:3px}
