
:root {
  --viz-deep: #092d38;
  --viz-teal: #0e5969;
  --viz-aqua: #26c4b8;
  --viz-lime: #d8f56a;
  --viz-cream: #f6f5ef;
  --viz-border: rgba(9,45,56,.14);
  --viz-muted: #5f6e73;
}

.viz-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(9rem, 16vw, 13rem) 0 clamp(5rem, 9vw, 8rem);
  color: #fff;
  background:
    radial-gradient(circle at 76% 24%, rgba(38,196,184,.24), transparent 28rem),
    linear-gradient(135deg,#061f28 0%,#0d3946 52%,#155d67 100%);
}

.viz-hero::after {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -17rem;
  bottom: -27rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 10rem rgba(255,255,255,.018);
}

.viz-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.viz-hero .section-label { color: var(--viz-aqua); }

.viz-hero h1 {
  max-width: 960px;
  margin: .7rem 0 1.35rem;
  font-family: var(--font-heading, "Archivo", system-ui, sans-serif);
  font-size: clamp(3rem, 7.5vw, 6.6rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.viz-hero h1 span { color: #8de7df; }

.viz-hero p {
  max-width: 820px;
  color: rgba(255,255,255,.77);
  font-size: clamp(1.05rem,1.7vw,1.3rem);
  line-height: 1.7;
}

.viz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.viz-disclosure {
  padding: 1rem 0;
  color: #334d55;
  background: var(--viz-cream);
  border-bottom: 1px solid var(--viz-border);
  font-size: .86rem;
  line-height: 1.55;
}

.viz-disclosure strong { color: var(--viz-deep); }

.viz-studio {
  padding: clamp(4.5rem,8vw,7.5rem) 0;
  background: #fff;
}

.viz-studio__grid {
  display: grid;
  grid-template-columns: minmax(320px,.78fr) minmax(0,1.22fr);
  gap: clamp(2rem,5vw,5rem);
  align-items: start;
}

.viz-controls {
  position: sticky;
  top: 6rem;
}

.viz-heading h2,
.viz-preview h2,
.viz-next-step h2 {
  margin: .45rem 0 .65rem;
  color: var(--viz-deep);
  font-family: var(--font-heading, "Archivo", system-ui, sans-serif);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.viz-heading h2 { font-size: clamp(1.8rem,3vw,2.6rem); }
.viz-heading p { margin: 0; color: var(--viz-muted); line-height: 1.65; }
.viz-heading--spaced { margin-top: 2rem; }

.family-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .7rem;
  margin-top: 1.25rem;
}

.family-card {
  display: flex;
  min-height: 9.5rem;
  padding: 1rem;
  border: 1px solid var(--viz-border);
  border-radius: 1rem;
  flex-direction: column;
  align-items: flex-start;
  color: var(--viz-deep);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: 160ms ease;
}

.family-card:hover,
.family-card:focus-visible,
.family-card.is-active {
  border-color: var(--viz-teal);
  box-shadow: 0 1rem 2.5rem rgba(9,45,56,.1);
  transform: translateY(-2px);
}

.family-card.is-active {
  background: #eef8f6;
}

.family-card__shape {
  position: relative;
  display: block;
  width: 100%;
  height: 3.6rem;
  margin-bottom: .7rem;
  border-radius: 1rem 2rem .8rem 1.7rem;
  background: linear-gradient(135deg,#159db0,#67d7d3);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.72);
}

.family-card__shape--rectangle { border-radius: .8rem; }
.family-card__shape--plunge { width: 62%; border-radius: 1rem; }
.family-card__shape--splash::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:42%;
  height:38%;
  border-radius:.7rem 0 0 .7rem;
  background:rgba(255,255,255,.43);
}
.family-card__shape--spa::after {
  content:"";
  position:absolute;
  right:.35rem;
  top:.35rem;
  width:2.5rem;
  height:2.5rem;
  border-radius:50%;
  background:rgba(255,255,255,.43);
}
.family-card__shape--freeform { border-radius: 55% 45% 62% 38% / 48% 62% 38% 52%; }
.family-card__shape--deep { transform: perspective(100px) rotateX(4deg); }

.family-card strong {
  font-size: .91rem;
  line-height: 1.25;
}

.family-card small {
  margin-top: .25rem;
  color: var(--viz-muted);
  font-size: .73rem;
  line-height: 1.35;
}

.option-group {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--viz-border);
}

.option-group h3 {
  margin: 0 0 .65rem;
  color: var(--viz-deep);
  font-size: .85rem;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.option-button {
  padding: .52rem .72rem;
  border: 1px solid var(--viz-border);
  border-radius: 999px;
  color: var(--viz-deep);
  background: #fff;
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
}

.option-button:hover,
.option-button:focus-visible,
.option-button.is-active {
  border-color: var(--viz-deep);
  color: #fff;
  background: var(--viz-deep);
}

.viz-preview {
  padding: clamp(1rem,2.4vw,1.5rem);
  border: 1px solid var(--viz-border);
  border-radius: 1.5rem;
  background: #f7faf9;
  box-shadow: 0 2rem 5rem rgba(9,45,56,.1);
}

.viz-preview__top {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.viz-preview__top h2 { font-size: clamp(2rem,4vw,3.4rem); }
.viz-preview__top p { margin: 0; color: var(--viz-muted); }

.viz-preview__catalog-link {
  color: var(--viz-deep);
  font-size: .78rem;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: .25rem;
}

.viz-preview__stage {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  margin: 0;
  border-radius: 1.15rem;
  background: #d9eae7;
}

.viz-preview__stage picture,
.viz-preview__stage img {
  display: block;
  width: 100%;
  height: 100%;
}

.viz-preview__stage img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: filter 250ms ease, transform 500ms ease;
}

.viz-preview__stage:hover img { transform: scale(1.015); }

.viz-preview__tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,rgba(5,25,32,.08),rgba(5,25,32,.52)),
    radial-gradient(circle at 75% 15%,transparent 0 14rem,rgba(8,38,47,.09) 28rem);
  pointer-events: none;
}

.viz-preview__stage[data-hardscape="warm-pavers"] img { filter: saturate(1.08) sepia(.12) hue-rotate(-8deg); }
.viz-preview__stage[data-hardscape="large-format"] img { filter: saturate(.88) contrast(1.05); }
.viz-preview__stage[data-landscape="resort"] .viz-preview__tint { background: linear-gradient(180deg,rgba(9,82,63,.04),rgba(5,25,32,.5)); }
.viz-preview__stage[data-landscape="minimal"] img { filter: saturate(.72) contrast(1.08); }
.viz-preview__stage[data-lighting="architectural"] .viz-preview__tint { background: linear-gradient(180deg,rgba(16,32,54,.13),rgba(5,18,34,.62)); }
.viz-preview__stage[data-lighting="subtle"] .viz-preview__tint { background: linear-gradient(180deg,rgba(255,255,255,.02),rgba(5,25,32,.38)); }

.viz-preview figcaption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: .35rem;
  flex-direction: column;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: .85rem;
  color: #fff;
  background: rgba(5,25,32,.58);
  backdrop-filter: blur(12px);
}

.viz-preview figcaption span { font-weight: 750; }
.viz-preview figcaption small { color: rgba(255,255,255,.68); }

.viz-preview__models {
  display: flex;
  gap: .45rem;
  margin: 1rem 0;
  flex-wrap: wrap;
  color: var(--viz-muted);
  font-size: .87rem;
  line-height: 1.5;
}

.viz-preview__models strong { color: var(--viz-deep); }

.viz-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.viz-preview__status {
  min-height: 1.4rem;
  margin: .8rem 0 0;
  color: var(--viz-teal);
  font-size: .82rem;
}

.viz-next-step {
  padding: clamp(4.5rem,8vw,7rem) 0;
  color: #fff;
  background: var(--viz-deep);
}

.viz-next-step__grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: clamp(2rem,6vw,6rem);
  align-items: center;
}

.viz-next-step h2 {
  color: #fff;
  font-size: clamp(2.25rem,4.8vw,4.2rem);
}

.viz-next-step p { color: rgba(255,255,255,.74); line-height:1.7; }

.footer__parent-brand {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
}

.footer__parent-brand a {
  display: inline-flex;
  gap: .4rem;
  align-items: baseline;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  text-decoration: none;
}

.footer__parent-brand strong { color:#fff; font-size:.9rem; }

@media (max-width: 1000px) {
  .viz-studio__grid,
  .viz-next-step__grid {
    grid-template-columns: 1fr;
  }

  .viz-controls { position: static; }
}

@media (max-width: 680px) {
  .viz-hero { padding-top: 7.5rem; }
  .viz-hero h1 { font-size: clamp(2.7rem,13vw,4.3rem); }
  .family-grid { grid-template-columns: 1fr 1fr; }
  .viz-preview__top { align-items: flex-start; flex-direction: column; }
  .viz-preview__stage { min-height: 27rem; }
  .viz-preview__catalog-link { white-space: normal; }
}

@media (max-width: 460px) {
  .family-grid { grid-template-columns: 1fr; }
  .viz-preview__stage { min-height: 22rem; }
  .viz-preview__actions .btn { width:100%; justify-content:center; }
}
