:root {
  --vista-base-bg: #f5f9fc;
  --vista-surface: #ffffff;
  --vista-ink-dark: #0f1d2a;
  --vista-ink-light: #52667a;
  --vista-tint: #028090;
  --vista-shimmer: #00a896;
  --vista-accent-dark: #002d33;
  --vista-gradient: linear-gradient(135deg, var(--vista-tint) 0%, var(--vista-shimmer) 100%);
  --vista-card-flip: linear-gradient(135deg, #02c39a 0%, #028090 100%);
  --font-display: 'Raleway', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --vista-radius: 16px;
  --vista-shadow: 0 10px 30px rgba(2, 128, 144, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--vista-base-bg);
  color: var(--vista-ink-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--vista-ink-dark);
}

.vista-scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--vista-gradient);
  width: 0;
  z-index: 10001;
  animation: vista-bar-growth linear;
  animation-timeline: scroll();
}

@keyframes vista-bar-growth {
  to { width: 100%; }
}

.vista-reveal-effect {
  animation: vista-slide-in linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

@keyframes vista-slide-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Styles */
.vista-topbar {
  background: var(--vista-gradient);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(2, 128, 144, 0.25);
}

.vista-topbar-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1dvh 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vista-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.vista-branding svg {
  fill: #ffffff;
  width: 40px;
  height: 40px;
}

.vista-brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.vista-nav-gate {
  display: flex;
  gap: 32px;
  align-items: center;
}

.vista-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.vista-nav-link:hover {
  color: #ffffff;
}

.vista-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.vista-nav-link:hover::after,
.vista-nav-link.vista-active::after {
  width: 100%;
}

.vista-menu-trigger {
  display: none;
}

.vista-burger-icon {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.vista-burger-icon span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: 0.3s;
}

/* Sections */
.vista-epoch-normal {
  padding: 10dvh 0;
}

.vista-canvas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.vista-trigger-solid {
  display: inline-block;
  background: var(--vista-gradient);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: var(--vista-radius);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(2, 128, 144, 0.3);
}

.vista-trigger-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 128, 144, 0.4);
}

.vista-trigger-dark {
  display: inline-block;
  background: var(--vista-ink-dark);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: var(--vista-radius);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.vista-trigger-dark:hover {
  transform: translateY(-2px);
  background-color: var(--vista-accent-dark);
}

/* Hero Section (Preset F) */
.vista-main-show {
  position: relative;
  min-height: 90vh;
  background-image: linear-gradient(rgba(15, 29, 42, 0.75), rgba(15, 29, 42, 0.75)), url('img/bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 12dvh 24px;
}

.vista-hero-content {
  max-width: 850px;
  z-index: 2;
}

.vista-hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
}

.vista-hero-desc {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* Stats Row */
.vista-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.vista-stat-unit {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 24px;
  border-radius: var(--vista-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.vista-stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #02c39a;
  display: block;
}

.vista-stat-lbl {
  font-size: 0.95rem;
  color: #e0f2f1;
  margin-top: 8px;
}

/* Trust Strip */
.vista-trust-belt {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  position: absolute;
  bottom: 0;
  left: 0;
}

.vista-trust-flow {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: center;
  opacity: 0.7;
}

.vista-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Mobile Scroll-Track Content (Preset F) */
.vista-magazine-showcase {
  background-image: linear-gradient(rgba(245, 249, 252, 0.9), rgba(245, 249, 252, 0.9)), url('img/bg2.webp');
  background-size: cover;
  background-position: center;
}

.vista-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.vista-section-tag {
  color: var(--vista-tint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.vista-scroll-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vista-card-panel {
  background: var(--vista-surface);
  padding: 40px 30px;
  border-radius: var(--vista-radius);
  box-shadow: var(--vista-shadow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vista-card-panel:hover {
  transform: translateY(-5px);
}

.vista-card-icon {
  width: 60px;
  height: 60px;
  background: var(--vista-base-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vista-card-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--vista-tint);
}

/* Grid Features (Preset F - hover flip) */
.vista-benefit-assembly {
  background: var(--vista-surface);
}

.vista-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.vista-benefit-item {
  background: var(--vista-base-bg);
  padding: 40px;
  border-radius: var(--vista-radius);
  transition: all 0.4s ease;
  border: 1px solid rgba(2, 128, 144, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vista-benefit-item .vista-feat-icon-circle {
  width: 50px;
  height: 50px;
  background: var(--vista-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.vista-benefit-item .vista-feat-icon-circle svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.vista-benefit-item:hover {
  background: var(--vista-card-flip);
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(2, 195, 154, 0.25);
}

.vista-benefit-item:hover h3 {
  color: #ffffff;
}

.vista-benefit-item:hover .vista-feat-icon-circle {
  background: #ffffff;
}

.vista-benefit-item:hover .vista-feat-icon-circle svg {
  fill: var(--vista-tint);
}

/* Process Section (Preset F) */
.vista-process-belt {
  background: var(--vista-base-bg);
}

.vista-flow-connector {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 60px;
}

.vista-flow-connector::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  width: 80%;
  height: 4px;
  background: var(--vista-gradient);
  z-index: 1;
}

.vista-flow-node {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.vista-node-circle {
  width: 64px;
  height: 64px;
  background: var(--vista-surface);
  border: 4px solid var(--vista-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vista-tint);
  margin: 0 auto 20px auto;
  box-shadow: var(--vista-shadow);
}

.vista-node-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.vista-node-text {
  font-size: 0.95rem;
  color: var(--vista-ink-light);
}

/* CTA Strip (Preset F) */
.vista-urgency-strip {
  background: var(--vista-gradient);
  color: #ffffff;
  padding: 8dvh 0;
}

.vista-urgency-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.vista-urgency-text h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.vista-urgency-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* Expert Page Layout */
.vista-expert-split {
  display: flex;
  gap: 50px;
  align-items: center;
}

.vista-expert-media {
  flex: 2;
  border-radius: var(--vista-radius);
  overflow: hidden;
  box-shadow: var(--vista-shadow);
  height: 500px;
}

.vista-expert-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vista-expert-bio {
  flex: 3;
}

.vista-expert-bio p {
  margin-bottom: 20px;
  color: var(--vista-ink-light);
}

.vista-expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

/* Reserve Page Layout */
.vista-col-arrangement {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.vista-info-sticky {
  position: sticky;
  top: 120px;
}

.vista-lead-card {
  background: var(--vista-surface);
  padding: 40px;
  border-radius: var(--vista-radius);
  box-shadow: var(--vista-shadow);
}

.vista-form-group {
  margin-bottom: 24px;
}

.vista-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.vista-form-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--vista-radius);
  border: 1px solid rgba(2, 128, 144, 0.2);
  background: var(--vista-base-bg);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: outline 0.3s ease;
}

.vista-form-input:focus {
  outline: 2px solid var(--vista-tint);
}

.vista-checkbox-wrap {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--vista-ink-light);
  margin-bottom: 30px;
  cursor: pointer;
}

.vista-checkbox-wrap input {
  margin-top: 4px;
}

.vista-checkbox-wrap a {
  color: var(--vista-tint);
  text-decoration: underline;
}

.vista-bullets-stack {
  margin-bottom: 40px;
}

.vista-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.vista-bullet-num {
  width: 28px;
  height: 28px;
  background: var(--vista-tint);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ Accordion (reserve.html) */
.vista-faq-housing {
  margin-top: 80px;
}

.vista-faq-item {
  background: var(--vista-surface);
  border-radius: var(--vista-radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--vista-shadow);
}

.vista-faq-quest {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--vista-tint);
}

/* Legal Pages */
.vista-legal-rich {
  background: var(--vista-surface);
  padding: 50px;
  border-radius: var(--vista-radius);
  box-shadow: var(--vista-shadow);
}

.vista-legal-rich h1 {
  margin-bottom: 30px;
}

.vista-legal-rich h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.vista-legal-rich p {
  margin-bottom: 16px;
  color: var(--vista-ink-light);
}

/* Footer Styles */
.vista-footer {
  background: var(--vista-ink-dark);
  color: #ffffff;
  padding: 8dvh 0 4dvh 0;
  border-top: 4px solid var(--vista-tint);
}

.vista-footer-core {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vista-footer-brand {
  max-width: 400px;
}

.vista-footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  font-size: 0.95rem;
}

.vista-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vista-footer-headline {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #02c39a;
}

.vista-footlink {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.vista-footlink:hover {
  color: #ffffff;
  text-decoration: underline;
}

.vista-footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 40px;
  text-align: center;
}

.vista-footer-closing {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 20px;
  text-align: center;
}

/* Cookie Notice */
.vista-cookie-slab {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--vista-ink-dark);
  color: #ffffff;
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  display: none;
}

.vista-cookie-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.vista-cookie-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.vista-cookie-btns {
  display: flex;
  gap: 12px;
}

.vista-cookie-opt {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

.vista-cookie-accept {
  background: var(--vista-tint);
  color: #ffffff;
}

.vista-cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Rules */
@media (max-width: 991px) {
  .vista-scroll-track {
    grid-template-columns: 1fr;
  }

  .vista-benefit-grid {
    grid-template-columns: 1fr;
  }

  .vista-expert-split {
    flex-direction: column;
  }

  .vista-expert-media {
    width: 100%;
    height: 350px;
  }

  .vista-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vista-col-arrangement {
    grid-template-columns: 1fr;
  }

  .vista-urgency-shell {
    flex-direction: column;
    text-align: center;
  }

  .vista-flow-connector {
    flex-direction: column;
    gap: 40px;
  }

  .vista-flow-connector::before {
    display: none;
  }

  .vista-stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vista-nav-gate {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--vista-ink-dark);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
  }

  .vista-burger-icon {
    display: flex;
  }

  .vista-menu-trigger:checked ~ .vista-nav-gate {
    display: flex;
  }

  .vista-menu-trigger:checked ~ .vista-burger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .vista-menu-trigger:checked ~ .vista-burger-icon span:nth-child(2) {
    opacity: 0;
  }

  .vista-menu-trigger:checked ~ .vista-burger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Horizontal touch scrolling on mobile for cards (Preset F special requirement) */
  .vista-scroll-track-mobile {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .vista-scroll-track-mobile .vista-card-panel {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .vista-trust-flow {
    flex-wrap: wrap;
    gap: 24px;
  }
}