/* =========================================================
   OBSERVATORIO MANUEL FOSTER · landing page styles
   Design tokens, layout, animations.
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* color */
  --bg-0: #06081c;
  --bg-1: #0b0f2b;
  --bg-2: #121636;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text-0: #f5f4f1;
  --text-1: #c8c7d1;
  --text-2: #8b8c9c;
  --text-3: #5a5d72;

  --gold: #d4a64b;
  --gold-bright: #f4c842;
  --gold-soft: rgba(212, 166, 75, 0.14);
  --blue: #5e8eff;
  --blue-soft: rgba(94, 142, 255, 0.15);
  --plum: #6c5dd3;

  /* type */
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', 'Menlo', monospace;

  /* layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-0);
  background: var(--bg-0);
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--gold-bright); }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--bg-0); }

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(80px, 12vw, 160px);
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(48px, 7vw, 96px);
}

.section-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--gold-soft);
  border-radius: 100px;
  background: var(--gold-soft);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--text-0);
}

.section-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-1);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- STARFIELD ---------- */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(108, 93, 211, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(94, 142, 255, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}

.stars {
  position: absolute;
  inset: -20% 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 50px 160px, #fff, transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 130px 80px, #fff, transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.7), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: drift 220s linear infinite;
  opacity: 0.55;
}
.stars-medium {
  background-image:
    radial-gradient(1.5px 1.5px at 100px 50px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 250px 180px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 320px 240px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 60px 290px, #fff, transparent);
  background-size: 400px 400px;
  animation-duration: 320s;
  opacity: 0.7;
}
.stars-large {
  background-image:
    radial-gradient(2px 2px at 120px 200px, var(--gold-bright), transparent),
    radial-gradient(2px 2px at 360px 60px, #fff, transparent),
    radial-gradient(2px 2px at 500px 380px, #fff, transparent);
  background-size: 600px 600px;
  animation-duration: 480s;
  opacity: 0.9;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
}
.nebula-1 {
  width: 620px; height: 620px;
  top: -12%; right: -8%;
  background: radial-gradient(circle, rgba(108, 93, 211, 0.55), transparent 70%);
  animation: nebula-drift-1 110s ease-in-out infinite;
}
.nebula-2 {
  width: 520px; height: 520px;
  bottom: 8%; left: -6%;
  background: radial-gradient(circle, rgba(94, 142, 255, 0.45), transparent 70%);
  animation: nebula-drift-2 130s ease-in-out infinite;
  animation-delay: -40s;
}
.nebula-3 {
  width: 380px; height: 380px;
  top: 38%; left: 42%;
  background: radial-gradient(circle, rgba(244, 200, 66, 0.18), transparent 70%);
  animation: nebula-drift-3 95s ease-in-out infinite;
  animation-delay: -70s;
}

/* JS-injected twinkling stars */
.twinkle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.twinkle-star {
  position: absolute;
  border-radius: 50%;
  will-change: opacity, transform;
  animation-name: twinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.shooting-star {
  position: absolute;
  width: 110px;
  height: 1.6px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 40%, #ffffff 100%);
  border-radius: 2px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.85));
  animation: shoot 1.9s cubic-bezier(0.25, 0.4, 0.4, 1) forwards;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-400px); }
}
@keyframes twinkle {
  0%, 100% { opacity: var(--min, 0.18); transform: scale(0.82); }
  50%       { opacity: var(--max, 0.95); transform: scale(1.18); }
}
@keyframes nebula-drift-1 {
  0%, 100% { transform: translate(0, 0)        scale(1);    opacity: 0.28; }
  25%      { transform: translate(-50px, 30px) scale(1.12); opacity: 0.42; }
  50%      { transform: translate(20px, 70px)  scale(1.04); opacity: 0.36; }
  75%      { transform: translate(40px, -30px) scale(0.96); opacity: 0.32; }
}
@keyframes nebula-drift-2 {
  0%, 100% { transform: translate(0, 0)         scale(1);    opacity: 0.22; }
  33%      { transform: translate(70px, -40px)  scale(1.10); opacity: 0.36; }
  66%      { transform: translate(-40px, 50px)  scale(0.92); opacity: 0.30; }
}
@keyframes nebula-drift-3 {
  0%, 100% { transform: translate(0, 0)          scale(1);    opacity: 0.18; }
  40%      { transform: translate(-60px, -50px)  scale(1.20); opacity: 0.32; }
  70%      { transform: translate(40px, 30px)    scale(0.90); opacity: 0.24; }
}
@keyframes shoot {
  0%   { transform: translate(0, 0)         rotate(28deg); opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: translate(440px, 230px) rotate(28deg); opacity: 0; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
  position: relative;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-sm  { padding: 9px 18px; font-size: 14px; }
.btn-lg  { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gold);
  color: #0a0a16;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--gold-bright);
  color: #0a0a16;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(244, 200, 66, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-0);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--gold-bright);
  border-color: var(--gold);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--t-med) var(--ease);
}
.nav.scrolled {
  background: rgba(6, 8, 28, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-0);
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--gold-bright); }
.nav-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--t-med) var(--ease), filter var(--t-med) var(--ease);
  filter: drop-shadow(0 0 8px rgba(244, 200, 66, 0));
}
.nav-brand:hover .nav-logo {
  transform: rotate(-6deg) scale(1.04);
  filter: drop-shadow(0 0 12px rgba(244, 200, 66, 0.45));
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-line-1 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
}
.brand-line-2 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-1);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.nav-links a:hover {
  color: var(--text-0);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  padding: 6px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: all var(--t-fast) var(--ease);
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang-current { color: var(--text-0); font-weight: 600; }
.lang-divider { margin-inline: 4px; opacity: 0.4; }
.lang-toggle.swapped .lang-current { color: var(--text-2); font-weight: 400; }
.lang-toggle.swapped .lang-alt { color: var(--text-0); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text-0);
  transition: all var(--t-fast) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 8, 28, 0.97);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.mobile-menu-inner a {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--text-0);
}
.mobile-menu-inner .btn {
  font-family: var(--f-body);
  font-size: 16px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px var(--gutter) 100px;
  z-index: 2;
  text-align: center;
}
.hero-content {
  max-width: 920px;
  width: 100%;
  animation: heroIn 1.2s var(--ease-out);
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-logo {
  display: block;
  width: clamp(120px, 14vw, 180px);
  height: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 0 30px rgba(244, 200, 66, 0.15));
  animation: heroLogoIn 1.6s var(--ease-out) both, heroLogoFloat 9s ease-in-out 1.6s infinite;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)     scale(1); }
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}
.eyebrow-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.hero-title span {
  display: block;
}
.hero-title-1 { opacity: 0.85; }
.hero-title-2 {
  font-style: italic;
  color: var(--gold-bright);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, #b8924a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title-3 { opacity: 0.7; font-weight: 300; }

.hero-subtitle {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-1);
  max-width: 600px;
  margin: 0 auto 48px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-value {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
}
.stat-value small {
  font-size: 0.6em;
  margin-left: 2px;
  font-weight: 400;
  opacity: 0.8;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--text-2));
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; }
  50%      { transform: scaleY(1);   transform-origin: top; }
}
.hero-scroll:hover { color: var(--gold); }

/* ---------- HISTORY ---------- */
.section-history { background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 43, 0.4) 100%); }

.history-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.history-text p {
  margin-bottom: 20px;
  color: var(--text-1);
  font-size: 1rem;
  line-height: 1.8;
}
.history-lead {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem) !important;
  line-height: 1.5 !important;
  color: var(--text-0) !important;
  font-weight: 400;
  font-style: italic;
}
.history-timeline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: sticky;
  top: 100px;
}
.history-timeline ol {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.history-timeline ol::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0.5;
}
.history-timeline li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
}
.history-timeline li::before {
  content: '';
  position: absolute;
  left: 46px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 166, 75, 0.2);
}
.tl-year {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.tl-event {
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.5;
}

.history-quote {
  margin-top: clamp(60px, 8vw, 96px);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.history-quote blockquote {
  position: relative;
  padding: 40px 0;
}
.history-quote blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 120px;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
}
.history-quote p {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--text-0);
  margin-bottom: 24px;
}
.history-quote cite {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  font-style: normal;
}

/* ---------- EXPERIENCES ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.exp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--t-med) var(--ease);
  overflow: hidden;
}
.exp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 166, 75, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}
.exp-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.exp-card:hover::before { opacity: 1; }

.exp-card-featured {
  background: linear-gradient(180deg, rgba(212, 166, 75, 0.08) 0%, rgba(212, 166, 75, 0.02) 100%);
  border-color: rgba(212, 166, 75, 0.3);
}
.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 5px 12px;
  background: rgba(244, 200, 66, 0.15);
  border: 1px solid rgba(244, 200, 66, 0.3);
  border-radius: 100px;
}

.exp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.exp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
}
.exp-icon svg {
  width: 22px;
  height: 22px;
}
.exp-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
}

.exp-card-title {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.exp-card-desc {
  color: var(--text-1);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.exp-features {
  margin-bottom: 28px;
}
.exp-features li {
  font-size: 0.9rem;
  color: var(--text-1);
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.exp-features li:last-child { border-bottom: none; }
.exp-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.exp-price {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.92rem;
}
.price-row span { color: var(--text-1); }
.price-row b {
  font-family: var(--f-mono);
  font-weight: 500;
  color: var(--text-0);
}
.price-row.free b { color: var(--gold-bright); }
.price-row.custom b { color: var(--gold); font-style: italic; font-family: var(--f-display); font-size: 1.05rem;}

.exp-card .btn { margin-top: auto; }

/* ---------- TELESCOPE ---------- */
.section-telescope {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(108, 93, 211, 0.08), transparent 50%),
    transparent;
}

.tel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.tel-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
}
.tel-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.tel-image-frame:hover img { transform: scale(1.04); }
.tel-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 8, 28, 0.9));
  pointer-events: none;
}
.tel-image-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-1);
  z-index: 1;
  letter-spacing: 0.02em;
}

.tel-lead {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text-0);
  margin-bottom: 36px;
}

.tel-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.spec {
  background: var(--bg-1);
  padding: 18px 20px;
}
.spec dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 6px;
}
.spec dd {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--text-0);
  font-weight: 400;
}
.spec-sub {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 400;
}

.tel-achievements h4 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 16px;
}
.tel-achievements ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tel-achievements li {
  position: relative;
  padding-left: 24px;
  color: var(--text-1);
  font-size: 0.95rem;
}
.tel-achievements li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
  top: 4px;
}

/* ---------- VISIT ---------- */
.section-visit { background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 43, 0.4) 100%); }

.visit-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.visit-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.route-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--t-med) var(--ease);
}
.route-card:hover {
  border-color: var(--gold);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.route-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.route-icon svg { width: 22px; height: 22px; }
.route-card h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 500;
}
.route-card p {
  font-size: 0.9rem;
  color: var(--text-1);
  line-height: 1.55;
}

.visit-map {
  position: sticky;
  top: 100px;
}
.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  background: var(--bg-2);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.4) brightness(0.9);
}
.map-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.map-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  gap: 16px;
}
.map-info-row:last-of-type { border-bottom: none; }
.map-label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-2);
  flex-shrink: 0;
}
.map-value {
  color: var(--text-0);
  text-align: right;
  font-size: 13px;
}
.map-info .btn-block { margin-top: 16px; }

/* ---------- BOOKING ---------- */
.section-booking {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(212, 166, 75, 0.08), transparent 50%),
    transparent;
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.booking-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.form-step {
  border: none;
  padding: 0;
  margin-bottom: 36px;
}
.form-step:last-of-type { margin-bottom: 24px; }
.form-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--text-0);
  margin-bottom: 20px;
  font-weight: 500;
}
.form-step-number {
  width: 28px;
  height: 28px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.experience-select {
  display: grid;
  gap: 12px;
}
.exp-option {
  display: block;
  cursor: pointer;
}
.exp-option input { position: absolute; opacity: 0; pointer-events: none; }
.exp-option-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  padding: 18px 20px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t-fast) var(--ease);
}
.exp-option-title {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-0);
}
.exp-option-desc {
  font-size: 0.85rem;
  color: var(--text-2);
}
.exp-option-price {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  color: var(--gold-bright);
  font-weight: 500;
  grid-row: span 2;
  align-self: center;
  text-align: right;
}
.exp-option:hover .exp-option-card {
  border-color: var(--border-strong);
}
.exp-option input:checked + .exp-option-card {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-0);
  outline: none;
  transition: all var(--t-fast) var(--ease);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: var(--surface-2);
}
.form-field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }

input[type="date"] {
  color-scheme: dark;
}

.booking-summary {
  background: var(--bg-2);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.92rem;
}
.summary-row span { color: var(--text-2); }
.summary-row strong {
  color: var(--text-0);
  font-weight: 500;
  font-family: var(--f-mono);
}
.summary-total {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 14px;
}
.summary-total span { color: var(--text-0); font-weight: 500; }
.summary-total strong {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
}

.booking-actions { margin-top: 8px; }
.booking-note {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}

.booking-trust {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.trust-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-item h4 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-0);
}
.trust-item p {
  font-size: 0.88rem;
  color: var(--text-1);
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease);
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  padding: 22px 28px;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-0);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--f-mono);
  font-size: 24px;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--t-med) var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content {
  padding: 0 28px 26px;
  color: var(--text-1);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- CONTACT ---------- */
.section-contact {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(94, 142, 255, 0.08), transparent 60%),
    transparent;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info .section-tag,
.contact-info .section-title { text-align: left; margin-inline: 0; }
.contact-info .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.contact-lead {
  font-size: 1.05rem;
  color: var(--text-1);
  line-height: 1.65;
  margin-bottom: 40px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-channels li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.channel-icon svg { width: 20px; height: 20px; }
.channel-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 4px;
}
.contact-channels a,
.contact-channels span:not(.channel-label) {
  color: var(--text-0);
  font-size: 1rem;
  line-height: 1.45;
}
.contact-channels a:hover { color: var(--gold-bright); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.contact-form-title {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.form-disclaimer {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-top: 14px;
  text-align: center;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  mix-blend-mode: screen;
}
.footer-logo div { display: flex; flex-direction: column; line-height: 1.3; }
.footer-logo strong {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--text-0);
  font-weight: 500;
}
.footer-logo span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  text-transform: uppercase;
}
.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-1);
  line-height: 1.6;
  max-width: 360px;
}
.footer-affiliate {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  opacity: 0.85;
  transition: all var(--t-med) var(--ease);
}
.footer-affiliate:hover {
  opacity: 1;
  border-color: var(--gold-soft);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.footer-affiliate img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li {
  font-size: 0.9rem;
  color: var(--text-1);
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-2);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-credit { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .history-grid,
  .tel-grid,
  .visit-grid,
  .booking-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .history-timeline,
  .visit-map,
  .booking-trust { position: static; }
  .booking-trust { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .booking-trust .trust-item { flex: 1 1 240px; }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .exp-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-top: 110px; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding-top: 32px;
  }
  .stat { gap: 4px; }
  .visit-options { grid-template-columns: 1fr; }
  .tel-specs { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .booking-trust { flex-direction: column; }
  .booking-trust .trust-item { flex: none; }
  .nav-actions .btn { display: none; }
  .nav-actions .btn:not([id]) { display: inline-flex; }
  .brand-line-1 { font-size: 9px; }
  .brand-line-2 { font-size: 16px; }
}

@media (max-width: 420px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .featured-ribbon { top: 12px; right: 12px; }
}
