
:root{
 --fl-navy:#07131D;--fl-navy2:#0D1C28;--fl-olive:#87966B;--fl-olive-dark:#74815B;
 --fl-white:#fff;--fl-text:#20252A;--fl-muted:#69717C;--fl-soft:#F7F6F2;
 --fl-line:#E5E7E8;--fl-max:1180px;--fl-shadow:0 16px 45px rgba(7,19,29,.09)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0!important;font-family:"Avenir Next","Helvetica Neue",Arial,sans-serif!important;color:var(--fl-text)!important;background:#fff!important;-webkit-font-smoothing:antialiased}
a{text-decoration:none}
img{max-width:100%}
.wrap{width:min(var(--fl-max),calc(100% - 40px))!important;max-width:none!important;margin:auto!important;padding-left:0!important;padding-right:0!important}

/* global topbar + header matching approved reference */
.fl-top{background:var(--fl-navy)!important;color:#D7DEE3!important;border-bottom:1px solid rgba(255,255,255,.08)!important;font-size:12px!important}
.fl-top .wrap{height:35px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
.fl-top .left,.fl-top .right{display:flex!important;align-items:center!important;gap:24px!important}
.fl-top .accent{color:#A7B184!important}
.fl-header{position:sticky!important;top:0!important;z-index:900!important;background:var(--fl-navy)!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.fl-head{height:96px!important;display:flex!important;align-items:center!important;gap:28px!important}
.fl-logo{width:220px!important;flex:0 0 auto!important;display:block!important}
.fl-logo img{width:100%!important;height:auto!important;display:block!important}
.fl-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:28px!important;flex:1!important}
.fl-nav>div,.fl-nav>a{position:relative!important}
.fl-nav a,.fl-drop-label{color:#F1F4F6!important;font-size:13px!important;font-weight:500!important;white-space:nowrap!important;cursor:pointer!important}
.fl-nav>a:after,.fl-drop-label:after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:-13px!important;height:2px!important;background:var(--fl-olive)!important;transform:scaleX(0)!important;transition:.2s!important}
.fl-nav>a:hover:after,.fl-nav>a.active:after,.fl-drop:hover>.fl-drop-label:after{transform:scaleX(1)!important}
.fl-nav a:hover,.fl-nav a.active,.fl-drop:hover>.fl-drop-label{color:#AEB98D!important}
.fl-drop-menu{display:none!important;position:absolute!important;left:-18px!important;top:31px!important;min-width:230px!important;background:#0A1721!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:12px!important;padding:10px!important;box-shadow:0 16px 35px rgba(0,0,0,.25)!important}
.fl-drop:hover .fl-drop-menu{display:block!important}
.fl-drop-menu a{display:block!important;padding:10px 11px!important;border-radius:7px!important;color:#E9EEF1!important}
.fl-drop-menu a:hover{background:rgba(255,255,255,.06)!important}
.fl-header-cta{background:var(--fl-olive)!important;color:#fff!important;padding:15px 20px!important;border-radius:8px!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important;transition:.2s!important}
.fl-header-cta:hover{background:var(--fl-olive-dark)!important;transform:translateY(-1px)!important}
.fl-burger{display:none!important;margin-left:auto!important;background:transparent!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;border-radius:8px!important;width:43px!important;height:43px!important;font-size:21px!important}
.fl-mobile{display:none!important;background:#081621!important;border-top:1px solid rgba(255,255,255,.08)!important;padding:9px 20px 18px!important}
.fl-mobile.open{display:block!important}
.fl-mobile a{display:block!important;color:#EEF2F4!important;padding:12px 5px!important;border-bottom:1px solid rgba(255,255,255,.07)!important;font-size:14px!important}

/* page heroes and main cards */
main .pagehero,main .hero:not(.hero-final),.pagehero,.finance-hero,.project-hero{
 background:linear-gradient(120deg,#07131D 0%,#122837 100%)!important;color:#fff!important
}
.pagehero,.finance-hero,.project-hero{padding:76px 0!important}
.pagehero h1,.finance-hero h1,.project-hero h1,.hero h1{
 font-family:"Iowan Old Style","Palatino Linotype",Georgia,serif!important
}
.pagehero h1,.finance-hero h1,.project-hero h1{color:#fff!important;font-size:clamp(44px,5vw,64px)!important;line-height:1.02!important}
.pagehero p,.finance-hero p,.project-hero p{color:#DCE3E7!important;line-height:1.72!important}
.eyebrow,.kicker,.type{color:var(--fl-olive)!important;letter-spacing:.12em!important;text-transform:uppercase!important;font-size:11px!important;font-weight:900!important}
.section{padding-top:72px!important;padding-bottom:72px!important}
.section.soft{background:var(--fl-soft)!important}
.section-head h2,.section h2,.story-grid h2,.info h2{
 font-family:"Iowan Old Style","Palatino Linotype",Georgia,serif!important;color:var(--fl-navy)!important
}
.card,.product,.content-card,.project-card,.premium-card,.guarantee-card,.choice-card,.energy-card,.project-tech-card,.family-story,.value-card,.trust-card{
 border:1px solid var(--fl-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 9px 30px rgba(7,19,29,.055)!important
}
.product,.project-card,.content-card{overflow:hidden!important}
.product:hover,.project-card:hover,.content-card:hover{transform:translateY(-4px)!important;box-shadow:var(--fl-shadow)!important}
.btn,.btn.red,.cta,.nav-cta,button.btn,form button{
 background:var(--fl-olive)!important;color:#fff!important;border-color:var(--fl-olive)!important;border-radius:8px!important;font-weight:800!important
}
.btn:hover,.btn.red:hover,.cta:hover,.nav-cta:hover,button.btn:hover,form button:hover{background:var(--fl-olive-dark)!important;border-color:var(--fl-olive-dark)!important}
.btn.outline,.btn.secondary{background:transparent!important;color:inherit!important}
input,select,textarea{border-radius:9px!important;border:1px solid #D8DDE0!important}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(135,150,107,.35)!important;border-color:var(--fl-olive)!important}

/* Home approved layout */
.hero-final{margin-top:0!important}
.fl-process{background:#F8F7F4!important;padding:54px 0 64px!important;border-bottom:4px solid var(--fl-olive)!important}
.fl-process-intro{display:grid!important;grid-template-columns:300px 1fr!important;gap:38px!important;align-items:start!important}
.fl-process-copy .eyebrow{margin-bottom:7px!important}
.fl-process-copy h2{font-family:"Iowan Old Style","Palatino Linotype",Georgia,serif!important;font-size:38px!important;line-height:1.08!important;color:var(--fl-navy)!important;margin:0 0 13px!important}
.fl-process-copy p{color:var(--fl-muted)!important;line-height:1.7!important;font-size:13px!important}
.fl-process-grid{display:grid!important;grid-template-columns:repeat(6,1fr)!important;gap:10px!important}
.fl-step{position:relative!important;border:1px solid var(--fl-line)!important;background:#fff!important;border-radius:12px!important;padding:18px 14px!important;min-height:170px!important}
.fl-step-num{width:26px!important;height:26px!important;border-radius:50%!important;background:var(--fl-olive)!important;color:#fff!important;display:grid!important;place-items:center!important;font-weight:900!important;font-size:12px!important;margin-bottom:17px!important}
.fl-step-icon{font-size:25px!important;color:var(--fl-navy)!important;margin-bottom:10px!important}
.fl-step strong{display:block!important;font-size:13px!important;color:var(--fl-navy)!important;margin-bottom:6px!important}
.fl-step span{font-size:11px!important;color:var(--fl-muted)!important;line-height:1.48!important}

/* Global footer */
.fl-footer{background:var(--fl-navy)!important;color:#C8D0D6!important;padding:50px 0 20px!important}
.fl-footer-grid{display:grid!important;grid-template-columns:1.8fr 1fr 1fr 1fr!important;gap:34px!important}
.fl-footer-logo{width:225px!important;margin-bottom:14px!important;display:block!important}
.fl-footer-logo img{width:100%!important;height:auto!important}
.fl-footer h4{color:#fff!important;margin:0 0 12px!important}
.fl-footer p{font-size:13px!important;line-height:1.65!important;color:#C8D0D6!important}
.fl-footer a{display:block!important;color:#C8D0D6!important;font-size:13px!important;margin:8px 0!important}
.fl-footer a:hover{color:#AAB58C!important}
.fl-copy{border-top:1px solid rgba(255,255,255,.1)!important;margin-top:29px!important;padding-top:17px!important;font-size:12px!important;color:#98A4AD!important}
.wa{z-index:950!important}

/* hide legacy top/header/footer after replacement if any survived */
body>.top:not(.fl-top),body>header:not(.fl-header),body>footer:not(.fl-footer){display:none!important}

@media(max-width:1080px){
 .fl-nav,.fl-header-cta{display:none!important}.fl-burger{display:block!important}
 .fl-process-intro{grid-template-columns:1fr!important}.fl-process-grid{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:720px){
 .fl-top{display:none!important}.fl-head{height:76px!important}.fl-logo{width:175px!important}
 .wrap{width:min(var(--fl-max),calc(100% - 28px))!important}
 .fl-process-grid{grid-template-columns:1fr 1fr!important}
 .fl-footer-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:500px){
 .fl-process-grid,.fl-footer-grid{grid-template-columns:1fr!important}
}


/* =========================================================
   FINELUX MOBILE V8 — dedicated mobile layout
   ========================================================= */
@media(max-width:760px){

  html,body{overflow-x:hidden!important}

  /* Header */
  .fl-top{display:none!important}
  .fl-head{
    height:78px!important;
    padding:0!important;
    gap:12px!important;
  }
  .fl-logo{
    width:190px!important;
    max-width:62vw!important;
  }
  .fl-burger{
    display:grid!important;
    place-items:center!important;
    margin-left:auto!important;
    width:48px!important;
    height:48px!important;
    border-radius:12px!important;
    border:1px solid rgba(255,255,255,.20)!important;
    font-size:22px!important;
    line-height:1!important;
  }

  /* Mobile menu: compact and grouped */
  .fl-mobile{
    max-height:calc(100vh - 78px)!important;
    overflow-y:auto!important;
    padding:10px 20px 20px!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .fl-mobile a{
    padding:13px 0!important;
    font-size:16px!important;
    line-height:1.25!important;
  }
  /* hide secondary items from mobile main menu to avoid endless list */
  .fl-mobile a[href="pvc-ramen.html"],
  .fl-mobile a[href="aluminium-ramen.html"],
  .fl-mobile a[href="houten-ramen.html"],
  .fl-mobile a[href="werkwijze.html"],
  .fl-mobile a[href="garantie-service.html"]{
    display:none!important;
  }

  /* Home hero */
  .home-hero{
    min-height:0!important;
    height:auto!important;
    padding-bottom:0!important;
  }
  .home-hero-bg{
    height:520px!important;
    object-fit:cover!important;
    object-position:64% center!important;
  }
  .home-hero:after{
    height:520px!important;
    background:
      linear-gradient(180deg,rgba(3,10,16,.34) 0%,rgba(3,10,16,.16) 30%,rgba(3,10,16,.58) 72%,rgba(3,10,16,.96) 100%),
      linear-gradient(90deg,rgba(3,10,16,.72) 0%,rgba(3,10,16,.26) 62%,rgba(3,10,16,.05) 100%)!important;
  }
  .home-hero-main{
    min-height:520px!important;
    height:520px!important;
    align-items:flex-end!important;
    padding-bottom:24px!important;
  }
  .home-copy{
    max-width:none!important;
    width:100%!important;
    padding:0 0 16px!important;
  }
  .home-copy .eyebrow{
    font-size:10px!important;
    line-height:1.35!important;
    letter-spacing:.10em!important;
    margin-bottom:10px!important;
    max-width:92%!important;
  }
  .home-copy h1{
    font-size:clamp(39px,10.7vw,49px)!important;
    line-height:.99!important;
    letter-spacing:-.035em!important;
    margin:0 0 13px!important;
    max-width:96%!important;
  }
  .home-copy p{
    font-size:14px!important;
    line-height:1.55!important;
    max-width:96%!important;
    display:-webkit-box!important;
    -webkit-line-clamp:4!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .home-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
    margin-top:16px!important;
  }
  .home-actions .btn{
    width:100%!important;
    min-height:44px!important;
    padding:11px 10px!important;
    font-size:11.5px!important;
    text-align:center!important;
  }

  /* Benefits: compact 2x2 cards, not long vertical list */
  .home-benefits{
    position:relative!important;
    height:auto!important;
    background:#07131D!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
  }
  .home-benefits .wrap{
    height:auto!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:0!important;
  }
  .home-benefit{
    min-height:92px!important;
    padding:14px 13px!important;
    border-right:1px solid rgba(255,255,255,.10)!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }
  .home-benefit:nth-child(2n){border-right:0!important}
  .home-benefit strong{
    font-size:12px!important;
    line-height:1.25!important;
    margin-bottom:5px!important;
  }
  .home-benefit span{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  /* Process */
  .process-approved{
    padding:34px 0 40px!important;
  }
  .process-layout{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  .process-copy h2{
    font-size:31px!important;
    max-width:330px!important;
  }
  .process-copy p{
    font-size:12.5px!important;
    max-width:400px!important;
  }
  .process-grid{
    display:flex!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    gap:12px!important;
    padding-bottom:8px!important;
    scrollbar-width:none!important;
  }
  .process-grid::-webkit-scrollbar{display:none!important}
  .process-card{
    min-width:74vw!important;
    scroll-snap-align:start!important;
  }
  .process-card-top{
    min-height:128px!important;
  }
  .process-card img{
    height:150px!important;
  }

  /* Product grid */
  .home-products{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  .home-product img{
    height:220px!important;
  }

  /* Trust */
  .home-trust{
    padding:45px 0!important;
  }
  .home-trust-grid{
    grid-template-columns:1fr!important;
    gap:25px!important;
  }
  .trust-list{
    grid-template-columns:1fr!important;
  }

  /* Footer */
  .fl-footer{
    padding:40px 0 18px!important;
  }
  .fl-footer-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
  }
}

@media(max-width:420px){
  .fl-logo{width:170px!important}
  .home-copy h1{
    font-size:38px!important;
    max-width:100%!important;
  }
  .home-copy p{
    font-size:13.5px!important;
  }
  .home-actions{
    grid-template-columns:1fr!important;
  }
  .home-benefits .wrap{
    grid-template-columns:1fr!important;
  }
  .home-benefit{
    min-height:72px!important;
    border-right:0!important;
  }
  .process-card{
    min-width:82vw!important;
  }
}


/* ============================================================
   FINELUX V9 — FULL RESPONSIVE SYSTEM
   Desktop > Laptop > Tablet > Mobile
   ============================================================ */

/* Fluid global sizing */
html{font-size:16px}
body{min-width:0}
img,svg,video{max-width:100%;height:auto}
button,input,select,textarea{max-width:100%}
.wrap{
  width:min(1180px,calc(100% - 48px))!important;
  margin-inline:auto!important;
}

/* Large desktop */
@media(min-width:1440px){
  .wrap{width:min(1240px,calc(100% - 64px))!important}
  .fl-head{height:96px!important}
  .fl-logo{width:225px!important}
  .fl-nav{gap:28px!important}
  .fl-nav a,.fl-drop-label{font-size:13px!important}
}

/* Normal desktop / laptop */
@media(max-width:1439px) and (min-width:1181px){
  .wrap{width:min(1120px,calc(100% - 44px))!important}
  .fl-head{height:88px!important}
  .fl-logo{width:205px!important}
  .fl-nav{gap:22px!important}
  .fl-nav a,.fl-drop-label{font-size:12.5px!important}
  .fl-header-cta{padding:13px 17px!important;font-size:12.5px!important}
}

/* Compact laptop */
@media(max-width:1180px) and (min-width:981px){
  .wrap{width:min(1040px,calc(100% - 36px))!important}
  .fl-head{height:84px!important;gap:18px!important}
  .fl-logo{width:188px!important}
  .fl-nav{gap:16px!important}
  .fl-nav a,.fl-drop-label{font-size:12px!important}
  .fl-header-cta{padding:12px 15px!important;font-size:12px!important}
}

/* Tablet landscape / small laptop: switch to burger */
@media(max-width:980px){
  .wrap{width:min(920px,calc(100% - 32px))!important}
  .fl-nav,.fl-header-cta{display:none!important}
  .fl-burger{display:grid!important;place-items:center!important}
  .fl-head{height:80px!important}
  .fl-logo{width:190px!important}
}

/* Tablet */
@media(max-width:820px){
  .wrap{width:min(760px,calc(100% - 28px))!important}
  .section,.home-section,.wood-section{padding-top:56px!important;padding-bottom:56px!important}
  .section-head h2,.home-head h2,.wood-section h2,.wood-intro h2{
    font-size:clamp(31px,5vw,38px)!important
  }
  .footer-grid,.fl-footer-grid{grid-template-columns:1fr 1fr!important}
}

/* Mobile */
@media(max-width:640px){
  .wrap{width:calc(100% - 28px)!important}
  .fl-head{height:74px!important}
  .fl-logo{width:170px!important;max-width:62vw!important}
  .fl-burger{width:46px!important;height:46px!important}
  .fl-mobile{max-height:calc(100vh - 74px)!important}
  .fl-mobile a{font-size:15px!important;padding:12px 0!important}

  .section,.home-section,.wood-section{padding-top:44px!important;padding-bottom:44px!important}
  .footer-grid,.fl-footer-grid{grid-template-columns:1fr!important}
}

/* Very small phones */
@media(max-width:390px){
  .wrap{width:calc(100% - 22px)!important}
  .fl-logo{width:156px!important}
  .fl-burger{width:44px!important;height:44px!important}
}
