:root{
  --topbar-bg:#3c515b;
  --accent:#ca4300;
  --text-dark:#333333;
  --text-grey:#666666;
  --border:#e2e2e2;
  --eyebrow:#4f7083;
  --footer-dark:#20262b;
  --submenu:#7a6a58;
  color-scheme: light;
  box-sizing:border-box;
}
*{box-sizing:inherit; margin:0; padding:0;}
body{
  font-family:-apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:#fff;
}
img{ max-width:100%; }
a{ font-family:inherit; }

/* =========================================================
   NAVBAR (site-header.php)
   ========================================================= */
.topbar{ background:var(--topbar-bg); color:#fff; position:relative; z-index:60; }
.topbar-inner{
  max-width:1400px; margin:0 auto; display:flex; justify-content:flex-end;
  align-items:center; gap:28px; padding:9px 24px; font-size:13px;
}
.topbar a{ color:#fff; text-decoration:none; display:flex; align-items:center; gap:6px; white-space:nowrap; }
.topbar a:hover{ text-decoration:underline; }
.dot{ width:8px; height:8px; border-radius:50%; background:var(--accent); display:inline-block; flex:none; }

 .navbar{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:60;
  transition:box-shadow .3s ease;
}
.navbar.scrolled{ box-shadow:0 6px 20px rgba(0,0,0,.10); }
.navbar-inner{
  max-width:1400px; margin:0 auto; display:flex; align-items:center;
  justify-content:space-between; padding:14px 24px; gap:16px;
}
.logo svg{ display:block; height:34px; width:auto; }
.logo{ flex:none; }

nav.primary-nav{ display:flex; align-items:center; gap:30px; flex:1; justify-content:center; }
.nav-item{ position:relative; }
.nav-item > button{
  font:inherit; font-size:15px; color:var(--text-dark); background:none; border:none;
  cursor:pointer; display:flex; align-items:center; gap:5px; padding:8px 2px;
}
.nav-item > a{ font-size:15px; color:var(--text-dark); text-decoration:none; padding:8px 2px; display:inline-block; }
.caret{
  width:9px; height:9px; border-right:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:rotate(45deg); margin-top:-3px; transition:transform .15s ease;
}
.nav-item.open .caret{ transform:rotate(225deg); margin-top:3px; }
.nav-item.open > button{ color:var(--accent); }

.mega-panel{
  display:none; position:relative; z-index:60; background:#fff;
  border-bottom:1px solid var(--border); box-shadow:0 18px 30px -18px rgba(0,0,0,.18);
}
.mega-panel.open{ display:block; }
.mega-panel-inner{
  max-width:1400px; margin:0 auto; padding:40px 24px 50px; display:grid;
  grid-template-columns:repeat(3, minmax(220px, 320px)); column-gap:70px; justify-content:start;
}
.mega-col{ display:flex; flex-direction:column; }
.mega-block{ margin-bottom:28px; }
.mega-block:last-child{ margin-bottom:0; }
.mega-item{ display:flex; align-items:center; gap:10px; color:var(--text-dark); text-decoration:none; font-size:17px; font-weight:700; }
.mega-item:hover{ color:var(--accent); }
.mega-item svg{ width:14px; height:14px; color:var(--accent); flex:none; }
.mega-children{ display:flex; flex-direction:column; margin-top:10px; gap:7px; }
.mega-children a{ color:var(--submenu); text-decoration:none; font-size:14.5px; }
.mega-children a:hover{ color:var(--accent); text-decoration:underline; }

@media (max-width:1100px){
  .mega-panel-inner{ grid-template-columns:repeat(3, minmax(180px,1fr)); column-gap:36px; }
}

.nav-backdrop{
  display:none; position:fixed; inset:0; z-index:50;
  background:rgba(20,28,32,.35); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.nav-backdrop.open{ display:block; }

.nav-right{ display:flex; align-items:center; gap:22px; flex:none; }
.search{ display:flex; align-items:center; gap:8px; color:var(--text-grey); font-size:15px; background:none; border:none; cursor:pointer; font-family:inherit; }
.search svg{ width:17px; height:17px; flex:none; }

.contact-btn{ display:inline-block; background:var(--accent); color:#fff; border:none; font-size:15px; padding:11px 26px; cursor:pointer; font-family:inherit; text-decoration:none; white-space:nowrap; }
.contact-btn:hover{ background:#a93800; }

/* Mobile nav */
.burger{ display:none; background:none; border:none; cursor:pointer; padding:8px; position:relative; z-index:95; }
.burger span{ display:block; width:26px; height:3px; background:var(--accent); margin:5px 0; transition:transform .2s ease, opacity .2s ease; }
.burger.active span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2){ opacity:0; }
.burger.active span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

.mobile-panel{ display:none; position:fixed; left:0; right:0; bottom:0; z-index:90; background:#fff; flex-direction:column; overflow:hidden; }
.mobile-panel.open{ display:flex; }
.mobile-screen{ display:none; flex:1; overflow-y:auto; flex-direction:column; }
.mobile-screen.active{ display:flex; }

.mobile-link{
  width:100%; text-align:left; background:none; border:none; border-bottom:1px solid var(--border);
  font:inherit; font-size:17px; font-weight:700; color:var(--text-dark); padding:17px 20px;
  display:flex; justify-content:space-between; align-items:center; text-decoration:none; cursor:pointer;
}
.mobile-link svg{ width:16px; height:16px; color:var(--accent); flex:none; }

.mobile-divider{ height:1px; background:var(--border); margin:10px 20px 4px; }
.mobile-utility{ padding:4px 0 10px; }
.mobile-utility a{ display:flex; align-items:center; gap:8px; padding:12px 20px; font-size:15px; color:var(--text-dark); text-decoration:none; }

.mobile-sub-header{
  width:100%; display:flex; align-items:center; gap:12px; background:none; border:none; border-bottom:1px solid var(--border);
  font:inherit; font-size:17px; font-weight:700; color:var(--text-dark); padding:18px 20px; cursor:pointer; text-align:left;
}
.mobile-sub-header svg{ width:18px; height:18px; color:var(--accent); flex:none; }
.mobile-group{ border-bottom:1px solid var(--border); padding:6px 0; }
.mobile-group-title{ font-size:16px; font-weight:700; color:var(--text-dark); padding:12px 20px; }
.mobile-child{ display:block; padding:10px 20px 10px 32px; font-size:15px; color:var(--submenu); text-decoration:none; }

.mobile-footer{ display:flex; flex:none; border-top:1px solid var(--border); }
.mobile-footer .mobile-search-row{ flex:1; border-bottom:none; border-right:1px solid var(--border); }
.mobile-contact{ flex:none; width:42%; text-align:center; background:var(--accent); color:#fff; padding:16px; text-decoration:none; font-size:15px; font-weight:600; }

/* Search overlay */
.search-overlay{ display:none; position:fixed; inset:0; background:#fff; z-index:100; overflow-y:auto; }
.search-overlay.open{ display:block; }
.search-overlay-inner{ max-width:1400px; margin:0 auto; padding:24px 24px 60px; position:relative; }
.search-close{ position:absolute; top:24px; right:24px; background:none; border:none; cursor:pointer; padding:6px; line-height:0; }
.search-close svg{ width:22px; height:22px; display:block; }
.search-content{ max-width:720px; margin:70px auto 0; text-align:center; }
.search-content h2{ font-size:20px; color:var(--text-dark); font-weight:700; margin-bottom:34px; }
.search-field{ position:relative; border-bottom:2px solid var(--text-dark); margin-bottom:46px; }
.search-field input{ width:100%; border:none; outline:none; font:inherit; font-size:16px; padding:10px 36px 10px 4px; color:var(--text-dark); background:transparent; }
.search-field input::placeholder{ color:#999; }
.search-field svg{ position:absolute; right:4px; top:50%; transform:translateY(-50%); width:22px; height:22px; color:var(--accent); pointer-events:none; }
.search-topics h3{ font-size:15px; color:var(--text-grey); font-weight:700; margin-bottom:18px; }
.topic-list{ display:grid; grid-template-columns:1fr 1fr; gap:8px 40px; text-align:left; }
.topic-list a{ display:flex; justify-content:space-between; align-items:center; padding:10px 2px; color:#1a5fb4; text-decoration:none; font-size:15px; border-bottom:1px solid var(--border); }
.topic-list a:hover{ text-decoration:underline; }
.topic-list a svg{ width:14px; height:14px; color:var(--accent); flex:none; margin-left:10px; }

.mobile-search-row{
  display:flex; align-items:center; gap:8px; padding:16px 20px; color:var(--text-grey); font-size:16px;
  background:none; border:none; font:inherit; cursor:pointer; width:100%; text-align:left; border-bottom:1px solid var(--border);
}

/* ===== Location / language picker overlay ===== */
.locale-overlay{
  display:none; position:fixed; inset:0; background:#fff; z-index:110; overflow-y:auto;
}
.locale-overlay.open{ display:block; }
.locale-overlay-inner{ max-width:1500px; margin:0 auto; padding:26px 32px 70px; }
.locale-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; }
.locale-head-title{ font-size:15px; color:var(--text-dark); }
.locale-close{ background:none; border:none; cursor:pointer; padding:6px; line-height:0; }
.locale-close svg{ width:22px; height:22px; display:block; }

.locale-grid{ columns:5; column-gap:40px; }
.locale-item{ break-inside:avoid; margin-bottom:28px; }
.locale-country{ font-size:15.5px; font-weight:700; color:var(--text-dark); margin-bottom:4px; }
.locale-langs a{ color:var(--text-grey); text-decoration:none; font-size:14px; }
.locale-langs a:hover{ color:var(--accent); text-decoration:underline; }
.locale-langs .sep{ color:var(--accent); margin:0 6px; font-size:12px; }

@media (max-width:1100px){ .locale-grid{ columns:3; } }
@media (max-width:720px){ .locale-grid{ columns:2; } .locale-overlay-inner{ padding:20px; } }
@media (max-width:480px){ .locale-grid{ columns:1; } }
.mobile-search-row svg{ width:18px; height:18px; flex:none; }

@media (max-width: 960px){
  .search-content{ margin-top:30px; }
  .topic-list{ grid-template-columns:1fr; }
  .topbar{ display:none; }
  nav.primary-nav, .nav-right{ display:none; }
  .burger{ display:block; }
  .navbar-inner{ padding:10px 16px; }
  .logo svg{ height:28px; }
   .search-content{ margin-top:30px; }
  .topic-list{ grid-template-columns:1fr; }
  .topbar{ display:none; }
  nav.primary-nav, .nav-right{ display:none; }
  .burger{ display:block; margin-left:auto; }   /* pushes burger to far right */
  .navbar-inner{ padding:10px 16px; width:100%; justify-content:space-between; }
  .logo{ margin-right:auto; }                   /* keeps logo at far left */
  .logo svg{ height:28px; }
}

.navbar{
  display:block;          /* override Bootstrap's flex on the outer wrapper */
  padding:0;              /* Bootstrap adds vertical padding here */
}
.navbar-inner{
  width:100%;
}

/* =========================================================
   HERO ("When you need to be sure")
   ========================================================= */
.hero{
  position:relative;
  background:#05070a url('images/hero-earth.jpg') center/cover no-repeat;
  color:#fff;
  overflow:hidden;
  clip-path:polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
}
.hero::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.1) 100%);
}
.hero-inner{
  position:relative; max-width:1400px; margin:0 auto; padding:100px 24px 220px;
  display:grid; grid-template-columns:1fr 400px; gap:60px; align-items:center;
}
.hero-text h1{ font-size:42px; line-height:1.18; font-weight:400; margin-bottom:22px; }
.hero-text h1 strong{ font-weight:800; display:block; }
.hero-text p{ font-size:17px; color:#e3e7e9; max-width:460px; margin-bottom:32px; }

.btn-white{
  display:inline-flex; align-items:center; gap:10px; background:#fff; color:var(--text-dark);
  font-weight:700; font-size:15px; padding:14px 26px; text-decoration:none; border:none; cursor:pointer;
}
.btn-white svg{ width:15px; height:15px; color:var(--accent); flex:none; }
.btn-white:hover{ background:#f1f1f1; }

.hero-card{ background:#fff; color:var(--text-dark); box-shadow:0 20px 50px rgba(0,0,0,.35); }
.hero-card img{ width:100%; display:block; aspect-ratio:16/10; object-fit:cover; background:#dfe3e5; }
.hero-card-body{ padding:26px 28px 32px; }
.eyebrow{ font-size:13px; color:var(--eyebrow); margin-bottom:10px; font-weight:600; }
.hero-card-body h3{ font-size:20px; font-weight:800; margin-bottom:10px; letter-spacing:.2px; }
.hero-card-body p{ font-size:14px; color:var(--text-grey); line-height:1.55; }

@media (max-width:960px){
  .hero-inner{ grid-template-columns:1fr; padding:60px 20px 150px;  }
  .hero-text h1{ font-size:32px; }
}

/* =========================================================
   OUR SERVICES
   ========================================================= */
.services-section{ background:#eef2f4; padding:64px 24px 80px; }
.services-inner{ max-width:1400px; margin:0 auto; }
.services-inner h2{ font-size:28px; font-weight:800; margin-bottom:34px; color:var(--text-dark); }
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card{
  display:flex; align-items:stretch; background:#fff; border:1px solid var(--border);
  text-decoration:none; color:inherit; min-height:96px; overflow:hidden;
}
.service-card img{ width:120px; flex:none; object-fit:cover; background:#dfe3e5; }
.service-card-body{ flex:1; display:flex; align-items:center; justify-content:space-between; padding:0 22px; gap:10px; }
.service-card-body span{ font-weight:700; font-size:17px; color:var(--text-dark); line-height:1.3; }
.service-card-body svg{ width:18px; height:18px; color:var(--accent); flex:none; }
.service-card:hover .service-card-body span{ color:var(--accent); }

@media (max-width:960px){ .services-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } .service-card img{ width:90px; } }

/* =========================================================
   NEWS / STORIES
   ========================================================= */
.news-section{ position:relative; z-index:2; margin-top:-90px; background:transparent; padding:0 0 70px; }
 
.news-inner{
  position:relative; z-index:2; max-width:1400px; margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:28px;
}
.news-card img{ width:100%; aspect-ratio:16/10; object-fit:cover; display:block; margin-bottom:18px; background:#dfe3e5; }
.news-card .eyebrow{ font-size:13px; }
.news-card h3{ font-size:18px; font-weight:800; color:var(--text-dark); margin:10px 0; line-height:1.32; }
.news-card p{ font-size:14px; color:var(--text-grey); line-height:1.55; }
.news-card{ text-decoration:none; display:block; }

@media (max-width:960px){ .news-inner{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .news-inner{ grid-template-columns:1fr; } }

/* =========================================================
   WORK WITH US BANNER
   ========================================================= */
.work-banner{
  position:relative; background:#111 url('images/work-with-us.jpg') center/cover no-repeat;
  min-height:360px; display:flex; align-items:center; justify-content:center; text-align:center; color:#fff;
}
.work-banner::before{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.55)); }
.work-content{ position:relative; z-index:1; max-width:560px; padding:24px; }
.work-content h2{ font-size:30px; font-weight:800; margin-bottom:14px; }
.work-content p{ font-size:16px; margin-bottom:26px; color:#f0f0f0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer-top{ background:var(--topbar-bg); color:#fff; padding:60px 24px 0; }
.footer-top-inner{ max-width:1400px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr 1fr; align-items:start; gap:30px; }
.footer-links{ display:flex; flex-direction:column; gap:22px; }
.footer-links a{ color:#fff; text-decoration:none; display:flex; align-items:center; justify-content:space-between; max-width:230px; font-size:15px; }
.footer-links a svg{ width:14px; height:14px; color:#fff; flex:none; }
.footer-links a:hover{ color:var(--accent); }

.footer-social{ display:flex; align-items:center; justify-content:center; gap:22px; }
.footer-social a{ color:#fff; display:flex; }
.footer-social svg{ width:20px; height:20px; }
.footer-social a:hover{ color:var(--accent); }

.footer-location{ text-align:right; }
.footer-location p{ font-size:13px; margin-bottom:14px; }
.footer-location strong{ font-weight:700; }
.change-location-btn{
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.3); color:#fff;
  padding:10px 18px; font-size:14px; display:inline-flex; align-items:center; gap:8px; cursor:pointer;
}
.change-location-btn svg{ width:14px; height:14px; }

.footer-tagline{ text-align:center; color:var(--accent); font-size:26px; font-weight:800; padding:80px 0 40px; }

.footer-bottom{ background:var(--footer-dark); padding:18px 24px; }
.footer-bottom-inner{
  max-width:1400px; margin:0 auto; display:flex; flex-wrap:wrap;
  justify-content:center; align-items:center; gap:10px 28px; font-size:13px;
}
.footer-bottom-inner a{ color:#9fc6e8; text-decoration:none; }
.footer-bottom-inner a:hover{ text-decoration:underline; }
.footer-bottom-inner .copyright{ color:#9fc6e8; }

@media (max-width:960px){
  .footer-top-inner{ grid-template-columns:1fr; gap:34px; text-align:left; }
  .footer-social{ justify-content:flex-start; }
  .footer-location{ text-align:left; }
  .footer-tagline{ padding:50px 0 34px; font-size:22px; }
}
/* =========================================================
   MOTION & ANIMATION
   ========================================================= */
html{ scroll-behavior:smooth; }

@keyframes fadeUp{
  from{ opacity:0; translate:0 26px; }
  to{ opacity:1; translate:0 0; }
}
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes dropIn{
  from{ opacity:0; translate:0 -10px; }
  to{ opacity:1; translate:0 0; }
}

/* ---------- Hero entrance on page load ---------- */
.hero-text h1{ animation:fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-text p{ animation:fadeUp .8s .15s cubic-bezier(.2,.7,.2,1) both; }
.hero-text .btn-white{ animation:fadeUp .8s .3s cubic-bezier(.2,.7,.2,1) both; }
.hero-card{ animation:fadeUp .9s .35s cubic-bezier(.2,.7,.2,1) both; }

/* ---------- Scroll reveal (classes are added by script.js) ---------- */
.reveal{
  opacity:0;
  translate:0 30px;
  transition:
    opacity .8s ease var(--d,0s),
    translate .8s cubic-bezier(.2,.7,.2,1) var(--d,0s),
    transform .35s ease,
    box-shadow .35s ease,
    background .25s ease;
}
.reveal.in{ opacity:1; translate:0 0; }

/* ---------- Buttons ---------- */
.btn-white,
.contact-btn,
.change-location-btn,
.mobile-contact{
  transition:transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, background .25s ease, color .25s ease;
}
.btn-white svg,
.service-card-body svg,
.mega-item svg,
.topic-list a svg,
.footer-links a svg{
  transition:transform .3s cubic-bezier(.2,.7,.2,1);
}
.btn-white:active, .contact-btn:active, .change-location-btn:active{ transform:translateY(0) scale(.97); }

/* ---------- Cards ---------- */
.hero-card,
.service-card,
.news-card{
  transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .3s ease;
}
.news-card img,
.service-card img,
.hero-card img{
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
  clip-path:inset(0);          /* keeps the zoomed image inside its box */
}
.news-card h3, .service-card-body span{ transition:color .25s ease; }

/* ---------- Nav link underline ---------- */
.nav-item > button, .nav-item > a{ position:relative; transition:color .25s ease; }
.nav-item > button::after,
.nav-item > a::after{
  content:''; position:absolute; left:2px; right:2px; bottom:2px; height:2px;
  background:var(--accent); transform:scaleX(0); transform-origin:left;
  transition:transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav-item > a:hover, .nav-item > button:hover{ color:var(--accent); }

/* ---------- Dropdowns, overlays, mobile menu ---------- */
.mega-panel.open{ animation:dropIn .3s ease both; }
.mega-block{ animation:fadeUp .45s ease both; }
.mega-col:nth-child(2) .mega-block{ animation-delay:.05s; }
.mega-col:nth-child(3) .mega-block{ animation-delay:.1s; }
.nav-backdrop.open{ animation:fadeIn .25s ease both; }
.search-overlay.open, .locale-overlay.open{ animation:fadeIn .3s ease both; }
.mobile-panel.open{ animation:dropIn .3s ease both; }
.mobile-screen.active{ animation:fadeIn .25s ease both; }
.mobile-link, .mobile-child, .mega-children a, .footer-links a, .footer-social a, .topic-list a, .locale-langs a{
  transition:color .25s ease, transform .25s ease, background .25s ease;
}
.mobile-link:active{ background:#f5f5f5; }
.search svg{ transition:transform .3s ease; }

/* ---------- Hover effects: only on devices that really hover (not phones) ---------- */
@media (hover:hover){
  .btn-white:hover{ transform:translateY(-4px); box-shadow:0 12px 24px rgba(0,0,0,.28); }
  .btn-white:hover svg{ transform:translateX(5px); }

  .contact-btn:hover,
  .change-location-btn:hover{ transform:translateY(-3px); box-shadow:0 10px 20px rgba(0,0,0,.2); }

  .hero-card:hover{ transform:translateY(-10px); box-shadow:0 30px 60px rgba(0,0,0,.45); }
  .hero-card:hover img{ transform:scale(1.06); }

  .service-card:hover{ transform:translateY(-8px); box-shadow:0 16px 32px rgba(0,0,0,.12); border-color:var(--accent); }
  .service-card:hover img{ transform:scale(1.1); }
  .service-card:hover .service-card-body svg{ transform:translateX(6px); }

  .news-card:hover{ transform:translateY(-8px); }
  .news-card:hover img{ transform:scale(1.07); }
  .news-card:hover h3{ color:var(--accent); }

  .nav-item > a:hover::after,
  .nav-item > button:hover::after,
  .nav-item.open > button::after{ transform:scaleX(1); }

  .mega-item:hover svg{ transform:translateX(5px); }
  .mega-children a:hover{ transform:translateX(4px); }
  .footer-links a:hover{ transform:translateX(4px); }
  .footer-links a:hover svg{ transform:translateX(4px); }
  .footer-social a:hover{ transform:translateY(-4px) scale(1.15); }
  .topic-list a:hover svg{ transform:translateX(5px); }
  .search:hover{ color:var(--accent); }
  .search:hover svg{ transform:scale(1.2); }
  .logo:hover svg{ transform:scale(1.04); }
}
.logo svg{ transition:transform .3s ease; }

/* ---------- Respect people who turn animations off ---------- */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
  .reveal{ opacity:1; translate:none; }
}

/* =========================================================
   INNER PAGES (banner + "On this page" sidebar + content + CTA)
   ========================================================= */
.page-banner{
  position:relative; min-height:250px; display:flex; align-items:center;
  background:#6b6b6b center/cover no-repeat; color:#fff; overflow:hidden;
}
.page-banner::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(40,40,40,.60) 0%, rgba(40,40,40,.35) 60%, rgba(40,40,40,.20) 100%);
}
.page-banner-inner{ position:relative; width:100%; max-width:1400px; margin:0 auto; padding:0 48px; }
.page-banner h1{ font-size:34px; font-weight:800; line-height:1.2; animation:fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }

.page-body{ background:#fafafa; padding:20px 0 90px; }
.page-body-inner{
  max-width:1400px; margin:0 auto; padding:0 48px;
  display:grid; grid-template-columns:245px minmax(0,1fr); column-gap:88px; align-items:start;
}

/* Sidebar */
.page-side{
  position:sticky; top:90px; background:#fff; border:1px solid var(--border);
  padding:34px 24px 40px; max-height:calc(100vh - 110px); overflow-y:auto;
}
.page-side h2{ font-size:18px; font-weight:800; color:#1b1b1b; margin-bottom:22px; }
.page-side ul{ list-style:none; }
.page-side li{ margin-bottom:16px; }
.page-side a{
  display:block; font-size:14px; line-height:28px; color:#222; text-decoration:none;
  transition:color .25s ease, padding-left .25s ease;
}
.page-side a:hover{ color:var(--accent); }
.page-side a.active{ color:var(--accent); font-weight:700; }

/* Content */
.page-content{ padding-top:90px; max-width:740px; }
.page-content p{ font-size:16px; line-height:1.3; color:#555; margin-bottom:24px; }
.page-content p em{ color:#666; }
.page-section{ scroll-margin-top:100px; }
.page-section + .page-section{ margin-top:56px; }
.page-section h2{ font-size:24px; font-weight:800; color:var(--text-dark); margin-bottom:16px; }

/* Bottom call-to-action banner */
.cta-banner{
  position:relative; min-height:240px; display:flex; align-items:center; justify-content:center;
  background:#16191c center/cover no-repeat; text-align:center;
}
.cta-banner::before{ content:''; position:absolute; inset:0; background:rgba(15,18,20,.55); }
.cta-banner .btn-white{ position:relative; border-radius:3px; font-weight:500; padding:16px 26px; }

@media (hover:hover){ .page-side a:hover{ padding-left:4px; } }

@media (max-width:960px){
  .page-banner{ min-height:170px; }
  .page-banner-inner{ padding:0 20px; }
  .page-banner h1{ font-size:26px; }
  .page-body{ padding:20px 0 60px; }
  .page-body-inner{ grid-template-columns:1fr; padding:0 20px; row-gap:30px; }
  .page-side{ position:static; max-height:none; padding:24px 20px; }
  .page-content{ padding-top:0; max-width:none; }
  .cta-banner{ min-height:180px; }
}

/* =========================================================
   CERTIFIED PAGE: full-width section bands + contact card
   ========================================================= */
.page-body{ padding-bottom:0; }
.page-content{ padding-top:0; }
.page-side{ z-index:3; }

/* Each section is a band: its background stretches edge to edge,
   while the text stays in the content column next to the sidebar */
.band{
  --band-bg:#fff;
  position:relative; padding:80px 0;
  background:var(--band-bg);
  box-shadow:0 0 0 100vmax var(--band-bg);
  clip-path:inset(0 -100vmax);
  scroll-margin-top:70px;
}
.band-alt{ --band-bg:#f5f9fc; }
.band-intro{ --band-bg:#fafafa; padding:90px 0 50px; }

.band h2{ font-size:32px; font-weight:800; line-height:1.15; color:#222; margin-bottom:24px; }
.band p{ margin-bottom:24px; }
.band p.tight{ margin-bottom:0; }
.band p.gap-lg{ margin-bottom:44px; }
.band p:last-child{ margin-bottom:0; }

.band a{ color:var(--accent); text-decoration:none; }
.band a:hover{ text-decoration:underline; }

.band ul{ margin:0 0 24px; padding-left:32px; color:#555; font-size:16px; }
.band ul:last-child{ margin-bottom:0; }
.band li{ line-height:1.25; margin-bottom:0; }
.band ul.link-list li{ line-height:1.5; }
.band li strong{ color:#444; }

/* Contact card */
.contact-section{ background:#262626; padding:47px 48px; }
.contact-card{
  max-width:1304px; margin:0 auto; background:#fff;
  padding:70px 48px 100px;
  display:grid; grid-template-columns:repeat(4,1fr); column-gap:0; align-items:start;
}
.contact-card h2{ font-size:28px; font-weight:800; color:#222; line-height:1.2; }
.contact-card .contact-btn{
  display:inline-block; text-decoration:none; margin-top:34px; border-radius:3px;
}
.contact-office{ font-size:20px; font-weight:800; color:#222; line-height:1.3; padding-right:20px; }
.contact-phone{
  display:inline-flex; align-items:center; gap:10px; color:#222; text-decoration:none; font-size:16px;
}
.contact-phone svg{ width:15px; height:15px; flex:none; }
.contact-phone:hover{ color:var(--accent); }
.contact-address{ font-size:16px; color:#555; line-height:2; }

@media (max-width:960px){
  .band, .band-intro{ padding:50px 0; }
  .band h2{ font-size:26px; }
  .contact-section{ padding:30px 20px; }
  .contact-card{ grid-template-columns:1fr; row-gap:24px; padding:40px 24px 44px; }
}

/* =========================================================
   OUR SERVICES PAGES (hero, intro text, industry tabs, search band)
   ========================================================= */
a.mobile-group-title{ display:block; text-decoration:none; }

/* Hero */
.svc-hero{
  position:relative; min-height:447px; display:flex; align-items:flex-end;
  background:#59666e center/cover no-repeat; color:#fff; overflow:hidden;
}
.svc-hero::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top right, rgba(25,30,34,.78) 0%, rgba(25,30,34,.35) 55%, rgba(25,30,34,.15) 100%);
}
.svc-hero-inner{ position:relative; width:100%; max-width:1400px; margin:0 auto; padding:0 48px 48px; }
.svc-hero h1{ font-size:40px; font-weight:400; line-height:1.15; margin-bottom:22px; animation:fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.svc-hero p{ font-size:18px; line-height:1.55; max-width:650px; animation:fadeUp .8s .15s cubic-bezier(.2,.7,.2,1) both; }

/* Centered text blocks */
.svc-intro{ background:#fff; padding:100px 24px 90px; }
.svc-text-section{ background:#fff; padding:90px 24px 100px; }
.svc-text{ max-width:740px; margin:0 auto; }
.svc-text p{ font-size:16px; line-height:1.3; color:#555; }
.svc-text h2{ font-size:32px; font-weight:800; line-height:1.15; color:#222; margin-bottom:24px; }
.svc-text p + h2{ margin-top:28px; }

/* Our services: tabs + cards */
.svc-explorer{ background:#fff; padding:20px 0 90px; }
.svc-explorer-inner{ max-width:1400px; margin:0 auto; padding:0 48px; }
.svc-explorer h2{ font-size:28px; font-weight:800; color:#222; margin-bottom:44px; }

.svc-tabs-wrap{ position:relative; border-bottom:1px solid #bdbdbd; }
.svc-tabs{ display:flex; overflow-x:auto; scrollbar-width:none; }
.svc-tabs::-webkit-scrollbar{ display:none; }
.svc-tab{
  flex:none; background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-1px;
  padding:22px 32px; font:inherit; font-size:15px; color:#333; cursor:pointer; white-space:nowrap;
  transition:color .25s ease, border-color .25s ease;
}
.svc-tab:hover{ color:var(--accent); }
.svc-tab.active{ color:var(--accent); font-weight:700; border-bottom-color:var(--accent); }
.svc-tabs-next{
  position:absolute; right:0; top:0; bottom:1px; width:70px; border:none; cursor:pointer;
  background:linear-gradient(90deg, rgba(255,255,255,0), #fff 55%);
  display:flex; align-items:center; justify-content:flex-end; padding-right:6px;
}
.svc-tabs-next svg{ width:16px; height:16px; color:var(--accent); }
.svc-tabs-next.hide{ display:none; }

.svc-panel{ display:none; padding-top:48px; }
.svc-panel.active{ display:block; animation:fadeUp .5s cubic-bezier(.2,.7,.2,1) both; }
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:48px; }
.svc-card{
  display:block; background:#fff; color:var(--text-dark); text-decoration:none;
  box-shadow:0 4px 22px rgba(0,0,0,.09);
  transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.svc-card-img{ overflow:hidden; background:#dfe3e5; }
.svc-card-img img{ width:100%; aspect-ratio:386/241; object-fit:cover; display:block; transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.svc-card h3{ font-size:20px; font-weight:800; line-height:1.1; padding:32px 32px 40px; min-height:106px; transition:color .25s ease; }
.svc-empty{ color:#666; font-size:16px; }

@media (hover:hover){
  .svc-card:hover{ transform:translateY(-8px); box-shadow:0 18px 38px rgba(0,0,0,.16); }
  .svc-card:hover .svc-card-img img{ transform:scale(1.06); }
  .svc-card:hover h3{ color:var(--accent); }
}

/* Search band */
.svc-search{ background:var(--topbar-bg); color:#fff; text-align:center; padding:50px 24px 72px; }
.svc-search h2{ font-size:28px; font-weight:800; margin-bottom:42px; }
.svc-search label{ display:block; font-size:16px; font-weight:700; margin-bottom:12px; }
.svc-search-box{ max-width:524px; margin:0 auto; background:#fff; padding:14px 8px; box-shadow:0 10px 30px rgba(0,0,0,.25); }
.svc-search-field{ position:relative; border-bottom:1px solid #222; }
.svc-search-field input{
  width:100%; border:none; outline:none; background:transparent; font:inherit; font-size:15px;
  color:#222; padding:16px 52px 14px 14px;
}
.svc-search-field input::placeholder{ color:#999; }
.svc-search-field button{
  position:absolute; right:4px; top:50%; transform:translateY(-50%); background:none; border:none;
  cursor:pointer; padding:4px; line-height:0; transition:transform .25s ease;
}
.svc-search-field button:hover{ transform:translateY(-50%) scale(1.15); }
.svc-search-field svg{ width:30px; height:30px; color:var(--accent); }

@media (max-width:960px){
  .svc-hero{ min-height:380px; }
  .svc-hero-inner{ padding:0 20px 34px; }
  .svc-hero h1{ font-size:32px; }
  .svc-hero p{ font-size:16px; }
  .svc-intro{ padding:60px 20px; }
  .svc-text-section{ padding:60px 20px; }
  .svc-text h2{ font-size:26px; }
  .svc-explorer-inner{ padding:0 20px; }
  .svc-tab{ padding:20px 22px; }
  .svc-grid{ grid-template-columns:1fr 1fr; gap:24px; }
}
@media (max-width:640px){
  .svc-grid{ grid-template-columns:1fr; }
}

/* Four-column card grid (tabs with more than 3 cards) */
.svc-grid.cols-4{ grid-template-columns:repeat(4,1fr); }

@media (max-width:1100px){
  .svc-grid.cols-4{ grid-template-columns:repeat(3,1fr); gap:32px; }
}
@media (max-width:960px){
  .svc-grid.cols-4{ grid-template-columns:1fr 1fr; gap:24px; }
}
@media (max-width:640px){
  .svc-grid.cols-4{ grid-template-columns:1fr; }
}
/* =========================================================
   INDUSTRY & SERVICE PAGES: extra content blocks
   (rendered by includes/page-blocks.php)
   ========================================================= */

/* Text: several paragraphs, sub headings and bullet lists */
.svc-text p + p,
.svc-text ul + p,
.svc-text p + ul{ margin-top:18px; }
.svc-text h3{ font-size:24px; font-weight:800; line-height:1.2; color:#222; margin:34px 0 14px; }
.svc-text h4{ font-size:18px; font-weight:800; line-height:1.3; color:#222; margin:26px 0 10px; }
.svc-text ul{ padding-left:28px; color:#555; font-size:16px; line-height:1.4; }
.svc-text li + li{ margin-top:6px; }
.svc-text a{ color:var(--accent); text-decoration:none; }
.svc-text a:hover{ text-decoration:underline; }
.svc-text > :first-child{ margin-top:0; }
.svc-explorer h2 + .svc-grid{ margin-top:0; }

/* Benefit list */
.svc-list{ background:#f5f9fc; padding:80px 0; }
.svc-list-inner{ max-width:1400px; margin:0 auto; padding:0 48px; }
.svc-list h2{ font-size:28px; font-weight:800; line-height:1.2; color:#222; margin-bottom:16px; }
.svc-list-intro{ font-size:16px; color:#555; margin-bottom:8px; }
.svc-list ul{ list-style:none; display:grid; grid-template-columns:repeat(2,1fr); gap:34px 64px; margin-top:36px; }
.svc-list li{ position:relative; padding-left:44px; }
.svc-list li::before{
  content:''; position:absolute; left:0; top:2px; width:24px; height:24px; border-radius:50%;
  background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12.5 10.5 17 18 8'/%3E%3C/svg%3E") center/16px no-repeat;
}
.svc-list li strong{ display:block; font-size:18px; font-weight:800; color:#222; line-height:1.3; }
.svc-list li span{ display:block; margin-top:8px; font-size:16px; line-height:1.45; color:#555; }

/* Text next to an image */
.svc-split{ background:#fff; padding:80px 0; }
.svc-split-inner{ max-width:1400px; margin:0 auto; padding:0 48px; display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.svc-split.reverse .svc-split-media{ order:2; }
.svc-split-media{ background:#dfe3e5; aspect-ratio:16/10; overflow:hidden; }
.svc-split-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.svc-split-text h2{ font-size:32px; font-weight:800; line-height:1.15; color:#222; margin-bottom:22px; }
.svc-split-text p{ font-size:16px; line-height:1.4; color:#555; }
.svc-split-text p + p{ margin-top:18px; }
.svc-split-text ul{ margin-top:18px; padding-left:28px; color:#555; font-size:16px; line-height:1.4; }

/* Dark call-to-action band */
.svc-promo{ background:var(--topbar-bg); color:#fff; text-align:center; padding:72px 24px; }
.svc-promo-inner{ max-width:900px; margin:0 auto; }
.svc-promo h2{ font-size:30px; font-weight:800; line-height:1.2; margin-bottom:16px; }
.svc-promo p{ font-size:17px; line-height:1.5; color:#e3e7e9; }
.svc-promo p + p{ margin-top:14px; }
.svc-promo .btn-white{ margin-top:34px; }
.svc-promo-text + .svc-promo-text{ margin-top:28px; }

/* Two large promo tiles */
.svc-duo{ display:grid; grid-template-columns:1fr 1fr; }
.svc-duo-tile{
  position:relative; min-height:340px; display:flex; align-items:flex-end; color:#fff; text-decoration:none;
  background:#59666e center/cover no-repeat; overflow:hidden;
}
.svc-duo-tile:nth-child(2){ background-color:#3c515b; }
.svc-duo-tile::before{ content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(25,30,34,.80), rgba(25,30,34,.2) 70%); }
.svc-duo-body{ position:relative; padding:40px 48px; max-width:560px; }
.svc-duo-eyebrow{ font-size:15px; margin-bottom:8px; color:#e3e7e9; }
.svc-duo h3{ font-size:28px; font-weight:800; line-height:1.2; margin-bottom:18px; }
.svc-duo-cta{ display:inline-flex; align-items:center; gap:10px; font-weight:700; font-size:15px; }
.svc-duo-cta svg{ width:15px; height:15px; color:#fff; transition:transform .3s cubic-bezier(.2,.7,.2,1); }

/* Two large feature tiles (statistics or brochure teaser) */
.svc-tiles{ display:grid; grid-template-columns:1fr 1fr; }
.svc-tile{ position:relative; min-height:400px; display:flex; align-items:center; background:#59666e center/cover no-repeat; color:#fff; }
.svc-tile:nth-child(2){ background-color:#3c515b; }
.svc-tile::before{ content:''; position:absolute; inset:0; background:rgba(25,30,34,.55); }
.svc-tile-body{ position:relative; padding:48px; width:100%; max-width:620px; }
.svc-tile-eyebrow{ font-size:15px; color:#e3e7e9; margin-bottom:8px; }
.svc-tile h3{ font-size:30px; font-weight:800; line-height:1.2; margin-bottom:12px; }
.svc-tile-body > p:not(.svc-tile-eyebrow){ font-size:17px; line-height:1.5; margin-bottom:26px; color:#e3e7e9; }
.svc-tile-stats{ display:grid; grid-template-columns:1fr 1fr; gap:30px 36px; }
.svc-tile-stats strong{ display:block; font-size:44px; font-weight:800; line-height:1; margin-bottom:8px; }
.svc-tile-stats span{ display:block; font-size:16px; line-height:1.35; color:#e3e7e9; }

/* Guides: extra text inside the card grid */
.svc-card-text{ padding:0 32px; font-size:15px; line-height:1.45; color:#555; }
.svc-card-link{ display:inline-flex; align-items:center; gap:8px; padding:20px 32px 34px; font-size:15px; font-weight:700; color:var(--accent); }
.svc-card-link svg{ width:14px; height:14px; }
.svc-card .svc-card-text + .svc-card-link{ margin-top:0; }
.svc-card:has(.svc-card-text) h3{ min-height:0; padding:28px 32px 14px; font-size:18px; }

/* Downloads */
.svc-downloads{ background:#fafafa; padding:70px 24px; }
.svc-downloads-inner{ max-width:900px; margin:0 auto; }
.svc-downloads h2{ font-size:28px; font-weight:800; color:#222; margin-bottom:28px; }
.svc-downloads ul{ list-style:none; border-top:1px solid var(--border); }
.svc-downloads li{ border-bottom:1px solid var(--border); }
.svc-downloads a{ display:flex; justify-content:space-between; gap:20px; padding:20px 4px; color:var(--text-dark); text-decoration:none; transition:color .25s ease; }
.svc-dl-title{ font-weight:700; font-size:17px; }
.svc-dl-meta{ font-size:14px; color:var(--text-grey); white-space:nowrap; align-self:center; }
.svc-downloads a:hover{ color:var(--accent); }

/* Key figures */
.svc-facts{ background:#fafafa; padding:70px 0; }
.svc-facts-inner{ max-width:1400px; margin:0 auto; padding:0 48px; display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:40px; text-align:center; }
.svc-fact strong{ display:block; font-size:44px; font-weight:800; color:var(--accent); line-height:1.1; margin-bottom:10px; }
.svc-fact span{ display:block; font-size:16px; line-height:1.4; color:#555; }

/* News & insights */
.svc-news{ background:#fff; padding:80px 0 90px; }
.svc-news-inner{ max-width:1400px; margin:0 auto; padding:0 48px; }
.svc-news-head{ display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:40px; }
.svc-news h2{ font-size:28px; font-weight:800; color:#222; }
.svc-news-all{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:15px; color:var(--accent); text-decoration:none; }
.svc-news-all svg{ width:14px; height:14px; transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.svc-news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:44px 36px; }
.svc-news-card{ display:block; color:var(--text-dark); text-decoration:none; }
.svc-news-card .svc-card-img{ aspect-ratio:16/10; margin-bottom:18px; }
.svc-news-card .svc-card-img img{ height:100%; }
.svc-news-card h3{ font-size:18px; font-weight:800; line-height:1.32; margin-top:8px; transition:color .25s ease; }

@media (hover:hover){
  .svc-duo-tile:hover .svc-duo-cta svg,
  .svc-news-all:hover svg{ transform:translateX(5px); }
  .svc-news-card:hover h3{ color:var(--accent); }
  .svc-news-card:hover .svc-card-img img{ transform:scale(1.06); }
  .svc-news-card .svc-card-img img{ transition:transform .7s cubic-bezier(.2,.7,.2,1); }
}

@media (max-width:960px){
  .svc-list{ padding:56px 20px; }
  .svc-list-inner{ padding:0; }
  .svc-list ul{ grid-template-columns:1fr; gap:26px; }
  .svc-split{ padding:50px 20px; }
  .svc-split-inner{ grid-template-columns:1fr; gap:30px; padding:0; }
  .svc-split.reverse .svc-split-media{ order:0; }
  .svc-split-text h2{ font-size:26px; }
  .svc-promo{ padding:52px 20px; }
  .svc-promo h2{ font-size:24px; }
  .svc-duo, .svc-tiles{ grid-template-columns:1fr; }
  .svc-duo-tile{ min-height:260px; }
  .svc-duo-body, .svc-tile-body{ padding:32px 20px; }
  .svc-tile{ min-height:320px; }
  .svc-facts{ padding:50px 20px; }
  .svc-facts-inner{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; padding:0; }
  .svc-news{ padding:56px 0 60px; }
  .svc-news-inner{ padding:0 20px; }
  .svc-news-grid{ grid-template-columns:1fr 1fr; gap:34px 24px; }
}
@media (max-width:640px){
  .svc-news-grid{ grid-template-columns:1fr; }
  .svc-news-head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .svc-tile-stats strong{ font-size:34px; }
  .svc-fact strong{ font-size:32px; }
}

/* Empty photo slots keep their shape (the picture itself is optional) */
.svc-card-img{ aspect-ratio:386/241; }

/* "Our services" / "Highlights" after a band: restore the breathing room above the heading */
.svc-promo + .svc-explorer,
.svc-search + .svc-explorer,
.svc-split + .svc-explorer,
.svc-list + .svc-explorer,
.svc-facts + .svc-explorer,
.svc-text-section + .svc-explorer,
.svc-tiles + .svc-explorer,
.svc-duo + .svc-explorer{ padding-top:80px; }

/* =========================================================
   MEGATREND, COMPANY AND FORM PAGES: extra content blocks
   (faq, stages, features, form, directory in includes/page-blocks.php)
   ========================================================= */

/* Short intro under a card-grid heading */
.svc-explorer-intro{ max-width:760px; margin:-20px 0 40px; font-size:16px; line-height:1.45; color:#555; }

/* Text link under the text of a split block */
.svc-split-cta{ display:inline-flex; align-items:center; gap:10px; margin-top:26px; font-weight:700; font-size:15px; color:var(--accent); text-decoration:none; }
.svc-split-cta svg{ width:15px; height:15px; transition:transform .3s cubic-bezier(.2,.7,.2,1); }

/* Cards that carry text but are not links */
.svc-card-list{ padding:0 32px 34px 56px; font-size:15px; line-height:1.45; color:#555; }
.svc-card-list li + li{ margin-top:6px; }
.svc-feature .svc-card-text{ padding-bottom:34px; }

/* FAQ and lifecycle accordions (native <details>, no script) */
.svc-faq{ background:#fff; padding:80px 0 20px; }
.svc-faq-inner{ max-width:1000px; margin:0 auto; padding:0 48px; }
.svc-faq h2{ font-size:28px; font-weight:800; line-height:1.2; color:#222; margin-bottom:16px; }
.svc-faq .svc-list-intro{ margin-bottom:24px; }
.svc-acc{ border-bottom:1px solid var(--border); }
.svc-acc:first-of-type{ border-top:1px solid var(--border); }
.svc-acc summary{
  display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 4px;
  font-size:18px; font-weight:700; line-height:1.3; color:var(--text-dark); cursor:pointer; list-style:none;
  transition:color .25s ease;
}
.svc-acc summary::-webkit-details-marker{ display:none; }
.svc-acc summary::after{
  content:''; flex:none; width:10px; height:10px; margin-top:-4px;
  border-right:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:rotate(45deg); transition:transform .25s ease;
}
.svc-acc[open] summary::after{ transform:rotate(225deg); margin-top:4px; }
.svc-acc summary:hover{ color:var(--accent); }
.svc-acc-body{ max-width:760px; padding:0 4px 30px; font-size:16px; line-height:1.45; color:#555; animation:fadeUp .4s cubic-bezier(.2,.7,.2,1) both; }
.svc-acc-body p + p,
.svc-acc-body p + ul,
.svc-acc-body ul + p{ margin-top:16px; }
.svc-acc-body ul{ padding-left:28px; }
.svc-acc-body li + li{ margin-top:6px; }
.svc-acc-lead{ font-weight:700; color:#222; }
.svc-acc-link{ display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--accent); text-decoration:none; }
.svc-acc-link svg{ width:14px; height:14px; transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.svc-faq + .svc-news,
.svc-faq + .svc-explorer{ padding-top:80px; }
/* Forms */
.svc-form-section{
  background:linear-gradient(180deg,#f4f7f9 0,#f4f7f9 70%,#fff 100%);
  padding:72px 24px 96px;
}
.svc-form-inner{ max-width:820px; margin:0 auto; }
.svc-form-inner h2{ margin-bottom:16px; font-size:32px; font-weight:800; line-height:1.15; color:#222; letter-spacing:-.01em; }
.svc-form-inner > p{ max-width:68ch; font-size:17px; line-height:1.55; color:#4a4a4a; margin-bottom:16px; }
.svc-form-inner > p em{ display:block; padding:14px 18px; margin-top:6px; border-left:4px solid var(--accent); background:#fff; font-style:normal; font-size:16px; color:#333; box-shadow:0 1px 2px rgba(15,35,50,.06); }

/* The card */
.svc-form{
  position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 22px; margin-top:36px;
  padding:44px 44px 40px; background:#fff; border:1px solid #e3e8ec; border-radius:6px;
  box-shadow:0 1px 2px rgba(15,35,50,.05), 0 18px 48px -18px rgba(15,35,50,.18);
}
.svc-form::before{ content:""; position:absolute; left:-1px; right:-1px; top:-1px; height:4px; background:var(--accent); border-radius:6px 6px 0 0; }
.svc-form > *{ grid-column:1 / -1; min-width:0; }
.svc-form > .svc-field--half{ grid-column:auto; }
.svc-form [hidden]{ display:none; }

/* Labels */
.svc-field label{ display:block; margin-bottom:8px; font-size:14px; font-weight:700; letter-spacing:.01em; color:#222; }
.svc-req{ color:var(--accent); font-weight:800; margin-left:2px; }

/* Inputs */
.svc-field input[type="text"],
.svc-field input[type="email"],
.svc-field input[type="tel"],
.svc-field select,
.svc-field textarea{
  display:block; width:100%; min-height:52px; padding:14px 16px; border:1.5px solid #c9d1d7; border-radius:4px; background:#fff;
  font:inherit; font-size:16px; line-height:1.3; color:var(--text-dark);
  -webkit-appearance:none; appearance:none;
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.svc-field input:hover,
.svc-field select:hover,
.svc-field textarea:hover{ border-color:#97a4ad; }
.svc-field input:focus,
.svc-field select:focus,
.svc-field textarea:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px rgba(202,67,0,.14); }
.svc-field textarea{ min-height:160px; resize:vertical; line-height:1.5; }
.svc-field input::placeholder,
.svc-field textarea::placeholder{ color:#9aa5ad; }

/* Validation: only after the person has interacted with the field */
.svc-field input:user-invalid,
.svc-field select:user-invalid,
.svc-field textarea:user-invalid{ border-color:#c0392b; background:#fff8f7; }
.svc-field input:user-invalid:focus,
.svc-field select:user-invalid:focus,
.svc-field textarea:user-invalid:focus{ box-shadow:0 0 0 4px rgba(192,57,43,.14); }

/* Select with a custom chevron */
.svc-select{ position:relative; }
.svc-select::after{
  content:""; position:absolute; right:18px; top:50%; width:9px; height:9px; margin-top:-7px; pointer-events:none;
  border-right:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(45deg);
}
.svc-select select{ padding-right:46px; cursor:pointer; text-overflow:ellipsis; }

/* File upload dropzone */
.svc-file{
  position:relative; display:block; border:2px dashed #b4c0c8; border-radius:6px; background:#f8fafb;
  transition:border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.svc-file input[type="file"]{
  position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; opacity:0; cursor:pointer; z-index:2;
  font-size:0;
}
.svc-file-ui{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:30px 20px; text-align:center; pointer-events:none; }
.svc-file-icon{ width:34px; height:34px; margin-bottom:4px; color:var(--accent); transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.svc-file-title{ font-size:16px; color:#444; line-height:1.4; }
.svc-file-title strong{ color:var(--accent); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.svc-file-name{ max-width:100%; font-size:14px; color:var(--text-grey); overflow-wrap:anywhere; }
.svc-file:hover,
.svc-file.is-dragover{ border-color:var(--accent); background:#fff6f1; }
.svc-file:hover .svc-file-icon,
.svc-file.is-dragover .svc-file-icon{ transform:translateY(-3px); }
.svc-file:focus-within{ border-color:var(--accent); box-shadow:0 0 0 4px rgba(202,67,0,.14); }
.svc-file.has-file{ border-style:solid; border-color:#2e8b57; background:#f3faf6; }
.svc-file.has-file .svc-file-icon{ color:#2e8b57; }
.svc-file.has-file .svc-file-name{ color:#1f6b41; font-weight:700; font-size:15px; }
.svc-file.is-error{ border-color:#c0392b; background:#fff8f7; }
.svc-file.is-error .svc-file-name{ color:#a93226; font-weight:700; }

/* Checkbox */
.svc-field-check{ display:flex; align-items:flex-start; gap:14px; padding:18px; background:#f8fafb; border:1px solid #e3e8ec; border-radius:4px; }
.svc-field-check input{
  flex:none; width:22px; height:22px; margin:1px 0 0; border:1.5px solid #8a98a2; border-radius:4px; background:#fff; cursor:pointer;
  -webkit-appearance:none; appearance:none; display:grid; place-content:center;
  transition:background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.svc-field-check input::before{
  content:""; width:11px; height:6px; border-left:2.5px solid #fff; border-bottom:2.5px solid #fff;
  transform:rotate(-45deg) scale(0); margin-top:-2px; transition:transform .15s ease;
}
.svc-field-check input:checked{ background:var(--accent); border-color:var(--accent); }
.svc-field-check input:checked::before{ transform:rotate(-45deg) scale(1); }
.svc-field-check input:focus-visible{ outline:none; box-shadow:0 0 0 4px rgba(202,67,0,.18); }
.svc-field-check label{ margin:0; font-size:15px; font-weight:400; line-height:1.5; color:#4a4a4a; cursor:pointer; }
.svc-field-check a, .svc-field-note a{ color:var(--accent); text-decoration:underline; text-underline-offset:2px; }
.svc-field-check a:hover, .svc-field-note a:hover{ text-decoration:none; }

/* Notes and hints */
.svc-field-note{ padding:16px 20px; border-left:4px solid var(--accent); background:#f5f9fc; border-radius:0 4px 4px 0; font-size:15px; line-height:1.5; color:#4a4a4a; }
.svc-field-hint{ margin-top:10px; font-size:14px; line-height:1.5; color:var(--text-grey); }
.svc-form-legend{ margin-top:-6px; }

/* Submit */
.svc-form-actions{ display:flex; align-items:center; gap:16px; padding-top:8px; }
.svc-submit{
  display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:56px; padding:0 34px;
  border-radius:4px; font-size:16px; font-weight:700; letter-spacing:.01em; white-space:normal;
  box-shadow:0 10px 22px -10px rgba(202,67,0,.65);
  transition:transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, background-color .25s ease;
}
.svc-submit svg{ width:16px; height:16px; flex:none; color:#fff; transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.svc-submit:focus-visible{ outline:3px solid #222; outline-offset:3px; }
.svc-submit:disabled{ cursor:progress; opacity:.85; }
.svc-submit.is-loading svg{ display:none; }
.svc-submit.is-loading .svc-submit-label::after{
  content:""; display:inline-block; width:16px; height:16px; margin-left:12px; vertical-align:-3px;
  border:2.5px solid rgba(255,255,255,.4); border-top-color:#fff; border-radius:50%; animation:svc-spin .7s linear infinite;
}
@keyframes svc-spin{ to{ transform:rotate(360deg); } }
@media (hover:hover){
  .svc-submit:hover{ transform:translateY(-2px); box-shadow:0 16px 28px -12px rgba(202,67,0,.7); }
  .svc-submit:hover svg{ transform:translateX(5px); }
}
.svc-submit:active{ transform:translateY(0) scale(.98); }

.svc-form-after{ margin-top:36px; text-align:center; }
.svc-form-after a{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:15px; color:var(--accent); text-decoration:none; padding:10px 4px; }
.svc-form-after a:hover{ text-decoration:underline; text-underline-offset:3px; }
.svc-form-after svg{ width:14px; height:14px; transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.svc-form-after a:hover svg{ transform:translateX(4px); }

/* Tablet */
@media (max-width:900px){
  .svc-form-section{ padding:56px 20px 72px; }
  .svc-form{ padding:36px 30px 32px; }
}
/* Phone: single column, big tap targets, full-width button */
@media (max-width:640px){
  .svc-form-section{ padding:40px 16px 56px; }
  .svc-form-inner h2{ font-size:26px; }
  .svc-form-inner > p{ font-size:16px; }
  .svc-form{ grid-template-columns:1fr; gap:22px; margin-top:28px; padding:28px 18px 24px; border-radius:4px; }
  .svc-form > .svc-field--half{ grid-column:1 / -1; }
  .svc-field input[type="text"],
  .svc-field input[type="email"],
  .svc-field input[type="tel"],
  .svc-field select,
  .svc-field textarea{ min-height:54px; font-size:16px; } /* 16px stops iOS zooming on focus */
  .svc-file-ui{ padding:26px 14px; }
  .svc-field-check{ padding:16px 14px; gap:12px; }
  .svc-form-actions{ padding-top:4px; }
  .svc-submit{ width:100%; min-height:58px; padding:0 20px; }
  .svc-form-after{ margin-top:28px; }
}
@media (max-width:380px){
  .svc-form{ padding:24px 14px 20px; }
}
@media (prefers-reduced-motion:reduce){
  .svc-form *, .svc-form-after *{ transition:none !important; animation-duration:.01ms !important; }
}
/* Document screening states (upload field with 'scan' => true) */
.svc-file.is-scanning{ overflow:hidden; border-style:solid; border-color:var(--accent); background:#fff6f1; }
.svc-file.is-scanning::after{
  content:""; position:absolute; left:0; bottom:0; height:4px; width:38%; background:var(--accent);
  animation:svc-scan 1.15s ease-in-out infinite;
}
.svc-file.is-scanning .svc-file-icon{ animation:svc-pulse 1s ease-in-out infinite; }
.svc-file.is-scanning .svc-file-name{ color:var(--accent); font-weight:700; }
@keyframes svc-scan{ 0%{ transform:translateX(-100%); } 100%{ transform:translateX(265%); } }
@keyframes svc-pulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.45; transform:scale(.92); } }

.svc-scan{ margin-top:12px; padding:12px 16px; border-left:4px solid; border-radius:0 4px 4px 0; font-size:15px; line-height:1.45; }
.svc-scan[hidden]{ display:none; }
.svc-scan.is-busy{ background:#f5f9fc; border-color:#6b8ba4; color:#34495a; }
.svc-scan.is-ok{ background:#f3faf6; border-color:#2e8b57; color:#1f6b41; font-weight:600; }
.svc-scan.is-error{ background:#fff8f7; border-color:#c0392b; color:#a93226; }

/* Submit stays locked until the document passes */
.svc-form-actions{ flex-wrap:wrap; }
.svc-submit:disabled:not(.is-loading){ background:#c5ccd1; color:#fff; box-shadow:none; cursor:not-allowed; opacity:1; transform:none; }
.svc-submit:disabled:not(.is-loading) svg{ transform:none; }
.svc-submit-hint{ margin:0; flex:1 1 240px; font-size:14px; line-height:1.45; color:var(--text-grey); }
.svc-submit-hint[hidden]{ display:none; }
@media (max-width:640px){
  .svc-form-actions{ flex-direction:column; align-items:stretch; gap:12px; }
  .svc-submit-hint{ flex:none; text-align:center; }
}
@media (prefers-reduced-motion:reduce){
  .svc-file.is-scanning::after, .svc-file.is-scanning .svc-file-icon{ animation:none; }
  .svc-file.is-scanning::after{ width:100%; opacity:.5; }
}
/* Office directory */
.svc-directory{ background:#fff; padding:60px 0 90px; }
.svc-directory-inner{ max-width:1400px; margin:0 auto; padding:0 48px; }
.svc-directory-filter{ max-width:420px; margin-bottom:40px; }
.svc-directory-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.svc-office{
  padding:28px; border:1px solid var(--border); background:#fff;
  transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .3s ease;
}
.svc-office[hidden]{ display:none; }
.svc-office h3{ margin-bottom:12px; font-size:20px; font-weight:800; line-height:1.2; color:#222; }
.svc-office address{ font-style:normal; font-size:15px; line-height:1.45; color:#555; }
.svc-office-role{ margin-top:14px; font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--eyebrow); }
.svc-office-links{ display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:16px; font-size:15px; font-weight:700; }
.svc-office-links a{ color:var(--accent); text-decoration:none; }
.svc-office-links a:hover{ text-decoration:underline; }

@media (hover:hover){
  .svc-split-cta:hover svg, .svc-acc-link:hover svg{ transform:translateX(5px); }
  div.svc-card:hover{ transform:none; box-shadow:0 4px 22px rgba(0,0,0,.09); }
  div.svc-card:hover .svc-card-img img{ transform:none; }
  div.svc-card:hover h3{ color:inherit; }
  .svc-office:hover{ transform:translateY(-6px); box-shadow:0 14px 30px rgba(0,0,0,.12); border-color:var(--accent); }
}

@media (max-width:1100px){
  .svc-directory-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:960px){
  .svc-faq{ padding:56px 0 10px; }
  .svc-faq-inner{ padding:0 20px; }
  .svc-acc summary{ font-size:17px; }
  .svc-form-section{ padding:56px 20px 64px; }
  .svc-directory-inner{ padding:0 20px; }
}
@media (max-width:640px){
  .svc-directory-grid{ grid-template-columns:1fr; }
}


/* =========================================================
   INVESTOR PAGES: table and listing blocks
   ========================================================= */

/* Data tables */
.svc-table-section{ background:#fff; padding:60px 0 20px; }
.svc-table-inner{ max-width:1000px; margin:0 auto; padding:0 48px; }
.svc-table-inner h2{ margin-bottom:16px; font-size:28px; font-weight:800; line-height:1.2; color:#222; }
.svc-table-intro{ margin-bottom:24px; font-size:16px; line-height:1.45; color:#555; }
.svc-table-wrap{ overflow-x:auto; }
.svc-table{ width:100%; border-collapse:collapse; font-size:16px; line-height:1.4; color:var(--text-dark); }
.svc-table th{ padding:14px 16px; border-bottom:2px solid var(--accent); font-size:14px; font-weight:700; letter-spacing:.03em; text-align:left; text-transform:uppercase; color:#222; white-space:nowrap; }
.svc-table td{ padding:14px 16px; border-bottom:1px solid var(--border); }
.svc-table tbody tr:nth-child(even){ background:#fafafa; }
.svc-table td:first-child{ font-weight:700; }

/* Dated rows: events, announcements */
.svc-listing{ background:#fff; padding:60px 0 90px; }
.svc-listing-inner{ max-width:1000px; margin:0 auto; padding:0 48px; }
.svc-listing-inner h2{ margin-bottom:28px; font-size:28px; font-weight:800; line-height:1.2; color:#222; }
.svc-listing-item{ display:grid; grid-template-columns:240px 1fr; gap:32px; padding:32px 0; border-bottom:1px solid var(--border); }
.svc-listing-item:first-of-type{ border-top:1px solid var(--border); }
.svc-listing-img{ aspect-ratio:3 / 2; background:#e9eef1; overflow:hidden; }
.svc-listing-img img{ display:block; width:100%; height:100%; object-fit:cover; }
.svc-listing-body h3{ margin-bottom:10px; font-size:21px; font-weight:800; line-height:1.25; color:#222; }
.svc-listing-body > p{ font-size:16px; line-height:1.45; color:#555; }
.svc-listing-meta{ display:flex; flex-wrap:wrap; gap:10px 36px; margin:16px 0 18px; }
.svc-listing-meta dt{ font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--text-grey); }
.svc-listing-meta dd{ margin-top:2px; font-size:15px; font-weight:700; color:var(--text-dark); }

@media (max-width:960px){
  .svc-table-section{ padding:44px 0 10px; }
  .svc-table-inner, .svc-listing-inner{ padding:0 20px; }
  .svc-listing{ padding:44px 0 64px; }
  .svc-listing-item{ grid-template-columns:1fr; gap:18px; padding:24px 0; }
}

/* Thin progress bar while Claude translates the page (assets/script.js) */
html.translating::before{
  content:''; position:fixed; top:0; left:0; right:0; height:3px; z-index:9999;
  background:linear-gradient(90deg, transparent, var(--accent), transparent) no-repeat; background-size:40% 100%;
  animation:translateBar 1s linear infinite;
}
@keyframes translateBar{ from{ background-position:-40% 0; } to{ background-position:140% 0; } }
