:root{
  --mas-primary:#25855A;
  --mas-text:#312C33;
  --mas-muted:#878787;
  --mas-light:#EFEFEF;
  --mas-white:#FFFFFF;
  --mas-dark:#0E1412;
  --mas-dark2:#121A16;
  --mas-radius:16px;
  --mas-radius-sm:12px;
  --mas-shadow:0 18px 45px rgba(0,0,0,.12);
  --mas-shadow2:0 10px 25px rgba(0,0,0,.10);
}

/* WPBakery spacing fixes */
.vc_row, .vc_section{ margin-left:0 !important; margin-right:0 !important; }
.wpb_content_element{ margin-bottom:0; }
.vc_row-has-fill>.vc_column_container>.vc_column-inner{ padding-top:0; }

body{ color:var(--mas-text); }
a{ color:inherit; }

/* Full width helper */
.mas-section-full{
  width:100vw;
  margin-left:calc(50% - 50vw);
}
.mas-container{
  max-width:1320px;
  margin:0 auto;
  padding:0 24px;
}
@media (max-width:768px){
  .mas-container{ padding:0 16px; }
}

/* Buttons */
.mas-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:14px 22px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.mas-btn:active{ transform:translateY(1px); }
.mas-btn--primary{
  background:var(--mas-primary);
  color:var(--mas-white);
  box-shadow:0 14px 26px rgba(37,133,90,.25);
}
.mas-btn--primary:hover{ box-shadow:0 18px 34px rgba(37,133,90,.30); }
.mas-btn--ghost{
  background:rgba(255,255,255,.10);
  color:var(--mas-white);
  border-color:rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.mas-btn--wide{ width:100%; border-radius:14px; }

/* Inputs */
.mas-label{ font-weight:900; display:block; margin-bottom:8px; color:var(--mas-text); }
.mas-field{ margin-bottom:14px; }
.mas-input{
  width:100%;
  border:1px solid rgba(49,44,51,.12);
  border-radius:12px;
  padding:12px 14px;
  background:#fff;
  color:var(--mas-text);
  outline:none;
}
.mas-input:focus{ border-color:rgba(37,133,90,.55); box-shadow:0 0 0 4px rgba(37,133,90,.12); }
.mas-textarea{ min-height:120px; resize:vertical; }
.mas-muted{ color:var(--mas-muted); font-size:14px; }

/* Header */
.mas-header{
  position:sticky;
  top:0;
  z-index:9999;
  background:linear-gradient(90deg, rgba(37,133,90,.95), rgba(37,133,90,.86));
  box-shadow:0 10px 25px rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
}
.mas-header__inner{
  max-width:1320px;
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.mas-brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; font-weight:900; }
.mas-brand__mark{
  width:44px; height:44px;
  border-radius:999px;
  background:#fff;
  display:grid; place-items:center;
  color:var(--mas-primary);
  font-weight:1000;
}
.mas-brand__name{ font-size:20px; letter-spacing:.2px; }

.mas-nav{ display:flex; align-items:center; gap:22px; }
.mas-nav__link{
  color:#fff; text-decoration:none; font-weight:800;
  opacity:.95;
}
.mas-nav__link:hover{ opacity:1; text-decoration:underline; text-underline-offset:6px; }
.mas-nav__link--cta{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none !important;
}

.mas-burger{
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.10);
  display:none;
  align-items:center; justify-content:center;
  gap:5px;
}
.mas-burger span{
  display:block; width:20px; height:2px;
  background:#fff; border-radius:99px;
}
.mas-mobile{
  background:rgba(14,20,18,.96);
  color:#fff;
  padding:12px 24px 18px;
  border-top:1px solid rgba(255,255,255,.08);
}
.mas-mobile__link{
  display:block;
  padding:12px 4px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  opacity:.95;
}
.mas-mobile__link:hover{ opacity:1; }
.mas-mobile__link--cta{
  margin-top:10px;
  background:var(--mas-primary);
  border-radius:14px;
  padding:12px 14px;
  text-align:center;
}

@media (max-width: 980px){
  .mas-nav{ display:none; }
  .mas-burger{ display:flex; }
}

/* Hero */
.mas-hero{
  position:relative;
  min-height:78vh;
  background:#0b1010;
  overflow:hidden;
}
.mas-hero__bg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}
.mas-hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.40) 45%, rgba(0,0,0,.10));
}
.mas-hero__inner{
  position:relative;
  z-index:2;
  padding:64px 0 140px;
}
.mas-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
  font-size:12px;
}
.mas-pill__dot{ width:10px; height:10px; background:var(--mas-primary); border-radius:99px; box-shadow:0 0 0 4px rgba(37,133,90,.22); }

.mas-h1{
  margin:22px 0 12px;
  color:#fff;
  font-size:64px;
  line-height:1.05;
  letter-spacing:-.8px;
  font-weight:1000;
}
.mas-h1 span{ color:var(--mas-primary); }
.mas-h2{
  color:rgba(255,255,255,.80);
  font-size:46px;
  font-style:italic;
  font-weight:600;
  margin:0 0 18px;
}
.mas-hero p{
  max-width:720px;
  color:rgba(255,255,255,.78);
  font-size:18px;
  line-height:1.7;
  margin:0 0 26px;
}
.mas-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

@media (max-width:768px){
  .mas-hero__inner{ padding:46px 0 120px; }
  .mas-h1{ font-size:44px; }
  .mas-h2{ font-size:30px; }
}

/* Capacity overlay */
.mas-capacity{
  position:relative;
  margin-top:-78px;
  z-index:5;
}
.mas-capacity__bar{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--mas-shadow);
  padding:18px 18px;
  display:flex;
  align-items:stretch;
  gap:18px;
}
.mas-capacity__item{
  flex:1;
  display:flex;
  gap:14px;
  align-items:center;
  padding:10px 10px;
  border-radius:14px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.mas-capacity__item:hover{ transform:translateY(-2px); box-shadow:var(--mas-shadow2); background:rgba(239,239,239,.35); }
.mas-capacity__icon{
  width:44px; height:44px;
  border-radius:999px;
  display:grid; place-items:center;
  background:rgba(37,133,90,.12);
  color:var(--mas-primary);
  font-size:18px;
}
.mas-capacity__value{
  font-size:24px;
  font-weight:1000;
  color:var(--mas-primary);
  line-height:1;
}
.mas-capacity__label{ font-weight:900; font-size:14px; margin-top:2px; }
.mas-capacity__sub{ font-size:12px; color:var(--mas-muted); }
.mas-capacity__divider{
  width:1px;
  background:rgba(49,44,51,.10);
}
@media (max-width:900px){
  .mas-capacity__bar{ flex-direction:column; }
  .mas-capacity__divider{ width:100%; height:1px; }
  .mas-capacity{ margin-top:-62px; }
}

/* RFQ */
.mas-rfq{
  background:#fff;
  border-radius:20px;
  border:1px solid rgba(49,44,51,.10);
  box-shadow:var(--mas-shadow2);
  padding:20px 20px;
}
.mas-rfq__title{ font-size:22px; font-weight:1000; margin:0 0 4px; }
.mas-rfq__sub{ color:var(--mas-muted); margin:0 0 10px; }
.mas-rfq__line{ height:1px; background:rgba(49,44,51,.12); }
.mas-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:980px){ .mas-grid-2{ grid-template-columns:1fr; } }
.mas-cardline{ border:1px solid rgba(49,44,51,.10); border-radius:14px; padding:12px; background:rgba(239,239,239,.25); display:grid; gap:10px; }
.mas-field--hidden{ display:none; }
.mas-rfq__status{ margin-top:10px; font-weight:900; }

/* Urgent help buttons */
.mas-urgent{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:768px){ .mas-urgent{ grid-template-columns:1fr; } }
.mas-urgent__btn{
  display:flex; align-items:center; gap:12px;
  border-radius:14px;
  padding:14px 14px;
  border:1px solid rgba(49,44,51,.10);
  background:#fff;
  box-shadow:var(--mas-shadow2);
  text-decoration:none;
  cursor:pointer;
}
.mas-urgent__btn small{ display:block; color:var(--mas-muted); font-weight:900; font-size:12px; }
.mas-urgent__btn strong{ display:block; color:var(--mas-text); font-weight:1000; font-size:14px; }
.mas-urgent__btn--wa{ border-color:rgba(37,133,90,.22); }
.mas-urgent__btn--wa .mas-urgent__ico{ background:#25D366; }
.mas-urgent__btn--wc{ border-color:rgba(37,133,90,.22); }
.mas-urgent__btn--wc .mas-urgent__ico{ background:var(--mas-primary); }
.mas-urgent__ico{
  width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center;
  color:#fff; font-weight:1000;
}

/* Modal */
.mas-modal{ position:fixed; inset:0; z-index:99999; }
.mas-modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.mas-modal__panel{
  position:relative;
  width:min(520px, calc(100% - 32px));
  margin:12vh auto;
  background:#fff;
  border-radius:18px;
  box-shadow:var(--mas-shadow);
  padding:18px;
}
.mas-modal__close{
  position:absolute; top:10px; right:12px;
  width:38px; height:38px;
  border-radius:12px;
  border:1px solid rgba(49,44,51,.12);
  background:#fff;
  font-size:22px;
  cursor:pointer;
}
.mas-modal__title{ font-weight:1000; font-size:18px; margin-bottom:12px; }
.mas-modal__img{ width:100%; height:auto; border-radius:14px; border:1px solid rgba(49,44,51,.10); }

/* Footer */
.mas-footer{ background:var(--mas-dark2); color:#d7dbd8; padding:46px 0 0; }
.mas-footer__grid{ display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; gap:18px; padding-bottom:28px; }
@media (max-width:980px){ .mas-footer__grid{ grid-template-columns:1fr; } }
.mas-footer__brand{ font-weight:1000; color:#fff; font-size:18px; margin-bottom:10px; }
.mas-footer__desc{ color:#aeb6b1; line-height:1.7; max-width:420px; }
.mas-footer__title{ font-weight:1000; color:#fff; margin-bottom:10px; }
.mas-footer__link{ display:block; color:#aeb6b1; text-decoration:none; padding:6px 0; }
.mas-footer__link:hover{ color:#fff; }
.mas-footer__meta{ color:#aeb6b1; padding:6px 0; }
.mas-footer__bottom{ border-top:1px solid rgba(255,255,255,.08); padding:16px 0; }
.mas-footer__bottom-inner{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; color:#aeb6b1; font-size:13px; }
.mas-footer__bottom-links a{ color:#aeb6b1; text-decoration:none; margin-left:14px; }
.mas-footer__bottom-links a:hover{ color:#fff; }

/* Remove accidental "blue" accents */
a:hover, .current-menu-item>a{ color:var(--mas-primary) !important; }

.mas-urgent__ico img{ width:22px; height:22px; object-fit:contain; filter:brightness(0) invert(1); }

.mas-texture-green{ background-color:var(--mas-primary); background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px), radial-gradient(rgba(0,0,0,.10) 1px, transparent 1px); background-size: 18px 18px; background-position: 0 0, 9px 9px; }
