/* ==========================================================================
   DTS Building
   ========================================================================== */

:root {
    --ink: #16191d;
    --ink-2: #23282e;
    --text: #3c434b;
    --muted: #6b737c;
    --line: #e3e0da;
    --bg: #ffffff;
    --bg-alt: #f6f4f0;
    --accent: #f2a900;
    --accent-dark: #c98c00;
    --success: #1f7a4d;
    --danger: #b3261e;

    --radius: 10px;
    --shadow: 0 1px 2px rgba(22, 25, 29, .06), 0 8px 24px rgba(22, 25, 29, .06);
    --font-head: "Archivo", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --container: 1180px;
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: .75rem;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.4rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font: 600 1rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .6rem 1rem; font-size: .95rem; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}
.link-arrow svg { transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header ----------------------------------------------------------------- */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--ink);
}
.logo__mark {
    background: var(--ink);
    color: var(--accent);
    padding: .2rem .5rem;
    border-radius: 6px;
    letter-spacing: .04em;
}
.logo--light { color: #fff; }
.logo--light .logo__mark { background: var(--accent); color: var(--ink); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__link {
    text-decoration: none;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: .25rem 0;
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: .5rem;
    color: var(--ink);
    cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 20px 1.25rem;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav__link { padding: .85rem 0; border-bottom: 1px solid var(--line); }
    .nav__link.is-active::after { display: none; }
    .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* Hero ------------------------------------------------------------------- */

.hero {
    position: relative;
    color: #d6d9dd;
    background:
        linear-gradient(115deg, rgba(22, 25, 29, .97) 35%, rgba(22, 25, 29, .78)),
        repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .04) 79px 80px),
        repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, .04) 79px 80px),
        var(--ink);
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    right: -120px; bottom: -120px;
    width: 460px; height: 460px;
    border: 60px solid var(--accent);
    opacity: .12;
    transform: rotate(45deg);
}
.hero__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3rem, 6vw, 4.5rem);
}
.hero__content { max-width: 720px; }
.hero h1 { color: #fff; }
.hero .lead { color: #b4bac1; }
.hero .eyebrow { color: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.stats {
    list-style: none;
    margin: clamp(3rem, 6vw, 4.5rem) 0 0;
    padding: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.stats li { display: flex; flex-direction: column; }
.stats strong {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}
.stats span { font-size: .95rem; }

.stats--dark {
    margin: 0;
    padding: 2rem;
    border: 0;
    border-radius: var(--radius);
    background: var(--ink);
    color: #b4bac1;
    grid-template-columns: 1fr;
    align-self: start;
}

@media (max-width: 560px) {
    .stats:not(.stats--dark) { grid-template-columns: 1fr; gap: 1rem; }
}

.page-hero {
    background: var(--ink);
    color: #b4bac1;
    padding-block: clamp(3rem, 7vw, 5rem);
    border-bottom: 4px solid var(--accent);
}
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .lead { color: #b4bac1; margin: 0; }

/* Sections --------------------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: 2.5rem; }
.section__head p { color: var(--muted); }
.section__more { margin-top: 2.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.prose p { max-width: 65ch; }

/* Cards ------------------------------------------------------------------ */

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
    display: inline-grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 10px;
    background: rgba(242, 169, 0, .14);
    color: var(--accent-dark);
    margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }

.card--service { display: flex; gap: 1.25rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.card--service h2 { font-size: 1.35rem; }
.card--service .card__icon { margin: 0; }

.checklist { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .4rem; }
.checklist li { display: flex; gap: .5rem; align-items: center; font-weight: 500; color: var(--ink-2); }
.checklist svg { color: var(--accent-dark); width: 1.1em; height: 1.1em; }

@media (max-width: 480px) { .card--service { flex-direction: column; } }

/* Features --------------------------------------------------------------- */

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.features li { display: flex; gap: 1rem; }
.features svg { width: 28px; height: 28px; color: var(--accent-dark); margin-top: 2px; }
.features h3 { margin-bottom: .2rem; }
.features p { margin: 0; color: var(--muted); }

/* Steps ------------------------------------------------------------------ */

.steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}
.steps li { counter-increment: step; position: relative; padding-top: 3.5rem; }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 0; left: 0;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
}
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Projects --------------------------------------------------------------- */

.project {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s, transform .15s;
}
.project:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.project[hidden] { display: none; }
.project__media { position: relative; aspect-ratio: 4 / 3; background: var(--ink-2); }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__placeholder {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, transparent 55%, rgba(242, 169, 0, .25) 55% 62%, transparent 62%),
        repeating-linear-gradient(45deg, transparent 0 22px, rgba(255, 255, 255, .03) 22px 44px),
        linear-gradient(135deg, #2b3138, #16191d);
}
.tag {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--accent);
    color: var(--ink);
    font-size: .78rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 999px;
}
.project__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project__title { font-size: 1.15rem; }
.project__body p { color: var(--muted); font-size: .95rem; }
.project__year { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
    font: 500 .95rem var(--font-body);
    padding: .5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    cursor: pointer;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* CTA -------------------------------------------------------------------- */

.cta { background: var(--ink); color: #b4bac1; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; }
.cta p { margin: 0; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Contact ---------------------------------------------------------------- */

.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.contact__form form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .35rem; }
.field > span { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    padding: .75rem .9rem;
    border: 1px solid #cfcac2;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(242, 169, 0, .25);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .88rem; }

.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent-dark); }
.checkbox.is-invalid span { color: var(--danger); }

.contact__form .btn { justify-self: start; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: .75rem; padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.alert--success { background: #e7f4ec; color: var(--success); }
.alert--error { background: #fbeaea; color: var(--danger); }
.alert svg { margin-top: 3px; }

.contact__info { background: var(--bg-alt); border-radius: var(--radius); padding: 2rem; }
.contact__info h2 { font-size: 1.4rem; }
.info-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.info-list li { display: flex; gap: .9rem; }
.info-list svg { color: var(--accent-dark); margin-top: 3px; }
.info-list span { display: block; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

/* Footer ----------------------------------------------------------------- */

.footer { background: #0f1114; color: #9aa1a9; padding-top: 3.5rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__tagline { margin-top: 1rem; max-width: 30ch; }
.footer__title { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: #fff; }
.footer__list--icons li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__list--icons svg { color: var(--accent); margin-top: 3px; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding-block: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .85rem;
}

/* Mobile call button ----------------------------------------------------- */

.call-fab {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 40;
    display: none;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.call-fab svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .call-fab { display: grid; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* Pagina unui proiect ------------------------------------------------------ */

.project__link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.project__link:hover .project__title { color: var(--accent-dark); }

.back-link {
    display: block;
    width: fit-content;
    margin-bottom: 1.25rem;
    color: #b4bac1;
    text-decoration: none;
    font-size: .95rem;
}
.back-link:hover { color: #fff; }

.project-text { margin-bottom: 2.5rem; }

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.gallery__item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink-2);
}
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.03); }
@media (max-width: 760px) {
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery__item--wide { aspect-ratio: 4 / 3; }
}

.lightbox {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(10, 11, 13, .94);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); object-fit: contain; }
.lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .lightbox img { max-width: 100vw; }
    .lightbox__nav { top: auto !important; bottom: 20px; transform: none !important; }
}

/* Logo imagine, rețele sociale, cookie-uri ----------------------------- */

.logo__img { display: block; max-height: 44px; width: auto; }
.footer .logo__img { max-height: 52px; }
.footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer__social a { color: #fff; text-decoration: none; font-weight: 500; }
.footer__social a:hover { color: var(--accent); }

.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: #fff; }

.consent {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 60;
    max-width: 420px;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: #d6d9dd;
    font-size: .92rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.consent p { margin: 0 0 .9rem; }
.consent__actions { display: flex; gap: .6rem; justify-content: flex-end; }
.btn--ghost-dark { border-color: rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.btn--ghost-dark:hover { border-color: #fff; }
@media (max-width: 760px) { .consent { right: 18px; bottom: 86px; max-width: none; } }

/* Calculatoare ------------------------------------------------------------ */

.card--link { display: block; color: inherit; text-decoration: none; }
.card--link h2, .card--link h3 { font-size: 1.3rem; margin: 0 0 .4rem; }
.card--link .link-arrow { margin-top: 1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

.calc__form { display: grid; gap: 1.6rem; }
.calc__form fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__form legend, .calc__form .field > label { font-weight: 600; font-size: .92rem; color: var(--ink); padding: 0; margin-bottom: .5rem; }
.calc__form .field small { font-weight: 400; color: var(--muted); }

.segmented { display: flex; flex-wrap: wrap; gap: .5rem; }
.segmented label { position: relative; flex: 1 1 8rem; }
.segmented input, .option input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
    display: block;
    text-align: center;
    padding: .75rem .9rem;
    border: 1px solid #cfcac2;
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.segmented label:hover span { border-color: var(--accent-dark); }
.segmented input:checked + span { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent-dark); color: var(--ink); }
.segmented input:focus-visible + span, .option input:focus-visible ~ span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }

.range { display: flex; align-items: center; gap: 1rem; }
.field .range input[type=range] { flex: 1; padding: 0; border: 0; box-shadow: none; accent-color: var(--accent-dark); background: none; }
.range__input { display: flex; align-items: center; gap: .4rem; font-weight: 600; white-space: nowrap; }
.field .range__input input { width: 6.5rem; text-align: right; }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
.option {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .75rem .9rem .75rem 2.6rem;
    border: 1px solid #cfcac2;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.option::before {
    content: "";
    position: absolute;
    left: .9rem; top: 50%;
    width: 18px; height: 18px;
    margin-top: -9px;
    border: 1.5px solid #b9b3a9;
    border-radius: 4px;
    background: #fff;
}
.option:has(input:checked) { border-color: var(--accent-dark); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.option:has(input:checked)::before { background: var(--accent-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 5 5 9-10' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent-dark); }
.option span { font-weight: 500; color: var(--ink); }
.option small { color: var(--muted); white-space: nowrap; }

.calc__result {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    background: var(--ink);
    color: #d5d9de;
    border-radius: var(--radius);
    padding: 1.75rem;
}
.calc__result .eyebrow { color: var(--accent); }
.calc__total { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1.15; color: #fff; margin: .3rem 0 1.25rem; }
.calc__lines { display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem; margin: 0 0 1.25rem; padding: 1.1rem 0 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .94rem; }
.calc__lines:empty { display: none; }
.calc__lines dt { color: #a9b0b8; }
.calc__lines dd { margin: 0; text-align: right; color: #fff; font-weight: 600; }
.calc__note { font-size: .85rem; color: #a9b0b8; margin: 0 0 1.25rem; }
@media (max-width: 900px) { .calc__result { position: static; } }

/* Promovare ---------------------------------------------------------------- */

.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--whatsapp { background: #1fa855; color: #fff; margin-top: .6rem; }
.btn--whatsapp:hover { background: #178a45; }
.btn svg { width: 1.15em; height: 1.15em; }

.container--narrow { max-width: 780px; }
.empty-state { color: var(--muted); text-align: center; padding: 2rem 0; margin: 0; }

/* Bara de promoție */
.promo { background: var(--ink); color: #d5d9de; font-size: .95rem; }
.promo__inner { display: flex; align-items: center; gap: .75rem 1.25rem; padding-block: .6rem; }
.promo p { margin: 0; flex: 1; display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: baseline; }
.promo strong { color: var(--accent); }
.promo__until { color: #a9b0b8; font-size: .88rem; }
.promo__link { display: inline-flex; align-items: center; gap: .35rem; color: #fff; font-weight: 600; white-space: nowrap; }
.promo__link svg { width: 16px; height: 16px; }
.promo__close { background: none; border: 0; color: #a9b0b8; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }
.promo__close:hover { color: #fff; }
@media (max-width: 600px) {
    .promo { font-size: .88rem; }
    .promo__inner { flex-wrap: wrap; gap: .3rem .75rem; padding-block: .5rem; }
    .promo p { flex-basis: calc(100% - 2rem); }
    .promo p > span:not(.promo__until) { display: none; }
}

/* Butoane plutitoare: WhatsApp (mereu) și apel (pe telefon) */
.fabs { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: .7rem; justify-items: end; }
.fabs .call-fab { position: static; }
.fab--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    height: 52px;
    padding: 0 1.1rem 0 .95rem;
    border-radius: 99px;
    background: #1fa855;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.fab--whatsapp:hover { background: #178a45; }
.fab--whatsapp svg { width: 26px; height: 26px; }
@media (max-width: 760px) {
    .fab--whatsapp { width: 56px; height: 56px; padding: 0; justify-content: center; }
    .fab--whatsapp span { display: none; }
}
.consent { z-index: 45; }

/* Recenzii */
.stars { display: inline-flex; gap: 2px; color: #d6d1c8; vertical-align: middle; }
.stars svg { width: 18px; height: 18px; }
.stars svg.is-on { color: #f2a900; }
.review { margin: 0; display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.review blockquote { margin: 0; flex: 1; color: var(--text); }
.review figcaption { display: grid; gap: .1rem; font-size: .92rem; }
.review figcaption strong { color: var(--ink); }
.review figcaption span, .review figcaption small { color: var(--muted); }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; justify-content: center; }
.rating-line { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.rating-line .stars svg { width: 22px; height: 22px; }
.rating-line strong { color: #fff; }

/* Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.post-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__img { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--bg-alt); color: var(--muted); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img svg { width: 40px; height: 40px; }
.post-card__body { display: grid; gap: .45rem; padding: 1.3rem 1.4rem 1.5rem; }
.post-card__body time { font-size: .85rem; color: var(--muted); }
.post-card__body strong { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.post-card__body span { color: var(--muted); font-size: .95rem; }

.article__cover { display: block; width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
.prose ul { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--accent-dark); font-weight: 600; }
.article__cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin: 2.5rem 0 1.5rem; padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--ink); color: #b4bac1; }
.article__cta strong { color: #fff; font-size: 1.15rem; }
.article__cta p { margin: .2rem 0 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: var(--muted); }

.pager { margin-top: 2.5rem; }
.pagination { display: flex; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.pagination a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.pagination .active a { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Zone */
.zone-links { margin: 0; text-align: center; color: var(--muted); }
.zone-links a { color: var(--ink); font-weight: 600; }

.footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__review { margin: 1rem 0 0; }
.footer__review a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 600; }
.footer__review svg { width: 18px; height: 18px; color: #f2a900; }
.footer__areas { margin: .8rem 0 0; font-size: .9rem; color: #a9b0b8; }
@media (max-width: 760px) { .consent { bottom: 18px; } }
