/* WAHBI SOLUTIONS 4.15 — mobile refinements.
 * Load after the existing page and navigation styles.
 * Uses real component selectors; no global overflow mask or desktop rescale.
 * Device/dashboard internals are deliberately owned by their own stylesheet.
 */

@media (max-width: 800px) {
  /* Prevent automatic text inflation while retaining browser/user zoom. */
  :is(.casablanca-home, .cp-page, .wsn-page) {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  :is(.cp-page, .wsn-page) :is(section[id], form[id], [tabindex="-1"]),
  .casablanca-home :is(.cb-paths, .cb-solutions, .ws-pricing, .v8-faq, .cb-contact) {
    scroll-margin-block-start: 92px;
  }

  /* The menu owns its scrolling. Safe-area padding keeps the final CTA usable. */
  .hfn-shell .hfn-mobile {
    max-height: calc(100svh - 68px);
    max-height: calc(100dvh - 68px);
    padding-block-end: max(28px, env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
  }
  .hfn-shell .hfn-mobile-greeting {
    padding-inline-end: 50px;
    padding-block-end: 22px;
  }
  .hfn-shell .hfn-menu-toggle,
  .hfn-shell .hfn-mobile-close,
  .hfn-shell .hfn-mega-close {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }
  .hfn-shell .hfn-mobile-close { right: auto; left: auto; inset-inline-end: 0; }
  .hfn-shell .hfn-mobile-top-group > summary {
    min-height: 56px;
    padding-block: 15px;
    font-size: 18px;
    line-height: 1.45;
  }
  .hfn-shell .hfn-mobile-sub-group > summary {
    min-height: 48px;
    padding-block: 12px;
    font-size: 16px;
    line-height: 1.5;
    gap: 12px;
  }
  .hfn-shell .hfn-mobile :is(a, .hfn-mobile-contact) {
    min-height: 44px;
    font-size: 15px;
    line-height: 1.55;
    padding-block: 12px;
    color: #355a80;
    min-width: 0;
  }
  .hfn-shell .hfn-mobile-sub-group p {
    font-size: 15px;
    line-height: 1.7;
    color: #526b89;
  }
  .hfn-shell .hfn-mobile :is(a, button, summary):focus-visible {
    outline: 3px solid #155bff;
    outline-offset: 3px;
  }

  /* Service pages: a reading scale, without enlarging every decorative label. */
  .cp-page .cp-wrap { width: calc(100% - 36px); min-width: 0; }
  .cp-page :is(.cp-hero-copy, .cp-hero-visual, .cp-stage, .cp-preparation,
    .cp-form-intro, .cp-form, .ap-profile-picker, .ap-directory-grid > a) { min-width: 0; }
  .cp-page :is(.cp-form-layout, .cp-section-head) {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .cp-page .cp-lead { font-size: 17px; line-height: 1.75; }
  .cp-page :is(.cp-stage p, .cp-preparation > p, .cp-highlights p,
    .cp-section-head p, .cp-form-intro > p, .cp-contact-card p,
    .cp-faq details p, .cp-faq > div > p) {
    font-size: 16px;
    line-height: 1.75;
  }
  .cp-page :is(.cp-stage, .cp-preparation) { padding: 24px 20px; }
  .cp-page :is(.cp-section, .ap-directory) { padding-block-end: 52px; }
  .cp-page :is(.cp-project-section, .as-form-section) { padding-block: 48px; }
  .cp-page .cp-checklist label { min-height: 44px; align-items: flex-start; }
  .cp-page :is(.cp-button, .cp-back, .cp-text-link) {
    min-height: 48px;
    touch-action: manipulation;
  }
  .cp-page .cp-button { white-space: normal; text-align: center; }
  .cp-page .cp-contact-card a { min-height: 44px; }
  .cp-page :is(.cp-contact-card a, .cp-draft-panel, .cp-form-summary-last) {
    overflow-wrap: anywhere;
  }

  /* Editable inputs remain >=16px, including the formerly 12px profile picker. */
  .cp-page .cp-field :is(input, select, textarea),
  .cp-page .cp-draft-panel textarea,
  .cp-page .ap-profile-nav select,
  .cb-contact :is(input:not([type="checkbox"]), select, textarea),
  .casablanca-home .v2-newsletter-field input {
    font-size: 16px;
    line-height: 1.5;
    min-height: 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .cp-page .ap-profile-nav select { padding: 11px 30px 11px 12px; }
  .cp-page .ap-profile-nav { gap: 14px; padding: 16px; }
  .cp-page .ap-profile-nav label,
  .cp-page .cp-field > label,
  .cp-page .cp-field > span:first-child,
  .cb-contact .cb-contact-field label { font-size: 14px; line-height: 1.55; }
  .cp-page .ap-profile-nav > a { min-height: 44px; padding-block: 10px; font-size: 14px; }
  .cp-page .cp-help, .cp-page .cp-consent,
  .cb-contact .cb-contact-help, .cb-contact .cb-contact-consent > label {
    font-size: 14px;
    line-height: 1.65;
  }
  .cp-page .cp-consent,
  .cb-contact .cb-contact-consent { padding-block: 5px; }
  .cp-page .cp-consent input,
  .cb-contact .cb-contact-consent > input { width: 20px; height: 20px; }
  .cp-page .cp-consent,
  .cb-contact .cb-contact-consent { grid-template-columns: 20px minmax(0, 1fr); }
  .cp-page .cp-form-progress {
    gap: 10px;
    white-space: normal;
    align-items: stretch;
  }
  .cp-page .cp-form-progress > span { min-width: 0; gap: 6px; }
  .cp-page .cp-form-progress b { font-size: 12px; line-height: 1.45; }
  .cp-page .cp-form-step,
  .cp-page .cp-field,
  .cb-contact .cb-contact-field { scroll-margin-block-start: 96px; }
  .cp-page .cp-footer { padding-block: 24px; row-gap: 8px; }
  .cp-page .cp-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
  .cp-page .cp-footer > span { font-size: 13px; line-height: 1.65; }

  /* Modest information pages and login cards follow the same scale. */
  .wsn-page :is(.wsn-page-hero p, .wsn-page-card p, .wsn-login-card p) {
    font-size: 16px;
    line-height: 1.75;
  }
  .wsn-page :is(.wsn-page-cta, .wsn-page-card > a, .wsn-page-contact a) {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-size: 15px;
    white-space: normal;
  }
  .wsn-page :is(.wsn-page-context a, .wsn-page-footer a) {
    white-space: normal;
    min-height: 44px;
    padding-block: 9px;
    overflow-wrap: anywhere;
  }

  /* Homepage reading / tap comfort outside the device demonstration. */
  .casablanca-home .cb-path-content p,
  .casablanca-home .cb-section-heading > p,
  .casablanca-home .cb-solutions .cb-card-intro,
  .casablanca-home .cb-solutions .ah-home-panel p,
  .casablanca-home .v8-faq .v8-faq-answer > p {
    font-size: 16px;
    line-height: 1.7;
  }
  .casablanca-home .cb-solutions .cb-solution-card {
    min-height: 0;
    height: auto;
  }
  .casablanca-home .cb-card-footer a,
  .casablanca-home .ah-home-footer > a,
  .casablanca-home .ah-home-tabs > button,
  .casablanca-home .v8-faq .v8-faq-filters > button {
    min-height: 44px;
  }
  .casablanca-home .ws-price-offer-bottom { flex-wrap: wrap; gap: 18px; }
  .casablanca-home .ws-price-cta { min-height: 48px; font-size: 15px; max-width: none; }
  .casablanca-home .ws-price-note { font-size: 13px; line-height: 1.7; }

  .cb-contact .cb-contact-wrap { width: calc(100% - 36px); gap: 32px; }
  .cb-contact .cb-contact-details a { min-height: 44px; font-size: 16px; }
  .cb-contact .cb-contact-form { scroll-margin-block-start: 88px; }
  .cb-contact .cb-contact-submit { min-height: 52px; font-size: 16px; }
  .cb-contact .cb-contact-submit-row > p { font-size: 14px; line-height: 1.65; }

  .casablanca-home .v2-footer-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-block-end: 3px;
    font-size: 15px;
    line-height: 1.5;
  }
  .casablanca-home :is(.v2-contact-mails > a, .v2-contact-phones > a,
    .v2-contact-whatsapp, .v2-footer-socials > a, .v2-back-top) { min-height: 44px; }
  .casablanca-home :is(.v2-contact-mails > a, .v2-footer-contact-card address) {
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.65;
  }
  .casablanca-home .v2-newsletter-consent { font-size: 13px; line-height: 1.65; }
  .casablanca-home .v2-newsletter-demo { font-size: 13px; line-height: 1.65; }
  .casablanca-home .v2-footer-bottom > div > a { display: inline-flex; align-items: center; min-height: 44px; }

  /* Native dialogs retain a usable close control and a scrollable body. */
  .casablanca-home .prototype-modal {
    max-height: calc(100svh - 28px);
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 30px 22px;
  }
  .casablanca-home .prototype-modal .modal-close { min-width: 44px; min-height: 44px; }
  .casablanca-home .prototype-modal h2 { font-size: 28px; line-height: 1.2; }
  .casablanca-home .prototype-modal p { font-size: 16px; line-height: 1.7; }
  .casablanca-home .hf-chat-options button { min-height: 48px; font-size: 16px; line-height: 1.5; }
}

@media (max-width: 560px) {
  .cp-page .cp-hero h1,
  .cp-page.as-page .cp-hero h1 { font-size: clamp(32px, 8.8vw, 40px); line-height: 1.13; }
  .cp-page .cp-hero-art,
  .cp-page .as-hero-art { width: 100%; max-width: 100%; margin-inline: 0; }
  .cp-page .cp-switcher { gap: 6px; }
  .cp-page .cp-switcher > span { width: 100%; padding: 6px 8px; font-size: 12px; }
  .cp-page .cp-switcher > a {
    flex: 1 1 28%;
    white-space: normal;
    padding: 11px 8px;
    font-size: 14px;
    line-height: 1.45;
  }
  .cp-page .cp-actions { gap: 12px; align-items: stretch; }
  .cp-page .cp-actions > .cp-button { flex: 1 1 100%; font-size: 16px; }
  .cp-page .cp-actions > .cp-text-link { font-size: 15px; }
  .cp-page .cp-form-grid,
  .cb-contact .cb-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cp-page .cp-field-wide,
  .cb-contact .cb-contact-field-wide { grid-column: auto; }
  .cp-page .cp-form { padding: 24px 18px; border-radius: 16px; }
  .cp-page .cp-form-actions { gap: 12px; }
  .cp-page .cp-form-actions .cp-button { width: 100%; margin-inline: 0; }
  .cp-page .ap-profile-picker > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cp-page .ap-profile-picker button { width: 100%; min-height: 48px; font-size: 15px; }
  .cp-page .ap-hub-contact { padding: 24px 18px; }
  .cp-page .ap-directory-grid > a { grid-template-columns: 84px minmax(0, 1fr); gap: 8px 13px; }
  .cp-page .ap-directory-grid img { width: 84px; height: 98px; }
  .cp-page .ap-directory-grid p { font-size: 16px; line-height: 1.55; }
  .cp-page .as-topic-panel { min-height: 0; padding: 26px 20px; }
  .cp-page .as-tabs { flex-wrap: wrap; }
  .cp-page .as-tabs button { flex-basis: calc(50% - 4px); min-height: 48px; font-size: 14px; }
  .cp-page .as-orbit-track { flex-wrap: wrap; gap: 12px 16px; }

  .casablanca-home .hf-benefits { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 22px; }
  .casablanca-home .hf-benefits > div { flex-direction: row; align-items: flex-start; gap: 12px; }
  .casablanca-home .hf-benefits strong { font-size: 16px; line-height: 1.45; }
  .casablanca-home .hf-benefits small { font-size: 14px; line-height: 1.55; margin-top: 3px; }
  .casablanca-home .v2-newsletter-field { flex-direction: column; gap: 8px; padding: 9px; }
  .casablanca-home .v2-newsletter-field input { flex: auto; padding: 11px 10px; }
  .casablanca-home .v2-newsletter-field button { width: 100%; min-height: 48px; font-size: 15px; }
  .casablanca-home .v2-footer-bottom { font-size: 13px; line-height: 1.65; }
  .casablanca-home .v2-footer-bottom > div { column-gap: 16px; row-gap: 0; }
}

@media (max-width: 360px) {
  .hfn-shell .hfn-header .hfn-actions { gap: 6px; }
  .hfn-shell .hfn-header .hfn-create.wb-launch { padding-inline: 27px 7px; min-height: 44px; }
  .hfn-shell .hfn-header .wb-launch .wb-launch-art,
  .hfn-shell .hfn-header .wb-launch .wb-launch-art > img { width: 46px; height: 46px; }
  .hfn-shell .hfn-mobile { padding-inline: 18px; }
  .casablanca-home .cb-profile-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .casablanca-home .cb-profile-grid .cb-profile { height: 272px; }
  .casablanca-home .cb-profile-copy > strong { font-size: 23px; }
  .casablanca-home .cb-profile-copy > span { max-width: none; font-size: 14px; }
  .casablanca-home .cb-profile-copy > small { font-size: 11px; }
  .cp-page .cp-form-progress { gap: 7px; }
  .cp-page .cp-form-progress > span { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (hover: none) and (pointer: coarse) {
  .cp-page :is(.cp-hero-art, .as-hero-art),
  .casablanca-home .ah-home-scene > img { animation: none; will-change: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-page :is(.cp-hero-art, .as-hero-art, .as-orbit-track i),
  .casablanca-home :is(.ah-home-scene > img, .ah-home-panel),
  .hfn-shell :is(.wb-signature-emblem, .wb-launch-art > img) {
    animation: none;
    transition: none;
    will-change: auto;
  }
}

/* Inputs with an address/number retain logical order when the page is RTL. */
:is(.cp-page, .casablanca-home) :is(input[type="email"], input[type="tel"], input[type="url"]) {
  direction: ltr;
  text-align: start;
  unicode-bidi: plaintext;
}
/* Product cards and dialog controls across the shared navigation. */
@media(min-width:1041px){
 .hfn-shell #hfn-mega-products .hfn-mega-products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 .hfn-shell #hfn-mega-products .hfn-mega-products-grid>a{padding:16px 14px;gap:14px;min-width:0}
 .hfn-shell #hfn-mega-products .hfn-product-mini{height:128px;min-height:128px}
 .hfn-shell #hfn-mega-products .wsn-card-kicker{font-size:10px;line-height:1.4}
 .hfn-shell #hfn-mega-products .wsn-card-description{font-size:13px;line-height:1.6}
}
@media(max-width:700px){
 body.casablanca-home #hf-modal .hf-dialog-top{position:sticky;top:-1px;z-index:30;min-height:62px;background:#f5faff;padding-block:8px}
 body.casablanca-home #hf-modal .hf-dialog-top [data-hf-close]{width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;font-size:25px}
 body.casablanca-home .hf-controls .hf-platform-tabs{order:1}
 body.casablanca-home .hf-controls .hf-work-zoom{order:2}
}
@media(max-width:360px){
 .hfn-shell .hfn-header.hfn-wrap{width:calc(100% - 20px);column-gap:3px}
 .hfn-shell .hfn-header .hfn-actions{gap:4px}
}
@media(max-width:360px){
 body.casablanca-home .hf-actions{flex-direction:column;align-items:stretch;gap:10px}
 body.casablanca-home .hf-actions>button{width:100%;justify-content:center;min-height:48px;white-space:normal}
}
@media(max-width:700px){
 .portal-app .portal-topbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:8px;height:auto;min-height:64px;padding:10px 14px}
 .portal-app .portal-topbar>.mobile-menu{grid-column:1;grid-row:1}
 .portal-app .portal-topbar>.notification-button{grid-column:3;grid-row:1}
 .portal-app .portal-topbar>.profile-button{grid-column:4;grid-row:1}
 .portal-app .portal-topbar>.portal-view-selector{grid-column:1/-1;grid-row:2;justify-content:center;max-width:100%;width:100%}
 .portal-app .icon-button,.portal-app .profile-button{min-width:44px;min-height:44px}
 .portal-app .welcome-panel>div{min-width:0;width:100%;max-width:100%}
 .portal-app .welcome-panel h1,.portal-app .welcome-panel p{width:auto;min-width:0;max-width:100%;overflow-wrap:break-word}
 .portal-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
}
@media(max-width:700px){
 .portal-app .welcome-panel{grid-template-columns:minmax(0,1fr)!important}
 .portal-app .welcome-panel>div{min-width:0!important}
}
@media(max-width:420px){
 .casablanca-home .v7-insight-steps{display:grid;width:100%;max-width:100%;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr) 10px minmax(0,1fr);gap:2px;margin-inline:0}
 .casablanca-home .v7-insight-step{min-width:0;width:auto}
 .casablanca-home .v7-insight-step :is(strong,span){white-space:normal;overflow-wrap:break-word;text-align:center}
 .casablanca-home .v7-insight-step .v7-step-art{width:min(100%,72px);height:auto}
 .casablanca-home .v7-step-connector{min-width:0;width:10px;font-size:12px}
 .casablanca-home .cb-metrics{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
 .casablanca-home .cb-metrics>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;min-width:0;padding-block:10px;border-top:1px solid #dce7f7}
 .casablanca-home .cb-metrics>div>span{font-size:13px;line-height:1.4}
 .casablanca-home .cb-metrics strong{font-size:22px;white-space:nowrap;max-width:100%;justify-self:end;gap:4px}
 .casablanca-home .cb-metrics em{grid-column:1/-1;font-size:12px}
 .casablanca-home .ah-home-tabs{display:flex;flex-wrap:wrap}
 .casablanca-home .ah-home-tabs>button{flex:1 1 95px;min-height:44px;white-space:normal;font-size:13px;padding:8px}
}
@media(max-width:700px){
 :is(.hf-demo-expanded,.v7-app .large-dashboard) .hf-dd-ring>div>span{font-size:10px}
 :is(.hf-demo-expanded,.v7-app .large-dashboard) .hf-dd-ring.is-long strong{font-size:18px;letter-spacing:-.05em}
}
@media(max-width:700px){
 .portal-app .welcome-panel{display:flex;flex-direction:column;gap:20px;min-height:0;height:auto}
 .portal-app .welcome-panel>img{position:relative;inset:auto;transform:none;translate:none;scale:none;width:100%;max-width:290px;height:auto;max-height:200px;object-fit:contain;flex:none;align-self:center;margin:0 auto}
}
@media(max-width:360px){
 .casablanca-home .v9-benefit-choices{grid-template-columns:minmax(0,1fr)}
 .casablanca-home .v9-benefit-choice{min-width:0;width:100%;min-height:50px}
 .casablanca-home .v9-benefit-copy,.casablanca-home .v9-benefit-copy strong{white-space:normal;overflow-wrap:break-word;font-size:15px;line-height:1.45}
}
@media(max-width:360px){
 .hfn-shell .hfn-brand.wb-exact-brand{min-width:112px;min-height:44px}
 .hfn-shell .hfn-brand.wb-exact-brand>img.wb-exact-lockup{width:112px!important;height:auto!important}
}
@media(max-width:700px){
 #wahbi-fixed-logo{--wbc-width:136px;--wbc-left:12px;--wbc-top:5px}
 body.wbc-integrated #wahbi-navigation .hfn-header{width:calc(100% - 24px)!important;padding-left:148px!important;column-gap:4px}
 body.wbc-integrated .hfn-shell .hfn-actions{gap:6px!important;min-width:0}
}
@media(max-width:360px){
 #wahbi-fixed-logo{--wbc-width:118px;--wbc-left:10px;--wbc-top:7px}
 body.wbc-integrated #wahbi-navigation .hfn-header{width:calc(100% - 20px)!important;padding-left:128px!important}
 body.wbc-integrated .hfn-shell .hfn-actions{gap:4px!important}
}
/* Larger mobile hero devices; the standalone phone preview keeps its own sizing. */
@media(max-width:700px){
 body.casablanca-home .hf-hero .hf-stage{width:calc(100% + 36px);margin-inline:-18px;margin-top:38px}
 body.casablanca-home .hf-hero .hf-laptop{width:110%;justify-self:center;inset:auto;margin:0;transform:none}
 body.casablanca-home .hf-hero .hf-phone{position:relative;grid-column:1;grid-row:1;justify-self:end;align-self:end;inset:auto;width:32%;max-width:none;margin:0;margin-inline-end:2.5%;margin-block-end:-24px;transform:rotate(3deg);rotate:0deg;scale:1;translate:none}
 body.casablanca-home .hf-hero .hf-controls{width:calc(100% - 36px);margin-inline:auto;margin-top:60px}
}

/* WS_MOBILE_HERO_SCENE_START: homepage changes are confined to mobile. */
.ws-hero-mobile-intro{display:none}
@media(max-width:700px){
 body.casablanca-home .hf-hero .hf-stage{--hm-scene-accent:#155bff;display:grid;width:calc(100% + 36px);margin-inline:-18px;margin-top:34px;padding:0 0 8px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:0;align-content:start;isolation:isolate}
 body.casablanca-home .hf-hero .hf-grid{padding-bottom:8px}
 body.casablanca-home .hf-hero .hf-stage[data-ws-active=accounting]{--hm-scene-accent:#087da9}body.casablanca-home .hf-hero .hf-stage[data-ws-active=tax]{--hm-scene-accent:#6351d8}
 body.casablanca-home .hf-hero .hf-stage:before{content:'';position:absolute;z-index:-1;pointer-events:none;width:min(620px,150%);aspect-ratio:1;left:50%;top:160px;translate:-50% 0;border-radius:50%;background:radial-gradient(ellipse,#4d98fa2b,transparent 70%);filter:blur(2px)}
 body.casablanca-home .hf-hero .hf-laptop{display:none!important}
 body.casablanca-home .hf-hero :is(.hf-insight,.hf-payment){display:none!important}
 body.casablanca-home .hf-hero .ws-hero-mobile-intro{display:block;grid-column:1;grid-row:1;text-align:center;width:calc(100% - 40px);max-width:410px;justify-self:center;position:relative;z-index:1;margin:0 0 20px;padding:17px 10px;border-radius:20px;background:linear-gradient(to bottom,#f7fbffed,#edf7ff8c)}
 .ws-hero-mobile-intro>span{display:block;font:750 10px/1.5 Inter,Arial,sans-serif;letter-spacing:.13em;color:#426891;margin-bottom:10px}
 .ws-hero-mobile-intro h2{font:800 29px/1.1 Manrope,Inter,Arial,sans-serif;letter-spacing:-.055em;color:#102747;margin:0}
 .ws-hero-mobile-intro h2 em{color:var(--hm-scene-accent);font-style:normal}.ws-hero-mobile-intro p{font:400 13px/1.6 Inter,Arial,sans-serif;color:#4f6c91;margin:12px 0 0}
 body.casablanca-home .hf-hero .hf-controls{display:contents}
 body.casablanca-home .hf-hero .hf-controls .hf-platform-tabs{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100% - 26px);max-width:470px;justify-self:center;padding:5px;gap:5px;background:#ffffffc9;border:1px solid #cfdef4;border-radius:17px;margin:0 0 10px;box-shadow:0 8px 20px #163b6909;backdrop-filter:blur(12px)}
 body.casablanca-home .hf-hero .hf-controls .hf-platform-tabs button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:76px;padding:10px 5px;line-height:1.3;font-size:11px;font-weight:600;text-align:center;white-space:normal;border-radius:11px;color:#6987af;border:1px solid transparent;box-shadow:none}
 body.casablanca-home .hf-hero .hf-controls .hf-platform-tabs button>svg{width:18px;height:18px;flex:none}
 body.casablanca-home .hf-hero .hf-controls .hf-platform-tabs button[aria-selected=true]{color:#fff;background:var(--hm-scene-accent);box-shadow:0 5px 10px #155bff16}
 body.casablanca-home .hf-hero .hf-phone{position:relative;grid-column:1;grid-row:3;justify-self:center;align-self:start;inset:auto;width:min(110%,470px);max-width:none;aspect-ratio:887/1774;margin:0;transform:none!important;rotate:0deg;scale:1;translate:none!important;filter:drop-shadow(0 25px 22px #153b6736);transition:none;z-index:2;scroll-margin-top:32px}
 body.casablanca-home .hf-hero .hf-phone-content{background:#f6f9ff;pointer-events:auto}
 body.casablanca-home .hf-hero .hf-controls .hf-work-zoom{grid-column:1;grid-row:4;justify-self:center;display:flex;align-items:center;justify-content:center;width:calc(100% - 52px);max-width:380px;min-height:50px;font-size:14px;gap:10px;margin:4px 0 0;background:#fff;border:1px solid #cbdcf4;box-shadow:0 7px 15px #193c680c;border-radius:13px;color:#245488}
 body.casablanca-home .hf-hero .hf-controls .hf-work-zoom svg{width:19px;height:19px}
 body.casablanca-home .hf-hero .hf-environment{top:300px;bottom:0;height:calc(100% - 250px);width:180%;left:-40%;right:auto;opacity:1}
 body.casablanca-home .hf-hero .hf-environment img{width:100%;height:100%;object-fit:cover;object-position:64% 50%}
 body.casablanca-home .hf-hero .hf-benefits{margin-top:8px;padding-block:14px;gap:14px;position:relative;z-index:1}
 body.casablanca-home #parcours.cb-paths{padding-top:28px}
 html[lang=ar] .ws-hero-mobile-intro h2{font-family:'Noto Sans Arabic',Inter,Arial,sans-serif;font-size:28px;line-height:1.5;letter-spacing:0}html[lang=ar] .ws-hero-mobile-intro p{font-family:'Noto Sans Arabic',Inter,Arial,sans-serif;line-height:1.7}
}
@media(max-width:360px){
 body.casablanca-home .hf-hero .hf-stage{margin-top:30px}.ws-hero-mobile-intro h2{font-size:27px}
 body.casablanca-home .hf-hero .hf-controls .hf-platform-tabs{width:calc(100% - 20px);padding:4px;gap:3px}
 body.casablanca-home .hf-hero .hf-controls .hf-platform-tabs button{font-size:10px;padding:9px 4px;min-height:74px}
}
/* WS_MOBILE_HERO_SCENE_END */
