/* --- DESIGN SYSTEM BASED ON PRESET H: BOLD TYPOGRAPHY + ASYMMETRIC BLOCKS --- */
:root {
  --andes-altitude-bg: #fdfcf7; /* Warm soft mineral stone */
  --andes-altitude-ink: #0f1412; /* Deep mineral charcoal */
  --andes-altitude-accent: #c84b31; /* Terracotta / Blood orange representing adaptation and vital force */
  --andes-altitude-sky: #2d5a7b; /* High-altitude sky blue representing pure hydration */
  --andes-altitude-sand: #f4eedb; /* Warm sand canvas */
  --andes-altitude-muted: #5c6460; /* Slate mineral gray */
  
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --andes-asym-radius: 4px; /* Sharp and architectural style */
  --andes-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .andes-display-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Scroll-driven Progress Bar */
.andes-scroll-tracker {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background-color: var(--andes-altitude-accent);
  z-index: 10000;
  animation: andes-progression linear;
  animation-timeline: scroll();
}

@keyframes andes-progression {
  to { width: 100%; }
}

/* --- HEADER SYSTEM --- */
.andes-nav-anchor {
  position: sticky;
  top: 0;
  background-color: rgba(253, 252, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--andes-altitude-ink);
  z-index: 999;
}

.andes-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.andes-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--andes-altitude-ink);
}

.andes-logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.andes-logo-svg {
  width: 32px;
  height: 32px;
  fill: var(--andes-altitude-accent);
}

/* CSS-Only Hamburger Menu */
.andes-menu-trigger {
  display: none;
}

.andes-menu-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.andes-menu-label span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--andes-altitude-ink);
  transition: var(--andes-transition);
}

.andes-navigation-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.andes-nav-item a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--andes-altitude-ink);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: var(--andes-transition);
  position: relative;
  padding-bottom: 4px;
}

.andes-nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--andes-altitude-accent);
  transition: var(--andes-transition);
}

.andes-nav-item a:hover::after,
.andes-nav-item a.andes-active-link::after {
  width: 100%;
}

/* --- COMMON ELEMENTS --- */
.andes-btn-outline {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid var(--andes-altitude-ink);
  background: transparent;
  color: var(--andes-altitude-ink);
  cursor: pointer;
  transition: var(--andes-transition);
  letter-spacing: 0.05em;
}

.andes-btn-outline:hover {
  background-color: var(--andes-altitude-ink);
  color: var(--andes-altitude-bg);
}

.andes-btn-accent {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  background-color: var(--andes-altitude-accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: var(--andes-transition);
  letter-spacing: 0.05em;
}

.andes-btn-accent:hover {
  background-color: var(--andes-altitude-ink);
  color: var(--andes-altitude-bg);
}

/* --- INDEX HERO (WORD-BY-WORD ASYMMETRIC) --- */
.andes-hero-canvas {
  position: relative;
  padding: 8vh 2rem 12vh;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.andes-hero-background-opacity {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

.andes-hero-word-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 3rem;
}

.andes-hero-word {
  display: block;
  font-size: clamp(3.5rem, 9.5vw, 9rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.85;
}

.andes-hero-word-left {
  text-align: left;
  color: var(--andes-altitude-ink);
}

.andes-hero-word-accent {
  text-align: center;
  color: var(--andes-altitude-accent);
  text-decoration: underline;
  text-decoration-color: var(--andes-altitude-ink);
  text-decoration-thickness: 4px;
}

.andes-hero-word-right {
  text-align: right;
  color: var(--andes-altitude-ink);
}

.andes-hero-sub-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  margin-top: -2rem;
}

.andes-hero-text-paragraph {
  max-width: 500px;
  font-size: 1.15rem;
  color: var(--andes-altitude-muted);
}

/* --- MASONRY TEXT SECTION --- */
.andes-masonry-canvas {
  padding: 10dvh 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.andes-section-display-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 4rem;
  border-bottom: 2px solid var(--andes-altitude-ink);
  padding-bottom: 1rem;
}

.andes-masonry-wrapper {
  columns: 3;
  column-gap: 3.5rem;
  column-rule: 1px solid var(--andes-altitude-ink);
}

.andes-masonry-block {
  break-inside: avoid;
  margin-bottom: 3rem;
}

.andes-masonry-heading {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--andes-altitude-sky);
}

.andes-masonry-body {
  font-size: 1rem;
  color: var(--andes-altitude-muted);
  margin-bottom: 1.5rem;
}

.andes-masonry-icon-anchor {
  display: inline-block;
  color: var(--andes-altitude-accent);
  margin-top: 1rem;
}

/* --- FULL-WIDTH HIGHLIGHT IMAGE SECTION --- */
.andes-highlight-billboard {
  position: relative;
  height: 60vh;
  min-height: 450px;
  background-image: url('img/bg2.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
  margin: 6dvh 0;
}

.andes-highlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15,20,18,0.9) 30%, rgba(15,20,18,0.3) 100%);
}

.andes-highlight-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 4rem;
  max-width: 800px;
}

.andes-highlight-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--andes-altitude-sand);
}

.andes-highlight-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* --- MANIFESTO ROW BENEFITS --- */
.andes-manifesto-canvas {
  padding: 10dvh 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.andes-manifesto-list {
  display: flex;
  flex-direction: column;
}

.andes-manifesto-row {
  display: flex;
  align-items: baseline;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--andes-altitude-ink);
  gap: 3rem;
}

.andes-manifesto-row:last-child {
  border-bottom: none;
}

.andes-manifesto-index {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--andes-altitude-accent);
  min-width: 60px;
}

.andis-manifesto-content-split {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: baseline;
  width: 100%;
}

.andes-manifesto-h3 {
  font-size: 1.8rem;
  font-weight: 700;
  flex: 0 0 350px;
  color: var(--andes-altitude-ink);
}

.andes-manifesto-desc {
  flex: 1;
  font-size: 1.05rem;
  color: var(--andes-altitude-muted);
}

/* --- ROTATED STEP-NUMBERS (HOW IT WORKS) --- */
.andes-steps-canvas {
  padding: 12dvh 2rem;
  background-color: var(--andes-altitude-sand);
}

.andes-steps-container {
  max-width: 1300px;
  margin: 0 auto;
}

.andes-steps-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  margin-top: 5rem;
}

.andes-step-unit {
  position: relative;
  flex: 1;
  min-width: 280px;
  padding-top: 4rem;
}

.andes-step-big-num {
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: var(--andes-altitude-accent);
  opacity: 0.15;
  transform: rotate(-10deg);
  pointer-events: none;
}

.andes-step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.andes-step-text {
  font-size: 1rem;
  color: var(--andes-altitude-muted);
  position: relative;
  z-index: 2;
}

/* --- CTA STRIP --- */
.andes-cta-strip {
  background-color: var(--andes-altitude-ink);
  color: var(--andes-altitude-bg);
  padding: 8dvh 2rem;
}

.andes-cta-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.andes-cta-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 800px;
  color: var(--andes-altitude-sand);
}

.andes-cta-trigger-btn {
  border-color: var(--andes-altitude-sand);
  color: var(--andes-altitude-sand);
}

.andes-cta-trigger-btn:hover {
  background-color: var(--andes-altitude-sand);
  color: var(--andes-altitude-ink);
}

/* --- EXPERT EDITORIAL PAGE --- */
.andes-expert-editorial-layout {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  padding: 6dvh 2rem;
  gap: 4rem;
}

.andes-expert-profile-text {
  flex: 1;
}

.andes-expert-image-side {
  flex: 1;
  min-height: 500px;
  background-image: url('img/bg3.webp');
  background-size: cover;
  background-position: center;
  border: 4px solid var(--andes-altitude-ink);
}

.andes-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  padding-right: 12px;
  color: var(--andes-altitude-accent);
}

.andes-expert-bio-p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--andes-altitude-muted);
}

/* Stats as plain text (no boxes) */
.andes-stat-plain-wrap {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  margin: 4rem 0;
  border-top: 1px solid var(--andes-altitude-ink);
  border-bottom: 1px solid var(--andes-altitude-ink);
  padding: 2.5rem 0;
}

.andes-stat-unit {
  flex: 1;
  min-width: 180px;
}

.andes-stat-big-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--andes-altitude-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.andes-stat-legend {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--andes-altitude-muted);
}

/* --- RESERVE PAGE LAYOUT --- */
.andes-reserve-layout {
  max-width: 800px;
  margin: 0 auto;
  padding: 8vh 2rem;
}

.andes-asym-form-container {
  background-color: var(--andes-altitude-sand);
  padding: 4rem;
  border: 2px solid var(--andes-altitude-ink);
  margin-top: 3rem;
}

.andes-input-element-wrap {
  margin-bottom: 2rem;
}

.andes-input-label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--andes-altitude-ink);
}

.andes-input-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--andes-altitude-ink);
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 0.75rem 0;
  color: var(--andes-altitude-ink);
}

.andes-input-field:focus {
  outline: none;
  border-bottom-color: var(--andes-altitude-accent);
}

.andes-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.andes-checkbox-wrap input {
  margin-top: 0.25rem;
}

.andes-checkbox-label {
  font-size: 0.85rem;
  color: var(--andes-altitude-muted);
}

.andes-checkbox-label a {
  color: var(--andes-altitude-ink);
}

.andes-info-card-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.andes-info-item-box {
  padding: 1.5rem 0;
  border-top: 2px solid var(--andes-altitude-ink);
}

.andes-info-box-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.andes-info-box-list {
  list-style: none;
}

.andes-info-box-list li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--andes-altitude-muted);
  position: relative;
  padding-left: 1.25rem;
}

.andes-info-box-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--andes-altitude-accent);
}

/* --- FAQ ACCORDION (CSS ONLY) --- */
.andes-faq-section-wrapper {
  margin-top: 6rem;
  border-top: 2px solid var(--andes-altitude-ink);
  padding-top: 4rem;
}

.andes-faq-item-accordion {
  border-bottom: 1px solid var(--andes-altitude-ink);
  padding: 1.5rem 0;
}

.andes-faq-checkbox-state {
  display: none;
}

.andes-faq-header-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.andes-faq-indicator-icon {
  font-size: 1.5rem;
  transition: var(--andes-transition);
}

.andes-faq-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--andes-altitude-muted);
}

.andes-faq-panel-content p {
  padding-top: 1rem;
  font-size: 0.95rem;
}

.andes-faq-checkbox-state:checked ~ .andes-faq-panel-content {
  max-height: 200px;
}

.andes-faq-checkbox-state:checked ~ .andes-faq-header-label .andes-faq-indicator-icon {
  transform: rotate(45deg);
}

/* --- LEGAL PAGES & THANK YOU --- */
.andes-rich-content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 8vh 2rem 12vh;
}

.andes-rich-content-area h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--andes-altitude-ink);
  padding-bottom: 1rem;
}

.andes-rich-content-area h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.andes-rich-content-area p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--andes-altitude-muted);
}

.andes-rich-content-area ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.andes-rich-content-area li {
  margin-bottom: 0.5rem;
}

/* --- FOOTER --- */
.andes-footer-anchor {
  background-color: var(--andes-altitude-ink);
  color: var(--andes-altitude-bg);
  border-top: 2px solid var(--andes-altitude-ink);
  padding: 6rem 2rem 2rem;
}

.andes-footer-columnar-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
}

.andes-footer-identity-card {
  max-width: 400px;
}

.andes-footer-links-group {
  display: flex;
  gap: 4rem;
}

.andes-footer-nav-list {
  list-style: none;
}

.andes-footer-nav-list li {
  margin-bottom: 1rem;
}

.andes-footer-nav-list a {
  color: var(--andes-altitude-sand);
  text-decoration: none;
  font-size: 0.95rem;
}

.andes-footer-nav-list a:hover {
  text-decoration: underline;
}

.andes-disclaimer-card {
  max-width: 1300px;
  margin: 4rem auto 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.andes-copyright-wrap {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- COOKIE BANNER --- */
.andes-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--andes-altitude-ink);
  color: var(--andes-altitude-bg);
  padding: 1.5rem 2rem;
  z-index: 9999;
  display: none;
  border-top: 3px solid var(--andes-altitude-accent);
}

.andes-cookie-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.andes-cookie-text {
  font-size: 0.9rem;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.9);
}

.andes-cookie-actions {
  display: flex;
  gap: 1rem;
}

/* --- SCREEN ADAPTABILITY --- */
@media (max-width: 991px) {
  .andes-hero-sub-block {
    flex-direction: column;
    gap: 2rem;
    margin-top: 0;
  }
  .andes-masonry-wrapper {
    columns: 1;
  }
  .andes-expert-editorial-layout {
    flex-direction: column;
  }
  .andis-manifesto-content-split {
    flex-direction: column;
    gap: 0.5rem;
  }
  .andes-manifesto-h3 {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .andes-menu-label {
    display: flex;
  }
  .andes-navigation-links {
    position: fixed;
    top: 79px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--andes-altitude-bg);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--andes-transition);
    border-top: 2px solid var(--andes-altitude-ink);
    z-index: 998;
  }
  .andes-menu-trigger:checked ~ .andes-navigation-links {
    transform: translateY(0);
    opacity: 1;
  }
  .andes-menu-trigger:checked ~ .andes-menu-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .andes-menu-trigger:checked ~ .andes-menu-label span:nth-child(2) {
    opacity: 0;
  }
  .andes-menu-trigger:checked ~ .andes-menu-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .andes-footer-columnar-grid {
    flex-direction: column;
    gap: 2.5rem;
  }
  .andes-footer-links-group {
    flex-direction: column;
    gap: 2.5rem;
  }
  .andes-highlight-content {
    padding: 2rem;
  }
  .andes-asym-form-container {
    padding: 2rem 1.5rem;
  }
}