/*
 * Firas Al Majd — additions for the dynamic site.
 * styles.css and pages.css are the untouched design; this file only adds
 * components the design did not have yet, in the same visual language.
 */

/* ---------- Navigation dropdowns ---------- */
.nav-dropdown{position:relative;display:flex;align-items:center;align-self:stretch}
.desktop-nav .nav-dropdown-toggle{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:0;font:inherit;font-size:14px;color:#d3d0cd;position:relative;transition:color .25s;cursor:pointer}
.desktop-nav .nav-dropdown-toggle:hover,.desktop-nav .nav-dropdown-toggle.active,.nav-dropdown.is-open .nav-dropdown-toggle{color:var(--gold-light)}
.desktop-nav button.nav-dropdown-toggle.active:after{content:'';width:5px;height:5px;position:absolute;bottom:-16px;left:calc(50% - 2px);background:var(--gold);transform:rotate(45deg)}
.nav-caret{display:inline-block;width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);position:relative;top:-2px;transition:transform .25s}
.nav-dropdown.is-open .nav-caret{transform:rotate(225deg);top:1px}
.nav-dropdown-menu{position:absolute;top:100%;inset-inline-start:-22px;min-width:260px;max-width:340px;padding:10px 0;background:var(--ink);border-top:2px solid var(--gold);box-shadow:0 22px 40px -18px #0009;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease,visibility .22s;z-index:60}
.nav-dropdown.is-open .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{opacity:1;visibility:visible;transform:none}
.desktop-nav .nav-dropdown-menu a{display:block;padding:11px 22px;font-size:13px;line-height:1.7;color:#cfcac3;white-space:normal;border-inline-start:2px solid transparent;transition:color .2s,background .2s,border-color .2s}
.desktop-nav .nav-dropdown-menu a:hover,.desktop-nav .nav-dropdown-menu a:focus-visible,.desktop-nav .nav-dropdown-menu a.is-current{color:var(--gold-light);background:#ffffff08;border-inline-start-color:var(--gold)}
.desktop-nav .nav-dropdown-menu a:after{display:none}
@media(max-width:1199px){.desktop-nav .nav-dropdown-toggle{font-size:12px}}

.mobile-group{border-bottom:1px solid #ffffff0d}
.mobile-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mobile-nav .mobile-group-head>a,.mobile-group-head>span{display:block;flex:1;padding:12px 0;border-bottom:0}
.mobile-sub-toggle{width:40px;height:40px;background:none;border:0;color:#d3d0cd;position:relative;flex-shrink:0}
.mobile-sub-toggle:before{content:'';position:absolute;top:50%;left:50%;width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translate(-50%,-25%) rotate(225deg);transition:transform .25s}
.mobile-sub-toggle.collapsed:before{transform:translate(-50%,-75%) rotate(45deg)}
.mobile-subnav{padding-inline-start:16px;border-inline-start:1px solid #c9a32d55;margin-bottom:10px}
.mobile-nav .mobile-subnav a{padding:9px 0;font-size:13px;color:#bdb6ab;border-bottom:0}
.mobile-nav a.active,.mobile-group-head>a.active{color:var(--gold-light)}

/* ---------- Hero slider ---------- */
.hero>.hero-single,.hero>.hero-swiper{position:absolute;inset:0;width:100%;height:100%}
.hero-track{height:100%}
.hero-slide{position:relative;isolation:isolate;height:100%;display:flex;align-items:center;overflow:hidden}
.hero-slide video.hero-image{object-fit:cover}
.hero-slider .hero-image{animation:none}
.hero-slider .swiper-slide-active .hero-image{animation:hero-enter 1.8s ease-out both}
.hero-slider .hero-content{animation:none;opacity:0;transform:translateY(20px);transition:opacity .8s ease .25s,transform .8s ease .25s}
.hero-slider .swiper-slide-active .hero-content{opacity:1;transform:none}
.hero-arrows{position:absolute;left:0;right:0;bottom:34px;margin-inline:auto;display:flex;justify-content:flex-end;gap:10px;z-index:5;pointer-events:none}
.hero-arrow{pointer-events:auto;width:46px;height:46px;border-radius:50%;border:1px solid #ffffff45;background:#231f2059;color:#fff;display:grid;place-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .2s,color .2s,border-color .2s}
.hero-arrow:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.hero-arrow.swiper-button-disabled{opacity:.35;cursor:default}
.hero-next svg{transform:rotate(180deg)}
html[dir=ltr] .hero-prev svg{transform:rotate(180deg)}html[dir=ltr] .hero-next svg{transform:none}
.hero-pagination{position:absolute;left:0;right:0;bottom:40px;display:flex;justify-content:center;gap:2px;z-index:5}
.hero-dot{width:26px;height:26px;display:grid;place-items:center;cursor:pointer}
.hero-dot:before{content:'';width:7px;height:7px;border-radius:10px;background:#ffffff8c;transition:width .25s,background .25s}
.hero-dot.is-active{width:38px}.hero-dot.is-active:before{width:25px;background:var(--gold)}
.hero .hero-custom-button{background:var(--hero-btn-bg,var(--gold));color:var(--hero-btn-color,var(--ink))}
.hero .hero-custom-button:hover{background:var(--hero-btn-hover,var(--gold-light));color:var(--hero-btn-color,var(--ink))}
@media(max-width:767px){.hero-arrows{display:none}.hero-pagination{bottom:22px}}

/* ---------- Forms (Livewire) ---------- */
.field-error{display:block;color:#a13d2b;font-size:12px;font-weight:600;margin-top:6px}
.form-control.is-invalid,.form-select.is-invalid{border-color:#a13d2b;background-image:none;padding-inline-end:0}
.form-select.is-invalid{padding-inline-end:30px}
.hp-field{position:absolute!important;inset-inline-start:-9999px;width:1px;height:1px;overflow:hidden}
.contact-form,.career-form{position:relative}
.btn-spinner{display:inline-block;width:18px;height:18px;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:fam-spin .7s linear infinite}
.button[disabled]{opacity:.75;cursor:progress;transform:none}
@keyframes fam-spin{to{transform:rotate(360deg)}}
.career-form .dark-link,#whatsappFallback{display:inline-flex;margin-top:12px;font-size:12px}
.career-empty{font-size:16px;color:var(--muted);padding:28px 0;margin:0;border-top:1px solid var(--line)}

/* ---------- Partners with links ---------- */
.partner-card>a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}

/* ---------- Social platforms not in the original design ---------- */
.social-icon[aria-label="YouTube"]{background:#ff0000;border-color:#ff0000;color:#fff}
.social-icon[aria-label="WhatsApp"]{background:#25d366;border-color:#25d366;color:#fff}
a.social-icon{transition:transform .25s}a.social-icon:hover{transform:translateY(-3px)}

/* ---------- Custom pages ---------- */
.page-intro .breadcrumb-nav{padding-top:10px}
.page-intro .breadcrumb-nav a:hover{color:var(--gold-light)}
.custom-page-body{background:var(--paper)}
.custom-page-text{max-width:880px;font-size:17px;line-height:2.15;color:#4f4a44}
.page-gallery{background:#e9e5dc}
.portfolio-video{cursor:pointer}
.portfolio-video video{display:block;width:100%;height:340px;object-fit:cover;pointer-events:none}
.portfolio-video.wide video{height:440px}.portfolio-video.tall video{height:540px}
.play-badge{position:absolute;inset:0;margin:auto;width:66px;height:66px;border-radius:50%;background:#f8f7f3e8;z-index:3;transition:background .25s,transform .25s}
.play-badge:before{content:'';position:absolute;top:50%;left:50%;transform:translate(-35%,-50%);border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent var(--ink)}
.portfolio-video:hover .play-badge{background:var(--gold-light);transform:scale(1.06)}
#galleryLightboxImage[hidden]{display:none}
.lightbox-video:empty{display:none}
.lightbox-video video,.lightbox-video iframe{display:block;width:100%;aspect-ratio:16/9;max-height:88vh;border:0;background:#000}
.file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.file-card{display:flex;align-items:center;gap:20px;padding:22px 24px;background:#fff;border-top:2px solid var(--gold)}
.file-icon{flex:0 0 56px;height:68px;display:grid;place-items:center;background:var(--ink);color:var(--gold-light);font:700 12px Arial,sans-serif;letter-spacing:1px}
.file-copy{flex:1;min-width:0}.file-copy h3{font-size:17px;font-weight:700;margin:0 0 4px;overflow-wrap:anywhere}.file-copy small{color:var(--muted);font-size:12px}
.file-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.file-actions button.dark-link{background:none;border:0;border-bottom:1px solid #9c8c64;padding:0 0 5px;color:var(--ink)}
.file-actions>a{font-size:12px;color:#8b702b;text-decoration:underline;text-underline-offset:4px}
.pdf-dialog iframe{display:block;width:100%;height:100%;border:0;background:#fff}
@media(max-width:767px){.file-list{grid-template-columns:1fr}.file-card{flex-wrap:wrap}.file-actions{flex-direction:row;width:100%;justify-content:space-between;align-items:center}.custom-page-text{font-size:15px}.portfolio-video video{height:auto;max-height:520px}}

/* ---------- Error page ---------- */
.error-page{min-height:60vh;display:flex;align-items:center;background:var(--paper)}
.error-page .error-code{font:400 clamp(90px,14vw,180px)/1 Georgia,serif;color:#c5bba2;margin:0}
.error-page p{color:var(--muted);font-size:16px;max-width:480px}

/* =====================================================================
 * Readability pass (client request, 2026-09-30):
 * larger + bolder small copy (18px like .lead-copy), bigger eyebrows,
 * no arrows next to buttons/links.
 * ===================================================================== */

/* No arrows beside buttons and text links; the label is centred. */
.button .arrow,.dark-link .arrow,.text-link .arrow{display:none}
.button{justify-content:center;gap:10px}

/* Eyebrows (e.g. "02 / خبراتنا في خدمتك", "ما الذي يوجّه عملنا؟", "أين تتكامل خدماتنا")
   sized close to the heading that follows them. */
.eyebrow{font-size:clamp(19px,1.7vw,24px);font-weight:700;margin-bottom:12px;letter-spacing:0;line-height:1.6}
.eyebrow>span:first-child:not(:only-child){font-size:.9em}
.partners-kicker{font-size:13px;font-weight:700}

/* About principles: larger, original colours kept (home + about page). */
.about-principles h3{font-size:19px;font-weight:700}
.about-principles p{font-size:16px;font-weight:500}

/* Small copy follows the lead text size (.lead-copy = 18px). */
.body-copy,.contact .contact-intro,.section-heading>p,.faq-layout>div>p,.office-layout>div>p,
.detail-grid>div>p,.prep-grid p,.custom-page-text,
.service-card>p,.sector-row p,.charter-grid p,.process-step p,.method-row p,.faq-item>p,
.career-card p,.landscape-row p,.support-text p,.service-content>p{font-size:18px;font-weight:500;line-height:2}

/* Charter ("ما الذي يوجّه عملنا؟"): larger eyebrow, smaller heading, gold item titles. */
.charter-heading .eyebrow{font-size:clamp(22px,2vw,28px)}
.charter-heading h2{font-size:clamp(24px,2.2vw,30px)!important}
html main .charter-grid h3{color:var(--gold)}

/* Services accordion */
.service-content li{font-size:15px;font-weight:600;line-height:1.9}
.service-content li:before{top:.8em;width:5px;height:5px}
.service-en{font-size:13px;font-weight:600}

/* Small labels & meta */
.card-number,.certificate-number,.sector-row>span,.charter-grid article>span{font-size:14px;font-weight:700}
.project-meta,.career-meta{font-size:14px}
.method-row small{font-size:14px;font-weight:600}
.certificate-caption{font-size:15px}
.contact-form label,.career-form label{font-size:15px}
.contact .form-note,.form-note{font-size:14px;font-weight:600}
.form-status{font-size:14px;font-weight:600}
.contact-map>a,.expanded-footer .footer-bottom,.site-footer .footer-bottom{font-size:14px;font-weight:600}
.partners-heading p{font-size:16px;font-weight:600}
.scope-list>li>span:first-child{font-size:15px;font-weight:700}
.desktop-nav a,.desktop-nav .nav-dropdown-toggle{font-weight:600}

@media(max-width:767px){
  .eyebrow{font-size:19px}
  .body-copy,.contact .contact-intro,.section-heading>p,.faq-layout>div>p,.office-layout>div>p,
  .detail-grid>div>p,.prep-grid p,.custom-page-text,
  .service-card>p,.sector-row p,.charter-grid p,.process-step p,.method-row p,.faq-item>p,.career-card p,.service-content>p{font-size:16px}
  .charter-heading .eyebrow{font-size:21px}
  .charter-heading h2{font-size:24px!important}
  .service-content li{font-size:14px}
  .about-principles h3{font-size:17px}
  .about-principles p{font-size:15px}
}

/* ---------- Numbers removed (charter, sectors, services accordion) ---------- */
.charter-grid h3{margin-top:0}
.sector-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.service-toggle,html[lang=en] .service-toggle{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px}
html[lang=en] .service-toggle{grid-template-columns:minmax(0,1fr) 36px}
.service-content{padding-inline:0 60px}

/* Headings that follow an eyebrow: same moderate size as the charter heading. */
.services .section-heading h2,.sectors .section-heading h2{font-size:clamp(24px,2.2vw,30px)!important}

@media(max-width:991px){.sector-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:767px){
  .sector-row{grid-template-columns:1fr;gap:6px}
  .sector-row p{grid-column:auto}
  .service-toggle,html[lang=en] .service-toggle{grid-template-columns:minmax(0,1fr) 30px}
  .service-content{padding-inline:0 38px}
  .services .section-heading h2,.sectors .section-heading h2{font-size:24px!important}
}

/* Services accordion without its bottom link: trim the trailing space. */
.services.section-space{padding-bottom:72px}
@media(max-width:767px){.services.section-space{padding-bottom:48px}}

/* Services grid: every card matches the large featured size. */
.service-card,.service-card:first-child,.service-card:nth-child(2){grid-column:span 6}
.service-card-photo,.service-card:first-child .service-card-photo,.service-card:nth-child(2) .service-card-photo{height:370px}
@media(max-width:1199px){.service-card-photo,.service-card:first-child .service-card-photo,.service-card:nth-child(2) .service-card-photo{height:310px}}
@media(max-width:991px){.service-card-photo,.service-card:first-child .service-card-photo,.service-card:nth-child(2) .service-card-photo{height:300px}}
@media(max-width:767px){.service-card,.service-card:first-child,.service-card:nth-child(2){grid-column:span 12}.service-card-photo,.service-card:first-child .service-card-photo,.service-card:nth-child(2) .service-card-photo{height:280px}}
@media(max-width:359px){.service-card-photo,.service-card:first-child .service-card-photo,.service-card:nth-child(2) .service-card-photo{height:230px}}

/* About principles: gold line spans the text, title and text centred under it. */
.about-principles>div{width:fit-content;max-width:100%;text-align:center}
.about-principles .mini-line{width:100%}

/* About image: matching gold corner on the opposite (bottom, inline-end) corner. */
.about-visual{margin-bottom:17px}
.about-visual::after{content:"";position:absolute;inset-inline-end:-17px;bottom:-17px;width:90px;height:90px;border-bottom:1px solid var(--gold);border-inline-end:1px solid var(--gold);z-index:-1;pointer-events:none}

/* Charter, sectors and gallery sections: same background as the page; bolder charter titles. */
.company-charter,.sectors,.portfolio-section,.page-gallery,.request-prep{background:var(--paper)}
html main .charter-grid h3{font-weight:800}

/* Sliders: single-finger pointer instead of the open-hand grab cursor. */
.hero-swiper,.partners-slider,.partners-slider.is-dragging{cursor:pointer}

/* Services accordion: no English subtitle; two services per row from tablet up, each panel opening under its own title. */
.service-toggle,html[lang=en] .service-toggle{grid-template-columns:minmax(0,1fr) 36px}
@media(min-width:768px){
  .service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px;border-top:0}
  .service-list .service-item:nth-child(-n+2){border-top:1px solid #ffffff25}
  body[data-page=services] .service-list .service-item:nth-child(-n+2){border-top-color:#ccc5b6}
  .service-content{grid-template-columns:1fr;gap:18px;padding-inline:0 60px}
  .service-content ul{grid-template-columns:1fr 1fr}
}
@media(min-width:768px) and (max-width:1199px){.service-content ul{grid-template-columns:1fr}}
@media(max-width:767px){.service-toggle,html[lang=en] .service-toggle{grid-template-columns:minmax(0,1fr) 30px}}

/* Contact page (form side): form only, centred. */
.contact-form-center{max-width:760px;margin-inline:auto}
@media(max-width:767px){.contact-form-only.section-space{padding:40px 0}}

/* Floating WhatsApp button (toggle + side in admin > general settings). */
.wa-float{position:fixed;bottom:24px;z-index:60;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;font-size:32px;line-height:1;box-shadow:0 10px 28px rgba(0,0,0,.25);transition:transform .25s,box-shadow .25s}
.wa-float-right{right:24px}.wa-float-left{left:24px}
.wa-float:hover{color:#fff;transform:translateY(-3px) scale(1.05);box-shadow:0 14px 34px rgba(0,0,0,.3)}
.wa-float:before{content:'';position:absolute;inset:0;border-radius:50%;background:#25d366;z-index:-1;animation:wa-pulse 2.2s ease-out infinite}
@keyframes wa-pulse{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.6);opacity:0}}
@media(max-width:767px){.wa-float{width:52px;height:52px;font-size:28px;bottom:16px}.wa-float-right{right:16px}.wa-float-left{left:16px}}
@media(prefers-reduced-motion:reduce){.wa-float:before{animation:none}}

/* Service page: tighter rhythm between scope and related services. */
.detail-scope.section-space{padding-bottom:40px}
.related-section.section-space{padding-top:40px;padding-bottom:80px}
.detail-grid>div:first-child>p{margin-bottom:0}
.related-section .section-heading{margin-bottom:32px}
.scope-list>li{padding:18px 0}
.detail-grid>div:first-child{position:sticky;top:150px}
@media(max-width:1199px){.detail-scope.section-space{padding-bottom:32px}.related-section.section-space{padding-top:32px;padding-bottom:64px}}
@media(max-width:767px){.detail-scope.section-space{padding-bottom:24px}.related-section.section-space{padding-top:24px;padding-bottom:48px}.related-section .section-heading{margin-bottom:22px}.scope-list>li{padding:15px 0}.detail-grid>div:first-child{position:static}.detail-grid{gap:24px}}

/* Service gallery: main stage + thumbnail strip. */
.svc-gallery{background:#ece9e0;border-top:1px solid #dfd9ca}
.svc-gallery.section-space{padding:64px 0}
.svc-gallery .section-heading{margin-bottom:26px}
.sg{max-width:860px}
.svc-gallery .sg{margin-inline:auto}

/* Paired with the service scope: scope on the start side, gallery on the end side. */
.scope-gallery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:64px;align-items:start}
.scope-gallery-copy h2{margin-bottom:18px}
.scope-gallery-copy p{font-size:16px;color:#797267;line-height:2.1;margin:0 0 28px;max-width:520px}
.scope-gallery-media{position:sticky;top:150px}
.scope-gallery-media .sg{max-width:none}

.sg-stage{position:relative;aspect-ratio:4/3;width:100%;overflow:hidden;background:#1d1b1a;border-radius:4px;box-shadow:0 18px 50px rgba(35,31,32,.16)}
.sg-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease}
.sg-slide.is-active{opacity:1;visibility:visible;z-index:1}
.sg-slide>img,.sg-embed>img{width:100%;height:100%;object-fit:cover;display:block}
.sg-slide.is-active>img{animation:sg-zoom-in 6s ease-out both}
.sg-embed{position:absolute;inset:0;background:#000}
.sg-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.sg-embed.is-playing>img,.sg-embed.is-playing .sg-bigplay{display:none}
.sg-slide figcaption{position:absolute;inset-inline:0;bottom:0;padding:54px 24px 18px;color:#fff;font-size:14px;font-weight:600;background:linear-gradient(0deg,rgba(20,18,17,.78),transparent);pointer-events:none}
.sg-slide:has(.sg-video) figcaption{display:none}

/* Video player */
.sg-video{position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,#2b2725,#0e0d0c);overflow:hidden}
.sg-video video{width:100%;height:100%;object-fit:contain;display:block;cursor:pointer}
.sg-bigplay{position:absolute;inset:0;margin:auto;z-index:2;width:76px;height:76px;border:0;border-radius:50%;display:grid;place-items:center;padding:0;background:var(--gold);color:var(--ink);cursor:pointer;box-shadow:0 0 0 10px rgba(201,163,45,.22),0 14px 40px rgba(0,0,0,.35);transition:transform .25s,opacity .3s,visibility .3s,background .25s}
.sg-bigplay svg{width:30px;height:30px;fill:currentColor;transform:translateX(2px)}
.sg-bigplay:hover{transform:scale(1.07);background:var(--gold-light)}
.sg-bigplay:before{content:'';position:absolute;inset:-10px;border-radius:50%;border:1px solid rgba(223,189,91,.55);animation:sg-ring 2.2s ease-out infinite}
.sg-video.is-playing .sg-bigplay{opacity:0;visibility:hidden;transform:scale(.85)}
.sg-controls{position:absolute;inset-inline:0;bottom:0;z-index:3;display:flex;align-items:center;gap:12px;padding:40px 18px 14px;background:linear-gradient(0deg,rgba(14,13,12,.85),rgba(14,13,12,0));color:#fff;opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s}
.sg-video.is-started .sg-controls{opacity:1;transform:none}
.sg-video.is-playing:not(.is-awake) .sg-controls{opacity:0;transform:translateY(8px)}
.sg-video.is-playing:not(.is-awake) video{cursor:none}
.sg-ctrl{flex:0 0 auto;width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;transition:background .2s,color .2s}
.sg-ctrl:hover{background:#ffffff1f;color:var(--gold-light)}
.sg-ctrl svg{width:20px;height:20px;fill:currentColor}
.sg-ctrl svg .s{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sg-ctrl[data-v-fs] svg{fill:none}
.sg-ctrl .i-pause,.sg-video.is-playing .sg-ctrl .i-play,.sg-ctrl .i-muted,.sg-video.is-muted .sg-ctrl .i-sound{display:none}
.sg-video.is-playing .sg-ctrl .i-pause,.sg-video.is-muted .sg-ctrl .i-muted{display:block}
.sg-time{flex:0 0 auto;font:12px Arial;letter-spacing:.5px;color:#e8e2d6;min-width:34px;text-align:center}
.sg-progress{position:relative;flex:1 1 auto;height:18px;cursor:pointer;touch-action:none}
.sg-progress:before,.sg-buffer,.sg-fill{content:'';position:absolute;left:0;top:50%;height:4px;margin-top:-2px;border-radius:4px;transition:height .2s,margin .2s}
.sg-progress:before{right:0;background:#ffffff30}
.sg-buffer{width:0;background:#ffffff55}
.sg-fill{width:0;background:linear-gradient(90deg,var(--gold),var(--gold-light))}
.sg-fill:after{content:'';position:absolute;right:-7px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:var(--gold-light);box-shadow:0 0 0 4px rgba(223,189,91,.25);transform:scale(0);transition:transform .2s}
.sg-progress:hover .sg-fill:after,.sg-progress:focus-visible .sg-fill:after{transform:scale(1)}
.sg-progress:hover:before,.sg-progress:hover .sg-buffer,.sg-progress:hover .sg-fill{height:6px;margin-top:-3px}
.sg-progress:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* Stage chrome: arrows, counter, zoom */
.sg-nav,.sg-zoom{position:absolute;z-index:4;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:50%;background:rgba(20,18,17,.45);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;cursor:pointer;transition:background .25s,color .25s,opacity .3s}
.sg-nav{top:50%;width:46px;height:46px;margin-top:-23px}
.sg-nav:hover,.sg-zoom:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.sg-nav svg,.sg-zoom svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sg-prev{inset-inline-start:16px}.sg-next{inset-inline-end:16px}
.sg-prev svg{transform:scaleX(-1)}
html[dir=rtl] .sg-prev svg{transform:none}html[dir=rtl] .sg-next svg{transform:scaleX(-1)}
.sg-zoom{top:16px;inset-inline-end:16px;width:40px;height:40px}
.sg-zoom svg{width:17px;height:17px}
.sg-count{position:absolute;z-index:4;top:18px;inset-inline-start:16px;padding:5px 13px;border-radius:30px;background:rgba(20,18,17,.55);color:#e8e2d6;font:12px Arial;letter-spacing:1.5px;pointer-events:none}
.sg-count b{color:var(--gold-light);font-weight:700}
.sg-stage:has(.sg-slide.is-active .sg-video.is-playing:not(.is-awake)) :is(.sg-nav,.sg-count){opacity:0;pointer-events:none}

.sg-thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding:4px 2px 8px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c9bfa8 transparent}
.sg-thumb{position:relative;flex:0 0 96px;aspect-ratio:4/3;padding:0;border:2px solid transparent;border-radius:3px;background:#d7d1c5;overflow:hidden;cursor:pointer;opacity:.55;scroll-snap-align:start;transition:opacity .25s,border-color .25s}
.sg-thumb img,.sg-thumb video{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.sg-thumb:hover{opacity:.9}
.sg-thumb.is-active{opacity:1;border-color:var(--gold)}
.sg-thumb.is-video:after{content:'';position:absolute;inset:0;margin:auto;width:26px;height:26px;border-radius:50%;background:#c9a32df0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23231f20'/%3E%3C/svg%3E") center/15px no-repeat}
@keyframes sg-zoom-in{from{transform:scale(1.04)}to{transform:scale(1)}}
@keyframes sg-ring{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.35);opacity:0}}

@media(max-width:1199px){.scope-gallery{gap:40px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:991px){
  .scope-gallery{grid-template-columns:minmax(0,1fr);gap:32px}
  .scope-gallery-media{position:static}
}
@media(max-width:767px){
  .svc-gallery.section-space{padding:40px 0}
  .scope-gallery-copy p{font-size:15px;margin-bottom:22px}
  .svc-gallery .section-heading{margin-bottom:18px}
  .sg-stage{border-radius:0;margin-inline:-20px;width:calc(100% + 40px);box-shadow:none}
  .sg-nav{width:38px;height:38px;margin-top:-19px}
  .sg-prev{inset-inline-start:10px}.sg-next{inset-inline-end:10px}
  .sg-nav svg{width:17px;height:17px}
  .sg-zoom{top:10px;inset-inline-end:10px;width:36px;height:36px}
  .sg-count{top:12px;inset-inline-start:10px;padding:4px 10px;font-size:11px}
  .sg-bigplay{width:62px;height:62px}.sg-bigplay svg{width:24px;height:24px}
  .sg-controls{gap:6px;padding:32px 10px 8px}
  .sg-ctrl{width:32px;height:32px}.sg-ctrl svg{width:18px;height:18px}
  .sg-time{font-size:11px;min-width:30px}
  .sg-slide figcaption{padding:44px 16px 14px;font-size:13px}
  .sg-thumbs{gap:8px;margin-top:10px}
  .sg-thumb{flex-basis:72px}
}
@media(hover:none){.sg-progress .sg-fill:after{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.sg-slide,.sg-thumb{transition:none}.sg-slide.is-active>img,.sg-bigplay:before{animation:none}}

/* Service scope: compact list, one-line title. */
.scope-list>li{padding:13px 0;gap:18px}
.scope-list>li>span:first-child{font-size:13px}
.scope-list>li>span:last-child{font-size:17px;line-height:1.8}
.scope-gallery-copy h2,.detail-scope .detail-grid h2{white-space:nowrap}
@media(max-width:767px){.scope-list>li{padding:11px 0;gap:14px}.scope-list>li>span:last-child{font-size:16px}.scope-gallery-copy h2,.detail-scope .detail-grid h2{white-space:normal}}

/* Contact details: outlined circle icon beside each item. */
.contact-details .cd-item{display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:14px;align-items:start;justify-items:start}
.contact-details .cd-item>:not(.cd-icon){grid-column:2}
.contact-details .cd-item>.cd-icon{grid-row:1 / span 6;align-self:start}
.cd-icon{width:46px;height:46px;border:1.5px solid var(--ink);border-radius:50%;display:grid;place-items:center;color:var(--ink);background:transparent;transition:background .25s,color .25s,border-color .25s}
.cd-icon svg{width:21px;height:21px}
.cd-icon .f{fill:currentColor}
.cd-icon .s{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.contact .contact-details .cd-icon{color:var(--ink);margin:0;font-size:0}
.contact .contact-details a.cd-item:hover .cd-icon,.contact .contact-details .contact-emails.cd-item:hover .cd-icon{background:var(--ink);color:var(--gold-light)}
@media(max-width:767px){.contact-details .cd-item{grid-template-columns:40px minmax(0,1fr);column-gap:12px}.cd-icon{width:40px;height:40px}.cd-icon svg{width:18px;height:18px}}

/* Service gallery: natural-size media + gold corners like the About image. */
.sg-frame{position:relative;isolation:isolate;margin:17px}
.sg-frame:before,.sg-corner{content:'';position:absolute;width:90px;height:90px;z-index:-1;pointer-events:none}
.sg-frame:before{top:-17px;inset-inline-start:-17px;border-top:1px solid var(--gold);border-inline-start:1px solid var(--gold)}
.sg-corner{bottom:-17px;inset-inline-end:-17px;border-bottom:1px solid var(--gold);border-inline-end:1px solid var(--gold)}
.sg-stage{aspect-ratio:auto;border-radius:0}
.sg-slide.is-active{position:relative}
.sg-slide>img{height:auto;max-height:none;object-fit:initial}
.sg-slide.is-active>img{animation:none}
.sg-video,.sg-embed{position:relative;inset:auto}
.sg-video{min-height:220px}
.sg-video video{height:auto;max-height:80svh}
.sg-embed{aspect-ratio:16/9}
.sg-thumbs{margin-top:22px}
@media(max-width:767px){
  .sg-frame{margin:12px}
  .sg-frame:before,.sg-corner{width:60px;height:60px}
  .sg-frame:before{top:-12px;inset-inline-start:-12px}
  .sg-corner{bottom:-12px;inset-inline-end:-12px}
  .sg-stage{margin-inline:0;width:100%;box-shadow:0 12px 30px rgba(35,31,32,.14)}
  .sg-thumbs{margin-top:16px}
}

/* Header contact button repeated at the end of the mobile menu. */
.mobile-nav a.mobile-contact{display:flex;justify-content:center;align-items:center;width:100%;margin:18px 0 22px;padding:13px 20px;border-bottom:0;color:var(--ink);font-size:14px}
.mobile-nav a.mobile-contact:hover{color:var(--ink)}

/* Home: company profile strip (after partners). */
.profile-cta{padding:56px 0;background:var(--paper)}
.profile-cta-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:34px 44px;background:#fff;border:1px solid var(--line);border-inline-start:3px solid var(--gold)}
.profile-cta-card:after{content:'';position:absolute;inset-inline-end:-12px;bottom:-12px;width:70px;height:70px;border-bottom:1px solid var(--gold);border-inline-end:1px solid var(--gold);pointer-events:none}
.profile-cta-copy .eyebrow{margin-bottom:10px}
.profile-cta-copy h2{font-size:clamp(22px,2vw,30px)!important;margin:0 0 8px;line-height:1.6}
.profile-cta-copy p{margin:0;color:var(--muted);font-size:14px;line-height:2;max-width:560px}
.profile-btn{position:relative;flex-shrink:0;display:inline-flex;align-items:center;gap:16px;padding:12px 14px 12px 22px;background:var(--ink);color:var(--gold-light);border:1px solid var(--gold);font-weight:700;font-size:15px;overflow:hidden;isolation:isolate;transition:color .35s,box-shadow .35s,transform .35s}
html[dir=rtl] .profile-btn{padding:12px 22px 12px 14px}
.profile-btn:before{content:'';position:absolute;inset:0;background:var(--gold);z-index:-1;transform:scaleX(0);transform-origin:var(--sweep-from,left);transition:transform .45s cubic-bezier(.6,0,.2,1)}
html[dir=rtl] .profile-btn:before{--sweep-from:right}
.profile-btn:hover{color:var(--ink);transform:translateY(-3px);box-shadow:0 14px 30px rgba(35,31,32,.22)}
.profile-btn:hover:before{transform:scaleX(1)}
.profile-btn-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #c9a32d80;border-radius:50%;transition:border-color .35s}
.profile-btn:hover .profile-btn-icon{border-color:var(--ink)}
.profile-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.profile-btn-arrow{display:grid;place-items:center;transition:transform .35s}
html[dir=rtl] .profile-btn-arrow svg{transform:scaleX(-1)}
.profile-btn:hover .profile-btn-arrow{transform:translateX(4px)}
html[dir=rtl] .profile-btn:hover .profile-btn-arrow{transform:translateX(-4px)}
@media(max-width:767px){
  .profile-cta{padding:36px 0}
  .profile-cta-card{flex-direction:column;align-items:flex-start;gap:22px;padding:24px 20px}
  .profile-cta-card:after{inset-inline-end:-8px;bottom:-8px;width:48px;height:48px}
  .profile-btn{width:100%;justify-content:space-between}
  .profile-btn-text{flex:1}
}

/* Custom pages without the intro banner: tighter spacing between text, gallery and files. */
body[data-page=page] main>section.section-space:first-of-type{padding-top:64px}
body[data-page=page] .custom-page-body.section-space{padding-bottom:0}
body[data-page=page] .custom-page-body+.page-gallery.section-space,body[data-page=page] .custom-page-body+.page-files.section-space{padding-top:48px}
@media(max-width:767px){body[data-page=page] main>section.section-space:first-of-type{padding-top:40px}body[data-page=page] .custom-page-body+.page-gallery.section-space,body[data-page=page] .custom-page-body+.page-files.section-space{padding-top:32px}}

/* Static images: no zoom, dim or lift on hover anywhere on the site. */
:is(.service-card-photo,.support-photo,.project-card-image,.portfolio-item,.certificate-paper) img{transition:none}
:is(.service-card,.support-story,.project-card,.portfolio-item,.certificate-card):hover img{transform:none;filter:none}
.certificate-card:hover img{box-shadow:0 9px 20px #30291b1c}
.partner-card,.partner-card:hover{transform:none}
