/* ==========================================================================
   SEREN – rtl.css
   Right-to-left overrides. Most of the layout uses logical properties
   (inset-inline, margin-inline, padding-inline) so it flips automatically;
   only the few direction-specific details are handled here.
   The <html> element gets dir="rtl" from index.js.
   ========================================================================== */

/* Arrow-style icons must point the other way in RTL */
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* Footer links nudge towards the reading direction on hover */
html[dir="rtl"] .footer-links a:hover { transform: translateX(-4px); }

/* Keep the Latin wordmark letter-spaced and left-to-right inside it */
html[dir="rtl"] .brand-name { direction: ltr; unicode-bidi: isolate; }

/* Phone numbers, emails and form inputs stay readable left-to-right */
html[dir="rtl"] .contact-list a[href^="tel:"],
html[dir="rtl"] .contact-list a[href^="mailto:"],
html[dir="rtl"] .newsletter-form input { direction: ltr; }

/* Email field text aligns to the right edge in RTL */
html[dir="rtl"] .newsletter-form input { text-align: right; }

/* Services hero: mirror the photos so the cleaning action stays on the side away from the content panel */
html[dir="rtl"] .svc-slides { transform: scaleX(-1); }

/* Section 2: the link arrow slides towards the reading direction (the icon itself is flipped by .flip-rtl) */
html[dir="rtl"] .mite-link:hover .arrow { transform: translateX(-4px); }

/* Section 4: the scrolling band moves the other way (the keyframes read --san-dir) */
html[dir="rtl"] .san-track { --san-dir: -1; }

/* Section 4: the step counter keeps "01 / 05" in reading order inside right-to-left text */
html[dir="rtl"] .san-count { direction: ltr; unicode-bidi: isolate; }

/* Section 5: the fresh photo is revealed from the RIGHT edge (the start side in RTL) */
html[dir="rtl"] .fresh-layer--fresh { clip-path: inset(0 0 0 calc(100% - var(--p))); }

/* Section 5: the slider track fills from the right, matching the reversed range input */
html[dir="rtl"] .fresh-rail { background: linear-gradient(to left, var(--accent) var(--p), var(--border) var(--p)); }

/* Section 5: the percentage keeps its "%" on the correct side inside right-to-left text */
html[dir="rtl"] .fresh-val { direction: ltr; unicode-bidi: isolate; }

/* Section 5: the hover line grows from the right edge */
html[dir="rtl"] .fresh-note::after { transform-origin: right; }


/* Section 6: the "swipe" hint arrow nudges towards the reading direction (the icon itself is flipped by .flip-rtl) */
html[dir="rtl"] .proc { --proc-dir: -1; }

/* Section 6: the previous button points to the start side, which is on the right in RTL */
html[dir="rtl"] .proc-prev .icon { transform: none; }

/* Section 6: step numbers stay in reading order inside right-to-left text */
html[dir="rtl"] .proc-num,
html[dir="rtl"] .proc-pill { direction: ltr; unicode-bidi: isolate; }

/* Pricing banner: the stitches march towards the reading direction */
html[dir="rtl"] .price-hero { --price-dir: -1; }

/* Pricing banner: the stitch gradient and the "From" prices keep their order in right-to-left text */
html[dir="rtl"] .price-stitch { background: repeating-linear-gradient(to left, var(--secondary) 0 8px, transparent 8px 16px); }
html[dir="rtl"] .price-from b,
html[dir="rtl"] .price-dim { direction: ltr; unicode-bidi: isolate; }

/* Pricing Section 2: prices keep their "From" + number order in right-to-left text */
html[dir="rtl"] .pk-price b { direction: ltr; unicode-bidi: isolate; }

/* Contact hero: phone numbers & technical specs keep their order in right-to-left text */
html[dir="rtl"] .contact-channel-val,
html[dir="rtl"] .contact-spec-title { direction: ltr; unicode-bidi: isolate; }

/* Booking form: prices and calculations keep LTR order in right-to-left text */
html[dir="rtl"] .book-total-amount,
html[dir="rtl"] .book-size-price,
html[dir="rtl"] .book-treat-price,
html[dir="rtl"] .book-sum-val { direction: ltr; unicode-bidi: isolate; }

/* Coverage section: zone badges keep reading order in RTL */
html[dir="rtl"] .cov-zone-badge,
html[dir="rtl"] .cov-sla-tag { direction: ltr; unicode-bidi: isolate; }

/* Section 3: the stain ticker runs the other way (it starts at the right edge in RTL) */
@keyframes stainMarqueeRtl { to { transform: translateX(50%); } }
html[dir="rtl"] .stain-track { animation-name: stainMarqueeRtl; }

/* About banner: the window inflates from the right (its end side in RTL is the left), stitches march the other way */
html[dir="rtl"] .about-hero { --about-origin: 0% 50%; --about-dir: -1; }
html[dir="rtl"] .about-stitch { background: repeating-linear-gradient(to left, var(--accent) 0 10px, transparent 10px 18px); }
@media (max-width: 999px) { html[dir="rtl"] .about-hero { --about-origin: 50% 0%; } }

/* About banner: numbers like 4.9/5 and 3,200+ keep their order in right-to-left text */
html[dir="rtl"] .about-stats b { direction: ltr; unicode-bidi: isolate; text-align: right; }

/* Home 1 banner: mirror the photo so the cleaning scene stays on the side away from the panel (the panel moves to the left in RTL) */
html[dir="rtl"] .home-bg { transform: scaleX(-1); }

/* Home 1 banner: numbers such as "+3,200" keep their reading order inside right-to-left text */
html[dir="rtl"] .home-stats b { direction: ltr; unicode-bidi: isolate; }

/* Home 1 Section 2: mirror the cross-section so the marker column moves to the start side (the markers use logical positions) */
html[dir="rtl"] .hid-svg { transform: scaleX(-1); }

/* Home 2 banner: mirror the photo so the cleaning scene stays on the side away from the panel (the panel moves to the right in RTL) */
html[dir="rtl"] .h2-bg { transform: scaleX(-1); }

/* Home 2 banner: prices such as "₹1,199" keep their reading order inside right-to-left text */
html[dir="rtl"] .h2-quote b { direction: ltr; unicode-bidi: isolate; }

/* Home 2 banner: sizes such as "4.5 x 6 ft" keep their reading order in right-to-left text */
html[dir="rtl"] .h2-chip small,
html[dir="rtl"] .h2-dim { direction: ltr; unicode-bidi: isolate; }

/* Home 2 section 2: the counter "+15" keeps its reading order in right-to-left text */
html[dir="rtl"] .hc-more { direction: ltr; unicode-bidi: isolate; }

/* Home 2 section 3: the lower cards slide in from opposite sides - the direction flips in right-to-left */
html[dir="rtl"][class] .tx-sec.is-in .tx-card:first-child { --from: 64px; }
html[dir="rtl"][class] .tx-sec.is-in .tx-card:last-child { --from: -64px; }

/* Home 2 section 3: prices such as "From 999" keep their reading order */
html[dir="rtl"] .tx-price b { direction: ltr; unicode-bidi: isolate; }

/* Home 2 section 4: the two split panels move apart in the reading direction - the sign flips in right-to-left */
html[dir="rtl"] .ct-sec { --dir: -1; }

/* Home 2 section 4: numbers such as "99.97%" and "0.3 µm" keep their reading order */
html[dir="rtl"] .ct-stat-tx b { direction: ltr; unicode-bidi: isolate; text-align: start; }

/* Home 2 section 5: cards fly in from the reading side - the horizontal direction flips in right-to-left */
html[dir="rtl"] .lf-sec { --dir: -1; }

/* About page section 2 (Our Brand Story): flip split-panel direction and keep percentage reading order */
html[dir="rtl"] .story-sec { --dir: -1; }
html[dir="rtl"] .story-metric { direction: ltr; unicode-bidi: isolate; }

/* About page section 3 (Mission, Vision & Values): flip split-panel and card entry directions */
html[dir="rtl"] .mv-sec { --dir: -1; }

/* About page section 4 (Our Cleaning Expertise): flip card entry directions */
html[dir="rtl"] .exp-sec { --dir: -1; }

/* About page section 5 (Our Team & Professional Standards): flip card entry directions */
html[dir="rtl"] .team-sec { --dir: -1; }

/* About page section 6 (Why Customers Choose Us): flip card entry directions */
html[dir="rtl"] .why-sec { --dir: -1; }
/* Pricing Section 3: the price tag hangs from its hole, which sits on the RIGHT in RTL; the arrow points left and nudges left */
html[dir="rtl"] .szr-tag { transform-origin: calc(100% - 28px) 50%; }
html[dir="rtl"] .szr-tag-arrow { transform: scaleX(-1); }
html[dir="rtl"] .szr-tag:hover .szr-tag-arrow,
html[dir="rtl"] .szr-tag:focus-visible .szr-tag-arrow { translate: -5px 0; }