*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#222;background:#fff;font-weight:300}
body.menu-open{overflow:hidden}
.container{width:min(1080px,88%);margin:auto}

.site-header{
  height:82px;display:flex;align-items:center;justify-content:space-between;
  padding:0 7%;position:absolute;top:0;left:0;right:0;z-index:20
}
.logo{display:block;width:230px;height:auto;line-height:0;text-decoration:none}.logo img{display:block;width:230px;height:auto}
.logo span{font-weight:800}
.header-right{display:flex;align-items:center;gap:18px}
.header-right>a{color:#111;text-decoration:none;font-size:14px}
.menu-btn{border:0;background:none;width:38px;padding:4px;cursor:pointer}
.menu-btn span{display:block;height:2px;background:#222;margin:6px 0;width:34px}

.hero{
  min-height:705px;
  display:grid;
  place-items:center;
  text-align:center;
  position:relative;
  overflow:hidden;
  background:#fff url("../images/laptop-white.jpg") center center/cover no-repeat;
}
.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.83);
  pointer-events:none;
}
.hero:after{
  content:"";
  position:absolute;
  width:120%;
  height:150px;
  left:-10%;
  bottom:-95px;
  background:#fff;
  transform:rotate(5deg);
  box-shadow:0 -12px 30px rgba(0,0,0,.025);
}
.hero-content{max-width:780px;margin-top:-20px;padding:0 20px;z-index:1}
.eyebrow{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.hero h1{font-size:64px;line-height:1;margin:0;font-weight:700;letter-spacing:-2px}
.hero-sub{font-size:53px;line-height:1.05;color:#333;font-weight:300;letter-spacing:-2px}
.line{width:48px;height:1px;background:#222;margin:49px auto 38px}
.hero p:not(.eyebrow){color:#777;line-height:1.9;font-size:17px;max-width:720px;margin:auto;font-weight:300}

.scroll-down{
  display:block;
  width:42px;
  height:24px;
  margin:82px auto 0;
  position:relative;
  text-decoration:none;
  opacity:0;
  animation:scrollChevron 3.1s ease-in-out infinite;
}
.scroll-down svg{display:block;width:42px;height:24px}
.scroll-down svg path{
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.scroll-down svg .arrow-shadow{
  stroke:rgba(120,120,120,.45);
  stroke-width:6;
  filter:blur(.5px);
}
.scroll-down svg .arrow-main{
  stroke:#fff;
  stroke-width:4;
  filter:drop-shadow(0 1px 1px rgba(90,90,90,.65));
}
@keyframes scrollChevron{
  0%{transform:translateY(-2px);opacity:0}
  16%{transform:translateY(0);opacity:.95}
  58%{transform:translateY(11px);opacity:.95}
  80%{transform:translateY(18px);opacity:0}
  100%{transform:translateY(18px);opacity:0}
}

.services{
  position:relative;
  overflow:hidden;
  background:#f8f8f8;
  padding:95px 0 105px;
}
.services-inner{
  position:relative;
  display:grid;
  grid-template-columns:280px 1fr;
  column-gap:80px;
}
.services-heading{
  padding-top:5px;
}
.services-heading>span{
  display:block;
  font-size:11px;
  letter-spacing:3px;
  color:#999;
  margin-bottom:18px;
}
.services-heading h2{
  margin:0;
  font-size:36px;
  line-height:1.12;
  font-weight:300;
  letter-spacing:-1px;
  color:#222;
}
.services-heading p{
  margin:23px 0 0;
  max-width:235px;
  font-size:13px;
  line-height:1.8;
  color:#999;
}
.services-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:60px;
  row-gap:60px;
}
.service-card{
  position:relative;
  padding:0 0 4px;
}
.service-icon{
  width:46px;
  height:46px;
  margin-bottom:20px;
}
.service-icon svg{
  width:46px;
  height:46px;
  fill:none;
  stroke:#222;
  stroke-width:1.35;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-card h3{
  margin:0 0 13px;
  font-size:19px;
  font-weight:300;
  letter-spacing:.2px;
  color:#333;
}
.service-card p{
  margin:0;
  max-width:330px;
  font-size:13px;
  line-height:1.8;
  color:#999;
}
.service-card a{
  display:inline-block;
  margin-top:17px;
  color:#333;
  text-decoration:none;
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:.75;
  transition:.25s ease;
}
.service-card a span{
  display:inline-block;
  margin-left:5px;
  transition:transform .25s ease;
}
.service-card:hover a{opacity:1}
.service-card:hover a span{transform:translateX(4px)}
.service-card:hover .service-icon svg{
  transform:translateY(-2px);
  transition:transform .25s ease;
}
.service-tag{
  position:absolute;
  right:-5px;
  bottom:5px;
  width:84px;
  height:132px;
  background:#ededed;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-weight:700;
  letter-spacing:4px;
  font-size:10px;
  color:#111;
  box-shadow:0 24px 32px rgba(0,0,0,.09);
  clip-path:polygon(20% 0,80% 0,100% 16%,100% 100%,0 100%,0 16%);
  transform-origin:50% 0;
  animation:tagSway 4.8s ease-in-out infinite;
}
@keyframes tagSway{
  0%,100%{transform:rotate(0deg)}
  25%{transform:rotate(1.2deg)}
  55%{transform:rotate(-1deg)}
  78%{transform:rotate(.6deg)}
}

.portfolio{
  padding:95px 0 120px;
  background:#fff;
}
.portfolio .section-title{
  font-size:42px;
  line-height:1.05;
  font-weight:300;
  letter-spacing:-1.5px;
  margin:0 0 35px;
  color:#222;
}
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.project-card{
  position:relative;
  aspect-ratio:1.32;
  overflow:hidden;
  background:#eee;
  cursor:pointer;
}
.project-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .5s ease;
}
.project-card:hover img{
  transform:scale(1.055);
  filter:brightness(.72);
}
.project-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:25px;
  background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.72) 100%);
  color:#fff;
  opacity:0;
  transition:opacity .35s ease;
}
.project-card:hover .project-overlay{opacity:1}
.project-overlay span{
  font-size:16px;
  letter-spacing:1.5px;
  font-weight:400;
}
.project-overlay small{
  margin-top:7px;
  font-size:11px;
  letter-spacing:.7px;
  opacity:.82;
}
.references-section{
  padding:100px 0 105px;
  background:#fff;
}
.references-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:45px;
}
.references-heading>span{
  position:absolute;
  width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);
}
.references-heading h2{
  margin:0;
  font-size:42px;
  line-height:1.08;
  font-weight:300;
  letter-spacing:-1.5px;
  color:#222;
}
.references-heading p{
  max-width:330px;
  margin:0 0 4px;
  font-size:13px;
  line-height:1.8;
  color:#999;
}
.references-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:center;
  justify-items:center;
  column-gap:28px;
  row-gap:22px;
  padding:28px 18px 30px;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  max-height:365px;
  overflow:hidden;
  transition:max-height .65s cubic-bezier(.22,.61,.36,1);
}
.references-grid.expanded{
  max-height:1600px;
}
.reference-logo{
  width:100%;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:6px 9px;
}
.reference-logo img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:58px;
  object-fit:contain;
  filter:grayscale(100%);
  opacity:.7;
  transition:filter .35s ease,opacity .35s ease,transform .35s ease;
}
.reference-logo:hover img{
  filter:grayscale(0);
  opacity:1;
  transform:scale(1.045);
}
.reference-logo.reference-extra{
  display:none;
  opacity:0;
  transform:translateY(-10px);
}
.references-grid.expanded .reference-logo.reference-extra{
  display:flex;
  animation:referenceReveal .45s ease forwards;
}
@keyframes referenceReveal{
  from{opacity:0;transform:translateY(-10px)}
  to{opacity:.999;transform:translateY(0)}
}
.references-toggle{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin:25px auto 0;
  padding:8px 20px;
  border:0;
  background:transparent;
  color:#777;
  font:inherit;
  font-size:10px;
  letter-spacing:2px;
  cursor:pointer;
}
.toggle-arrow{
  display:block;
  font-size:23px;
  line-height:15px;
  color:#aaa;
  transition:transform .35s ease;
}
.references-toggle:hover{color:#111}
.references-toggle:hover .toggle-arrow{transform:translateY(4px)}
.references-toggle.open .toggle-arrow{transform:rotate(180deg) translateY(2px)}
.references-toggle.open:hover .toggle-arrow{transform:rotate(180deg) translateY(-2px)}

.project-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(12,12,12,.96);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:45px 7%;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .3s ease,visibility .3s ease;
}
.project-modal.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.project-modal-content{
  max-width:min(1100px,88vw);
  max-height:88vh;
  text-align:center;
}
.project-modal-content img{
  max-width:100%;
  max-height:75vh;
  width:auto;
  height:auto;
  display:block;
  margin:auto;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
}
.project-modal-caption{
  color:#fff;
  margin-top:17px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.project-modal-caption strong{font-size:16px;font-weight:400;letter-spacing:1.5px}
.project-modal-caption span{font-size:11px;color:#aaa}
.project-modal-close,.project-modal-prev,.project-modal-next{
  position:absolute;
  border:0;
  background:none;
  color:#fff;
  cursor:pointer;
  font-weight:200;
}
 .project-modal-close{right:22px;top:18px;font-size:30px;line-height:1;width:46px;height:46px;border:1px solid rgba(255,255,255,.55);border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(20,20,20,.35);z-index:10001;transition:background .25s ease,border-color .25s ease,transform .25s ease}.project-modal-close:hover{background:rgba(255,255,255,.12);border-color:#fff;transform:rotate(90deg)}
.project-modal-prev,.project-modal-next{
  top:50%;
  transform:translateY(-50%);
  font-size:55px;
  color:#ddd;
  padding:20px;
}
.project-modal-prev{left:2%}
.project-modal-next{right:2%}

.contact{
  padding:105px 0 105px;
  background:#f7f7f7;
}
.contact-heading{
  margin-bottom:48px;
}
.contact-heading>span{
  display:block;
  font-size:10px;
  letter-spacing:3px;
  color:#aaa;
  margin-bottom:15px;
}
.contact-heading h2{
  margin:0;
  font-size:42px;
  line-height:1.08;
  font-weight:300;
  letter-spacing:-1.5px;
  color:#222;
}
.contact-heading p{
  margin:17px 0 0;
  color:#999;
  font-size:13px;
  line-height:1.8;
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:85px;
}
.contact form{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.contact input,.contact textarea{
  width:100%;
  border:1px solid #555;
  background:#fff;
  padding:13px;
  font:inherit;
  font-size:13px;
  color:#333;
  outline:none;
  border-radius:0;
}
.contact input:focus,.contact textarea:focus{
  border-color:#111;
}
.contact textarea{
  height:150px;
  resize:vertical;
}
.contact button{
  align-self:flex-start;
  padding:12px 31px;
  background:#222;
  color:#fff;
  border:1px solid #222;
  cursor:pointer;
  font:inherit;
  font-size:12px;
  transition:.25s ease;
}
.contact button:hover{
  background:#fff;
  color:#222;
}
.form-note{
  font-size:11px;
  color:#888;
  margin:2px 0 0;
}
.contact-info{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px 55px;
}
.contact-block h3{
  margin:0 0 12px;
  font-size:12px;
  letter-spacing:1px;
  font-weight:400;
  color:#333;
}
.contact-block p{
  margin:0;
  font-size:12px;
  line-height:1.9;
  color:#999;
}
.contact-block a{
  color:inherit;
  text-decoration:none;
}
.contact-block a:hover{
  color:#222;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
footer{
  padding:28px 0;
  background:#fff;
  border-top:1px solid #eee;
}
.footer-logo{
  display:block;
  width:150px;
  line-height:0;
}
.footer-logo img{
  display:block;
  width:100%;
  height:auto;
}
footer p{
  margin:0;
  font-size:10px;
  color:#aaa;
}

.back-to-top{
  position:fixed;
  right:28px;
  bottom:25px;
  width:43px;
  height:43px;
  border:1px solid #d4d4d4;
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#555;
  display:grid;
  place-items:center;
  font-size:25px;
  line-height:1;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .3s ease,visibility .3s ease,transform .3s ease;
  z-index:80;
  animation:none;
}
.back-to-top.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  animation:topArrowPulse 2.4s ease-in-out infinite;
}
.back-to-top:hover{
  color:#111;
  border-color:#aaa;
}
@keyframes topArrowPulse{
  0%,100%{opacity:.5}
  50%{opacity:1}
}

footer{padding:25px 0;font-size:11px;color:#999}

.menu-overlay{
  position:fixed;inset:0;background:rgba(15,15,15,.97);z-index:100;
  display:grid;place-items:center;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .3s ease,visibility .3s ease
}
.menu-overlay.open{opacity:1;visibility:visible;pointer-events:auto}
.menu-overlay nav{text-align:center}
.menu-overlay nav a{display:block;color:#fff;text-decoration:none;margin:22px}
.menu-overlay nav strong{display:block;font-size:36px;font-weight:300}
.menu-overlay nav small{display:block;font-size:15px;color:#aaa;margin-top:4px}
.close-btn{
  position:absolute;right:7%;top:18px;background:none;border:0;color:#fff;
  font-size:42px;font-weight:200;cursor:pointer;line-height:1
}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0
}


.references-heading h2{font-size:34px}
  .references-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:15px;row-gap:20px}
  .reference-logo{height:62px}


.service-more{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:16px;
  padding:0;
  border:0;
  background:transparent;
  color:#555;
  font:inherit;
  font-size:10px;
  letter-spacing:1.7px;
  cursor:pointer;
}
.service-more span{
  font-size:15px;
  line-height:1;
  transition:transform .3s ease;
}
.service-more:hover{color:#111}
.service-more:hover span{transform:translateX(4px)}
.service-more.open span{transform:rotate(90deg)}
.service-detail{
  max-height:0;
  overflow:hidden;
  opacity:0;
  margin-top:0;
  transition:max-height .5s ease,opacity .35s ease,margin-top .5s ease;
}
.service-detail.open{
  max-height:320px;
  opacity:1;
  margin-top:20px;
}
.service-detail h4{
  margin:0 0 9px;
  font-size:14px;
  line-height:1.35;
  font-weight:500;
  color:#333;
}
.service-detail p{
  margin:0;
  max-width:500px;
  font-size:12px;
  line-height:1.8;
  color:#8e8e8e;
}
@media(max-width:800px){
  .hero{min-height:620px;background-position:center center}
  .hero h1{font-size:48px}
  .hero-sub{font-size:38px}
  .hero p:not(.eyebrow){font-size:15px}
  .line{margin:35px auto 28px}
  .scroll-down{margin-top:65px}
  .services{padding:70px 0 85px}
  .services-inner{grid-template-columns:1fr;row-gap:55px}.services-list{column-gap:40px}
  .services-heading p{max-width:420px}
  .service-tag{right:0;bottom:-15px}
  .portfolio-grid{grid-template-columns:1fr 1fr}.project-overlay{opacity:1;padding:15px}.project-overlay span{font-size:13px}
  .contact-grid{grid-template-columns:1fr;gap:45px}
  .references{grid-template-columns:1fr 1fr}
  .menu-overlay nav strong{font-size:28px}
}
@media(max-width:520px){
  .hero{min-height:590px}
  .hero h1{font-size:40px}
  .hero-sub{font-size:31px}
  .hero p:not(.eyebrow){font-size:14px}
  .services{padding:60px 0 75px}
  .services-inner{row-gap:42px}
  .services-list{grid-template-columns:1fr;row-gap:42px}
  .service-tag{display:none}
  .portfolio-grid{grid-template-columns:1fr}.portfolio .section-title{font-size:34px}
  .references{grid-template-columns:1fr 1fr}
  .contact-info{grid-template-columns:1fr 1fr}
  .site-header{height:70px;padding:0 5%}
}

@media(max-width:520px){.logo{width:165px}.logo img{width:165px}}

.project-card::after{
  content:"⤢";
  position:absolute;
  top:16px;
  right:18px;
  width:30px;
  height:30px;
  border:1px solid rgba(255,255,255,.65);
  border-radius:50%;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:300;
  opacity:0;
  transform:translateY(-5px);
  transition:.3s ease;
  z-index:2;
}
.project-card:hover::after{
  opacity:1;
  transform:translateY(0);
}
@media(max-width:800px){
  .project-card::after{opacity:.9;transform:none}
}

@media(max-width:800px){
  .references-grid{max-height:330px}
  .references-grid.expanded{max-height:1800px}
}

@media(max-width:1000px){
  .references-grid{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:22px}
}
@media(max-width:800px){
  .references-heading{display:block;margin-bottom:35px}
  .references-heading p{margin-top:16px}
  .references-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px;max-height:310px;padding:25px 8px}
  .references-grid.expanded{max-height:1500px}
  .reference-logo{height:62px;padding:5px}
  .reference-logo img{max-height:50px}
}
@media(max-width:520px){
  .references-section{padding:70px 0 80px}
  .references-heading h2{font-size:34px}
  .references-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;max-height:245px}
  .references-grid.expanded{max-height:1800px}
}

@media(max-width:800px){
  .contact{padding:75px 0 80px}
  .contact-grid{grid-template-columns:1fr;gap:50px}
  .contact-info{gap:35px 25px}
  .footer-inner{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
}
@media(max-width:520px){
  .contact-heading h2{font-size:34px}
  .contact-info{grid-template-columns:1fr 1fr}
  .footer-logo{width:135px}
  .back-to-top{right:18px;bottom:18px;width:40px;height:40px}
}

.contact button span{margin-left:8px;font-size:15px}
.back-to-top{z-index:9999!important;pointer-events:auto!important}

/* FINAL RESPONSIVE OVERRIDES */
html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%}
@media(max-width:767px){
  .container{width:90%;max-width:none}
  .site-header{
    height:68px;
    padding:0 20px;
  }
  .logo,.logo img{width:145px}
  .header-right{gap:10px}
  .header-right>a{font-size:13px}
  .menu-btn{width:36px;padding:3px}
  .menu-btn span{width:31px;margin:5px 0}

  .hero{
    min-height:650px;
    background-position:center center;
  }
  .hero-content{
    width:100%;
    max-width:560px;
    padding:0 18px;
    margin-top:-8px;
  }
  .hero h1{font-size:44px;letter-spacing:-1.5px}
  .hero-sub{font-size:34px;letter-spacing:-1.2px}
  .hero p:not(.eyebrow){
    font-size:14px;
    line-height:1.75;
    max-width:500px;
  }
  .line{margin:30px auto 26px}
  .scroll-down{margin-top:58px}

  .services{padding:65px 0 80px}
  .services-inner{
    display:block;
  }
  .services-heading{
    padding:0;
    margin-bottom:48px;
  }
  .services-heading h2{font-size:34px}
  .services-heading p{max-width:100%;font-size:13px}
  .services-list{
    display:grid;
    grid-template-columns:1fr !important;
    column-gap:0;
    row-gap:48px;
  }
  .service-card{
    width:100%;
  }
  .service-card p{max-width:100%}
  .service-tag{display:none}

  .portfolio{padding:70px 0 90px}
  .portfolio .section-title{font-size:34px;margin-bottom:25px}
  .portfolio-grid{
    grid-template-columns:1fr !important;
    gap:10px;
  }
  .project-card{aspect-ratio:1.18}
  .project-overlay{opacity:1}
  .project-card::after{opacity:.9;transform:none}

  .references-section{padding:70px 0 80px}
  .references-heading{display:block;margin-bottom:35px}
  .references-heading h2{font-size:34px}
  .references-heading p{max-width:100%;margin-top:16px}
  .references-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    column-gap:10px;
    row-gap:16px;
    max-height:260px;
    padding:22px 5px 25px;
  }
  .references-grid.expanded{max-height:1800px}
  .reference-logo{height:64px;padding:4px}
  .reference-logo img{max-height:48px}

  .contact{padding:70px 0 80px}
  .contact-heading{margin-bottom:35px}
  .contact-heading h2{font-size:34px}
  .contact-heading p{font-size:13px}
  .contact-grid{
    display:block;
  }
  .contact-form-wrap{margin-bottom:48px}
  .contact textarea{height:145px}
  .contact-info{
    display:grid;
    grid-template-columns:1fr 1fr !important;
    gap:35px 22px;
  }

  .footer-inner{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
  .footer-logo{width:135px}

  .menu-overlay nav a{margin:18px}
  .menu-overlay nav strong{font-size:25px}
  .menu-overlay nav small{font-size:13px}

  .project-modal{padding:55px 18px 30px}
  .project-modal-content{max-width:92vw;max-height:82vh}
  .project-modal-content img{max-height:70vh}
  .project-modal-prev,.project-modal-next{font-size:40px;padding:12px}
  .project-modal-prev{left:0}
  .project-modal-next{right:0}
  .project-modal-close{right:14px;top:14px;width:44px;height:44px;font-size:28px;z-index:10001}

  .back-to-top{
    right:16px;
    bottom:16px;
    width:42px;
    height:42px;
    font-size:24px;
  }
}
@media(max-width:420px){
  .logo,.logo img{width:132px}
  .header-right{gap:7px}
  .hero{min-height:620px}
  .hero h1{font-size:39px}
  .hero-sub{font-size:30px}
  .hero p:not(.eyebrow){font-size:13px}
  .contact-info{grid-template-columns:1fr !important}
  .references-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

@media(max-width:767px){
  .service-detail p{max-width:100%;font-size:12px;line-height:1.75}
  .service-detail.open{max-height:520px}
  .service-more{margin-top:14px}
}

/* V20 — service cards: restore the light, elegant visual language */
.service-icon{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:46px;
  height:46px;
  margin-bottom:20px;
}
.service-icon svg{
  width:40px;
  height:40px;
  fill:none;
  stroke:#222;
  stroke-width:1.25;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-more{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex !important;
  align-items:center;
  gap:9px;
  width:auto !important;
  height:auto !important;
  margin:16px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#555 !important;
  font-family:inherit !important;
  font-size:10px !important;
  font-weight:400 !important;
  letter-spacing:1.7px !important;
  line-height:1.5 !important;
  cursor:pointer;
}
.service-more:hover{
  background:transparent !important;
  color:#111 !important;
}
.service-more span{
  display:inline-block;
  font-size:15px;
  line-height:1;
  transition:transform .3s ease;
}
.service-more.open span{transform:rotate(90deg)}
.service-detail{
  max-width:520px;
}
.service-detail h4{
  font-size:14px;
  font-weight:400;
  margin-bottom:10px;
}
@media(max-width:767px){
  .services{padding:65px 0 85px}
  .services-list{
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
  }
  .service-card{
    width:100%;
    padding:0 0 56px;
  }
  .service-card + .service-card{
    padding-top:4px;
  }
  .service-icon{
    margin-bottom:19px;
  }
  .service-card h3{
    font-size:20px;
    margin-bottom:13px;
    letter-spacing:0;
  }
  .service-card p{
    max-width:100%;
    font-size:12px;
    line-height:1.85;
  }
  .service-more{
    margin-top:15px !important;
  }
  .service-detail.open{
    max-height:600px;
    margin-top:20px;
  }
}

/* V21 service layout safeguard */
.services-list{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:72px;
  row-gap:62px;
}
@media(max-width:767px){
  .services-list{
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
  }
  .service-card{
    width:100% !important;
  }
}

/* V22 — Sticky header */
.sticky-header{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:9000;
  transition:background-color .28s ease, box-shadow .28s ease, transform .28s ease;
  background:transparent;
}
.sticky-header.is-stuck{
  background:rgba(255,255,255,.96);
  box-shadow:0 1px 0 rgba(0,0,0,.07);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
@media(max-width:767px){
  .sticky-header{
    min-height:64px;
  }
  .sticky-header.is-stuck{
    background:rgba(255,255,255,.97);
  }
}

/* V23 — stable menu + social icons */
.sticky-header{
  z-index:9000 !important;
}
.sticky-header.menu-active{
  z-index:9000 !important;
}
.menu-overlay{
  z-index:10000 !important;
}
.menu-overlay .close-btn{
  z-index:10001 !important;
}
.social-icon{
  width:19px;
  height:19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#111;
  text-decoration:none;
  line-height:0;
}
.social-icon svg{
  width:100%;
  height:100%;
  display:block;
  fill:currentColor;
}
.instagram-icon svg rect{
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}
.instagram-icon svg circle:first-of-type{
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}
.instagram-icon svg circle:last-of-type{
  fill:currentColor;
  stroke:none;
}
.header-right{
  gap:15px;
}
.menu-btn{
  position:relative;
  z-index:10002;
}
body.menu-open{
  overflow:hidden;
}
@media(max-width:767px){
  .social-icon{width:18px;height:18px}
  .header-right{gap:12px}
  .menu-btn{width:38px}
}

.menu-overlay.open ~ *{}

/* V24 — optically balanced social icons */
.header-right{
  display:flex;
  align-items:center;
  gap:14px;
}
.social-icon{
  width:18px !important;
  height:18px !important;
  flex:0 0 18px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  color:#111;
  text-decoration:none;
  line-height:0;
  box-sizing:border-box;
}
.social-icon svg{
  width:18px;
  height:18px;
  display:block;
}
.facebook-icon svg{
  fill:currentColor;
}
.instagram-icon svg,
.whatsapp-icon svg{
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.instagram-icon .ig-dot{
  fill:currentColor;
  stroke:none;
}
.whatsapp-icon svg path:first-child{
  stroke-width:1.5;
}
.whatsapp-icon svg path:last-child{
  stroke-width:1.35;
}
@media(max-width:767px){
  .header-right{gap:12px}
  .social-icon,.social-icon svg{width:18px !important;height:18px !important}
}

/* V25 — reference logos: equal visual scale without distortion */
.references-grid{
  align-items:center;
}
.reference-logo{
  width:100%;
  height:88px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px 18px !important;
  box-sizing:border-box;
  overflow:hidden;
}
.reference-logo img{
  display:block;
  width:auto !important;
  height:auto !important;
  max-width:170px !important;
  max-height:58px !important;
  min-width:0;
  object-fit:contain !important;
  object-position:center;
}
@media(max-width:767px){
  .reference-logo{
    height:82px !important;
    padding:8px 10px !important;
  }
  .reference-logo img{
    max-width:145px !important;
    max-height:52px !important;
  }
}

/* V26 — hero/services transition: continuous like the original design */
.hero{
  margin-bottom:0 !important;
}
.services{
  margin-top:-28px !important;
  padding-top:70px !important;
  background:#f8f8f8;
}
@media(max-width:767px){
  .services{
    margin-top:-18px !important;
    padding-top:58px !important;
  }
}

/* V28 — smoother back-to-top interaction */
html{
  scroll-behavior:smooth;
}

/* V29 — refined contact icons */
.whatsapp-submit{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.whatsapp-submit-icon{
  width:21px;
  height:21px;
  flex:0 0 21px;
  display:block;
  fill:currentColor;
}
.whatsapp-submit-icon .whatsapp-phone{
  fill:none;
  stroke:#fff;
  stroke-width:1.35;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.contact-block a{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.contact-link-arrow{
  width:13px;
  height:13px;
  flex:0 0 13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.25;
  stroke-linecap:round;
  stroke-linejoin:round;
  transform:translateY(-1px);
}

/* V30 — mobile contact cleanup */
.whatsapp-submit{
  min-height:48px !important;
  width:auto !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
.whatsapp-submit-icon{
  width:21px !important;
  height:21px !important;
  min-width:21px !important;
  max-width:21px !important;
  min-height:21px !important;
  max-height:21px !important;
  flex:0 0 21px !important;
  overflow:visible !important;
  display:block !important;
}
.whatsapp-submit-icon > path:first-child{
  fill:none !important;
  stroke:#fff !important;
  stroke-width:1.55 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.whatsapp-submit-icon > .whatsapp-phone{
  fill:none !important;
  stroke:#fff !important;
  stroke-width:1.45 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.contact-block p{
  overflow:visible;
}
.contact-block a{
  display:inline-flex !important;
  width:auto !important;
  height:auto !important;
  align-items:center !important;
  vertical-align:middle;
  gap:7px !important;
}
.contact-link-arrow{
  width:12px !important;
  height:12px !important;
  min-width:12px !important;
  max-width:12px !important;
  flex:0 0 12px !important;
  display:inline-block !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.25 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
  transform:none !important;
}
@media(max-width:767px){
  .contact-form-wrap{margin-bottom:42px !important}
  .whatsapp-submit{
    padding:13px 22px !important;
    font-size:12px !important;
  }
  .contact-info{
    grid-template-columns:1fr 1fr !important;
    gap:38px 24px !important;
    align-items:start !important;
  }
  .contact-block h3{
    margin-bottom:12px !important;
  }
  .contact-block p{
    font-size:12px !important;
    line-height:1.9 !important;
  }
  .contact-block.social-media p{
    display:flex;
    flex-direction:column;
    gap:9px;
  }
}
@media(max-width:420px){
  .contact-info{
    grid-template-columns:1fr 1fr !important;
  }
  .contact-block a{
    gap:6px !important;
  }
}

/* V31 — contact icons isolated from global SVG rules */
.whatsapp-submit-icon{
  width:22px !important;height:22px !important;min-width:22px !important;min-height:22px !important;
  flex:0 0 22px !important;display:inline-block !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.75a9.25 9.25 0 0 0-7.98 13.94L2.8 21.2l4.66-1.18A9.25 9.25 0 1 0 12 2.75Z' fill='none' stroke='white' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.7 7.9c.22-.36.46-.38.76-.37h.57c.2 0 .38.1.47.32l.78 1.83c.09.22.07.43-.09.59l-.55.61c-.13.14-.14.3-.04.49.38.72 1.02 1.4 1.74 1.79.19.1.35.09.49-.04l.6-.55c.17-.16.37-.19.59-.09l1.82.77c.22.1.32.27.32.48v.56c.01.31-.02.55-.37.77-.42.27-.92.4-1.42.31-1.11-.19-2.39-.84-3.48-1.93s-1.75-2.36-1.94-3.47c-.09-.5.04-1 .32-1.42Z' fill='none' stroke='white' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;background-position:center !important;background-size:contain !important;
  overflow:visible !important;
}
.contact-link-arrow{
  width:auto !important;height:auto !important;min-width:0 !important;max-width:none !important;
  flex:0 0 auto !important;display:inline !important;
  font-family:Arial,Helvetica,sans-serif !important;font-size:15px !important;font-weight:300 !important;
  line-height:1 !important;color:currentColor !important;fill:none !important;stroke:none !important;
  transform:none !important;
}
.contact-block.social-media p{display:block !important}
@media(max-width:767px){
 .whatsapp-submit-icon{width:21px !important;height:21px !important;min-width:21px !important;min-height:21px !important;flex-basis:21px !important}
 .contact-block.social-media p a{display:inline-flex !important;align-items:center !important;gap:7px !important;margin:0 0 8px 0 !important}
 .contact-link-arrow{font-size:14px !important}
}
