/* =================================================================
   CSL GARAGE — MENTENANȚĂ TRAPĂ
   Design tokens: dark HUD, amber #ff4d52 / cyan #d1d5db
   Type: Big Shoulders Display (display) · Inter (body) · IBM Plex Mono (data)
================================================================= */

:root{
    --bg-void:#0a0b0d;
    --bg-panel:#16181d;
    --bg-panel-2:#1c1f25;
    --line: #24272e;
    --line-strong: #3a3f49;

    --amber:#ff4d52;
    --brand:#e3141b;
    --amber-soft: rgba(227, 20, 27,0.14);
    --amber-glow: rgba(227, 20, 27,0.35);

    --cyan:#d1d5db;
    --cyan-soft: rgba(255,255,255,0.06);
    --cyan-glow: rgba(255,255,255,0.2);

    --danger:#ff4d52;
    --danger-soft: rgba(227,20,27,0.12);

    --text:#f3f4f6;
    --text-muted:#a1a6b0;
    --text-dim:#8b909a;

    --radius-sm: 8px;
    --radius: 12px;
    --maxw: 1080px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
    background: var(--bg-void);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    position: relative;
    overflow-x: hidden;
}

a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
strong{ color: var(--text); font-weight:600; }

/* background grid layer */
.hud-grid{
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
            linear-gradient(var(--line) 1px, transparent 1px),
            linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
    opacity: 0.5;
}

/* =================== TYPE =================== */
h1,h2,h3{
    font-family: Poppins, Inter, Arial, sans-serif;
    letter-spacing: 0.01em;
    color: var(--text);
}
h1{
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
}
h1 span{ color: var(--amber); }

h2{
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 18px;
}

h3{
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

p{ color: var(--text-muted); margin-bottom: 14px; }
p:last-child{ margin-bottom: 0; }

.eyebrow{
    font-family: Inter, Arial, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 700;
    margin-bottom: 12px;
}

/* =================== LAYOUT =================== */
.container{ width: 90%; max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }

/* =================== TOPBAR =================== */
.topbar{
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,11,13,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner{
    width: 90%; max-width: var(--maxw); margin: 0 auto;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand{
    font-family: Poppins, Inter, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: var(--text);
}
.brand span{ color: var(--amber); }
.topbar-meta{ display:flex; align-items:center; gap:16px; }
.badge{
    font-family: Inter, Arial, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid var(--cyan-soft);
    background: var(--cyan-soft);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.btn-ghost{
    font-family:Inter, Arial, sans-serif;
    font-size: 0.85rem;
    padding: 9px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: border-color .2s ease, color .2s ease;
}
.btn-ghost:hover{ border-color: var(--amber); color: var(--amber); }

/* =================== HERO =================== */
.hero{
    position: relative;
    padding: 72px 0 40px;
    border-bottom: 1px solid var(--line);
}
.hero-grid{
    width: 90%; max-width: var(--maxw); margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    position: relative; z-index: 1;
}
.hero-sub{ font-size: 1.08rem; max-width: 46ch; margin-bottom: 28px; }

.hero-actions{ display:flex; align-items:center; gap: 22px; margin-bottom: 40px; flex-wrap: wrap; }

.btn-primary{
    display:inline-block;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 8px 24px var(--amber-glow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px var(--amber-glow); }
.btn-primary.large{ padding: 18px 36px; font-size: 1.05rem; }

.btn-text{
    font-family:Inter, Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 3px;
    transition: color .2s ease, border-color .2s ease;
}
.btn-text:hover{ color: var(--cyan); border-color: var(--cyan); }

.trust-row{
    display:flex; gap: 34px; flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}
.trust-row div{ display:flex; flex-direction:column; gap:4px; }
.trust-row strong{
    font-family:Inter, Arial, sans-serif;
    color: var(--amber);
    font-size: 1.15rem;
}
.trust-row span{ font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; }

/* hero diagram */
.hero-diagram{ position: relative; text-align:center; }
.hero-diagram svg{ width: 100%; max-width: 320px; }
.diagram-caption{
    font-family:Inter, Arial, sans-serif;
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.03em;
    margin-top: 8px;
}
.d-hull{ fill:none; stroke: var(--line-strong); stroke-width:1.5; }
.d-roof{ fill: var(--cyan-soft); stroke: var(--cyan); stroke-width:1.5; }
.d-drain{ fill:none; stroke: var(--line-strong); stroke-width:3; stroke-linecap:round; }
.d-flow{
    fill:none; stroke: var(--cyan); stroke-width:2; stroke-linecap:round;
    stroke-dasharray: 6 10;
    animation: flow 1.6s linear infinite;
    opacity: 0.9;
}
.d-flow-delay{ animation-delay: .5s; }
.d-guide{ stroke: var(--line); stroke-width:1; stroke-dasharray: 2 4; }
.d-node-ok{ fill: var(--cyan); }
.d-node-block{ fill: var(--amber); }
.d-node-pulse{
    fill:none; stroke: var(--amber); stroke-width:2;
    animation: pulse 1.8s ease-out infinite;
    transform-origin: 204px 250px;
}
@keyframes flow{ to{ stroke-dashoffset: -32; } }
@keyframes pulse{
    0%{ opacity:0.9; transform: scale(0.9); }
    100%{ opacity:0; transform: scale(2.1); }
}
@media (prefers-reduced-motion: reduce){
    .d-flow, .d-node-pulse{ animation: none; }
}

/* =================== PANELS =================== */
.panel{
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px clamp(20px, 4vw, 48px);
    margin: 28px 0;
}
.panel::before, .panel::after{
    content:"";
    position:absolute;
    width: 18px; height: 18px;
    border-color: var(--brand);
    border-style: solid;
    opacity: 0.55;
}
.panel::before{ top:-1px; left:-1px; border-width: 2px 0 0 2px; }
.panel::after{ bottom:-1px; right:-1px; border-width: 0 2px 2px 0; }

/* =================== CHECK LIST =================== */
.check-list{ list-style:none; margin: 6px 0 4px; }
.check-list li{
    position: relative;
    padding-left: 30px;
    margin: 10px 0;
    color: var(--text);
}
.check-list li::before{
    content:"";
    position:absolute; left:0; top:8px;
    width:8px; height:8px;
    background: var(--cyan);
    border-radius: 1px;
    transform: rotate(45deg);
}

/* =================== CALLOUTS =================== */
.callout{
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin: 20px 0;
    font-size: 0.96rem;
}
.callout p{ color: inherit; margin-bottom: 10px; }
.callout p:last-child{ margin-bottom:0; }
.callout-amber{
    background: var(--amber-soft);
    border: 1px solid var(--amber-glow);
    color: #e5e7eb;
}
.callout-amber strong{ color: var(--amber); }
.callout-danger{
    background: var(--danger-soft);
    border: 1px solid rgba(227,20,27,0.35);
    color: #e5e7eb;
    max-width: var(--maxw);
    width: 90%;
    margin: 28px auto;
    padding: 26px 28px;
    border-radius: var(--radius);
}
.callout-danger .callout-title{
    font-family:Inter, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    color: var(--danger);
    margin-bottom: 12px;
}
.callout-danger p{ color: #d1d5db; font-size: 0.93rem; }

/* =================== PRICE GRID / TABLE =================== */
.price-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 8px 0 20px;
}
.price-card{
    background: var(--bg-panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px;
    display:flex; flex-direction:column; gap:10px;
}
.price-label{ font-size: 0.85rem; color: var(--text-muted); }
.price-value{
    font-family: Inter, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--amber);
}
.price-value small{ font-size: 0.85rem; color: var(--text-dim); font-weight:400; }

.price-inline{
    display:flex; align-items:baseline; gap: 12px;
    margin: 18px 0;
    padding: 14px 18px;
    background: var(--bg-panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    width: fit-content;
}
.price-inline span{ color: var(--text-muted); font-size:0.9rem; }
.price-inline strong{ font-family:Inter, Arial, sans-serif; color: var(--amber); font-size: 1.1rem; }

.price-table{ margin: 8px 0 20px; }
.price-row{
    display:flex; justify-content:space-between; gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.price-row:last-child{ border-bottom:none; }
.price-row span{ color: var(--text); }
.price-row strong{ font-family:Inter, Arial, sans-serif; color: var(--amber); white-space: nowrap; }

/* =================== IMAGES =================== */
.img-row{ display:flex; gap: 20px; margin: 22px 0; flex-wrap: wrap; }
.img-row.two figure{ flex: 1 1 260px; }
figure{ margin:0; }
figure img{
    width:100%; height: 280px; object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}
figcaption{
    font-family:Inter, Arial, sans-serif;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 8px;
    text-align:center;
}
.img-single{ margin: 22px 0; }
.img-single img{ width:100%; height: 360px; object-fit: cover; border-radius: var(--radius-sm); border:1px solid var(--line); }

/* =================== VIDEO =================== */
.video-wrapper{
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid var(--line);
}
.video-wrapper iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
@supports not (aspect-ratio: 16/9){ .video-wrapper{ height:0; padding-bottom:56.25%; } }

/* =================== STEP LIST (procedura reparatie) =================== */
.step-list{ list-style:none; margin: 24px 0; counter-reset: none; }
.step-list li{
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}
.step-list li:last-child{ border-bottom: 1px solid var(--line); }
.step-num{
    font-family: Inter, Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--amber);
    opacity: 0.85;
}
.step-list h3{ margin-bottom: 6px; }
.step-list p{ font-size: 0.94rem; }

/* =================== FAQ =================== */
.faq-list{ margin-top: 8px; }
.faq-item{ padding: 18px 0; border-top: 1px solid var(--line); }
.faq-item:last-child{ padding-bottom: 0; }
.faq-item h3{ color: var(--text); font-size: 1rem; }
.faq-item h3::before{ content:"› "; color: var(--amber); }
.faq-item p{ font-size: 0.94rem; }

/* =================== FINAL CTA =================== */
.final-cta{
    text-align:center;
    padding: 64px clamp(20px,4vw,48px);
    margin: 40px 0 0;
    background: radial-gradient(ellipse at 50% 0%, var(--amber-soft), transparent 65%), var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.final-cta .eyebrow{ justify-content:center; text-align:center; }
.final-cta h2{ margin-bottom: 10px; }
.final-cta p{ margin-bottom: 26px; }

.costuri-intro{
    max-width: 60ch;
    margin-top: -6px;
    margin-bottom: 20px;
}

.costuri-v2-grid{ align-items: stretch; }

.costuri-v2-includes{
    list-style: none;
    margin: 4px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.costuri-v2-includes li{
    position: relative;
    padding-left: 16px;
    font-size: 0.82rem;
    color: var(--text-dim);
}
.costuri-v2-includes li::before{
    content:"";
    position:absolute; left:0; top:7px;
    width:5px; height:5px;
    background: var(--cyan);
    border-radius: 1px;
    transform: rotate(45deg);
}

.price-card.costuri-v2-featured{
    position: relative;
    border-color: var(--amber-glow);
    box-shadow: 0 0 0 1px var(--amber-glow);
}
.costuri-v2-ribbon{
    position: absolute;
    top: -11px;
    right: 16px;
    background: var(--brand);
    color: #fff;
    font-family:Inter, Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* --- deepclean card (nu exista in style.css, definit aici scoped) --- */
.deepclean-card{
    background: radial-gradient(ellipse at 100% 0%, var(--amber-soft), transparent 60%), var(--bg-panel-2);
    border: 1px solid var(--amber-glow);
    border-radius: var(--radius);
    padding: 28px clamp(18px, 3vw, 32px);
    margin: 24px 0;
}
.deepclean-top{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.deepclean-badge{
    display: inline-block;
    font-family:Inter, Arial, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--amber);
    border: 1px solid var(--amber-glow);
    background: var(--amber-soft);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.deepclean-title h3{ margin-bottom: 4px; }
.deepclean-title p{ font-size: 0.9rem; margin-bottom: 0; }
.deepclean-price{
    font-family:Inter, Arial, sans-serif;
    color: var(--amber);
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}
.deepclean-price span{ font-size: 2rem; font-weight: 700; }
.deepclean-price small{ font-size: 0.9rem; color: var(--text-dim); }
.deepclean-divider{
    height: 1px;
    background: var(--line);
    margin: 20px 0;
}
.deepclean-description{ font-size: 0.96rem; margin-bottom: 0; }

.costuri-v2-deepclean-list{
    list-style: none;
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px 24px;
}
.costuri-v2-deepclean-list li{
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.costuri-v2-deepclean-list li::before{
    content:"✓";
    position:absolute; left:0; top:0;
    color: var(--cyan);
    font-family:Inter, Arial, sans-serif;
    font-weight: 700;
}

.costuri-v2-footnotes p{
    font-size: 0.85rem;
    color: var(--text-dim);
}
.img-single-contain img{
    height: 460px;
    object-fit: contain;
    background: var(--bg-panel-2);
}

/* =================== FOOTER =================== */
.site-footer{
    text-align:center;
    padding: 30px 20px 40px;
    color: var(--text-dim);
    font-size: 0.82rem;
    font-family:Inter, Arial, sans-serif;
}

/* =================== FOCUS STATES =================== */
a:focus-visible, .btn-primary:focus-visible, .btn-ghost:focus-visible{
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

/* =================== MOBILE =================== */
@media (max-width: 860px){
    .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
    .hero-diagram{ order:-1; max-width: 220px; margin: 0 auto; }
    .price-grid{ grid-template-columns: 1fr; }
    .badge{ display:none; }
}
@media (max-width: 560px){
    .deepclean-price{ order: -1; }
    .panel{ padding: 28px 20px; }
    .img-row.two{ flex-direction: column; }
    figure img{ height: 220px; }
    .img-single img{ height: 240px; }
    .step-list li{ grid-template-columns: 40px 1fr; }
    .step-num{ font-size: 1.2rem; }
    .price-row{ flex-direction: column; gap: 4px; }
    .img-single-contain img{ height: 380px; }
}