  :root{
    --bg:#FFFFFF;
    --bg-soft:#F7F4EF;
    --ink:#0B0B0B;
    --muted:#5C5C56;
    --red:#DC291E;
    --red-dark:#B02118;
    --line:#E4E0D8;
    --card-shadow: 0 18px 44px -20px rgba(20,20,15,0.18);
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--muted);
    font-family:'Montserrat',sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden; /* the full-bleed .sub-card-wide breakout (100vw + negative margins)
                           can overshoot by a scrollbar's width on some browsers otherwise */
  }
  img{max-width:100%;display:block;}
  a{color:inherit;text-decoration:none;}
  a,button,.btn{-webkit-tap-highlight-color:transparent;}
  ul{list-style:none;}
  .wrap{max-width:1240px;margin:0 auto;padding:0 32px;}
  h1,h2,h3,h4{font-family:'Montserrat',sans-serif;font-weight:500;line-height:1.18;letter-spacing:0.01em;color:var(--ink);}
  h1,.section-head h2{text-transform:uppercase;font-weight:400;letter-spacing:0.04em;text-wrap:balance;}
  .eyebrow{
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:14px;letter-spacing:0.18em;
    text-transform:uppercase;color:var(--ink);display:inline-block;margin-bottom:10px;
  }
  .eyebrow::after{content:"";display:block;width:36px;height:1.5px;background:var(--red);border-radius:2px;margin:10px auto 0;}
  #about .eyebrow{color:var(--red);}
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:9px;text-align:center;
    font-family:'Montserrat',sans-serif;font-weight:500;font-size:15px;letter-spacing:0.04em;
    padding:15px 30px;border-radius:100px;corner-shape:squircle;border:1.5px solid transparent;cursor:pointer;
    touch-action:manipulation;
    transition:transform .18s ease, scale .12s ease-out, background .18s ease, color .18s ease, box-shadow .18s ease;
  }
  .btn:active{scale:0.96;}
  .btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px;}
  .btn svg{width:16px;height:16px;stroke:currentColor;flex-shrink:0;}
  .btn-red{background:transparent;border-color:var(--red);color:var(--red);}
  .btn-red:hover{background:var(--red);color:#fff;transform:translateY(-2px);box-shadow:0 12px 24px -10px rgba(220,41,30,0.45);}
  .btn-dark{background:var(--ink);color:#fff;}
  .btn-dark:hover{background:#000;transform:translateY(-2px);}
  /* solid black primary CTA — border keeps it visible against the dark
     hero video backdrop; hover fills red per the brand accent rule. */
  .btn-black{background:var(--ink);color:#fff;border-color:rgba(255,255,255,0.3);}
  .btn-black:hover{background:var(--red);border-color:var(--red);transform:translateY(-2px);box-shadow:0 12px 24px -10px rgba(220,41,30,0.45);}
  .btn-outline{border-color:#fff;color:#fff;}
  .btn-outline:hover{background:#fff;color:var(--ink);transform:translateY(-2px);}
  .btn-ghost{border-color:var(--line);color:var(--ink);}
  .btn-ghost:hover{border-color:var(--ink);transform:translateY(-2px);}

  /* ---------- MOTION KEYFRAMES ---------- */
  @keyframes float-y{0%,100%{transform:translateY(0) rotate(var(--rot,0deg));}50%{transform:translateY(-14px) rotate(var(--rot,0deg));}}
  @keyframes spin-slow{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
  @keyframes pulse-ring{0%{box-shadow:0 0 0 0 rgba(220,41,30,0.45);}70%{box-shadow:0 0 0 14px rgba(220,41,30,0);}100%{box-shadow:0 0 0 0 rgba(220,41,30,0);}}
  @keyframes wiggle{0%,100%{transform:rotate(-8deg);}50%{transform:rotate(8deg);}}
  @keyframes roller-stroke{0%,100%{transform:translateX(-4px);}50%{transform:translateX(4px);}}
  @keyframes flicker{0%,19%,21%,23%,25%,54%,56%,100%{opacity:1;}20%,22%,24%,55%{opacity:0.35;}}
  @keyframes bob{0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}

  .btn-red.pulse-cta{animation:pulse-ring 2.6s ease-out infinite;}

  /* floating trade chips in hero */
  .hero-chips{position:absolute;inset:0;z-index:2;pointer-events:none;}
  .hero-chip{
    position:absolute;width:56px;height:56px;border-radius:16px;
    background:rgba(255,255,255,0.14);border:1px solid rgba(255,255,255,0.28);
    backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;
    animation:float-y 5.5s ease-in-out infinite;
  }
  .hero-chip svg{width:26px;height:26px;stroke:#fff;}
  .hero-chip.c1{top:16%;right:14%;--rot:-6deg;animation-delay:0s;}
  .hero-chip.c2{top:42%;right:6%;--rot:5deg;animation-delay:.9s;animation-duration:6.5s;}
  .hero-chip.c3{top:66%;right:20%;--rot:-4deg;animation-delay:1.8s;animation-duration:5s;}
  .hero-chip.c4{top:26%;right:32%;--rot:8deg;animation-delay:.4s;animation-duration:7s;}
  @media (max-width:980px){.hero-chips{display:none;}}

  /* icon-thumb motion, per service */
  .thumb.icon-thumb svg{transition:transform .35s ease;}
  .icon-anim-spin svg{animation:spin-slow 7s linear infinite;}
  .icon-anim-bolt svg{animation:flicker 3.2s ease-in-out infinite;}
  .icon-anim-roller svg{animation:roller-stroke 1.6s ease-in-out infinite;}
  .icon-anim-wiggle svg{animation:wiggle 2.4s ease-in-out infinite;transform-origin:50% 80%;}
  .icon-anim-bob svg{animation:bob 2.6s ease-in-out infinite;}
  .icon-anim-sway svg{animation:wiggle 3.4s ease-in-out infinite;transform-origin:50% 100%;}

  /* animated stat counters */
  .stats-band{background:var(--ink);padding:26px 0;}
  .stats-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;}
  .stats-grid .stat{text-align:left;color:#fff;}
  .stats-grid .num{font-family:'Montserrat',sans-serif;font-weight:800;font-size:36px;line-height:1;}
  .stats-grid .num.num-text{font-size:20px;}
  .stats-grid .label{font-size:15px;text-transform:uppercase;letter-spacing:0.06em;opacity:0.85;margin-top:6px;}

  @media (prefers-reduced-motion: reduce){
    .hero-chip,.icon-anim-spin svg,.icon-anim-bolt svg,.icon-anim-roller svg,
    .icon-anim-wiggle svg,.icon-anim-bob svg,.icon-anim-sway svg,
    .btn-red.pulse-cta{animation:none !important;}
  }

  /* ---------- NAV ---------- */
  header{position:sticky;top:0;z-index:100;background:var(--ink);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,0.12);box-shadow:0 4px 18px -8px rgba(0,0,0,0.35);}
  /* logo + nav links sit together on the leading edge; the lang toggle is
     pushed to the far edge by the margin-inline-start:auto on .nav-cta below */
  nav{display:flex;align-items:center;gap:36px;padding:16px 32px;max-width:1240px;margin:0 auto;}
  .logo{display:flex;align-items:center;}
  .logo-img-nav{height:40px;width:auto;display:block;}
  .logo-img img{height:64px;width:auto;display:block;}
  .nav-links{display:flex;gap:30px;align-items:center;}
  /* inline-block + padding so the tap target clears the 24px WCAG 2.5.8 minimum
     (text alone rendered only 22px tall) */
  .nav-links a{font-size:15px;font-weight:500;letter-spacing:0.02em;color:#fff;position:relative;display:inline-block;padding:5px 2px;}
  .nav-links a:hover{color:var(--red);}
  .nav-links a:hover::after{content:"";position:absolute;left:2px;right:2px;bottom:1px;height:2px;background:var(--red);border-radius:2px;}
  .nav-cta{display:flex;gap:12px;align-items:center;margin-inline-start:auto;}
  .nav-phone{font-weight:500;font-size:15px;display:flex;align-items:center;gap:8px;color:#fff;}
  .nav-phone svg{width:17px;height:17px;stroke:#fff;}
  .lang-toggle{
    font-family:'Montserrat',sans-serif;font-weight:500;font-size:14px;
    background:transparent;border:1.5px solid rgba(255,255,255,0.5);border-radius:100px;
    padding:9px 12px;cursor:pointer;color:#fff;transition:background .2s ease, color .2s ease, border-color .2s ease;
    width:99px;display:inline-flex;justify-content:center;
  }
  .lang-toggle:hover{background:#fff;color:var(--ink);border-color:#fff;}
  /* the toggle shows the language you'd switch TO, not the one you're reading:
     English page -> "عربي", Arabic page -> "EN" */
  .lang-toggle .lang-sep{display:none;}
  .lang-toggle .lang-en{display:none;}
  .lang-toggle .lang-ar{display:inline-flex;align-items:center;gap:6px;}
  html[lang="ar"] .lang-toggle .lang-en{display:inline-flex;align-items:center;gap:6px;}
  html[lang="ar"] .lang-toggle .lang-ar{display:none;}
  .lang-toggle .flag-icon{display:block;width:18px;height:13px;border-radius:2px;flex-shrink:0;}
  .header-cta{background:var(--ink);box-shadow:0 12px 24px -10px rgba(0,0,0,0.45);}
  .header-cta:hover{background:#000;}

  /* ---------- HERO ---------- */
  .hero{position:relative;min-height:92vh;display:flex;align-items:center;overflow:hidden;}
  .hero .bg{position:absolute;inset:-5% 0;will-change:transform;}
  .hero .bg::after{
    content:"";position:absolute;inset:0;
    background:linear-gradient(100deg, rgba(10,10,8,0.62) 0%, rgba(10,10,8,0.4) 45%, rgba(10,10,8,0.1) 100%);
  }
  .hero-video{width:100%;height:100%;object-fit:contain;background:var(--bg-soft);display:block;}

  .hero-content{position:relative;z-index:2;color:#fff;max-width:680px;padding:88px 0 64px;}
  .hero-content .eyebrow{color:rgba(255,255,255,0.85);}
  .hero-content .eyebrow::after{background:rgba(255,255,255,0.6);}
  .hero-content h1{font-size:clamp(38px,5.6vw,64px);margin:14px 0 20px;color:#fff;}
  .hero-content p{font-size:17px;font-weight:300;color:rgba(255,255,255,0.88);max-width:520px;margin-bottom:34px;}
  .hero-ctas{display:flex;gap:14px;flex-wrap:wrap;}

  /* top corner, not bottom: both bottom corners are permanently occupied by
     the fixed WhatsApp/call buttons sitewide, and the hero is ~92vh tall so
     a bottom-anchored button here would sit directly behind them at the
     initial scroll position. */
  .hero-video-toggle{
    position:absolute;z-index:3;top:24px;right:24px;
    width:40px;height:40px;border-radius:50%;
    background:rgba(10,10,8,0.5);border:1px solid rgba(255,255,255,0.3);
    display:flex;align-items:center;justify-content:center;cursor:pointer;
    color:#fff;transition:background .2s ease;touch-action:manipulation;
  }
  .hero-video-toggle:hover{background:rgba(10,10,8,0.7);}
  .hero-video-toggle svg{width:16px;height:16px;}
  html[dir="rtl"] .hero-video-toggle{right:auto;left:24px;}

  /* full-size hero video reused on every non-homepage page (detail, faq,
     guide, privacy, portfolio) — identical .hero treatment/height to the
     homepage so it reads as the same premium full-bleed moment on every
     page, just without the homepage's text overlay (no hero-content,
     hero-chips, or trust-float on these pages — the page's own
     breadcrumb/H1 follows immediately after). No dark gradient either,
     since there's no overlaid text here to protect contrast for. */
  .hero-inner .bg::after{display:none;}

  .trust-float{position:relative;z-index:3;margin-top:-64px;}
  .trust-card{
    background:#fff;border-radius:20px;box-shadow:var(--card-shadow);
    display:grid;grid-template-columns:repeat(4,1fr);
  }
  .trust-card .item{
    display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;
    padding:30px 20px;border-right:1px solid var(--line);
  }
  .trust-card .item:last-child{border-right:none;}
  .trust-card .item svg{width:30px;height:30px;stroke:var(--red);}
  .trust-card .item b{font-family:'Montserrat',sans-serif;font-size:16px;}
  .trust-card .item span{font-size:15px;color:var(--ink);}

  /* ---------- SECTION ---------- */
  .section{padding:72px 0 64px;}
  .section.tight-top{padding-top:48px;}
  .section-head{max-width:640px;margin:0 auto 36px;text-align:center;}
  .section-head .eyebrow::after, #about .eyebrow::after{
    content:"";display:block;width:44px;height:1.5px;background:var(--red);border-radius:2px;margin:10px auto 0;
  }
  .section-head h1, .section-head h2{font-size:clamp(24px,2.8vw,34px);}
  #services .section-head h2{font-size:26px;}
  .section-head p{color:var(--ink);margin-top:14px;font-size:16px;}
  #services .section-head p{font-size:20px;}
  .bg-soft{background:var(--bg-soft);}

  /* ---------- FAQ PREVIEW ---------- */
  .faq-preview-more{display:flex;width:fit-content;margin:40px auto 0;white-space:nowrap;}

  /* ---------- BANNER ---------- */
  .banner{position:relative;border-radius:28px;overflow:hidden;display:flex;flex-direction:column;align-items:center;}
  .banner-media{position:relative;width:100%;aspect-ratio:1600/893;}
  .banner-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
  .banner .content{position:relative;z-index:2;padding:32px;color:var(--ink);text-align:center;}
  .banner .eyebrow{color:var(--red);}
  .banner h2{font-size:clamp(26px,3.4vw,38px);margin-bottom:16px;}
  .banner p{color:var(--ink);margin:0 auto 26px;font-size:16px;max-width:640px;}

  /* ---------- TESTIMONIALS ---------- */
  .testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
  .testi-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px 26px;box-shadow:var(--card-shadow);}
  .testi-card .stars{display:flex;gap:3px;margin-bottom:14px;}
  .testi-card .stars svg{width:15px;height:15px;fill:var(--red);}
  .testi-card h4{font-size:16px;margin-bottom:8px;}
  .testi-card p.quote{font-size:16px;color:var(--ink);margin-bottom:18px;}
  .testi-card .who{display:flex;align-items:center;gap:11px;}
  .testi-card .avatar{
    width:36px;height:36px;border-radius:50%;background:var(--bg-soft);color:var(--ink);
    display:flex;align-items:center;justify-content:center;font-family:'Montserrat',sans-serif;font-weight:600;font-size:15px;
  }
  .testi-card .name{font-weight:600;font-size:16px;}
  .testi-card .loc{font-size:15px;color:var(--ink);}

  /* ---------- FAQ ---------- */
  .faq-list{max-width:820px;margin:0 auto;}
  .faq-item{border-bottom:1px solid var(--line);}
  .faq-item summary{
    list-style:none;cursor:pointer;padding:22px 4px;
    display:flex;justify-content:space-between;align-items:center;gap:20px;
    font-family:'Montserrat',sans-serif;font-size:16px;font-weight:600;
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-item summary .plus{
    width:28px;height:28px;border-radius:50%;background:var(--bg-soft);color:var(--red);flex:none;
    display:flex;align-items:center;justify-content:center;font-size:18px;transition:transform .2s ease, background .2s ease;
  }
  .faq-item[open] summary .plus{transform:rotate(45deg);background:var(--red);color:#fff;}
  .faq-item p{padding:0 4px 22px;color:var(--ink);max-width:640px;font-size:16px;}
  .faq-group{max-width:820px;margin:0 auto 44px;}
  .faq-group:last-child{margin-bottom:0;}
  .faq-group-title{
    font-family:'Montserrat',sans-serif;font-weight:700;font-size:15px;letter-spacing:0.08em;
    text-transform:uppercase;color:var(--red);margin-bottom:8px;padding:0 4px;
  }
  /* cross-link from each FAQ group to the matching service section on the
     homepage — sits after the list rather than inside an answer, so it doesn't
     split the answer's text node and break the AR translation lookup */
  .faq-group-link{
    display:inline-block;margin:14px 4px 0;padding:5px 0;
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:15px;color:var(--red);
  }
  .faq-group-link:hover{color:var(--red-dark);text-decoration:underline;}

  /* ---------- CTA / CONTACT ---------- */
  .cta-section{background:var(--ink);color:#fff;border-radius:32px;margin:0 32px;padding:54px 56px;}
  .cta-section .wrap{max-width:1100px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
  .cta-section .eyebrow{color:rgba(255,255,255,0.85);}
  .cta-section .eyebrow::after{background:rgba(255,255,255,0.6);}
  .cta-section h2{font-size:clamp(28px,3.6vw,42px);margin:12px 0 16px;color:#fff;}
  .cta-section p.lead{color:#fff;margin-bottom:28px;font-size:16px;}
  .cta-compact{margin:0;padding:56px 48px;}
  .cta-compact .wrap{grid-template-columns:1fr;text-align:center;max-width:640px;}
  .cta-compact h2{margin:12px 0 16px;}
  .cta-compact p.lead{margin-bottom:28px;}
  .cta-compact .hero-ctas{justify-content:center;}

  form.book-form{background:#fff;border-radius:20px;padding:26px;color:var(--ink);}
  form.book-form .field{margin-bottom:11px;}
  form.book-form label{display:block;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:4px;}
  form.book-form input,form.book-form select,form.book-form textarea{
    width:100%;border:1.5px solid var(--line);background:var(--bg-soft);border-radius:12px;
    padding:10px 14px;font-family:'Montserrat',sans-serif;font-size:16px;color:var(--ink);
  }
  form.book-form input:focus,form.book-form select:focus,form.book-form textarea:focus{outline:2px solid var(--red);outline-offset:1px;}
  form.book-form textarea{resize:vertical;min-height:60px;}
  .field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  form.book-form .field.has-error input,
  form.book-form .field.has-error select,
  form.book-form .field.has-error textarea{outline:1.5px solid var(--red);}
  form.book-form .error-msg{display:none;color:var(--red);font-size:16px;margin-top:5px;}
  form.book-form .field.has-error .error-msg{display:block;}
  .btn[disabled]{opacity:.6;cursor:not-allowed;transform:none !important;}
  .confirm{display:none;margin-top:14px;font-size:15px;color:var(--ink);}

  /* ---------- REVEAL ---------- */
  .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease, transform .7s ease;}
  .reveal.in{opacity:1;transform:translateY(0);}
  @media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;}}

  /* ---------- SKIP LINK / FOCUS ---------- */
  .skip-link{
    position:absolute;left:16px;top:-60px;z-index:1000;background:var(--ink);color:#fff;
    padding:12px 18px;border-radius:10px;font-family:'Montserrat',sans-serif;font-weight:600;font-size:16px;
    transition:top .2s ease;
  }
  .skip-link:focus{top:16px;}
  a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
    outline:2px solid var(--red);outline-offset:2px;
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:1080px){
    .services-grid{grid-template-columns:repeat(2,1fr);}
    .trust-card{grid-template-columns:repeat(2,1fr);}
    .trust-card .item:nth-child(2){border-right:none;}
  }
  /* tablet portrait (iPads etc, 721-980px): object-fit:contain on a 16:9
     video inside a tall min-height:92vh box letterboxes, exposing a hard
     --bg-soft seam. cover fills the box instead — safe since .hero already
     clips overflow. */
  @media (min-width:721px) and (max-width:980px){
    .hero-video{object-fit:cover;}
  }
  @media (max-width:980px){
    .testi-grid{grid-template-columns:1fr;}
    .cta-section .wrap{grid-template-columns:1fr;}
    .cta-section{margin:0 16px;padding:36px 24px;}
    .cta-intro{order:-1;margin-bottom:6px;}
  }
  @media (prefers-reduced-motion: reduce){*{transition:none !important;animation:none !important;} html{scroll-behavior:auto;}}

  /* ---------- SERVICE CATEGORIES ---------- */
  /* scroll-margin-top keeps deep-linked blocks (/#swimming-pools) clear of the
     ~71px sticky header, which would otherwise cover the heading on arrival */
  .category-block{margin-bottom:40px;scroll-margin-top:90px;}
  .category-block:last-child{margin-bottom:0;}
  .category-head{display:flex;align-items:flex-start;gap:20px;margin-bottom:30px;padding-bottom:22px;border-bottom:1px solid var(--line);}
  .category-learn-more{
    display:inline-flex;align-items:center;gap:6px;margin-top:10px;
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:15px;color:var(--red);
  }
  .category-learn-more svg{width:12px;height:12px;stroke:var(--red);transition:transform .2s ease;}
  .category-learn-more:hover{color:var(--red-dark);}
  .category-learn-more:hover svg{stroke:var(--red-dark);transform:translateX(4px);}
  html[dir="rtl"] .category-learn-more:hover svg{transform:translateX(-4px);}
  .category-head h3{font-size:26px;margin-bottom:6px;}
  .category-head p{font-size:20px;color:var(--ink);max-width:560px;}

  /* flex (not grid) so an odd-count last row centers its leftover card
     instead of stranding it in the first column with empty space beside it */
  .subservice-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));gap:20px;align-items:stretch;}
  /* separates the Services group from the Specialties group — a defined rule
     rather than whitespace, so the two halves of the section read as distinct.
     A <div> (not <hr>, which can't have children) with a centered logo mark
     flanked by thin lines via flexbox. */
  .section-divider{
    display:flex;align-items:center;gap:20px;
    max-width:360px;margin:48px auto;
  }
  .section-divider::before,.section-divider::after{
    content:"";flex:1;height:1px;background:var(--line);
  }
  .section-divider img{width:34px;height:34px;object-fit:contain;flex-shrink:0;opacity:0.85;}

  /* --line (#ECECE7) is ~1.09:1 on white — effectively invisible. Cards get a
     defined border so each reads as its own panel, and turn brand-red on hover
     to signal they're interactive. */
  .sub-card{
    display:flex;flex-direction:column;height:100%;
    background:#fff;border:1.5px solid #D9D9CF;border-radius:18px;overflow:hidden;
    box-shadow:var(--card-shadow);transition:box-shadow .3s ease;
  }
  .sub-card:hover{box-shadow:0 24px 52px -20px rgba(20,20,15,0.26);}
  /* stretched-link: the whole card navigates via the "Learn more" link,
     while "Request quote" and the thumb-nav buttons stay independently
     clickable above the overlay. */
  .sub-card:has(a.card-link){position:relative;}
  .sub-card a.card-link::after{content:"";position:absolute;inset:0;}
  .sub-card a:not(.card-link),
  .sub-card button{position:relative;z-index:1;}
  .sub-card a.card-link:focus-visible{outline:none;}
  .sub-card:has(a.card-link:focus-visible){outline:2px solid var(--red);outline-offset:3px;}
  /* Full-bleed breakout: the card spans the full viewport width regardless of
     the .wrap max-width it sits inside, so the specialty photography reads as
     open and immersive instead of a narrow boxed card with dead space on
     either side at wide viewports. Text content gets its own inner max-width
     so it doesn't also stretch edge-to-edge (would hurt readability). */
  .sub-card-wide{grid-column:1 / -1;}
  .sub-card-wide:not(.sub-card-cta){
    width:100vw;max-width:100vw;
    margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
    border:none;border-radius:0;box-shadow:none;background:transparent;
  }
  /* the text-only CTA card ("All Custom Creations") has no photo, so it keeps
     the normal boxed treatment at a readable width instead of breaking out */
  .sub-card-cta{max-width:720px;margin:0 auto;}
  .sub-card .thumb{position:relative;height:140px;overflow:hidden;flex:none;}
  .sub-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
  .sub-card:hover .thumb img{transform:scale(1.08);}
  .sub-card-wide .thumb{height:min(70vh,640px);border-radius:0;}
  .sub-card .thumb.icon-thumb{
    display:flex;align-items:center;justify-content:center;
    background:var(--red);
  }
  .sub-card .thumb.icon-thumb svg{width:40px;height:40px;stroke:#fff;}
  .sub-card .thumb.img-fallback,
  .banner .img-fallback{
    background:var(--red);
    display:flex;align-items:center;justify-content:center;
  }
  .sub-card .thumb.img-fallback::after{
    content:"";width:34px;height:34px;
    background:rgba(255,255,255,0.85);
    -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.6"><rect x="3" y="5" width="18" height="14" rx="2"/><circle cx="8.5" cy="10.5" r="1.5"/><path d="M21 15l-5-5L5 19"/></svg>') center/contain no-repeat;
    mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.6"><rect x="3" y="5" width="18" height="14" rx="2"/><circle cx="8.5" cy="10.5" r="1.5"/><path d="M21 15l-5-5L5 19"/></svg>') center/contain no-repeat;
  }
  .hero .bg.img-fallback,
  .banner.img-fallback{background:var(--ink);}
  .sub-card .body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1;}
  .sub-card-wide .body{max-width:720px;margin:0 auto;padding:32px 32px 8px;}
  .sub-card-wide .body h3{font-size:26px;margin-bottom:8px;font-family:'Montserrat',sans-serif;font-weight:500;color:var(--ink);}
  .sub-card-wide .body h3 + p{font-size:20px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line);}
  /* text-only catch-all card: no photo, centered, CTA button instead of a text link */
  .sub-card-cta .body{text-align:center;padding:44px 32px;}
  .sub-card-cta .body h3{font-size:26px;}
  .sub-card-cta .body h3 + p{border-bottom:none;padding-bottom:0;margin-bottom:18px;}
  .sub-card-cta .body p + p{font-size:16px;max-width:520px;margin:0 auto 24px;}
  .sub-card-cta .btn{align-self:center;margin-top:auto;}
  .customize-learn-more{align-self:center;margin-top:10px;}
  .sub-card-cta .btn svg{width:18px;height:18px;stroke:currentColor;}
  .sub-card h4{font-size:16px;margin-bottom:6px;font-family:'Montserrat',sans-serif;font-weight:600;color:var(--ink);}
  .sub-card p{font-size:15px;color:var(--ink);margin-bottom:12px;}
  .sub-card .link{display:inline-flex;align-items:center;gap:6px;font-family:'Montserrat',sans-serif;font-weight:600;font-size:16px;color:var(--red);margin-top:auto;}
  .sub-card .link svg{width:12px;height:12px;stroke:var(--red);transition:transform .2s ease;}
  .sub-card:hover .link svg{transform:translateX(4px);}

  /* ---------- THUMB SLIDESHOW ---------- */
  .thumb-slideshow img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
  .thumb-nav{
    position:absolute;top:50%;transform:translateY(-50%);z-index:2;
    width:28px;height:28px;border-radius:50%;background:rgba(10,10,8,0.55);border:none;
    display:flex;align-items:center;justify-content:center;cursor:pointer;
  }
  .thumb-nav svg{width:14px;height:14px;stroke:#fff;}
  .thumb-prev{left:8px;}
  .thumb-next{right:8px;}
  .thumb-nav.is-hidden{display:none;}
  /* the dot stays visually small, but the button itself is a 24px hit area
     (WCAG 2.5.8) — the visible dot is drawn as a ::before inside it */
  .thumb-dots{position:absolute;bottom:0;left:0;right:0;z-index:2;display:flex;justify-content:center;gap:0;}
  .thumb-dots button{
    width:24px;height:24px;padding:0;border:none;background:none;cursor:pointer;
    display:flex;align-items:center;justify-content:center;
  }
  .thumb-dots button::before{
    content:"";width:6px;height:6px;border-radius:50%;
    background:rgba(255,255,255,0.6);transition:width .2s ease, background .2s ease;
  }
  .thumb-dots button.active::before{background:#fff;width:15px;border-radius:3px;}

  /* ---------- DETAIL PAGES (src/detail.njk, one per specialty/service category) ---------- */
  .breadcrumb{font-size:14px;color:var(--muted);margin-bottom:10px;}
  .breadcrumb a{color:var(--muted);text-decoration:underline;}
  .breadcrumb a:hover{color:var(--red);}

  /* quick, low-cost "we do more than this" signal on service pages — a
     visitor who landed on one service shouldn't need to read past the
     fold to realize there's a wider catalog; see the detail-related list
     further down the page for the fuller version of this same link. */
  .detail-breadth-badge{
    display:inline-flex;align-items:center;gap:6px;margin-top:14px;
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:13px;letter-spacing:0.02em;
    color:var(--muted);border:1px solid var(--line);border-radius:100px;
    padding:7px 16px;transition:border-color .2s ease,color .2s ease;
  }
  .detail-breadth-badge svg{width:12px;height:12px;stroke:currentColor;transition:transform .2s ease;}
  .detail-breadth-badge:hover{border-color:var(--red);color:var(--red);}
  .detail-breadth-badge:hover svg{transform:translateX(4px);}
  html[dir="rtl"] .detail-breadth-badge:hover svg{transform:translateX(-4px);}

  .detail-media{margin-bottom:48px;}
  .detail-media .thumb{position:relative;height:420px;border-radius:20px;overflow:hidden;box-shadow:var(--card-shadow);}

  .detail-overview{max-width:760px;margin:0 auto 48px;}
  .detail-overview p{font-size:17px;line-height:1.7;color:var(--ink);margin-bottom:20px;}
  .detail-overview p:last-child{margin-bottom:0;}

  .detail-included{max-width:760px;margin:0 auto 56px;}
  .detail-included h2{font-size:26px;margin-bottom:20px;font-family:'Montserrat',sans-serif;font-weight:700;}

  .legal-content{max-width:760px;margin:0 auto;}
  .legal-content h2{font-size:22px;margin:36px 0 14px;font-family:'Montserrat',sans-serif;font-weight:700;}
  .legal-content h2:first-child{margin-top:0;}
  .legal-content p{font-size:16px;line-height:1.7;color:var(--ink);}
  .legal-content a{color:var(--red);text-decoration:underline;}

  .guide-callout{display:flex;align-items:center;gap:12px;background:rgba(220,41,30,0.06);border:1.5px solid var(--red);border-radius:14px;padding:16px 20px;margin-bottom:40px;color:var(--red);font-weight:600;font-size:15.5px;transition:background .2s ease;}
  .guide-callout:hover{background:rgba(220,41,30,0.12);}
  .guide-callout svg{flex-shrink:0;width:22px;height:22px;stroke:var(--red);}
  .guide-callout svg:last-child{margin-inline-start:auto;}
  .guide-callout b{font-weight:800;}
  html[dir="rtl"] .guide-callout svg:last-child{transform:scaleX(-1);}

  .portfolio-empty{max-width:480px;margin:0 auto;text-align:center;padding:60px 20px;}
  .portfolio-empty svg{width:48px;height:48px;stroke:var(--red);margin-bottom:18px;}
  .portfolio-empty h2{font-size:24px;margin-bottom:10px;font-family:'Montserrat',sans-serif;font-weight:700;}
  .portfolio-empty p{font-size:16px;line-height:1.6;color:var(--ink);opacity:0.75;margin-bottom:24px;}
  .portfolio-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));gap:20px;}
  .portfolio-item{border-radius:16px;overflow:hidden;box-shadow:var(--card-shadow);background:#fff;}
  .portfolio-item picture{display:block;aspect-ratio:4/3;}
  .portfolio-item img{width:100%;height:100%;object-fit:cover;display:block;}
  .portfolio-item figcaption{padding:12px 14px;font-size:14px;color:var(--ink);}
  .detail-included ul{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:12px 24px;}
  .detail-included li{position:relative;padding-left:28px;font-size:16px;line-height:1.5;color:var(--ink);}
  html[dir="rtl"] .detail-included li{padding-left:0;padding-right:28px;}
  .detail-included li::before{
    content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:50%;
    background:var(--red);
    -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center/60% no-repeat;
    mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center/60% no-repeat;
  }
  html[dir="rtl"] .detail-included li::before{left:auto;right:0;}

  .detail-process{max-width:1040px;margin:0 auto 56px;text-align:center;}
  .detail-process h2{font-size:26px;margin-bottom:28px;font-family:'Montserrat',sans-serif;font-weight:700;}
  .process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:28px;text-align:left;}
  html[dir="rtl"] .process-grid{text-align:right;}
  .process-step{background:var(--bg-soft);border-radius:16px;padding:24px 20px;}
  .process-num{
    display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;
    border-radius:50%;background:var(--red);color:#fff;font-family:'Montserrat',sans-serif;font-weight:700;
    margin-bottom:12px;
  }
  .process-step h3{font-size:17px;margin-bottom:6px;font-family:'Montserrat',sans-serif;font-weight:700;}
  .process-step p{font-size:14.5px;color:var(--muted);line-height:1.5;}

  .detail-related{max-width:760px;margin:0 auto;text-align:center;}
  .detail-related h2{font-size:22px;margin-bottom:16px;font-family:'Montserrat',sans-serif;font-weight:700;}
  .related-list{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:0;}
  .related-list a{
    display:inline-block;padding:10px 20px;border:1.5px solid var(--line);border-radius:100px;
    font-size:15px;font-weight:600;color:var(--ink);transition:border-color .2s ease, color .2s ease;
  }
  .related-list a:hover{border-color:var(--red);color:var(--red);}

  .sub-card .link-secondary{color:var(--red);margin-top:6px;}
  .sub-card .link-secondary svg{stroke:var(--red);}
  .sub-card .link-secondary:hover{color:var(--red-dark);}
  .sub-card .link-secondary:hover svg{stroke:var(--red-dark);}

  /* ---------- FLOATING WHATSAPP ---------- */
  .whatsapp-float{
    position:fixed;bottom:24px;right:24px;z-index:200;
    width:58px;height:58px;border-radius:50%;background:#25D366;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 14px 30px -10px rgba(37,211,102,0.6);
    animation:pulse-wa 2.4s ease-out infinite;
    transition:scale .15s ease-out;
  }
  .whatsapp-float:hover{scale:1.08;}
  .whatsapp-float:active{scale:0.94;}
  .whatsapp-float svg{width:28px;height:28px;fill:#fff;}
  @keyframes pulse-wa{0%{box-shadow:0 0 0 0 rgba(37,211,102,0.55);}70%{box-shadow:0 0 0 16px rgba(37,211,102,0);}100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}}
  @media (prefers-reduced-motion: reduce){.whatsapp-float{animation:none !important;}}

  /* ---------- FLOATING CALL BUTTON ---------- */
  .call-float{
    position:fixed;bottom:24px;left:24px;z-index:200;
    width:58px;height:58px;border-radius:50%;background:#25D366;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 14px 30px -10px rgba(37,211,102,0.6);
    transition:scale .15s ease-out;
  }
  .call-float:hover{scale:1.08;}
  .call-float:active{scale:0.94;}
  .call-float svg{width:26px;height:26px;}

  /* ---------- RTL / ARABIC ---------- */
  html[lang="ar"] body,
  html[lang="ar"] .eyebrow,
  html[lang="ar"] .btn,
  html[lang="ar"] .lang-toggle{
    font-family:'Tajawal',sans-serif;
  }
  html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3,html[lang="ar"] h4,html[lang="ar"] h5,html[lang="ar"] .logo{
    font-family:'Tajawal',sans-serif;font-weight:800;letter-spacing:0;
  }
  html[dir="rtl"] body{direction:rtl;}
  html[dir="rtl"] .nav-links,
  html[dir="rtl"] .nav-cta,
  html[dir="rtl"] .hero-ctas,
  html[dir="rtl"] .trust-row,
  html[dir="rtl"] .category-head{
    direction:rtl;
  }
  html[dir="rtl"] .btn svg{transform:scaleX(-1);}
  html[dir="rtl"] .sub-card:hover .link svg{transform:scaleX(-1) translateX(4px);}
  html[dir="rtl"] .whatsapp-float{right:auto;left:24px;}
  html[dir="rtl"] .call-float{left:auto;right:24px;}

  /* ---- Footer ---- */
  .site-footer{background:var(--ink);color:rgba(255,255,255,0.72);margin-top:64px;}
  .footer-grid{
    display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:32px;
    padding:56px 32px 40px;
  }
  .footer-brand p{margin:14px 0 18px;font-size:14.5px;line-height:1.55;max-width:34ch;}
  .footer-social{display:flex;gap:10px;}
  .footer-social a{
    width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;
    border:1px solid rgba(255,255,255,0.18);color:#fff;transition:background .2s ease,border-color .2s ease;
  }
  .footer-social a:hover{background:var(--red);border-color:var(--red);}
  .footer-social svg{width:17px;height:17px;stroke:#fff;}
  .footer-col h4{
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:13px;letter-spacing:0.12em;
    text-transform:uppercase;color:#fff;margin-bottom:16px;
  }
  .footer-col ul{display:flex;flex-direction:column;gap:10px;}
  .footer-col a{font-size:14.5px;color:rgba(255,255,255,0.72);transition:color .2s ease;}
  .footer-col a:hover{color:#fff;}
  .footer-areas{margin-top:16px;font-size:13.5px;color:rgba(255,255,255,0.55);}
  .footer-license{margin-top:6px;font-size:13.5px;color:rgba(255,255,255,0.55);}
  .footer-bottom{border-top:1px solid rgba(255,255,255,0.12);}
  .footer-bottom .wrap{padding:18px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
  .footer-bottom p{font-size:13px;color:rgba(255,255,255,0.55);}
  .footer-privacy-link{font-size:13px;color:rgba(255,255,255,0.55);transition:color .2s ease;}
  .footer-privacy-link:hover{color:#fff;}
  html[dir="rtl"] .footer-social{direction:ltr;}

  /* ============================================================
     MOBILE (<=720px) — placed last so it wins the cascade against
     every same-specificity base rule declared above.
     ============================================================ */
  @media (max-width:720px){
    /* ---- flat black header, inline nav, no hamburger ---- */
    header{background:var(--ink);backdrop-filter:none;border-bottom:1px solid rgba(255,255,255,0.12);box-shadow:none;}
    nav{padding:8px 10px;gap:6px;}
    .logo{flex:none;}
    .logo-img-nav{height:28px;}
    .nav-links{
      display:flex;flex:1 1 auto;gap:8px;overflow-x:hidden;
    }
    .nav-links a{font-size:12.5px;white-space:nowrap;}
    .nav-links a:hover::after{display:none;}
    .nav-phone{display:none;}
    .header-cta{display:none;}
    .nav-cta{flex:none;gap:0;}
    .lang-toggle{
      display:flex;flex-direction:column;align-items:center;gap:0;
      padding:4px 8px;font-size:11px;line-height:1.2;border-radius:10px;
      width:50px;
    }
    .lang-toggle .lang-sep{display:none;}
    .lang-toggle .lang-ar{flex-direction:column;gap:2px;}
    html[lang="ar"] .lang-toggle .lang-en{flex-direction:column;gap:4px;}
    .lang-toggle .flag-icon{width:15px;height:11px;}

    /* mobile hero: keep the full-bleed video, but overlay a short headline
       and the primary booking CTA (dark gradient behind for contrast) so
       mobile visitors — most of our Google Ads traffic — see a message and
       a tappable CTA instead of just a silent video. */
    .hero{min-height:0;aspect-ratio:16/10;overflow:hidden;}
    .hero .bg::after{display:none;}
    .hero-chips{display:none;}
    .hero-content{
      display:flex;flex-direction:column;justify-content:center;align-items:center;
      position:absolute;inset:0;max-width:none;text-align:center;
      background:rgba(0,0,0,0.45);
    }
    .wrap.hero-content{padding:16px;}
    .hero-content .eyebrow,.hero-content p{display:none;}
    .hero-content h1{font-size:24px;margin:0 0 14px;}
    .hero-content .hero-ctas .btn{padding:7px 14px;font-size:13px;}
    .hero-ctas a:last-child{display:none;}
    .trust-float{margin-top:0;}
    .hero-video-toggle{width:32px;height:32px;top:12px;right:12px;}
    .hero-video-toggle svg{width:13px;height:13px;}
    html[dir="rtl"] .hero-video-toggle{right:auto;left:12px;}

    .services-grid{grid-template-columns:repeat(2,1fr);gap:14px;}
    /* keep trust bar 2x2 instead of a tall single column */
    .trust-card{grid-template-columns:repeat(2,1fr);}
    .trust-card .item{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 12px;}
    .trust-card .item:nth-child(2n){border-right:none;}
    .trust-card .item:nth-child(n+3){border-bottom:none;}
    .trust-card .item b{font-size:15px;}
    .trust-card .item span{font-size:15px;}
    .banner .content{padding:24px 20px;}
    .wrap{padding:0 16px;}
    /* tighter vertical rhythm on mobile */
    .section{padding:40px 0 36px;}
    .section-head{margin-bottom:26px;}
    .category-block{margin-bottom:20px;}
    .category-head{margin-bottom:14px;padding-bottom:10px;flex-direction:column;gap:6px;}
    .category-head h3{font-size:19px;}
    .category-head p{font-size:15px;}
    .field-row{grid-template-columns:1fr;}
    /* ---- Shinex-style service cards: bold photo, uppercase heading, red pill CTA ---- */
    .subservice-grid{grid-template-columns:repeat(2, 1fr);gap:12px;}
    .sub-card{border-radius:14px;border-width:2px;}
    /* full-bleed breakout is desktop-only — on a narrow viewport the normal
       boxed card (border, radius, shadow) already reads fine, so reset the
       100vw breakout back to a normal grid item here */
    .sub-card-wide{grid-column:1 / -1;width:auto;max-width:100%;margin-left:0;margin-right:0;border:1.5px solid #D9D9CF;border-radius:14px;box-shadow:var(--card-shadow);background:#fff;}
    .sub-card .thumb{height:150px;}
    .sub-card-wide .thumb{height:220px;border-radius:0;}
    .sub-card-wide .body{max-width:100%;margin:0;padding:12px 12px 14px;}
    .sub-card .body{padding:12px 12px 14px;align-items:center;text-align:center;}
    .sub-card h4{font-size:15px;line-height:1.3;margin-bottom:4px;font-weight:600;}
    .sub-card p{font-size:15px;line-height:1.45;margin-bottom:10px;}
    .sub-card .link{
      display:flex;justify-content:center;background:transparent;color:var(--red);
      border:1.5px solid var(--red);border-radius:100px;padding:8px 10px;font-size:15px;width:100%;
    }
    .sub-card .link svg{stroke:#fff;}

    /* stats stacked one-per-row ate ~314px of a phone screen and pushed the
       services section below the fold — compress to a single 3-across row */
    .stats-band{padding:22px 0;}
    .stats-grid{gap:8px;flex-wrap:nowrap;}
    .stats-grid .stat{flex:1 1 0;min-width:0;text-align:center;}
    .stats-grid .num{font-size:22px;}
    .stats-grid .num.num-text{font-size:14px;}
    .stats-grid .label{font-size:10.5px;letter-spacing:0.02em;margin-top:5px;line-height:1.3;}

    /* ---- Detail pages ---- */
    .detail-media .thumb{height:220px;border-radius:14px;}
    .detail-overview p{font-size:15.5px;}
    .detail-included ul{grid-template-columns:1fr;}
    .process-grid{grid-template-columns:1fr;gap:12px;}

    /* ---- Footer ---- */
    .site-footer{margin-top:40px;}
    .footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px;padding:40px 20px 28px;}
    .footer-brand{grid-column:1 / -1;}
    .footer-brand p{max-width:none;}
    .footer-bottom .wrap{padding:16px 20px;text-align:center;}
  }
