.vol-page {
  background:
    linear-gradient(180deg, #f2f9ff 0%, #ecf6ff 35%, #f7fbff 100%);
}

.vol {
  max-width: 1380px;
  margin: 0 auto;
  padding: 2rem 1rem 3.2rem;
}

.vol-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  margin-inline: calc(50% - 50vw);
  background: url('/Pool_images/Serene%20backyard%20pool%20and%20spa%20retreat.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  border-radius: 0;
  overflow: hidden;
}

.vol-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 36, 64, 0.9) 0%,
    rgba(26, 58, 92, 0.8) 42%,
    rgba(8, 145, 178, 0.72) 100%
  );
}

.vol-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 3.2rem 1.4rem 2.9rem;
}

.vol-hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.33rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.42);
  background: rgba(6, 182, 212, 0.1);
  color: #66e4ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vol-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.vol-hero__subtitle {
  margin: 0 auto;
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.62;
  opacity: 0.9;
}

.vol-version {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.88;
  margin-left: 0.2rem;
  white-space: nowrap;
}

.vol-workspace {
  margin-top: 1.15rem;
  border: 1px solid #dfe3e6;
  border-radius: 6px;
  background:
    linear-gradient(165deg, rgba(8, 145, 178, 0.07), rgba(15, 36, 64, 0.06));
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 36, 64, 0.13);
}

.vol-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: start;
}

.vol-panel {
  padding: 1.35rem 1.25rem 1.45rem;
  background: rgba(255, 255, 255, 0.97);
}

.vol-panel--results {
  border-left: 1px solid #e6edf2;
  background: rgba(248, 253, 255, 0.97);
}

.vol-panel h2 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #003d5b;
}

.vol-panel h3 {
  margin: 1.05rem 0 0.55rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e7eef4;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #005c71;
}

.vol-card h4 {
  margin: 0 0 0.48rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0f3d57;
}

.vol-panel-subtitle {
  margin: 0 0 0.95rem;
  color: #466073;
  font-size: 0.9rem;
  line-height: 1.5;
}

.vol-grid {
  display: grid;
  gap: 0.78rem;
  margin-bottom: 0.95rem;
}

.vol-grid[hidden] {
  display: none;
}

.vol-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vol-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vol-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vol-field label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #005c71;
}

.vol-field input,
.vol-field select,
.vol-field textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfdae2;
  border-radius: 4px;
  padding: 0.55rem 0.62rem;
  background: #fff;
  color: #1e293b;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vol-field textarea {
  min-height: 86px;
  resize: vertical;
}

.vol-field input:focus,
.vol-field select:focus,
.vol-field textarea:focus {
  outline: none;
  border-color: #007399;
  box-shadow: 0 0 0 3px rgba(0, 115, 153, 0.14);
}

.vol-field--invalid input,
.vol-field--invalid select,
.vol-field--invalid textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.vol-field-error {
  margin-top: 0.28rem;
  font-size: 0.78rem;
  color: #b91c1c;
  font-weight: 600;
}

.vol-card {
  border: 1px solid #e2e8ee;
  border-radius: 5px;
  padding: 0.72rem;
  background: #fbfdff;
}

.vol-chips {
  display: flex;
  gap: 0.44rem;
  flex-wrap: wrap;
}

.vol-chip {
  border: 1px solid #c9d7e1;
  border-radius: 999px;
  background: #fff;
  color: #2b4458;
  padding: 0.34rem 0.74rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.vol-chip:hover {
  border-color: #90acbd;
}

.vol-chip.active {
  color: #003d5b;
  border-color: #007399;
  background: #e6f6fb;
}

.vol-actions {
  display: flex;
  gap: 0.58rem;
  flex-wrap: wrap;
  margin: 0.85rem 0 0.95rem;
}

.vol-actions .btn {
  min-height: 42px;
  border-radius: 4px;
  font-weight: 700;
}

.vol-actions .btn--primary {
  background: #4c840c;
}

.vol-actions .btn--primary:hover {
  background: #437509;
}

.vol-info,
.vol-warning {
  border-radius: 5px;
  padding: 0.56rem 0.66rem;
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.vol-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
}

.vol-warning {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
}

.vol-error-summary {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.vol-results {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.vol-result-card {
  border: 1px solid #cde2ee;
  border-left: 4px solid #007399;
  border-radius: 4px;
  padding: 0.6rem 0.68rem;
  background: #fff;
}

.vol-result-card strong {
  color: #003d5b;
}

#poolRender {
  width: 100%;
  height: 320px;
  border-radius: 5px;
  border: 1px solid #cde2ee;
  background: #fff;
}

@media (max-width: 1080px) {
  .vol-layout {
    grid-template-columns: 1fr;
  }

  .vol-panel--results {
    border-left: none;
    border-top: 1px solid #e6edf2;
  }
}

@media (max-width: 760px) {
  .vol {
    padding: 1.3rem 0.8rem 2.3rem;
  }

  .vol-grid--4,
  .vol-grid--3,
  .vol-grid--2 {
    grid-template-columns: 1fr;
  }

  .vol-actions .btn {
    width: 100%;
  }
}

.vol-page .footer {
  background: var(--color-navy-dark, #0f2440);
}
