:root{
  --green:#0f5a42;
  --green-dark:#073b2d;
  --green-deep:#052d22;
  --gold:#e6bd69;
  --cream:#f6f3ec;
  --ink:#17201b;
  --line:rgba(15,90,66,.18);
  --shadow:0 22px 70px rgba(3,31,23,.25);
}

*{box-sizing:border-box}
html{height:100%;background:var(--green-deep)}
body{
  min-height:100%;
  margin:0;
  overflow:hidden;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:
    linear-gradient(90deg,rgba(3,38,28,.95),rgba(8,67,49,.76) 45%,rgba(3,38,28,.94)),
    url("assets/green-wood-texture.webp") center/cover fixed;
}
button,a{font:inherit}
button{border:0}

.topbar{
  height:86px;
  position:relative;
  z-index:20;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(15,90,66,.1);
}
.topbar-inner{
  width:min(1500px,calc(100% - 40px));
  height:100%;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.header-identity,.header-actions{display:flex;align-items:center}
.header-identity{gap:38px;min-width:0}
.header-actions{gap:24px;margin-left:auto}
.brand{display:flex;align-items:center;flex:0 0 auto;color:var(--green-dark);text-decoration:none;border-radius:10px}
.brand:focus-visible{outline:3px solid rgba(31,87,53,.28);outline-offset:5px}
.brand img{display:block;width:220px;height:auto}
.brand-location{display:flex;align-items:center;gap:6px;color:#3e433f;font-size:16px;white-space:nowrap}
.brand-location svg{width:10px;height:6px;fill:none;stroke:currentColor;stroke-width:1.8}
.header-contact{display:flex;flex-direction:column;align-items:center;line-height:1.08;white-space:nowrap}
.phone-number{font-family:Georgia,"Times New Roman",serif;font-size:19px;font-weight:800;color:#151a17;text-decoration:none;touch-action:manipulation}
.callback-link{margin-top:6px;color:var(--green);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
.callback-link:hover,.phone-number:hover{color:var(--green)}
.select-product-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:16px 24px;background:var(--green);color:#fff;font-size:16px;font-weight:800;line-height:1.2;text-decoration:none;white-space:nowrap;transition:transform .2s ease,background .2s ease}
.select-product-btn:hover{transform:translateY(-2px);background:var(--green-dark)}
.select-product-btn:focus-visible{outline:3px solid rgba(230,189,105,.65);outline-offset:3px}
.back-link{color:var(--green);font-size:13px;font-weight:800;text-decoration:none;border-bottom:1px solid transparent;white-space:nowrap}
.back-link:hover{border-color:currentColor}

.map-layout{
  width:min(1840px,100%);
  height:calc(100svh - 86px);
  margin:0 auto;
  padding:18px clamp(18px,2.4vw,44px);
  display:grid;
  grid-template-columns:minmax(230px,300px) minmax(0,1fr);
  align-items:center;
  gap:clamp(18px,2.2vw,36px);
}

.intro-panel{
  height:calc(100svh - 122px);
  max-height:100%;
  padding:clamp(22px,2.4vw,38px);
  border:1px solid rgba(255,255,255,.18);
  border-radius:28px;
  background:rgba(4,46,34,.72);
  color:#fff;
  box-shadow:0 18px 55px rgba(0,0,0,.16);
  backdrop-filter:blur(6px);
}
.eyebrow{margin:0 0 12px;color:var(--gold);font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.intro-panel h1{margin:0;font-size:clamp(28px,2.6vw,43px);line-height:1.04;letter-spacing:-.035em;text-wrap:balance}
.intro-copy{margin:18px 0 22px;color:rgba(255,255,255,.76);font-size:15px;line-height:1.55}
.legend{display:grid;gap:7px}
.legend button{
  width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;
  border-radius:12px;background:transparent;color:#fff;text-align:left;cursor:pointer;
  transition:background .18s ease,transform .18s ease;
}
.legend button:hover,.legend button:focus-visible{background:rgba(255,255,255,.1);transform:translateX(3px);outline:none}
.legend span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(230,189,105,.16);color:var(--gold);font-size:11px;font-weight:900}
.prototype-note{display:flex;gap:9px;align-items:flex-start;margin:20px 0 0;color:rgba(255,255,255,.6);font-size:12px;line-height:1.45}
.prototype-note span{flex:0 0 auto;width:8px;height:8px;margin-top:4px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 5px rgba(230,189,105,.12)}

.map-card{
  min-width:0;
  height:calc(100svh - 122px);
  max-height:calc(100svh - 122px);
  display:flex;
  flex-direction:column;
  border:1px solid rgba(230,189,105,.42);
  border-radius:30px;
  overflow:hidden;
  background:#0b3328;
  box-shadow:var(--shadow);
}
.map-toolbar{
  height:58px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:0 20px;
  color:#fff;
  background:linear-gradient(90deg,rgba(3,37,28,.98),rgba(11,73,53,.96));
  border-bottom:1px solid rgba(230,189,105,.3);
}
.map-toolbar strong{display:block;font-size:15px}
.map-toolbar span{font-size:11px;color:rgba(255,255,255,.62)}
.map-counter{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.1);color:var(--gold)!important;font-weight:800}
.map-media{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(90deg,rgba(5,45,34,.92),rgba(15,90,66,.3),rgba(5,45,34,.92)),
    url("assets/green-wood-texture.webp") center/cover;
}
.map-canvas{position:relative;height:100%;max-width:100%;aspect-ratio:1672/941}
.map-canvas>img{display:block;width:100%;height:100%;object-fit:contain}

.hotspot{
  --size:28px;
  position:absolute;
  width:var(--size);height:var(--size);
  padding:0;border:0;border-radius:50%;cursor:pointer;
  appearance:none;-webkit-appearance:none;
  background:transparent;
  transform:translate(-50%,-50%);
  z-index:5;
}
.hotspot:focus-visible{outline:3px solid #fff;outline-offset:3px}
.pulse{position:absolute;inset:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(255,255,255,.9),0 0 20px rgba(230,189,105,.95)}
.pulse:after{content:"";position:absolute;inset:-9px;border:1px solid rgba(230,189,105,.9);border-radius:50%;animation:pulse 2s ease-out infinite}
.hotspot:hover .pulse{transform:scale(1.18)}
.hotspot-house{left:19.4%;top:28.7%}
.hotspot-terrace{left:51.45%;top:25.9%}
.hotspot-bath{left:62.05%;top:67.7%}
.hotspot-pier{left:85.05%;top:40.2%}
.hotspot-yacht{left:89.15%;top:65.3%}
.hotspot-colors{left:25.9%;top:74.1%}
.map-object-label{
  position:absolute;z-index:4;padding:6px 11px;border-radius:8px;background:#fff;color:#17231d;
  font-family:Arial,"Helvetica Neue",sans-serif;font-size:clamp(11px,.95vw,16px);font-weight:400;line-height:1.1;white-space:nowrap;
  box-shadow:0 4px 12px rgba(0,0,0,.18);pointer-events:none;
}
.label-colors{left:14.7%;top:65.6%}
.label-colors::after{content:"";position:absolute;left:100%;top:72%;width:48px;height:2px;background:#fff;transform:rotate(31deg);transform-origin:left center}
@keyframes pulse{0%{opacity:.9;transform:scale(.7)}75%,100%{opacity:0;transform:scale(1.65)}}

.object-dialog{
  width:min(940px,calc(100% - 32px));
  max-height:calc(100svh - 40px);
  padding:0;
  border:0;
  border-radius:28px;
  overflow:hidden;
  color:var(--ink);
  background:#fff;
  box-shadow:0 35px 100px rgba(0,0,0,.38);
  grid-template-columns:1.15fr .85fr;
}
.object-dialog[open]{display:grid}
.object-dialog::backdrop{background:rgba(2,28,21,.78);backdrop-filter:blur(5px)}
.dialog-close{position:absolute;right:16px;top:14px;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--green-dark);font-size:25px;line-height:1;cursor:pointer;z-index:3;box-shadow:0 5px 18px rgba(0,0,0,.16)}
.dialog-image-wrap{position:relative;min-height:430px;background:#eef2ed;overflow:hidden}
.dialog-image-wrap img{width:100%;height:100%;min-height:430px;display:block;object-fit:cover;transition:opacity .3s ease,transform .42s ease;will-change:opacity,transform}
.dialog-image-wrap img.is-switching{opacity:.08;transform:scale(1.008)}
.house-points{position:absolute;inset:0;z-index:2}
.house-point{position:absolute;width:30px;height:30px;padding:0;border:4px solid #fff;border-radius:50%;background:var(--gold);cursor:pointer;box-shadow:0 0 0 1px rgba(4,46,34,.25),0 6px 25px rgba(0,0,0,.3);animation:pointPulse 2s ease-in-out infinite}
.house-point:after{content:"";position:absolute;inset:-12px;border:1px solid rgba(230,189,105,.9);border-radius:50%;animation:ringPulse 2s ease-out infinite}
.house-point span{position:absolute;left:50%;bottom:38px;padding:7px 10px;border-radius:999px;background:rgba(4,46,34,.9);color:#fff;font-size:12px;font-weight:900;white-space:nowrap;transform:translateX(-50%);box-shadow:0 6px 20px rgba(0,0,0,.2)}
.house-point:hover{transform:scale(1.12);animation:none}
.point-house-facade{left:67%;top:72%}.point-house-ends{left:32%;top:48%}.point-house-terrace{left:8%;top:83%}
.point-terrace-furniture{left:57%;top:62%}.point-terrace-deck{left:18%;top:82%}
.point-pier-deck{left:52%;top:61%}
.point-yacht-deck{left:64%;top:67%}
.point-bath-enter{left:49%;top:53%}
.point-bath-vestibule-table{left:25%;top:71%}.point-bath-vestibule-shower{left:54%;top:48%}.point-bath-vestibule-steam{left:82%;top:47%}
.back-to-house{position:absolute;left:18px;top:18px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--green-dark);font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 6px 22px rgba(0,0,0,.18);z-index:3}
.back-to-house[hidden]{display:none}
@keyframes pointPulse{50%{box-shadow:0 0 0 5px rgba(230,189,105,.22),0 8px 28px rgba(0,0,0,.33)}}
@keyframes ringPulse{0%{opacity:.9;transform:scale(.7)}75%,100%{opacity:0;transform:scale(1.6)}}
.dialog-content{padding:42px 38px;align-self:center}
.dialog-content h2{margin:0;font-size:38px;line-height:1.05;letter-spacing:-.035em}
.dialog-content>p:not(.eyebrow):not(.dialog-status){font-size:17px;line-height:1.55;color:#5d6b63}
.surface-list{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}
.surface-list button{padding:9px 12px;border-radius:999px;background:#e8f1ec;color:var(--green);font-size:13px;font-weight:900;cursor:pointer}
.surface-list button:hover,.surface-list button.is-active{background:var(--green);color:#fff}
.product-panel{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:center;margin:20px 0 12px;padding:14px 12px;border:1px solid var(--line);border-radius:18px;background:#fff;color:inherit;text-decoration:none;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.product-panel[hidden]{display:none}
.product-panel:hover,.product-panel:focus-visible{border-color:rgba(15,90,66,.42);box-shadow:0 12px 30px rgba(3,38,28,.11);transform:translateY(-2px);outline:none}
.product-panel img{position:relative;z-index:1;width:150px;height:165px;display:block;object-fit:contain;background:transparent;filter:drop-shadow(0 10px 12px rgba(3,38,28,.16));transform-origin:center;transition:transform .22s ease}
.product-panel img[src*="ultra-322"],.product-panel img[src*="ultra-324"],.product-panel img[src*="ultra-325"]{transform:scale(1.55)}
.product-panel img[src*="ultra-326"]{transform:scale(1.12)}
.product-panel img[src*="ultra-352"]{transform:scale(1.35)}
.product-panel img[src*="ultra-354"]{transform:scale(1.16)}
.product-panel>div{position:relative;z-index:2}
.product-panel span{color:var(--green);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.product-panel h3{margin:5px 0 6px;font-size:18px;line-height:1.15}
.product-panel p{margin:0;color:#627068;font-size:13px;line-height:1.42}
.product-panel .product-card-link{display:inline-block;margin-top:9px;color:var(--green);font-size:10px;font-weight:900;letter-spacing:.03em;text-transform:none}
.product-panel-secondary{margin-top:10px}
.object-dialog.has-two-products .dialog-content{padding-top:24px;padding-bottom:24px}
.object-dialog.has-two-products .dialog-content h2{font-size:32px}
.object-dialog.has-two-products .dialog-content>p:not(.eyebrow):not(.dialog-status){margin:10px 0;font-size:14px;line-height:1.4}
.object-dialog.has-two-products .product-panel{grid-template-columns:112px minmax(0,1fr);margin:10px 0;padding:9px}
.object-dialog.has-two-products .product-panel img{width:112px;height:112px}
.object-dialog.has-two-products .product-panel img[src*="ultra-352"]{transform:scale(1.16)}
.object-dialog.has-two-products .product-panel img[src*="ultra-354"]{transform:scale(1.03)}
.object-dialog.has-two-products .product-panel h3{font-size:16px}
.object-dialog.has-two-products .product-panel p{font-size:12px}
.object-dialog.has-two-products .surface-list{margin:12px 0}
.object-dialog.has-two-products .dialog-status{margin-top:12px;padding:12px 14px}
.dialog-status{margin:24px 0 0;padding:15px 17px;border-left:3px solid var(--gold);background:var(--cream);color:#5f675f;font-size:13px;line-height:1.45}
.object-dialog.is-placeholder .dialog-image-wrap{display:none}
.object-dialog.is-placeholder{grid-template-columns:1fr;width:min(560px,calc(100% - 32px))}
.object-dialog.is-placeholder .house-points,.object-dialog.is-placeholder .back-to-house{display:none}

.color-dialog{
  width:min(1160px,calc(100% - 32px));
  max-height:calc(100svh - 34px);
  padding:0;
  border:0;
  border-radius:28px;
  overflow:hidden;
  color:var(--ink);
  background:#f8faf7;
  box-shadow:0 35px 100px rgba(0,0,0,.4);
}
.color-dialog[open]{display:flex;flex-direction:column}
.color-dialog::backdrop{background:rgba(2,28,21,.82);backdrop-filter:blur(6px)}
.color-dialog-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:30px 70px 20px 32px;background:#fff;border-bottom:1px solid var(--line)}
.color-dialog-header h2{margin:0;font-size:clamp(28px,3vw,42px);line-height:1.04;letter-spacing:-.035em}
.color-dialog-header>div>p:last-child{margin:9px 0 0;color:#68756e;font-size:14px}
.palette-tabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.palette-tabs button{padding:10px 14px;border-radius:999px;background:#e8f1ec;color:var(--green);font-size:13px;font-weight:900;cursor:pointer}
.palette-tabs button span{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:5px;padding:0 5px;border-radius:99px;background:rgba(15,90,66,.1);font-size:10px}
.palette-tabs button.is-active{background:var(--green);color:#fff}
.palette-tabs button.is-active span{background:rgba(255,255,255,.18)}
.swatch-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:12px;padding:22px 32px 26px;overflow:auto;overscroll-behavior:contain}
.swatch-card{min-width:0;margin:0;overflow:hidden;border:1px solid rgba(15,90,66,.14);border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(3,38,28,.06);transition:transform .18s ease,box-shadow .18s ease}
.swatch-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(3,38,28,.13)}
.swatch-card img{display:block;width:100%;aspect-ratio:2.2/1;object-fit:cover;background:#e6e0d4}
.swatch-card figcaption{display:flex;align-items:center;gap:10px;min-height:48px;padding:9px 11px;color:var(--green-dark)}
.swatch-code{display:grid;place-items:center;flex:0 0 auto;min-width:36px;height:27px;padding:0 6px;border-radius:8px;background:#e8f1ec;color:var(--green);font-size:11px;font-weight:900}
.swatch-name{min-width:0;font-size:13px;font-weight:900;line-height:1.15}
.color-dialog-note{padding:12px 32px 15px;border-top:1px solid var(--line);background:#fff;color:#6a766f;font-size:12px;line-height:1.4}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media (max-width:1180px){
  .topbar-inner{width:min(100% - 36px,1500px)}
  .header-identity{gap:22px}
  .header-actions{gap:16px}
  .back-link{display:none}
  .map-layout{grid-template-columns:230px minmax(0,1fr);padding:14px 18px;gap:16px}
  .intro-panel{padding:22px}.intro-panel h1{font-size:30px}.intro-copy{font-size:14px;margin:14px 0 16px}
  .legend{gap:3px}.legend button{padding:5px 8px}.prototype-note{margin-top:13px}
}

@media (max-height:820px) and (min-width:861px){
  .intro-panel{padding:22px 26px}
  .intro-panel h1{font-size:clamp(28px,2.3vw,38px)}
  .intro-copy{margin:14px 0 16px;font-size:14px;line-height:1.45}
  .legend{gap:3px}
  .legend button{padding:5px 8px}
  .prototype-note{margin-top:12px}
}

@media (max-width:860px){
  body{overflow:auto}
  .topbar{height:70px}.topbar-inner{width:min(100% - 28px,1500px)}.brand img{width:176px}.header-identity{gap:14px}.header-actions{gap:12px}.brand-location,.select-product-btn,.back-link{display:none}.phone-number{font-size:14px}.callback-link{font-size:9px;letter-spacing:.055em;margin-top:5px}
  .map-layout{height:auto;min-height:calc(100svh - 70px);display:flex;flex-direction:column;padding:14px}
  .intro-panel{width:100%;height:auto;border-radius:22px}
  .legend{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prototype-note{display:none}
  .map-card{width:100%;border-radius:20px}
  .map-toolbar{height:auto;padding:12px 14px}.map-toolbar>div span{display:none}
  .map-media{flex:none;width:100%;aspect-ratio:1672/941}
  .map-canvas{width:100%;height:auto}
  .object-dialog[open]{display:block}.dialog-image-wrap,.dialog-image-wrap img{min-height:260px;height:260px}.dialog-content{padding:28px 24px}
  .color-dialog-header{display:block;padding:26px 58px 18px 20px}.palette-tabs{justify-content:flex-start;margin-top:18px}
  .swatch-board{grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 20px}
  .color-dialog-note{padding:12px 20px 15px}
}

@media (max-width:620px){
  .topbar-inner{width:calc(100% - 28px)}
  .brand img{width:148px}
  .header-actions{gap:0}
  .header-contact{align-items:flex-end}
  .phone-number{display:inline-flex;align-items:center;justify-content:flex-end;min-height:44px;padding:8px 0 3px;font-size:14px}
  .callback-link{margin-top:-2px}
  .house-point span{bottom:34px;font-size:10px;padding:6px 8px}
  .product-panel{grid-template-columns:104px 1fr;gap:8px}.product-panel img{width:104px;height:120px}
  .product-panel img[src*="ultra-322"],.product-panel img[src*="ultra-324"],.product-panel img[src*="ultra-325"]{transform:scale(1.18)}
  .product-panel img[src*="ultra-326"]{transform:scale(1.02)}
  .product-panel img[src*="ultra-352"],.product-panel img[src*="ultra-354"]{transform:scale(1.04)}
  .swatch-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px}
  .swatch-card figcaption{display:block;min-height:61px}.swatch-code{display:inline-grid;margin-bottom:5px}.swatch-name{font-size:12px}
}

@media (max-width:360px){
  .topbar-inner{width:calc(100% - 18px)}
  .brand img{width:128px}
  .phone-number{font-size:13px}
  .callback-link{font-size:8px;letter-spacing:.03em}
}

@media (prefers-reduced-motion:reduce){.pulse:after,.house-point,.house-point:after{animation:none}.legend button,.dialog-image-wrap img,.product-panel{transition:none}}
