/* Car Care — © 2026 Car Care. Toate drepturile rezervate. */
/* Headlight film, monthly promotions and pricing offers. Each block can be hidden from the control panel. */
/* No section may widen the page: clip horizontal overflow without creating a scroll container
   (position:sticky keeps working). */
html,body{max-width:100%;overflow-x:clip}
main,footer,.ppf,.promotions,.prices{overflow-x:clip}
/* Folie Faruri Premium */
.ppf{position:relative;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"media head" "media card" "media more";column-gap:clamp(32px,6vw,88px);row-gap:28px;align-items:start;max-width:1240px;margin:0 auto;background:var(--paper);color:var(--ink)}
.ppf:before{content:'';position:absolute;inset:0 calc(50% - 50vw);z-index:-1;background:var(--paper)}
.ppf-head{grid-area:head}
.ppf h2{font-size:clamp(40px,5vw,72px);line-height:1.04;letter-spacing:-.04em;color:var(--ink);max-width:none}
.ppf-lead{margin-top:20px!important;font-size:clamp(20px,1.8vw,24px);line-height:1.45;font-weight:500;color:var(--wine)}
.ppf-media{grid-area:media;position:sticky;top:24px;margin:0}
.ppf-media-frame{position:relative;overflow:hidden;aspect-ratio:4/5;background:#201e1c;clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,0 100%)}
.ppf-photo{display:block;width:100%;height:100%;object-fit:cover;transform-origin:50% 40%}
.ppf-shine{position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 35%,#ffffff2e 50%,transparent 65%);transform:translateX(-120%)}
.ppf-card{grid-area:card;position:relative;padding:30px 28px 28px;background:var(--wine);color:var(--paper);clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%)}
.ppf-card-label{font-size:15px;font-weight:500;letter-spacing:.04em;color:#f3dfe4}
.ppf-price{display:flex;align-items:baseline;gap:14px;margin-top:10px!important;font-family:'Archivo',sans-serif;line-height:1}
.ppf-price strong{font-size:clamp(64px,7vw,88px);font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.ppf-price span{font-size:24px;font-weight:600}
.ppf-brand{margin-top:14px!important;padding-bottom:18px;border-bottom:1px solid #ffffff38;font-size:18px;color:#f6e9ec}
.ppf-brand strong{font-weight:600;color:#fff}
.ppf-benefits{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px}
.ppf-benefits li{display:flex;gap:12px;align-items:flex-start;font-size:18px;line-height:1.4}
.ppf-benefits svg{flex:none;width:22px;height:22px;margin-top:1px;fill:none;stroke:var(--sand);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ppf-warranty{display:flex;align-items:center;gap:12px;margin-top:22px!important;padding:14px 16px;background:var(--paper);color:#c8102e;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%);font-family:'Archivo',sans-serif;font-size:22px;font-weight:700;letter-spacing:-.01em}
.ppf-warranty span{padding:4px 10px;background:#c8102e;color:var(--paper)}
.ppf-call{margin-top:22px;width:100%;font-size:17px}
.ppf-more{grid-area:more}
.ppf-more p{margin-top:14px;font-size:17px;line-height:1.7;color:#3b3734;max-width:62ch}
.ppf-more p:first-child{margin-top:0}
/* Promoții */
.promotions{position:relative;z-index:3;background:var(--wine);color:var(--paper)}
.promotions:not(:has(.promo-card)){display:none}
.promo-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:16px 40px;align-items:end;max-width:1240px;margin:0 auto 40px}
.promo-intro h2{font-size:clamp(40px,5vw,72px);letter-spacing:-.04em;line-height:1.04;color:var(--paper)}
.promo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;max-width:1240px;margin:0 auto}
.promo-card{position:relative;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%)}
.promo-media{position:relative;margin:0;aspect-ratio:16/10;overflow:hidden;background:#201e1c}
.promo-photo{display:block;width:100%;height:118%;object-fit:cover;transition:scale .6s cubic-bezier(.2,.7,.2,1)}
.promo-media:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:30px;background:var(--paper);-webkit-mask:url(assets/carcare-section-sweep.svg) bottom/100% 100% no-repeat;mask:url(assets/carcare-section-sweep.svg) bottom/100% 100% no-repeat}
.promo-icon{position:absolute;z-index:2;left:20px;bottom:6px;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--wine);box-shadow:0 0 0 4px var(--paper)}
.promo-icon svg{width:30px;height:30px;fill:none;stroke:var(--paper);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.promo-body{display:flex;flex-direction:column;gap:10px;flex:1;padding:22px 24px 24px}
.promo-tag,.offer-tag{align-self:flex-start;padding:6px 11px;background:var(--wine);color:var(--paper);font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.promo-card h3{font-size:clamp(24px,2.2vw,30px);letter-spacing:-.025em;line-height:1.12;color:var(--ink)}
.promo-text{font-size:17px;line-height:1.55;color:#3b3734}
.promo-price{display:flex;align-items:baseline;gap:12px;margin-top:auto!important;padding-top:10px;font-family:'Archivo',sans-serif;line-height:1}
.promo-price strong{font-size:36px;font-weight:700;letter-spacing:-.03em;color:var(--wine)}
.promo-price s{font-size:20px;font-weight:500;color:#8a7f78}
@media(hover:hover) and (pointer:fine){
 .promo-card:hover .promo-photo{scale:1.05}
}
/* Oferte în secțiunea de prețuri: bilete cu fotografie și ștampila prețului. */
.price-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;max-width:1180px;margin:0 auto 32px}
.price-offers:not(:has(.offer-card)){display:none}
.offer-card{--notch:14px;position:relative;isolation:isolate;display:grid;grid-template-columns:1fr auto;align-items:end;gap:16px;min-height:280px;padding:26px;overflow:hidden;color:var(--paper);background:#1d1a19;
 -webkit-mask:radial-gradient(circle var(--notch) at 0 62%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle var(--notch) at 100% 62%,#0000 98%,#000) right/51% 100% no-repeat;
 mask:radial-gradient(circle var(--notch) at 0 62%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle var(--notch) at 100% 62%,#0000 98%,#000) right/51% 100% no-repeat}
.offer-bg{position:absolute;inset:0;z-index:-1}
.offer-bg:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#1d1a19f2 0%,#1d1a19c7 45%,#1d1a1940 100%)}
.offer-photo{display:block;width:100%;height:100%;object-fit:cover}
.offer-content{display:flex;flex-direction:column;gap:10px;max-width:30ch}
.offer-card .offer-tag{background:var(--paper);color:var(--wine)}
.offer-card h3{font-size:clamp(26px,2.4vw,34px);letter-spacing:-.025em;line-height:1.1;color:#fff}
.offer-text{font-size:16px;line-height:1.55;color:#eee4dc}
.offer-stamp{position:relative;align-self:end;display:grid;place-items:center;width:160px;height:160px}
.offer-gauge{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gauge-face{fill:var(--wine);stroke:#f6f3ed33;stroke-width:1}
.gauge-ticks{fill:none;stroke:#f6f3ed80;stroke-width:9;stroke-dasharray:.5 3.5}
.gauge-arc{fill:none;stroke:var(--sand);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:22}
.gauge-needle path{stroke:var(--paper);stroke-width:2.5;stroke-linecap:round}
.gauge-needle circle{fill:var(--paper)}
.offer-price{position:relative;margin-top:44px!important}
.offer-price{display:grid;text-shadow:0 1px 6px #3b0615;justify-items:center;font-family:'Archivo',sans-serif;line-height:1;text-align:center}
.offer-price s{font-size:15px;font-weight:500;color:#f3dfe4b3}
.offer-price strong{font-size:52px;font-weight:700;letter-spacing:-.04em;color:#fff}
.offer-price span{font-size:16px;font-weight:600;color:#f6e9ec}
@media(max-width:900px){
 .ppf{grid-template-columns:1fr;grid-template-areas:"head" "media" "card" "more"}
 .ppf-media{position:relative;top:auto}
 .ppf-media-frame{aspect-ratio:4/3}
 .ppf-card{max-width:560px}
 .promo-intro{grid-template-columns:1fr}
}
@media(max-width:520px){
 .ppf-card{padding:26px 20px 22px}
 .ppf-more p{font-size:16px}
 .ppf-benefits li{font-size:17px}
 .ppf-warranty{font-size:20px}
 .promo-body{padding:20px 18px 20px}
 .offer-card{grid-template-columns:1fr;min-height:0;padding:22px 20px}
 .offer-stamp{position:absolute;top:16px;right:16px;width:112px;height:112px}
 .offer-price{margin-top:30px!important}
 .offer-price strong{font-size:36px}
 .offer-price s{font-size:13px}
 .offer-content{max-width:none;padding-right:112px}
 .offer-card h3{font-size:24px}
}
/* Lizibilitate: servicii și tarife. "body" ridică specificitatea peste regulile #preturi din pricing.css. */
.services .section-intro>p{font-size:19px;color:var(--ink)}
.radio-signature>span:not(.radio-speaker){font-size:16px;color:#f4e9da}
.carcare-radio .service-feature p{font-size:17px;line-height:1.5;color:#f1e8df}
.carcare-radio .service-choice .radio-preset-name{font-size:15px;font-weight:600}

.carcare-radio .service-auto{min-height:44px}
body #preturi .pricing-intro>p{font-size:19px;color:#fbeef1}
body #preturi .pricing-control-label{font-size:15px;color:#f1e6dc}
body #preturi .tariff-table thead th{font-size:14px;color:#eadfd5}
body #preturi .tariff-table tbody th,body #preturi .tariff-table td{padding-block:26px}
body #preturi .tariff-name{font-size:20px}
body #preturi .tariff-description{font-size:15px;color:#e2d6cc}
body #preturi .price-value,body #preturi .price-departing{font-size:clamp(30px,3vw,40px)}
body #preturi .price-unit{font-size:15px;color:#eadfd5}
body #preturi .tariff-note,body #preturi .fine-print{font-size:15px;line-height:1.55;color:#eadfd5}
@media(max-width:700px){
 .services .section-intro>p{font-size:17px}
 .radio-signature>span:not(.radio-speaker){font-size:15px}
 .carcare-radio .service-feature p{font-size:16px}
 .carcare-radio .service-choice .radio-preset-name{font-size:13px}
 body #preturi .pricing-intro>p{font-size:17px}
 body #preturi .tariff-table tbody th,body #preturi .tariff-table td{padding-block:20px}
 body #preturi .tariff-name{font-size:17px}
 body #preturi .tariff-description{font-size:14px}
 body #preturi .price-value,body #preturi .price-departing{font-size:clamp(24px,7vw,30px)}
 body #preturi .price-unit{font-size:14px}
}
/* Subsol: drepturi și pictograma ANPC SAL (Ordin ANPC 449/2022, modificat prin Ordinul 270/2026: 250×50 px, link către reclamatiisal.anpc.ro). */
.anpc-sal{display:inline-block;line-height:0}
.anpc-sal img{display:block;width:250px;height:50px;object-fit:contain;object-position:left center}
/* Mânerul comparației: săgeți SVG centrate exact în cerc. */
.separator span{line-height:0;font-size:0}
.separator span svg{display:block;width:24px;height:24px;fill:none;stroke:var(--paper);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Before/after: whole photo at its own shape, centred, never cropped or enlarged past the frame. */
.comparison.real-comparison{--photo-ratio:1.3333;aspect-ratio:var(--photo-ratio)!important;width:auto;align-self:center;max-width:100%;margin-left:auto;margin-right:auto}
.comparison.real-comparison .compare-photo img{object-fit:contain;object-position:center}
/* Indicația „Swipe” apare doar pe ecrane tactile; pe desktop separatorul se trage cu mouse-ul. */
/* Photos replaced from the control panel keep their slot: the template's proportions and a crop, unless the
   site's own rules for that slot already define them (:where() has zero specificity). */
:where(img[data-cms-replaced]){aspect-ratio:var(--cms-ratio,auto);object-fit:var(--cms-fit,cover);object-position:center;height:auto}
/* A text the owner switched off in the control panel (beats the element's own display rule). */
[data-cms-off-text]{display:none!important}
/* Navigation: slightly larger links on desktop (5 items incl. Folie PPF). */
@media(min-width:701px){.desktop-nav{font-size:16px;gap:clamp(18px,3.4vw,56px)}}
@media(min-width:1280px){.desktop-nav{font-size:17px}}
/* Reviews: animated testimonial (after Aceternity „Animated Testimonials” and Framer card decks), in Car Care
   style: a deck of framed job photos with cut corners that shuffles, and a quote whose words sharpen into place.
   reviews.js adds .is-ready and moves .is-active; without it every review is listed. */
.testimonial{grid-column:1/-1;display:grid;gap:30px;align-items:center;min-width:0}
.testimonial-stack{position:relative;width:min(100%,330px);aspect-ratio:5/4;margin:8px auto 0}
.stack-card{position:absolute;inset:0;margin:0;filter:drop-shadow(5px 7px 0 #a2485e) drop-shadow(12px 20px 26px #29051040);transform:rotate(var(--tilt,0deg)) scale(.94);transform-origin:50% 100%;opacity:.75;transition:transform .5s cubic-bezier(.4,0,.2,1),opacity .5s}
.stack-card picture{display:block;height:100%;padding:7px;background:var(--paper)}
.stack-card img{display:block;width:100%;height:100%;object-fit:cover}
.stack-card.is-active{z-index:20;opacity:1;transform:none;animation:stack-hop .5s ease-in-out}
@keyframes stack-hop{45%{translate:0 -46px}}
.testimonial-body{min-width:0}
.testimonial-body h2{margin-bottom:18px;color:var(--paper)}
.review-track{display:grid;gap:28px;margin:0;padding:0;list-style:none}
.review-card{min-width:0;color:var(--paper)}
.review-stars{display:flex;gap:4px;margin:0 0 10px;color:#e9b949;line-height:0}
.review-stars svg{width:18px;height:18px;fill:currentColor}
.proof .review-card blockquote{margin:0;font-family:'Archivo',sans-serif;font-size:clamp(21px,5.6vw,26px);font-weight:600;line-height:1.28;letter-spacing:-.012em}
.review-name{margin:12px 0 0;font-size:14px;font-weight:600;color:var(--sand)}
.testimonial.is-ready .review-track{position:relative}
/* Only the review on show takes up space, so the arrows sit right under it (no gap sized for the longest one). */
.testimonial.is-ready .review-track>li{visibility:hidden;position:absolute;inset:0 0 auto}
.testimonial.is-ready .review-track>li.is-active{position:relative}
.testimonial.is-ready .review-track>li.is-active{visibility:visible}
.review-word{display:inline-block}
.testimonial.is-ready .review-word{filter:blur(10px);opacity:0;translate:0 5px;transition:filter .25s ease-in-out,opacity .25s ease-in-out,translate .25s ease-in-out;transition-delay:calc(var(--i) * 22ms)}
.testimonial.is-ready .is-active .review-word{filter:none;opacity:1;translate:0 0}
.testimonial.is-ready .review-stars,.testimonial.is-ready .review-name{opacity:0;translate:0 14px;transition:opacity .3s,translate .3s}
.testimonial.is-ready .is-active .review-stars,.testimonial.is-ready .is-active .review-name{opacity:1;translate:0 0}
.testimonial-controls{display:none;align-items:center;gap:12px;margin-top:20px}
.testimonial.is-ready .testimonial-controls{display:flex}
/* Same arrow buttons as the before/after slider (.comparison-nav button in style.css). */
.testimonial-controls button{position:relative;isolation:isolate;display:grid;place-items:center;width:50px;height:50px;padding:0;border:0;background:transparent;color:var(--paper);font-size:25px;line-height:1;transition:color .25s,transform .25s}
.testimonial-controls button:before,.testimonial-controls button:after{content:'';position:absolute;pointer-events:none;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,0 100%)}
.testimonial-controls button:before{inset:0;z-index:-2;background:#d8c7b48c}
.testimonial-controls button:after{inset:1px;z-index:-1;background:var(--wine);clip-path:polygon(0 0,calc(100% - 8.4px) 0,100% 8.4px,100% 100%,0 100%);transition:background .25s}
.testimonial-controls button:active{transform:scale(.92)}
@media(hover:hover){.testimonial-controls button:hover{color:var(--wine)}.testimonial-controls button:hover:after{background:var(--paper)}}
.testimonial-body .source{margin-top:14px}
@media(min-width:701px){
 .testimonial{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(56px,8vw,130px)}
 .testimonial-stack{width:min(100%,430px);aspect-ratio:4/5;margin:0}
 .stack-card picture{padding:9px}
 .proof .review-card blockquote{font-size:clamp(24px,2.35vw,34px)}
 .review-stars svg{width:22px;height:22px}
}
/* The reviews make the testimonial taller than some screens: it stays pinned only once its bottom is visible. */
.proof{top:min(0px,calc(100svh - var(--proof-height,100svh)))}
/* Brand consistency pass. */
/* One content edge: every section follows the page gutter instead of its own centred max-width. */
.ppf,.promo-intro,.promo-grid,.price-offers,#preturi .pricing-intro,#preturi .pricing-studio{max-width:none}
/* The price qualifier sits under the price now. */
.ppf-card-label{margin-top:-6px}
/* Location photo: the angled top-right corner, like every other photo frame. */
.location .location-photo img{clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,0 100%)}
/* „Galerie” stays the same paper button on phones as on desktop. */
.carcare-radio .service-gallery-trigger{padding:8px 12px;background:var(--paper);color:var(--wine);border-bottom:0;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%)}
@media(hover:hover){.carcare-radio .service-gallery-trigger:hover{background:#dfcbb3;color:var(--wine)}}
/* Call button: the same full width on phones in every section. */
@media(max-width:700px){.final-cta>div{align-items:stretch}.final-cta .button{width:100%;min-width:0;max-width:none}}
/* Heading tracking within the guideline (−0.03em). */
h2{letter-spacing:-.03em}
/* Phones: the floating dock covers the bottom of the screen; the reviews keep their arrows above it while pinned. */
@media(max-width:700px){.proof{padding-bottom:150px}}
/* Promo cards: the text panel overlaps the photo frame by 2px, so no hairline of the frame backing shows under the curve. */
.promo-body{position:relative;margin-top:-2px;background:var(--paper)}
/* Footer: legal entity and policy links. */
/* Footer: contact (logo, address, hours, phone) beside the legal block. */
/* WhatsApp: the official round button (WhatsApp green, white logo). Desktop: above „Sus”. Phones: in its place
   (the dock already leads to the sections). */
.whatsapp-fab{position:fixed;right:20px;bottom:84px;z-index:21;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 4px 14px #0000004d;opacity:0;visibility:hidden;transform:translateY(10px) scale(.92);transition:opacity .25s,transform .35s cubic-bezier(.2,.7,.2,1),visibility .25s,background .25s}
.whatsapp-fab.visible{opacity:1;visibility:visible;transform:none}
.whatsapp-fab.visible.aside{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(10px) scale(.92)}
.whatsapp-fab svg{width:32px;height:32px;fill:currentColor}
@media(hover:hover){.whatsapp-fab:hover{background:#1ebe5b}}
.whatsapp-fab:active{transform:scale(.94)}
.whatsapp-fab:focus-visible{outline:3px solid #128c7e;outline-offset:4px}
.menu-open .whatsapp-fab,body:has(#inline-search:focus) .whatsapp-fab{visibility:hidden;pointer-events:none}
@media(max-width:700px){
 .back-top{display:none!important}
 .whatsapp-fab{right:16px;bottom:calc(92px + env(safe-area-inset-bottom,0px) + var(--viewport-bottom,0px));width:56px;height:56px}
}
/* Layout grid: one content edge (the page gutter) and one vertical rhythm for every section.
   Sections opened by the body-line curve keep their extra top room for the curve. */
:root{--space-section:64px}
@media(min-width:701px){:root{--space-section:96px}}
html body .problem,html body #folie-faruri,html body #promotii,html body #preturi{padding-top:var(--space-section);padding-bottom:var(--space-section)}
html body #servicii{padding-top:var(--space-section)}
/* Prices: tighter top so the title sits close to the film section above (client request, 27 Oct 2026). */
html body #preturi{padding-top:32px}
@media(min-width:701px){html body #preturi{padding-top:40px}}
html body footer.section{padding-top:var(--space-section)}
/* Section entrances slide only: scaling around the centre pulled content off the gutter while it moved. */
@media(min-width:0px){.scroll-layer{scale:1!important}}
/* Radio console on phones: inset to the page gutter like everything else. */
@media(max-width:700px){.carcare-radio .radio-console{width:calc(100% - 2 * var(--gutter));margin-left:var(--gutter);margin-right:var(--gutter)}}
.cc-optical{display:inline}
/* Cards share one inner padding (bento rhythm): promotions, offers, headlight film card, price board. */
:root{--card-pad:20px}
@media(min-width:701px){:root{--card-pad:32px}}
html body .promo-body{padding:var(--card-pad)}
html body .ppf-card{padding:var(--card-pad)}
html body .offer-card{padding-left:var(--card-pad);padding-right:var(--card-pad)}
html body #preturi .pricing-studio{padding-left:var(--card-pad);padding-right:var(--card-pad)}
@media(max-width:700px){html body #preturi .pricing-studio{margin-inline:0}}
@media(min-width:701px){html body .proof,html body .race-journey,html body .final-cta{padding-bottom:var(--space-section)}}
html body .faq{padding-top:var(--space-section)}
/* Review navigation: one bar (previous · review segments · next) under the quote, counter on the right. */
.testimonial.is-ready .testimonial-controls{display:grid;grid-template-columns:50px minmax(0,1fr) 50px auto;align-items:center;gap:14px;max-width:460px}
.testimonial-dots{display:flex;gap:6px;min-width:0}
.testimonial-dot{position:relative;flex:1;height:44px;padding:0;border:0;background:none;cursor:pointer}
.testimonial-dot:before{content:'';position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;background:#d8c7b44d;transition:background .3s,height .3s}
.testimonial-dot.is-active:before{background:var(--paper);height:5px;margin-top:-2.5px}
@media(hover:hover){.testimonial-dot:not(.is-active):hover:before{background:#d8c7b4a6}}
.testimonial-dot:focus-visible{outline:3px solid #bb7047;outline-offset:2px}
/* The segments are buttons too: they must not inherit the arrow buttons' framed shape. */
.testimonial-controls .testimonial-dot{display:block;width:auto;height:44px;color:inherit;transform:none}
.testimonial-controls .testimonial-dot:after{display:none}
.testimonial-controls .testimonial-dot:before{inset:auto 0;top:50%;z-index:0;clip-path:none;height:3px;margin-top:-1.5px;background:#d8c7b44d}
.testimonial-controls .testimonial-dot.is-active:before{background:var(--paper);height:5px;margin-top:-2.5px}
@media(hover:hover){.testimonial-controls .testimonial-dot:not(.is-active):hover:before{background:#d8c7b4a6}}
/* Promotions: discount as a number plate on the photo, the old price slashed, the saving spelled out. */
.promo-plate{position:absolute;z-index:2;top:16px;left:16px;display:flex;align-items:stretch;height:40px;background:var(--paper);border:2px solid var(--ink);border-radius:5px;box-shadow:0 6px 16px #0000004d;overflow:hidden;transform-origin:50% 0;transform:rotate(-3deg)}
.promo-plate-strip{display:grid;place-items:center;padding:0 7px;background:var(--wine);color:var(--paper);font:700 9px/1 'IBM Plex Sans',sans-serif;letter-spacing:.12em;writing-mode:vertical-rl;transform:rotate(180deg)}
.promo-plate-value{display:grid;place-items:center;padding:0 12px 0 10px;font:700 22px/1 'Archivo',sans-serif;letter-spacing:.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.promo-card.has-deal .promo-price{flex-wrap:wrap;row-gap:8px}
.promo-card.has-deal .promo-price s{position:relative;text-decoration:none;color:#8a7f78}
.promo-card.has-deal .promo-price s:after{content:'';position:absolute;left:-4px;right:-4px;top:50%;height:3px;margin-top:1px;background:var(--wine);transform:rotate(-8deg) scaleX(1);transform-origin:50% 50%;border-radius:2px}
.promo-save{flex-basis:100%;width:fit-content;flex-grow:0;padding:6px 10px;background:#780d2b14;color:var(--wine);font:600 14px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:0;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%)}
/* Entrance (scripts on): plate swings in, slash draws across the old price, saving fades up. */
.promo-card.has-deal:not(.deal-in) .promo-plate{transform:rotate(-3deg) rotateX(90deg)}
.promo-card.has-deal:not(.deal-in) .promo-price s:after{transform:rotate(-8deg) scaleX(0)}
.promo-card.has-deal:not(.deal-in) .promo-save{opacity:0;transform:translateY(8px)}
.promo-card.has-deal .promo-plate{transition:transform .7s cubic-bezier(.3,1.6,.5,1) .15s}
.promo-card.has-deal .promo-price s:after{transition:transform .35s cubic-bezier(.6,0,.3,1) .1s}
.promo-card.has-deal .promo-save{transition:opacity .4s 1.2s,transform .4s 1.2s}
/* Review counter: announced to screen readers only; the segments show the position. */
.testimonial.is-ready .testimonial-controls{grid-template-columns:50px minmax(0,1fr) 50px}
.promo-card.has-deal .promo-price{display:grid;grid-template-columns:auto auto 1fr;align-items:baseline;column-gap:12px}
.promo-card.has-deal .promo-save{grid-column:1/-1;justify-self:start;width:auto}
.promo-card.has-deal .promo-price s:after{height:2px}
/* Review navigation, the same on every screen: the two arrow buttons side by side, then the review segments
   at a fixed size (no stretching with the screen width). */
.testimonial.is-ready .testimonial-controls{display:flex;align-items:center;gap:12px;max-width:none;flex-wrap:nowrap}
.testimonial-controls button.testimonial-prev,.testimonial-controls button.testimonial-next{flex:none;width:50px;height:50px}
.testimonial-controls .testimonial-dots{flex:none;display:flex;gap:6px;margin-left:12px}
.testimonial-controls .testimonial-dot{flex:none;width:28px;height:44px}
/* Before/after navigation: just the two arrows side by side (as in the reviews). The case name and the count
   stay for screen readers, which announce the change. */
.comparison-nav{display:flex!important;align-items:center;gap:12px}
.comparison-nav>div{position:absolute!important;width:1px;height:1px;margin:-1px!important;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.comparison-nav button{flex:none}
/* Hero bottom row: "Sunet activ" and "Descoperă" share one box height and bottom line. */
html body .hero .sound-toggle,html body .hero .scroll-cue{bottom:var(--hero-row-bottom,12px);height:44px;min-height:44px;display:inline-flex;align-items:center}
@media(min-width:701px){html body .hero{--hero-row-bottom:20px}}
/* FAQ and Locație form one band: half the rhythm on each side of the seam, the full rhythm at the band's ends. */
html body .faq{padding-bottom:calc(var(--space-section) / 2)}
html body .contact-continuum .location,html body .location{padding-top:calc(var(--space-section) / 2);padding-bottom:var(--space-section)}
/* Footer: logo and phone on top, then address, hours, legal links and the ANPC badge on one grid, then the
   company details. Hairlines separate the rows; every edge sits on the page gutter. */
html body footer.site-footer{display:block;padding-top:var(--space-section);color:var(--paper)}
/* Overlap the closing section by 1px: its edge can land between device pixels, which left a light hairline. */
html body footer.site-footer{margin-top:-1px;padding-top:calc(var(--space-section) + 1px)}
.site-footer p{margin:0;max-width:none}
.footer-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 24px;padding-bottom:32px;border-bottom:1px solid #f6f3ed1f}
.footer-social{display:flex;gap:10px}
/* Social tiles in the site's own shape: a square with the top-right corner cut, like the search and gallery buttons. */
.social-link{display:grid;place-items:center;width:52px;height:52px;background:#f6f3ed12;color:var(--paper);clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%);transition:background-color .25s,color .25s}
.social-link svg{width:22px;height:22px;fill:currentColor}
@media(hover:hover){.social-link:hover{background:var(--wine);color:var(--paper)}}
/* The corner cut would also cut a focus outline, so keyboard focus fills the tile instead. */
html body .site-footer .social-link:focus-visible{outline:0;background:var(--sand);color:var(--ink)}
.footer-logo{display:inline-block;line-height:0}.footer-logo .logo{width:150px;height:auto}
.footer-contact-col{display:grid;gap:10px;justify-items:start}
.footer-phone{display:inline-flex;align-items:center;min-height:40px;margin:-8px 0;color:var(--paper);font:600 17px/1.2 'IBM Plex Sans',sans-serif;font-variant-numeric:tabular-nums;text-decoration:underline;text-decoration-color:#f6f3ed59;text-underline-offset:5px;transition:text-decoration-color .25s}
@media(hover:hover){.footer-phone:hover{text-decoration-color:currentColor}}
.footer-grid{display:grid;align-items:start;gap:28px;padding:36px 0;border-bottom:1px solid #f6f3ed1f}
html body .site-footer .footer-address{font-size:16px;line-height:1.6;color:var(--paper);max-width:24ch}
.footer-hours{display:grid;gap:8px;margin:0;font-size:15px}
.footer-hours div{display:flex;justify-content:space-between;gap:24px;max-width:300px;padding-bottom:8px;border-bottom:1px dashed #f6f3ed24}
.footer-hours div:last-child{padding-bottom:0;border-bottom:0}
.footer-hours dt{color:var(--sand)}.footer-hours dd{margin:0;color:var(--paper);font-variant-numeric:tabular-nums}
.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:-10px 0;font-size:15px}
.footer-links a,.footer-links .cc-open{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0;border:0;background:none;color:var(--paper);font:inherit;text-decoration:none;cursor:pointer}
.footer-links a:after,.footer-links .cc-open:after{content:'';width:7px;height:7px;border-top:1.5px solid var(--sand);border-right:1.5px solid var(--sand);transform:rotate(45deg);transition:transform .25s}
@media(hover:hover){.footer-links a:hover,.footer-links .cc-open:hover{color:var(--sand)}.footer-links a:hover:after,.footer-links .cc-open:hover:after{transform:translateX(3px) rotate(45deg)}}
.footer-links .cc-open[hidden]{display:none}
.site-footer .anpc-sal{justify-self:start;align-self:start}
.footer-bottom{display:grid;gap:10px;padding-top:24px}
html body .site-footer .footer-legal{font-size:14px!important;color:var(--paper)}
html body .site-footer .footer-company{font-size:13px;line-height:1.6;color:var(--sand);max-width:min(72ch,calc(100% - 64px))}
.site-footer a:focus-visible,.site-footer button:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
@media(max-width:700px){
 .footer-logo .logo{width:132px}
}
@media(min-width:701px){
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 48px;padding:44px 0}
}
@media(min-width:1101px){.footer-grid{grid-template-columns:1fr 1fr 1fr auto}}
/* Oferte adăugate din panou: de la 3 în sus se așază singure, rânduri pline, ultimul rând centrat.
   Cu 1 sau 2 oferte rămâne grila de mai sus, neschimbată. 3, 5, 6 → câte 3 pe rând; 4 → 2 + 2; pe telefon una sub alta. */
@media(min-width:701px){
 .price-offers:has(>.offer-card:nth-child(3)){display:flex;flex-wrap:wrap;justify-content:center}
 .price-offers:has(>.offer-card:nth-child(3))>.offer-card{flex:0 0 calc((100% - 20px) / 2);min-width:0}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5))))>.offer-card{flex-basis:calc((100% - 40px) / 3)}
 /* Pe trei coloane cardul e mai îngust: ștampila prețului urcă în colț, textul stă dedesubt, pe toată lățimea. */
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5))))>.offer-card{grid-template-columns:1fr;min-height:300px;padding-top:150px}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-stamp{position:absolute;top:18px;right:18px;width:120px;height:120px}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-price{margin-top:32px!important}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-price strong{font-size:38px}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-content{max-width:none}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-card h3{font-size:clamp(22px,2vw,28px)}
}
@media(min-width:701px) and (max-width:1099px){
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5))))>.offer-card{padding-top:122px}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-stamp{top:14px;right:14px;width:96px;height:96px}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-price{margin-top:26px!important}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-price strong{font-size:30px}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-price s{font-size:12px}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-price span{font-size:13px}
 .price-offers:has(>.offer-card:nth-child(3)):not(:has(>.offer-card:nth-child(4)):not(:has(>.offer-card:nth-child(5)))) .offer-text{font-size:15px}
}
/* Safari 26 tints its toolbars from body's background when it has one, otherwise from the section at each edge,
   so body stays transparent and the page shows through the bars. Only the rubber-band area past the footer turns ink
   (app.js sets .page-end near the end). */
:root.page-end{background:var(--ink)}
/* Safari 26-27 tints its bars solid from the background-color of a fixed or sticky element at a screen edge, and ignores
   background images. Sticky sections paint their colour as a gradient, so the bars stay see-through over the whole page. */
.proof{background:linear-gradient(to bottom,transparent var(--sweep-height),var(--wine) var(--sweep-height)) border-box,linear-gradient(var(--wine),var(--wine)) content-box}
.mobile-dock{background:linear-gradient(var(--ink),var(--ink))}
/* Phones: Safari 26-27 fills its bottom bar with a solid colour while a sticky section reaches the screen edge. The
   reviews section and the detailing stage hold still with a scroll-linked transform instead (app.js measures the same
   start and length sticky would use), so the page keeps showing through the bar. Without that script they stay sticky. */
@supports (animation-timeline:scroll()){
  @media(max-width:1000px) and (min-height:601px){html.pin-scroll .proof{position:relative;top:auto;animation:pin-hold linear both;animation-timeline:scroll(root block);animation-range:var(--pin-start,0px) var(--pin-end,0px)}}
  @media(max-width:700px) and (min-height:601px){html.pin-scroll .detail-stage{position:relative;top:auto;animation:pin-hold linear both;animation-timeline:scroll(root block);animation-range:var(--pin-start,0px) var(--pin-end,0px)}}
}
@keyframes pin-hold{from{transform:none}to{transform:translateY(var(--pin-length,0px))}}
.site-footer .creator-credit{display:inline-flex;align-items:center;gap:8px;justify-self:start;min-height:44px;color:var(--paper);font-size:13px;text-decoration:none}
.site-footer .creator-credit>span{color:var(--sand)}
.site-footer .creator-credit img{display:block;width:24px;height:auto}
.site-footer .creator-credit strong{margin-left:-3px;font-family:'Archivo',sans-serif;font-size:18px;font-weight:600;letter-spacing:-.01em}
.site-footer .creator-credit:hover strong{text-decoration:underline;text-underline-offset:4px}

/* Promotion with two prices (Autoturism / SUV, typed with "/" in the panel): one row each, smaller photo so both fit. */
.promo-grid:has(.promo-card.has-tiers) .promo-media{aspect-ratio:2/1}
.promo-card .promo-price.has-tiers{display:grid;grid-template-columns:auto auto 1fr;align-items:baseline;column-gap:12px;row-gap:8px}
.promo-price.has-tiers .promo-tier-name{font:600 13px/1.2 'IBM Plex Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5f5752}
.promo-price.has-tiers strong{font-size:30px}
.promo-price.has-tiers s{justify-self:start;font-size:18px}
.promo-price.has-tiers s:empty{display:none}
.promo-card.has-deal .promo-price.has-tiers .promo-save{grid-column:1/-1;margin-top:4px}
