/* BQ Revamp theme — isolated public-site skin. Standard remains untouched. */
body.site-theme-revamp {

  /* ── Surfaces & palette (pixel-sampled from the approved Figma) ───────── */
  --rv-wine:#690a2e;              /* primary burgundy: nav CTA, pills, roles */
  --rv-wine-deep:#340014;         /* deep maroon surface: bands, filled cards */
  --rv-black:#090004;             /* darkest lobe inside the silk renders    */
  --rv-gold:#d6b054;              /* design gold — the web value             */
  --rv-gold-print:#bfa879;        /* brand-book gold — print only            */
  /* Gold used as TEXT on light surfaces. Identical to --rv-gold today, so the
     design is untouched; #946d20 here is the value that reaches WCAG AA 4.5:1
     on white if the client accepts a darker gold for small copy. Dark surfaces
     re-point this back to --rv-gold below, so they never darken. */
  --rv-gold-text:var(--rv-gold);
  /* Focus ring. Gold is 2.06:1 on white — below the 3:1 WCAG 2.2 needs for a
     focus indicator — so light surfaces use wine (12.5:1) and dark surfaces
     re-point this to gold (8.8:1) below. */
  --rv-focus:var(--rv-wine);

  /* Motion character: fast out, long settle, never a spring. No control point
     outside [0,1] — nothing on this site overshoots. */
  --rv-ease-settle:cubic-bezier(.22,.61,.36,1);
  --rv-ease-lift:cubic-bezier(.32,.72,0,1);
  --rv-dur-tap:120ms;
  --rv-dur-settle:420ms;

  /* Fractal grain laid over every silk plate. The renders resolve to as few as
     19 luminance levels, which bands visibly on an OLED phone at low brightness. */
  --bq-grain:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  --bq-sq-angle:152deg;
  --rv-ink:#222f30;               /* headings + body ink                     */
  --rv-ink-max:#000000;           /* inner-page H1 + article body only       */
  --rv-muted:#5f6b6b;             /* card body, captions                     */
  --rv-muted-warm:#645757;        /* article dek                             */
  --rv-soft:#f7f5f2;              /* featured card / takeaways / form card   */
  --rv-white:#ffffff;
  --rv-line:#e8e2de;              /* card hairline                           */
  --rv-hairline:#f0ede9;          /* tighter hairline: tiles, byline         */
  --rv-nav:#d4cccf;               /* nav island over the hero                */
  --rv-nav-inner:#f5f2f3;         /* nav island on white inner pages         */
  --rv-plate:#d2cdcd;             /* brand logo plate                        */
  --rv-chip-active:#f7edf1;       /* active topic chip fill                  */
  --rv-list-active:#f4f2ef;       /* first row of the practice services list */

  /* ── On-dark values ──────────────────────────────────────────────────── */
  --rv-on-dark:rgba(255,255,255,.72);
  --rv-rule-dark:rgba(255,255,255,.18);
  --rv-line-dark:rgba(255,255,255,.22);
  --rv-ctl-dark:rgba(255,255,255,.10);
  --rv-ctl-dark-b:rgba(255,255,255,.25);
  --rv-field-rule:rgba(214,176,84,.55);
  --rv-placeholder:rgba(255,255,255,.72);

  /* ── Radii: four steps, plus true pills ──────────────────────────────── */
  --rv-radius:30px;
  --rv-radius-band:28px;
  --rv-radius-form:16px;
  --rv-radius-card:12px;
  --rv-radius-ctl:11px;
  --rv-radius-pill:999px;
  --rv-squircle:6px 14px 6px 14px;
  --rv-squircle-rtl:14px 6px 14px 6px;

  /* ── Layout rail ─────────────────────────────────────────────────────── */
  --rv-max:1440px;
  --rv-gutter:48px;
  --rv-gap:16px;
  --rv-gap-wide:18px;

  /* ── Type: faces resolve through the switch in bq-fonts.css ──────────── */
  --rv-font-brand:var(--bq-face-brand),"Almarai","Alata",system-ui,sans-serif;
  /* The mono and serif faces carry Latin glyphs only. Arabic must fall through
     to the brand face or it renders as tofu — nav, buttons, dates and the
     footer are all set in mono, so this is the whole site in Arabic. */
  --rv-font-mono:var(--bq-face-mono),var(--bq-face-brand),"Almarai",ui-monospace,SFMono-Regular,Menlo,monospace;
  --rv-font-numeral:var(--bq-face-numeral),var(--bq-face-brand),"Almarai",Georgia,"Times New Roman",serif;

  /* ── Type scale (1440px reference) ───────────────────────────────────── */
  --rv-h1-home:76px;  --rv-h1-home-lh:1.06;
  --rv-h1-inner:62px; --rv-h1-inner-lh:1.10;
  --rv-h2:36px;       --rv-h2-lh:1.20;
  --rv-h2-dark:30px;  --rv-h3:19px;
  --rv-lead:34px;     --rv-lead-lh:1.35;
  --rv-body:17px;     --rv-body-lh:1.55;
  --rv-body-sm:15px;  --rv-caption:14px;
  --rv-mono:12px;     --rv-mono-nav:13px;  --rv-mono-ls:.05em;
  --rv-num-lg:64px;   --rv-num-md:52px;    --rv-num-sm:44px;

  /* ── Legacy alias remap — stops bq-ui.css / bq-pro.css painting their
     own palette wherever this skin has no override. ─────────────────── */
  --bq-maroon:var(--rv-wine);
  --bq-maroon-deep:var(--rv-wine-deep);
  --bq-gold:var(--rv-gold);
  --bq-ink:var(--rv-ink);
  --bq-muted:var(--rv-muted);
  --bq-line:var(--rv-line);
  --bq-radius:var(--rv-radius-card);
  --bq-font-ar:var(--rv-font-brand);
  --bq-font-en:var(--rv-font-brand);
  --bq-font-brand:var(--rv-font-brand);
  --bq-font-mono:var(--rv-font-mono);
  --bq-font-numeral:var(--rv-font-numeral);

  font-family:var(--rv-font-brand);
  color:var(--rv-ink);
  background:var(--rv-wine-deep);   /* replaced by footer-silk once shipped */
}
/* overflow:clip respects the border-radius WITHOUT making main a scroll
   container — which is what silently disabled sticky and scroll timelines. */
body.site-theme-revamp main { max-width:var(--rv-max); margin-inline:auto; background:#fff; overflow:hidden; overflow:clip; position:relative; z-index:1; border-radius:0 0 var(--rv-radius) var(--rv-radius); }
body.site-theme-revamp.is-home main { border-radius:0 0 var(--rv-radius) var(--rv-radius); }
/* Headings — the design sets 600 (700 for H1), not the 800 this skin used to force. */
body.site-theme-revamp h1,body.site-theme-revamp h2,body.site-theme-revamp h3,body.site-theme-revamp h4 { color:var(--rv-ink);font-weight:600;letter-spacing:normal; }
body.site-theme-revamp h1,body.site-theme-revamp h2 { letter-spacing:-.02em; }
body.site-theme-revamp h1 { font-weight:700;font-size:clamp(2.25rem,5.28vw,var(--rv-h1-home));line-height:var(--rv-h1-home-lh); }
body.site-theme-revamp .bq-page-hero h1 { font-size:clamp(2rem,4.3vw,var(--rv-h1-inner));line-height:var(--rv-h1-inner-lh); }
body.site-theme-revamp h2 { font-size:clamp(1.55rem,2.5vw,var(--rv-h2));line-height:var(--rv-h2-lh); }
body.site-theme-revamp h3 { font-size:clamp(1.05rem,1.32vw,var(--rv-h3));line-height:1.35; }
body.site-theme-revamp p { line-height:var(--rv-body-lh); }
body.site-theme-revamp a { transition:color .2s var(--rv-ease-settle),background .2s var(--rv-ease-settle),transform .25s var(--rv-ease-settle),box-shadow .25s var(--rv-ease-settle); }

/* Preview control */
.theme-preview-bar{position:fixed;z-index:9999;inset:auto 18px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;border:1px solid rgba(214,176,84,.35);border-radius:999px;background:rgba(18,8,11,.92);backdrop-filter:blur(14px);color:#fff;box-shadow:0 18px 50px rgba(0,0,0,.3);font-size:.82rem}.theme-preview-bar a{color:var(--rv-gold);text-decoration:none;font-weight:800}

/* Navigation */
body.site-theme-revamp .site-navbar { position:relative;z-index:100;max-width:var(--rv-max);margin:0 auto;background:#fff!important;border:0!important;box-shadow:none!important;padding:28px 48px!important; }
body.site-theme-revamp.is-home .site-navbar { background:transparent!important;position:absolute;left:50%;transform:translateX(-50%);width:100%; }
body.site-theme-revamp .site-navbar.is-sticky { position:sticky;top:0;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px);box-shadow:0 10px 35px rgba(22,6,12,.08)!important;transform:none;left:auto; }
body.site-theme-revamp.is-home .site-navbar:not(.is-sticky) .navbar-brand { background:rgba(255,255,255,.92); }
body.site-theme-revamp .navbar-brand { border:1px solid rgba(38,50,48,.08);border-radius:14px;padding:8px 14px;background:#fff;box-shadow:0 6px 20px rgba(22,6,12,.04); }
body.site-theme-revamp .navbar-brand img { filter:sepia(.45) saturate(.85); }
body.site-theme-revamp .navbar-brand-text { display:none!important; }
body.site-theme-revamp #bqMainNav { justify-content:flex-end!important; }
body.site-theme-revamp #bqMainNav .navbar-nav { border:1px solid rgba(38,50,48,.08);border-radius:14px;background:rgba(255,255,255,.88);padding:4px;gap:2px; }
body.site-theme-revamp .site-navbar .nav-link { font-family:var(--bq-font-mono);text-transform:uppercase;font-size:.78rem;letter-spacing:.02em;color:var(--rv-ink)!important;border-radius:10px;padding:13px 18px!important; }
body.site-theme-revamp .site-navbar .nav-link:hover,body.site-theme-revamp .site-navbar .nav-link.active { background:var(--rv-wine);color:#fff!important; }
body.site-theme-revamp #bqMainNav .navbar-nav>.nav-item:first-child { display:none; }
body.site-theme-revamp .btn-admin { background:var(--rv-wine)!important;color:#fff!important;border-radius:10px!important; }

/* Home hero */
body.site-theme-revamp .pro-hero { min-height:910px;display:flex;align-items:flex-end;position:relative;overflow:hidden;background:
  radial-gradient(ellipse at 73% 20%,rgba(194,31,100,.84),transparent 38%),
  radial-gradient(ellipse at 16% 15%,rgba(0,0,0,.88),transparent 42%),
  linear-gradient(145deg,#6f0029 0,#28000f 58%,#11090b 100%)!important;color:#fff;padding:160px 48px 90px; }
body.site-theme-revamp .pro-hero::before { content:"";position:absolute;width:1050px;height:1050px;left:-440px;top:-540px;border-radius:50%;border:1px solid rgba(255,116,184,.55);box-shadow:0 0 30px rgba(255,62,152,.3),inset -80px -60px 160px rgba(0,0,0,.75);transform:rotate(28deg); }
body.site-theme-revamp .pro-hero::after { content:"";position:absolute;width:1150px;height:1150px;right:-600px;bottom:-760px;border-radius:50%;border:1px solid rgba(149,29,80,.4);box-shadow:inset 80px 20px 160px rgba(0,0,0,.72); }
body.site-theme-revamp .pro-hero .container { position:relative;z-index:2;width:100%; }
body.site-theme-revamp .pro-hero h1 { color:#fff!important;max-width:720px;text-shadow:0 4px 30px rgba(0,0,0,.22); }
body.site-theme-revamp .pro-hero p { color:rgba(255,255,255,.9)!important;max-width:620px;font-size:clamp(1.05rem,1.7vw,1.5rem); }
body.site-theme-revamp .pro-hero iframe { opacity:.06;mix-blend-mode:luminosity;pointer-events:none; }

/* Buttons */
body.site-theme-revamp .btn-gold,body.site-theme-revamp .btn-hero,body.site-theme-revamp .pro-hero .btn,body.site-theme-revamp main .btn-primary { border:0!important;border-radius:12px!important;background:var(--rv-wine)!important;color:#fff!important;text-transform:uppercase;font-family:var(--bq-font-mono);font-weight:700;padding:14px 22px; }
body.site-theme-revamp .btn-gold:hover,body.site-theme-revamp .btn-hero:hover,body.site-theme-revamp .pro-hero .btn:hover { transform:translateY(-3px);box-shadow:0 14px 32px rgba(105,10,46,.28); }
body.site-theme-revamp .btn-outline-gold { border:1px solid var(--rv-wine)!important;color:var(--rv-wine)!important;border-radius:12px!important; }

/* Inner-page hero and common sections */
body.site-theme-revamp .bq-page-hero { background:#fff!important;padding:90px 48px 54px!important; }
body.site-theme-revamp .bq-page-hero__bg,body.site-theme-revamp .bq-page-hero__rule { display:none!important; }
body.site-theme-revamp .bq-page-hero h1 { color:#000!important;max-width:720px; }
body.site-theme-revamp .bq-page-hero p { color:var(--rv-muted)!important;font-size:clamp(1.05rem,1.7vw,1.4rem);max-width:620px; }
body.site-theme-revamp section { position:relative; }
body.site-theme-revamp section>.container { max-width:1344px; }
body.site-theme-revamp .py-5 { padding-top:clamp(55px,7vw,100px)!important;padding-bottom:clamp(55px,7vw,100px)!important; }
body.site-theme-revamp .card-soft,body.site-theme-revamp .card { border:1px solid var(--rv-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important; }
body.site-theme-revamp .card-soft:hover,body.site-theme-revamp .card:hover { border-color:rgba(105,10,46,.28)!important; }

/* Practice, people and insight cards */
body.site-theme-revamp .pro-practices,body.site-theme-revamp .pro-team,body.site-theme-revamp .pro-news { gap:16px; }
body.site-theme-revamp .pro-practice,body.site-theme-revamp .pro-person,body.site-theme-revamp .pro-news__item { border:1px solid var(--rv-line);border-radius:16px;background:#fff;overflow:hidden; }
body.site-theme-revamp .pro-practice:hover,body.site-theme-revamp .pro-person:hover,body.site-theme-revamp .pro-news__item:hover { border-color:rgba(105,10,46,.28); }
body.site-theme-revamp .pro-person img,body.site-theme-revamp .pro-news__item img { transition:transform .65s cubic-bezier(.2,.8,.2,1),filter .4s ease; }

body.site-theme-revamp .pro-person__meta strong,body.site-theme-revamp .pro-news h3 { color:var(--rv-ink); }
body.site-theme-revamp .pro-person__meta span { color:var(--rv-wine);font-weight:700; }
body.site-theme-revamp .pro-head__eyebrow { color:var(--rv-gold);font-family:var(--bq-font-mono);text-transform:uppercase; }

/* Dark signature bands */
body.site-theme-revamp .pro-china,body.site-theme-revamp .pro-invite { background:
  radial-gradient(ellipse at 0 0,rgba(133,0,49,.9),transparent 42%),
  radial-gradient(ellipse at 100% 100%,rgba(89,0,35,.85),transparent 48%),
  linear-gradient(135deg,#350014,#10070a)!important;color:#fff;border-radius:var(--rv-radius) var(--rv-radius) 0 0;overflow:hidden; }
body.site-theme-revamp .pro-china::after,body.site-theme-revamp .pro-invite::after { content:"";position:absolute;width:700px;height:700px;border-radius:50%;border:1px solid rgba(212,75,137,.28);right:-280px;top:-320px; }
body.site-theme-revamp .pro-china h2,body.site-theme-revamp .pro-invite h2 { color:#fff; }

/* Forms */
body.site-theme-revamp form .form-control,body.site-theme-revamp form .form-select { min-height:54px;border:0;border-bottom:1px solid rgba(214,176,84,.7);border-radius:0;background:transparent;color:inherit;box-shadow:none!important; }
body.site-theme-revamp form textarea.form-control { min-height:180px; }
body.site-theme-revamp form .form-control:focus,body.site-theme-revamp form .form-select:focus { border-bottom-color:var(--rv-wine); }
body.site-theme-revamp .contact-form,body.site-theme-revamp .bq-contact-form,body.site-theme-revamp form[data-consultation] { position:relative;overflow:hidden;border-radius:18px;background:
  radial-gradient(ellipse at 0 0,#700028 0,transparent 45%),
  radial-gradient(ellipse at 100% 100%,#50001f 0,transparent 52%),#16080c;color:#fff;padding:clamp(22px,4vw,42px); }

/* Footer */
body.site-theme-revamp .bq-footer { max-width:var(--rv-max);margin:0 auto;padding:90px 48px 28px!important;background:
  radial-gradient(ellipse at 15% 0,rgba(126,0,47,.85),transparent 42%),
  radial-gradient(ellipse at 75% 0,rgba(86,0,35,.5),transparent 45%),
  linear-gradient(135deg,#310013,#10080a)!important;color:#fff;border:0!important; }
body.site-theme-revamp .bq-footer h6 { color:#fff;font-family:var(--bq-font-mono);text-transform:uppercase; }
body.site-theme-revamp .bq-footer a,body.site-theme-revamp .bq-footer p,body.site-theme-revamp .bq-footer span { color:rgba(255,255,255,.82)!important; }
body.site-theme-revamp .bq-footer a:hover { color:var(--rv-gold)!important;transform:translateX(3px); }
body.site-theme-revamp .bq-footer__brand { color:var(--rv-gold)!important; }
body.site-theme-revamp .whatsapp-float { background:var(--rv-wine)!important;box-shadow:0 12px 35px rgba(105,10,46,.35)!important; }

/* Motion */
body.site-theme-revamp .rv-reveal { opacity:0;transform:translateY(18px);transition:opacity var(--rv-dur-settle) var(--rv-ease-settle),transform var(--rv-dur-settle) var(--rv-ease-settle); }
body.site-theme-revamp .rv-reveal.is-visible { opacity:1;transform:none; }


/* Tablet and mobile */
@media (max-width:991.98px){
  body.site-theme-revamp .site-navbar { padding:18px 20px!important; }
  body.site-theme-revamp.is-home .site-navbar { position:absolute; }
  body.site-theme-revamp .navbar-toggler { background:rgba(255,255,255,.9)!important;border-radius:12px!important; }
  body.site-theme-revamp .pro-hero { min-height:760px;padding:130px 24px 70px;align-items:center; }
  body.site-theme-revamp .bq-page-hero { padding:65px 24px 35px!important; }
  body.site-theme-revamp .bq-footer { padding:65px 24px 24px!important; }
  body.site-theme-revamp .offcanvas { background:#fff;color:var(--rv-ink); }
}
@media (max-width:575.98px){
  body.site-theme-revamp h1 { font-size:clamp(2.25rem,13vw,3.6rem); }
  body.site-theme-revamp h2 { font-size:clamp(1.65rem,9vw,2.45rem); }
  body.site-theme-revamp .pro-hero { min-height:700px;padding-inline:18px; }
  body.site-theme-revamp .site-navbar { padding:14px!important; }
  body.site-theme-revamp .navbar-brand img { max-width:92px!important;height:36px!important; }
  body.site-theme-revamp .theme-preview-bar { inset:auto 8px 8px;border-radius:14px;flex-direction:column;align-items:flex-start;gap:4px; }
  body.site-theme-revamp .py-5 { padding-block:50px!important; }
  body.site-theme-revamp .card-soft,body.site-theme-revamp .card { border-radius:14px!important; }
}
@media (prefers-reduced-motion:reduce){body.site-theme-revamp *,body.site-theme-revamp *::before,body.site-theme-revamp *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Split CTA — matches the BQ reference button */
body.site-theme-revamp .rv-split-btn{--rv-cta-label:var(--rv-wine);display:inline-grid!important;grid-template-columns:minmax(0,auto) 48px;align-items:stretch;gap:5px;min-height:48px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;overflow:visible!important;text-decoration:none!important;vertical-align:middle;transform:translateZ(0)}
body.site-theme-revamp .rv-split-btn__label{min-width:150px;display:flex;align-items:center;justify-content:center;padding:0 22px;border-radius:11px;background:var(--rv-cta-label);color:#fff;font:700 .76rem/1.2 var(--bq-font-mono);text-transform:uppercase;letter-spacing:.01em;white-space:nowrap;transition:background .25s ease,transform .25s ease,box-shadow .25s ease}
body.site-theme-revamp .rv-split-btn__arrow{display:grid;place-items:center;border-radius:11px;background:var(--rv-gold);color:#fff;font-size:1.45rem;line-height:1;transition:transform .3s cubic-bezier(.2,.8,.2,1),background .25s ease,box-shadow .25s ease}
body.site-theme-revamp .rv-split-btn:hover{transform:none!important;box-shadow:none!important}
body.site-theme-revamp .rv-split-btn:hover .rv-split-btn__label{background:#500722;transform:translateY(-2px);box-shadow:0 12px 28px rgba(105,10,46,.2)}
body.site-theme-revamp .rv-split-btn:hover .rv-split-btn__arrow{background:#c39c42;transform:translateX(3px) rotate(-4deg);box-shadow:0 12px 24px rgba(214,176,84,.24)}
html[dir="rtl"] body.site-theme-revamp .rv-split-btn:hover .rv-split-btn__arrow{transform:translateX(-3px) rotate(4deg)}
body.site-theme-revamp .rv-split-btn:focus-visible{outline:3px solid var(--rv-focus)!important;outline-offset:4px}
body.site-theme-revamp button.rv-split-btn{font:inherit}

/* Shared interface refinement */
body.site-theme-revamp main .container{padding-inline:clamp(20px,4vw,56px)}
body.site-theme-revamp .pro-head{margin-bottom:clamp(28px,4vw,52px)}
body.site-theme-revamp .pro-head h2{margin-bottom:12px}
body.site-theme-revamp img{max-width:100%}
body.site-theme-revamp main img:not(.navbar-brand img){border-radius:clamp(12px,1.5vw,22px)}
body.site-theme-revamp :where(a,button,input,textarea,select):focus-visible{outline:3px solid var(--rv-focus);outline-offset:3px}
body.site-theme-revamp .card-soft,body.site-theme-revamp .card{transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s}

@media(max-width:575.98px){
  body.site-theme-revamp .rv-split-btn{grid-template-columns:minmax(0,1fr) 46px;width:100%;max-width:360px}
  body.site-theme-revamp .rv-split-btn__label{min-width:0;padding-inline:15px}
}

/* Revamp 2.1 — resilient practice directory and medium-screen polish */
body.site-theme-revamp .bq-services-breadcrumb{padding-block:18px!important;background:#fff}
body.site-theme-revamp .bq-services-index{background:#fff!important;padding-top:36px!important}
body.site-theme-revamp .revamp-service-toolbar{display:flex!important;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:34px;padding-bottom:24px;border-bottom:1px solid var(--rv-line)}
body.site-theme-revamp .revamp-service-toolbar h2{font-size:clamp(1.7rem,3vw,2.6rem);margin:3px 0 0}
body.site-theme-revamp .revamp-service-toolbar__eyebrow{color:var(--rv-gold);font:700 .75rem/1 var(--bq-font-mono);text-transform:uppercase;letter-spacing:.08em}
body.site-theme-revamp .revamp-service-search{width:min(420px,45%);height:56px;display:flex;align-items:center;gap:12px;padding:0 18px;border:1px solid var(--rv-line);border-radius:14px;background:var(--rv-soft);color:var(--rv-wine);transition:border-color .2s,box-shadow .2s,background .2s}
body.site-theme-revamp .revamp-service-search:focus-within{background:#fff;border-color:rgba(105,10,46,.45);box-shadow:0 0 0 4px rgba(105,10,46,.07)}
body.site-theme-revamp .revamp-service-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--rv-ink);font:inherit}
body.site-theme-revamp .bq-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;align-items:stretch}
body.site-theme-revamp .bq-service-grid__item{display:block;width:auto!important;max-width:none!important;padding:0!important}
body.site-theme-revamp .bq-service-grid__item[hidden]{display:none!important}
body.site-theme-revamp .bq-service-tile{position:relative;width:100%;min-height:430px;height:auto!important;display:flex;flex-direction:column;align-items:stretch;padding:28px!important;overflow:hidden!important;isolation:isolate;transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
body.site-theme-revamp .bq-service-tile::before{content:"";position:absolute;z-index:-1;width:190px;height:190px;inset:auto -105px -120px auto;border-radius:50%;background:rgba(105,10,46,.055);transition:transform .45s ease}
body.site-theme-revamp .bq-service-tile:hover::before{transform:scale(1.35)}
body.site-theme-revamp .bq-service-tile__number{display:block!important;margin-bottom:54px;color:var(--rv-gold);font:700 .78rem/1 var(--bq-font-mono);letter-spacing:.04em}
body.site-theme-revamp .bq-service-tile__icon{position:absolute;inset-block-start:24px;inset-inline-end:24px;width:38px;height:38px;display:grid;place-items:center;margin:0!important;border-radius:11px;background:rgba(105,10,46,.07);color:var(--rv-wine);font-size:1rem;opacity:0;transform:translateY(-4px);transition:opacity .25s,transform .25s}
body.site-theme-revamp .bq-service-tile:hover .bq-service-tile__icon{opacity:1;transform:none}
body.site-theme-revamp .bq-service-tile h3{font-size:clamp(1.05rem,1.45vw,1.3rem);line-height:1.35;margin:0 0 12px;letter-spacing:-.02em}
body.site-theme-revamp .bq-service-tile p{margin:0 0 22px;color:var(--rv-muted);font-size:.92rem;line-height:1.7;overflow:visible!important;display:block!important;-webkit-line-clamp:unset!important}
body.site-theme-revamp .bq-service-tile .bq-link{margin-top:auto;align-self:flex-start;color:var(--rv-wine);font:700 .76rem/1 var(--bq-font-mono);text-transform:uppercase;text-decoration:none}
body.site-theme-revamp .revamp-service-empty{min-height:230px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed var(--rv-line);border-radius:18px;color:var(--rv-muted);text-align:center}
body.site-theme-revamp .revamp-service-empty.d-none{display:none!important}
body.site-theme-revamp .revamp-service-empty i{font-size:1.8rem;color:var(--rv-gold)}

@media (min-width:992px) and (max-width:1199.98px){body.site-theme-revamp .bq-service-tile{min-height:360px;padding:24px!important}}
@media (max-width:991.98px){
  body.site-theme-revamp main{border-radius:0 0 20px 20px}
  body.site-theme-revamp .revamp-service-toolbar{align-items:stretch;flex-direction:column;gap:18px;margin-bottom:24px}
  body.site-theme-revamp .revamp-service-search{width:100%}
  body.site-theme-revamp .bq-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  body.site-theme-revamp .bq-service-tile{min-height:430px;padding:24px!important}
}
@media (max-width:767.98px){
  body.site-theme-revamp .bq-page-hero{padding-top:110px!important}
  body.site-theme-revamp .bq-services-breadcrumb{display:none}
  body.site-theme-revamp .bq-services-index{padding:32px 0 58px!important}
  body.site-theme-revamp .bq-service-grid{grid-template-columns:1fr}
  body.site-theme-revamp .bq-service-tile{min-height:530px;padding:22px!important}
  body.site-theme-revamp .bq-service-tile__icon{opacity:1;transform:none}
}
