/* style.css - W-Shipping exact match style */

:root {
    --theme-color: #e3000f; /* Exact red used in W-Shipping */
    --theme-hover: #c4000c;
    --dark-bg: #222222;
    --text-dark: #333333;
}

body {
    font-family: 'El Messiri', Tahoma, Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
}

.text-theme {
    color: var(--theme-color) !important;
}

.bg-theme {
    background-color: var(--theme-color) !important;
}

.btn-theme {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: white;
    border-radius: 0;
}

.btn-theme:hover {
    background-color: var(--theme-hover);
    border-color: var(--theme-hover);
    color: white;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-bg);
    color: #999;
    font-size: 13px;
    height: 50px;
}

.top-link:hover {
    color: var(--theme-color) !important;
    transition: 0.3s;
}

/* Navbar */
.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--theme-color);
}

.navbar-nav .nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    padding: 30px 15px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--theme-color);
}

.search-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.slider-arrow:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.slider-arrow-left {
    left: 30px; /* Right for RTL if we want, but let's keep visual L/R */
}

.slider-arrow-right {
    right: 30px;
}

/* Services Playing Cards Deck */
.services-deck-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.service-playing-card {
    border-radius: 12px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    cursor: pointer;

}

/* RTL / LTR start positions for the deck */
/* Desktop */
@media (min-width: 992px) {
    .service-playing-card:nth-child(4n+1) { --start-x: -150%; --start-y: 50px; --start-r: -15deg; }
    .service-playing-card:nth-child(4n+2) { --start-x: -50%;  --start-y: 20px; --start-r: -5deg; }
    .service-playing-card:nth-child(4n+3) { --start-x: 50%;   --start-y: 20px; --start-r: 5deg; }
    .service-playing-card:nth-child(4n+4) { --start-x: 150%;  --start-y: 50px; --start-r: 15deg; }
    
    [dir="ltr"] .service-playing-card:nth-child(4n+1) { --start-x: 150%; }
    [dir="ltr"] .service-playing-card:nth-child(4n+2) { --start-x: 50%; }
    [dir="ltr"] .service-playing-card:nth-child(4n+3) { --start-x: -50%; }
    [dir="ltr"] .service-playing-card:nth-child(4n+4) { --start-x: -150%; }
}
/* Tablet */
@media (max-width: 991px) {
    .services-deck-container { grid-template-columns: repeat(2, 1fr); }
    .service-playing-card:nth-child(odd) { --start-x: -50%; --start-y: 50px; --start-r: -10deg; }
    .service-playing-card:nth-child(even) { --start-x: 50%; --start-y: 50px; --start-r: 10deg; }
    
    [dir="ltr"] .service-playing-card:nth-child(odd) { --start-x: 50%; }
    [dir="ltr"] .service-playing-card:nth-child(even) { --start-x: -50%; }
}
/* Mobile */
@media (max-width: 575px) {
    .services-deck-container { grid-template-columns: 1fr; }
    .service-playing-card { --start-x: 0; --start-y: 100px; --start-r: 0deg; }
}

.service-playing-card .card-inner {
    border-radius: 8px;
    overflow: hidden;
}
.service-playing-card .card-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.service-playing-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-playing-card:hover img {
    transform: scale(1.08);
}

.service-playing-card .card-number {
    position: absolute;
    top: 15px;
    inset-inline-start: 15px;
    background: rgba(255,255,255,0.9);
    color: var(--theme-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-playing-card .card-content {
    padding: 25px 10px 10px;
    text-align: start;
}

.service-playing-card .card-content h5 {
    font-size: 16px;
    letter-spacing: 0.5px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}
.read-more-link:hover {
    color: var(--theme-hover);
    gap: 12px;
}
/* Flip arrows in LTR for read-more-link */
[dir="ltr"] .read-more-link i {
    transform: scaleX(-1);
}

/* CTA Section */
.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(168, 25, 34, 0.85); /* Darkish red overlay */
}

/* Why Choose Us Timeline */
.title-line {
    width: 40px;
    height: 2px;
    background-color: var(--theme-color);
}

.why-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 25px; /* Right instead of left for RTL */
    width: 2px;
    background-color: var(--theme-color);
    z-index: 1;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

/* Service Process */
.process-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-wrapper::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--theme-color);
    z-index: 1;
}

.process-circle {
    width: 120px;
    height: 120px;
    border: 2px solid var(--theme-color);
}

.process-number {
    position: absolute;
    top: 0;
    right: 0; /* Top right in RTL = Top left in LTR visually */
    width: 35px;
    height: 35px;
    font-size: 18px;
    transform: translate(20%, -20%);
}

/* Quote Section */
.quote-form-bg {
    background: rgba(227, 0, 15, 0.9);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%); /* Diagonal cut for RTL */
}

@media (max-width: 991px) {
    .quote-form-bg {
        clip-path: none;
    }
}

/* Counters Section */
.counter-box {
    margin-top: 25px; /* space for the top icon */
    border: 1px solid #eee;
}

.counter-icon {
    top: -30px;
    width: 70px;
    height: 60px;
}

/* News & Testimonials */
.title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* right for RTL */
    width: 40px;
    height: 2px;
    background-color: var(--theme-color);
}

.news-item {
    transition: 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-date {
    border-right: 4px solid var(--theme-color); /* To make it look like a distinct block */
}

.testimonial-box {
    overflow: hidden;
    background-color: var(--theme-color);
}

.scroll-top {
    transition: 0.3s;
    opacity: 0.8;
}

.scroll-top:hover {
    opacity: 1;
    background-color: var(--theme-color) !important;
}

/* Footer & Top Bar Adjustments */
.footer-link-item {
    transition: 0.3s;
}
.footer-link-item:hover {
    color: var(--theme-color) !important;
    padding-right: 5px; /* right for RTL */
}
.social-icon {
    transition: 0.3s;
}
.social-icon:hover {
    background-color: var(--theme-color) !important;
}
.top-bar-divider {
    font-size: 11px;
    opacity: 0.5;
}
.top-bar-item {
    font-size: 12px;
}

/* Custom FAQ Accordion */
.custom-accordion .accordion-item {
    background-color: transparent;
}
.custom-accordion .accordion-button {
    box-shadow: none !important;
    transition: 0.3s;
    font-size: 15px;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--theme-color) !important;
    color: white !important;
}
.custom-accordion .accordion-button::after {
    margin-inline-start: auto;
    margin-inline-end: 0;
}
.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* ============================================================
   winchafshcairo additions (same theme, content sections)
   ============================================================ */
.ico { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }
.top-bar-item .ico { color: var(--theme-color); margin-left: 6px; }
a { color: var(--theme-color); }
.navbar-brand .text-theme { line-height: 1.2; }

/* Hero: content + image column (no background image) */
.hero-overlay { background: linear-gradient(135deg, rgba(34,34,34,0.96), rgba(168,25,34,0.85)); }
.hero-title { font-size: 2rem; line-height: 1.45; }
.sub-lead { font-size: 1.05rem; line-height: 1.9; color: #f1f1f1; }
.sub-lead a, .hero-points a { color: #fff; text-decoration: underline; }
.hero-points li { background: rgba(255,255,255,0.08); border-right: 4px solid var(--theme-color); padding: 10px 14px; margin-bottom: 10px; font-weight: 600; font-size: 0.97rem; }
.hero-media { aspect-ratio: 4 / 3; }
.hero-img { width: 100%; height: auto; }
@media (min-width: 992px) { .hero-title { font-size: 2.4rem; } }

/* Work photos: 3 cards, no hover text */
.photos-deck { grid-template-columns: repeat(3, 1fr); }
.photos-deck .service-playing-card img { height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 991px) { .photos-deck { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .photos-deck { grid-template-columns: 1fr; } }
.service-playing-card img { aspect-ratio: 4 / 3; }
a.service-playing-card { display: block; color: inherit; }

/* Why choose us */
.why-img { min-height: 260px; }
.timeline-item h3 { line-height: 1.6; }

/* What makes us different (counters look) */
.counters-section { background-color: #1a1a1a; }
.counter-box h3 { line-height: 1.6; }

/* Steps */
.process-step-num { font-size: 2rem; }
.process-circle { display: flex; }

/* FAQ accordion with native details */
.custom-accordion details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; width: 100%; padding: 1rem 1.25rem; }
.custom-accordion details > summary::-webkit-details-marker { display: none; }
.custom-accordion details > summary::after { content: '+'; margin-inline-start: auto; padding-inline-start: 12px; font-size: 1.3rem; line-height: 1; }
.custom-accordion details[open] > summary { background-color: var(--theme-color) !important; color: #fff !important; }
.custom-accordion details[open] > summary::after { content: '−'; }
.custom-accordion .faq-q { font-size: 15px; font-weight: 700; line-height: 1.7; color: inherit; }
.custom-accordion .accordion-body { padding: 1rem 1.25rem; }

/* CTA without background photo */
.cta-section { background-color: #a81922; }
.cta-text { max-width: 720px; margin: 0 auto; line-height: 1.9; }
.cta-section a:not(.btn) { color: #fff; }
.btn-cta { min-height: 48px; display: inline-flex; align-items: center; }

/* Footer (was inline styles) */
.footer-section { background-color: #1a1a1a; color: #999999; }
.footer-section .text-muted { color: #b5b5b5 !important; }
.site-logo { height: 48px; width: auto; aspect-ratio: 201 / 170; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.footer-section .site-logo { height: 42px; background: #fff; }
.footer-brand-2 { color: #d0d0d0; }
.footer-title { font-size: 1rem; }
.footer-links li a, .footer-links li span { display: inline-block; padding: 4px 0; }
.bottom-bar { background-color: #111111; }
.scroll-top { width: 44px; height: 44px; bottom: 20px; right: 20px; z-index: 999; text-decoration: none; }

/* Fixed pages */
.fixed-page { max-width: 820px; }
.fixed-page p { line-height: 2; }

/* Blog (same theme) */
.blog-wrap { max-width: 860px; }
.blog-crumbs a { color: var(--text-dark); text-decoration: none; }
.blog-crumbs a:hover { color: var(--theme-color); }
.blog-title { font-size: 1.9rem; line-height: 1.5; }
.blog-hero img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.blog-toc { background: #f5f5f5; border-right: 4px solid var(--theme-color); padding: 16px 20px; }
.blog-toc ol { margin: 0; padding-right: 20px; }
.blog-toc li { padding: 3px 0; }
.blog-toc a { color: var(--text-dark); text-decoration: none; }
.blog-toc a:hover { color: var(--theme-color); }
.blog-sec { margin-bottom: 2.5rem; scroll-margin-top: 90px; }
.blog-sec h2 { font-size: 1.45rem; line-height: 1.6; margin-bottom: 1rem; padding-bottom: 8px; position: relative; scroll-margin-top: 90px; }
.blog-sec h2::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 2px; background-color: var(--theme-color); }
.blog-sec p, .blog-list li { line-height: 2; color: #444; }
.blog-list { padding-right: 22px; margin-bottom: 1rem; }
.blog-list li { margin-bottom: 6px; }
.blog-table th { background-color: var(--theme-color); color: #fff; font-weight: 700; }
.blog-table td, .blog-table th { padding: 10px 12px; vertical-align: top; line-height: 1.8; }
.blog-final { background: #fff5f5; border: 1px solid #f3c6c9; padding: 20px; border-radius: 6px; }
.blog-intro { max-width: 720px; line-height: 2; }
@media (min-width: 992px) { .blog-title { font-size: 2.3rem; } }

/* Service cards on the home page without photos */
.service-playing-card .card-no-img { padding: 15px 15px 0; }
.service-playing-card .card-no-img .card-number { position: static; background: var(--theme-color); color: #fff; }
/* Home work photos: two larger cards, centred */
@media (min-width: 768px) {
    .services-deck-container.photos-deck { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
    .photos-deck .service-playing-card img { height: 300px; }
}

/* =====================================================================
   Motion system
   Every duration, easing, distance and delay comes from these tokens.
   Hidden states exist only under html.js + no-preference, so content stays
   visible without JS, if the script fails (head timer drops .js), or with
   reduced motion. Motion uses transform / opacity only.
   ===================================================================== */
:root {
    --m-fast: 180ms;
    --m-base: 420ms;
    --m-slow: 800ms;
    --m-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --m-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
    --m-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --m-rise: 28px;
    --m-stagger: 70ms;
    --m-word: 55ms;
    --m-drift: 22s;
    --m-float: 14s;
}

html { scroll-behavior: smooth; }
main section[id], main[id="top"], main h2[id] { scroll-margin-top: 90px; }

/* --- Scroll progress bar (scroll-driven; JS fallback sets --p) --- */
.scroll-progress {
    position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1100;
    background: var(--theme-color);
    transform-origin: right center;
    transform: scaleX(var(--p, 0));
    pointer-events: none;
}
[dir="ltr"] .scroll-progress { transform-origin: left center; }
@supports (animation-timeline: scroll()) {
    .scroll-progress { animation: m-progress linear both; animation-timeline: scroll(root block); }
}
@keyframes m-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- Header shrinks with transform on scroll (its height stays: no CLS) --- */
.navbar { transition: box-shadow var(--m-base) var(--m-ease); }
.navbar .navbar-brand { transition: transform var(--m-base) var(--m-ease); transform-origin: right center; }
.navbar.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.08) !important; }
.navbar.is-scrolled .navbar-brand { transform: scale(0.88); }

@media (prefers-reduced-motion: no-preference) {
    /* --- Reveal on scroll (IntersectionObserver adds .is-in once) --- */
    html.js .rv {
        opacity: 0;
        transform: translate3d(0, var(--m-rise), 0) scale(0.98);
        transition: opacity var(--m-slow) var(--m-ease) var(--delay, 0s), transform var(--m-slow) var(--m-ease) var(--delay, 0s);
    }
    html.js .rv.is-in { opacity: 1; transform: none; }

    /* Deck cards keep their fanned start positions */
    html.js .service-playing-card.rv {
        transform: translate(var(--start-x, 0), var(--start-y, 0)) rotate(var(--start-r, 0)) scale(0.8);
        transition: transform 1s var(--m-ease) var(--delay, 0s), opacity var(--m-slow) ease-out var(--delay, 0s), box-shadow var(--m-base) ease;
    }
    html.js .service-playing-card.rv.is-in { transform: none; }

    /* --- Text reveal: words slide up one after another --- */
    html.js .split .w {
        display: inline-block;
        opacity: 0;
        transform: translate3d(0, 0.45em, 0);
        transition: opacity var(--m-base) var(--m-ease), transform var(--m-base) var(--m-ease);
        transition-delay: calc(var(--delay, 0s) + var(--i) * var(--m-word));
    }
    html.js .split.is-in .w { opacity: 1; transform: none; }
    /* H1 plays on load with CSS only */
    html.js h1.split .w { animation: m-word var(--m-slow) var(--m-ease) both; animation-delay: calc(120ms + var(--i) * var(--m-word)); transition: none; }
    @keyframes m-word { from { opacity: 0; transform: translate3d(0, 0.5em, 0); } to { opacity: 1; transform: none; } }

    /* Hero: lead text and points enter on load; the image only settles (no opacity, keeps LCP) */
    html.js .hero-section .sub-lead { animation: m-up var(--m-slow) var(--m-ease) 350ms both; }
    html.js .hero-points li { animation: m-up var(--m-slow) var(--m-ease) both; animation-delay: calc(450ms + var(--n, 0) * var(--m-stagger)); }
    html.js .hero-media, html.js .blog-hero { animation: m-settle 1.1s var(--m-ease) both; }
    @keyframes m-up { from { opacity: 0; transform: translate3d(0, var(--m-rise), 0); } to { opacity: 1; transform: none; } }
    @keyframes m-settle { from { transform: scale(1.04); } to { transform: none; } }

    /* --- Scroll-driven: photos drift while they pass through the viewport --- */
    @supports (animation-timeline: view()) {
        .why-img, .photos-deck .card-image-wrapper img, .about-media img {
            animation: m-drift linear both;
            animation-timeline: view();
            animation-range: cover 0% cover 100%;
        }
        @keyframes m-drift { from { transform: scale(1.1) translate3d(0, 14px, 0); } to { transform: scale(1.1) translate3d(0, -14px, 0); } }
    }

    /* --- Living backgrounds: slow dots + gradient orb (transform only, no blur) --- */
    .hero-section, .cta-section, .page-hero { isolation: isolate; overflow: hidden; }
    .hero-section::before, .cta-section::before, .page-hero::before {
        content: ""; position: absolute; inset: -40px; z-index: 2; pointer-events: none;
        background-image: radial-gradient(rgba(255,255,255,0.13) 1.2px, transparent 1.6px);
        background-size: 26px 26px;
        animation: m-dots var(--m-drift) linear infinite;
    }
    .hero-section::after, .cta-section::after, .page-hero::after {
        content: ""; position: absolute; z-index: 2; pointer-events: none;
        width: 520px; height: 520px; top: -180px; left: -160px; border-radius: 50%;
        background: radial-gradient(circle, rgba(227,0,15,0.38) 0%, rgba(227,0,15,0) 65%);
        animation: m-orb var(--m-float) var(--m-ease-io) infinite alternate;
    }
    @keyframes m-dots { to { transform: translate3d(26px, 26px, 0); } }
    @keyframes m-orb { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(120px, 90px, 0) scale(1.15); } }
    .is-offscreen::before, .is-offscreen::after { animation-play-state: paused; }
}
/* Layers: overlay 1, animated background 2, content 3 */
.hero-overlay, .cta-overlay { z-index: 1; }
.hero-section > .container, .cta-section > .container, .page-hero > .container { z-index: 3 !important; }
.hero-points li:nth-child(2) { --n: 1; } .hero-points li:nth-child(3) { --n: 2; } .hero-points li:nth-child(4) { --n: 3; } .hero-points li:nth-child(5) { --n: 4; } .hero-points li:nth-child(6) { --n: 5; }

/* Continuous animation stops while the tab is hidden */
html.is-paused *, html.is-paused *::before, html.is-paused *::after { animation-play-state: paused !important; }

/* --- Micro-interactions --- */
.btn { position: relative; overflow: hidden; transition: transform var(--m-fast) var(--m-ease), background-color var(--m-fast) ease, box-shadow var(--m-base) var(--m-ease); }
.btn::after { /* shine */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
    transform: translateX(-120%);
}
.btn:hover::after { transform: translateX(120%); transition: transform 700ms var(--m-ease); }
.btn:hover { box-shadow: 0 10px 24px rgba(227,0,15,0.28); }
.btn.is-magnetic { transform: translate(var(--bx, 0px), var(--by, 0px)); }
.btn:active { transform: translate(var(--bx, 0px), var(--by, 0px)) scale(0.97); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid rgba(227,0,15,0.45); outline-offset: 3px; }

/* Underline that draws itself */
.navbar-nav .nav-link { position: relative; }
.navbar-nav .nav-link::after {
    content: ""; position: absolute; inset-inline: 0.5rem; bottom: 4px; height: 2px;
    background: var(--theme-color); transform: scaleX(0); transform-origin: right;
    transition: transform var(--m-base) var(--m-ease);
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
main p a, main li a, .footer-link-item {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat; background-position: 100% 100%; background-size: 0% 1px;
    transition: background-size var(--m-base) var(--m-ease), color var(--m-fast) ease;
}
main p a:hover, main li a:hover, .footer-link-item:hover { background-size: 100% 1px; }

/* Spotlight that follows the pointer */
.service-playing-card, .counter-box, .accordion-item, .info-card { position: relative; }
.service-playing-card::before, .counter-box::before, .accordion-item::before, .info-card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(227,0,15,0.09), transparent 70%);
    opacity: 0; transition: opacity var(--m-base) ease;
}
.service-playing-card:hover::before, .counter-box:hover::before, .accordion-item:hover::before, .info-card:hover::before { opacity: 1; }
@media (hover: hover) {
    .service-playing-card.is-in:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.1); z-index: 2; transition-delay: 0s; }
    .counter-box, .info-card { transition: transform var(--m-base) var(--m-ease), box-shadow var(--m-base) var(--m-ease), opacity var(--m-slow) var(--m-ease); }
    .counter-box.is-in:hover, .info-card.is-in:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,0.1) !important; transition-delay: 0s; }
}

/* Icons that move */
.read-more-link .ico { transition: transform var(--m-base) var(--m-spring); }
.service-playing-card:hover .read-more-link .ico { transform: translateX(-6px); }
.timeline-icon, .process-number, .info-icon { transition: transform var(--m-base) var(--m-spring); }
.timeline-item:hover .timeline-icon, .process-circle:hover .process-number, .info-card:hover .info-icon { transform: scale(1.15) rotate(-8deg); }
.scroll-top { transition: transform var(--m-base) var(--m-spring); }
.scroll-top:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* ===== About / Contact pages ===== */
.page-hero { background: linear-gradient(135deg, #222 0%, #3a1114 55%, #a81922 100%); padding: 40px 0 30px; }
.page-hero > .container { position: relative; }
.page-crumbs { display: flex; gap: 8px; color: rgba(255,255,255,0.7); }
.page-crumbs a { color: #fff; text-decoration: none; }
.page-crumbs a:hover { color: #ffb3b8; }
.page-lead { max-width: 640px; font-size: 1.05rem; line-height: 1.9; color: rgba(255,255,255,0.88); }
@media (prefers-reduced-motion: no-preference) {
    html.js .page-hero .page-lead, html.js .page-hero .page-crumbs { animation: m-up var(--m-slow) var(--m-ease) 300ms both; }
}

.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--theme-color); background: rgba(227,0,15,0.08); padding: 4px 12px; border-radius: 999px; }
.eyebrow-light { color: #fff; background: rgba(255,255,255,0.14); }

.about-media { aspect-ratio: 4 / 3; }
.about-media img { height: 100%; object-fit: cover; }

.info-card { border: 1px solid #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.04); overflow: hidden; }
.info-card > * { position: relative; z-index: 2; }
.info-card:hover h3 { color: var(--theme-color) !important; }
.info-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--theme-color); color: #fff; }
.info-icon .ico { width: 26px; height: 26px; fill: currentColor; }

.area-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid #e3e3e3; background: #fff; color: var(--text-dark); font-weight: 600; text-decoration: none; background-image: none !important; transition: transform var(--m-base) var(--m-spring), background-color var(--m-fast) ease, color var(--m-fast) ease, border-color var(--m-fast) ease; }
.area-chip .ico { width: 16px; height: 16px; fill: var(--theme-color); transition: fill var(--m-fast) ease; }
.area-chip:hover { background: var(--theme-color); border-color: var(--theme-color); color: #fff; transform: translateY(-3px); }
.area-chip:hover .ico { fill: #fff; }

.contact-card { background: linear-gradient(160deg, #2a2a2a 0%, #a81922 100%); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 260px; height: 260px; bottom: -110px; left: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%); pointer-events: none; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.contact-list .ico { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
.contact-note { color: rgba(255,255,255,0.75); }

.prep-item { gap: 16px; padding: 16px; margin-bottom: 12px; border-radius: 12px; background: #fafafa; border: 1px solid #eee; transition: border-color var(--m-fast) ease, background-color var(--m-fast) ease, opacity var(--m-slow) var(--m-ease), transform var(--m-slow) var(--m-ease); }
.prep-item:hover { border-color: rgba(227,0,15,0.35); background: #fff; }
.prep-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: rgba(227,0,15,0.1); transition: transform var(--m-base) var(--m-spring), background-color var(--m-fast) ease; }
.prep-num .ico { width: 22px; height: 22px; fill: var(--theme-color); transition: fill var(--m-fast) ease; }
.prep-item:hover .prep-num { transform: scale(1.12) rotate(-8deg); background: var(--theme-color); }
.prep-item:hover .prep-num .ico { fill: #fff; }

/* FAQ (native details): closed = white with dark text, open = red with white text.
   Overrides Bootstrap's .accordion-button:not(.collapsed) and its chevron image. */
.custom-accordion .accordion-item > summary.accordion-button:not(.collapsed) { background-color: #fff !important; color: var(--text-dark) !important; }
.custom-accordion .accordion-item[open] > summary.accordion-button:not(.collapsed) { background-color: var(--theme-color) !important; color: #fff !important; }
.custom-accordion details > summary .faq-q { color: inherit !important; }
.custom-accordion .accordion-item > summary.accordion-button:not(.collapsed)::after { background-image: none !important; filter: none !important; transform: none !important; width: auto; height: auto; content: '+'; font-size: 1.4rem; line-height: 1; color: var(--theme-color); }
.custom-accordion .accordion-item[open] > summary.accordion-button:not(.collapsed)::after { content: '−'; color: #fff; }
.custom-accordion .accordion-item > summary.accordion-button:not(.collapsed):hover .faq-q { color: var(--theme-color) !important; }
.custom-accordion .accordion-item[open] > summary.accordion-button:not(.collapsed):hover .faq-q { color: #fff !important; }

/* Home hero: full-width photo behind the text (old template style) */
.hero-full { min-height: 640px; }
.hero-full .hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-full .hero-overlay-full { z-index: 1; background: linear-gradient(270deg, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.78) 45%, rgba(120,10,18,0.35) 100%); }
.hero-full::before, .hero-full::after { display: none !important; }
.hero-points-grid { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 992px) { .hero-points-grid { grid-template-columns: 1fr 1fr; } .hero-points-grid li { margin-bottom: 10px; font-size: 0.9rem; } }
@media (max-width: 991px) { .hero-full .hero-overlay-full { background: rgba(20,20,20,0.8); } }
@media (prefers-reduced-motion: no-preference) {
    html.js .hero-full .hero-bg-img { animation: m-settle 1.6s var(--m-ease) both; }
}

/* LCP-safe hero entrance: the H1, lead and points are the largest elements on a phone, so they
   only slide into place (transform) and are visible from the first paint (no opacity fade). */
@media (prefers-reduced-motion: no-preference) {
    @keyframes m-rise { from { transform: translate3d(0, 0.5em, 0); } to { transform: none; } }
    @keyframes m-rise-sm { from { transform: translate3d(0, 16px, 0); } to { transform: none; } }
    html.js h1.split .w { opacity: 1; animation-name: m-rise; }
    html.js .hero-section .sub-lead, html.js .hero-points li,
    html.js .page-hero .page-lead, html.js .page-hero .page-crumbs { animation-name: m-rise-sm; }
}

/* ===== Call + WhatsApp ===== */
.btn-call, .btn-wa { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; color: #fff; border: 0; }
.btn-call { background-color: var(--theme-color); }
.btn-call:hover, .btn-call:focus-visible { background-color: var(--theme-hover); color: #fff; }
.btn-wa { background-color: #1f8f4e; }
.btn-wa:hover, .btn-wa:focus-visible { background-color: #187a42; color: #fff; box-shadow: 0 10px 24px rgba(31,143,78,0.3); }
.btn-call .ico, .btn-wa .ico { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.hero-section .btn-call { background-color: #fff; color: var(--theme-color); }
.hero-section .btn-call:hover { background-color: #ffe9ea; color: var(--theme-hover); }
.cta-section .btn-call { background-color: #fff; color: var(--theme-color); }
.contact-card .btn-call { background-color: #fff; color: var(--theme-color); }

/* Floating buttons: fixed, so they never move the page (no CLS) */
.float-contact { position: fixed; left: 16px; bottom: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.2); transition: transform var(--m-base) var(--m-spring); }
.float-btn .ico { width: 26px; height: 26px; fill: currentColor; }
.float-btn:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.float-wa { background-color: #1f8f4e; }
.float-call { background-color: var(--theme-color); }
@media (prefers-reduced-motion: no-preference) {
    .float-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31,143,78,0.5); animation: m-ping 2.6s var(--m-ease) infinite; pointer-events: none; }
    .float-wa { position: relative; }
    @keyframes m-ping { 0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(31,143,78,0.5); } 80%, 100% { transform: scale(1.5); opacity: 0; box-shadow: 0 0 0 6px rgba(31,143,78,0); } }
}
.footer-section .ico { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; }
