:root{
  --primary:#124A44;
  --secondary:#B3C125;
  --bg:#F1F1F1;
  --white:#fff;
}

/* Cross-document view transitions: smooth cross-fade between pages on
   same-origin navigation. Supported in Chromium browsers; unsupported
   browsers just keep the normal, instant page load — no breakage either way. */
@view-transition{
  navigation:auto;
}
::view-transition-old(root),::view-transition-new(root){
  animation-duration:.4s;
  animation-timing-function:ease;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif;background:var(--bg);color:var(--primary);overflow-x:hidden;overflow-wrap:break-word;}
a{color:inherit;}

/* ---------- header ---------- */
header{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:22px max(120px, calc(50% - 600px));
  background:rgba(255,255,255,0.94);
  backdrop-filter:blur(6px);
  transition:box-shadow .3s;
}
header.scrolled{box-shadow:0 4px 20px rgba(18,74,68,0.08);}
.logo{display:flex;align-items:center;gap:16px;text-decoration:none;}
.logo-mark{width:54px;height:auto;flex-shrink:0;display:block;}
.logo-text{display:flex;flex-direction:column;line-height:1.1;}
.logo-text b{color:var(--primary);font-size:18px;letter-spacing:1px;}
.logo-text span{color:var(--secondary);font-size:10px;font-weight:600;letter-spacing:1px;}
nav{display:flex;gap:40px;}
nav a{
  text-decoration:none;font-size:16px;font-weight:500;color:var(--primary);
  background-image:linear-gradient(90deg,var(--secondary) 50%,var(--primary) 50%);
  background-size:200% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  transition:background-position .45s ease;
}
nav a:hover,nav a.active{background-position:0 0;}
.header-actions{display:flex;align-items:center;gap:12px;}
.lang-btn{position:relative;}
.lang-toggle{
  width:75px;height:40px;box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border:2px solid var(--secondary);border-radius:40px;background:none;
  font-family:inherit;font-size:16px;font-weight:500;color:var(--secondary);cursor:pointer;
}
.lang-toggle{transition:color .25s ease, border-color .25s ease;}
.lang-toggle span{color:var(--secondary);transition:color .25s ease;}
.lang-btn:hover .lang-toggle{color:var(--primary);border-color:var(--primary);}
.lang-btn:hover .lang-toggle span{color:var(--primary);}
.lang-toggle svg{
  width:10px;height:6px;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .25s;
}
.lang-btn.open .lang-toggle svg{transform:rotate(180deg);}
.lang-menu{
  position:absolute;top:calc(100% + 8px);left:0;right:0;
  background:var(--white);border:1px solid var(--secondary);border-radius:16px;
  display:none;flex-direction:column;overflow:hidden;z-index:50;
}
.lang-btn.open .lang-menu{display:flex;}
.lang-menu a{padding:10px 0;text-align:center;font-size:15px;color:var(--primary);text-decoration:none;transition:background .15s,color .15s;}
.lang-menu a:hover,.lang-menu a.active{color:var(--secondary);background:rgba(179,193,37,.1);}

/* ---------- reveal animation ---------- */
.reveal{opacity:0;transform:translateY(40px);transition:opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);}
.reveal.in{opacity:1;transform:translateY(0);}
.reveal-delay-1{transition-delay:.1s;}
.reveal-delay-2{transition-delay:.2s;}
.reveal-delay-3{transition-delay:.3s;}
.reveal.reveal-left{transform:translateX(-60px);}
.reveal.reveal-left.in{transform:translateX(0);}
.reveal.reveal-right{transform:translateX(60px);}
.reveal.reveal-right.in{transform:translateX(0);}

/* Generic version of the hero's sweep-line color reveal, usable on any
   heading nested inside a .reveal ancestor — text starts solid lime and
   sweeps to its final color once the ancestor's IntersectionObserver fires. */
.sweep-text{
  display:inline;
  background-image:linear-gradient(90deg,var(--primary) 50%,var(--secondary) 50%);
  background-size:200% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  transition:background-position 1s cubic-bezier(.22,1,.36,1);
}
.reveal.in .sweep-text{background-position:0 0;}

section{padding:80px max(120px, calc(50% - 600px));}
.tag{
  position:relative;
  display:inline-flex;height:32px;margin:0 8px 20px;box-sizing:border-box;
}
.tag::before{
  content:"";position:absolute;top:0;left:-8px;width:8px;height:100%;background:var(--secondary);border-radius:4px 0 0 4px;
}
.tag-mask{
  position:relative;box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;
  height:32px;padding:6px 12px 8px;
  background:#E8EAD2;color:var(--primary);
  font-family:'Inter',sans-serif;font-weight:500;font-size:18px;line-height:18px;
  letter-spacing:0;text-transform:lowercase;white-space:nowrap;
  clip-path:inset(0 100% 0 0);
  transition:clip-path 1100ms cubic-bezier(.22,1,.36,1);
}
.tag.in .tag-mask{clip-path:inset(0 -8px 0 0);}
.tag-mask::after{
  content:"";position:absolute;top:0;right:-8px;width:8px;height:100%;background:var(--secondary);border-radius:0 4px 4px 0;
}
h2{font-size:40px;line-height:48px;font-weight:700;}
.highlight{color:var(--secondary);}
.btn-solid{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;
  padding:16px 36px;
  background:var(--secondary);color:var(--primary);font-weight:500;font-size:16px;line-height:16px;
  border-radius:40px;border:none;cursor:pointer;text-decoration:none;
  transition:color 400ms ease, transform .2s, box-shadow .2s;white-space:nowrap;
}
.btn-solid::before{
  content:"";position:absolute;z-index:-1;top:100%;left:50%;
  width:400px;height:400px;background:var(--primary);border-radius:50%;
  transform:translate(-50%,0);
  transition:transform 400ms cubic-bezier(.22,1,.36,1);
}
.btn-solid:hover{color:var(--white);transform:translateY(-3px);box-shadow:0 10px 24px rgba(179,193,37,0.4);}
.btn-solid:hover::before{transform:translate(-50%,-66%);}
.btn-solid:active{transform:scale(.97);}
.btn-outline{
  display:inline-flex;align-items:center;justify-content:center;
  border:2px solid var(--secondary);color:var(--secondary);font-weight:500;font-size:16px;
  padding:16px 36px;border-radius:40px;background:transparent;cursor:pointer;text-decoration:none;
  transition:color .2s, border-color .2s;
}
.btn-outline:hover{color:var(--primary);border-color:var(--primary);}
.arrow-circle{
  width:48px;height:48px;border:2px solid var(--secondary);border-radius:50%;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  color:var(--secondary);text-decoration:none;cursor:pointer;
  transition:color 350ms ease, border-color 350ms ease, transform 350ms ease;
}
.arrow-circle svg{
  width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
  transform:rotate(-45deg);
  transition:transform 350ms cubic-bezier(.22,1,.36,1);
}
.arrow-circle:hover{color:var(--primary);border-color:var(--primary);transform:scale(1.04);}
.arrow-circle:hover svg{transform:rotate(0deg);}
.arrow-circle:active{transform:scale(.96);}

/* ---------- hero (shared page hero) ---------- */
.hero{
  display:flex;flex-direction:column;align-items:center;
  padding:60px 120px;gap:32px;text-align:center;
}
.hero h1{font-size:56px;line-height:62px;font-weight:700;max-width:996px;color:var(--primary);}
.hero-intro{display:flex;flex-direction:column;align-items:center;gap:24px;}
.partners-intro{display:flex;flex-direction:column;align-items:center;gap:24px;}
.hero h1.hero-h1-sm{font-size:48px;line-height:54px;}
.hero p.svc-hero-p{font-size:40px;line-height:48px;font-weight:700;max-width:792px;}
.hero h1 .sweep-line{
  display:inline-block;
  background-image:linear-gradient(90deg,var(--primary) 50%,var(--secondary) 50%);
  background-size:200% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  transition:background-position 1s cubic-bezier(.22,1,.36,1);
}
.hero h1.in .sweep-line:nth-of-type(1){background-position:0 0;transition-delay:0s;}
.hero h1.in .sweep-line:nth-of-type(2){background-position:0 0;transition-delay:.35s;}
.hero h1.in .sweep-line:nth-of-type(3){background-position:0 0;transition-delay:.7s;}
.hero h1 .line-tablet-only{display:none;}
.hero p{font-size:18px;line-height:28px;max-width:636px;margin-top:-8px;}
.hero-img-wrap{
  position:relative;width:100%;max-width:1200px;border-radius:24px;overflow:hidden;
  aspect-ratio:1200/380;
}
.hero-img-wrap.reveal{opacity:1;transform:none;}
.wrap-photo{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  transform:scale(1.08);transition:transform 6s ease;
}
.hero-img-wrap.in .wrap-photo{transform:scale(1);}
.wrap-cover{
  position:absolute;top:0;bottom:0;width:50%;background:var(--secondary);z-index:1;
  transition:width 1100ms cubic-bezier(.22,1,.36,1);
}
.wrap-cover-l{left:0;}
.wrap-cover-r{right:0;}
.hero-img-wrap.in .wrap-cover,.cta.in .wrap-cover{width:40px;}

/* ---------- services (homepage preview cards) ---------- */
.services-grid{display:flex;gap:48px;align-items:stretch;}
.services-left{flex:0 0 486px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;}
.services-left > div{display:flex;flex-direction:column;align-items:flex-start;gap:16px;}
.services-left p{font-size:18px;line-height:28px;max-width:486px;}
.services-right{flex:1;display:flex;flex-direction:column;gap:24px;}
.service-card{display:flex;min-height:268px;}
.service-card.reverse{flex-direction:row-reverse;}
.service-card .txt{
  flex:0 0 438px;max-width:438px;padding:32px;border-radius:24px;background:var(--white);
  display:flex;flex-direction:column;gap:16px;justify-content:flex-start;
}
.service-card .txt h3{font-size:28px;line-height:36px;}
.service-card .txt p{font-size:16px;line-height:24px;flex:1;}
.service-card .txt .arrow-circle{align-self:flex-end;}
.service-card:not(.reverse) .txt .arrow-circle{align-self:flex-start;}
.service-card:hover .arrow-circle{color:var(--primary);border-color:var(--primary);transform:scale(1.04);}
.service-card:hover .arrow-circle svg{transform:rotate(0deg);}
.service-card .img{flex:1;position:relative;border-radius:24px;overflow:hidden;}
.service-card .img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.service-card:hover .img img{transform:scale(1.08);}

/* ---------- why ensumo ---------- */
.why-heading{text-align:center;max-width:636px;margin:0 auto 32px;}
.why-heading h2{font-size:40px;line-height:48px;}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.why-card{
  border:2px solid rgba(18,74,68,0.3);border-radius:24px;padding:32px;
  display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;
  transition:border-color .3s, transform .3s;
}
.why-card:hover{border-color:var(--secondary);transform:translateY(-4px);}
.why-icon{width:36px;height:36px;}
.why-card h4{font-size:28px;line-height:36px;font-weight:600;}
.why-text{display:flex;align-items:center;justify-content:center;padding:32px;text-align:center;font-size:18px;line-height:28px;}

/* ---------- cta (photo banner) ---------- */
.cta{
  position:relative;border-radius:24px;overflow:hidden;height:380px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;
  text-align:center;color:var(--white);
}
.cta-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(0.55);z-index:0;}
.cta > *:not(.cta-photo):not(.wrap-cover):not(picture){position:relative;z-index:2;}
.cta picture{display:contents;}
.hero-img-wrap picture{display:contents;}
.service-card .img picture{display:contents;}
.cta h2{font-size:56px;line-height:62px;font-weight:700;max-width:588px;}

/* ---------- partners ---------- */
.partners-box{text-align:center;max-width:760px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:24px;}
.partners-box h2{font-size:40px;line-height:48px;}
.partners-box p{font-size:18px;line-height:28px;}

/* ---------- about ---------- */
.about-grid{display:flex;gap:102px;align-items:stretch;}
.about-left{flex:0 0 486px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;}
.about-left p{font-size:18px;line-height:28px;}
.about-meta{display:flex;flex-direction:column;gap:12px;font-size:18px;line-height:28px;}
.about-meta div{display:flex;align-items:center;gap:8px;}
.about-right{flex:1;border-radius:32px;overflow:hidden;}
.about-right img{width:100%;height:100%;object-fit:cover;display:block;min-height:340px;}

/* ---------- product range ---------- */
.pr-heading{text-align:center;max-width:700px;margin:0 auto 32px;}
.pr-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:32px;}
.pr-card img{width:100%;height:140px;object-fit:cover;border-radius:24px;transition:transform .5s ease;}
.pr-card{text-align:center;}
.pr-card:hover img{transform:scale(1.08);}
.pr-card .pr-body{padding:20px;background:var(--white);border-radius:24px;}
.pr-card h4{font-size:18px;margin-bottom:8px;}
.pr-card p{font-size:14px;opacity:0.7;line-height:20px;}
.pr-cta{display:flex;justify-content:center;align-items:center;gap:8px;}
.pr-cta:hover .btn-outline{color:var(--primary);border-color:var(--primary);}
.pr-cta:hover .arrow-circle{color:var(--primary);border-color:var(--primary);transform:scale(1.04);}
.pr-cta:hover .arrow-circle svg{transform:rotate(0deg);}
.cta-group{display:flex;align-items:center;gap:16px;}
.cta-group:hover .btn-outline{color:var(--primary);border-color:var(--primary);}
.cta-group:hover .arrow-circle{color:var(--primary);border-color:var(--primary);transform:scale(1.04);}
.cta-group:hover .arrow-circle svg{transform:rotate(0deg);}

/* ---------- contact ---------- */
.contact-grid{display:flex;gap:102px;align-items:stretch;}
.contact-left{flex:0 0 486px;display:flex;flex-direction:column;justify-content:flex-start;gap:32px;}
.contact-left h2{font-size:56px;line-height:62px;}
.contact-info{display:flex;flex-direction:column;gap:12px;font-size:18px;line-height:28px;}
.contact-info div{
  display:flex;align-items:center;gap:8px;width:fit-content;cursor:pointer;
  color:var(--primary);
  background-image:linear-gradient(90deg,var(--secondary) 50%,var(--primary) 50%);
  background-size:200% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  transition:background-position .45s ease;
}
.contact-info div:hover{background-position:0 0;}
.contact-closing{font-size:15px;opacity:0.75;}
.contact-form{flex:1;background:var(--white);border-radius:24px;padding:40px;display:flex;flex-direction:column;gap:32px;position:relative;text-align:left;}
.field label{display:block;font-size:16px;font-weight:400;line-height:24px;margin-bottom:4px;}
.field input,.field textarea{
  width:100%;border:2px solid #E0E0DF;background:#F1F1F1;border-radius:12px;padding:16px;
  font-family:inherit;font-size:18px;line-height:28px;outline:none;transition:border .2s;
}
.field input::placeholder,.field textarea::placeholder{color:#B8C9C7;}
.field input:focus,.field textarea:focus{border-color:var(--secondary);}
.field textarea{min-height:90px;resize:vertical;}
.agree{display:flex;align-items:flex-start;gap:10px;font-size:16px;line-height:24px;}
.agree input{
  width:20px;height:20px;flex-shrink:0;margin-top:2px;cursor:pointer;position:relative;
  appearance:none;-webkit-appearance:none;
  border:2px solid var(--secondary);border-radius:4px;background:var(--white);
  transition:background .2s,border-color .2s;
}
.agree input:checked{background:var(--white);border-color:var(--primary);}
.agree input:hover:not(:checked){border-color:var(--primary);}
.agree input:checked::after{
  content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;
  border:solid var(--primary);border-width:0 2px 2px 0;transform:rotate(45deg);
}
.contact-form .btn-solid{align-self:center;}
.thank-you{
  position:absolute;inset:0;background:var(--white);border-radius:24px;
  display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:40px;
}
.thank-you.show{display:flex;}
.thank-you .icon{width:32px;height:32px;margin-bottom:8px;}
.meta-icon{width:24px;height:24px;flex-shrink:0;}
.thank-you h3{font-size:22px;}
.thank-you p{font-size:15px;opacity:0.75;}

/* ---------- about page extras ---------- */
.stat-row{display:flex;gap:24px;align-items:center;justify-content:space-between;}
.stat-card{flex:0 0 322px;min-height:316px;background:var(--white);border-radius:24px;padding:32px;display:flex;flex-direction:column;justify-content:space-between;}
.stat-card .tag{align-self:flex-start;flex-shrink:0;}
.stat-card-body{display:flex;flex-direction:column;gap:8px;text-align:left;}
.stat-card b{font-size:56px;line-height:62px;}
.stat-card span.label{font-size:18px;line-height:28px;opacity:0.75;}
.hero-photo{flex:1;border-radius:20px;overflow:hidden;min-height:260px;}
.hero-photo img{width:100%;height:100%;object-fit:cover;}

.approach-grid{display:flex;gap:40px;align-items:stretch;}
.approach-left{flex:0 0 520px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;justify-content:flex-start;}
.approach-left p{font-size:16px;line-height:24px;opacity:1;}
.approach-right{flex:1;border-radius:24px;overflow:hidden;}
.approach-right img{width:100%;height:100%;object-fit:cover;min-height:340px;}

.wmu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.wmu-card{background:var(--white);border-radius:24px;padding:32px;text-align:left;display:flex;flex-direction:column;gap:12px;align-items:flex-start;transition:transform .3s;}
.wmu-card:hover{transform:translateY(-6px);}
.wmu-icon{width:36px;height:36px;opacity:0.6;}
.wmu-card h4{font-size:20px;font-weight:600;}
.wmu-card p{font-size:14px;line-height:20px;opacity:1;}

.network-grid{display:flex;gap:102px;align-items:stretch;}
.network-photo{flex:0 0 612px;border-radius:32px;overflow:hidden;}
.network-photo img{width:100%;height:100%;object-fit:cover;min-height:340px;}
.network-text{flex:1;display:flex;flex-direction:column;gap:16px;justify-content:flex-start;}
.network-text p{font-size:16px;line-height:24px;opacity:1;}
.network-text .strong-line{font-weight:600;font-size:17px;}

.split-cta h2{font-size:56px;line-height:62px;max-width:none;}
.split-cta .line1{color:var(--white);}
.split-cta .line2{color:var(--secondary);}

/* ---------- services page ---------- */
.svc-block{display:flex;gap:40px;align-items:stretch;padding:80px 0;border-bottom:3px solid var(--secondary);}
.svc-block:last-child{border-bottom:none;}
.svc-block.reverse{flex-direction:row-reverse;}
.svc-text{flex:1;display:flex;flex-direction:column;gap:16px;}
.svc-text h2{font-size:32px;line-height:40px;}
.svc-text > p{font-size:16px;line-height:24px;opacity:0.8;}
.svc-photo{flex:0 0 510px;border-radius:32px;overflow:hidden;}
.svc-photo img{width:100%;height:100%;object-fit:cover;min-height:320px;}
.accordion{display:flex;flex-direction:column;margin-top:8px;}
.accordion-item{border-top:1px solid var(--secondary);}
.accordion-item:last-child{border-bottom:1px solid var(--secondary);}
.accordion-item button{
  width:100%;display:flex;justify-content:space-between;align-items:center;
  background:none;border:none;padding:16px 0;font-family:inherit;font-size:17px;font-weight:600;
  color:var(--primary);cursor:pointer;text-align:left;
}
.accordion-item .chevron{
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  width:18px;height:18px;color:var(--secondary);
  transition:transform .4s cubic-bezier(.22,1,.36,1),color .25s;
}
.accordion-item .chevron svg{width:100%;height:100%;display:block;}
.accordion-item button:hover .chevron{color:var(--primary);transform:scale(1.15);}
.accordion-item.open .chevron{transform:rotate(180deg);}
.accordion-item.open button:hover .chevron{transform:rotate(180deg) scale(1.15);}
.accordion-body{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.accordion-item.open .accordion-body{max-height:800px;}
.accordion-body-inner{padding:0 0 20px;font-size:15px;line-height:24px;opacity:0.8;}
.accordion-body-inner ul{margin:8px 0 0 20px;}

/* ---------- legal pages ---------- */
.draft-notice{
  max-width:800px;margin:0 auto 48px;padding:16px 24px;border-radius:12px;
  background:#FBF6D9;border:1px solid var(--secondary);color:var(--primary);
  font-size:14px;line-height:22px;
}
.legal-content{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:60px;padding-bottom:80px;}
.legal-content div{display:flex;flex-direction:column;gap:12px;}
.legal-content h2{font-size:24px;line-height:32px;margin-bottom:12px;}
.legal-content h3{font-size:18px;line-height:26px;font-weight:600;margin-top:8px;}
.legal-content p,.legal-content li{font-size:16px;line-height:26px;opacity:0.85;}
.legal-content ul{margin:8px 0 0 20px;display:flex;flex-direction:column;gap:6px;}
.legal-content .placeholder,.hero .placeholder{background:#FBF6D9;border-radius:4px;padding:0 4px;font-weight:600;}
.legal-content .cc-categories{display:flex;flex-direction:column;gap:12px;margin-left:24px;margin-top:20px;}
.legal-content .cc-cat-row{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:12px;}
.legal-content .cc-cat-row:not(:first-of-type){margin-top:12px;}
.legal-content .cc-cat-row h3{margin-top:0;}
.cc-detail-note{margin-top:20px;}
.cc-cat-status{color:var(--secondary);font-weight:600;font-size:16px;white-space:nowrap;}
.cc-cat-status-off{color:var(--primary);opacity:0.45;}
.legal-content h2 .accent{color:var(--secondary);}
.legal-content .legal-address{display:flex;flex-direction:column;gap:8px;margin-top:4px;}
.legal-content .legal-address span{display:flex;align-items:center;gap:8px;font-size:16px;line-height:26px;opacity:0.85;}
.legal-content .legal-address .meta-icon{width:20px;height:20px;}
.legal-content .field-grid{display:grid;grid-template-columns:max-content 1fr;column-gap:24px;row-gap:8px;margin-top:4px;max-width:100%;}
.legal-content .field-grid .field-label{font-weight:600;}
.legal-content .field-grid > span{min-width:0;overflow-wrap:anywhere;}
.legal-updated{font-size:15px;line-height:22px;opacity:0.6;}

/* ---------- footer ---------- */
footer{background:var(--bg);padding-top:80px;}
.footer-top{
  background:var(--white);
  display:flex;justify-content:space-between;gap:30px;padding:60px max(120px, calc(50% - 600px));flex-wrap:wrap;
}
.footer-top .col{display:flex;flex-direction:column;gap:24px;}
.footer-logo{display:flex;align-items:center;gap:16px;margin-bottom:10px;text-decoration:none;}
.footer-logo .logo-mark{width:54px;}
.footer-logo b{font-size:18px;color:var(--primary);}
.footer-logo span{font-size:10px;color:var(--secondary);font-weight:600;}
.footer-top p{font-size:14px;opacity:0.7;max-width:300px;}
.footer-top a{
  font-size:14px;text-decoration:none;color:var(--primary);
  background-image:linear-gradient(90deg,var(--secondary) 50%,var(--primary) 50%);
  background-size:200% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  transition:background-position .45s ease;
}
.footer-top a:hover,.footer-top a.active{background-position:0 0;}
.footer-top .col span{
  font-size:16px;font-weight:500;line-height:16px;display:flex;align-items:center;gap:8px;width:fit-content;cursor:pointer;
  color:var(--primary);
  background-image:linear-gradient(90deg,var(--secondary) 50%,var(--primary) 50%);
  background-size:200% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  transition:background-position .45s ease;
}
.footer-top .col span:hover{background-position:0 0;}
.footer-top .col span .meta-icon{width:20px;height:20px;}
.footer-bottom{
  display:flex;justify-content:space-between;padding:60px max(120px, calc(50% - 600px));font-size:13px;opacity:0.7;
  flex-wrap:wrap;gap:10px;
}
.footer-bottom .links{display:flex;gap:24px;flex-wrap:wrap;}
.footer-bottom a{text-decoration:none;white-space:nowrap;}
.footer-bottom span{white-space:nowrap;}

/* ---------- mobile nav (hamburger) ---------- */
.menu-toggle{
  display:none;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  width:40px;height:40px;border:2px solid var(--secondary);border-radius:20px;background:none;cursor:pointer;padding:12px 10px;flex-shrink:0;box-sizing:border-box;
}
.menu-toggle span{width:22px;height:2px;background:var(--secondary);border-radius:2px;transition:transform .3s,opacity .3s;}
.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle.open span:nth-child(2){opacity:0;}
.menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.mobile-nav{
  position:fixed;inset:0;z-index:90;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px;
  background:var(--white);
  padding:100px 24px 40px;overflow-y:auto;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .3s ease;
}
.mobile-nav.open{opacity:1;visibility:visible;pointer-events:auto;}
.mobile-nav-links{display:flex;flex-direction:column;align-items:center;gap:40px;}
.mobile-nav-links a{text-decoration:none;font-size:16px;line-height:16px;font-weight:500;color:var(--primary);}
.mobile-nav-links a.active{color:var(--secondary);}
.mobile-nav-contacts{display:flex;flex-direction:column;align-items:center;gap:24px;}
.mobile-nav-contacts span{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;color:var(--primary);}
.mobile-nav-contacts .meta-icon{width:20px;height:20px;}
body.nav-open{overflow:hidden;}

/* In-between desktop widths (e.g. iPad landscape, ~1101-1439px): the services
   column stretches to match the tall cards column, and justify-content:
   space-between then strands the button ~500px below the text, off-screen.
   Scoped strictly below 1440 so the full-desktop layout stays untouched. */
@media (min-width:1101px) and (max-width:1439px){
  .services-left{justify-content:flex-start;gap:32px;}
}

@media (max-width:1100px){
  header,section{padding-left:24px;padding-right:24px;}
  nav{display:none;}
  .menu-toggle{display:flex;}
  /* Below desktop, full-width blocks sliding in from ±60px overshoot the
     viewport before/if the reveal IntersectionObserver fires, causing
     horizontal scroll (reported as a stray side-bar breaking the layout on
     mobile). Keep the fade/slide-up, drop the horizontal slide. */
  .reveal.reveal-left,.reveal.reveal-right{transform:none;}
  .hero h1{font-size:36px;line-height:42px;}
  .hero h1.hero-h1-sm{font-size:32px;line-height:38px;}
  .services-grid,.about-grid,.contact-grid,.approach-grid,.network-grid,.svc-block,.svc-block.reverse{flex-direction:column;}
  .services-left,.about-left,.contact-left,.approach-left,.approach-right,.network-photo,.svc-photo{flex:none;}
  .service-card,.service-card.reverse{flex-direction:column;height:auto;}
  .service-card .txt{flex:none;max-width:none;}
  .service-card .img img{height:200px;}
  .why-grid,.wmu-grid{grid-template-columns:1fr;}
  .pr-grid{grid-template-columns:repeat(2,1fr);}
  .stat-row{flex-direction:column;}
  .footer-top{flex-direction:column;padding:40px 24px;}
  .footer-bottom{padding:24px 24px;}
}

/* ---------- tablet (768) ---------- */
/* Values below verified against Figma "about_768" Anima export (2026-07-20) */
@media (max-width:768px){
  .line-break-desktop,.hero h1 .line-desktop-only{display:none;}
  .hero h1 .line-tablet-only{display:inline-block;}
  .hero h1.in .line-tablet-only{background-position:0 0;transition-delay:.35s;}
  header{padding:22px 32px;}
  .logo-mark{width:40px;}
  section{padding:60px 32px;}
  .hero{padding:60px 32px;gap:32px;}
  .hero.partners-hero{padding:90px 32px 60px;}
  #home-hero{padding-bottom:0;}
  .hero h1,.hero h1.hero-h1-sm{font-size:56px;line-height:62px;}
  .hero h2{font-size:40px;line-height:48px;}
  .hero p{font-size:18px;line-height:28px;}
  .hero p.svc-hero-p{font-size:40px;line-height:48px;font-weight:700;max-width:none;}
  h2{font-size:40px;line-height:48px;}
  .svc-text h2{font-size:40px;line-height:48px;}
  .svc-text > p{font-size:18px;line-height:28px;opacity:1;}
  .accordion-item button{font-size:20px;line-height:28px;}
  .accordion-body-inner{font-size:18px;line-height:28px;opacity:1;}
  .svc-photo{flex:none;width:100%;height:640px;border-radius:32px;}
  .network-grid,.approach-grid{gap:24px;}
  .contact-form{padding:32px;border-radius:16px;}

  /* About: hero photo full row on top, cards row below (same pattern as mobile) */
  .stat-row{flex-direction:row;flex-wrap:wrap;gap:24px;}
  .hero-photo{order:-1;flex:1 0 100%;width:auto;height:340px;border-radius:32px;}
  .stat-card{flex:1 1 0;min-width:0;width:auto;min-height:300px;padding:32px;border-radius:24px;}

  /* About: Our Approach / What Makes Us Different / Industry Network —
     verified against Figma "about_768" Anima export (2026-07-21) */
  .approach-left{gap:24px;}
  .approach-left p{font-size:18px;line-height:28px;opacity:1;}
  .wmu-card p{font-size:16px;line-height:24px;}
  .network-photo{order:1;}
  .network-text{gap:24px;}
  .network-text p{font-size:18px;line-height:28px;opacity:1;}
  .network-text .strong-line{font-size:20px;line-height:28px;}

  /* Home contact section: centered single column, no inline phone/email/address
     block (contacts only in footer) — matches Figma main_768 */
  .contact-grid{align-items:center;gap:40px;}
  #contact{text-align:center;}
  .contact-left{align-items:center;text-align:center;gap:16px;}
  .contact-left h2{max-width:640px;}
  #contact .contact-info{display:none;}
  .contact-closing{font-size:18px;line-height:28px;opacity:1;max-width:340px;}

  /* Home: verified against Figma "main_768" Anima export (2026-07-20) */
  .hero h1{max-width:640px;}
  .home-hero-p{font-size:16px;line-height:24px;}
  .hero-img-wrap{aspect-ratio:auto;height:340px;}
  .hero-img-wrap.in .wrap-cover,.cta.in .wrap-cover{width:32px;}
  .cta{height:340px;}

  /* Home services preview: intro block stacks above cards (handled by existing
     flex-direction:column on .services-grid), but each card stays a row
     (text + photo side by side) instead of stacking internally */
  .services-grid{gap:32px;}
  .services-left{gap:32px;}
  .service-card{flex-direction:row;min-height:256px;}
  .service-card.reverse{flex-direction:row-reverse;min-height:256px;}
  .service-card .txt{flex:1;max-width:none;}
  .service-card .img{flex:0 0 249px;}
  .service-card .img img{height:100%;}

  /* Why Ensumo: 2-column grid, explicit placement (5th item is plain text, not a card) */
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid > :nth-child(1){grid-column:1;grid-row:1;}
  .why-grid > :nth-child(2){grid-column:2;grid-row:1;}
  .why-grid > :nth-child(3){grid-column:1;grid-row:2;}
  .why-grid > :nth-child(4){grid-column:1;grid-row:3;}
  .why-grid > :nth-child(5){grid-column:2;grid-row:2;}
  .why-grid > :nth-child(6){grid-column:2;grid-row:3;}

  /* Home About-preview photo, Product Range preview cards */
  .about-grid{gap:32px;}
  .about-right{height:640px;}
  .about-right img{min-height:640px;}
  .pr-card img{height:200px;}
  .about-meta{flex-direction:row;flex-wrap:wrap;justify-content:space-between;}

  /* Section photos: stay within section padding (no bleed) at tablet, taller aspect */
  .approach-right{height:640px;border-radius:32px;}
  .network-photo{height:640px;border-radius:32px;flex:none;}
  .cta{height:340px;}
  .split-cta h2{font-size:40px;line-height:48px;}

  /* What Makes Us Different: back to 2-column grid, centered text */
  .wmu-grid{grid-template-columns:repeat(2,1fr);gap:24px;}
  .wmu-card{text-align:center;align-items:center;}
  .wmu-icon{width:36px;height:36px;}
  .wmu-card h4{font-size:28px;line-height:36px;}

  /* Footer at tablet: 3 visual columns — logo, a single merged nav list
     (the two nav .col divs stack into the same grid column), contacts */
  .footer-top{display:grid;grid-template-columns:auto auto auto;justify-content:space-between;align-items:start;column-gap:32px;row-gap:24px;}
  .footer-top .col:nth-of-type(1){grid-column:1;grid-row:1/3;}
  .footer-top .col:nth-of-type(2){grid-column:2;grid-row:1;}
  .footer-top .col:nth-of-type(3){grid-column:2;grid-row:2;}
  .footer-top .col:nth-of-type(4){grid-column:3;grid-row:1/3;}
  .footer-top p{font-size:16px;line-height:24px;max-width:300px;opacity:1;}

  /* Footer-bottom at tablet: links row and copyright stack as two separate
     lines instead of sharing one row (space-between put them side by side
     since both fit within 768px width) */
  .footer-bottom{flex-direction:column;align-items:center;text-align:center;gap:24px;}
}

/* ---------- mobile (393) ---------- */
/* Values below verified against Figma "about_393"/"main_393" Anima exports (2026-07-20) */
@media (max-width:480px){
  .tag{margin-bottom:32px;}
  .hero-intro{gap:16px;}
  .partners-intro{gap:16px;}
  /* Home contact section: figma mobile has no inline phone/email/address block
     here (only heading + intro text + form) — contacts only appear in footer */
  #contact .contact-info{display:none;}
  header{padding:16px;}
  .logo-text b{font-size:15px;}
  .logo-text span{font-size:8px;}
  section{padding:40px 20px;}
  .hero{padding:40px 20px;gap:28px;}
  .hero h1,.hero h1.hero-h1-sm{font-size:36px;line-height:40px;}
  .hero h2{font-size:28px;line-height:32px;}
  .hero p{font-size:16px;line-height:24px;margin-top:-12px;}
  .hero-img-wrap{aspect-ratio:auto;height:280px;width:calc(100% + 40px);max-width:none;margin:0 -20px;}
  .hero-img-wrap .wrap-photo{object-fit:cover;}
  .hero-img-wrap .wrap-cover,.cta .wrap-cover{display:none;}
  .cta .cta-photo{clip-path:inset(0 50% 0 50%);transition:clip-path 1.8s cubic-bezier(.4,0,.2,1);}
  .cta.in .cta-photo{clip-path:inset(0 0 0 0);}
  .hero p.svc-hero-p{font-size:28px;line-height:32px;font-weight:700;}
  h2{font-size:28px;line-height:32px;}
  .svc-text h2{font-size:28px;line-height:32px;}
  .svc-text > p{font-size:16px;line-height:24px;opacity:1;}
  .accordion-item button{font-size:18px;line-height:24px;}
  .svc-photo{width:calc(100% + 40px);max-width:none;margin:0 -20px;height:280px;border-radius:28px;}
  .btn-solid,.btn-outline{padding:14px 24px;font-size:15px;}
  .footer-bottom{flex-direction:column;align-items:center;text-align:center;gap:16px;}
  .footer-bottom span{white-space:normal;}
  .lang-toggle{width:64px;height:36px;font-size:14px;}

  /* tag / label chip */
  .tag-mask{font-size:14px;line-height:14px;}

  .partners-box h2{font-size:28px;line-height:32px;}
  .about-left p{font-size:16px;line-height:24px;}
  .about-meta .meta-icon{width:20px;height:20px;}
  .contact-left h2{font-size:36px;line-height:40px;}
  .contact-left p{font-size:16px;line-height:24px;}

  /* .thank-you fills .contact-form via inset:0, which is as tall as the full
     unfilled form (all fields stacked) — centering within that on a short
     mobile viewport put the message deep below the fold with a huge gap
     above it. Anchor to the top instead so it appears right where the user
     was looking, regardless of the invisible box's full height. */
  .thank-you{justify-content:flex-start;padding-top:32px;}

  /* Legal-page company details grid: side-by-side label/value columns
     overflow on narrow screens (long email/labels can't shrink) — stack
     instead. */
  .legal-content .field-grid{grid-template-columns:1fr;row-gap:2px;}
  .legal-content .field-grid .field-label{margin-top:10px;}

  /* About: hero photo full-width above cards, cards side-by-side below */
  .stat-row{flex-direction:row;flex-wrap:wrap;gap:20px;}
  .hero-photo{order:-1;flex:1 0 100%;width:auto;height:280px;border-radius:28px;margin:0 -20px;overflow:hidden;}
  .stat-card{flex:1 1 0;min-width:0;width:auto;min-height:200px;padding:20px;border-radius:24px;}
  .stat-card b{font-size:28px;line-height:32px;}
  .stat-card span.label{font-size:16px;line-height:24px;}

  /* Full-bleed section photos (Our Approach / Industry Network / CTA banners) */
  .approach-right{margin:0 -20px;height:280px;border-radius:28px;}
  .about-right{margin:0 -20px;height:280px;border-radius:28px;flex:none;}
  .about-right img{min-height:280px;}
  .network-photo{margin:0 -20px;height:280px;border-radius:28px;flex:none;}
  .cta{margin:0 -20px;width:auto;height:280px;border-radius:28px;}
  .cta .cta-photo{object-fit:cover;}
  .cta h2{font-size:36px;line-height:40px;}
  .split-cta h2{font-size:28px;line-height:32px;}

  /* What Makes Us Different: single column of narrow (231px) centered cards,
     verified against Figma "about_393" Anima export (2026-07-22) */
  .wmu-grid{display:flex;flex-direction:column;align-items:center;gap:20px;}
  .wmu-card{width:231px;padding:20px;border-radius:16px;text-align:center;align-items:center;}
  .wmu-icon{width:24px;height:24px;}
  .wmu-card h4{font-size:18px;line-height:24px;}
  .wmu-card p{font-size:14px;line-height:18px;}

  /* Our Approach / Industry Network text — mobile-specific values (override the
     tablet-only fix above, which would otherwise leak down to this breakpoint) */
  .approach-left p{font-size:16px;line-height:24px;opacity:1;}
  .network-text p{font-size:16px;line-height:24px;opacity:1;}
  .network-text .strong-line{font-weight:700;font-size:18px;line-height:24px;}

  /* Footer: centered column on mobile (reset the tablet grid back to a
     plain flex column, otherwise display:grid leaks down from the 768 rule) */
  .footer-top{display:flex;flex-direction:column;align-items:center;text-align:center;padding:60px 20px;gap:24px;}
  .footer-top .col{align-items:center;grid-column:auto;grid-row:auto;}
  .footer-top p{font-size:16px;line-height:24px;max-width:none;opacity:1;}
  .footer-top a{font-size:16px;line-height:16px;font-weight:500;}
  .footer-bottom{font-size:16px;}

  /* Home services preview: photo stacks above text again (was row at 768), centered */
  .service-card,.service-card.reverse{flex-direction:column;height:auto;}
  .service-card .txt{flex:none;max-width:none;padding:20px;border-radius:16px;align-items:center;text-align:center;}
  .service-card .txt h3{text-align:center;font-size:18px;line-height:24px;font-weight:600;}
  .service-card .txt p{font-size:14px;line-height:18px;}
  .service-card .txt .arrow-circle,.service-card:not(.reverse) .txt .arrow-circle{align-self:center;width:40px;height:40px;}
  .service-card .img{flex:none;height:200px;border-radius:16px;order:-1;}
  .service-card .img img{object-fit:cover;}
  .services-left{gap:28px;}
  .services-left p{font-size:16px;line-height:24px;}

  /* Why Ensumo: single column, order per Figma main_393 (Industry expertise,
     Hands-on execution, Strong partner network, Reliability, Cost-efficient,
     paragraph last) — differs from DOM order, set explicitly via nth-child */
  .why-heading h2{font-size:28px;line-height:32px;}
  .why-grid{display:flex;flex-direction:column;align-items:center;gap:24px;}
  .why-card{width:231px;border-radius:16px;padding:20px;gap:6px;}
  .why-icon{width:24px;height:24px;}
  .why-card h4{font-size:18px;line-height:24px;font-weight:600;}
  .why-text{font-size:16px;line-height:24px;}
  .why-grid > :nth-child(1){order:1;}
  .why-grid > :nth-child(2){order:3;}
  .why-grid > :nth-child(3){order:5;}
  .why-grid > :nth-child(4){order:2;}
  .why-grid > :nth-child(5){order:6;padding:0;}
  .why-grid > :nth-child(6){order:4;}

  /* Product Range preview cards: narrower (231px), left-aligned column */
  .pr-grid{display:flex;flex-direction:column;align-items:center;gap:20px;}
  .pr-card{width:231px;}
  .pr-card img{border-radius:16px;}
  .pr-card .pr-body{border-radius:16px;display:flex;flex-direction:column;gap:24px;}
  .pr-card h4{font-size:18px;line-height:24px;font-weight:600;margin-bottom:0;}
  .pr-card p{line-height:18px;}
}

/* ---------- cookie consent banner ---------- */
#cookieConsent{position:fixed;z-index:9999;right:24px;bottom:24px;width:380px;max-width:calc(100% - 32px);display:flex;flex-direction:column;gap:16px;}
.cc-card{background:var(--white);border-radius:20px;padding:24px;box-shadow:0 12px 40px rgba(18,74,68,0.18);display:flex;flex-direction:column;gap:16px;}
.cc-card h3{font-size:20px;line-height:26px;color:var(--primary);font-weight:700;}
.cc-card p{font-size:14px;line-height:21px;color:var(--primary);opacity:0.85;}
.cc-card p a{color:var(--secondary);text-decoration:underline;}
.cc-actions{display:flex;flex-wrap:wrap;gap:10px;}
.cc-btn{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:40px;font-size:14px;font-weight:500;cursor:pointer;text-align:center;white-space:nowrap;transition:color .2s,border-color .2s,background .2s;}
.cc-btn-outline{border:2px solid var(--secondary);color:var(--secondary);background:transparent;}
.cc-btn-outline:hover{color:var(--primary);border-color:var(--primary);}
.cc-btn-solid{border:none;background:var(--secondary);color:var(--primary);}
.cc-btn-solid:hover{background:var(--primary);color:var(--white);}
.cc-category{border:1px solid rgba(18,74,68,0.15);border-radius:16px;padding:16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.cc-category-text b{display:block;font-size:15px;color:var(--primary);margin-bottom:4px;}
.cc-category-text span{display:block;font-size:13px;line-height:19px;color:var(--primary);opacity:0.75;}
.cc-toggle-wrap{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.cc-toggle-wrap span:first-child{font-size:12px;color:var(--primary);opacity:0.6;}
.cc-toggle{width:40px;height:22px;border-radius:20px;background:#D8DBD3;position:relative;cursor:pointer;flex-shrink:0;transition:background .2s;}
.cc-toggle::before{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:var(--white);transition:transform .2s;}
.cc-toggle.cc-toggle-on{background:var(--secondary);}
.cc-toggle.cc-toggle-on::before{transform:translateX(18px);}
.cc-toggle.cc-toggle-disabled{cursor:default;}
.cc-footer-note{font-size:12px;line-height:18px;}
@media (max-width:768px){
  #cookieConsent{left:16px;right:16px;bottom:16px;width:auto;max-width:none;}
  .cc-card{padding:20px;border-radius:16px;}
}
