/*
Theme Name: RATCO Solutions
Theme URI: https://ratco.info
Author: RATCO
Description: قالب ووردبريس مخصص لشركة راتكو لأنظمة الألمنيوم والزجاج المعمارية. تصميم داكن عصري بالعربية (RTL) يشمل الرئيسية، عن الشركة، الصناعات، المشاريع، آراء العملاء، وتواصل معنا.
Version: 2.9.1
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: ratco
Tags: dark, rtl-language-support, translation-ready, custom-menu, custom-colors, one-column, full-width-template, translation-ready
*/

/* ==========================================================================
   0. Fonts & Variables
   ========================================================================== */

:root{
  --dark-bg:#0b1626;
  --darker-bg:#081120;
  --section-alt:#0e1c33;
  --card-bg:#152640;
  --card-bg-light:#1a2e4d;
  --border-color:rgba(255,255,255,.08);
  --gold:#caa057;
  --gold-light:#e3c384;
  --gold-dark:#a9803f;
  --teal:#1f9d8f;
  --text-light:#f3f5f9;
  --text-muted:#a9b4c8;
  --text-muted-2:#7f8aa0;
  --radius:16px;
  --radius-sm:10px;
  --container:1320px;
  --shadow:0 20px 45px rgba(0,0,0,.35);
}

*,*::before,*::after{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  background:var(--dark-bg);
  color:var(--text-light);
  font-family:"Tajawal","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
  direction:rtl;
  text-align:right;
  margin:0;
  line-height:1.75;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4{font-family:"Cairo","Tajawal",Tahoma,Arial,sans-serif;font-weight:800;line-height:1.35;margin:0;}
p{margin:0;}
button{font-family:inherit;cursor:pointer;}

.container{max-width:var(--container);margin:0 auto;padding:0 32px;}
@media(max-width:782px){.container{padding:0 20px;}}

.section{padding:90px 0;}
.section--alt{background:var(--section-alt);}
@media(max-width:782px){.section{padding:56px 0;}}

.eyebrow{
  display:inline-block;
  color:var(--gold);
  font-weight:700;
  font-size:14px;
  letter-spacing:.3px;
  margin-bottom:14px;
  position:relative;
  padding-right:18px;
}
.eyebrow::before{
  content:"";
  position:absolute;
  right:0;top:50%;
  transform:translateY(-50%);
  width:8px;height:8px;
  border-radius:50%;
  background:var(--gold);
}

.section-title{
  font-size:clamp(28px,4vw,42px);
  color:#fff;
  margin-bottom:18px;
}
.section-sub{
  color:var(--text-muted);
  font-size:17px;
  max-width:760px;
  margin-bottom:10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:15px 30px;
  border-radius:50px;
  font-weight:700;
  font-size:15px;
  border:1px solid transparent;
  transition:all .25s ease;
  white-space:nowrap;
}
.btn-gold{background:var(--gold);color:#191008;}
.btn-gold:hover{background:var(--gold-light);color:#191008;transform:translateY(-2px);}
.btn-outline{border-color:rgba(255,255,255,.35);color:#fff;background:transparent;}
.btn-outline:hover{background:rgba(255,255,255,.08);}
.btn-dark{background:#0c2038;color:#fff;}
.btn-dark:hover{background:#132a47;}
.btn-white{background:#fff;color:#0c2038;}
.btn-white:hover{background:#eee;}
.btn-sm{padding:10px 20px;font-size:13px;}
.btn-link{color:var(--gold);font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:6px;}
.btn-link .arrow{transition:transform .2s;}
.btn-link:hover .arrow{transform:translateX(-4px);}

/* ==========================================================================
   1. Header
   ========================================================================== */
.site-header{
  position:sticky;top:0;z-index:999;
  background:rgba(8,17,32,.85);
  backdrop-filter:saturate(150%) blur(10px);
  border-bottom:1px solid var(--border-color);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 0;
}
.brand{display:flex;align-items:center;gap:12px;}
.custom-logo-link{display:flex;align-items:center;}
.site-logo-img{height:48px;width:auto;display:block;}
.footer-brand .site-logo-img{height:56px;}
.brand-mark{
  width:44px;height:44px;border-radius:50%;
  background:linear-gradient(145deg,var(--gold-light),var(--gold-dark));
  color:#221604;font-weight:800;font-size:18px;
  display:flex;align-items:center;justify-content:center;
  order:2;
}
.brand-text{text-align:right;order:1;}
.brand-text .t1{font-weight:800;font-size:19px;color:#fff;letter-spacing:1px;}
.brand-text .t2{font-size:10px;letter-spacing:3px;color:var(--gold);display:block;margin-top:2px;}

.main-nav ul{display:flex;align-items:center;gap:34px;}
.main-nav a{font-size:15px;color:var(--text-muted);font-weight:500;transition:color .2s;position:relative;}
.main-nav a:hover,.main-nav .current-menu-item>a{color:#fff;}
.main-nav .current-menu-item>a::after{
  content:"";position:absolute;bottom:-20px;right:0;left:0;height:2px;background:var(--gold);
}

.header-actions{display:flex;align-items:center;gap:16px;}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:26px;}

@media(max-width:1080px){
  .main-nav{
    position:fixed;inset:0 0 0 auto;top:0;
    width:280px;height:100vh;background:var(--darker-bg);
    padding:90px 28px 28px;transform:translateX(100%);
    transition:transform .3s ease;border-left:1px solid var(--border-color);
  }
  .main-nav.is-open{transform:translateX(0);}
  .main-nav ul{flex-direction:column;align-items:flex-start;gap:22px;}
  .menu-toggle{display:block;}
  .header-actions .btn-gold{display:none;}
}

/* ==========================================================================
   2. Hero
   ========================================================================== */
.hero{padding:70px 0 90px;}
.hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:64px;align-items:center;}
@media(max-width:960px){.hero-grid{grid-template-columns:1fr;}}

.hero-media{position:relative;}
.hero-media .media-box{
  border-radius:22px;overflow:hidden;aspect-ratio:4/3.4;
  background:linear-gradient(160deg,#1c3555,#0a1626 70%);
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border-color);
}
.hero-media img{width:100%;height:100%;object-fit:cover;}
.hero-media .placeholder-icon{opacity:.35;width:90px;height:90px;}
.badge-float{
  position:absolute;background:var(--card-bg);border:1px solid var(--border-color);
  padding:10px 18px;border-radius:50px;font-size:13px;font-weight:700;color:#fff;
  box-shadow:var(--shadow);display:flex;align-items:center;gap:8px;
}
.badge-float.top{top:22px;right:22px;}
.badge-float.bottom{bottom:-18px;left:22px;}
.badge-float .dot{width:8px;height:8px;background:var(--gold);border-radius:50%;}

.hero-tagline{color:var(--text-muted);font-size:13px;margin-bottom:18px;}
.hero-content h1{font-size:clamp(32px,4.6vw,52px);color:#fff;margin-bottom:22px;}
.hero-content h1 .accent{color:var(--gold);}
.hero-content p{color:var(--text-muted);font-size:17px;max-width:560px;margin-bottom:32px;}
.hero-actions{display:flex;gap:16px;margin-bottom:44px;flex-wrap:wrap;}
.hero-stats{display:flex;gap:44px;flex-wrap:wrap;}
.hero-stats .stat b{display:block;font-size:30px;color:#fff;font-family:"Cairo",sans-serif;}
.hero-stats .stat span{color:var(--text-muted-2);font-size:13px;}

/* ==========================================================================
   3. Cards grid (services teaser / values / steps)
   ========================================================================== */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
@media(max-width:960px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);}}
@media(max-width:620px){.grid-3,.grid-2,.grid-4{grid-template-columns:1fr;}}

.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:48px;flex-wrap:wrap;}

.mini-card{
  background:var(--card-bg);border:1px solid var(--border-color);
  border-radius:var(--radius);padding:34px 28px;transition:transform .25s,border-color .25s;
}
.mini-card:hover{transform:translateY(-6px);border-color:var(--gold);}
.mini-card .num{
  width:40px;height:40px;border-radius:50%;background:rgba(202,160,87,.15);
  color:var(--gold);font-weight:800;display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;font-family:"Cairo",sans-serif;
}
.mini-card h3{font-size:20px;color:#fff;margin-bottom:12px;}
.mini-card p{color:var(--text-muted);font-size:14.5px;margin-bottom:18px;}

/* recommendation cards */
.pick-card{
  background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);
  padding:30px 26px;position:relative;
}
.pick-card.featured{border-color:var(--gold);background:linear-gradient(160deg,#1c3150,#152640);}
.pick-tag{color:var(--text-muted-2);font-size:12.5px;margin-bottom:10px;display:block;}
.pick-card h3{color:#fff;font-size:19px;margin-bottom:16px;}
.pick-pill{
  display:inline-block;margin-top:18px;font-size:12.5px;font-weight:700;
  color:var(--gold);background:rgba(202,160,87,.12);padding:6px 14px;border-radius:50px;
}

/* value chips */
.chip-grid{display:flex;flex-wrap:wrap;gap:16px;}
.chip{
  background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-sm);
  padding:26px 20px;flex:1 1 200px;text-align:center;font-weight:700;color:#fff;font-size:15px;
}

/* step numbers (about page process) */
.step-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);padding:30px 24px;}
.step-card .num{font-family:"Cairo",sans-serif;font-size:26px;color:var(--gold);font-weight:800;margin-bottom:18px;}
.step-card h3{color:#fff;font-size:18px;margin-bottom:10px;}
.step-card p{color:var(--text-muted);font-size:14px;}

/* ==========================================================================
   4. Testimonials
   ========================================================================== */
.testi-card{
  background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);
  padding:32px 28px;display:flex;flex-direction:column;gap:22px;
}
.testi-quote-mark{color:var(--gold);font-size:30px;font-weight:800;text-align:left;font-family:Georgia,serif;}
.testi-text{color:var(--text-light);font-size:15.5px;line-height:1.9;}
.testi-person{display:flex;align-items:center;gap:12px;}
.testi-avatar{
  width:46px;height:46px;border-radius:50%;object-fit:cover;
  background:var(--teal);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:16px;
  flex-shrink:0;
}
.testi-name{color:#fff;font-weight:700;font-size:15px;}
.testi-role{color:var(--text-muted-2);font-size:12.5px;}

/* ==========================================================================
   5. CTA banner
   ========================================================================== */
.cta-banner{
  background:linear-gradient(120deg,var(--gold-light),var(--gold));
  border-radius:24px;padding:52px 48px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;
  color:#241706;
}
.cta-banner h2{color:#1c1305;font-size:clamp(24px,3vw,32px);margin-bottom:10px;}
.cta-banner p{color:#3a2c10;font-size:15px;}
.cta-actions{display:flex;gap:14px;flex-wrap:wrap;}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.site-footer{background:var(--darker-bg);padding-top:70px;border-top:1px solid var(--border-color);}
.footer-grid{display:grid;grid-template-columns:1.1fr 0.8fr 0.9fr 1.2fr;gap:40px;padding-bottom:50px;}
@media(max-width:900px){.footer-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.footer-grid{grid-template-columns:1fr;}}
.footer-grid h4{color:var(--gold);font-size:15px;margin-bottom:22px;}
.footer-grid li{margin-bottom:12px;}
.footer-grid a,.footer-grid p{color:var(--text-muted);font-size:14px;}
.footer-grid a:hover{color:#fff;}
.footer-brand .brand{margin-bottom:16px;}
.footer-brand p{color:var(--text-muted-2);font-size:13.5px;line-height:1.9;}
.footer-bottom{
  border-top:1px solid var(--border-color);padding:22px 0;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
}
.footer-bottom p{color:var(--text-muted-2);font-size:13px;}
.footer-values{display:flex;gap:18px;flex-wrap:wrap;}
.footer-values span{color:var(--text-muted-2);font-size:13px;}

/* ==========================================================================
   7. Inner page headers
   ========================================================================== */
.page-hero{padding:64px 0 20px;}
.page-hero .section-title{max-width:900px;}
.page-hero .section-sub{max-width:820px;}

/* ==========================================================================
   8. Services list (full)
   ========================================================================== */
.service-row{
  background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);
  padding:40px;display:grid;grid-template-columns:260px 1fr;gap:40px;margin-bottom:28px;
}
@media(max-width:820px){.service-row{grid-template-columns:1fr;}}
.service-row .side-label{color:var(--text-muted-2);font-size:12.5px;margin-bottom:14px;}
.service-row .side-list li{
  color:var(--text-muted);font-size:14px;padding-right:20px;position:relative;margin-bottom:12px;
}
.service-row .side-list li::before{content:"›";position:absolute;right:0;color:var(--gold);font-weight:800;}
.service-row .num-badge{
  display:inline-flex;align-items:center;gap:10px;color:var(--gold);font-weight:800;
  font-family:"Cairo",sans-serif;margin-bottom:16px;font-size:14px;
}
.service-row .num-badge .circle{width:30px;height:30px;border-radius:50%;background:rgba(202,160,87,.15);display:flex;align-items:center;justify-content:center;font-size:13px;}
.service-row h3{color:#fff;font-size:24px;margin-bottom:16px;}
.service-row p{color:var(--text-muted);font-size:15px;margin-bottom:22px;}

/* ==========================================================================
   9. Projects grid
   ========================================================================== */
.project-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);overflow:hidden;}
.project-card .thumb{aspect-ratio:16/10;background:linear-gradient(160deg,#233f66,#0e1c33);overflow:hidden;}
.project-card .thumb img{width:100%;height:100%;object-fit:cover;}
.project-card .body{padding:22px 24px;}
.project-card .meta-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:10px;}
.project-card h3{color:#fff;font-size:18px;}
.project-card .location{color:var(--text-muted-2);font-size:12.5px;margin-bottom:10px;display:block;}
.project-card .tag{
  background:rgba(202,160,87,.12);color:var(--gold);font-size:11.5px;font-weight:700;
  padding:5px 12px;border-radius:50px;white-space:nowrap;
}
.project-card p{color:var(--text-muted);font-size:14px;}

/* ==========================================================================
   10. Contact page
   ========================================================================== */
.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:46px 0;}
@media(max-width:820px){.contact-cards{grid-template-columns:1fr;}}
.contact-cards .c-card{
  background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);
  padding:30px 26px;text-align:center;
}
.contact-cards .c-card .label{color:var(--text-muted-2);font-size:13px;margin-bottom:12px;}
.contact-cards .c-card .value{color:#fff;font-weight:800;font-size:17px;direction:ltr;display:inline-block;}

.requirements-box{
  background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);
  padding:44px;display:grid;grid-template-columns:1fr 1.3fr;gap:44px;
}
@media(max-width:900px){.requirements-box{grid-template-columns:1fr;}}
.requirements-box h3{color:#fff;font-size:22px;margin-bottom:22px;}
.req-list li{color:var(--text-muted);font-size:15px;padding-right:24px;position:relative;margin-bottom:16px;}
.req-list li::before{content:"•";color:var(--gold);position:absolute;right:0;font-size:20px;line-height:1;}
.avail-label{color:var(--text-muted-2);font-size:12.5px;margin-bottom:16px;}
.tag-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px;}
.tag-pill{
  background:var(--card-bg-light);border:1px solid var(--border-color);color:var(--text-light);
  font-size:13px;padding:9px 18px;border-radius:50px;
}
.company-line{color:var(--text-muted-2);font-size:13.5px;line-height:1.9;border-top:1px solid var(--border-color);padding-top:20px;}

/* contact form */
.wpcf7,form.contact-form{background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);padding:36px;margin-top:20px;}
form.contact-form label{display:block;color:var(--text-muted);font-size:13.5px;margin-bottom:8px;}
form.contact-form input,form.contact-form textarea,form.contact-form select{
  width:100%;background:var(--darker-bg);border:1px solid var(--border-color);border-radius:var(--radius-sm);
  padding:13px 16px;color:#fff;font-family:inherit;margin-bottom:18px;font-size:14.5px;
}
form.contact-form input:focus,form.contact-form textarea:focus{outline:none;border-color:var(--gold);}

/* ==========================================================================
   11. About page bits
   ========================================================================== */
.split-2{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
@media(max-width:820px){.split-2{grid-template-columns:1fr;}}
.split-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius);padding:36px;border-top:3px solid var(--gold);}
.split-card h3{color:#fff;font-size:20px;margin:8px 0 14px;}
.split-card p{color:var(--text-muted);font-size:14.5px;}

.equip-block{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;}
@media(max-width:900px){.equip-block{grid-template-columns:1fr;}}
.equip-block .media{border-radius:20px;overflow:hidden;aspect-ratio:16/11;background:linear-gradient(160deg,#1c3555,#0a1626);border:1px solid var(--border-color);}
.equip-block .media img{width:100%;height:100%;object-fit:cover;}

/* generic page content (WP editor content on inner pages) */
.entry-content{color:var(--text-muted);font-size:16px;}
.entry-content h2,.entry-content h3{color:#fff;margin:28px 0 14px;}
.entry-content p{margin-bottom:16px;}
.entry-content a{color:var(--gold);text-decoration:underline;}

/* Skip link */
.skip-link{position:absolute;right:-999px;top:auto;background:#fff;color:#000;padding:10px 16px;z-index:1000;}
.skip-link:focus{right:10px;top:10px;}


/* ==========================================================================
   12. Language switcher, map, English (LTR) overrides
   ========================================================================== */
.lang-switch{
  border:1px solid rgba(255,255,255,.25);color:#fff;font-size:13px;font-weight:700;
  padding:8px 16px;border-radius:50px;transition:all .2s;line-height:1;
}
.lang-switch:hover{border-color:var(--gold);color:var(--gold);}

.map-section{margin-top:56px;}
.map-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px;}
.map-frame{
  border-radius:var(--radius);overflow:hidden;border:1px solid var(--border-color);
  background:var(--card-bg);aspect-ratio:16/6;min-height:320px;
}
.map-frame iframe{width:100%;height:100%;min-height:320px;border:0;display:block;
  filter:invert(92%) hue-rotate(180deg) saturate(.7) brightness(.95);} /* dark map to match the theme; remove this line for the standard colored map */
@media(max-width:700px){.map-frame{aspect-ratio:auto;height:340px;}}

/* English / left-to-right */
html[dir="ltr"] body{direction:ltr;text-align:left;}
html[dir="ltr"] .eyebrow{padding-right:0;padding-left:18px;}
html[dir="ltr"] .eyebrow::before{right:auto;left:0;}
html[dir="ltr"] .badge-float.top{right:auto;left:22px;}
html[dir="ltr"] .badge-float.bottom{left:auto;right:22px;}
html[dir="ltr"] .testi-quote-mark{text-align:right;}
html[dir="ltr"] .service-row .side-list li,
html[dir="ltr"] .req-list li{padding-right:0;padding-left:22px;}
html[dir="ltr"] .service-row .side-list li::before{right:auto;left:0;}
html[dir="ltr"] .req-list li::before{right:auto;left:0;}
html[dir="ltr"] .btn-link:hover .arrow{transform:translateX(4px);}
html[dir="ltr"] .skip-link{right:auto;left:-999px;}
html[dir="ltr"] .skip-link:focus{left:10px;right:auto;}
html[lang="en"] body{font-family:"Tajawal","Cairo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;}
html[lang="en"] h1,html[lang="en"] h2,html[lang="en"] h3,html[lang="en"] h4{letter-spacing:-.2px;line-height:1.25;}


/* ==========================================================================
   13. Project photo gallery + industries font
   ========================================================================== */
.project-card--gallery{grid-column:1/-1;}
.gallery-strip{display:flex;gap:6px;background:var(--darker-bg);}
.gallery-strip a{display:block;flex:var(--r,.56) 1 0;min-width:0;overflow:hidden;}
.gallery-strip img{width:100%;height:auto;display:block;transition:transform .4s;}
.gallery-strip a:hover img{transform:scale(1.04);}
@media(max-width:820px){
  .gallery-strip{overflow-x:auto;scroll-snap-type:x mandatory;}
  .gallery-strip a{flex:0 0 auto;scroll-snap-align:start;}
  .gallery-strip img{height:380px;width:auto;max-width:none;}
}
@media(min-width:821px){.project-card--gallery .body{padding:26px 30px;}.project-card--gallery h3{font-size:22px;}}

/* Industries section font — change this one variable to switch the font */
:root{--font-industries:"Tajawal","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;}
.service-row h3,.service-row p,.service-row li,.service-row .side-label,.service-row .btn{font-family:var(--font-industries);}
.service-row h3{font-weight:800;font-size:25px;line-height:1.5;}
.service-row p{font-size:16px;line-height:1.95;}

.service-galleries{grid-column:1/-1;margin-top:6px;}
.gallery-label{color:var(--gold);font-size:15px;font-weight:800;margin:18px 0 10px;font-family:var(--font-industries);}
.service-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;}
.service-gallery a{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:12px;border:1px solid var(--border-color);}
.service-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s;}
.service-gallery a:hover img{transform:scale(1.05);}


/* ==========================================================================
   14. Mobile / tablet consistency
   ========================================================================== */
body{overflow-x:hidden;overflow-x:clip;}
img,svg,iframe,video{max-width:100%;}

/* backdrop-filter on the header would break the fixed mobile drawer, so it lives on a pseudo-element */
.site-header{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;}
.site-header::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:rgba(8,17,32,.9);
  -webkit-backdrop-filter:saturate(150%) blur(10px);backdrop-filter:saturate(150%) blur(10px);
}
.nav-cta{display:none;}
.nav-backdrop{
  position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:998;
  opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;
}
.nav-backdrop.is-open{opacity:1;visibility:visible;}
body.nav-open{overflow:hidden;}

@media(max-width:1080px){
  .header-inner{padding:12px 0;gap:12px;}
  .site-logo-img{height:40px;}
  .header-actions{gap:10px;}
  .lang-switch{font-size:12.5px;padding:8px 13px;}
  .menu-toggle{
    display:flex;align-items:center;justify-content:center;width:44px;height:44px;
    border:1px solid var(--border-color);border-radius:12px;font-size:22px;line-height:1;padding:0;
    background:rgba(255,255,255,.04);
  }

  .site-header .main-nav{
    position:fixed;top:0;bottom:0;height:100vh;height:100dvh;width:min(300px,86vw);
    padding:84px 26px 28px;background:var(--darker-bg);z-index:1001;overflow-y:auto;
    display:flex;flex-direction:column;gap:22px;transition:transform .3s ease;
  }
  html[dir="rtl"] .site-header .main-nav{left:0;right:auto;transform:translateX(-100%);border:0;border-right:1px solid var(--border-color);}
  html[dir="ltr"] .site-header .main-nav{right:0;left:auto;transform:translateX(100%);border:0;border-left:1px solid var(--border-color);}
  html[dir] .site-header .main-nav.is-open{transform:none;}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:0;}
  .main-nav a{display:block;padding:14px 0;font-size:17px;color:#fff;border-bottom:1px solid var(--border-color);}
  .main-nav .current-menu-item>a{color:var(--gold);}
  .main-nav .current-menu-item>a::after{display:none;}
  .nav-cta{display:inline-flex;justify-content:center;margin-top:auto;border-bottom:0 !important;color:#191008 !important;}
}

@media(max-width:960px){
  .hero{padding:36px 0 56px;}
  .hero-grid{gap:44px;}
  .hero-content{order:1;}
  .hero-media{order:2;}
  .hero-media .media-box{aspect-ratio:4/3;}
  .footer-brand{grid-column:1/-1;}
}

@media(max-width:820px){
  .page-hero{padding:40px 0 6px;}
  .section-head{margin-bottom:30px;}
  .service-row{padding:24px 20px;gap:20px;}
  .service-row>div:first-child{order:2;}
  .service-row>div:nth-child(2){order:1;}
  .service-row>.service-galleries{order:3;}
  .service-row h3{font-size:21px;}
  .service-row p{font-size:15px;}
  .requirements-box{padding:24px 20px;gap:26px;}
  .cta-banner{padding:32px 24px;}
  .split-card{padding:26px 22px;}
}

@media(max-width:620px){
  .container{padding:0 18px;}
  .section{padding:48px 0;}
  .btn{white-space:normal;text-align:center;justify-content:center;}
  .hero-actions{margin-bottom:34px;}
  .hero-actions .btn,.cta-actions .btn{flex:1 1 100%;}
  .cta-actions{width:100%;}
  .hero-content h1{font-size:30px;}
  .hero-content p{font-size:15.5px;}
  .hero-stats{gap:18px 30px;}
  .hero-stats .stat b{font-size:26px;}
  .badge-float{font-size:12px;padding:8px 14px;}
  .badge-float.top{top:14px;}
  .badge-float.bottom{bottom:-14px;}
  .mini-card,.pick-card,.step-card{padding:24px 20px;}
  .chip{flex:1 1 calc(50% - 8px);padding:18px 12px;font-size:14px;}
  .contact-cards{margin:30px 0;gap:14px;}
  .contact-cards .c-card{padding:22px 18px;}
  .contact-cards .c-card .value{font-size:15px;overflow-wrap:anywhere;}
  .tag-pill{font-size:12.5px;padding:8px 14px;}
  .project-card .meta-row{flex-wrap:wrap;}
  .project-card .body{padding:18px 18px;}
  .map-head .btn{width:100%;}
  .gallery-strip img{height:320px;}
  .service-gallery{grid-template-columns:repeat(2,1fr);}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
  .contact-form{padding:22px 18px;}
}


/* ==========================================================================
   15. Logo + mobile header polish (v2.6.2)
   ========================================================================== */
/* logo uploaded from Customizer (Appearance > Customize > Site Identity) */
.custom-logo{height:48px;width:auto;max-width:100%;display:block;}
.footer-brand .custom-logo{height:56px;}
.brand{min-width:0;}

/* .container (padding:0 18px) was overriding the header's vertical padding on phones */
@media(max-width:1080px){
  .site-header .header-inner{padding-top:10px;padding-bottom:10px;}
  .site-logo-img,.custom-logo{height:44px;}
  .menu-toggle{font-size:0;position:relative;z-index:1002;flex:0 0 auto;}
  .menu-toggle::before{content:"\2630";font-size:22px;line-height:1;}
  .menu-toggle[aria-expanded="true"]::before{content:"\2715";}
  /* keep the drawer's content below the (now visible) close button */
  .site-header .main-nav{padding-top:80px;padding-bottom:max(28px,env(safe-area-inset-bottom));}
}
@media(max-width:420px){
  .site-header .header-inner{gap:8px;}
  .site-logo-img,.custom-logo{height:42px;}
  .header-actions{gap:8px;}
  .lang-switch{font-size:12px;padding:7px 11px;}
  .menu-toggle{width:40px;height:40px;}
  .footer-brand .site-logo-img,.footer-brand .custom-logo{height:48px;}
}
@media(max-width:340px){
  .site-logo-img,.custom-logo{height:36px;}
  .lang-switch{padding:6px 9px;}
}

/* ==========================================================================
   16. Articles (v2.7.0)
   ========================================================================== */
.article-card .thumb{display:block;}
.article-card h3 a{color:#fff;}
.article-card h3 a:hover{color:var(--gold);}
.article-card h3{margin-bottom:8px;}
.article-card .body p{margin-bottom:14px;}
.article-card .article-date{color:var(--text-muted-2);font-size:12.5px;}
.article-card{display:flex;flex-direction:column;}
.article-card .body{display:flex;flex-direction:column;flex:1;}
.article-card .btn-link{margin-top:auto;}
html[dir="ltr"] .article-card .btn-link:hover .arrow{transform:translateX(4px);}

.article-filter .tag-pill{transition:border-color .2s,color .2s;}
.article-filter .tag-pill:hover{border-color:var(--gold);color:var(--gold);}
.article-filter .tag-pill.is-active{background:var(--gold);border-color:var(--gold);color:#191008;font-weight:700;}

.article-hero .eyebrow a{color:inherit;}
.article-meta{color:var(--text-muted-2);font-size:14px;margin-top:14px;}
.article-wrap{max-width:860px;}
.article-cover{
  border-radius:var(--radius);overflow:hidden;margin:0 auto 30px;border:1px solid var(--border-color);
  width:100%;max-width:680px;aspect-ratio:16/9;max-height:320px;background:var(--card-bg);
}
.article-cover img{width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block;}
@media(max-width:620px){.article-cover{aspect-ratio:16/10;max-height:210px;margin-bottom:22px;border-radius:var(--radius-sm);}}
/* single pictures inside the text: never taller than a comfortable height */
.article-wrap .entry-content>figure:not(.wp-block-gallery) img,.article-wrap .entry-content>p>img,.article-wrap .entry-content>.wp-block-image img{
  width:auto;max-width:100%;max-height:480px;margin-inline:auto;object-fit:contain;
}
@media(max-width:620px){.article-wrap .entry-content>figure:not(.wp-block-gallery) img,.article-wrap .entry-content>p>img,.article-wrap .entry-content>.wp-block-image img{max-height:340px;}}
.article-notice{background:rgba(202,160,87,.1);border:1px solid rgba(202,160,87,.3);color:var(--gold-light);padding:12px 16px;border-radius:var(--radius-sm);font-size:14px;margin-bottom:26px;}
.article-wrap .entry-content{font-size:17px;line-height:1.95;}
.article-wrap .entry-content img{max-width:100%;height:auto;border-radius:var(--radius-sm);}
.article-wrap .entry-content ul,.article-wrap .entry-content ol{margin:0 0 18px;padding-inline-start:24px;}
.article-wrap .entry-content ul{list-style:disc;}
.article-wrap .entry-content ol{list-style:decimal;}
.article-wrap .entry-content li{margin-bottom:8px;}
.article-wrap .entry-content blockquote{margin:24px 0;padding:6px 20px;border-inline-start:3px solid var(--gold);color:var(--text-light);}
.article-wrap .entry-content h2{font-size:26px;}
.article-wrap .entry-content h3{font-size:21px;}
.article-back{margin-top:44px;padding-top:24px;border-top:1px solid var(--border-color);}
html[dir="ltr"] .article-back .btn-link:hover .arrow{transform:translateX(-4px);}

.article-pagination{margin-top:44px;}
.article-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;}
.article-pagination .page-numbers{
  min-width:42px;height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;
  background:var(--card-bg);border:1px solid var(--border-color);border-radius:50px;color:var(--text-light);font-size:14px;
}
.article-pagination a.page-numbers:hover{border-color:var(--gold);color:var(--gold);}
.article-pagination .page-numbers.current{background:var(--gold);border-color:var(--gold);color:#191008;font-weight:700;}
.article-pagination .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}

@media(max-width:620px){
  .article-wrap .entry-content{font-size:16px;}
  .article-wrap .entry-content h2{font-size:22px;}
  .article-filter{flex-wrap:nowrap;overflow-x:auto;margin-inline:-18px;padding:0 18px 6px;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .article-filter::-webkit-scrollbar{display:none;}
  .article-filter .tag-pill{white-space:nowrap;flex:0 0 auto;}
  .latest-articles .section-head .btn-link{margin-top:-4px;}
}


/* ==========================================================================
   17. Desktop logo (v2.7.1)
   ========================================================================== */
@media(min-width:1081px){
  .brand{flex:0 0 auto;}
  .custom-logo-link{transition:opacity .2s ease;}
  .custom-logo-link:hover{opacity:.88;}
  .site-header .header-inner{padding-top:14px;padding-bottom:14px;gap:24px;}
  .site-logo-img,.custom-logo{height:52px;width:auto;}
  .footer-brand .site-logo-img,.footer-brand .custom-logo{height:64px;}
  .main-nav ul{gap:22px;}
  .main-nav a{font-size:14.5px;white-space:nowrap;}
  .main-nav .current-menu-item>a::after{bottom:-24px;}
  .header-actions{gap:12px;flex:0 0 auto;}
}
@media(min-width:1280px){
  .site-logo-img,.custom-logo{height:60px;}
  .main-nav ul{gap:34px;}
  .main-nav a{font-size:15px;}
  .main-nav .current-menu-item>a::after{bottom:-27px;}
  .header-actions{gap:16px;}
}
@media(min-width:1700px){
  .site-logo-img,.custom-logo{height:66px;}
  .site-header .header-inner{padding-top:16px;padding-bottom:16px;}
  .main-nav .current-menu-item>a::after{bottom:-30px;}
}

/* ==========================================================================
   18. Article images: figures, mosaic galleries, slider, lightbox (v2.8.0)
   ========================================================================== */
.article-wrap .entry-content figure{margin:30px 0;}
.article-wrap .entry-content figure img{display:block;width:100%;height:auto;border-radius:var(--radius-sm);}
.article-wrap .entry-content figcaption{color:var(--text-muted-2);font-size:13.5px;line-height:1.7;margin-top:10px;text-align:center;}
.article-wrap .entry-content img.rm-zoomable{cursor:zoom-in;transition:filter .25s ease,transform .25s ease;}
.article-wrap .entry-content img.rm-zoomable:hover{filter:brightness(1.08);}
.article-wrap .entry-content img.rm-zoomable:focus-visible,.article-cover img.rm-zoomable:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
.article-cover img.rm-zoomable{cursor:zoom-in;}

/* zoom hint on every zoomable figure */
.article-wrap .entry-content figure{position:relative;}
.article-wrap .entry-content figure:has(img.rm-zoomable)::after{
  content:"";position:absolute;inset-block-start:12px;inset-inline-end:12px;width:34px;height:34px;border-radius:50%;pointer-events:none;
  background:rgba(8,17,32,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5.5 5.5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center/18px no-repeat;
  opacity:0;transition:opacity .2s;
}
.article-wrap .entry-content figure:has(img.rm-zoomable):hover::after{opacity:1;}
@media(hover:none){.article-wrap .entry-content figure:has(img.rm-zoomable)::after{opacity:.85;width:30px;height:30px;}}

/* galleries -> mosaic grid (first picture bigger when there are 3+) */
.article-wrap .entry-content .wp-block-gallery,.article-wrap .entry-content .gallery{
  display:grid !important;grid-template-columns:repeat(3,1fr);gap:10px;margin:32px 0;padding:0;list-style:none;
}
.article-wrap .entry-content .wp-block-gallery>figure,.article-wrap .entry-content .wp-block-gallery .wp-block-image,
.article-wrap .entry-content .gallery .gallery-item{
  width:auto !important;max-width:none !important;margin:0 !important;flex:none !important;position:relative;overflow:hidden;
  border-radius:var(--radius-sm);aspect-ratio:4/3;background:var(--card-bg);
}
.article-wrap .entry-content .wp-block-gallery img,.article-wrap .entry-content .gallery img{
  width:100% !important;height:100% !important;object-fit:cover;border-radius:0;transition:transform .5s ease;
}
.article-wrap .entry-content .wp-block-gallery figure:hover img,.article-wrap .entry-content .gallery .gallery-item:hover img{transform:scale(1.05);}
.article-wrap .entry-content .gallery .gallery-icon,.article-wrap .entry-content .gallery .gallery-icon a{display:block;height:100%;}
.article-wrap .entry-content .wp-block-gallery figcaption,.article-wrap .entry-content .gallery figcaption{
  position:absolute;inset-inline:0;bottom:0;margin:0;padding:22px 12px 10px;text-align:start;font-size:12.5px;color:#fff;
  background:linear-gradient(transparent,rgba(5,10,20,.82));pointer-events:none;
}
.article-wrap .entry-content .wp-block-gallery>figure:first-child:nth-last-child(n+3),
.article-wrap .entry-content .gallery .gallery-item:first-child:nth-last-child(n+3){grid-column:span 2;grid-row:span 2;aspect-ratio:auto;}
/* no empty cells at the end of the mosaic */
.article-wrap .entry-content .wp-block-gallery:not(.ratco-slider)>figure:last-child:nth-child(3n+2):nth-child(n+5),
.article-wrap .entry-content .gallery .gallery-item:last-child:nth-child(3n+2):nth-child(n+5){grid-column:span 2;aspect-ratio:8/3;}
.article-wrap .entry-content .wp-block-gallery:not(.ratco-slider)>figure:last-child:nth-child(3n+1):nth-child(n+4),
.article-wrap .entry-content .gallery .gallery-item:last-child:nth-child(3n+1):nth-child(n+4){grid-column:span 3;aspect-ratio:3/1;}
.article-wrap .entry-content .wp-block-gallery:has(>figure:nth-child(2):last-child),
.article-wrap .entry-content .gallery:has(.gallery-item:nth-child(2):last-child){grid-template-columns:repeat(2,1fr);}

/* galleries -> elegant swipe slider (default for every article gallery).
   Add the CSS class "ratco-grid" to a gallery block to keep the mosaic grid instead. */
.rm-slider{position:relative;margin:38px 0;}
.rm-viewport{position:relative;}
.article-wrap .entry-content .ratco-slider{
  display:flex !important;align-items:stretch;grid-template-columns:none;gap:14px;margin:0 !important;
  padding:0 9%;scroll-padding-inline:9%;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;
}
.ratco-slider::-webkit-scrollbar{display:none;}
.article-wrap .entry-content .ratco-slider.ratco-slider.ratco-slider>figure,.article-wrap .entry-content .ratco-slider.ratco-slider.ratco-slider .gallery-item,.article-wrap .entry-content .ratco-slider.ratco-slider.ratco-slider>li{
  flex:0 0 82% !important;scroll-snap-align:center;scroll-snap-stop:always;aspect-ratio:16/10 !important;grid-column:auto !important;grid-row:auto !important;
  border-radius:var(--radius-sm);
}
/* the neighbours are dimmed a little, the active slide is full strength (only once the script has built the slider) */
.article-wrap .entry-content .rm-slider.is-ready .ratco-slider.ratco-slider.ratco-slider>figure:not(.rm-active),
.article-wrap .entry-content .rm-slider.is-ready .ratco-slider.ratco-slider.ratco-slider .gallery-item:not(.rm-active){opacity:.45;transform:scale(.96);}
.article-wrap .entry-content .rm-slider.is-ready .ratco-slider>figure,
.article-wrap .entry-content .rm-slider.is-ready .ratco-slider .gallery-item{transition:opacity .35s ease,transform .35s ease;}
.article-wrap .entry-content .ratco-slider.is-dragging{scroll-snap-type:none;scroll-behavior:auto;cursor:grabbing;user-select:none;}
.article-wrap .entry-content .ratco-slider img{-webkit-user-drag:none;user-select:none;}

.rm-slider-btn{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.2);
  background:rgba(8,17,32,.78);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;
  backdrop-filter:blur(6px);transition:background .2s,opacity .2s;touch-action:manipulation;
}
.rm-slider-btn:hover:not(:disabled){background:var(--gold);color:#191008;}
.rm-slider-btn:disabled{opacity:0;pointer-events:none;}
.rm-slider-btn.is-next{inset-inline-end:10px;}
.rm-slider-btn.is-prev{inset-inline-start:10px;}
.rm-slider-btn.is-prev svg{transform:scaleX(-1);}
html[dir="rtl"] .rm-slider-btn.is-next svg{transform:scaleX(-1);}
html[dir="rtl"] .rm-slider-btn.is-prev svg{transform:none;}
.rm-slider.is-static .rm-slider-btn,.rm-slider.is-static .rm-slider-foot{display:none;}

/* dots + counter under the slider */
.rm-slider-foot{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:16px;}
.rm-dots{display:flex;align-items:center;gap:8px;}
.rm-dot{position:relative;width:8px;height:8px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.28);transition:width .3s ease,background .3s ease;touch-action:manipulation;}
.rm-dot::after{content:"";position:absolute;inset:-12px -5px;}
.rm-dot.is-active{width:26px;background:var(--gold);}
.rm-slider-count{direction:ltr;unicode-bidi:isolate;font-size:13px;letter-spacing:.04em;color:var(--text-muted-2);font-variant-numeric:tabular-nums;}
@media(hover:none){.rm-slider-btn{display:none;}}

/* lightbox */
html.rm-lock{overflow:hidden;}
.rm-lightbox{
  position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;background:rgba(3,7,14,.94);
  opacity:0;transition:opacity .18s ease;backdrop-filter:blur(4px);touch-action:none;overscroll-behavior:contain;
  padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.rm-lightbox[hidden]{display:none;}
.rm-lightbox.is-open{opacity:1;}
.rm-top{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;color:#d6dbe6;font-size:14px;direction:ltr;}
html[dir="rtl"] .rm-top{direction:rtl;}
.rm-tools{display:flex;gap:8px;}
.rm-count{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;letter-spacing:.02em;}
.rm-btn{
  width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,color .2s;
}
.rm-btn:hover{background:var(--gold);border-color:var(--gold);color:#191008;}
.rm-btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}
.rm-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;padding:0 10px;}
.rm-img{
  max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:6px;opacity:0;transform:scale(.98);
  transition:opacity .22s ease,transform .22s ease;cursor:zoom-in;user-select:none;-webkit-user-drag:none;
}
.rm-img.is-in{opacity:1;transform:scale(1);}
.rm-lightbox.is-zoomed .rm-img{transform:scale(2.2);cursor:zoom-out;transition:transform .2s ease;}
.rm-nav{position:absolute;top:50%;margin-top:-23px;z-index:2;}
.rm-next{inset-inline-end:14px;}
.rm-prev{inset-inline-start:14px;}
.rm-prev svg{transform:scaleX(-1);}
html[dir="rtl"] .rm-next svg{transform:scaleX(-1);}
html[dir="rtl"] .rm-prev svg{transform:none;}
.rm-lightbox.is-zoomed .rm-nav{opacity:0;pointer-events:none;}
.rm-caption{margin:0;padding:12px 70px 18px;text-align:center;color:#e6eaf2;font-size:15px;line-height:1.7;min-height:20px;}
.rm-caption[hidden]{display:none;}
.rm-spinner{position:absolute;width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.2);border-top-color:var(--gold);animation:rm-spin .8s linear infinite;opacity:0;pointer-events:none;}
.rm-lightbox.is-loading .rm-spinner{opacity:1;}
@keyframes rm-spin{to{transform:rotate(360deg);}}

@media(max-width:620px){
  .article-wrap .entry-content .wp-block-gallery,.article-wrap .entry-content .gallery{grid-template-columns:repeat(2,1fr);gap:8px;}
  .article-wrap .entry-content .wp-block-gallery>figure:first-child:nth-last-child(n+3),
  .article-wrap .entry-content .gallery .gallery-item:first-child:nth-last-child(n+3){grid-column:span 2;grid-row:span 1;aspect-ratio:16/10;}
  .article-wrap .entry-content .wp-block-gallery:not(.ratco-slider)>figure:last-child:nth-child(n+4):nth-child(n+1),
  .article-wrap .entry-content .gallery .gallery-item:last-child:nth-child(n+4):nth-child(n+1){grid-column:auto;aspect-ratio:4/3;}
  .article-wrap .entry-content .wp-block-gallery:not(.ratco-slider)>figure:last-child:nth-child(even):nth-child(n+4),
  .article-wrap .entry-content .gallery .gallery-item:last-child:nth-child(even):nth-child(n+4){grid-column:span 2;aspect-ratio:16/9;}
  .article-wrap .entry-content .ratco-slider{padding:0 5%;scroll-padding-inline:5%;gap:10px;}
  .article-wrap .entry-content .ratco-slider.ratco-slider.ratco-slider>figure,.article-wrap .entry-content .ratco-slider.ratco-slider.ratco-slider .gallery-item,.article-wrap .entry-content .ratco-slider.ratco-slider.ratco-slider>li{flex-basis:90% !important;aspect-ratio:4/3 !important;}
  .rm-slider-btn{width:40px;height:40px;}
  .rm-nav{width:42px;height:42px;margin-top:-21px;background:rgba(8,17,32,.6);}
  .rm-next{inset-inline-end:6px;}.rm-prev{inset-inline-start:6px;}
  .rm-caption{padding:10px 18px 16px;font-size:14px;}
}
@media(prefers-reduced-motion:reduce){.rm-lightbox,.rm-img,.article-wrap .entry-content .gallery img,.article-wrap .entry-content .wp-block-gallery img{transition:none !important;}}

/* ==========================================================================
   19. Contact + mobile fixes (v2.8.0)
   ========================================================================== */
.contact-cards .c-card .label{display:block;}
@media(max-width:620px){
  form.contact-form,.wpcf7{padding:22px 18px;border-radius:var(--radius-sm);}
  form.contact-form input,form.contact-form textarea,form.contact-form select,
  .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.wpcf7 textarea,.wpcf7 select{font-size:16px;} /* prevents iOS zoom-on-focus */
  form.contact-form .btn,form.contact-form button[type=submit],.wpcf7 input[type=submit]{width:100%;}
  .map-frame{height:300px;}
  .map-section{margin-top:40px;}
  .map-head{margin-bottom:16px;}
  .page-hero{padding-top:44px;padding-bottom:36px;}
}

/* ==========================================================================
   20. Industry section links + mobile stability (v2.9.0)
   ========================================================================== */
/* "Discover more" and footer links jump to the exact industry on /industries/ */
.service-row{scroll-margin-top:112px;}
.service-row:target{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold),var(--shadow);animation:svc-flash 2.4s ease-out 1;}
@keyframes svc-flash{0%{background:rgba(202,160,87,.2);}100%{background:var(--card-bg);}}
@media(max-width:1080px){.service-row{scroll-margin-top:92px;}}

/* the page must never pan sideways on a phone */
html{overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
a,button,.btn,.menu-toggle,.lang-switch{touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
/* grid / flex children may shrink below their content, otherwise one long word or e-mail widens the whole page */
.grid-2>*,.grid-3>*,.hero-grid>*,.footer-grid>*,.service-row>*,.split-card>*,.contact-cards>*,.cta-banner>*{min-width:0;}
.footer-grid a,.footer-grid p,.contact-cards .c-card .value{overflow-wrap:anywhere;}
.entry-content{overflow-wrap:break-word;min-width:0;}
.article-wrap .entry-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.article-wrap .entry-content pre{max-width:100%;overflow-x:auto;}
.article-wrap .entry-content iframe,.article-wrap .entry-content video,.article-wrap .entry-content embed{max-width:100%;}
.article-wrap .entry-content .alignfull,.article-wrap .entry-content .alignwide{width:100%;max-width:100%;margin-inline:0;}
.article-wrap .entry-content .alignleft,.article-wrap .entry-content .alignright{float:none;display:block;margin:0 auto 20px;max-width:100%;}

/* closed mobile drawer is really out of the way (no off-screen box that iOS can drag into view) */
@media(max-width:1080px){
  .site-header .main-nav{visibility:hidden;pointer-events:none;transition:transform .3s ease,visibility 0s linear .3s;}
  .site-header .main-nav.is-open{visibility:visible;pointer-events:auto;transition:transform .3s ease,visibility 0s;}
}

@media(prefers-reduced-motion:reduce){
  .service-row:target{animation:none;}
  .rm-dot,.rm-slider .ratco-slider>figure,.rm-slider .ratco-slider .gallery-item{transition:none !important;}
}
