/* =========================================================================
   Blaturi Unicat — app.css
   Design system propriu, fara Bootstrap. Scara de spatiere si tipografie
   construita pe sirul lui Fibonacci / raportul de aur (φ ≈ 1.618).
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
    /* culori */
    --navy: #000a2d;
    --navy-700: #16204a;
    --navy-500: #38416b;
    --coral: #eb566c;
    --coral-dark: #d13d54;
    --wa: #25d366;
    --wa-dark: #1ebe5b;

    --ink: #16192b;
    --ink-soft: #565b70;
    --ink-mute: #7c8194;

    --line: #e6e6ec;
    --line-soft: #f0f0f4;
    --bg: #ffffff;
    --bg-soft: #f7f6f4;
    --bg-wood: #faf7f2;

    /* spatiere — Fibonacci */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 13px;
    --s-4: 21px;
    --s-5: 34px;
    --s-6: 55px;
    --s-7: 89px;
    --s-8: 144px;

    /* tipografie */
    --font-display: "Josefin Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

    --radius: 10px;
    --radius-sm: 6px;
    --radius-pill: 999px;

    --shadow-1: 0 1px 2px rgba(16, 20, 45, .05), 0 2px 8px rgba(16, 20, 45, .05);
    --shadow-2: 0 4px 12px rgba(16, 20, 45, .08), 0 12px 32px rgba(16, 20, 45, .09);
    --shadow-3: 0 8px 20px rgba(16, 20, 45, .10), 0 24px 56px rgba(16, 20, 45, .14);

    --header-h: 74px;
    --wrap: 1180px;
    --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 var(--s-3);
    letter-spacing: -.01em;
}
p { margin: 0 0 var(--s-3); }
a { color: var(--coral); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--coral-dark); }
ul, ol { margin: 0 0 var(--s-3); padding-left: var(--s-4); }
button { font: inherit; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-5) 0; }

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: var(--s-3); top: -100px; z-index: 200;
    background: var(--navy); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--radius-sm);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--s-3); color: #fff; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-4); }
.wrap--narrow { max-width: 760px; }
.wrap--mid { max-width: 920px; }

.section { padding-block: var(--s-6); }
.section--lg { padding-block: var(--s-7); }
.section--sm { padding-block: var(--s-5); }
.section--soft { background: var(--bg-soft); }
.section--wood { background: var(--bg-wood); }

@media (min-width: 768px) {
    .section { padding-block: var(--s-7); }
    .section--lg { padding-block: calc(var(--s-7) + var(--s-4)); }
    .section--sm { padding-block: var(--s-6); }
}

.stack > * + * { margin-top: var(--s-3); }
.center { text-align: center; }

/* ---------- 4. Tipografie utilitara ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: var(--s-2);
    font-family: var(--font-display); font-weight: 700; font-size: 13px;
    letter-spacing: .16em; text-transform: uppercase; color: var(--coral);
    margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--coral); }

.h-display { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.45rem); line-height: 1.08; }
.h-section  { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.3rem); }
.h-sub      { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); }

.lead { font-size: clamp(1.02rem, .98rem + .3vw, 1.15rem); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.measure { max-width: 68ch; }

.section-head { max-width: 720px; margin-bottom: var(--s-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- 5. Butoane ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
    font-family: var(--font-display); font-weight: 700; font-size: 15px;
    letter-spacing: .04em; text-transform: uppercase;
    padding: var(--s-3) var(--s-5); border: 2px solid transparent; border-radius: var(--radius-sm);
    cursor: pointer; text-align: center; line-height: 1.2;
    transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; flex: none; fill: currentColor; }

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-2); transform: translateY(-2px); }

.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-dark); color: #fff; box-shadow: var(--shadow-2); transform: translateY(-2px); }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; box-shadow: var(--shadow-2); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn--sm { padding: var(--s-2) var(--s-4); font-size: 13.5px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- 6. Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(16, 20, 45, .08); }

.site-header__inner {
    min-height: var(--header-h);
    display: flex; align-items: center; gap: var(--s-4);
}
.brand { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.brand img { height: 44px; width: auto; }
.brand__text { display: none; }
@media (min-width: 480px) {
    .brand__text { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy); line-height: 1.1; font-size: 17px; }
    .brand__text small { display: block; font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
}

.nav { margin-left: auto; display: none; }
.nav ul { display: flex; align-items: center; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
.nav a {
    font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
    color: var(--navy); padding: var(--s-2) 0; position: relative;
}
.nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px;
    background: var(--coral); transition: right .22s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.header-cta { display: none; margin-left: var(--s-4); }
.header-phone {
    display: inline-flex; align-items: center; gap: var(--s-2);
    font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 16px;
}
.header-phone:hover { color: var(--coral); }

.nav-toggle {
    margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
    background: #fff; border-radius: var(--radius-sm);
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .22s var(--ease), opacity .22s var(--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); }

@media (min-width: 992px) {
    .nav { display: block; }
    .header-cta { display: flex; align-items: center; gap: var(--s-3); }
    .nav-toggle { display: none; }
    .mobile-nav { display: none; }
}

/*
   Panoul e translatat in afara ecranului doar prin opacitate, nu prin translateX:
   un element fixed mutat la dreapta latea documentul si aparea scroll orizontal.
*/
.mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: #fff; padding: var(--s-4);
    overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.mobile-nav ul { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.mobile-nav li + li { border-top: 1px solid var(--line-soft); }
.mobile-nav a {
    display: block; padding: var(--s-3) var(--s-1);
    font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--navy);
}
body.nav-open { overflow: hidden; }

/* ---------- 7. Hero ---------- */
.hero {
    background: linear-gradient(160deg, var(--bg-wood) 0%, #fff 62%);
    padding-block: var(--s-6) var(--s-6);
    overflow: hidden;
}
.hero__grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) {
    .hero { padding-block: var(--s-6); }
    /* raport de aur intre coloana de text si cea de imagine */
    .hero__grid { grid-template-columns: 1.618fr 1fr; gap: var(--s-6); }
}
.hero h1 { margin-bottom: var(--s-4); }
.hero__lead { font-size: clamp(1rem, .95rem + .35vw, 1.12rem); color: var(--ink-soft); max-width: 60ch; margin-bottom: var(--s-4); }
.hero__media { position: relative; }
.hero__media img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow-3);
}

.trust {
    display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
    margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line);
}
.trust__item { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; font-size: 14.5px; color: var(--navy); }
.trust__item i { color: var(--coral); font-size: 18px; }

/* Antet pagina interioara */
.page-head { background: var(--navy); color: #fff; padding-block: var(--s-5) var(--s-5); }
.page-head h1 { color: #fff; margin-bottom: var(--s-2); font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem); }
.page-head p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 70ch; }
@media (min-width: 768px) { .page-head { padding-block: var(--s-6); } }

/* ---------- 8. Breadcrumb ---------- */
.crumbs { font-size: 13.5px; color: var(--ink-mute); margin-bottom: var(--s-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--coral); }
.page-head .crumbs, .page-head .crumbs a { color: rgba(255, 255, 255, .72); }
.page-head .crumbs a:hover { color: #fff; }

/* ---------- 9. Grila de produse ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: var(--s-4);
}
@media (min-width: 640px) { .grid { gap: var(--s-5); } }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    color: inherit; height: 100%;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; color: inherit; }

.card__media { position: relative; background: var(--bg-soft); overflow: hidden; }
.card__media img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }

.card__badge {
    position: absolute; top: var(--s-3); left: var(--s-3); z-index: 1;
    background: rgba(255, 255, 255, .94); color: var(--navy);
    font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 11px; border-radius: var(--radius-pill);
    box-shadow: var(--shadow-1);
}

.card__body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.card__title {
    font-size: 17.5px; margin: 0; color: var(--navy);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta { font-size: 13.5px; color: var(--ink-mute); margin: 0; }
.card__foot { margin-top: auto; padding-top: var(--s-2); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); }
.card__price { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--coral); white-space: nowrap; }
.card__cta { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--navy); opacity: .55; transition: opacity .2s var(--ease); }
.card:hover .card__cta { opacity: 1; color: var(--coral); }

/* Card esenta (homepage) */
.wood-card {
    position: relative; display: block; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wood-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.wood-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.wood-card:hover img { transform: scale(1.05); }
.wood-card__label {
    position: absolute; inset: auto 0 0 0; padding: var(--s-6) var(--s-4) var(--s-3);
    background: linear-gradient(180deg, rgba(0, 10, 45, 0) 0%, rgba(0, 10, 45, .82) 78%);
    color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2;
}
.wood-card__label small { display: block; font-weight: 400; font-size: 12.5px; letter-spacing: .04em; opacity: .85; margin-top: 3px; font-family: var(--font-body); }

/* ---------- 10. Bara de filtre ---------- */
.toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4);
    padding-block: var(--s-4); border-bottom: 1px solid var(--line); margin-bottom: var(--s-5);
}
.toolbar__group { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
.toolbar__label { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); flex: none; }

.chips {
    display: flex; gap: var(--s-2); flex-wrap: wrap; min-width: 0;
}
@media (max-width: 767px) {
    .chips {
        flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--s-2);
        scrollbar-width: none; -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    }
    .chips::-webkit-scrollbar { display: none; }
    .chips .chip { scroll-snap-align: start; }
}
.chip {
    flex: none; padding: 8px 17px; border: 1px solid var(--line);
    border-radius: var(--radius-pill); background: #fff; color: var(--navy);
    font-family: var(--font-display); font-weight: 600; font-size: 14px; white-space: nowrap;
    transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip__count { opacity: .55; font-weight: 400; margin-left: 4px; font-size: 12.5px; }

.select {
    appearance: none; -webkit-appearance: none;
    padding: 8px 36px 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2316192b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 13px center/11px 8px;
    font-family: var(--font-body); font-size: 14.5px; color: var(--ink); cursor: pointer;
}
.select:hover { border-color: var(--navy); }

.result-count { margin-left: auto; font-size: 14px; color: var(--ink-mute); flex: none; }
@media (max-width: 599px) {
    /* pe ecrane inguste numarul de rezultate trece pe linia lui, sa nu inghesuie selectul */
    .result-count { margin-left: 0; width: 100%; }
}

.empty-state {
    grid-column: 1 / -1;
    padding: var(--s-5); border: 1px dashed var(--line);
    border-radius: var(--radius); background: var(--bg-soft); text-align: center;
}
.empty-state h3 { font-size: 19px; }
.empty-state p { color: var(--ink-soft); margin-bottom: var(--s-4); }

/* ---------- 11. Pagina de produs ---------- */
.product { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 900px) {
    .product { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
    .product__info { position: sticky; top: calc(var(--header-h) + var(--s-4)); }
}

.gallery { display: flex; flex-direction: column; gap: var(--s-3); }
.gallery__main {
    position: relative; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line);
}
.gallery__main img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.gallery__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .92); color: var(--navy);
    display: grid; place-items: center; font-size: 20px; line-height: 1;
    box-shadow: var(--shadow-1); transition: background .18s var(--ease);
}
.gallery__nav:hover { background: #fff; }
.gallery__nav--prev { left: var(--s-3); }
.gallery__nav--next { right: var(--s-3); }
.gallery__thumbs { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery__thumb {
    flex: none; width: 74px; border: 2px solid transparent; border-radius: var(--radius-sm);
    overflow: hidden; padding: 0; background: var(--bg-soft); cursor: pointer;
    transition: border-color .18s var(--ease), opacity .18s var(--ease);
    opacity: .68;
}
.gallery__thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--coral); opacity: 1; }
.gallery__thumb:hover { opacity: 1; }

.product__info h1 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.05rem); margin-bottom: var(--s-3); }
.stock-pill {
    display: inline-flex; align-items: center; gap: var(--s-2);
    background: #eafaf0; color: #12703f; border: 1px solid #bfe9d2;
    padding: 5px 13px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 500;
}
.stock-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1eb862; box-shadow: 0 0 0 3px rgba(30, 184, 98, .18); }

.price-box {
    display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap;
    margin: var(--s-4) 0;
}
.price-box__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.5rem); color: var(--coral); line-height: 1; }
.price-box__note { font-size: 13.5px; color: var(--ink-mute); }

.spec-list { list-style: none; margin: var(--s-4) 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.spec-list dt, .spec-list .spec-key { flex: 0 0 40%; max-width: 190px; color: var(--ink-mute); }
.spec-list .spec-val { font-weight: 500; color: var(--ink); }

.prose { color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin-top: var(--s-6); }
.prose h3 { font-size: clamp(1.12rem, 1.05rem + .35vw, 1.3rem); margin-top: var(--s-5); }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.78; }
.prose ul, .prose ol { padding-left: var(--s-4); margin-bottom: var(--s-4); }
.prose li { margin-bottom: var(--s-2); }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius); margin: var(--s-5) 0; }
.prose blockquote {
    margin: var(--s-5) 0; padding: var(--s-3) var(--s-4);
    border-left: 3px solid var(--coral); background: var(--bg-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: var(--s-4) 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-display); color: var(--navy); background: var(--bg-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 12. Pasi / carduri de continut ---------- */
.step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: var(--s-5) var(--s-4); height: 100%;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.step__num {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px;
    margin-bottom: var(--s-3);
}
.step h3 { font-size: 19px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 15px; }

.info-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: var(--s-4); height: 100%;
}
.info-card h3 { font-size: 18px; margin-bottom: var(--s-2); }
.info-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.info-card i { font-size: 24px; color: var(--coral); display: block; margin-bottom: var(--s-3); }

/* ---------- 13. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: var(--s-4) var(--s-5) var(--s-4) 0;
    font-family: var(--font-display); font-weight: 600; font-size: 17.5px; color: var(--navy);
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 26px; font-weight: 400; color: var(--coral); line-height: 1; transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) { padding-bottom: var(--s-4); color: var(--ink-soft); margin-bottom: 0; }

/* ---------- 14. Blog ---------- */
.post-card {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; color: inherit;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: inherit; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.post-card__tag {
    font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--coral);
}
.post-card__title { font-size: 19px; margin: 0; color: var(--navy); }
.post-card__excerpt { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.post-card__foot { margin-top: auto; padding-top: var(--s-3); font-size: 13px; color: var(--ink-mute); }

/* aceeasi latime ca .prose, ca titlul si textul sa porneasca din acelasi punct */
.article-head { margin: 0 0 var(--s-5); }
.article-head h1 { font-size: clamp(1.75rem, 1.35rem + 2vw, 2.75rem); margin-bottom: var(--s-3); }
.article-meta { font-size: 13.5px; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --- Bloc de raspuns direct, in capul articolului --- */
.answer-box {
    border-left: 4px solid var(--coral);
    background: linear-gradient(90deg, #fff7f8 0%, var(--bg-soft) 100%);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5);
    margin-bottom: var(--s-5);
}
.answer-box h2 {
    font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--coral); margin-bottom: var(--s-2);
}
.answer-box p {
    margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink); font-weight: 500;
}

.toc {
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
    padding: var(--s-4); margin-bottom: var(--s-5);
}
.toc h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: var(--s-2); }
.toc ol { margin: 0; padding-left: var(--s-4); }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--navy); }
.toc a:hover { color: var(--coral); }

/* ---------- 15. CTA band ---------- */
.cta-band {
    background: var(--navy); color: #fff; border-radius: var(--radius);
    padding: var(--s-5) var(--s-4); text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: var(--s-6) var(--s-5); } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s-4); }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--navy); }

/* ---------- 16. Formulare ---------- */
.field { margin-bottom: var(--s-3); }
.field label { display: block; font-weight: 500; font-size: 14px; color: var(--navy); margin-bottom: 5px; }
.field input, .field textarea {
    width: 100%; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 15.5px; color: var(--ink); background: #fff;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 10, 45, .08);
}
.field textarea { min-height: 150px; resize: vertical; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .74); padding-block: var(--s-6) var(--s-4); margin-top: var(--s-6); }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.618fr 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.618fr 1fr 1fr 1fr; } }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-2); font-size: 14.5px; }
.site-footer p { font-size: 14.5px; }
.footer-contact li { display: flex; gap: var(--s-2); align-items: flex-start; }
.footer-contact i { color: var(--coral); margin-top: 4px; }
.footer-bottom {
    margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); justify-content: space-between;
    font-size: 13px; color: rgba(255, 255, 255, .55);
}

/* ---------- 18. WhatsApp flotant ---------- */
.wa-float {
    position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 90;
    width: 56px; height: 56px; border-radius: 50%; background: var(--wa);
    display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .26);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0, 0, 0, .32); }
.wa-float svg { width: 29px; height: 29px; fill: #fff; }
@media (max-width: 767px) { .wa-float { right: var(--s-3); bottom: var(--s-3); width: 52px; height: 52px; } }

/* ---------- 19. Bara mobila de actiune (pagina produs) ---------- */
.action-bar {
    position: fixed; inset: auto 0 0 0; z-index: 95;
    display: flex; gap: var(--s-2); padding: var(--s-2) var(--s-3);
    padding-bottom: calc(var(--s-2) + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(16, 20, 45, .08);
}
.action-bar .btn { flex: 1; padding-inline: var(--s-2); font-size: 13.5px; }
@media (min-width: 900px) { .action-bar { display: none; } }
body.has-action-bar { padding-bottom: 76px; }
body.has-action-bar .wa-float { bottom: 84px; }

/* ---------- 20. Utilitare ---------- */
.is-hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
