/* Fontes hospedadas no próprio site (sem Google Fonts): mais rápido e sem enviar o IP do visitante ao Google */
@font-face{font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap; src:url('../fonts/inter-latin-wght.woff2') format('woff2')}
@font-face{font-family:'Fraunces'; font-style:normal; font-weight:100 900; font-display:swap; src:url('../fonts/fraunces-latin-opsz.woff2') format('woff2')}

  :root{
    --white:#FCFBF8;
    --forest:#1E3B2E;
    --forest-2:#274E3D;
    --sage:#8AA98A;
    --sage-light:#DCE6D8;
    --wood:#B5652F;
    --wood-dark:#8A4A20;
    --wood-light:#E3A874;
    --sand:#EFE6D3;
    --gray:#F3F1EC;
    --ink:#1B1D1A;
    --ink-60:rgba(27,29,26,.62);
    --ink-40:rgba(27,29,26,.4);
    --radius:22px;
    --shadow-sm:0 2px 10px rgba(30,59,46,.06);
    --shadow-md:0 14px 40px rgba(30,59,46,.12);
    --shadow-lg:0 24px 70px rgba(30,59,46,.18);
    --ease:cubic-bezier(.16,.8,.24,1);
  }
  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  section[id]{scroll-margin-top:76px}
  body{
    margin:0;
    font-family:'Inter',sans-serif;
    color:var(--ink);
    background:var(--white);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{font-family:'Fraunces',serif; margin:0; letter-spacing:-.01em; color:var(--forest); font-weight:600;}
  p{margin:0}
  img{max-width:100%; display:block}
  a{color:inherit; text-decoration:none}
  button{font-family:inherit; cursor:pointer; border:none; background:none}
  :focus-visible{outline:3px solid var(--wood); outline-offset:3px}
  .wrap{max-width:1280px; margin:0 auto; padding:0 32px}
  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
    color:var(--wood-dark);
  }
  .eyebrow::before{content:''; width:28px; height:2px; background:var(--wood); display:inline-block; border-radius:2px}
  .section{padding:120px 0}
  .section-head{max-width:640px; margin-bottom:64px}
  .section-head h2{font-size:clamp(30px,4vw,46px); line-height:1.1; margin-top:14px}
  .section-head p{margin-top:18px; font-size:17px; color:var(--ink-60); line-height:1.6}
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:16px 30px; border-radius:100px; font-weight:600; font-size:15px;
    transition:transform .45s var(--ease), box-shadow .45s var(--ease), background .3s;
    white-space:nowrap;
  }
  .btn-primary{background:var(--forest); color:var(--white); box-shadow:var(--shadow-sm)}
  .btn-primary:hover{transform:translateY(-3px); box-shadow:var(--shadow-md); background:var(--forest-2)}
  .btn-accent{background:var(--wood); color:#fff; box-shadow:0 10px 26px rgba(181,101,47,.35)}
  .btn-accent:hover{transform:translateY(-3px); box-shadow:0 16px 34px rgba(181,101,47,.45); background:var(--wood-dark)}
  .btn-ghost{background:rgba(255,255,255,.14); color:var(--white); border:1.5px solid rgba(255,255,255,.55); backdrop-filter:blur(6px)}
  .btn-ghost:hover{background:rgba(255,255,255,.26); transform:translateY(-3px)}
  .btn-outline{border:1.5px solid var(--forest); color:var(--forest)}
  .btn-outline:hover{background:var(--forest); color:#fff; transform:translateY(-3px)}
  .btn-wa{background:#1E3B2E; color:#fff}
  .btn-wa:hover{background:#132A20; transform:translateY(-3px); box-shadow:var(--shadow-md)}

  /* reveal on scroll */
  .reveal{opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease)}
  .reveal.in{opacity:1; transform:translateY(0)}
  .reveal-scale{opacity:0; transform:scale(.94); transition:opacity .8s var(--ease), transform .8s var(--ease)}
  .reveal-scale.in{opacity:1; transform:scale(1)}
  .stagger > *{transition-delay:calc(var(--i,0) * 90ms)}

  /* UTILITÁRIAS (antes eram estilos inline no HTML) */
  .bg-sand{background:var(--sand)}
  .bg-gray{background:var(--gray)}
  .section.pt-0{padding-top:0}
  .section-head.wide{max-width:none}
  .wrap.narrow{max-width:800px}
  .btn.btn-sm{padding:11px 22px; font-size:13.5px}
  .btn.btn-block{width:100%; margin-top:18px}
  .eyebrow.eyebrow-sand{color:var(--sand)}
  .config-title{color:#fff; margin-top:14px; font-size:clamp(26px,3.4vw,38px)}
  .config-sub{color:rgba(255,255,255,.72); margin-top:14px; font-size:15px; line-height:1.6}

  /* NAVBAR */
  #navbar{position:fixed; top:0; left:0; right:0; z-index:200; transition:background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s}
  #navbar .nav-inner{display:flex; align-items:center; justify-content:space-between; padding:26px 32px; max-width:1280px; margin:0 auto; transition:padding .4s var(--ease)}
  #navbar.scrolled{background:rgba(252,251,248,.85); backdrop-filter:blur(14px); box-shadow:0 4px 26px rgba(30,59,46,.08)}
  #navbar.scrolled .nav-inner{padding:14px 32px}
  .logo{display:flex; align-items:center; gap:10px; font-family:'Fraunces',serif; font-weight:700; font-size:22px; color:var(--forest)}
  #navbar:not(.scrolled) .logo{color:#fff}
  .logo .dot{width:9px; height:9px; border-radius:50%; background:var(--wood)}
  .nav-links{display:flex; gap:34px; align-items:center}
  .nav-links a{font-size:14.5px; font-weight:500; color:var(--ink); position:relative; padding:6px 0; transition:color .3s}
  #navbar:not(.scrolled) .nav-links a{color:#fff}
  .nav-links a::after{content:''; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--wood); transition:width .35s var(--ease)}
  .nav-links a:hover::after, .nav-links a.active::after{width:100%}
  .nav-links a.active{font-weight:600}
  .nav-cta{display:flex; align-items:center; gap:18px}
  #navbar:not(.scrolled) .btn-outline{border-color:rgba(255,255,255,.7); color:#fff}
  #navbar:not(.scrolled) .btn-outline:hover{background:#fff; color:var(--forest)}
  .burger{display:none; flex-direction:column; gap:5px; width:26px}
  .burger span{height:2px; background:currentColor; border-radius:2px}
  #navbar:not(.scrolled) .burger{color:#fff}
  #navbar.scrolled .burger{color:var(--forest)}

  #mobile-menu{position:fixed; inset:0; background:var(--forest); z-index:300; display:flex; flex-direction:column; padding:32px; transform:translateY(-100%); transition:transform .5s var(--ease); overflow-y:auto}
  #mobile-menu.open{transform:translateY(0)}
  #mobile-menu a{color:#fff; font-family:'Fraunces',serif; font-size:30px; padding:16px 0; border-bottom:1px solid rgba(255,255,255,.15)}
  #mobile-menu .close-mb{align-self:flex-end; color:#fff; margin-bottom:20px}

  /* HERO */
  .hero{position:relative; min-height:100vh; min-height:100svh; display:flex; align-items:flex-end; overflow:hidden}
  .hero-bg{position:absolute; inset:0; background:url('https://i.postimg.cc/X743T43z/Chat-GPT-Image-4-de-ago-de-2026-22-28-46.png') center/cover no-repeat; transform:scale(1.08)}
  .hero-overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,26,20,.35) 0%, rgba(15,26,20,.35) 40%, rgba(13,23,18,.86) 100%)}
  .hero-content{position:relative; z-index:2; width:100%; padding:0 32px 96px; max-width:1280px; margin:0 auto}
  .hero-content .eyebrow{color:var(--sand); text-shadow:0 2px 10px rgba(0,0,0,.55); background:rgba(15,26,20,.4); padding:8px 16px 8px 12px; border-radius:100px; border:1px solid rgba(255,255,255,.18); backdrop-filter:blur(4px)}
  .hero-content .eyebrow::before{background:var(--sand)}
  .hero h1{color:#fff; font-size:clamp(40px,6vw,74px); line-height:1.04; max-width:850px; margin-top:20px}
  .hero p.sub{color:rgba(255,255,255,.82); font-size:19px; max-width:520px; margin-top:22px; line-height:1.6}
  .hero-actions{display:flex; gap:16px; margin-top:38px; flex-wrap:wrap}
  .badges{display:flex; gap:14px; margin-top:64px; flex-wrap:wrap}
  .badge{display:flex; align-items:center; gap:12px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); backdrop-filter:blur(10px); padding:14px 18px; border-radius:16px; color:#fff; animation:float 5s ease-in-out infinite}
  .badge:nth-child(2){animation-delay:.6s}
  .badge:nth-child(3){animation-delay:1.2s}
  .badge:nth-child(4){animation-delay:1.8s}
  @keyframes float{0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)}}
  .badge b{display:block; font-size:15px; font-weight:700}
  .badge span{display:block; font-size:12px; color:rgba(255,255,255,.7)}
  .badge svg{width:22px; height:22px; color:var(--sand)}
  .scroll-cue{position:absolute; bottom:28px; left:50%; transform:translateX(-50%); z-index:2; color:#fff; display:flex; flex-direction:column; align-items:center; gap:8px; font-size:11px; letter-spacing:.14em; text-transform:uppercase; opacity:.75}
  .scroll-cue .line{width:1px; height:34px; background:linear-gradient(#fff, transparent); animation:scrolldown 2s infinite}
  @keyframes scrolldown{0%{opacity:0; transform:scaleY(.3)} 40%{opacity:1; transform:scaleY(1)} 100%{opacity:0; transform:scaleY(.3) translateY(6px)}}

  /* CANOPY DIVIDER — signature element */
  .canopy{width:100%; height:64px; display:block; margin-top:-2px}
  .canopy path{fill:var(--white)}
  .canopy.sand path{fill:var(--sand)}
  .canopy.forest path{fill:var(--forest)}
  .canopy.gray path{fill:var(--gray)}

  /* PRODUCTS / CATEGORIES */
  .cat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px}
  .cat-card{background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .5s var(--ease), box-shadow .5s var(--ease); display:flex; flex-direction:column; cursor:pointer}
  .cat-card:hover{transform:translateY(-8px); box-shadow:var(--shadow-lg)}
  .cat-media{position:relative; aspect-ratio:4/3; overflow:hidden; cursor:pointer}
  .cat-media img{width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease)}
  .cat-card:hover .cat-media img{transform:scale(1.07)}
  .cat-body{padding:26px 26px 24px; display:flex; flex-direction:column; gap:14px; flex:1}
  .cat-body h3{font-size:22px}
  .cat-body p.desc{color:var(--ink-60); font-size:14.5px; line-height:1.6}
  .cat-actions{display:flex; gap:10px; margin-top:auto; padding-top:8px}
  .cat-actions .btn{flex:1; padding:12px 14px; font-size:13.5px}

  /* CONFIGURATOR */
  .configurator{background:var(--forest); border-radius:32px; padding:64px; color:#fff; display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; position:relative; overflow:hidden}
  .configurator::before{content:''; position:absolute; width:520px; height:520px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.06),transparent 70%); top:-160px; right:-160px}
  .config-options{display:grid; grid-template-columns:1fr 1fr; gap:12px; position:relative; z-index:1}
  .config-opt{display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:14px; border:1.5px solid rgba(255,255,255,.18); background:rgba(255,255,255,.04); transition:all .3s var(--ease)}
  .config-opt:hover{border-color:rgba(255,255,255,.4)}
  .config-opt .opt-icon{width:30px; height:30px; border-radius:9px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; color:var(--wood-light); flex-shrink:0}
  .config-opt .opt-icon i{font-size:15px}
  .config-opt input{accent-color:var(--wood); width:18px; height:18px; margin-left:auto}
  .config-opt label{font-size:14.5px; cursor:pointer}
  .config-opt.checked{background:rgba(255,255,255,.12); border-color:var(--wood)}
  .config-opt.checked .opt-icon{background:var(--wood); color:#fff}
  .config-preview{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:20px; padding:32px; position:relative; z-index:1}
  .config-preview h3{color:#fff; font-size:20px}
  #config-list{list-style:none; padding:0; margin:18px 0; display:flex; flex-direction:column; gap:10px; min-height:60px}
  #config-list li{display:flex; align-items:center; gap:10px; font-size:14.5px; color:rgba(255,255,255,.9); animation:popin .35s var(--ease)}
  #config-list .empty{color:rgba(255,255,255,.5); font-style:italic}
  @keyframes popin{from{opacity:0; transform:translateX(-8px)} to{opacity:1; transform:translateX(0)}}
  .config-count{font-size:13px; color:rgba(255,255,255,.6); margin-top:6px}

  /* PROJECTS */
  .filters{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px}
  .filter-btn{padding:10px 20px; border-radius:100px; font-size:13.5px; font-weight:600; border:1.5px solid var(--sage-light); color:var(--ink-60); transition:all .3s var(--ease)}
  .filter-btn.active, .filter-btn:hover{background:var(--forest); color:#fff; border-color:var(--forest)}
  .projects-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px}
  .project-card{border-radius:20px; overflow:hidden; position:relative; aspect-ratio:4/5; cursor:pointer; box-shadow:var(--shadow-sm); transition:transform .5s var(--ease), box-shadow .5s var(--ease)}
  .project-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-lg)}
  .project-card img{width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease)}
  .project-card:hover img{transform:scale(1.09)}
  .project-card .info{position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,rgba(15,26,20,.88)); display:flex; flex-direction:column; justify-content:flex-end; padding:22px; color:#fff}
  .project-card .cat{font-size:11.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--sand); font-weight:600}
  .project-card h4{color:#fff; font-size:20px; margin-top:6px}
  .project-card .meta{font-size:13px; color:rgba(255,255,255,.75); margin-top:6px; display:flex; gap:14px}
  .project-card.hidden{display:none}

  /* BEFORE / AFTER */
  .compare{position:relative; width:100%; aspect-ratio:16/8; border-radius:24px; overflow:hidden; box-shadow:var(--shadow-md); user-select:none; touch-action:pan-y}
  .compare img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; -webkit-user-drag:none; -khtml-user-drag:none; -moz-user-drag:none; -o-user-drag:none; user-drag:none; pointer-events:none}
  .compare .after-wrap{position:absolute; inset:0; overflow:hidden; width:50%}
  .compare .after-wrap img{position:absolute; top:0; left:0; height:100%; max-width:none; object-fit:cover}
  .compare-handle{position:absolute; top:0; bottom:0; left:50%; width:0; display:flex; align-items:center; justify-content:center; cursor:ew-resize; transform:translateX(-50%); touch-action:none}
  .compare-handle::before{content:''; position:absolute; top:0; bottom:0; left:50%; width:3px; background:#fff; transform:translateX(-50%); box-shadow:0 0 12px rgba(0,0,0,.3)}
  .compare-handle .grip{width:52px; height:52px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); color:var(--forest)}
  .compare-label{position:absolute; top:18px; padding:8px 16px; border-radius:100px; background:rgba(15,26,20,.6); color:#fff; font-size:12px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; backdrop-filter:blur(4px)}
  .label-before{left:18px}
  .label-after{right:18px}

  /* DIFERENCIAIS */
  .diff-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--sage-light); border-radius:24px; overflow:hidden}
  .diff-item{background:#fff; padding:44px 36px; display:flex; flex-direction:column; gap:16px}
  .diff-item .icon-wrap{width:54px; height:54px; border-radius:14px; background:var(--sage-light); display:flex; align-items:center; justify-content:center; color:var(--forest)}
  .diff-item h4{font-size:19px}
  .diff-item p{color:var(--ink-60); font-size:14.5px; line-height:1.6}

  /* TIMELINE */
  .timeline{position:relative; display:grid; grid-template-columns:repeat(6,1fr); gap:0}
  .timeline::before{content:''; position:absolute; top:34px; left:8%; right:8%; height:2px; background:repeating-linear-gradient(90deg, var(--sage-light) 0 10px, transparent 10px 18px)}
  .tl-step{display:flex; flex-direction:column; align-items:center; text-align:center; gap:16px; position:relative}
  .tl-num{width:68px; height:68px; border-radius:50%; background:var(--forest); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm); position:relative; z-index:1}
  .tl-step h4{font-size:15.5px}
  .tl-step p{font-size:13px; color:var(--ink-60); line-height:1.5}

  /* TESTIMONIALS */
  .swiper{padding:10px 4px 54px}
  .review-card{background:#fff; border-radius:20px; padding:30px; box-shadow:var(--shadow-sm); height:100%; display:flex; flex-direction:column; gap:16px; border:1px solid var(--sage-light); position:relative}
  .review-card .quote-icon{position:absolute; top:22px; right:24px; color:var(--sage-light); width:32px; height:32px}
  .review-stars{color:var(--wood); display:flex; gap:3px}
  .review-card p.txt{font-size:14.5px; line-height:1.65; color:var(--ink); flex:1}
  .review-who{display:flex; align-items:center; gap:12px}
  .review-avatar{width:44px; height:44px; border-radius:50%; background:var(--sage-light); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--forest); font-family:'Fraunces',serif}
  .review-who b{font-size:14.5px; display:block}
  .review-who span{font-size:12.5px; color:var(--ink-60)}
  .swiper-pagination-bullet{background:var(--sage)}
  .swiper-pagination-bullet-active{background:var(--forest)}

  /* FAQ */
  .faq-item{border-bottom:1px solid var(--sage-light)}
  .faq-q{width:100%; display:flex; justify-content:space-between; align-items:center; padding:26px 4px; text-align:left; font-size:17px; font-weight:600; color:var(--forest); font-family:'Fraunces',serif}
  .faq-q .plus{transition:transform .4s var(--ease); color:var(--wood); flex-shrink:0; margin-left:20px}
  .faq-item.open .plus{transform:rotate(135deg)}
  .faq-a{max-height:0; overflow:hidden; transition:max-height .45s var(--ease)}
  .faq-a p{padding:0 4px 26px; color:var(--ink-60); font-size:14.5px; line-height:1.7; max-width:640px}

  /* COUNTERS */
  .counters-band{background:var(--forest); border-radius:32px; padding:56px 40px; position:relative; overflow:hidden}
  .counters-band::before{content:''; position:absolute; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.05),transparent 70%); bottom:-200px; left:-140px}
  .counters{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; position:relative; z-index:1}
  .counter-num{font-family:'Fraunces',serif; font-size:clamp(34px,4vw,52px); color:var(--sand); font-weight:700}
  .counter-label{font-size:13.5px; color:rgba(255,255,255,.68); margin-top:8px; letter-spacing:.02em}

  /* CTA FINAL */
  .cta-final{position:relative; border-radius:32px; overflow:hidden; min-height:420px; display:flex; align-items:center}
  .cta-final img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
  .cta-final .overlay{position:absolute; inset:0; background:linear-gradient(120deg, rgba(15,26,20,.92), rgba(15,26,20,.55))}
  .cta-final-content{position:relative; z-index:1; padding:64px; max-width:600px}
  .cta-final-content h2{color:#fff; font-size:clamp(28px,3.6vw,42px)}
  .cta-final-content p{color:rgba(255,255,255,.8); margin-top:16px; font-size:16px; line-height:1.6}
  .cta-final-content .btn{margin-top:30px}

  /* FOOTER */
  footer{background:var(--forest); color:rgba(255,255,255,.72); padding:88px 0 0; position:relative}
  footer::before{content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, transparent, var(--wood) 50%, transparent); opacity:.8}
  .footer-grid{display:grid; grid-template-columns:1.5fr 1fr 1.2fr; gap:64px; padding-bottom:56px}
  .footer-brand .logo{color:#fff; font-size:24px}
  .footer-brand p{font-size:14.5px; line-height:1.75; max-width:340px; margin-top:18px; color:rgba(255,255,255,.7)}
  .footer-grid h5{color:#fff; font-size:13px; margin-bottom:26px; letter-spacing:.14em; text-transform:uppercase; font-family:'Inter',sans-serif; font-weight:700; position:relative; padding-bottom:14px}
  .footer-grid h5::after{content:''; position:absolute; left:0; bottom:0; width:28px; height:2px; background:var(--wood); border-radius:2px}
  .footer-grid ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; font-size:14.5px}
  .footer-links a{display:inline-block; transition:color .3s, transform .3s var(--ease)}
  .footer-links a:hover{color:#fff; transform:translateX(5px)}
  .footer-contact li{display:flex; align-items:center; gap:14px}
  .footer-contact .ci{width:38px; height:38px; flex-shrink:0; border-radius:12px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; color:var(--wood-light)}
  .footer-contact a{transition:color .3s}
  .footer-contact a:hover{color:#fff}
  .foot-bottom{display:flex; justify-content:space-between; align-items:center; padding:26px 0 30px; font-size:13px; flex-wrap:wrap; gap:12px; border-top:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.55)}

  /* WHATSAPP FLOAT */
  .wa-float{position:fixed; bottom:26px; right:26px; z-index:150; background:#1E3B2E; width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); color:#fff; animation:pulse 2.4s infinite}
  @keyframes pulse{0%{box-shadow:0 0 0 0 rgba(30,59,46,.5)} 70%{box-shadow:0 0 0 16px rgba(30,59,46,0)} 100%{box-shadow:0 0 0 0 rgba(30,59,46,0)}}

  /* MODALS */
  .modal-backdrop{position:fixed; inset:0; background:rgba(15,20,17,.68); backdrop-filter:blur(6px); z-index:400; display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; transition:opacity .35s var(--ease)}
  .modal-backdrop.open{opacity:1; pointer-events:auto}
  .modal-box{background:#fff; border-radius:26px; max-width:980px; width:100%; max-height:88vh; overflow-y:auto; position:relative; transform:translateY(30px) scale(.97); transition:transform .4s var(--ease); box-shadow:var(--shadow-lg)}
  .modal-backdrop.open .modal-box{transform:translateY(0) scale(1)}
  .modal-close{position:absolute; top:20px; right:20px; z-index:5; width:42px; height:42px; border-radius:50%; background:#fff; box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center}
  .modal-gallery{position:relative; aspect-ratio:16/8; overflow:hidden}
  .modal-gallery img{width:100%; height:100%; object-fit:cover}
  .modal-gallery-nav{position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm)}
  .gnav-prev{left:16px} .gnav-next{right:16px}
  .gallery-dots{position:absolute; bottom:16px; left:50%; transform:translateX(-50%); display:flex; gap:6px}
  .gallery-dots span{width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.55)}
  .gallery-dots span.active{background:#fff; width:20px; border-radius:5px}
  .modal-body{padding:40px}
  .modal-body h3{font-size:28px}
  .modal-body .modal-desc{color:var(--ink-60); margin-top:14px; line-height:1.7; font-size:15px}
  .modal-body .modal-actions{display:flex; gap:12px; margin-top:10px; flex-wrap:wrap}

  .lightbox{position:fixed; inset:0; background:rgba(10,14,11,.94); z-index:500; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity .3s}
  .lightbox.open{opacity:1; pointer-events:auto}
  .lightbox img{max-width:90vw; max-height:82vh; object-fit:contain; border-radius:8px}
  .lightbox-close{position:absolute; top:26px; right:32px; color:#fff}
  .lightbox-nav{position:absolute; top:50%; transform:translateY(-50%); color:#fff; width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center}
  .lb-prev{left:24px} .lb-next{right:24px}
  .lightbox-caption{position:absolute; bottom:28px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.75); font-size:13px}

  @media (max-width:1100px){
    .cat-grid{grid-template-columns:repeat(2,1fr)}
    .projects-grid{grid-template-columns:repeat(2,1fr)}
    .diff-grid{grid-template-columns:repeat(2,1fr)}
    .configurator{grid-template-columns:1fr; padding:40px}
    .config-options{grid-template-columns:1fr 1fr}
    .footer-grid{grid-template-columns:1fr 1fr; gap:48px 40px}
    .footer-brand{grid-column:1 / -1}
    .timeline{grid-template-columns:repeat(3,1fr); row-gap:40px}
    .timeline::before{display:none}
  }
  @media (max-width:720px){
    .nav-links, .nav-cta .btn-outline{display:none}
    .burger{display:flex}
    .section{padding:76px 0}
    .wrap{padding:0 20px}
    .cat-grid, .projects-grid, .diff-grid{grid-template-columns:1fr}
    .counters{grid-template-columns:1fr 1fr}
    .counters-band{padding:36px 24px; border-radius:24px}
    .timeline{grid-template-columns:1fr 1fr}
    .footer-grid{grid-template-columns:1fr; gap:40px}
    footer{padding-top:64px}
    .foot-bottom{flex-direction:column; align-items:flex-start}
    .cta-final-content{padding:36px}
  }
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:.001ms !important; transition-duration:.001ms !important}
    html{scroll-behavior:auto}
  }
