/* mixoferte.ro — landing CSS v2 (modern, mobile-first) */
:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --line: #e8edf3;
  --accent: #2563eb;
  --accent-2: #06b6d4;
  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --green: #059669;
  --green-2: #10b981;
  --grad-green: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --danger: #dc2626;
  --star: #f59e0b;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-card: 0 8px 30px rgba(15, 23, 42, .07);
  --shadow-cta: 0 10px 24px rgba(5, 150, 105, .32);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.landing { max-width: 1060px; margin: 0 auto; padding: 14px 16px 96px; }

/* ---------- CTA ---------- */
.cta-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; text-align: center; border: 0; cursor: pointer; text-decoration: none;
  background: var(--grad-green); color: #fff;
  border-radius: 999px; padding: 16px 22px;
  font-size: 17px; font-weight: 700; letter-spacing: .1px;
  box-shadow: var(--shadow-cta);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.cta-btn:hover { filter: brightness(1.05); }
.cta-btn:active { transform: scale(.97); }
.cta-btn small { font-weight: 500; font-size: 12.5px; opacity: .9; margin-top: 2px; }

/* ---------- HERO ---------- */
.hero { display: grid; gap: 22px; padding-top: 4px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; padding-top: 26px; } }
/* împiedică lățirea coloanelor de grid peste viewport (thumbs/tabele) */
.hero > *, .sec-imgtext > *, .sec > * { min-width: 0; }
.gallery { min-width: 0; max-width: 100%; }

.gallery-main {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-soft); aspect-ratio: 1/1; box-shadow: var(--shadow-card);
}
.gallery-slide { display: none; width: 100%; height: 100%; object-fit: cover; }
.gallery-slide.active { display: block; }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border: 0; width: 40px; height: 40px; border-radius: 50%;
  font-size: 15px; color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 10px rgba(15,23,42,.14);
  display: flex; align-items: center; justify-content: center;
}
.gal-prev { left: 12px; } .gal-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb {
  width: 58px; height: 58px; object-fit: cover; border-radius: var(--r-sm);
  opacity: .5; cursor: pointer; flex: 0 0 auto;
  border: 2px solid transparent; transition: opacity .15s, border-color .15s;
}
.thumb.active { opacity: 1; border-color: var(--accent); }

.hero-info h1 { font-size: 23px; line-height: 1.28; font-weight: 800; letter-spacing: -.3px; margin: 2px 0 6px; }
@media (min-width: 860px) { .hero-info h1 { font-size: 27px; } }
.subtitle { color: var(--ink-soft); margin-bottom: 14px; font-size: 15px; }
.subtitle strong { font-weight: 500; }

.price-box { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 2px; }
.price-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  color: var(--accent); background: #eaf1fe; padding: 4px 10px; border-radius: 999px; align-self: center;
}
.price { font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.compare { color: #94a3b8; text-decoration: line-through; font-size: 18px; }
.badge { background: var(--danger); color: #fff; font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.lowest30 { font-size: 12px; color: var(--muted); }
.tva-note { font-size: 13px; color: var(--muted); margin: 4px 0 12px; }

.benefits { list-style: none; margin: 4px 0 18px; }
.benefits li { padding: 5px 0; font-size: 15px; color: var(--ink-soft); }

.guarantees {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 4px;
}
.guarantee {
  font-size: 12.5px; color: var(--ink-soft); text-align: center;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 10px 6px; line-height: 1.35;
}
.guarantee span { display: block; font-size: 20px; margin-bottom: 3px; }

/* ---------- SECȚIUNI ---------- */
.sec { margin: 44px 0; }
.sec h2 { font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -.3px; margin-bottom: 8px; text-align: center; }
.sec > p { color: var(--muted); text-align: center; margin-bottom: 18px; max-width: 640px; margin-left: auto; margin-right: auto; }
.sec-media { border-radius: var(--r-lg); margin: 0 auto 16px; box-shadow: var(--shadow-card); }
.sec .cta-btn { max-width: 380px; margin: 20px auto 0; }

@media (min-width: 860px) {
  .sec-imgtext { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
  .sec-imgtext h2, .sec-imgtext > p { text-align: left; margin-left: 0; }
  .sec-imgtext .cta-btn { margin-left: 0; }
}

.diff-table-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.diff-table { width: 100%; border-collapse: collapse; background: #fff; }
.diff-table th, .diff-table td { padding: 13px 14px; font-size: 14.5px; border-bottom: 1px solid var(--line); text-align: center; }
.diff-table thead th { font-size: 13.5px; }
.diff-table tr:last-child td { border-bottom: 0; }
.diff-table td:first-child { text-align: left; font-weight: 600; color: var(--ink-soft); }
.diff-table .us { background: #f0f7ff; font-weight: 700; }
.diff-table td.us { color: var(--green); font-size: 16px; }
.diff-table td:last-child { color: #cbd5e1; font-size: 16px; }

.bgrid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 18px; }
@media (min-width: 860px) { .bgrid { grid-template-columns: repeat(4, 1fr); } }
.bgrid-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 14px; text-align: center; box-shadow: var(--shadow-card);
}
.bgrid-icon { font-size: 30px; }
.bgrid-item h3 { font-size: 15px; font-weight: 700; margin: 8px 0 4px; }
.bgrid-item p { font-size: 13px; color: var(--muted); }

.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: 10px; padding: 0 16px; max-width: 720px; margin-left: auto; margin-right: auto;
}
.faq-item summary {
  padding: 15px 26px 15px 0; font-weight: 600; font-size: 15px; cursor: pointer;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 20px; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 24px; }
.faq-item p { padding: 0 0 15px; font-size: 14px; color: var(--ink-soft); }

.sec-final {
  background: var(--grad); border-radius: var(--r-lg); padding: 34px 22px;
  text-align: center; color: #fff;
}
.sec-final h2 { color: #fff; }
.sec-final p { color: rgba(255,255,255,.85); }
.sec-final .cta-btn { background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

.sec-gpsr { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 0; }
.sec-gpsr h2 { font-size: 14px; text-align: left; color: var(--ink-soft); margin-bottom: 6px; }
.sec-gpsr p { text-align: left; margin: 3px 0; max-width: none; }

/* ---------- STICKY CTA (mobil) ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  transition: transform .25s ease;
}
.sticky-cta.hidden { transform: translateY(110%); }
.sticky-price { font-weight: 800; font-size: 18px; white-space: nowrap; letter-spacing: -.3px; }
.sticky-price s { color: #94a3b8; font-weight: 400; font-size: 13px; }
.sticky-cta .cta-btn { padding: 13px; font-size: 15px; box-shadow: none; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* ---------- MODAL COMANDĂ ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: none; align-items: flex-end; justify-content: center;
}
.modal-backdrop.open { display: flex; }
@media (min-width: 640px) { .modal-backdrop { align-items: center; padding: 24px; } }

.modal {
  background: #fff; width: 100%; max-width: 520px;
  border-radius: 24px 24px 0 0; max-height: 92dvh; max-height: 92vh;
  display: flex; flex-direction: column;
  animation: sheetUp .28s cubic-bezier(.2,.9,.3,1);
}
@media (min-width: 640px) { .modal { border-radius: 24px; max-height: 88vh; animation: popIn .22s ease; } }
@keyframes sheetUp { from { transform: translateY(60%); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes popIn { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 10px; flex: 0 0 auto;
}
.modal-head h2 { font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.modal-close {
  border: 0; background: var(--bg-soft); width: 34px; height: 34px; border-radius: 50%;
  font-size: 16px; color: var(--ink-soft); cursor: pointer; line-height: 1;
}
.modal-body { overflow-y: auto; padding: 0 20px 20px; -webkit-overflow-scrolling: touch; }

.order-product {
  display: flex; gap: 12px; align-items: center;
  background: var(--bg-soft); border-radius: var(--r-md); padding: 10px 12px; margin-bottom: 14px;
}
.order-product img { width: 54px; height: 54px; border-radius: var(--r-sm); object-fit: cover; }
.order-product .op-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.order-product .op-price { font-size: 13px; color: var(--muted); }

.order-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.order-form .opt { font-weight: 400; color: var(--muted); }
.order-form input, .order-form select {
  width: 100%; padding: 13px 14px; margin-top: 5px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-size: 16px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.order-form select { background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.order-form input:focus, .order-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-row { display: grid; gap: 0 10px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field-err { color: var(--danger); font-size: 12.5px; font-weight: 500; margin-top: 3px; display: block; }
.field-err[hidden] { display: none; }
.hp { position: absolute; left: -9999px; top: -9999px; }

.order-summary {
  background: var(--bg-soft); border-radius: var(--r-md); padding: 12px 16px; margin: 4px 0 14px;
}
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; color: var(--ink-soft); }
.sum-row.total { font-weight: 800; font-size: 17px; color: var(--ink); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 9px; }
.form-legal { font-size: 11.5px; color: var(--muted); margin-top: 10px; text-align: center; line-height: 1.5; }
.form-legal a { color: var(--accent); }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 16px 90px; text-align: center; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 16px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-anpc img { margin: 0 auto 14px; }
.footer-firm { line-height: 1.7; }
.footer-copy { margin-top: 8px; font-size: 12px; color: #94a3b8; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
  background: rgba(15,23,42,.97); color: #e2e8f0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center;
}
.cookie-banner a { color: #7dd3fc; }
.cookie-actions { display: flex; gap: 10px; }
.ck-btn { border: 0; border-radius: 999px; padding: 10px 24px; font-size: 14px; font-weight: 700; cursor: pointer; }
.ck-accept { background: var(--grad-green); color: #fff; }
.ck-reject { background: #334155; color: #fff; }

/* ---------- MULȚUMIM ---------- */
.sec-thanks { text-align: center; padding: 48px 10px; }
.thanks-icon { font-size: 54px; margin-bottom: 12px; }
.sec-thanks h1 { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.3px; }
.order-id { font-size: 15px; margin-bottom: 8px; }
.thanks-tip { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- HOME ---------- */
.home-hero { text-align: center; padding: 40px 0 22px; }
.home-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.home-hero p { color: var(--muted); margin-top: 6px; }
.home-grid { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
@media (min-width: 640px) { .home-grid { grid-template-columns: 1fr 1fr; } }
.home-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; text-decoration: none; display: block; box-shadow: var(--shadow-card);
  transition: transform .15s;
}
.home-card:hover { transform: translateY(-3px); }
.home-card img { border-radius: var(--r-md); margin-bottom: 12px; }
.home-card h2 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.home-price { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.home-card .cta-btn { padding: 12px; font-size: 15px; box-shadow: none; }

/* ---------- PAGINI LEGALE ---------- */
.legal-page { max-width: 760px; padding-top: 22px; padding-bottom: 40px; }
.legal-page h1 { font-size: 25px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 14px; }
.legal-page h2 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.legal-page p, .legal-page li { font-size: 14.5px; margin-bottom: 8px; color: var(--ink-soft); }
.legal-page ul, .legal-page ol { padding-left: 22px; margin-bottom: 10px; }
.legal-page a { color: var(--accent); }
.legal-page table { border-collapse: collapse; width: 100%; font-size: 13.5px; display: block; overflow-x: auto; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.back-link { margin-bottom: 12px; font-size: 14px; }
.back-link a { color: var(--accent); text-decoration: none; }
.formular-box { background: var(--bg-soft); border-radius: var(--r-md); padding: 16px 18px; margin: 14px 0; }

body.modal-open { overflow: hidden; }
