:root{
  /* JKS green + logo blue */
  --primary-color:#64BA2E;   /* Green: icons and accents */
  --primary-deep:#3E721C;    /* Deeper green behind white text (passes WCAG AA contrast) */
  --secondary-color:#0B67E8; /* Blue */
  --dark:#111827;
  --muted:#6c788f;
  --light:#f7f7f7;

  --green-10:#e9f7df;
  --blue-10:#e7f0ff;
}

/* Base */
html{scroll-behavior:smooth; scroll-padding-top:80px; -webkit-text-size-adjust:100%;}
body{
  margin:0; padding-top:72px; background:#fff; color:var(--dark);
  font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,Helvetica,Arial,sans-serif;
}
img,svg,canvas,video{display:block; max-width:100%; height:auto;}

/* Skip link: hidden until focused with the keyboard */
.skip-link{
  position:absolute; left:1rem; top:-100px; z-index:2000; padding:.6rem 1rem; border-radius:.5rem;
  background:var(--dark); color:#fff; font-weight:600; text-decoration:none;
}
.skip-link:focus{top:1rem; color:#fff;}

/* Navbar */
.navbar{background:#fff; box-shadow:0 2px 8px rgba(15,23,42,.08); min-height:72px;}
.navbar-brand{display:flex; align-items:center; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--secondary-color)!important;}
.navbar-brand img{height:44px; width:auto; margin-right:10px;}
.navbar-brand span{font-size:1.05rem;}
.nav-link{color:#374151!important; font-size:.95rem; font-weight:500;}
.nav-link:hover,.nav-link:focus,.nav-link.active{color:var(--primary-deep)!important;}
.btn-nav{border-radius:999px; padding:6px 18px; font-size:.85rem; font-weight:600;}

/* Solutions dropdown */
.navbar .dropdown-menu{border:none; border-radius:.75rem; box-shadow:0 12px 30px rgba(15,23,42,.12); padding:.5rem;}
.navbar .dropdown-item{border-radius:.5rem; padding:.5rem .75rem; font-size:.9rem; display:flex; align-items:center; gap:.6rem;}
.navbar .dropdown-item i{width:1.1rem; text-align:center; color:var(--primary-color);}
.navbar .dropdown-item:hover,.navbar .dropdown-item:focus{background:var(--green-10); color:var(--dark);}
.navbar .dropdown-item.active,.navbar .dropdown-item:active{background:var(--primary-deep); color:#fff;}
.navbar .dropdown-item.active i,.navbar .dropdown-item:active i{color:#fff;}
@media (min-width: 992px){
  /* Open on hover for mouse users; click still works for touch and keyboard */
  .navbar .dropdown:hover > .dropdown-menu{display:block; margin-top:0;}
}
@media (max-width: 991.98px){
  .navbar-collapse{padding:.5rem 0 1rem;}
  .navbar .dropdown-menu{box-shadow:none; padding:0 0 0 .5rem;}
}

/* Buttons */
.btn-primary-brand{background:#fff; color:var(--secondary-color); border-color:#fff; font-weight:600;}
.btn-primary-brand:hover{background:#f6ffef; color:var(--secondary-color); border-color:#eaf7df;}
.btn-outline-brand{color:#fff; border-color:#fff; font-weight:600;}
.btn-outline-brand:hover{background:rgba(255,255,255,.12); color:#fff;}

/* Hero */
#hero{
  min-height:80vh; color:#fff; display:flex; align-items:center; padding:60px 0;
  background:
    linear-gradient(120deg, rgba(62,114,28,.9), rgba(11,103,232,.9)),
    url("hero.jpg") center/cover no-repeat;
  background-image:
    linear-gradient(120deg, rgba(62,114,28,.9), rgba(11,103,232,.9)),
    image-set(url("hero.webp") type("image/webp"), url("hero.jpg") type("image/jpeg"));
}
@media (max-width: 767.98px){
  #hero{
    background-image:
      linear-gradient(120deg, rgba(62,114,28,.9), rgba(11,103,232,.9)),
      url("hero-800.jpg");
    background-image:
      linear-gradient(120deg, rgba(62,114,28,.9), rgba(11,103,232,.9)),
      image-set(url("hero-800.webp") type("image/webp"), url("hero-800.jpg") type("image/jpeg"));
  }
}
#hero .badge-brand{
  background:rgba(255,255,255,.1); border-radius:999px; padding:6px 14px;
  font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
}
#hero .display-4{font-weight:700;}
#hero .lead{max-width:600px; font-size:1.02rem;}

/* Hero solution tiles */
.hero-tiles{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.85rem; max-width:540px; margin-inline:auto;}
.hero-tile{
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:.9rem;
  min-height:108px; padding:1.25rem; border-radius:1rem;
  background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.24);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  color:#fff; font-weight:700; font-size:.95rem; text-align:left; text-decoration:none;
  transition:background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.hero-tile i{font-size:1.6rem;}
.hero-tile:hover,.hero-tile:focus-visible{background:rgba(255,255,255,.24); border-color:rgba(255,255,255,.45); color:#fff; transform:translateY(-3px);}
/* An odd tile out spans the full row */
.hero-tile:last-child:nth-child(odd){grid-column:1 / -1;}
@media (max-width: 575.98px){
  .hero-tile{min-height:92px; padding:1rem; font-size:.85rem;}
}

/* Sections */
section{padding:60px 0;}
section.bg-light{background-color:var(--light)!important;}
.section-title{
  font-weight:700; color:var(--secondary-color);
  text-transform:uppercase; letter-spacing:.14em; font-size:.75rem;
}
.section-heading{font-weight:700; color:var(--dark); margin-bottom:1rem;}

/* Icon circles & cards */
.icon-circle{
  width:3rem; height:3rem; border-radius:50%; flex-shrink:0;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--green-10); color:var(--primary-color); font-size:1.4rem; margin-bottom:.75rem;
}
.icon-circle.blue{background:var(--blue-10); color:var(--secondary-color);}
.feature-card{
  border:none; border-radius:.75rem;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
  transition:transform .2s ease, box-shadow .2s ease, border-top-color .2s ease;
  border-top:3px solid transparent;
}
.feature-card:hover{transform:translateY(-5px); box-shadow:0 15px 30px rgba(15,23,42,.12); border-top-color:var(--primary-color);}
a.feature-card{color:inherit; text-decoration:none;}
.feature-card .card-link-text{color:var(--secondary-color); font-weight:600; font-size:.85rem;}
.feature-card .card-link-text i{transition:transform .2s ease; margin-left:.25rem;}
.feature-card:hover .card-link-text i{transform:translateX(4px);}

/* About highlight cards */
.about-highlight{display:flex; align-items:flex-start; padding:1.25rem; border-radius:.75rem; background:#fff; box-shadow:0 8px 20px rgba(15,23,42,.06);}
.about-highlight .icon-circle{margin-bottom:0;}

/* Regional presence card */
.presence-card{padding:1.5rem 1.75rem; border-radius:.75rem; background:#fff; box-shadow:0 8px 20px rgba(15,23,42,.06);}
.presence-card li{padding:.35rem 0; font-weight:500;}
.presence-card li i{color:var(--primary-color); margin-right:.5rem;}
.presence-card li small{color:var(--muted); font-weight:400;}

/* Contact box */
.contact-box{
  background:radial-gradient(circle at top left, var(--secondary-color), var(--primary-deep));
  color:#fff; border-radius:1rem; padding:2rem;
}
.contact-box .icon-circle{background:rgba(255,255,255,.18); color:#fff; margin-bottom:0;}
.contact-box a{color:#fff; text-decoration:none;}
.contact-box a:hover,.contact-box a:focus{text-decoration:underline;}

/* Contact form */
.hp-field{position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden;}
#contactStatus.is-success{color:#2f6b12!important; font-weight:600;}
#contactStatus.is-error{color:#b42318!important; font-weight:600;}

/* Images */
.img-soft{border-radius:1rem; box-shadow:0 10px 25px rgba(15,23,42,.18);}

/* Solution pages */
.page-hero{
  background:linear-gradient(120deg, rgba(62,114,28,.95), rgba(11,103,232,.95));
  color:#fff; padding:36px 0 34px;
}
.page-hero .breadcrumb{--bs-breadcrumb-divider-color:rgba(255,255,255,.7); --bs-breadcrumb-item-active-color:#fff; font-size:.85rem;}
.page-hero .breadcrumb a{color:rgba(255,255,255,.88); text-decoration:none;}
.page-hero .breadcrumb a:hover{color:#fff; text-decoration:underline;}
.page-hero h1{font-weight:700;}
.page-hero .lead{max-width:680px;}
.page-hero-icon{
  flex-shrink:0; width:3.25rem; height:3.25rem; border-radius:.85rem;
  background:rgba(255,255,255,.15); display:inline-flex; align-items:center; justify-content:center; font-size:1.5rem;
}
.check-list li{display:flex; gap:.6rem; margin-bottom:.6rem;}
.check-list li i{color:var(--primary-color); margin-top:.3rem;}
.process-step{position:relative; padding-left:3.25rem; margin-bottom:1.5rem;}
.process-step .step-num{
  position:absolute; left:0; top:0; width:2.25rem; height:2.25rem; border-radius:50%;
  background:var(--secondary-color); color:#fff; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.cta-band{
  background:radial-gradient(circle at top left, var(--secondary-color), var(--primary-deep));
  color:#fff; border-radius:1rem; padding:2.5rem;
}
.other-solutions a{
  display:flex; align-items:center; gap:.75rem; padding:1rem 1.25rem; border-radius:.75rem;
  background:#fff; box-shadow:0 8px 20px rgba(15,23,42,.06); color:var(--dark); text-decoration:none; font-weight:600;
  transition:transform .2s ease, box-shadow .2s ease;
}
.other-solutions a:hover{transform:translateY(-3px); box-shadow:0 15px 30px rgba(15,23,42,.12); color:var(--secondary-color);}
.other-solutions a > i{margin-left:auto;}
.other-solutions .icon-circle{margin-bottom:0; width:2.5rem; height:2.5rem; font-size:1.1rem;}

/* Privacy policy and other text-heavy pages */
.legal{max-width:780px;}
.legal h2{font-size:1.25rem; font-weight:700; color:var(--dark); margin-top:2.25rem; margin-bottom:.75rem;}
.legal p,.legal li{line-height:1.7;}
.legal li{margin-bottom:.4rem;}
.legal a{color:var(--secondary-color);}

/* 404 */
.notfound{min-height:calc(100vh - 72px - 200px); display:flex; align-items:center;}
.notfound .code{font-size:clamp(5rem,18vw,9rem); font-weight:800; line-height:1; background:linear-gradient(120deg,var(--primary-deep),var(--secondary-color)); -webkit-background-clip:text; background-clip:text; color:transparent;}

/* Footer */
.site-footer{background:#0b1120; color:#9ca3af; padding:56px 0 0; font-size:.9rem;}
.site-footer a{color:#d1d5db; text-decoration:none;}
.site-footer a:hover,.site-footer a:focus{color:#fff; text-decoration:underline;}
.footer-brand{display:inline-flex; align-items:center; gap:.75rem; font-weight:700; color:#fff!important; text-decoration:none!important;}
.footer-brand img{height:40px; width:auto;}
.footer-heading{color:#fff; font-size:.8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin-bottom:1rem;}
.footer-links,.footer-contact{list-style:none; padding:0; margin:0;}
.footer-links li{margin-bottom:.55rem;}
.footer-contact li{display:flex; gap:.65rem; margin-bottom:.8rem; overflow-wrap:anywhere;}
.footer-contact i{color:var(--primary-color); margin-top:.3rem; width:1rem;}
.footer-bottom{margin-top:40px; padding:18px 0; border-top:1px solid rgba(255,255,255,.08); font-size:.8rem; text-align:center;}

/* Floating WhatsApp button */
.whatsapp-float{
  position:fixed; right:max(20px, env(safe-area-inset-right)); bottom:max(20px, env(safe-area-inset-bottom)); z-index:1030;
  display:inline-flex; align-items:center; gap:.55rem; padding:.8rem 1.15rem; border-radius:999px;
  background:#25d366; color:#fff; font-weight:600; font-size:.95rem; text-decoration:none;
  box-shadow:0 10px 25px rgba(15,23,42,.25); transition:transform .2s ease, background-color .2s ease;
}
.whatsapp-float i{font-size:1.6rem;}
.whatsapp-float:hover,.whatsapp-float:focus-visible{background:#1ebe5b; color:#fff; transform:translateY(-2px);}
.whatsapp-float:focus-visible{outline:3px solid #fff; outline-offset:2px; box-shadow:0 0 0 6px #1ebe5b;}
/* Phones: icon-only round button so it doesn't cover content */
@media (max-width: 575.98px){
  .whatsapp-float{padding:0; width:56px; height:56px; justify-content:center;}
  .whatsapp-label{display:none;}
}

/* Fade-up animation (only when JS runs and motion is allowed) */
@media (prefers-reduced-motion: no-preference){
  .js .fade-up{opacity:0; transform:translateY(20px); transition:opacity .8s ease, transform .8s ease;}
  .js .fade-up.show{opacity:1; transform:translateY(0);}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
}

/* Responsive tweaks */
@media (max-width: 767.98px){
  #hero{text-align:center;}
  #hero .lead{margin-left:auto; margin-right:auto;}
  #hero .hero-actions{flex-direction:column;}
  .cta-band{padding:1.75rem; text-align:center;}
}

/* Direct contact line inside a solution page's quote banner */
.cta-contact{font-size:.95rem; overflow-wrap:anywhere;}
.cta-contact a{color:#fff; font-weight:600; text-decoration:underline; text-underline-offset:3px;}
.cta-contact a:hover,.cta-contact a:focus{color:#fff; text-decoration-thickness:2px;}
.notfound-text{max-width:520px;}
