  :root{
    --purple:#824CF2;
    --purple-dark:#6B32E0;
    --purple-light:#F1EBFE;
    --navy:#010C2A;
    --ink:#1B1D21;
    --muted:#6B7280;
    --gray-bg:#F6F6F6;
    --panel-light:#ECF2F5;
    --line:#E7E7EA;
    --gold:#FFD109;
    --blue:#38B6FF;
    --white:#FFFFFF;
    --wrap:1180px;
    --radius:14px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  section[id], header[id]{scroll-margin-top:88px;}
  body{
    margin:0;
    font-family:'Inter', system-ui, sans-serif;
    color:var(--ink);
    background:#fff;
    -webkit-font-smoothing:antialiased;
    line-height:1.6;
  }
  h1,h2,h3,h4{
    font-family:'Bitter', Georgia, serif;
    margin:0;
    color:var(--ink);
    letter-spacing:-0.01em;
  }
  p{margin:0;}
  a{color:inherit; text-decoration:none;}
  button{font-family:inherit; cursor:pointer;}
  img,svg{display:block; max-width:100%;}
  .wrap{max-width:var(--wrap); margin:0 auto; padding:0 32px;}
  section{position:relative;}
  :focus-visible{outline:3px solid var(--blue); outline-offset:3px;}

  /* ---------- reveal animation (soft effect, progressive enhancement) ---------- */
  /* Visible by default: if JS doesn't run, content is never hidden. */
  .reveal{transition:opacity .7s ease, transform .7s ease;}
  .reveal.reveal-ready{opacity:0; transform:translateY(22px);}
  .reveal.reveal-ready.is-visible{opacity:1; transform:translateY(0);}

  /* ---------- buttons ---------- */
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'Bitter', serif; font-weight:700; font-size:13.5px;
    letter-spacing:0.03em; text-transform:uppercase;
    padding:15px 28px; border-radius:6px; border:2px solid transparent;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space:nowrap;
  }
  .btn:hover{transform:translateY(-2px);}
  .btn-solid{background:var(--purple); color:#fff; box-shadow:0 10px 24px rgba(130,76,242,0.30);}
  .btn-solid:hover{background:var(--purple-dark); box-shadow:0 14px 30px rgba(130,76,242,0.4);}
  .btn-outline{border-color:var(--purple); color:var(--purple); background:transparent;}
  .btn-outline:hover{background:var(--purple); color:#fff;}
  .btn-dark{background:var(--navy); color:#fff;}
  .btn-dark:hover{background:#000;}

  /* ---------- header ---------- */
  header.navbar{
    position:sticky; top:0; left:0; right:0; z-index:200;
    background:#fff;
    border-bottom:1px solid var(--line);
    transition:box-shadow .35s ease, padding .35s ease;
  }
  header.navbar.is-scrolled{ box-shadow:0 8px 30px rgba(1,12,42,0.08); }
  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 0; gap:24px; transition:padding .35s ease;
  }
  header.navbar.is-scrolled .nav-inner{padding:11px 0;}
  .nav-left{display:flex; align-items:center; gap:24px;}
  .logo-mark img{height:40px; width:auto; transition:height .3s ease;}
  header.navbar.is-scrolled .logo-mark img{height:32px;}
  .nav-divider{width:1px; height:34px; background:var(--line);}
  .phone-block{display:flex; align-items:center; gap:10px;}
  .phone-icon{
    width:38px; height:38px; border-radius:50%; background:var(--purple-light); color:var(--purple);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .phone-icon svg{width:16px; height:16px;}
  .phone-text{display:flex; flex-direction:column;}
  .phone-text .label{font-size:12px; color:var(--muted);}
  .phone-text .value{font-weight:700; font-size:14.5px; color:var(--ink);}

  .nav-menu{display:flex; align-items:center; gap:34px;}
  .nav-menu .item{
    font-family:'Bitter', serif; font-weight:700; font-size:13.5px;
    letter-spacing:0.04em; text-transform:uppercase; color:var(--ink);
    position:relative; padding:6px 0; transition:color .2s ease;
  }
  .nav-menu .item::after{
    content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--purple);
    transition:width .25s ease;
  }
  .nav-menu .item:hover, .nav-menu .item.active{color:var(--purple);}
  .nav-menu .item:hover::after, .nav-menu .item.active::after{width:100%;}

  .nav-right{display:flex; align-items:center; gap:18px;}
  .btn-nav{padding:12px 24px; font-size:12.5px;}

  .hamburger{
    display:none; flex-direction:column; justify-content:center; gap:5px;
    width:36px; height:36px; background:none; border:none; padding:0;
  }
  .hamburger span{display:block; height:2.5px; width:100%; background:var(--ink); border-radius:2px; transition:transform .3s ease, opacity .3s ease;}
  .hamburger.is-open span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
  .hamburger.is-open span:nth-child(2){opacity:0;}
  .hamburger.is-open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

  .mobile-nav{
    position:fixed; top:0; right:0; height:100vh; width:80%; max-width:340px; background:#fff; z-index:260;
    box-shadow:-16px 0 40px rgba(1,12,42,0.18); transform:translateX(100%);
    transition:transform .4s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; padding:26px 30px;
  }
  .mobile-nav.is-open{transform:translateX(0);}
  .mobile-nav-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:40px;}
  .mobile-nav-top img{height:32px;}
  .mobile-close{
    width:36px; height:36px; border-radius:50%; border:1.5px solid var(--line);
    display:flex; align-items:center; justify-content:center; background:none; color:var(--ink);
  }
  .mobile-close svg{width:16px; height:16px;}
  .mobile-nav a.item{
    font-family:'Bitter', serif; font-size:21px; font-weight:700; color:var(--ink);
    padding:15px 0; border-bottom:1px solid var(--line);
  }
  .mobile-nav .btn{margin-top:26px; justify-content:center;}
  .mobile-overlay{
    position:fixed; inset:0; background:rgba(1,12,42,0.5); z-index:250; opacity:0; pointer-events:none;
    transition:opacity .35s ease;
  }
  .mobile-overlay.is-open{opacity:1; pointer-events:auto;}

  /* ---------- decorative shapes ---------- */
  .deco-wave{position:absolute; opacity:0.85;}

  /* ---------- hero ---------- */
  .hero{background:var(--gray-bg); padding:96px 0 90px; overflow:hidden;}
  .hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; position:relative; z-index:2;}
  .hero-content{max-width:500px;}
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px; font-family:'Bitter', serif;
    font-size:13px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
    color:var(--purple); margin-bottom:20px;
  }
  .hero-title{font-size:clamp(34px,4.2vw,52px); line-height:1.14; font-weight:800; margin-bottom:22px;}
  .accent{position:relative; text-decoration:none;}
  .accent::after{
    content:""; position:absolute; left:0; right:0; bottom:2px; height:9px; background:var(--purple);
    z-index:-1; opacity:0.28; border-radius:2px;
  }
  .hero-sub{font-size:17px; color:var(--muted); margin-bottom:34px; max-width:440px;}
  .hero-ctas{display:flex; gap:16px; flex-wrap:wrap;}

  .hero-visual{position:relative; display:flex; align-items:center; justify-content:center;}
  .hero-img{width:100%; max-width:520px; height:auto;}
  .deco-circle-dotted{
    position:absolute; width:60px; height:60px; border-radius:50%; z-index:3;
    background:repeating-linear-gradient(0deg, var(--blue) 0 4px, transparent 4px 9px);
  }

  /* ---------- services ---------- */
  .services{padding:104px 0;}
  .services-head{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; margin-bottom:56px;}
  .kicker{
    font-family:'Bitter'; font-size:13px; font-weight:700; letter-spacing:0.07em; text-transform:uppercase;
    color:var(--purple); margin-bottom:14px; display:block;
  }
  .services-head h2{font-size:clamp(28px,3vw,38px); line-height:1.22; font-weight:800;}
  .services-right p{color:var(--muted); font-size:15.5px; margin-bottom:16px;}
  .view-all{
    font-family:'Bitter'; font-weight:700; font-size:14px; color:var(--ink);
    text-decoration:underline; text-decoration-color:var(--purple); text-underline-offset:4px;
    display:inline-flex; align-items:center; gap:6px; transition:color .2s ease;
  }
  .view-all:hover{color:var(--purple);}

  .services-grid{display:grid; grid-template-columns:repeat(4,1fr); background:var(--gray-bg); border-radius:var(--radius); overflow:hidden;}
  .service-card{
    display:block; padding:38px 28px; border-right:1px solid #E9E9EE;
    transition:background .35s ease;
  }
  .service-card:last-child{border-right:none;}
  .service-card:hover{background:var(--purple);}
  .service-icon{
    width:58px; height:58px; border-radius:50%; background:#fff; box-shadow:0 6px 18px rgba(1,12,42,0.08);
    display:flex; align-items:center; justify-content:center; margin-bottom:20px;
    transition:box-shadow .35s ease;
  }
  .service-card:hover .service-icon{box-shadow:0 10px 26px rgba(1,12,42,0.22);}
  .service-icon svg{width:24px; height:24px;}
  .service-card:nth-child(1) .service-icon svg{color:var(--purple);}
  .service-card:nth-child(2) .service-icon svg{color:#E0862A;}
  .service-card:nth-child(3) .service-icon svg{color:var(--blue);}
  .service-card:nth-child(4) .service-icon svg{color:#1FA160;}
  .service-card h3{font-size:17px; font-weight:700; line-height:1.35; margin-bottom:10px; color:var(--ink); transition:color .35s ease;}
  .service-card:hover h3{color:#fff;}
  .service-card .service-desc{font-size:14px; line-height:1.5; color:var(--muted); margin-bottom:20px; transition:color .35s ease;}
  .service-card:hover .service-desc{color:rgba(255,255,255,0.85);}
  .service-explore{
    display:inline-flex; align-items:center; gap:10px;
    font-family:'Bitter'; font-size:12px; font-weight:700; letter-spacing:0.04em; color:var(--purple);
    transition:color .35s ease;
  }
  .service-card:hover .service-explore{color:#fff;}
  .service-explore .se-pill{
    background:var(--purple-light); padding:11px 18px; border-radius:100px; text-transform:uppercase;
    transition:background .35s ease, color .35s ease;
  }
  .service-card:hover .service-explore .se-pill{background:rgba(255,255,255,0.22); color:#fff;}
  .service-explore svg{width:13px; height:13px; flex-shrink:0; transition:transform .35s ease;}
  .service-card:hover .service-explore svg{transform:translateX(3px);}

  /* ---------- features ---------- */
  .features{background:var(--gray-bg); padding:104px 0; overflow:hidden;}
  .features-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
  .features-content{max-width:480px;}
  .features-title{font-size:clamp(28px,3.2vw,38px); line-height:1.24; font-weight:800; margin-bottom:20px;}
  .features-text{color:var(--muted); font-size:15.5px; margin-bottom:14px;}
  .features-text:last-of-type{margin-bottom:30px;}

  .stats-row{display:flex; gap:44px; margin-bottom:34px;}
  .stat strong{display:block; font-family:'Bitter'; font-size:34px; font-weight:800; color:var(--ink);}
  .stat span{font-size:13.5px; color:var(--muted); font-weight:600;}

  .features-visual{position:relative; display:flex; align-items:center; justify-content:center;}
  .features-img{width:100%; max-width:480px; height:auto; animation:featureFloat 5s ease-in-out infinite;}

  @keyframes featureFloat{
    0%, 100%{transform:translateY(0);}
    50%{transform:translateY(-16px);}
  }
  @media (prefers-reduced-motion: reduce){
    .features-img{animation:none;}
  }

  /* ---------- projects ---------- */
  .projects{padding:104px 0;}
  .projects-head{text-align:center; max-width:600px; margin:0 auto 52px;}
  .projects-head h2{font-size:clamp(30px,3.6vw,42px); line-height:1.3; font-weight:800;}

  .projects-grid{display:flex; flex-wrap:wrap; justify-content:center; gap:22px; margin-bottom:44px;}
  .project-card{
    flex:0 0 calc((100% - 44px) / 3); min-width:0;
    border-radius:14px; overflow:hidden; background:#fff; box-shadow:0 14px 34px rgba(1,12,42,0.10);
    transition:transform .3s ease, box-shadow .3s ease; cursor:pointer;
  }
  .project-card:hover{transform:translateY(-6px); box-shadow:0 22px 46px rgba(1,12,42,0.16);}
  .proj-shot{aspect-ratio:4/4.8; overflow:hidden;}
  .proj-shot img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease;}
  .project-card:hover .proj-shot img{transform:scale(1.06);}

  .proj-carousel{position:relative;}
  .proj-track{
    position:absolute; inset:0; display:flex; overflow-x:auto; overflow-y:hidden;
    scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none;
    transition:transform .5s ease;
  }
  .proj-track::-webkit-scrollbar{display:none;}
  .proj-track img{flex:0 0 100%; scroll-snap-align:start;}
  .project-card:hover .proj-track{transform:scale(1.06);}
  .project-card:hover .proj-carousel img{transform:none;}
  .proj-dots{
    position:absolute; left:50%; bottom:12px; transform:translateX(-50%);
    display:flex; gap:6px; padding:6px 9px; border-radius:100px; background:rgba(1,12,42,0.35);
  }
  .proj-dots button{
    position:relative; width:7px; height:7px; padding:0; border:0; border-radius:50%;
    background:rgba(255,255,255,0.5); cursor:pointer; transition:background .3s ease, transform .3s ease;
  }
  .proj-dots button::before{content:""; position:absolute; inset:-5px;}
  .proj-dots button.is-active{background:#fff; transform:scale(1.3);}
  .proj-info{padding:20px 22px 24px;}
  .proj-tag{font-family:'Bitter'; font-size:11px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color:var(--purple); display:block; margin-bottom:8px;}
  .proj-info h4{font-size:16px; font-weight:700; margin-bottom:8px;}
  .proj-result{font-size:13px; color:var(--muted);}
  .proj-result b{color:var(--ink);}
  /* ---------- blog ---------- */
  .blog{background:var(--gray-bg); padding:104px 0;}
  .blog-head{text-align:center; max-width:660px; margin:0 auto 52px;}
  .blog-head h2{font-size:clamp(28px,3.4vw,40px); line-height:1.3; font-weight:800; margin-bottom:14px;}
  .blog-head p{color:var(--muted); font-size:16px;}
  .blog-grid{display:flex; flex-wrap:wrap; justify-content:center; gap:26px;}
  .blog-card{
    flex:0 0 calc((100% - 52px) / 3); min-width:0; display:flex; flex-direction:column;
    background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 14px 34px rgba(1,12,42,0.08);
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .blog-card:hover{transform:translateY(-6px); box-shadow:0 22px 46px rgba(1,12,42,0.14);}
  .blog-cover{display:block; aspect-ratio:1200/630; overflow:hidden; background:var(--purple-light);}
  .blog-cover img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
  .blog-card:hover .blog-cover img{transform:scale(1.05);}
  .blog-body{display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:22px 24px 26px; flex:1;}
  .blog-meta{font-family:'Bitter'; font-size:11px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color:var(--purple);}
  .blog-meta span{color:var(--muted); font-weight:600;}
  .blog-card h3{font-size:19px; line-height:1.32;}
  .blog-card h3 a{transition:color .2s ease;}
  .blog-card h3 a:hover{color:var(--purple);}
  .blog-card p{color:var(--muted); font-size:14.5px; line-height:1.6; margin-bottom:6px;}
  .blog-more{margin-top:auto; padding:11px 22px; font-size:12px;}

  /* ---------- footer ---------- */
  .site-footer{background:var(--navy); color:rgba(255,255,255,0.72); padding:74px 0 0;}
  .footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,0.1);}
  .footer-brand img{height:38px; margin-bottom:18px;}
  .footer-brand p{font-size:14px; max-width:270px; line-height:1.75;}
  .footer-col h4{color:#fff; font-family:'Bitter'; font-size:15px; font-weight:700; margin-bottom:20px;}
  .footer-col a{display:block; font-size:14px; margin-bottom:13px; transition:color .2s ease;}
  .footer-col a:hover{color:var(--gold);}
  .footer-social{display:flex; gap:10px; margin-top:8px;}
  .footer-social a{
    width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.18);
    display:flex; align-items:center; justify-content:center; transition:all .2s ease;
  }
  .footer-social a:hover{background:var(--purple); border-color:var(--purple);}
  .footer-social svg{width:15px; height:15px;}
  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center; padding:24px 0; font-size:13px; flex-wrap:wrap; gap:10px;
  }
  .footer-bottom a{text-decoration:underline; text-underline-offset:3px;}
  .footer-bottom a:hover{color:#fff;}

  /* ---------- WhatsApp floating button ---------- */
  .wa-float{
    position:fixed; right:26px; bottom:26px; z-index:300; display:flex; align-items:center; gap:12px;
  }
  .wa-bubble{
    background:#fff; padding:12px 16px; border-radius:14px; box-shadow:0 10px 30px rgba(1,12,42,0.18);
    font-size:13.5px; font-weight:600; color:var(--ink); max-width:200px; opacity:0; transform:translateX(10px) scale(0.95);
    transition:opacity .3s ease, transform .3s ease; pointer-events:none;
  }
  .wa-float.show-bubble .wa-bubble{opacity:1; transform:translateX(0) scale(1); pointer-events:auto;}
  .wa-btn{
    width:60px; height:60px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center;
    box-shadow:0 12px 30px rgba(37,211,102,0.45); flex-shrink:0; position:relative;
  }
  .wa-btn svg{width:30px; height:30px; color:#fff;}
  .wa-btn::before{
    content:""; position:absolute; inset:0; border-radius:50%; background:#25D366; opacity:0.55;
    animation:waPulse 2.2s ease-out infinite;
  }
  @keyframes waPulse{0%{transform:scale(1); opacity:0.55;} 100%{transform:scale(1.9); opacity:0;}}

  /* ---------- responsive ---------- */
  @media (max-width: 980px){
    .project-card{flex-basis:calc((100% - 22px) / 2);}
    .blog-card{flex-basis:calc((100% - 26px) / 2);}
    .nav-menu, .phone-block, .nav-divider{display:none;}
    .hamburger{display:flex;}
    .hero-grid{grid-template-columns:1fr;}
    .hero-visual{order:-1; margin-bottom:12px;}
    .hero-img{max-width:420px;}
    .services-head{grid-template-columns:1fr;}
    .services-grid{grid-template-columns:1fr 1fr;}
    .service-card{border-bottom:1px solid #E9E9EE;}
    .service-card:nth-child(2){border-right:none;}
    .features-grid{grid-template-columns:1fr;}
    .features-visual{order:-1; margin-bottom:12px;}
    .features-img{max-width:420px;}
    .footer-grid{grid-template-columns:1fr 1fr; row-gap:36px;}
  }
  @media (max-width: 620px){
    .wrap{padding:0 20px;}
    header.navbar.is-scrolled .nav-inner{padding-left:28px; padding-right:28px;}
    .services{padding:70px 0;} .features{padding:70px 0;} .projects{padding:70px 0;}
    .hero{padding:64px 0 60px;}
    .hero-img{max-width:300px;}
    .features-img{max-width:300px;}
    .services-grid{grid-template-columns:1fr;}
    .service-card{border-right:none;}
    .stats-row{gap:26px;}
    .project-card{flex-basis:100%;}
    .blog-card{flex-basis:100%;}
    .blog{padding:70px 0;}
    .footer-grid{grid-template-columns:1fr;}
    .footer-bottom{flex-direction:column; align-items:flex-start;}
    .btn-nav{display:none;}
    .wa-bubble{display:none;}
    .wa-btn{width:54px; height:54px;}
    .wa-btn svg{width:26px; height:26px;}
  }
