/* ========================================
   webmaintor— Clean Google-Style CSS
   REBUILT: No conflicts, no hacks
   ======================================== */

/* ===== ASTRA RESET ===== */
.ast-above-header-wrap,.ast-below-header-wrap,.ast-main-header-wrap,
#ast-desktop-header,#ast-mobile-header,.ast-desktop-header-content,
.site-header,.ast-footer-overlay,.ast-small-footer,.site-footer,
.ast-footer-copyright,#colophon,.site-below-footer-wrap,
.ast-above-footer,.ast-footer-above-wrap,
.ast-header-break-point .site-header,
header.site-header,.ast-archive-description,
.entry-header,.page-header,.ast-breadcrumbs-wrapper{display:none!important}

.ast-container,#content.site-content,.site-content .ast-container,
#primary,#secondary,.ast-primary-content,
.ast-separate-container #primary,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
article.post,article.page,.type-page{
    max-width:100%!important;width:100%!important;padding:0!important;margin:0!important;
    background:transparent!important;border:none!important;box-shadow:none!important;float:none!important;
}
.site-content{padding-top:0!important;padding-bottom:0!important}
.entry-content{margin:0!important;max-width:100%!important}
.entry-content>*{max-width:100%!important;margin-left:0!important;margin-right:0!important}

/* ===== BASE ===== */
html{overflow-x:hidden!important;scroll-behavior:smooth}
body{font-family:Inter,system-ui,sans-serif!important;color:#3c4043!important;background:#fff!important;-webkit-font-smoothing:antialiased;margin:0;overflow-x:hidden!important}
*{box-sizing:border-box}
img{max-width:100%;height:auto}

/* ===== HEADER ===== */
.g-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:#fff;border-bottom:1px solid transparent;transition:box-shadow .3s,border-color .3s;padding:12px 0}
.g-header.g-sticky{background:rgba(255,255,255,.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom-color:#dadce0;box-shadow:0 1px 4px rgba(60,64,67,.08)}
@media(max-width:1023px){
    .g-header{position:relative}
    .g-header.g-sticky{position:fixed;top:0}
}
.g-header.scrolled{border-bottom-color:#dadce0;box-shadow:0 1px 4px rgba(60,64,67,.08)}

/* ===== BUTTONS ===== */
.g-btn{display:inline-flex;align-items:center;gap:8px;font-family:inherit;font-size:14px;font-weight:500;padding:10px 24px;border-radius:100px;cursor:pointer;transition:all .2s;text-decoration:none;white-space:nowrap;border:none;line-height:1.4}
.g-btn-primary{background:#1a73e8;color:#fff}
.g-btn-primary:hover{background:#1765cc;box-shadow:0 1px 3px rgba(26,115,232,.3);color:#fff}
.g-btn-secondary{background:transparent;color:#1a73e8;border:1px solid #dadce0}
.g-btn-secondary:hover{background:#f0f6ff;border-color:#1a73e8}
.g-btn-white{background:#fff;color:#1a73e8;box-shadow:0 1px 3px rgba(60,64,67,.15)}
.g-btn-white:hover{box-shadow:0 2px 8px rgba(60,64,67,.2)}
.g-btn-lg{padding:14px 32px;font-size:16px}

/* ===== CARDS ===== */
.g-card{background:#fff;border-radius:20px;border:1px solid #dadce0;transition:all .3s cubic-bezier(.4,0,.2,1)}
.g-card:hover{box-shadow:0 1px 3px rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15);border-color:transparent}

/* ===== BACKGROUNDS ===== */
.g-bg-white{background:#fff}
.g-bg-surface{background:#f8f9fa}
.g-bg-blue{background:#e8f0fe}
.g-hero-bg{background:linear-gradient(180deg,#f0f6ff 0%,#e8f0fe 35%,#fff 75%)}
.g-cta-bg{background:linear-gradient(160deg,#1a73e8 0%,#4285f4 40%,#34a853 70%,#202124 100%)}

/* ===== HERO ANIMATIONS ===== */
@keyframes g-fade-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes g-fade-left{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}
@keyframes g-fade-right{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
@keyframes g-scale-in{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
.g-anim{opacity:0;animation-fill-mode:both;animation-duration:.6s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
.g-anim-up{animation-name:g-fade-up}
.g-anim-left{animation-name:g-fade-left}
.g-anim-right{animation-name:g-fade-right}
.g-anim-scale{animation-name:g-scale-in}

/* ===== STAT ===== */
.g-stat{font-size:48px;font-weight:700;color:#1a73e8;line-height:1;letter-spacing:-1px}
.g-counter{font-variant-numeric:tabular-nums}

/* ===== CHAT FLOAT ===== */
@keyframes g-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.g-float{animation:g-float 5s ease-in-out infinite}

/* ===== HERO FEATURED IMAGE — responsive aspect/height ===== */
/* Image sits inside a browser-window mockup, so use landscape aspect ratios
   so the chrome reads as a desktop window. Height caps keep the image from
   pushing hero copy down on small screens. */
.hero-featured-img{aspect-ratio:4/3;max-height:340px}
@media (min-width:640px){.hero-featured-img{aspect-ratio:4/3;max-height:420px}}
@media (min-width:1024px){.hero-featured-img{aspect-ratio:16/11;max-height:520px}}

/* "Live" indicator dot — used on hero mockup, equivalent to Tailwind animate-ping. */
@keyframes tw-ping{75%,100%{transform:scale(2);opacity:0}}
.tw-animate-ping{animation:tw-ping 1.6s cubic-bezier(0,0,.2,1) infinite}

/* ===== RELATED POSTS SLIDER =====
   Shared by Section Landing (stories) and Home Landing (hp_related).
   3-up on desktop, 2-up on tablet, 1-up on mobile. Scroll-snap + JS arrows. */
.bd-rs-wrap{position:relative}
.bd-rs-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 4px 16px;margin:0 -4px;-ms-overflow-style:none;scrollbar-width:none}
.bd-rs-track::-webkit-scrollbar{display:none}
.bd-rs-track > *{flex:0 0 100%;scroll-snap-align:start;min-width:0}
@media (min-width:640px){.bd-rs-track > *{flex-basis:calc((100% - 24px)/2)}}
@media (min-width:1024px){.bd-rs-track > *{flex-basis:calc((100% - 48px)/3)}}
.bd-rs-btn{position:absolute;top:42%;z-index:5;width:44px;height:44px;border-radius:50%;background:#fff;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 24px -6px rgba(26,115,232,.22),0 2px 6px rgba(60,64,67,.10);transition:all .2s;color:#1f2937}
.bd-rs-btn:hover{transform:scale(1.05);box-shadow:0 12px 28px -6px rgba(26,115,232,.30),0 4px 8px rgba(60,64,67,.12)}
.bd-rs-btn:disabled{opacity:.4;cursor:not-allowed;transform:none}
.bd-rs-prev{left:-22px}
.bd-rs-next{right:-22px}
@media (max-width:639px){.bd-rs-btn{display:none}}
.bd-rs-dots{display:flex;gap:8px;justify-content:center;margin-top:14px}
.bd-rs-dot{width:8px;height:8px;border-radius:50%;background:#dadce0;border:0;padding:0;cursor:pointer;transition:all .25s}
.bd-rs-dot.is-active{width:28px;border-radius:4px;background:#1a73e8}

/* ===== CHATBOT ===== */
#bd-chat-body{scroll-behavior:smooth}
#bd-chat-body::-webkit-scrollbar{width:4px}
#bd-chat-body::-webkit-scrollbar-thumb{background:#dadce0;border-radius:4px}
.bd-msg{margin-bottom:10px;display:flex}
.bd-msg--bot{justify-content:flex-start}
.bd-msg--user{justify-content:flex-end}
.bd-msg__bubble{max-width:85%;padding:10px 16px;font-size:14px;line-height:1.6;border-radius:16px;word-break:break-word}
.bd-msg__bubble--bot{background:#f8f9fa;color:#3c4043;border-bottom-left-radius:4px}
.bd-msg__bubble--user{background:#1a73e8;color:#fff;border-bottom-right-radius:4px}
.bd-typing{display:flex;gap:4px;align-items:center;padding:12px 18px}
.bd-typing span{width:7px;height:7px;border-radius:50%;background:#bbb;animation:bd-dot 1.4s ease-in-out infinite}
.bd-typing span:nth-child(2){animation-delay:.2s}
.bd-typing span:nth-child(3){animation-delay:.4s}
@keyframes bd-dot{0%,100%{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}
.bd-msg__contact{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.bd-msg__contact-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:100px;font-size:13px;font-weight:500;text-decoration:none;transition:all .2s}
.bd-msg__contact-btn--phone{background:#f8f9fa;color:#3c4043;border:1px solid #dadce0}
.bd-msg__contact-btn--wa{background:#25d366;color:#fff;border:1px solid #25d366}
.bd-suggest-btn{display:block;width:100%;text-align:left;padding:9px 14px;border-radius:10px;font-size:13px;font-family:inherit;color:#1a73e8;background:#e8f0fe;border:1px solid transparent;cursor:pointer;transition:all .15s}
.bd-suggest-btn:hover{border-color:#1a73e8;background:#d2e3fc}

/* ===== MARQUEE ===== */
@keyframes g-marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.g-marquee-track{animation:g-marquee 35s linear infinite}

/* ===== SCROLL REVEAL ===== */
.g-reveal{opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s cubic-bezier(.4,0,.2,1)}
.g-reveal.visible{opacity:1;transform:translateY(0)}

/* ===== FAQ ===== */
.g-faq-answer{max-height:0;overflow:hidden;transition:max-height .35s cubic-bezier(.4,0,.2,1)}
.g-faq-item.open .g-faq-answer{max-height:400px}
.g-faq-item.open .g-faq-chevron{transform:rotate(180deg)}
.g-faq-chevron{transition:transform .2s}

/* ===== WORK SLIDER ===== */
.g-work-track{-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory}
.g-work-slide{scroll-snap-align:start}
.g-work-track.dragging{cursor:grabbing!important;scroll-snap-type:none}
.g-work-track.dragging *{pointer-events:none}

/* Filter tabs */
.g-work-filter{
    padding:8px 18px;border-radius:100px;font-size:13px;font-weight:500;
    font-family:inherit;border:1px solid #dadce0;background:#fff;color:#5f6368;
    cursor:pointer;transition:all .2s;white-space:nowrap;
}
.g-work-filter:hover{border-color:#1a73e8;color:#1a73e8;background:#f0f6ff}
.g-work-filter--active{background:#1a73e8!important;color:#fff!important;border-color:#1a73e8!important}

/* Arrows */
.g-work-arrow{
    position:absolute;top:50%;transform:translateY(-70%);z-index:10;
    width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid #dadce0;
    display:flex;align-items:center;justify-content:center;cursor:pointer;
    color:#3c4043;transition:all .2s;box-shadow:0 1px 4px rgba(60,64,67,.1);
}
.g-work-arrow:hover{background:#f0f6ff;border-color:#1a73e8;color:#1a73e8;box-shadow:0 2px 8px rgba(26,115,232,.15)}
.g-work-arrow--prev{left:12px}
.g-work-arrow--next{right:12px}
.g-work-arrow:disabled{opacity:.3;cursor:default;pointer-events:none}

/* Dots */
.g-work-dot{
    width:8px;height:8px;border-radius:50%;background:#dadce0;border:none;
    cursor:pointer;transition:all .3s;padding:0;
}
.g-work-dot--active{background:#1a73e8;width:24px;border-radius:4px}

/* Slide hidden by filter */
.g-work-slide.hidden{display:none}

@media(max-width:768px){
    .g-work-arrow{display:none}
    .g-work-track{overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;transform:none!important;transition:none!important}
    .g-work-track::-webkit-scrollbar{display:none}
}

/* ===== PROJECT MODAL ===== */
.g-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .35s cubic-bezier(.4,0,.2,1),visibility .35s;padding:20px}
.g-modal.open{opacity:1;visibility:visible}
.g-modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.65);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.g-modal__container{position:relative;width:100%;max-width:1100px;max-height:90vh;display:flex;flex-direction:column;z-index:1;transform:translateY(20px) scale(.97);transition:transform .4s cubic-bezier(.4,0,.2,1);overflow:hidden;border-radius:24px}
.g-modal.open .g-modal__container{transform:translateY(0) scale(1)}
.g-modal__close{position:absolute;top:16px;right:16px;z-index:20;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.9);backdrop-filter:blur(6px);border:1px solid rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;cursor:pointer;color:#3c4043;transition:all .2s;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.g-modal__close:hover{background:#fff;transform:scale(1.08);box-shadow:0 4px 16px rgba(0,0,0,.15)}

/* Play/Pause button */
.g-modal__playpause{width:28px;height:28px;border-radius:50%;background:transparent;border:1px solid #dadce0;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#5f6368;transition:all .2s}
.g-modal__playpause:hover{background:#f1f3f4;border-color:#bdc1c6}

/* Progress bar */
.g-modal__progress{height:3px;background:#e8eaed;width:100%;overflow:hidden;border-radius:0 0 24px 24px}
.g-modal__progress-bar{height:100%;width:0;background:linear-gradient(90deg,#1a73e8,#34a853);border-radius:3px;transition:width .1s linear}

/* Body layout */
.g-modal__body{display:flex;flex-direction:column;background:#fff;overflow:hidden;border-radius:24px;box-shadow:0 24px 80px rgba(0,0,0,.25)}
@media(min-width:768px){
    .g-modal__body{flex-direction:row}
}

/* Browser mockup */
.g-modal__browser{flex:1;min-width:0;background:#f8f9fa;display:flex;flex-direction:column}
.g-modal__browser-bar{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f1f3f4;border-bottom:1px solid #e8eaed}
.g-modal__browser-url{flex:1;margin:0 12px;background:#fff;border:1px solid #e8eaed;border-radius:20px;padding:6px 16px;font-size:12px;color:#5f6368;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g-modal__screenshot{flex:1;overflow-y:auto;overflow-x:hidden;position:relative;background:#f8f9fa;max-height:65vh;scroll-behavior:smooth}
.g-modal__screenshot::-webkit-scrollbar{width:6px}
.g-modal__screenshot::-webkit-scrollbar-thumb{background:#dadce0;border-radius:6px}
.g-modal__screenshot::-webkit-scrollbar-thumb:hover{background:#bdc1c6}
.g-modal__img{width:100%;display:block}

.g-modal__gradient{width:100%;height:100%;display:block}

/* Info panel */
.g-modal__info{width:100%;padding:28px;display:flex;flex-direction:column;justify-content:center;background:#fff}
@media(min-width:768px){
    .g-modal__info{width:320px;min-width:320px;padding:32px;border-left:1px solid #f1f3f4}
}

/* Mobile adjustments */
@media(max-width:767px){
    .g-modal{padding:10px}
    .g-modal__container{max-height:95vh;border-radius:20px}
    .g-modal__body{border-radius:20px}
    .g-modal__screenshot{max-height:45vh}
    .g-modal__info{padding:20px}
    .g-modal__close{top:10px;right:10px;width:34px;height:34px}
}

/* ===== BLOG ===== */
.g-blog-img{transition:transform .4s}
.g-blog-card:hover .g-blog-img{transform:scale(1.04)}

/* ===== SERVICE TAB SLIDER ===== */
.g-svc-tab{background:#fff;color:#3c4043;border-color:#dadce0;font-family:inherit;text-align:left;position:relative;overflow:hidden}
.g-svc-tab:hover{background:#f8f9fa;border-color:#c0c4c8}
.g-svc-tab--active{background:#202124!important;color:#fff!important;border-color:#202124!important;box-shadow:0 1px 4px rgba(32,33,36,.25)}
.g-svc-tab--active svg{color:#fff!important}
.g-svc-panel:not([style*="display"]),.g-svc-info:not([style*="display"]){animation:g-fade-up .4s ease both}
.g-tab-bar{position:absolute;bottom:0;left:0;height:2px;width:0;background:#1a73e8;border-radius:0 0 100px 100px}
.g-svc-tab--active .g-tab-bar{animation:g-bar 5s linear forwards}
@keyframes g-bar{from{width:0}to{width:100%}}

/* ===== ICONS ===== */
.g-icon-ai{background:#e8f0fe;color:#1a73e8}
.g-icon-marketing{background:#fef7e0;color:#ea8600}
.g-icon-web{background:#e6f4ea;color:#34a853}
.g-icon-brand{background:#fce8e6;color:#d93025}
.g-icon-training{background:#f3e8fd;color:#a142f4}

/* ===== HEADER CONTACT ICONS ===== */
.g-header-icon{
    width:36px;height:36px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:#f8f9fa;border:1px solid #e8eaed;
    transition:all .25s ease;text-decoration:none;
}
.g-header-icon:hover{
    background:#e8f0fe;border-color:#c8ddf8;
    transform:translateY(-1px);box-shadow:0 2px 8px rgba(26,115,232,.15);
}
.g-header-icon--wa{background:#f0fdf4;border-color:#bbf7d0}
.g-header-icon--wa:hover{
    background:#dcfce7;border-color:#86efac;
    box-shadow:0 2px 8px rgba(37,211,102,.2);
}

/* ===== DROPDOWN ===== */
.g-dropdown{opacity:0;visibility:hidden;transform:translateY(8px);transition:all .2s cubic-bezier(.4,0,.2,1)}
.g-has-dropdown:hover .g-dropdown,.g-dropdown.g-dd-open{opacity:1;visibility:visible;transform:translateY(0)}

/* ===== MEGA MENU — Google-Material theme ===== */
.g-has-mega{position:static}
.g-megamenu{
    position:absolute;left:50%;top:100%;
    width:calc(100vw - 48px);max-width:1200px;
    margin-top:14px;
    background:#fff;
    border:1px solid #e8eaed;border-radius:20px;
    box-shadow:0 1px 2px rgba(60,64,67,.06),0 8px 32px rgba(60,64,67,.12);
    padding:0;z-index:50;pointer-events:none;
    opacity:0;visibility:hidden;
    transform:translateX(-50%) translateY(6px);
    transition:opacity .25s cubic-bezier(.4,0,.2,1),visibility .25s,transform .25s cubic-bezier(.4,0,.2,1);
}
.g-has-dropdown:hover>.g-megamenu,
.g-megamenu.g-dd-open{
    pointer-events:auto;opacity:1;visibility:visible;
    transform:translateX(-50%) translateY(0);
}

/* Subtle pointer arrow above panel */
.g-megamenu::before{
    content:'';position:absolute;top:-7px;left:50%;transform:translateX(-50%) rotate(45deg);
    width:14px;height:14px;background:#fff;border-left:1px solid #e8eaed;border-top:1px solid #e8eaed;
    border-top-left-radius:3px;
}
/* Invisible hover bridge so the menu stays open when the cursor crosses the
   margin-top:14px gap between the trigger and the panel. Sized to exactly
   match the gap so it never steals hover from the trigger anchor. */
.g-megamenu::after{
    content:'';position:absolute;
    left:0;right:0;top:-14px;height:14px;
    background:transparent;
}
/* Same idea for plain dropdowns (4px gap from tw-mt-1). */
.g-has-dropdown:not(.g-has-mega) > .g-dropdown::before{
    content:'';position:absolute;
    left:0;right:0;top:-4px;height:4px;
    background:transparent;
}

.g-mega-inner{padding:24px 28px}

.g-mega-grid{
    display:grid;
    grid-template-columns:repeat(var(--mm-cols,5),minmax(0,1fr));
    gap:14px;
}
.g-mega-grid:has(>.g-mega-cta){
    grid-template-columns:repeat(calc(var(--mm-cols,6) - 1),minmax(0,1fr)) minmax(240px,1.4fr);
    gap:14px;
}

/* Group card — matches mobile sidebar look */
.g-mega-col{
    min-width:0;
    background:#f8f9fa;
    border-radius:14px;
    padding:14px 14px 12px;
}
.g-mega-col-head{
    display:flex;align-items:center;gap:10px;
    margin-bottom:10px;padding-bottom:10px;
    border-bottom:1px solid #e8eaed;
}
.g-mega-col-icon{
    width:34px;height:34px;border-radius:10px;
    background:#e8f0fe;color:#1a73e8;
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.g-mega-col-icon svg{width:18px;height:18px}
.g-mega-col-title{
    font-size:14px;font-weight:600;color:#202124;line-height:1.3;
    letter-spacing:-.01em;
}

.g-mega-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.g-mega-items li{margin:0;padding:0}
.g-mega-item{
    display:flex;gap:10px;padding:8px 8px;border-radius:10px;
    text-decoration:none!important;color:inherit;
    transition:background .18s ease,box-shadow .18s ease;
}
.g-mega-item:hover,.g-mega-item:focus-visible{
    background:#fff;color:inherit;text-decoration:none!important;outline:none;
    box-shadow:0 1px 2px rgba(60,64,67,.08);
}
.g-mega-item:hover .g-mega-item-title{color:#1a73e8}
.g-mega-item:hover .g-mega-item-icon{background:#1a73e8;color:#fff;border-color:transparent}

.g-mega-item-icon{
    width:30px;height:30px;border-radius:8px;
    background:#fff;color:#5f6368;
    border:1px solid #e8eaed;
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
    transition:background .18s,color .18s,border-color .18s;
}
.g-mega-item-icon svg{width:15px;height:15px}

.g-mega-item-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.g-mega-item-title{
    font-size:13.5px;font-weight:500;color:#202124;line-height:1.35;
    display:flex;align-items:center;gap:6px;flex-wrap:wrap;
    transition:color .18s;
}
.g-mega-item-desc{font-size:12px;color:#5f6368;line-height:1.45}

.g-mega-badge{
    display:inline-block;font-size:10px;font-weight:600;
    padding:2px 7px;border-radius:100px;
    background:#fce8e6;color:#d93025;letter-spacing:.02em;text-transform:uppercase;
    line-height:1.4;
}

/* CTA card — uses theme g-cta-bg gradient */
.g-mega-cta{
    background:linear-gradient(160deg,#1a73e8 0%,#4285f4 40%,#34a853 70%,#202124 100%);
    color:#fff;border-radius:16px;padding:24px;
    display:flex;flex-direction:column;gap:12px;
    position:relative;overflow:hidden;margin-left:8px;
}
.g-mega-cta::before{
    content:'';position:absolute;width:200px;height:200px;border-radius:50%;
    background:radial-gradient(circle,rgba(255,255,255,.12),transparent 70%);
    top:-80px;right:-80px;pointer-events:none;
}
.g-mega-cta::after{
    content:'';position:absolute;width:140px;height:140px;border-radius:50%;
    background:radial-gradient(circle,rgba(251,188,4,.18),transparent 70%);
    bottom:-50px;left:-40px;pointer-events:none;
}
.g-mega-cta>*{position:relative;z-index:1}
.g-mega-cta-badge{
    display:inline-flex;align-items:center;gap:8px;
    font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
    color:#fbbc04;
}
.g-mega-cta-badge-icon{
    display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;
    background:rgba(251,188,4,.18);border-radius:50%;
}
.g-mega-cta-title{
    font-size:20px;font-weight:600;line-height:1.2;margin:0;color:#fff;
    letter-spacing:-.01em;
}
.g-mega-cta-desc{font-size:13px;line-height:1.55;margin:0;color:rgba(255,255,255,.85)}
.g-mega-cta-btn{
    margin-top:auto;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;
    background:#fff;color:#1a73e8;font-size:14px;font-weight:500;
    padding:12px 20px;border-radius:100px;text-decoration:none!important;
    transition:transform .18s,box-shadow .18s;
    box-shadow:0 1px 2px rgba(0,0,0,.1);
}
.g-mega-cta-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 4px 14px rgba(0,0,0,.15);
    color:#1a73e8;
}

/* Bottom feature/trust strip */
.g-mega-features{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:4px;margin:24px 0 0;padding:20px 24px;
    background:#f8f9fa;border-radius:16px;
}
.g-mega-feature{display:flex;align-items:center;gap:12px;min-width:0;padding:4px}
.g-mega-feature-icon{
    width:36px;height:36px;border-radius:10px;
    background:#fff;color:#1a73e8;
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
    box-shadow:0 1px 2px rgba(60,64,67,.08);
}
.g-mega-feature-icon svg{width:18px;height:18px}
.g-mega-feature-text{display:flex;flex-direction:column;min-width:0;gap:1px}
.g-mega-feature-title{font-size:13px;font-weight:500;color:#202124;line-height:1.3}
.g-mega-feature-desc{font-size:11.5px;color:#5f6368;line-height:1.4}

@media(max-width:1280px){
    .g-mega-inner{padding:20px 22px}
    .g-mega-grid{gap:10px}
    .g-mega-col{padding:12px 12px 10px}
    .g-mega-col-icon{width:32px;height:32px}
    .g-mega-col-title{font-size:13.5px}
}
@media(max-width:1100px){
    .g-mega-grid,.g-mega-grid:has(>.g-mega-cta){grid-template-columns:repeat(3,minmax(0,1fr))}
    .g-mega-cta{grid-column:span 3;margin-left:0;margin-top:8px}
    .g-mega-features{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
}
@media(max-width:1024px){
    .g-megamenu{display:none!important}
}

/* ===== MOBILE SIDEBAR ===== */
.g-sidebar{position:fixed;inset:0;z-index:9999;pointer-events:none;visibility:hidden}
.g-sidebar.open{pointer-events:auto;visibility:visible}
.g-sidebar__overlay{position:absolute;inset:0;background:rgba(0,0,0,.5);opacity:0;transition:opacity .3s;z-index:1}
.g-sidebar__panel{z-index:2}
.g-sidebar.open .g-sidebar__overlay{opacity:1}
.g-sidebar__panel{
    position:absolute;top:0;right:0;bottom:0;width:300px;max-width:85vw;
    background:#fff;transform:translateX(100%);transition:transform .35s cubic-bezier(.4,0,.2,1);
    display:flex;flex-direction:column;overflow-y:auto;
    box-shadow:-4px 0 24px rgba(0,0,0,.08);
}
.g-sidebar.open .g-sidebar__panel{transform:translateX(0)}
.g-sidebar-link{
    display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:12px;
    font-size:15px;font-weight:500;color:#3c4043;text-decoration:none;
    transition:background .15s,color .15s;
}
.g-sidebar-link:hover,.g-sidebar-link:active{background:#f0f6ff;color:#1a73e8}
.g-sidebar-link svg{color:#9aa0a6;flex-shrink:0}
.g-sidebar-link:hover svg{color:#1a73e8}

/* Sidebar megamenu */
.g-sidebar-mega{padding:4px 0 8px}
.g-sidebar-mega-group{margin:8px 8px 12px;padding:10px 12px;background:#f8f9fa;border-radius:12px}
.g-sidebar-mega-head{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#1a73e8;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #e8eaed}
.g-sidebar-mega-icon{width:24px;height:24px;border-radius:6px;background:#e8f0fe;color:#1a73e8;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.g-sidebar-mega-icon svg{width:14px;height:14px}
.g-sidebar-mega-item{display:flex;align-items:flex-start;gap:10px;padding:8px 8px;border-radius:8px;text-decoration:none!important;color:inherit;transition:background .15s}
.g-sidebar-mega-item:hover,.g-sidebar-mega-item:active{background:#fff}
.g-sidebar-mega-item-icon{width:28px;height:28px;border-radius:7px;background:#fff;color:#5f6368;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #e8eaed}
.g-sidebar-mega-item-icon svg{width:14px;height:14px}
.g-sidebar-mega-item-text{display:flex;flex-direction:column;min-width:0;flex:1;gap:1px}
.g-sidebar-mega-item-title{font-size:13.5px;font-weight:600;color:#202124;line-height:1.3;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.g-sidebar-mega-item-desc{font-size:11.5px;color:#5f6368;line-height:1.4}
.g-sidebar-mega-cta{
    display:flex;flex-direction:column;gap:6px;margin:12px 8px 4px;padding:14px 16px;
    background:linear-gradient(160deg,#1a73e8 0%,#1765cc 60%,#202124 100%);color:#fff;
    border-radius:12px;text-decoration:none!important;
}
.g-sidebar-mega-cta-title{font-size:14px;font-weight:700;color:#fff}
.g-sidebar-mega-cta-btn{font-size:13px;font-weight:600;color:#fbbc04}

/* Hamburger to X */
.g-mobile-toggle.active span:nth-child(1){transform:rotate(45deg) translate(4px,4px)}
.g-mobile-toggle.active span:nth-child(2){opacity:0}
.g-mobile-toggle.active span:nth-child(3){width:20px!important;transform:rotate(-45deg) translate(4px,-4px)}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.g-wa-float{
    position:fixed;bottom:24px;right:24px;z-index:900;
    display:flex;flex-direction:column;align-items:flex-end;gap:8px;
}
.g-wa-float__btn{
    width:56px;height:56px;border-radius:50%;background:#25d366;
    display:flex;align-items:center;justify-content:center;
    color:#fff;box-shadow:0 4px 16px rgba(37,211,102,.35);
    cursor:pointer;border:none;transition:all .3s;
    text-decoration:none;
}
.g-wa-float__btn:hover{transform:scale(1.08);box-shadow:0 6px 24px rgba(37,211,102,.4)}
/* Tooltip */
.g-wa-float__tooltip{
    background:#fff;color:#202124;font-size:13px;font-weight:500;
    padding:8px 14px;border-radius:10px;box-shadow:0 2px 12px rgba(0,0,0,.1);
    white-space:nowrap;opacity:0;transform:translateY(4px);
    transition:opacity .2s,transform .2s;pointer-events:none;
}
.g-wa-float:hover .g-wa-float__tooltip{opacity:1;transform:translateY(0)}
/* Pulse ring */
.g-wa-float__btn::before{
    content:'';position:absolute;inset:-6px;border-radius:50%;
    border:2px solid #25d366;opacity:0;animation:g-wa-pulse 2s ease-out infinite;
}
@keyframes g-wa-pulse{0%{transform:scale(1);opacity:.5}100%{transform:scale(1.3);opacity:0}}

@media(max-width:640px){
    .g-wa-float{bottom:16px;right:16px}
    .g-wa-float__btn{width:48px;height:48px}
    .g-wa-float__tooltip{display:none}
}

/* ===== PARTICLES ===== */
.g-particles{position:absolute;inset:0;pointer-events:none;z-index:0}

/* ===== FLOATING SHAPES ===== */
.g-shapes{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.g-shape{position:absolute;border-radius:20%;opacity:0;animation:g-shape-appear 1s ease forwards}
.g-shape--circle{border-radius:50%}
.g-shape--ring{background:transparent!important;border:2px solid}
.g-shape--dot{width:8px!important;height:8px!important;border-radius:50%}
@keyframes g-shape-appear{to{opacity:1}}
@keyframes g-shape-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-18px) rotate(3deg)}}
@keyframes g-shape-drift{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(8px,-10px) scale(1.05)}}
@keyframes g-shape-pulse{0%,100%{opacity:.15;transform:scale(1)}50%{opacity:.3;transform:scale(1.1)}}

/* ===== GRADIENT ORB ===== */
.g-orb-animated{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;animation:g-orb 20s ease-in-out infinite alternate}
@keyframes g-orb{0%{transform:translate(0,0)}50%{transform:translate(30px,-20px)}100%{transform:translate(-30px,15px)}}

/* ===== CARD EFFECTS ===== */
.g-tilt{transition:transform .3s cubic-bezier(.4,0,.2,1)}
.g-tilt:hover{transform:translateY(-4px)}
.g-shine{position:relative;overflow:hidden}
.g-shine::after{content:'';position:absolute;top:0;left:-120%;width:60%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);transform:skewX(-20deg);transition:left .7s}
.g-shine:hover::after{left:120%}

/* ===== STAGGER ===== */
.g-stagger>*{opacity:0;transform:translateY(16px);transition:opacity .5s,transform .5s cubic-bezier(.4,0,.2,1)}
.g-stagger.visible>*{opacity:1;transform:translateY(0)}
.g-stagger.visible>*:nth-child(1){transition-delay:.05s}
.g-stagger.visible>*:nth-child(2){transition-delay:.1s}
.g-stagger.visible>*:nth-child(3){transition-delay:.15s}
.g-stagger.visible>*:nth-child(4){transition-delay:.2s}
.g-stagger.visible>*:nth-child(5){transition-delay:.25s}

/* ===== GRADIENT BORDER ===== */
.g-gradient-border{position:relative}
.g-gradient-border::before{content:'';position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(135deg,#4285f4,#34a853,#fbbc04,#ea4335);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .3s}
.g-gradient-border:hover::before{opacity:1}

/* ===== PROCESS LINE ===== */
.g-process-line{position:absolute;top:50%;left:0;right:0;height:2px;background:#dadce0;overflow:hidden}
.g-process-line::after{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,#1a73e8,transparent);animation:g-sweep 3s ease-in-out infinite}
@keyframes g-sweep{to{left:100%}}

/* ===== MATERIAL SHADOWS ===== */
.tw-shadow-g2{box-shadow:0 1px 3px rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)!important}

/* ===== SMOOTH HOVER GLOW ===== */
.g-glow{position:relative;overflow:hidden}
.g-glow::before{content:'';position:absolute;inset:0;opacity:0;transition:opacity .4s;background:radial-gradient(600px circle at var(--x,50%) var(--y,50%),rgba(26,115,232,.04),transparent 40%)}
.g-glow:hover::before{opacity:1}

/* ===== BLOG CARD HOVER ===== */
.g-blog-card{transition:all .35s cubic-bezier(.4,0,.2,1)}
.g-blog-card:hover{transform:translateY(-3px)}

/* ===== MOBILE TOGGLE DEFAULT: hidden on desktop ===== */
.g-mobile-toggle{display:none!important}

/* ===== RESPONSIVE: TABLET ===== */
@media(max-width:1024px){
    .g-desktop{display:none!important}
    .g-mobile-toggle{display:flex!important}
    .g-header{padding:10px 0}
    .g-float{animation:none}
    #g-svc-slider{display:flex!important;flex-direction:column;gap:32px!important}
    #g-svc-line{display:none!important}
    .g-process-line{display:none!important}
}

/* ===== RESPONSIVE: MOBILE ===== */
@media(max-width:640px){
    section{padding-top:48px!important;padding-bottom:48px!important}
    h1{font-size:30px!important;line-height:1.15!important}
    h2{font-size:24px!important;line-height:1.2!important}
    h3{font-size:18px!important}
    .g-shapes,.g-orb-animated,.g-particles{display:none!important}
    .g-stat{font-size:28px!important}
    .g-btn-lg{width:100%;justify-content:center;padding:12px 24px!important}
    .g-card{border-radius:16px}
    .g-float{animation:none!important}
    #bd-chat-body{height:180px!important}
    .g-tilt:hover{transform:none!important}
    footer .tw-grid{grid-template-columns:1fr!important;gap:24px!important}
    /* FAQ touch targets */
    .g-faq-btn{min-height:48px}
    /* Prevent horizontal overflow */
    .bd-section-bg-wrap,section{max-width:100vw;overflow-x:hidden}
    /* Tighter section padding */
    .tw-max-w-\[1280px\],.tw-max-w-\[1200px\]{padding-left:16px!important;padding-right:16px!important}
    /* Stats grid single column */
    .g-counter{font-size:28px!important}
}

@media(max-width:380px){
    h1{font-size:26px!important}
    h2{font-size:20px!important}
}

/* ===== VERTICAL SLIDER ===== */
.bd-vs-layout{display:flex;gap:60px;align-items:flex-start}
.bd-vs-left{width:42%;flex-shrink:0}
.bd-vs-right{flex:1;position:relative;min-height:420px;display:flex;align-items:flex-start;justify-content:center}

/* Nav wrapper */
.bd-vs-nav{display:flex!important;align-items:stretch!important;gap:0}

/* Single continuous rail — one unbroken line */
.bd-vs-rail{width:3px;flex-shrink:0;align-self:stretch;position:relative;border-radius:3px;background:#e0e0e0;min-height:100%}
.bd-vs-rail-fill{position:absolute;top:0;left:0;width:100%;height:0;background:#1a73e8;border-radius:3px;will-change:height}

/* Items column */
.bd-vs-items{flex:1;padding-left:24px}
.bd-vs-item{padding:18px 0;cursor:pointer;border:0;background:none}
.bd-vs-item:first-child{padding-top:0}
.bd-vs-item:last-child{padding-bottom:0}
.bd-vs-title{font-size:17px;font-weight:500;color:#9aa0a6;margin:0;transition:color .4s,font-size .35s}
.bd-vs-desc{font-size:15px;color:#5f6368;line-height:1.75;margin:0;max-height:0;opacity:0;overflow:hidden;transition:max-height .45s cubic-bezier(.4,0,.2,1),opacity .4s,margin .35s}

/* Active */
.bd-vs-active .bd-vs-title{font-size:24px;color:#202124}
.bd-vs-active .bd-vs-desc{max-height:300px;opacity:1;margin-top:12px}

/* Image panels — stacked for crossfade */
.bd-vs-images{position:relative}
.bd-vs-img-panel{position:absolute;top:0;left:0;width:100%;opacity:0;transform:translateY(14px) scale(.98);transition:opacity .7s cubic-bezier(.4,0,.2,1),transform .7s cubic-bezier(.4,0,.2,1);pointer-events:none;display:flex;align-items:flex-start;justify-content:center;z-index:1}
.bd-vs-img-show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;z-index:2}
/* First panel sets the container height */
.bd-vs-img-panel:first-child{position:relative}
.bd-vs-img-panel img{width:100%;max-width:540px;border-radius:16px;box-shadow:0 16px 56px rgba(60,64,67,.1),0 4px 12px rgba(60,64,67,.05);object-fit:cover;margin:0;border:0}
.bd-vs-img-ph{width:100%;max-width:540px;aspect-ratio:4/3;border-radius:16px;background:linear-gradient(135deg,#e8f0fe 0%,#f3e8fd 100%)}

/* Responsive */
@media(max-width:1023px){
    .bd-vs-layout{flex-direction:column;gap:36px}
    .bd-vs-left{width:100%}
    .bd-vs-right{width:100%;min-height:280px}
    .bd-vs-img-panel img{max-width:100%;border-radius:14px}
    .bd-vs-active .bd-vs-title{font-size:21px}
}
@media(max-width:639px){
    .bd-vs-items{padding-left:18px}
    .bd-vs-item{padding:12px 0}
    .bd-vs-active .bd-vs-title{font-size:19px}
    .bd-vs-desc{font-size:14px}
    .bd-vs-img-panel img{border-radius:12px}
}

/* ===== CONTENT SLIDER (image left, content right) ===== */
.bd-cs-layout{display:flex;gap:60px;align-items:flex-start;flex-direction:row}
.bd-cs-left{width:50%;flex-shrink:0;position:relative;min-height:420px;display:flex;align-items:flex-start;justify-content:center}
.bd-cs-right{flex:1}

/* Nav */
.bd-cs-nav{display:flex!important;align-items:stretch!important;gap:0}

/* Rail */
.bd-cs-rail{width:3px;flex-shrink:0;align-self:stretch;position:relative;border-radius:3px;background:#e0e0e0;min-height:100%}
.bd-cs-rail-fill{position:absolute;top:0;left:0;width:100%;height:0;background:#e67e22;border-radius:3px;will-change:height}

/* Items */
.bd-cs-items{flex:1;padding-left:24px}
.bd-cs-item{padding:18px 0;cursor:pointer;border:0;background:none}
.bd-cs-item:first-child{padding-top:0}
.bd-cs-item:last-child{padding-bottom:0}
.bd-cs-title{font-size:17px;font-weight:500;color:#9aa0a6;margin:0;transition:color .4s,font-size .35s}
.bd-cs-desc{font-size:15px;color:#5f6368;line-height:1.75;margin:0;max-height:0;opacity:0;overflow:hidden;transition:max-height .45s cubic-bezier(.4,0,.2,1),opacity .4s,margin .35s}

/* Active state */
.bd-cs-active .bd-cs-title{font-size:24px;color:#202124}
.bd-cs-active .bd-cs-desc{max-height:300px;opacity:1;margin-top:12px}

/* Images */
.bd-cs-images{position:relative}
.bd-cs-img-panel{position:absolute;top:0;left:0;width:100%;opacity:0;transform:translateY(14px) scale(.98);transition:opacity .7s cubic-bezier(.4,0,.2,1),transform .7s cubic-bezier(.4,0,.2,1);pointer-events:none;display:flex;align-items:flex-start;justify-content:center;z-index:1}
.bd-cs-img-show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;z-index:2}

.bd-cs-img-panel:first-child{position:relative}
.bd-cs-img-panel img{width:100%;max-width:540px;border-radius:16px;box-shadow:0 16px 56px rgba(60,64,67,.1),0 4px 12px rgba(60,64,67,.05);object-fit:cover;margin:0;border:0}
.bd-cs-img-ph{width:100%;max-width:540px;aspect-ratio:4/3;border-radius:16px;background:linear-gradient(135deg,#fef3e2 0%,#fce8e6 100%)}
#ast-scroll-top{display: none!important;}
/* Responsive */
@media(max-width:1023px){
    #contact{padding-bottom: 0!important;padding-top: 0!important;}
    .bd-cs-layout{flex-direction:column;gap:36px}
    .bd-cs-left{width:100%;min-height:280px}
    .bd-cs-right{width:100%}
    .bd-cs-img-panel img{max-width:100%;border-radius:14px}
    .bd-cs-active .bd-cs-title{font-size:21px}
}
@media(max-width:639px){
    .bd-cs-items{padding-left:18px}
    .bd-cs-item{padding:12px 0}
    .bd-cs-active .bd-cs-title{font-size:19px}
    .bd-cs-desc{font-size:14px}
    .bd-cs-img-panel img{border-radius:12px}
}

/* ========================================
   SMOOTH ANIMATIONS — Catchy micro-interactions
   ======================================== */

/* ── Scroll reveal variants ── */
.g-reveal-left{opacity:0;transform:translateX(-30px);transition:opacity .6s ease,transform .6s cubic-bezier(.4,0,.2,1)}
.g-reveal-left.visible{opacity:1;transform:translateX(0)}
.g-reveal-right{opacity:0;transform:translateX(30px);transition:opacity .6s ease,transform .6s cubic-bezier(.4,0,.2,1)}
.g-reveal-right.visible{opacity:1;transform:translateX(0)}
.g-reveal-scale{opacity:0;transform:scale(.92);transition:opacity .6s ease,transform .6s cubic-bezier(.4,0,.2,1)}
.g-reveal-scale.visible{opacity:1;transform:scale(1)}
.g-reveal-blur{opacity:0;filter:blur(8px);transform:translateY(12px);transition:opacity .7s ease,filter .7s ease,transform .7s cubic-bezier(.4,0,.2,1)}
.g-reveal-blur.visible{opacity:1;filter:blur(0);transform:translateY(0)}

/* ── Enhanced button hover ── */
.g-btn{transition:all .25s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}
.g-btn::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.2),transparent 60%);opacity:0;transition:opacity .3s}
.g-btn:hover::before{opacity:1}
.g-btn:active{transform:scale(.97);transition-duration:.1s}
.g-btn-primary{box-shadow:0 2px 8px rgba(26,115,232,.2);transition:all .25s cubic-bezier(.4,0,.2,1)}
.g-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(26,115,232,.35)}
.g-btn-secondary:hover{transform:translateY(-1px);box-shadow:0 2px 12px rgba(26,115,232,.1)}

/* ── Card hover lift + glow ── */
.g-card{transition:all .35s cubic-bezier(.4,0,.2,1)}
.g-card:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(60,64,67,.12),0 2px 8px rgba(60,64,67,.08);border-color:transparent}

/* ── Badge / pill pop-in ── */
@keyframes g-pop{0%{opacity:0;transform:scale(.8) translateY(4px)}60%{transform:scale(1.05) translateY(-1px)}100%{opacity:1;transform:scale(1) translateY(0)}}
.g-anim-pop{animation:g-pop .5s cubic-bezier(.4,0,.2,1) both}

/* ── Smooth text gradient shimmer on hero headings ── */
@keyframes g-shimmer{0%{background-position:100% 50%}100%{background-position:-100% 50%}}
.g-text-shimmer{background:linear-gradient(90deg,#1a73e8 0%,#4285f4 25%,#34a853 50%,#1a73e8 75%,#4285f4 100%);background-size:200% 100%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:g-shimmer 4s ease-in-out infinite}

/* ── Smooth section fade-in on scroll (applied via bd-section-bg-wrap or direct) ── */
.bd-section-bg-wrap,
section{animation:g-section-in .8s cubic-bezier(.4,0,.2,1) both}
@keyframes g-section-in{from{opacity:0}to{opacity:1}}

/* ── Image hover zoom + shine ── */
.g-img-hover{overflow:hidden;border-radius:inherit}
.g-img-hover img{transition:transform .5s cubic-bezier(.4,0,.2,1),filter .5s}
.g-img-hover:hover img{transform:scale(1.04)}
.g-img-hover::after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.15) 50%,transparent 70%);transform:translateX(-100%);transition:transform .6s}
.g-img-hover:hover::after{transform:translateX(100%)}

/* ── Stats / counter pulse on reveal ── */
@keyframes g-count-pop{0%{transform:scale(1)}50%{transform:scale(1.08)}100%{transform:scale(1)}}
.g-counter.counted{animation:g-count-pop .4s cubic-bezier(.4,0,.2,1)}

/* ── FAQ item smooth open ── */
.g-faq-answer{transition:max-height .4s cubic-bezier(.4,0,.2,1),opacity .3s}
.g-faq-item .g-faq-answer{opacity:0}
.g-faq-item.open .g-faq-answer{opacity:1}
.g-faq-item{transition:background .2s,box-shadow .3s}
.g-faq-item:hover{background:rgba(26,115,232,.02)}
.g-faq-item.open{box-shadow:0 2px 12px rgba(60,64,67,.06)}

/* ── Trust badge hover float ── */
.g-trust-badge{transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s}
.g-trust-badge:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(60,64,67,.1)}

/* ── Smooth underline on links ── */
.g-link-underline{position:relative;text-decoration:none}
.g-link-underline::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:#1a73e8;border-radius:2px;transition:width .3s cubic-bezier(.4,0,.2,1)}
.g-link-underline:hover::after{width:100%}

/* ── Marquee smoother ── */
.g-marquee-track{animation:g-marquee 35s linear infinite;will-change:transform}

/* ── Stagger — extend to 8 children ── */
.g-stagger.visible>*:nth-child(6){transition-delay:.3s}
.g-stagger.visible>*:nth-child(7){transition-delay:.35s}
.g-stagger.visible>*:nth-child(8){transition-delay:.4s}

/* ── Focus ring (accessibility + looks good) ── */
.g-btn:focus-visible,.g-svc-tab:focus-visible,.g-faq-btn:focus-visible,.g-work-filter:focus-visible{outline:2px solid #1a73e8;outline-offset:2px;border-radius:inherit}

/* ===== SECTION HEADINGS — clean, consistent sizing ===== */
/* H1 — Hero heading */
section h1.tw-font-medium{
    font-size:42px!important;
    line-height:1.2!important;
    letter-spacing:-.025em!important;
}
/* H1 blue second line — same size, just color difference.
   Only targets spans that follow a <br> (the two-line title pattern).
   Skips inline blue spans like Portfolio's highlighted first word. */
section h1.tw-font-medium br+.tw-text-google-blue{
    display:block!important;
    font-size:inherit!important;
    line-height:inherit!important;
    margin-top:4px!important;
}

/* H2 — Section headings */
section h2.tw-font-medium{
    font-size:36px!important;
    line-height:1.25!important;
    letter-spacing:-.02em!important;
}
/* H2 blue second line — slightly smaller for visual hierarchy.
   Only targets spans that follow a <br> (two-line pattern). */
section h2.tw-font-medium br+.tw-text-google-blue{
    display:block!important;
    font-size:32px!important;
    line-height:1.25!important;
    margin-top:2px!important;
}

/* H3 — Card / step / tab titles */
section h3{
    letter-spacing:-.01em!important;
}

@media(max-width:640px){
    section h1.tw-font-medium{
        font-size:30px!important;
        line-height:1.25!important;
    }
    section h2.tw-font-medium{
        font-size:28px!important;
        line-height:1.3!important;
    }
    section h2.tw-font-medium .tw-text-google-blue{
        font-size:26px!important;
    }
}

/* ===== REDUCED MOTION ===== */
@media(prefers-reduced-motion:reduce){
    *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
    .g-particles,.g-shapes,.g-orb-animated{display:none}
}

/* ═══════════════════════════════════════════
   INLINE CTA — 6 variants
   Used via [cta id="N"] shortcode in post content
═══════════════════════════════════════════ */
.dft-content .bd-cta{
    margin:32px 0;
    font-family:Inter,system-ui,sans-serif;
    line-height:1.6;
}
.dft-content .bd-cta *{box-sizing:border-box}
.dft-content .bd-cta .bd-cta__title{
    font-family:'Space Grotesk',Inter,system-ui,sans-serif;
    font-weight:600;
    letter-spacing:-.01em;
    margin:0 0 8px;
}
.dft-content .bd-cta .bd-cta__desc{
    margin:0 0 16px;
    font-size:15px;
    line-height:1.6;
}
.dft-content .bd-cta .bd-cta__btn,
.dft-content .bd-cta .bd-cta__link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-weight:600;
    text-decoration:none;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.dft-content .bd-cta .bd-cta__btn .bd-cta-arrow,
.dft-content .bd-cta .bd-cta__link .bd-cta-arrow{
    transition:transform .15s ease;
}
.dft-content .bd-cta .bd-cta__btn:hover .bd-cta-arrow,
.dft-content .bd-cta .bd-cta__link:hover .bd-cta-arrow{
    transform:translateX(3px);
}

/* ── Variant 1 — Soft blue box ── */
.dft-content .bd-cta--soft{
    background:#e8f0fe;
    border:1px solid #d2e3fc;
    border-radius:14px;
    padding:22px 24px;
}
.dft-content .bd-cta--soft .bd-cta__title{font-size:18px;color:#1a56b5}
.dft-content .bd-cta--soft .bd-cta__desc{color:#3c4043}
.dft-content .bd-cta--soft .bd-cta__btn{
    background:#1a73e8;color:#fff;
    padding:10px 20px;border-radius:999px;font-size:14px;
}
.dft-content .bd-cta--soft .bd-cta__btn:hover{background:#1557b0;text-decoration:none}

/* ── Variant 2 — Bold gradient ── */
.dft-content .bd-cta--gradient{
    position:relative;
    background:linear-gradient(135deg,#1a73e8 0%,#4285f4 45%,#a142f4 100%);
    border-radius:16px;
    padding:32px 28px;
    overflow:hidden;
    color:#fff;
    box-shadow:0 10px 40px -12px rgba(26,115,232,.45);
}
.dft-content .bd-cta--gradient .bd-cta__glow{
    position:absolute;top:-50%;right:-20%;
    width:60%;height:200%;
    background:radial-gradient(circle,rgba(255,255,255,.18),transparent 60%);
    pointer-events:none;
}
.dft-content .bd-cta--gradient .bd-cta__inner{position:relative;z-index:1}
.dft-content .bd-cta--gradient .bd-cta__title{font-size:22px;color:#fff}
.dft-content .bd-cta--gradient .bd-cta__desc{color:rgba(255,255,255,.85);font-size:15px}
.dft-content .bd-cta--gradient .bd-cta__btn{
    background:#fff;color:#1a73e8;
    padding:12px 22px;border-radius:999px;font-size:14px;
}
.dft-content .bd-cta--gradient .bd-cta__btn:hover{
    transform:translateY(-1px);
    box-shadow:0 6px 20px -4px rgba(0,0,0,.2);
    text-decoration:none;
}

/* ── Variant 3 — Left-border accent ── */
.dft-content .bd-cta--border{
    background:#f8fafc;
    border-left:4px solid #1a73e8;
    border-radius:0 12px 12px 0;
    padding:20px 22px;
}
.dft-content .bd-cta--border .bd-cta__title{font-size:17px;color:#202124}
.dft-content .bd-cta--border .bd-cta__desc{color:#5f6368;font-size:15px}
.dft-content .bd-cta--border .bd-cta__link{
    color:#1a73e8;font-size:14px;
}
.dft-content .bd-cta--border .bd-cta__link:hover{text-decoration:underline}

/* ── Variant 4 — Dark banner ── */
.dft-content .bd-cta--dark{
    position:relative;
    background:#202124;
    border-radius:16px;
    padding:32px 28px;
    overflow:hidden;
    color:#fff;
}
.dft-content .bd-cta--dark .bd-cta__bg{
    position:absolute;inset:0;
    background:
        radial-gradient(circle at 15% 30%,rgba(26,115,232,.25),transparent 40%),
        radial-gradient(circle at 85% 70%,rgba(161,66,244,.2),transparent 45%);
    pointer-events:none;
}
.dft-content .bd-cta--dark .bd-cta__inner{position:relative;z-index:1}
.dft-content .bd-cta--dark .bd-cta__title{font-size:21px;color:#fff}
.dft-content .bd-cta--dark .bd-cta__desc{color:rgba(255,255,255,.65);font-size:15px}
.dft-content .bd-cta--dark .bd-cta__btn{
    background:#fbbc04;color:#202124;
    padding:12px 22px;border-radius:999px;font-size:14px;
}
.dft-content .bd-cta--dark .bd-cta__btn:hover{
    background:#f59e0b;
    transform:translateY(-1px);
    text-decoration:none;
}

/* ── Variant 5 — Icon + split card ── */
.dft-content .bd-cta--split{
    display:flex;align-items:center;gap:18px;
    background:#fff;
    border:1px solid #dadce0;
    border-radius:14px;
    padding:20px 22px;
    box-shadow:0 1px 3px rgba(60,64,67,.08);
}
.dft-content .bd-cta--split .bd-cta__icon{
    flex-shrink:0;
    width:48px;height:48px;
    border-radius:12px;
    background:#e6f4ea;color:#34a853;
    display:flex;align-items:center;justify-content:center;
}
.dft-content .bd-cta--split .bd-cta__body{flex:1;min-width:0}
.dft-content .bd-cta--split .bd-cta__title{font-size:16px;color:#202124;margin-bottom:4px}
.dft-content .bd-cta--split .bd-cta__desc{font-size:14px;color:#5f6368;margin:0}
.dft-content .bd-cta--split .bd-cta__btn{
    flex-shrink:0;
    background:#1a73e8;color:#fff;
    padding:10px 18px;border-radius:8px;font-size:13px;white-space:nowrap;
}
.dft-content .bd-cta--split .bd-cta__btn:hover{background:#1557b0;text-decoration:none}
@media(max-width:640px){
    .dft-content .bd-cta--split{flex-direction:column;align-items:flex-start;text-align:left}
    .dft-content .bd-cta--split .bd-cta__btn{width:100%;justify-content:center}
}

/* ── Variant 6 — Urgent / warning ── */
.dft-content .bd-cta--urgent{
    display:flex;align-items:flex-start;gap:16px;
    background:linear-gradient(135deg,#fef2f2 0%,#fff7ed 100%);
    border:1px solid #fecaca;
    border-left:4px solid #ea4335;
    border-radius:0 14px 14px 0;
    padding:20px 22px;
    position:relative;
}
.dft-content .bd-cta--urgent::before{
    content:"";
    position:absolute;top:-1px;right:-1px;
    width:60px;height:60px;
    background:radial-gradient(circle at top right,rgba(234,67,53,.08),transparent 70%);
    border-radius:0 14px 0 0;
    pointer-events:none;
}
.dft-content .bd-cta--urgent .bd-cta__icon{
    flex-shrink:0;
    color:#ea4335;
    animation:bd-cta-pulse 2s ease-in-out infinite;
}
@keyframes bd-cta-pulse{
    0%,100%{transform:scale(1);opacity:1}
    50%{transform:scale(1.08);opacity:.85}
}
.dft-content .bd-cta--urgent .bd-cta__body{flex:1;min-width:0}
.dft-content .bd-cta--urgent .bd-cta__title{
    font-size:17px;color:#b91c1c;margin-bottom:6px;
    text-transform:uppercase;letter-spacing:.02em;
    font-size:13px;font-weight:700;
}
.dft-content .bd-cta--urgent .bd-cta__desc{color:#3c4043;font-size:15px;margin-bottom:12px}
.dft-content .bd-cta--urgent .bd-cta__btn{
    background:#ea4335;color:#fff;
    padding:10px 20px;border-radius:8px;font-size:14px;
}
.dft-content .bd-cta--urgent .bd-cta__btn:hover{background:#b91c1c;text-decoration:none}

/* ========================================================================
   OVERFLOW SAFETY NETS — handles AI-generated content that exceeds the
   visual budget of a slot (long badges, long headings, multi-word buttons,
   long URLs, German/Dutch compound nouns). Every rule here is defensive:
   it intervenes only when content would otherwise break the layout.
   Added 2026-05-16.
   ======================================================================== */

/* 1. Universal: every section, card, and grid child can wrap long words. */
section, .g-card, [class*="g-anim"], [class*="tw-grid"] > *, [class*="tw-flex"] > * {
    min-width: 0;            /* required for flex/grid children to allow text to shrink and wrap */
}

/* 2. Headings — wrap long titles instead of pushing the container wider. */
section h1, section h2, section h3, section h4,
.g-card h1, .g-card h2, .g-card h3, .g-card h4,
.single-article-content h1, .single-article-content h2, .single-article-content h3,
.dft-content h1, .dft-content h2, .dft-content h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* 3. Body copy / paragraphs / labels — same treatment, never let long
      strings (URLs, IDs, compound words) push the page sideways. */
section p, section li, section span, section small,
.g-card p, .g-card li, .g-card span,
.dft-content p, .dft-content li {
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

/* 4. Badges — common overflow point. AI may produce a 25-char badge
      despite the 15-char cap. Allow wrapping inside the pill. */
[class*="badge"], [class*="-badge"],
.tw-inline-flex[class*="rounded-full"],
[class*="tw-uppercase"][class*="tw-tracking"] {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;          /* override Tailwind's inline-block nowrap inheritance */
    line-height: 1.3;
}

/* 5. Buttons (CTAs) — Tailwind's `whitespace-nowrap` chokes on long anchor
      text. Allow wrapping + cap the width so a long anchor never busts
      the layout. */
.g-btn, [class*="g-btn"], a[class*="tw-bg-google-blue"], button[class*="tw-px-"] {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
}

/* 6. Long URLs / inline anchors inside rich text — break at any character
      so a 60-char URL doesn't push the page wider. */
section a, .single-article-content a, .dft-content a, .g-card a {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 7. Images — never exceed their container width. */
section img, .g-card img, .single-article-content img, .dft-content img {
    max-width: 100%;
    height: auto;
}

/* 8. Grid cards — give every grid item a baseline min-width so a long
      title doesn't blow out one column and crush the rest. */
[class*="tw-grid-cols"] > * {
    min-width: 0;
    max-width: 100%;
}

/* 9. Tables and rich-text tables — scroll horizontally if they exceed
      viewport. Better than pushing the entire layout sideways. */
.single-article-content table, .dft-content table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

/* 10. Page root: prevent horizontal scrollbars caused by any rogue child.
       Defensive — the html overflow-x:hidden at the top already does this,
       but on body level we add a hint to keep the cascade tight. */
body { overflow-x: hidden; }

/* 11. Long pre / code blocks — wrap or scroll instead of expanding the
       column width. */
section pre, .single-article-content pre, .dft-content pre {
    white-space: pre-wrap;
    overflow-x: auto;
    max-width: 100%;
    word-wrap: break-word;
}

/* 12. Logo carousel marquee — child images shouldn't grow beyond their
       intended height when the asset itself is wide. */
.g-marquee-track img { max-width: none; /* preserve original aspect inside the track */ }

/* ========================================================================
   LOW-CONTENT ROBUSTNESS — handles AI-generated content that is too sparse
   for a slot (empty paragraphs, missing buttons, 1 card in a 3-card grid,
   empty right column, etc). Companion to OVERFLOW SAFETY NETS above. Every
   rule below intervenes only when content is missing so the layout still
   looks Google-clean — generous spacing, balanced columns, no ghost gaps.
   Added 2026-05-20.
   ======================================================================== */

/* 1. Truly empty headings, paragraphs and spans collapse fully — no ghost
      vertical margin left behind from Tailwind tw-mb-* / tw-mt-* classes. */
section h1:empty, section h2:empty, section h3:empty, section h4:empty,
section p:empty,
.g-card h1:empty, .g-card h2:empty, .g-card h3:empty, .g-card h4:empty,
.g-card p:empty,
.dft-content p:empty,
.single-article-content p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Heading whose only element child is <br> and/or an empty <span> —
      this is the renderer pattern  `<?php echo $title_1; ?><br><span>$title_2</span>`
      with both fields blank. The element exists but is visually empty. */
section h1:has(> br:only-child),
section h2:has(> br:only-child),
section h1:has(> span:empty:only-child),
section h2:has(> span:empty:only-child),
section h1:has(> br + span:empty:last-child),
section h2:has(> br + span:empty:last-child) {
    display: none !important;
    margin: 0 !important;
}

/* 3. Empty CTA buttons — `<a class="g-btn">` with empty bd_hp() output.
      Drop the naked pill so its sibling button isn't visually orphaned. */
a.g-btn:empty,
a[class*="g-btn"]:empty,
button.g-btn:empty {
    display: none !important;
}

/* 4. Empty image src — broken-image placeholders look terrible. */
section img:not([src]),
section img[src=""],
section img[src="#"],
.g-card img[src=""] {
    display: none !important;
}

/* 5. Single-child grids — when a 2-, 3- or 4-col grid has only 1 visible
      child (foreach output 1 item), center the lone child + cap its width
      instead of left-aligning it next to a vast empty void. */
[class*="tw-grid-cols-2"]:has(> *:only-child),
[class*="tw-grid-cols-3"]:has(> *:only-child),
[class*="tw-grid-cols-4"]:has(> *:only-child),
[class*="md:tw-grid-cols-2"]:has(> *:only-child),
[class*="md:tw-grid-cols-3"]:has(> *:only-child),
[class*="md:tw-grid-cols-4"]:has(> *:only-child),
[class*="lg:tw-grid-cols-2"]:has(> *:only-child),
[class*="lg:tw-grid-cols-3"]:has(> *:only-child),
[class*="lg:tw-grid-cols-4"]:has(> *:only-child) {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 720px;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-items: center;
}

/* 6. Two-of-three card grid — 2 items in a 3-col grid look unbalanced with
      a void on the right. Reflow to 2 columns, centered. */
[class*="tw-grid-cols-3"]:has(> *:nth-child(2):last-child),
[class*="md:tw-grid-cols-3"]:has(> *:nth-child(2):last-child),
[class*="lg:tw-grid-cols-3"]:has(> *:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 880px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 7. Three-of-four card grid (Process, Why-Us features) — drop empty 4th
      slot, reflow to 3 columns. */
[class*="lg:tw-grid-cols-4"]:has(> *:nth-child(3):last-child),
[class*="md:tw-grid-cols-4"]:has(> *:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* 8. Two-of-four card grid → reflow to 2 columns centered. */
[class*="lg:tw-grid-cols-4"]:has(> *:nth-child(2):last-child),
[class*="md:tw-grid-cols-4"]:has(> *:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 880px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 9. Card with both title AND description empty (e.g. an empty process
      step that only renders the colored number circle). Hide the card so
      the row doesn't have a ghost slot. */
.g-card:has(> h1:empty):has(> p:empty),
.g-card:has(> h2:empty):has(> p:empty),
.g-card:has(> h3:empty):has(> p:empty),
.g-card:has(> div > h3:empty):has(> div > p:empty),
.g-tilt:has(> h3:empty):has(> p:empty),
[class*="tw-rounded-google"]:has(> h3:empty):has(> p:empty),
[class*="tw-rounded-[24px]"]:has(> h3:empty):has(> p:empty),
[class*="tw-rounded-[20px]"]:has(> h3:empty):has(> p:empty) {
    display: none !important;
}

/* 10. Trust-badge / stats row hugging left edge — when only one badge or
       stat is filled, center it instead of leaving a 1000px gap to the right.
       Targets .tw-flex.tw-flex-wrap and .tw-flex.tw-items-center patterns. */
.tw-flex.tw-flex-wrap.tw-gap-4:has(> *:only-child),
.tw-flex.tw-items-center.tw-gap-8:has(> *:only-child),
.tw-flex.tw-flex-wrap.tw-justify-center.tw-gap-4:has(> *:only-child) {
    justify-content: center !important;
}

/* 11. Hero two-column where the right column (chat widget / form) is
       toggled off — cap the lone left column so it doesn't stretch over
       the full 1200px container looking off-center. */
section.g-hero-bg [class*="lg:tw-grid-cols-2"]:has(> *:only-child) > * {
    max-width: 720px;
}

/* 12. Cards in a row align their footer/CTA at the bottom even when one
       card's description is much shorter than siblings. Only applies to
       cards that aren't already using horizontal-flex (icon + text side
       by side, like Why-Us features) — `:not([class*="tw-flex"])` keeps
       those layouts intact. */
[class*="tw-grid"][class*="cols-"] > .g-card:not([class*="tw-flex"]),
[class*="tw-grid"][class*="cols-"] > .g-tilt:not([class*="tw-flex"]) {
    display: flex;
    flex-direction: column;
}
[class*="tw-grid"][class*="cols-"] > .g-card:not([class*="tw-flex"]) > :last-child:not(:only-child),
[class*="tw-grid"][class*="cols-"] > .g-tilt:not([class*="tw-flex"]) > :last-child:not(:only-child) {
    margin-top: auto;
}

/* 13. Vertical-slider / content-slider with only 1 item — the rail + tab
       UI looks broken with a single tab. Drop the rail, center the slide. */
.bd-vs-layout:has(.bd-vs-item:only-child),
.bd-cs-layout:has(.bd-cs-item:only-child) {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
}
.bd-vs-layout:has(.bd-vs-item:only-child) .bd-vs-rail,
.bd-cs-layout:has(.bd-cs-item:only-child) .bd-cs-rail {
    display: none !important;
}
.bd-vs-layout:has(.bd-vs-item:only-child) .bd-vs-items,
.bd-cs-layout:has(.bd-cs-item:only-child) .bd-cs-items {
    padding-left: 0 !important;
}

/* 14. FAQ section with only 1 question — cap the width so the single
       accordion row doesn't span the full content area and look stranded. */
.g-faq-item:only-child {
    max-width: 720px;
    margin-left: auto !important;
    margin-right: auto !important;
}

