
:root{
  --navy:#0b2946;--deep:#063747;--teal:#0b929a;--teal2:#08747c;
  --aqua:#e8fafa;--line:#dce8eb;--muted:#6b7b84;--white:#fff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;color:var(--navy);background:#fff}
button,input,select{font:inherit} button{cursor:pointer} a{text-decoration:none;color:inherit}

.site-header{
  height:84px;display:flex;align-items:center;justify-content:space-between;
  padding:0 7vw;background:#fff;position:relative;z-index:20;
}
.header-logo img{display:block;width:215px}
.desktop-nav{display:flex;align-items:center;gap:34px;font-weight:700}
.header-cta{border:0;border-radius:16px;padding:15px 22px;background:linear-gradient(135deg,var(--teal2),var(--teal));color:#fff;font-weight:800}

.hero{
  position:relative;height:calc(100svh - 84px);min-height:640px;overflow:hidden;
  background-image:url('assets/hero-desktop-clean.jpg');
  background-size:cover;background-position:center center;
}
.hero-shade{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(2,44,57,.80) 0%,rgba(3,56,68,.58) 34%,rgba(3,55,66,.22) 58%,rgba(3,55,66,0) 76%),
    linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.08));
}
.hero-content{
  position:relative;z-index:3;width:min(720px,48vw);height:100%;
  margin-left:7vw;display:flex;flex-direction:column;justify-content:center;color:#fff;
}
.desktop-hero-logo-wrap{display:flex;justify-content:center;margin-bottom:18px}
.desktop-hero-logo{width:270px;filter:brightness(0) invert(1)}
.hero h1{
  margin:0 0 10px;font-size:clamp(54px,5vw,80px);line-height:.96;
  letter-spacing:-.045em;font-weight:900;
}
.hero p{margin:0 0 24px;font-size:clamp(18px,1.4vw,23px);line-height:1.35}
.service-search{
  width:min(690px,100%);min-height:86px;border:0;border-radius:24px;background:#fff;
  display:grid;grid-template-columns:62px 1fr 64px;align-items:center;padding:10px;
  color:var(--navy);box-shadow:0 20px 48px rgba(0,0,0,.20);
}
.search-icon{width:56px;height:56px;border-radius:16px;background:var(--aqua);display:grid;place-items:center;color:var(--teal);font-size:27px}
.search-label{text-align:left;padding:0 17px;font-size:21px;font-weight:800}
.search-arrow{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--teal2),var(--teal));display:grid;place-items:center;color:#fff;font-size:29px}
.trust-row{display:grid;grid-template-columns:repeat(3,max-content);gap:30px;margin-top:20px;font-weight:700;font-size:15px}
.trust-item{display:flex;align-items:center;gap:9px}
.trust-icon{width:28px;height:28px;border-radius:50%;background:#fff;color:var(--navy);display:grid;place-items:center;font-weight:900}
.trust-icon.bolt{background:transparent;color:#ffd219;font-size:25px}
.trust-icon.card{border-radius:6px;font-size:14px}

.mobile-hero-top{display:none}
.content-section{padding:52px 7vw}
.content-section h2{font-size:42px;margin:0 0 8px}.content-section p{font-size:20px;color:var(--muted);margin:0}

/* POPUP */
.booking-modal{display:none;position:fixed;inset:0;z-index:100}
.booking-modal.is-open{display:block}
.modal-backdrop{position:absolute;inset:0;background:rgba(2,26,40,.70);backdrop-filter:blur(5px)}
.modal-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,92vw);height:min(760px,90svh);background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.36)}
.mobile-flow{display:none;position:fixed;inset:0;z-index:120;background:#fff}
.mobile-flow.is-open{display:block}

/* FLOW */
.flow-form{height:100%;display:flex;flex-direction:column;background:radial-gradient(circle at 100% 0%,#e9fbfb 0 13%,transparent 14%),radial-gradient(circle at 0 100%,#e9fbfb 0 17%,transparent 18%),#fff}
.flow-header{height:68px;flex:0 0 68px;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #eef3f4}
.flow-logo{width:155px}.flow-close{width:38px;height:38px;border:0;border-radius:50%;background:#f3f7f8;color:#7e8d95;font-size:26px}
.flow-body{flex:1;min-height:0;overflow:auto;padding:18px 28px 10px}
.flow-step{display:none}.flow-step.active{display:block}
.step-icon{width:42px;height:42px;border-radius:13px;background:var(--aqua);color:var(--teal);display:grid;place-items:center;font-size:21px;margin-bottom:12px}
.flow-step h2{font-size:31px;line-height:1.08;margin:0 0 20px}.flow-step h2 em{font-size:.65em;color:var(--muted);font-style:normal;font-weight:500}.helper{margin:-8px 0 16px;color:var(--muted)}
.choice-list{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.choice{min-height:80px;border:1.5px solid var(--line);background:#fff;border-radius:16px;padding:13px;display:flex;align-items:center;gap:12px;color:var(--navy);text-align:left}
.choice span{width:40px;height:40px;border-radius:11px;background:#f0fbfc;display:grid;place-items:center;color:var(--teal);font-size:21px;flex:0 0 auto}
.choice.selected,.size-grid button.selected,.number-grid button.selected,.supply.selected{border-color:#18b8c2;background:#ebfcfd}
.size-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.size-grid button{height:64px;border:1.5px solid var(--line);background:#fff;border-radius:15px;font-size:22px}
.number-grid{display:grid;grid-template-columns:repeat(3,88px);gap:11px}.number-grid button{height:72px;border:1.5px solid var(--line);background:#fff;border-radius:15px;font-size:24px;font-weight:800;color:var(--navy)}
.supply-list{display:grid;gap:11px}.supply{min-height:100px;width:100%;border:1.5px solid var(--line);background:#fff;border-radius:16px;padding:16px;display:flex;align-items:center;justify-content:space-between;text-align:left;color:var(--navy)}
.supply b{display:block;font-size:17px}.supply small{display:block;color:var(--muted);margin-top:5px;font-size:12px}.supply i{width:28px;height:28px;border:4px solid #e0e4e6;border-radius:50%;flex:0 0 auto}.supply.selected i{border-color:var(--teal);box-shadow:inset 0 0 0 5px #fff;background:var(--teal)}
.checks{display:grid;gap:7px}.checks label{min-height:48px;border:1.5px solid var(--line);border-radius:13px;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;font-weight:700}.checks input{width:20px;height:20px;accent-color:var(--teal)}
.stack{display:grid;gap:12px}.stack label{display:grid;gap:7px;color:var(--muted);font-weight:700}
.field{width:100%;height:56px;border:1.5px solid var(--line);border-radius:14px;padding:0 15px;outline:none;color:var(--navy);background:#fff}
.field:focus{border-color:#18b8c2;box-shadow:0 0 0 4px rgba(24,184,194,.1)}
.flow-footer{height:74px;flex:0 0 74px;padding:10px 20px 14px;border-top:1px solid #eef3f4;background:#fff;display:flex;align-items:center;justify-content:space-between}
.back{width:50px;height:50px;border-radius:50%;border:1.5px solid var(--line);background:#fff;color:var(--navy);font-size:22px}.next{height:50px;min-width:160px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--teal2),var(--teal));color:#fff;font-weight:800}
.success{text-align:center;padding-top:10vh}.success-icon{width:78px;height:78px;border-radius:50%;background:linear-gradient(135deg,var(--teal2),var(--teal));color:#fff;display:grid;place-items:center;font-size:40px;margin:0 auto 18px}.success p{color:var(--muted)}

@media(max-width:760px){
  .site-header{display:none}
  .hero{height:100svh;min-height:0;background-image:url('assets/hero-mobile-clean.jpg');background-position:center center;background-size:cover}
  .hero-shade{background:linear-gradient(180deg,rgba(0,0,0,.01) 0%,rgba(0,0,0,.02) 40%,rgba(2,43,55,.32) 63%,rgba(2,39,51,.94) 100%)}
  .mobile-hero-top{display:block;position:absolute;inset:0 0 auto 0;height:145px;z-index:5}
  .mobile-hero-logo{position:absolute;left:50%;top:20px;transform:translateX(-50%);width:225px;filter:brightness(0) invert(1)}
  .mobile-menu{position:absolute;top:19px;right:16px;border:0;background:transparent;color:#fff;font-size:29px;font-weight:800}
  .hero-content{width:100%;height:100%;margin:0;padding:0 18px 22px;justify-content:flex-end}
  .desktop-hero-logo-wrap{display:none}
  .hero h1{font-size:clamp(41px,10.8vw,56px);line-height:.96;margin-bottom:10px;max-width:94%}
  .hero p{font-size:17px;line-height:1.35;margin-bottom:15px}
  .service-search{width:100%;min-height:72px;grid-template-columns:50px 1fr 54px;padding:8px;border-radius:21px}
  .search-icon{width:48px;height:48px;border-radius:14px}.search-label{font-size:18px;padding:0 12px}.search-arrow{width:48px;height:48px;font-size:26px}
  .trust-row{width:100%;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px;font-size:11.5px;line-height:1.18}
  .trust-item{justify-content:center;gap:6px}.trust-icon{width:23px;height:23px;font-size:13px}
  .booking-modal{display:none!important}.mobile-flow{display:none}.mobile-flow.is-open{display:block}
  .flow-form{height:100svh}.flow-header{height:62px;flex-basis:62px;padding:10px 15px}.flow-logo{width:140px}
  .flow-body{padding:14px 16px 8px}.step-icon{width:38px;height:38px;font-size:19px;margin-bottom:10px}.flow-step h2{font-size:26px;margin-bottom:16px}
  .choice-list{grid-template-columns:1fr;gap:8px}.choice{min-height:64px;padding:10px 11px;border-radius:14px}.choice span{width:36px;height:36px;font-size:18px}
  .size-grid{gap:9px}.size-grid button{height:56px;font-size:20px}.number-grid{grid-template-columns:repeat(3,1fr);gap:9px}.number-grid button{height:60px;font-size:22px}
  .supply{min-height:88px;padding:13px}.supply b{font-size:15px}.supply small{font-size:11px}.checks label{min-height:44px;padding:9px 11px;font-size:13px}.field{height:54px;font-size:16px}
  .flow-footer{height:68px;flex-basis:68px;padding:8px 16px max(10px,env(safe-area-inset-bottom))}.back{width:48px;height:48px}.next{height:48px;min-width:152px}
}
@media(max-width:760px) and (max-height:700px){
  .mobile-hero-logo{width:185px;top:14px}.mobile-menu{top:13px}.hero h1{font-size:35px}.hero p{font-size:14px;margin-bottom:10px}.service-search{min-height:64px}.trust-row{font-size:9.8px;margin-top:9px}
}


/* === V8 PRICING FLOW === */
.size-grid-3{grid-template-columns:repeat(3,1fr)}
.live-price{
  margin-top:18px;
  padding:14px 16px;
  border-radius:14px;
  background:linear-gradient(135deg,#eefbfc,#e5f7f9);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:var(--navy);
}
.live-price span{font-weight:700}
.live-price strong{font-size:26px;color:#087b89}
.live-price.subtle strong{font-size:22px}
.final-price{margin-top:18px}
.final-price strong{font-size:30px}

.supply{position:relative;gap:16px}
.supply-add{margin-left:auto;white-space:nowrap;color:#087b89}
.supply.selected .supply-add{color:#056f79}

.extras-gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.extra-card{
  border:1.5px solid var(--line);
  background:#fff;
  border-radius:16px;
  min-height:150px;
  padding:14px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  color:var(--navy);
  text-align:center;
}
.extra-card.selected{
  border-color:#18b8c2;
  background:#ebfcfd;
  box-shadow:0 0 0 2px rgba(24,184,194,.08);
}
.extra-visual{
  width:64px;height:64px;border-radius:18px;
  display:grid;place-items:center;
  background:#f0fbfc;color:var(--teal);
  font-size:30px;font-weight:800;
}
.extra-name{font-weight:800;font-size:14px;line-height:1.2}
.extra-cost{font-size:13px;color:#087b89;font-weight:800}

.summary-card{
  display:grid;gap:0;
  border:1.5px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.summary-card>div{
  display:flex;justify-content:space-between;gap:20px;
  padding:13px 15px;border-bottom:1px solid #eef3f4;
}
.summary-card>div:last-child{border-bottom:0}
.summary-card span{color:var(--muted)}
.summary-card b{text-align:right}

@media(max-width:760px){
  .size-grid-3{grid-template-columns:repeat(3,1fr)}
  .size-grid-3 button{height:52px;font-size:18px}
  .extras-gallery{grid-template-columns:repeat(2,1fr);gap:9px}
  .extra-card{min-height:128px;padding:11px 8px}
  .extra-visual{width:54px;height:54px;font-size:25px}
  .extra-name{font-size:13px}
  .live-price{margin-top:12px;padding:11px 13px}
  .live-price strong{font-size:22px}
  .final-price strong{font-size:25px}
  .summary-card>div{padding:11px 12px;font-size:13px}
}


/* === V8.1 EXTRAS FIX — DESKTOP/TABLET ONLY ===
   Mobile rules below remain unchanged. */
@media (min-width:761px){

  /* Keep the modal fully inside short laptop/tablet viewports */
  .modal-dialog{
    height:min(720px,calc(100vh - 28px));
    max-height:calc(100vh - 28px);
  }

  .flow-header{
    height:58px;
    flex-basis:58px;
    padding:9px 18px;
  }

  .flow-logo{width:145px}

  .flow-body{
    padding:12px 24px 8px;
    overflow-y:auto;
    overscroll-behavior:contain;
  }

  .flow-footer{
    height:64px;
    flex-basis:64px;
    padding:7px 18px 9px;
    position:relative;
    z-index:8;
    background:#fff;
  }

  .flow-footer .back{
    width:46px;
    height:46px;
  }

  .flow-footer .next{
    height:46px;
    min-width:148px;
  }

  /* Extras page: compact 4 × 2 grid so price + buttons remain visible */
  .flow-step[data-step="3"] .step-icon{
    width:36px;
    height:36px;
    margin-bottom:7px;
    font-size:18px;
  }

  .flow-step[data-step="3"] h2{
    font-size:27px;
    margin-bottom:5px;
  }

  .flow-step[data-step="3"] .helper{
    margin:0 0 10px;
    font-size:14px;
  }

  .extras-gallery{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:9px;
  }

  .extra-card{
    min-height:112px;
    padding:9px 7px 8px;
    border-radius:14px;
    gap:5px;
  }

  .extra-visual{
    width:46px;
    height:46px;
    border-radius:13px;
    font-size:24px;
    line-height:1;
    background:#f3fbfc;
  }

  .extra-name{
    font-size:12px;
    line-height:1.15;
    min-height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .extra-cost{
    font-size:12px;
    line-height:1;
  }

  .flow-step[data-step="3"] .live-price{
    margin-top:10px;
    padding:10px 14px;
    min-height:48px;
  }

  .flow-step[data-step="3"] .live-price strong{
    font-size:22px;
  }

  /* Light color coding behind the colored icons */
  .extra-color-cab{background:#eef9d7}
  .extra-color-win{background:#fff1e9}
  .extra-color-blind{background:#e9f7ff}
  .extra-color-fridge{background:#e5fbf5}
  .extra-color-oven{background:#eef2ff}
  .extra-color-laundry{background:#fff4df}
  .extra-color-walls{background:#f2ecff}
  .extra-color-eco{background:#e8f9e8}
}

/* Extra safeguard for short laptop screens */
@media (min-width:761px) and (max-height:760px){
  .modal-dialog{
    height:calc(100vh - 18px);
    max-height:calc(100vh - 18px);
  }
  .flow-header{
    height:52px;
    flex-basis:52px;
  }
  .flow-body{
    padding-top:8px;
  }
  .flow-step[data-step="3"] .extra-card{
    min-height:98px;
    padding:7px 6px;
  }
  .flow-step[data-step="3"] .extra-visual{
    width:40px;
    height:40px;
    font-size:21px;
  }
  .flow-step[data-step="3"] .live-price{
    margin-top:7px;
    padding:8px 12px;
  }
  .flow-footer{
    height:58px;
    flex-basis:58px;
  }
}
