/* --- SYSTEM VARIABLES & CONFIGURATION --- */
:root {
  --vista-tint-bg: #f0f4f8;
  --vista-tint-surface: #f0f4f8;
  --vista-tint-ink: #1e293b;
  --vista-tint-ink-faded: #64748b;
  --vista-tint-highlight: #ffffff;
  --vista-tint-shadow: #d1d9e6;
  --vista-tint-shadow-inset: #b8c4d6;
  
  --vista-accent-tint: #0d9488;
  --vista-accent-hover: #0f766e;
  --vista-danger-soft: #fecaca;
  --vista-success-soft: #d1fae5;
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --vista-edge-radius: 20px;
  --vista-edge-pill: 999px;
  
  --vista-padd-compact: 6vh;
  --vista-padd-normal: 10vh;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--vista-font-body);
  background-color: var(--vista-tint-bg);
  color: var(--vista-tint-ink);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--vista-tint-ink);
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- NEUMORPHIC SHADOW GENERATORS --- */
.vista-neumo-out {
  background: var(--vista-tint-surface);
  box-shadow: 8px 8px 16px var(--vista-tint-shadow), 
              -8px -8px 16px var(--vista-tint-highlight);
}

.vista-neumo-in {
  background: var(--vista-tint-surface);
  box-shadow: inset 6px 6px 12px var(--vista-tint-shadow-inset), 
              inset -6px -6px 12px var(--vista-tint-highlight);
}

.vista-neumo-button {
  background: var(--vista-tint-surface);
  box-shadow: 4px 4px 10px var(--vista-tint-shadow), 
              -4px -4px 10px var(--vista-tint-highlight);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.vista-neumo-button:hover {
  box-shadow: inset 3px 3px 6px var(--vista-tint-shadow-inset), 
              inset -3px -3px 6px var(--vista-tint-highlight);
  color: var(--vista-accent-tint);
}

/* --- HEADER / NAVIGATION --- */
.vista-main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.vista-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vista-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vista-brand-title {
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.vista-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.vista-nav-anchor {
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--vista-edge-pill);
  transition: all 0.2s ease;
}

.vista-nav-anchor.vista-active-link {
  box-shadow: inset 3px 3px 6px var(--vista-tint-shadow-inset), 
              inset -3px -3px 6px var(--vista-tint-highlight);
  color: var(--vista-accent-tint);
}

/* Hamburger Menu CSS Only */
.vista-hamburger-toggle {
  display: none;
}

.vista-hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 30px;
}

.vista-hamburger-btn span {
  display: block;
  height: 3px;
  background-color: var(--vista-tint-ink);
  border-radius: 3px;
  transition: 0.3s ease;
}

/* --- SCROLL PROGRESS BAR --- */
.vista-scroll-tracker {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  z-index: 1001;
  pointer-events: none;
}

.vista-scroll-status {
  height: 100%;
  background: var(--vista-accent-tint);
  width: 0%;
  animation: vista-grow-bar linear;
  animation-timeline: scroll();
}

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

/* --- HERO SECTION --- */
.vista-hero-layout {
  padding: var(--vista-padd-normal) 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5%;
  min-height: calc(90vh - 80px);
}

.vista-hero-left {
  flex: 1.2;
  position: relative;
}

.vista-hero-tagline {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--vista-accent-tint);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 15px;
}

.vista-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 25px;
}

.vista-hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--vista-tint-ink-faded);
  margin-bottom: 35px;
}

.vista-hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.vista-button-primary {
  padding: 16px 32px;
  border-radius: var(--vista-edge-pill);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vista-floating-badge {
  position: absolute;
  bottom: -20px;
  right: 15%;
  padding: 15px 25px;
  border-radius: var(--vista-edge-radius);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

.vista-hero-right {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.vista-img-frame {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/5;
  border-radius: 32px;
  overflow: hidden;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.6);
}

.vista-fill-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* --- PROBLEM / SOLUTION LAYOUT --- */
.vista-dilemma-section {
  padding: var(--vista-padd-normal) 5%;
}

.vista-dilemma-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: var(--vista-padd-compact);
}

.vista-dilemma-left {
  padding: 40px;
  border-radius: var(--vista-edge-radius);
  border-top: 5px solid #ef4444;
}

.vista-dilemma-right {
  padding: 40px;
  border-radius: var(--vista-edge-radius);
  border-top: 5px solid var(--vista-accent-tint);
}

.vista-dilemma-title {
  font-size: 1.6rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vista-dilemma-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.vista-dilemma-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.vista-dilemma-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.vista-dilemma-text p {
  color: var(--vista-tint-ink-faded);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- MID-SECTION BANNER WITH BGIMAGE --- */
.vista-banner-wrapper {
  position: relative;
  height: 40vh;
  margin: var(--vista-padd-compact) 5%;
  border-radius: var(--vista-edge-radius);
  overflow: hidden;
}

.vista-banner-bg {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.vista-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 41, 59, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.vista-banner-content {
  max-width: 800px;
}

.vista-banner-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 15px;
}

.vista-banner-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* --- FEATURES 3-COLUMN NEUMORPHIC GRID --- */
.vista-perks-section {
  padding: var(--vista-padd-normal) 5%;
  text-align: center;
}

.vista-section-headline {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.vista-section-subline {
  color: var(--vista-tint-ink-faded);
  max-width: 650px;
  margin: 0 auto 60px auto;
  font-size: 1.1rem;
}

.vista-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.vista-perks-card {
  padding: 40px 30px;
  border-radius: 24px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vista-card-icon-shell {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.vista-perks-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.vista-perks-card p {
  color: var(--vista-tint-ink-faded);
  line-height: 1.6;
  font-size: 0.95rem;
}

.vista-perks-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 24px var(--vista-tint-shadow), 
              -12px -12px 24px var(--vista-tint-highlight);
}

/* --- STEPPER (HOW IT WORKS) --- */
.vista-stepper-section {
  padding: var(--vista-padd-normal) 5%;
}

.vista-stepper-line-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.vista-stepper-dashed {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed var(--vista-tint-shadow-inset);
  z-index: 1;
  transform: translateY(-50%);
}

.vista-step-pill {
  width: 140px;
  height: 50px;
  border-radius: var(--vista-edge-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
  gap: 10px;
}

.vista-step-number {
  color: var(--vista-accent-tint);
}

.vista-stepper-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.vista-step-desc-card {
  padding: 30px;
  border-radius: var(--vista-edge-radius);
  text-align: center;
}

.vista-step-desc-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.vista-step-desc-card p {
  color: var(--vista-tint-ink-faded);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- CTA STRIP (NOT FULL WIDTH) --- */
.vista-cta-container {
  padding: var(--vista-padd-compact) 5%;
  display: flex;
  justify-content: center;
}

.vista-cta-card {
  max-width: 800px;
  width: 100%;
  padding: 50px 40px;
  border-radius: 32px;
  text-align: center;
}

.vista-cta-card h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.vista-cta-card p {
  color: var(--vista-tint-ink-faded);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* --- COOKIE BANNER --- */
.vista-cookie-shield {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.vista-cookie-text {
  font-size: 0.95rem;
  max-width: 70%;
  line-height: 1.5;
}

.vista-cookie-actions {
  display: flex;
  gap: 15px;
}

.vista-cookie-btn {
  padding: 10px 20px;
  border-radius: var(--vista-edge-pill);
  font-weight: 600;
  font-size: 0.85rem;
}

/* --- FOOTER --- */
.vista-footer-wrap {
  margin-top: auto;
  padding: 60px 5% 30px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.vista-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.vista-footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.vista-footer-link {
  font-size: 0.9rem;
  color: var(--vista-tint-ink-faded);
  transition: color 0.2s;
}

.vista-footer-link:hover {
  color: var(--vista-accent-tint);
}

.vista-disclaimer-card {
  border-radius: var(--vista-edge-radius);
  padding: 25px;
  text-align: center;
  margin-bottom: 30px;
}

.vista-disclaimer-text {
  font-size: 0.85rem;
  color: var(--vista-tint-ink-faded);
  line-height: 1.6;
}

.vista-copyright-row {
  text-align: center;
  font-size: 0.85rem;
  color: var(--vista-tint-ink-faded);
}

/* --- EXPERT PAGE --- */
.vista-expert-hero {
  padding: var(--vista-padd-compact) 5%;
  text-align: center;
}

.vista-expert-image-shell {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 40px;
}

.vista-expert-image-shell img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 24px;
}

.vista-expert-grid-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 50px auto;
}

.vista-stat-cell {
  padding: 40px;
  border-radius: var(--vista-edge-radius);
  text-align: center;
}

.vista-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--vista-accent-tint);
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.vista-stat-label {
  font-size: 1rem;
  color: var(--vista-tint-ink-faded);
  font-weight: 600;
}

.vista-expert-bio-section {
  padding: var(--vista-padd-compact) 5%;
}

.vista-bio-row {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.vista-bio-col {
  flex: 1;
}

.vista-bio-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--vista-tint-ink-faded);
}

.vista-bio-text p {
  margin-bottom: 20px;
}

/* --- RESERVE PAGE --- */
.vista-reserve-layout {
  padding: var(--vista-padd-compact) 5%;
  max-width: 700px;
  margin: 0 auto;
}

.vista-card-form {
  padding: 50px 40px;
  border-radius: 32px;
  margin-bottom: 50px;
}

.vista-form-header {
  text-align: center;
  margin-bottom: 35px;
}

.vista-form-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.vista-form-header p {
  color: var(--vista-tint-ink-faded);
}

.vista-field-group {
  margin-bottom: 25px;
}

.vista-field-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.vista-text-input {
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--vista-edge-pill);
  border: none;
  font-family: var(--vista-font-body);
  font-size: 1rem;
  color: var(--vista-tint-ink);
  outline: none;
  transition: box-shadow 0.2s;
}

.vista-text-input:focus {
  box-shadow: inset 3px 3px 6px var(--vista-tint-shadow-inset), 
              inset -3px -3px 6px var(--vista-tint-highlight);
}

.vista-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--vista-tint-ink-faded);
  cursor: pointer;
  line-height: 1.4;
}

.vista-agree-label input {
  margin-top: 3px;
}

.vista-reserve-submit {
  width: 100%;
  padding: 16px;
  margin-top: 25px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--vista-edge-pill);
}

.vista-email-touch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

.vista-email-anchor {
  color: var(--vista-accent-tint);
  font-weight: 700;
}

/* FAQ Accordion CSS only */
.vista-faq-section {
  margin-top: 60px;
}

.vista-faq-title {
  text-align: center;
  margin-bottom: 40px;
}

.vista-faq-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vista-faq-node {
  border-radius: var(--vista-edge-radius);
  overflow: hidden;
}

.vista-faq-trigger {
  width: 100%;
  padding: 20px 30px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vista-faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.vista-faq-node.vista-faq-active .vista-faq-answer {
  padding: 20px 30px 30px 30px;
  max-height: 500px;
}

.vista-faq-node.vista-faq-active .vista-faq-trigger span::after {
  content: "-";
}

.vista-faq-trigger span::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--vista-accent-tint);
}

/* --- POLICY PAGES --- */
.vista-policy-layout {
  padding: var(--vista-padd-normal) 10%;
  max-width: 900px;
  margin: 0 auto;
}

.vista-policy-layout h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.vista-policy-layout h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.vista-policy-layout p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--vista-tint-ink-faded);
  margin-bottom: 20px;
}

/* --- THANK YOU PAGE --- */
.vista-thank-layout {
  padding: var(--vista-padd-normal) 5%;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.vista-thank-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px auto;
  color: var(--vista-accent-tint);
}

.vista-thank-layout h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.vista-thank-layout p {
  font-size: 1.1rem;
  color: var(--vista-tint-ink-faded);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* --- PORT DESKTOP / MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
  .vista-hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }
  
  .vista-floating-badge {
    right: 5%;
  }
  
  .vista-dilemma-split {
    grid-template-columns: 1fr;
  }
  
  .vista-bio-row {
    flex-direction: column;
    gap: 40px;
  }
  
  .vista-stepper-details {
    grid-template-columns: 1fr;
  }
  
  .vista-stepper-dashed {
    display: none;
  }
  
  .vista-stepper-line-track {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .vista-hamburger-btn {
    display: flex;
    z-index: 1001;
  }
  
  .vista-nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--vista-tint-surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: 0.4s ease;
    z-index: 1000;
    box-shadow: 0 10px 15px var(--vista-tint-shadow);
  }
  
  .vista-hamburger-toggle:checked ~ .vista-nav-links {
    left: 0;
  }
  
  .vista-hamburger-toggle:checked ~ .vista-hamburger-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .vista-hamburger-toggle:checked ~ .vista-hamburger-btn span:nth-child(2) {
    opacity: 0;
  }
  
  .vista-hamburger-toggle:checked ~ .vista-hamburger-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .vista-cookie-shield {
    flex-direction: column;
    text-align: center;
  }
  
  .vista-cookie-text {
    max-width: 100%;
  }
  
  .vista-expert-grid-stats {
    grid-template-columns: 1fr;
  }
}