html{scroll-behavior:smooth} .w-webflow-badge{display:none!important} @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Meraas Group brand colours (from logo) */
:root{
  --primary:#16539b;   /* Meraas blue */
  --accent:#8cad2a;    /* Meraas green */
  --black:#0d2a4a;     /* deep navy for dark sections */
}
.cta-span{color:var(--primary)}
.title-inner{border-bottom-color:var(--accent)}
.nav-line{background-color:var(--accent)}
.contact-link:hover,.nav-link:hover,.nav-contact-link:hover{color:var(--accent)}

/* Logos */
.brand{overflow:visible;flex:none}
.brand-logo{height:66px;width:auto;max-width:none;display:block}
.nav-logo-img{height:64px;width:auto}
.footer-logo-img{height:96px;width:auto}
.hero-icon{background-color:#fff}
.hero-mark{width:72%;height:auto}
a.contact-link,a.footer-link,a.nav-contact-link{text-decoration:none;color:inherit}

/* Contact buttons */
.cta-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:flex-start}
.cta-call{background-color:var(--black)}

@media screen and (max-width:767px){
  .brand-logo{height:44px}
  .footer-logo-img{height:80px}
}

/* ---------- Mobile call/email bar ---------- */
.mobile-bar{display:none}
@media screen and (max-width:767px){
  .mobile-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1000;gap:.5rem;padding:.625rem .75rem calc(.625rem + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 18px rgba(13,42,74,.12)}
  .mobile-bar a{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;height:48px;border-radius:999px;font-size:.9375rem;font-weight:500;text-decoration:none;color:#fff;background:var(--primary)}
  .mobile-bar a.alt{background:var(--black)}
  .mobile-bar svg{width:18px;height:18px;flex:none}
  body{padding-bottom:72px}
}

/* ---------- Phone layout polish ---------- */
@media screen and (max-width:479px){
  .brand-logo{height:52px}
  /* hero: shorter photo, compact project card */
  .hero-block{padding-top:1rem;padding-bottom:1rem}
  .hero-cover{aspect-ratio:4/3}
  .hero-outer.mobile .hero-card{flex-flow:row;align-items:center;gap:.875rem;padding:.75rem;background-color:var(--black)}
  .hero-outer.mobile .hero-mini-cover{max-width:6.5rem;flex:none;aspect-ratio:1}
  .hero-outer.mobile .hero-mini-title{font-size:1.0625rem}
  .hero-outer.mobile .body-large{font-size:.875rem}
  /* about stats in one row */
  .about-number{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
  .about-line{display:none}
  .number-card{border:1px solid #e4e8ee;border-radius:10px;padding:.875rem .75rem;gap:.25rem}
  .number-card h2{font-size:1.625rem;line-height:1.1}
  .number-card .body-large{font-size:.8125rem;line-height:1.35}
  /* what we build: 2-column cards */
  .services-bottom{grid-template-columns:1fr 1fr;gap:.75rem}
  .service-card{border:1px solid #e4e8ee!important;border-radius:10px;padding:1rem .875rem!important;overflow:hidden}
  .service-icon-outer{width:3rem;height:3rem}
  .service-heading{font-size:1rem}
  .service-data p{font-size:.8125rem;line-height:1.45}
  /* how we build: stage + step side by side */
  .project-top{flex-flow:row;justify-content:space-between}
  /* contact buttons full width */
  .cta-actions{flex-direction:column;align-items:stretch;width:100%}
  .cta-actions .primary-button{width:100%}
  .cta-title{font-size:2.125rem}
}

/* ---------- Menu: selected item ---------- */
/* template used a grey placeholder block as the "current" marker – replace with brand green */
.nav-link.w--current{background-image:none;padding-left:0;color:var(--accent)}
.nav-link.w--current::before{content:"";display:inline-block;width:28px;height:3px;border-radius:2px;background:var(--accent);flex:none}
.nav-link:hover,.nav-link:focus-visible{color:var(--accent)}
.nav-contact-link.body-small.w--current,.nav-contact-link:hover{color:var(--accent)}
.nav-link{-webkit-tap-highlight-color:transparent}

/* hide quick-contact bar while the menu is open */
body:has(.w-nav-button.w--open) .mobile-bar{display:none}

/* ---------- Footer contact rows ---------- */
.footer-contact{display:inline-flex;align-items:center;gap:.75rem;color:var(--border);text-decoration:none;transition:color .3s;word-break:break-word}
.footer-contact:hover{color:#fff}
.fc-icon{width:40px;height:40px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);color:var(--accent);transition:background-color .3s,color .3s}
.fc-icon svg{width:18px;height:18px;display:block}
.footer-contact:hover .fc-icon{background:var(--accent);color:#fff}

/* footer page links: consistent, underline on hover only */
.footer-line{display:none}
.footer-link.w--current{border-bottom:none}
.footer-link{text-decoration:none}
.footer-link:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
