/* 3i revamp — shared component layer. Loaded last in <head>. */
:root{ --r-brand:#135d1d; --r-on-brand:#fff; --r-ease:cubic-bezier(.2,.7,.2,1); }

/* WhatsApp button — house default, bottom LEFT (right collides with
   back-to-top and most chat widgets). Number read from the page's own tel:
   link, never typed in. */
.u-wa{
  position:fixed !important; left:16px !important; right:auto !important; bottom:16px !important;
  width:62px; height:62px; border-radius:50%; background:#25D366;
  box-shadow:0 6px 20px -6px rgba(0,0,0,.45); z-index:9000; display:block; text-decoration:none;
  transition:transform .2s var(--r-ease), box-shadow .2s ease;
}
.u-wa::after{
  content:""; position:absolute; inset:0; margin:auto; width:34px; height:34px; background:#fff;
  -webkit-mask:var(--wa) center/contain no-repeat; mask:var(--wa) center/contain no-repeat;
}
.u-wa{ --wa:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.04 2A9.9 9.9 0 0 0 2.1 11.9a9.8 9.8 0 0 0 1.35 4.96L2 22l5.3-1.38a9.9 9.9 0 0 0 4.74 1.21h.01A9.9 9.9 0 0 0 22 11.93 9.9 9.9 0 0 0 12.04 2zm5.8 14.06c-.24.68-1.4 1.3-1.94 1.35-.5.05-.96.23-3.23-.67-2.72-1.07-4.45-3.84-4.58-4.02-.13-.18-1.1-1.46-1.1-2.79s.7-1.98.95-2.25c.25-.27.54-.34.72-.34h.52c.17 0 .4-.06.62.47.24.57.8 1.97.87 2.11.07.14.12.3.02.48-.1.18-.15.3-.3.46l-.44.5c-.14.14-.3.3-.13.6.17.3.75 1.23 1.6 2 1.1.98 2.02 1.28 2.32 1.43.3.15.47.13.64-.08.18-.2.74-.86.94-1.16.2-.3.4-.25.66-.15.27.1 1.67.79 1.96.93.29.14.48.21.55.33.07.12.07.7-.17 1.38z'/></svg>"); }
.u-wa:hover{ transform:translateY(-3px); box-shadow:0 10px 26px -8px rgba(0,0,0,.5); }
.u-wa:focus-visible{ outline:3px solid #fff; outline-offset:3px; }
@media (max-width:767px){ .u-wa{ width:56px; height:56px; left:14px !important; bottom:14px !important; } }
@media (prefers-reduced-motion:reduce){ .u-wa{ transition:none; } .u-wa:hover{ transform:none; } }

/* Phone row in the mobile menu. The theme's own menu is left alone wherever it
   works; this is the one thing it lacks. Full menu width, 48px target. */
.u-menu-call{
  display:none; box-sizing:border-box; width:100%; align-items:center; gap:10px;
  min-height:48px; padding:12px 20px; background:var(--r-brand); color:var(--r-on-brand) !important;
  font-weight:600; text-decoration:none; white-space:nowrap;
}
.u-menu-call svg{ width:18px; height:18px; fill:currentColor; flex:0 0 auto; }
@media (max-width:980px){ .u-menu-call{ display:flex; } }
.u-menu-call-item{ list-style:none; }
.u-menu-call-item{ margin:0 !important; padding:0 !important; border:0 !important; }

/* Mobile type floor. These themes drop body copy to 13-14px on phones.
   Body text only; heading sizes stay the designer's, desktop is untouched. */
@media (max-width:767px){
  body{ font-size:16px; }
  p, li, td, .et_pb_text, .et_pb_text_inner{ font-size:16px; line-height:1.65; }
  footer p, footer li, footer a, #main-footer p, #main-footer li, #main-footer a{ font-size:15px; line-height:1.6; }
  small, .small{ font-size:14px; }
}

/* The enquiry form's reply box: success and failure printed in the same grey
   on every site seen so far. The live handler tags the FORM, so the states are
   styled from those classes. */
.wpcf7 form .wpcf7-response-output, form[data-3i] .wpcf7-response-output{
  margin:16px 0 0; padding:12px 16px; border:1px solid transparent; border-radius:10px;
  font-size:15px; line-height:1.5;
}
.wpcf7 form.sent .wpcf7-response-output, form[data-3i].sent .wpcf7-response-output{
  border-color:rgba(26,156,91,.40) !important; background:#effaf4 !important; color:#12623a !important;
}
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.invalid .wpcf7-response-output,
form[data-3i].failed .wpcf7-response-output{
  border-color:rgba(190,120,20,.45) !important; background:#fff8ec !important; color:#8a5a06 !important;
}



/* A number that was plain text must not start looking like a link - and must
   not start OCCUPYING a different box either. On welicronlifesciences.com the
   theme's own `.icon_box a{display:block}` (meant for an icon box that is
   wholly a link) caught our injected anchor, so a number that had been inline
   text inside `<div class="desc">` became a full-width block and added exactly
   one 28px line box: /contact-us/ grew 28px with not one computed style
   different, which is how a cascade FAIL with no style diff looks when the
   cause is a box-model change rather than a restyle. Plain text is inline, so
   pin inline. (The mobile menu's phone row is .u-menu-call, not this class, so
   it keeps its own flex box.) */
a.u-tel{font:inherit!important;color:inherit!important;line-height:inherit!important;
  letter-spacing:inherit!important;text-decoration:inherit!important;font-weight:inherit!important;
  display:inline!important;width:auto!important;padding:0!important;margin:0!important}

/* The DPDP privacy notice is our own page and shipped with no title heading,
   so the first thing on it was "1. Who is responsible for your data". */
.dpdp-doc .dpdp-title{font-size:38px;line-height:1.2;font-weight:600;margin:0 0 6px}
@media (max-width:767px){.dpdp-doc .dpdp-title{font-size:28px}}

/* The not-found page lists every page on the site instead of ending the visit. */
.u-404{padding:48px 0 64px;max-width:1080px;margin:0 auto}
.u-404 h1{margin:0 0 14px}
.u-404 p{max-width:68ch}
.u-404-h2{font-size:22px;margin:24px 0 10px}
.u-404-links{list-style:none;margin:0 0 24px;padding:0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:6px 24px}
.u-404-links li{margin:0}
.u-404-links a{display:block;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.08)}

/* Promoted headings pinned to the look they had in the untouched build.
   Measured, not guessed: a wrong line-height shifts everything below it. */
h1.u-keep-1{font-size:32px!important;font-weight:600!important;line-height:32px!important;color:rgb(255, 255, 255)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:center!important}
h1.u-keep-2{font-size:35px!important;font-weight:600!important;line-height:38.5px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}
h1.u-keep-3{font-size:35px!important;font-weight:600!important;line-height:38.5px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}
h1.u-keep-4{font-size:35px!important;font-weight:600!important;line-height:38.5px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}
h1.u-keep-5{font-size:35px!important;font-weight:600!important;line-height:38.5px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}
h1.u-keep-6{font-size:35px!important;font-weight:600!important;line-height:38.5px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}
h1.u-keep-7{font-size:35px!important;font-weight:600!important;line-height:38.5px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}
h1.u-keep-8{font-size:35px!important;font-weight:600!important;line-height:38.5px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}
h1.u-keep-9{font-size:32px!important;font-weight:600!important;line-height:32px!important;color:rgb(255, 255, 255)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:center!important}
h1.u-keep-10{font-size:60px!important;font-weight:600!important;line-height:66px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}
h1.u-keep-11{font-size:32px!important;font-weight:600!important;line-height:32px!important;color:rgb(255, 255, 255)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:center!important}

@media (max-width:767px){
  /* Our own enquiry form's labels render 13px on a phone, and the DPDP consent
     line - the one sentence somebody must read before agreeing to it - 13.5px.
     Both are our markup, not the client's copy. */
  form[action="/send.php"] label{font-size:16px;line-height:1.5}
  .dpdp-consent label, .dpdp-consent span, .dpdp-consent a{font-size:16px;line-height:1.5}
  .dpdp-footer-line, .dpdp-footer-line a{font-size:15px}
}

/* Mobile sizes for the promoted headings, measured on the untouched
   build at 768 and 390. The pins above were measured at 1440 only and
   are !important, so without these the heading kept its desktop size on
   a phone. Only the widths where the control actually differs appear. */
@media (max-width:390px){h1.u-keep-10{font-size:45px!important;font-weight:600!important;line-height:49.5px!important;color:rgb(19, 93, 29)!important;margin:0px 0 0px!important;padding:0px 0 10px!important;letter-spacing:inherit!important;text-align:left!important}}
