@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --bg: #07090e;
  --panel: #0f1623;
  --panel2: #0c1320;
  --text: #e8eefc;
  --muted: #b7c2dc;
  --line: rgba(255, 255, 255, .08);
  --accent: #c5a059;
  /* Luxury Gold */
  --accent-blue: #66a3ff;
  /* Technical Base */
  --gold: #c5a059;
  --gold-glow: rgba(197, 160, 89, 0.25);
  --shadow: 0 18px 60px rgba(0, 0, 0, .45);
  --glass: rgba(15, 22, 35, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --header-height: 200px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Outfit', sans-serif;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(197, 160, 89, .08), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(102, 163, 255, .06), transparent 55%),
    var(--bg);
  color: var(--text);
  padding-top: var(--header-height);
}

a {
  color: inherit;
  text-decoration: none;
  opacity: .9
}

a:hover {
  opacity: 1
}

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

/* --- LUXURY HEADER REDESIGN --- */
.header {
  background: linear-gradient(90deg,
      rgba(15, 10, 5, 0.85) 0%,
      rgba(20, 14, 25, 0.85) 50%,
      rgba(5, 5, 8, 0.95) 100%);
  border-bottom: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(197, 160, 89, 0.18);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  overflow: visible;
}

.header.scrolled {
  background: linear-gradient(90deg,
      rgba(197, 130, 30, 0.26) 0%,
      rgba(120, 80, 15, 0.16) 20%,
      rgba(26, 18, 60, 0.97) 45%,
      rgba(13, 10, 30, 0.99) 72%,
      rgba(7, 9, 14, 1) 100%);
  border-bottom-color: rgba(197, 160, 89, 0.55);
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.85), inset 0 -1px 0 rgba(197, 160, 89, 0.3);
}

.header-top {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-bottom {
  padding: 14px 0;
  background: linear-gradient(90deg,
      rgba(20, 15, 5, 0.6) 0%,
      rgba(10, 8, 20, 0.6) 50%,
      rgba(5, 5, 8, 0.8) 100%);
  border-top: 1px solid rgba(197, 160, 89, 0.12);
  overflow: visible;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Nav refinements */
.nav {
  display: flex;
  gap: 42px;
  /* Increased for more air */
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav.top-nav {
  gap: 35px;
  opacity: 1;
  font-weight: 600;
  overflow: visible;
}

.nav a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
  position: relative;
  padding: 5px 0;
}

.nav a:hover {
  color: var(--gold);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.nav a.active {
  color: var(--gold);
  border-bottom: none;
  padding-bottom: 5px;
}

/* Pill Button */
.btn-pill {
  border: 1.5px solid #fff;
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-pill:hover {
  background: #fff;
  color: #000;
}

.btn-pill.gold {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-pill.gold:hover {
  background: var(--gold);
  color: #000;
}

/* --- DOWNLOADS PAGE LAYOUT --- */
.dl-hero {
  padding: 80px 0;
  text-align: center;
}

.dl-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
}

.dl-subtitle {
  font-size: 20px;
  opacity: 0.6;
  margin-bottom: 60px;
}

.dl-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  padding: 40px;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.dl-visual {
  flex: 1;
}

.dl-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* App Branding */
.app-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.app-icon-m {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #4ade80;
  font-family: Arial, sans-serif;
}

.app-name-mdjpro {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
}

.app-name-mdjpro .mdj {
  color: #4ade80;
}

.app-name-mdjpro .pro {
  color: #3b82f6;
}

/* Warning Box */
.warning-box {
  background: transparent;
  border: 1.5px solid #ff9900;
  border-radius: 6px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.warning-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Specs List */
.specs-list {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.specs-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 15px;
}

.specs-list li strong {
  width: 100px;
  color: #a0a0a0;
  font-weight: 500;
}

.specs-list li span {
  color: #ffffff;
  font-weight: 500;
}

/* DL Button */
.btn-download {
  background: #007aff;
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  max-width: 320px;
}

.btn-download:hover {
  background: #006ae6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

/* Tabs System */
.tabs-container {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.tabs-nav {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.tab-link {
  padding-bottom: 15px;
  cursor: pointer;
  font-weight: 600;
  opacity: 0.6;
  transition: all 0.3s;
}

.tab-link.active {
  opacity: 1;
  border-bottom: 2px solid #fff;
}

/* Branding adjustments */
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  overflow: visible;
  position: relative;
}

/* Etiqueta dorada cuadrada con degradado suave detrás del círculo del logo */
.brand::before {
  content: '';
  position: absolute;
  left: -1px;
  /* Centered for 82px patch behind 80px logo */
  top: 50%;
  transform: translateY(-50%);
  width: 82px;
  height: 82px;
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.95);
  z-index: 0;
  pointer-events: none;
}

.logo-img {
  height: 80px !important;
  width: auto !important;
  border-radius: 50%;
  filter: brightness(1.15) contrast(1.2);
  padding: 2px;
  position: relative;
  z-index: 1001;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-img:hover {
  filter: brightness(1.25) contrast(1.25);
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 2px;
  padding-bottom: 6px;
}

/* Double underline effect from PNG */
.brand-text::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
      transparent 0%,
      #c8851e 15%,
      #f0c040 50%,
      #c8851e 85%,
      transparent 100%);
}

/* Imponing Branding Styles */
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  position: relative;
}

.logo-img-eagle {
  height: 75px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.brand-letters-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  width: 300px;
  /* Un poco más de ancho para el logo más grande */
  overflow: visible;
  margin-left: -20px;
  /* Menos negativo = más espacio a la derecha */
}

.brand-letters-img {
  height: 240px;
  /* De 220px a 240px para más presencia */
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Lang Switcher spacing */
.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-pipe {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.lang-btn {
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  /* Made slightly bolder for clarity */
  text-transform: uppercase;
  opacity: 0.6;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.lang-btn:hover,
.lang-btn.active {
  opacity: 1;
  color: var(--gold);
}

.lang-pipe {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

/* --- PREMIUM CLASSY HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  margin-top: calc(-1 * var(--header-height));
  overflow: hidden;
  background: #000;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
  /* Cinematic dimming */
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-text-block h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
  animation: revealText 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes revealText {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-text-block .sub {
  font-size: 20px;
  line-height: 1.6;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
  animation: revealText 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.hero-card {
  position: relative;
  animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

.hero-card form input {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

/* ══ RENTALS PREMIUM TILES ══ */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 0 !important;
  /* Managed by internal spacing */
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 160, 89, 0.1);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .card-img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.glass-card .residency-day {
  margin: 20px 20px 10px;
}

.glass-card h3,
.glass-card p,
.glass-card .value,
.glass-card .btn {
  padding-left: 20px;
  padding-right: 20px;
}

.glass-card .btn {
  margin-bottom: 25px;
  margin-left: 20px;
  margin-right: 20px;
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn.outline:hover {
  background: rgba(197, 160, 89, 0.1);
}

/* ══ TOGGLE SWITCH ══ */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked+.slider {
  background-color: var(--gold);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--gold);
}

input:checked+.slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ══ MODALS & TALENT SELECTOR ══ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 0 50px rgba(0, 0, 0, 1), 0 0 20px rgba(197, 160, 89, 0.1);
}

.talent-cat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.talent-cat-card:hover {
  background: rgba(197, 160, 89, 0.05);
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.talent-cat-card h3 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

h2 {
  font-size: 28px;
  margin: 0 0 16px
}

h3 {
  margin: 0 0 8px
}

.sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 18px 0 14px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-weight: 700;
}

.btn.primary {
  border-color: var(--gold);
  color: var(--gold);
  background: linear-gradient(135deg, rgba(197, 160, 89, .15), rgba(197, 160, 89, .05));
}

.btn.full {
  width: 100%
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px
}

.badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  padding: 6px 10px;
  border-radius: 999px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(15, 22, 35, .95), rgba(12, 19, 32, .95));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.card-title {
  font-weight: 800;
  margin-bottom: 10px
}

.form {
  display: grid;
  gap: 10px
}

label {
  display: grid;
  gap: 6px;
  color: #ffffff;
  /* Bien blancas */
  font-size: 13px;
  font-weight: 600;
}

input:not([type="checkbox"]):not([type="radio"]),
select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.5);
  /* Más fuerte */
  color: #ffffff;
  /* Bien blancas */
  font-family: inherit;
  font-size: 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.3s ease;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: auto;
  accent-color: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(183, 194, 220, 0.6)' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  padding-right: 35px;
}

.success-message {
  text-align: center;
  padding: 20px;
  background: rgba(0, 196, 140, 0.1);
  border: 1px solid var(--accent2);
  border-radius: 12px;
  margin-top: 20px;
  animation: fadeIn 0.5s ease-out;
}

.success-message p {
  font-weight: 700;
  margin: 10px 0 5px;
  color: #fff;
}

.success-message small {
  color: var(--grey);
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

input:focus,
select:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, .25);
  box-shadow: 0 0 0 2px var(--gold-glow);
}

.fineprint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  opacity: .9
}

.section {
  padding: 34px 0
}

.section.alt {
  background: rgba(255, 255, 255, .02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.tile {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  border-radius: 16px;
  padding: 16px;
}

.tile p {
  margin: 0;
  color: var(--muted)
}

.experience-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.experience-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 10px 40px var(--gold-glow);
}

.exp-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.exp-content {
  padding: 18px
}

.exp-venue {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 4px
}

.exp-type {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
  opacity: .9;
}

.exp-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.label {
  font-size: 12px;
  color: var(--muted)
}

.value {
  font-weight: 800;
  margin-top: 6px
}

.footer {
  padding: 22px 0;
  color: var(--muted)
}

.footer .container {
  border-top: 1px solid var(--line);
  padding-top: 16px
}

.residency-card {
  text-align: center;
  border-color: rgba(197, 160, 89, 0.2);
  background: linear-gradient(180deg, rgba(15, 22, 35, 0.4), rgba(15, 22, 35, 0.8));
}

.residency-day {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.residency-venue {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 10px;
}

.residency-time {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 12px;
  opacity: 0.8;
}

.marketplace-card {
  display: block;
  text-align: center;
  padding: 32px 24px;
  transition: transform .3s ease, border-color .3s ease;
  cursor: pointer;
  border-width: 2px;
}

.marketplace-card:hover {
  transform: scale(1.02);
  border-color: var(--gold);
}

.mkt-icon {
  font-size: 42px;
  margin-bottom: 14px;
}

.marketplace-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--gold);
}

.mkt-cta {
  margin-top: 20px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Dashboard & Pricing */
.dash-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  background: var(--panel);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.dash-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 3px solid var(--bg);
}

.plan-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.plan-badge.premium {
  background: var(--gold);
  color: #000;
}

.plan-badge.free {
  background: rgba(255, 255, 255, .1);
  color: var(--muted);
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.table-head {
  font-weight: 800;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

/* --- LUXURY ANIMATIONS --- */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-text-block {
  animation: float 6s infinite ease-in-out;
}

.hero-card {
  animation: float 8s infinite ease-in-out reverse;
}

/* --- BIG DAY TRUST SECTION --- */
.big-day-section {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  color: #fff;
}

.big-day-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.big-day-section .container {
  position: relative;
  z-index: 2;
}

.big-day-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.availability-form-mini {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.availability-form-mini select {
  background: #000;
  color: #fff;
  border: 1px solid #444;
  padding: 12px 20px;
  border-radius: 4px;
  min-width: 150px;
  font-family: 'Outfit', sans-serif;
  appearance: none;
}

.features-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.feature-connector {
  position: absolute;
  left: 20px;
  top: 40px;
  width: 2px;
  height: 40px;
  border-left: 2px dotted rgba(255, 255, 255, 0.3);
}

.check-circle {
  width: 44px;
  height: 44px;
  background: #8fa7c7;
  /* Light blue-gray from reference */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.check-circle svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.feature-text {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 12px;
}

@media (max-width: 850px) {
  .features-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-connector {
    display: none;
  }
}


/* --- ACTION CARDS SECTION --- */
.action-cards-section {
  padding: 60px 0;
  background: var(--bg);
}

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

.action-card {
  position: relative;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: background 0.4s ease;
}

.action-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.action-card:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.action-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.6s ease;
}

.action-card:hover .action-card-bg {
  transform: scale(1.1);
}

.action-card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.action-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.action-card-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* --- LUXURY FOOTER REDESIGN --- */
.footer {
  background: #000;
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 60px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links-minimal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.social-item-minimal {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  transition: color 0.3s ease;
}

.social-item-minimal:hover {
  color: var(--gold);
}

.social-icon-box {
  width: 40px;
  height: 40px;
  background: var(--panel);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid var(--glass-border);
}

.footer-form .form-group {
  margin-bottom: 12px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--glass-border);
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
}

.footer-form button {
  width: 100%;
  margin-top: 10px;
}

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

.footer-availability select {
  width: 100%;
  padding: 10px;
  background: #000;
  color: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
}

@media (max-width: 992px) {
  .action-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.mobile-overlay.active .mobile-nav {
  transform: translateY(0);
}

.mobile-nav a {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

@media (max-width: 1000px) {
  .header-bottom {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-top .container {
    padding: 0 24px;
  }

  .brand-name {
    font-size: 24px;
  }

  .logo-img {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text-block h1 {
    font-size: 40px;
  }
}

/* --- SYSTEM REQUIREMENTS TABS & CONTENT --- */
.sys-req-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.sys-tab {
  padding-bottom: 10px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.sys-tab.active {
  color: #007aff;
  border-bottom-color: #007aff;
}

.specs-block {
  margin-bottom: 40px;
}

.specs-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #007aff;
  color: #007aff;
  font-size: 10px;
  font-weight: bold;
}

.specs-desc {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

.specs-table {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-row {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.spec-label {
  width: 150px;
  flex-shrink: 0;
  color: #fff;
}

.spec-value {
  color: #ccc;
  line-height: 1.5;
}

.specs-footer-links p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 8px;
}

.specs-footer-links a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

/* --- ACCORDION SECTION --- */
.accordion-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 20px 0;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: inherit;
  transition: color 0.2s;
}

.accordion-btn:hover {
  color: var(--gold);
}

.accordion-btn .icon {
  font-size: 24px;
  font-weight: 300;
  display: inline-block;
  width: 20px;
}
/* ── NAV DROPDOWN ── */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    padding: 24px 0;
    margin: -24px 0;
}
.nav-item-dropdown .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 12px 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s !important;
    white-space: nowrap;
    border-bottom: none !important;
}
.nav-dropdown-menu a:hover {
    color: var(--gold) !important;
    background: rgba(197, 160, 89, 0.05);
}
.nav-item-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item-dropdown .caret {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.nav-item-dropdown:hover .caret {
    transform: rotate(180deg);
}

/* ── PREMIUM ATMOSPHERIC WEATHER BASES ── */
/* Regla de oro: El cielo base dicta la emoción del widget. */

/* 1. Clear Day (Florida Clean Sky) */
.sky-clear {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.28) 0%, transparent 40%),
    linear-gradient(to bottom, #1e4a8b 0%, #3a75c4 35%, #7ab2e8 65%, #cce6f4 100%);
}

/* 2. Sunset (Dramatic Warm Glow) */
.sky-sunset {
  background:
    radial-gradient(circle at 50% 85%, rgba(255, 167, 38, 0.6) 0%, rgba(229, 90, 84, 0.3) 30%, transparent 60%),
    linear-gradient(to bottom, #2b1d45 0%, #562758 35%, #9d3f57 65%, #d16b54 85%, #fbb777 100%);
}

/* 3. Night (Deep Space) */
.sky-night {
  background:
    radial-gradient(circle at 50% 15%, rgba(200, 220, 255, 0.12) 0%, transparent 45%),
    linear-gradient(to bottom, #070914 0%, #0d1226 35%, #151e36 65%, #223250 100%);
}

/* 4. Cloudy (Heavy but natural gray-blue haze) */
.sky-cloudy {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.2) 0%, transparent 65%),
    linear-gradient(to bottom, #394552 0%, #4c5a69 35%, #69788a 65%, #909ea8 100%);
}

/* ── DYNAMIC WEATHER LAYERS (Hybrid Architecture) ── */
.sky-base-css {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sky-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(8px);
  background: radial-gradient(circle at bottom center, rgba(255,255,255,0.08) 0%, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Base PNG Layer Container */
.weather-png-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* Specific Sub-layers within PNG Layer */
.sky-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url('./assets/weather/stars.png');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
}

.sky-astral {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

@keyframes drift {
    0%   { transform: translate(0, 10%); }
    100% { transform: translate(-50%, 10%); }
}

.sky-clouds-back {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s ease;
}

.sky-clouds-front {
  position: absolute;
  /* Make it wider to accommodate drifting without showing edges */
  width: 200%;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.8;
  animation: drift 120s linear infinite;
}

/* ── ASTRAL BODIES (Sun & Moon & Rays) ── */
.sun-rays {
  position: absolute;
  width: 500px; /* Covers a wide area glowing behind the sun */
  height: 500px;
  background-image: url('./assets/weather/Rayos%20De%20Sol.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  opacity: 0;
  z-index: 1; /* Below sun but inside astral */
  transition: opacity 2s ease;
}

.sun {
  position: absolute;
  width: 200px; /* Sizing up for the high-res PNG */
  height: 200px;
  z-index: 2;
  background-image: url('./assets/weather/hero-sunny.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: screen;
  /* Default positioning */
  top: 100%; /* Hidden initially (below horizon) */
  left: 50%;
  transform: translate(-50%, -50%);
  transition: top 1s ease-out, left 1s ease-out, opacity 1s ease;
  opacity: 0;
}

.moon {
  position: absolute;
  width: 150px;
  height: 150px;
  background-image: url('./assets/weather/moon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* Default positioning */
  top: 100%; /* Hidden initially */
  left: 50%;
  transform: translate(-50%, -50%);
  transition: top 1s ease-out, left 1s ease-out, opacity 1s ease;
  opacity: 0;
}

/* Moon Phase Mask (Sweeps horizontally across the real PNG) */
.moon-phase-wrapper {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
}

.moon-phase-mask {
  position: absolute;
  inset: 0;

  border-radius: 50%;
  /* Manipulating boxShadow inset will create the phases dynamically via JS */
  box-shadow: inset 0 0 0 rgba(7, 9, 20, 0.9);
  transition: box-shadow 0.5s ease;
}
