  :root{
    --navy:#3F8358;
    --navy-line: rgba(255,255,255,0.16);
    --cream:#FFFFFF;
    --concrete:#748078;
    --amber:#7CC97F;
    --amber-dark:#2F7A46;
    --ink:#1F2421;
    --white:#FFFFFF;
    --radius:2px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'IBM Plex Sans', sans-serif;
    background:var(--cream);
    color:var(--ink);
    line-height:1.6;
  }
  h1,h2,h3{
    font-family:'Oswald', sans-serif;
    text-transform:uppercase;
    letter-spacing:0.02em;
    line-height:1.15;
    font-weight:600;
  }
  .mono{font-family:'IBM Plex Mono', monospace;}
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--amber-dark);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
  }
  .eyebrow::before{content:"";width:24px;height:1px;background:var(--amber-dark);display:inline-block;}

  /* HEADER */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(63,131,88,0.97);
    border-bottom:1px solid var(--navy-line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 32px; max-width:1180px; margin:0 auto;
  }
  .logo{
    font-family:'Oswald', sans-serif;
    font-size:24px; font-weight:700; color:var(--cream);
    letter-spacing:0.06em;
  }
  .logo span{color:var(--amber);}
  .navlinks{display:flex; gap:30px; align-items:center;}
  .navlinks a{
    color:var(--cream); opacity:0.82; font-size:14px; font-weight:500;
    text-transform:uppercase; letter-spacing:0.04em;
  }
  .navlinks a:hover{opacity:1; color:var(--amber);}
  .call-btn{
    background:var(--amber); color:var(--navy); font-weight:600;
    padding:10px 18px; border-radius:var(--radius); font-size:14px;
    display:flex; align-items:center; gap:8px; white-space:nowrap;
  }
  .call-btn:hover{background:#f0b458;}
  .menu-toggle{
    display:none; color:var(--cream); font-size:24px; background:none; border:none;
    cursor:pointer; line-height:1; padding:6px; min-width:44px; min-height:44px;
    align-items:center; justify-content:center;
  }

  /* HERO */
  .hero{
    position:relative; overflow:hidden;
    background:var(--navy); color:var(--cream);
    padding:110px 0 90px;
  }
  .hero-bg-layers{position:absolute; inset:0;}
  .hero-bg-slide{
    position:absolute; inset:0; background-size:cover; background-position:center;
    opacity:0; transition:opacity 1.4s ease;
    animation:heroKenBurns 20s ease-in-out infinite alternate;
  }
  .hero-bg-slide.active{opacity:1;}
  @keyframes heroKenBurns{ 0%{transform:scale(1);} 100%{transform:scale(1.12);} }
  .blueprint-grid{
    position:absolute; inset:0;
    background-image:
      linear-gradient(var(--navy-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
    background-size:40px 40px;
    opacity:0.6;
  }
  /* Khi có ảnh banner thật: ẩn lưới blueprint, phủ lớp gradient tối để chữ dễ đọc */
  .hero.has-photo .blueprint-grid{display:none;}
  .hero-overlay{position:absolute; inset:0; opacity:0;}
  .hero.has-photo .hero-overlay{
    opacity:1;
    background:linear-gradient(180deg, rgba(20,30,20,0.80), rgba(20,30,20,0.62) 45%, rgba(20,30,20,0.88));
  }
  .hero-inner{position:relative; z-index:1;}
  .hero-content{max-width:640px;}
  .hero-content > *{opacity:0; transform:translateY(18px); animation:heroFadeUp 0.85s ease forwards;}
  .hero-content .eyebrow{animation-delay:0.1s;}
  .hero-content h1{animation-delay:0.25s;}
  .hero-content p.lead{animation-delay:0.4s;}
  .hero-content .hero-ctas{animation-delay:0.55s;}
  .hero-content .hero-stats{animation-delay:0.7s;}
  @keyframes heroFadeUp{ to{opacity:1; transform:translateY(0);} }
  @media (prefers-reduced-motion: reduce){
    .hero-bg-slide{animation:none;}
    .hero-content > *{animation:none; opacity:1; transform:none;}
  }
  .hero-content .eyebrow{color:rgba(255,255,255,0.85);}
  .hero h1{font-size:48px; color:var(--white); margin-bottom:20px;}
  .hero h1 em{font-style:normal; color:var(--white); border-bottom:3px solid var(--amber); padding-bottom:2px;}
  .hero p.lead{font-size:17px; color:rgba(255,255,255,0.78); max-width:480px; margin-bottom:32px;}
  .hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px;}
  .btn-primary{
    background:var(--amber); color:var(--navy); font-weight:600; font-size:14px;
    padding:15px 26px; border-radius:var(--radius); text-transform:uppercase; letter-spacing:0.03em;
    border:1px solid var(--amber);
  }
  .btn-primary:hover{background:transparent; color:var(--amber);}
  .btn-ghost{
    border:1px solid rgba(255,255,255,0.4); color:var(--cream); font-weight:500; font-size:14px;
    padding:15px 26px; border-radius:var(--radius); text-transform:uppercase; letter-spacing:0.03em;
  }
  .btn-ghost:hover{border-color:var(--amber); color:var(--amber);}
  .hero-stats{display:flex; gap:36px; flex-wrap:wrap;}
  .hero-stats .stat .num{font-family:'IBM Plex Mono', monospace; font-size:26px; color:var(--amber); font-weight:500;}
  .hero-stats .stat .label{font-size:12px; color:rgba(255,255,255,0.6); text-transform:uppercase; letter-spacing:0.05em; margin-top:2px;}

  /* SCROLL REVEAL — hiệu ứng fade-up khi cuộn tới các phần bên dưới banner */
  .reveal{opacity:0; transform:translateY(28px); transition:opacity 0.75s ease, transform 0.75s ease;}
  .reveal.in-view{opacity:1; transform:translateY(0);}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; transition:none;}
  }

  /* SECTION SHARED */
  section{padding:80px 0;}
  .section-head{max-width:600px; margin-bottom:48px;}
  .section-head h2{font-size:32px; color:var(--navy);}
  .section-head p{color:var(--concrete); margin-top:12px; font-size:15px;}

  /* TRUST BAR */
  .trustbar{background:var(--white); border-top:1px solid #DCE8DE; border-bottom:1px solid #DCE8DE;}
  .trust-grid{display:grid; grid-template-columns:repeat(4,1fr); padding:36px 0;}
  .trust-item{text-align:center; border-left:1px solid #DCE8DE; padding:0 12px;}
  .trust-item:first-child{border-left:none;}
  .trust-item .num{font-family:'IBM Plex Mono', monospace; font-size:30px; color:var(--navy); font-weight:500;}
  .trust-item .lbl{font-size:12px; color:var(--concrete); text-transform:uppercase; letter-spacing:0.05em; margin-top:6px;}

  /* SERVICES */
  .service-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
  .service-card{
    background:var(--white); border:1px solid #DCE8DE; padding:30px 24px;
    transition:border-color 0.2s;
  }
  .service-card:hover{border-color:var(--amber);}
  .service-card .icon{width:38px; height:38px; margin-bottom:20px;}
  .service-card h3{font-size:16px; color:var(--navy); margin-bottom:10px; letter-spacing:0.01em;}
  .service-card p{font-size:14px; color:var(--concrete);}

  /* PROCESS */
  .process{background:var(--navy); color:var(--cream);}
  .process .section-head h2{color:var(--white);}
  .process .section-head p{color:rgba(255,255,255,0.65);}
  .process-row{display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative;}
  .process-row::before{
    content:""; position:absolute; top:19px; left:0; right:0; height:1px;
    background:rgba(255,255,255,0.2);
  }
  .process-step{position:relative; padding-right:16px;}
  .process-step .idx{
    font-family:'IBM Plex Mono', monospace; width:38px; height:38px; border-radius:50%;
    background:var(--navy); border:1px solid var(--amber); color:var(--amber);
    display:flex; align-items:center; justify-content:center; font-size:13px; margin-bottom:18px;
    position:relative; z-index:1;
  }
  .process-step h3{font-size:15px; color:var(--white); margin-bottom:8px;}
  .process-step p{font-size:13px; color:rgba(255,255,255,0.6);}

  /* PORTFOLIO — clickable tiles (no inline images) */
  .portfolio-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,280px)); gap:20px; justify-content:start;}
  .portfolio-group{margin-bottom:46px;}
  .portfolio-group:last-child{margin-bottom:0;}
  .portfolio-subhead{
    display:flex; align-items:center; gap:10px;
    font-family:'Oswald', sans-serif; text-transform:uppercase; letter-spacing:0.02em;
    font-size:17px; color:var(--navy); margin-bottom:20px; padding-bottom:12px;
    border-bottom:1px solid #DCE8DE;
  }
  .status-dot{width:9px; height:9px; border-radius:50%; display:inline-block; flex-shrink:0;}
  .status-dot-completed{background:var(--navy);}
  .status-dot-ongoing{background:var(--amber);}
  .portfolio-tile{
    position:relative; text-align:left; cursor:pointer; width:100%;
    background:var(--white); border:1px solid #DCE8DE; padding:32px 26px;
    font-family:inherit; display:flex; flex-direction:column; gap:14px;
    transition:border-color 0.2s, transform 0.2s;
  }
  .portfolio-tile:hover{border-color:var(--amber); transform:translateY(-3px);}
  .portfolio-tile .tile-icon{
    width:46px; height:46px; border-radius:50%; background:rgba(63,131,88,0.08);
    display:flex; align-items:center; justify-content:center;
  }
  .portfolio-tile .tile-icon svg{width:22px; height:22px; stroke:var(--navy);}
  .portfolio-tile .tile-tag{
    align-self:flex-start; background:var(--amber); color:var(--navy);
    font-size:11px; padding:4px 10px; text-transform:uppercase;
  }
  .portfolio-tile h3{font-size:18px; color:var(--navy);}
  .portfolio-tile .tile-count{font-size:13px; color:var(--concrete);}
  .portfolio-tile .tile-cta{
    font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--amber-dark);
    text-transform:uppercase; letter-spacing:0.04em; margin-top:auto;
  }

  /* LIGHTBOX GALLERY */
  .lightbox{
    position:fixed; inset:0; z-index:100; background:rgba(20,33,20,0.82);
    display:flex; align-items:center; justify-content:center; padding:24px;
    opacity:0; pointer-events:none; transition:opacity 0.22s ease;
  }
  .lightbox.open{opacity:1; pointer-events:auto;}
  .lightbox-inner{
    background:var(--white); max-width:920px; width:100%; max-height:86vh;
    overflow-y:auto; padding:32px; position:relative; border-radius:2px;
  }
  .lightbox-close{
    position:absolute; top:16px; right:16px; width:36px; height:36px;
    background:var(--navy); color:var(--white); border:none; font-size:16px;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
  }
  #lightboxTitle{font-size:22px; color:var(--navy); margin-bottom:18px; padding-right:40px;}
  .lightbox-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
  .lightbox-grid figure{margin:0;}
  .lightbox-grid img{width:100%; height:220px; object-fit:cover; cursor:pointer; transition:opacity 0.15s;}
  .lightbox-grid img:hover{opacity:0.85;}
  .lightbox-grid figcaption{font-size:13px; color:var(--concrete); margin-top:8px;}
  .img-placeholder{
    width:100%; height:220px; cursor:pointer;
    background:#EFF3EC; border:1.5px dashed #B9CBBD;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
    color:var(--concrete); font-size:13px; text-align:center; padding:0 14px;
    transition:border-color 0.15s, color 0.15s;
  }
  .img-placeholder:hover{border-color:var(--amber-dark); color:var(--amber-dark);}
  .img-placeholder .placeholder-plus{
    width:34px; height:34px; border-radius:50%; border:1.5px dashed #B9CBBD;
    display:flex; align-items:center; justify-content:center; font-size:18px; line-height:1;
  }

  /* FULL-IMAGE VIEWER */
  .img-viewer{
    position:fixed; inset:0; z-index:110; background:rgba(10,16,12,0.94);
    display:flex; align-items:center; justify-content:center; padding:24px;
    opacity:0; pointer-events:none; transition:opacity 0.2s ease;
  }
  .img-viewer.open{opacity:1; pointer-events:auto;}
  .img-viewer img{max-width:min(88vw,900px); max-height:76vh; object-fit:contain; display:block;}
  .viewer-placeholder{
    width:min(88vw,700px); height:min(60vh,420px);
    background:rgba(255,255,255,0.06); border:1.5px dashed rgba(255,255,255,0.35);
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
    color:rgba(255,255,255,0.75); text-align:center; padding:0 24px;
  }
  .viewer-placeholder .placeholder-plus{
    width:48px; height:48px; border-radius:50%; border:1.5px dashed rgba(255,255,255,0.4);
    display:flex; align-items:center; justify-content:center; font-size:24px; line-height:1;
  }
  .viewer-placeholder p{font-size:14px;}
  .viewer-placeholder p.small{font-size:12px; opacity:0.7;}
  .viewer-caption{
    position:absolute; left:0; right:0; bottom:26px; text-align:center;
    color:var(--white); font-size:14px; padding:0 80px;
  }
  .viewer-close{
    position:absolute; top:20px; right:20px; width:42px; height:42px; border-radius:50%;
    background:rgba(255,255,255,0.12); color:var(--white); border:1px solid rgba(255,255,255,0.3);
    font-size:17px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  }
  .viewer-close:hover{background:var(--amber); color:var(--navy); border-color:var(--amber);}
  .viewer-arrow{
    position:absolute; top:50%; transform:translateY(-50%);
    width:52px; height:52px; border-radius:50%;
    background:rgba(255,255,255,0.12); color:var(--white); border:1px solid rgba(255,255,255,0.3);
    font-size:24px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  }
  .viewer-arrow:hover{background:var(--amber); color:var(--navy); border-color:var(--amber);}
  .viewer-prev{left:16px;}
  .viewer-next{right:16px;}


  /* TESTIMONIALS */
  .testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
  .testi-card{background:var(--white); border:1px solid #DCE8DE; padding:28px; position:relative;}
  .testi-card .quote-mark{font-family:'Oswald',sans-serif; font-size:40px; color:var(--amber); line-height:1; margin-bottom:6px;}
  .testi-card p.body{font-size:14px; color:var(--ink); margin-bottom:20px;}
  .testi-card .who{font-size:13px; color:var(--concrete); font-family:'IBM Plex Mono', monospace;}
  .testi-note{font-size:12px; color:var(--concrete); margin-top:20px; font-style:italic;}

  /* CTA / QUOTE FORM */
  .cta-section{background:var(--cream); border-top:1px solid #DCE8DE;}
  .cta-box{
    background:var(--navy); color:var(--cream); display:grid; grid-template-columns:1fr 1fr;
    position:relative; overflow:hidden;
  }
  .cta-copy{padding:56px; position:relative;}
  .cta-copy h2{color:var(--white); font-size:28px; margin-bottom:16px;}
  .cta-copy p{color:rgba(255,255,255,0.72); font-size:14px; margin-bottom:24px; max-width:380px;}
  .cta-contact-line{display:flex; align-items:center; gap:10px; font-family:'IBM Plex Mono', monospace; font-size:14px; margin-bottom:10px; color:var(--amber);}
  .cta-form{background:var(--cream); padding:56px; display:flex; flex-direction:column; gap:14px;}
  .cta-form input, .cta-form select, .cta-form textarea{
    border:1px solid #B9CBBD; background:var(--white); padding:12px 14px; font-family:'IBM Plex Sans'; font-size:14px; color:var(--ink);
    border-radius:var(--radius);
  }
  .cta-form label{font-size:12px; text-transform:uppercase; letter-spacing:0.04em; color:var(--concrete); margin-bottom:-6px;}
  .cta-form button{margin-top:6px;}

  /* FOOTER */
  footer{background:var(--navy); color:rgba(255,255,255,0.7); padding:56px 0 24px;}
  .footer-grid{display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; gap:36px; padding-bottom:36px; border-bottom:1px solid var(--navy-line);}
  footer h4{color:var(--cream); font-size:13px; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:16px; font-family:'IBM Plex Mono', monospace; font-weight:500;}
  footer ul{list-style:none;}
  footer li{margin-bottom:9px; font-size:14px;}
  footer li a:hover{color:var(--amber);}
  .footer-bottom{display:flex; justify-content:space-between; padding-top:20px; font-size:12px; color:rgba(255,255,255,0.4); flex-wrap:wrap; gap:8px;}

  /* WHATSAPP-STYLE STICKY CONTACT */
  .sticky-contact{
    position:fixed; right:24px; bottom:24px; z-index:60; display:flex; flex-direction:column; gap:10px;
  }
  .sticky-contact a{
    width:50px; height:50px; border-radius:50%; background:var(--amber); color:var(--navy);
    display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono', monospace; font-size:11px; font-weight:600;
    border:2px solid var(--navy);
  }

  /* ===== TABLET (≤980px) ===== */
  @media (max-width:980px){
    .wrap{padding:0 26px;}
    .hero{padding:64px 0 50px;}
    .hero h1{font-size:38px;}
    .trust-grid{grid-template-columns:repeat(2,1fr);}
    .trust-item:nth-child(3){border-left:none;}
    .trust-item:nth-child(odd){border-left:none;}
    .service-grid{grid-template-columns:repeat(2,1fr);}
    .process-row{grid-template-columns:repeat(2,1fr); row-gap:30px; column-gap:24px;}
    .process-row::before{display:none;}
    .portfolio-grid{grid-template-columns:repeat(2,1fr);}
    .testi-grid{grid-template-columns:1fr; max-width:520px; margin:0 auto;}
    .cta-box{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr 1fr; row-gap:32px;}

    /* mobile nav */
    .navlinks{
      display:flex; flex-direction:column; align-items:flex-start; gap:0;
      position:absolute; top:100%; left:0; right:0;
      background:var(--navy); border-bottom:1px solid var(--navy-line);
      max-height:0; overflow:hidden; opacity:0;
      transition:max-height 0.28s ease, opacity 0.2s ease;
    }
    .navlinks.open{max-height:400px; opacity:1;}
    .navlinks a{
      width:100%; padding:15px 26px; opacity:1; border-top:1px solid var(--navy-line);
      font-size:15px;
    }
    .navlinks a:first-child{border-top:none;}
    .menu-toggle{display:flex;}
    header{position:sticky;}
    .nav{position:relative;}
  }

  /* ===== MOBILE (≤600px) ===== */
  @media (max-width:600px){
    .wrap{padding:0 18px;}
    .nav{padding:14px 18px;}
    .call-btn span.call-text{display:none;}
    .call-btn{padding:10px 12px; font-size:16px;}
    .hero{padding:44px 0 36px;}
    .hero h1{font-size:29px;}
    .hero p.lead{font-size:15px;}
    .hero-stats{gap:24px;}
    .hero-stats .stat .num{font-size:22px;}
    section{padding:56px 0;}
    .section-head h2{font-size:25px;}
    .trust-grid{grid-template-columns:repeat(2,1fr);}
    .trust-item{padding:0 6px;}
    .trust-item .num{font-size:22px;}
    .service-grid{grid-template-columns:1fr;}
    .process-row{grid-template-columns:1fr;}
    .portfolio-grid{grid-template-columns:1fr;}
    .testi-grid{max-width:none;}
    .cta-copy, .cta-form{padding:30px 22px;}
    .cta-copy h2{font-size:24px;}
    .footer-grid{grid-template-columns:1fr; row-gap:28px; text-align:left;}
    .footer-bottom{flex-direction:column; text-align:center;}
    .sticky-contact{right:16px; bottom:16px;}
    .sticky-contact a{width:46px; height:46px; font-size:10px;}
    .lightbox-grid{grid-template-columns:1fr;}
    .lightbox-inner{padding:22px;}
    .lightbox-grid img{height:200px;}
    .viewer-arrow{width:42px; height:42px; font-size:19px;}
    .viewer-prev{left:8px;}
    .viewer-next{right:8px;}
    .viewer-caption{padding:0 56px; font-size:13px; bottom:16px;}
  }

  /* ===== SMALL PHONES (≤380px) ===== */
  @media (max-width:380px){
    .hero h1{font-size:25px;}
    .logo{font-size:20px;}
    .hero-stats{gap:18px;}
  }
