:root {
  /* Reset & Core Setup */
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

:root {
  /* Palette: Neon Noir */
  --bg-core: #050505;
  --bg-surface: rgba(20, 20, 30, 0.6);
  --bg-highlight: rgba(0, 243, 255, 0.08); /* Slightly more visible */
  --neon-cyan: #00f3ff;
  --neon-magenta: #ff00ff;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Gradients */
  --glow-gradient: linear-gradient(
    135deg,
    var(--neon-cyan),
    var(--neon-magenta)
  );

  /* Spacing */
  --container-width: 1200px;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.brand {
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff; /* Solid fallback for accessibility */
  background: linear-gradient(to right, #ffffff, #cccccc);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports (-webkit-background-clip: text) {
  .section-title {
    -webkit-text-fill-color: transparent;
  }
}

.sub-title-sm {
  font-size: 1.25rem;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.hero-vision-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

/* UI Utilities */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive Orientation Hint */
.faro-orientation-hint {
  display: none !important;
}

@media (max-width: 900px) and (orientation: portrait) {
  .faro-orientation-hint {
    display: flex !important;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    background: rgba(0, 5, 10, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid #00f3ff;
    border-radius: 50px;
    padding: 10px 15px;
    color: #fff;
    font-family: "Orbitron", sans-serif;
    font-size: 10px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 90vw;
    width: auto;
    white-space: normal;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    animation: hintBounce 3s infinite ease-in-out;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .hint-icon-anim {
    font-size: 1.4rem;
    animation: rotatePhone 3s infinite ease-in-out;
    display: inline-block;
  }
}

@keyframes hintBounce {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -10px);
    opacity: 1;
  }
}

@keyframes rotatePhone {
  0% {
    transform: rotate(0deg);
  }
  33% {
    transform: rotate(-90deg);
  }
  66% {
    transform: rotate(-90deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.text-magenta {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.highlight-bg {
  background: var(--bg-highlight);
  border: 1px solid var(--neon-cyan);
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: "Orbitron";
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--neon-cyan);
}

.btn-primary {
  background: rgba(0, 243, 255, 0.1);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(0, 243, 255, 0.05) 0%,
    transparent 60%
  );
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 2rem;
}

/* Hero Visual Carousel */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 500px;
  width: 100%;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slide,
.hero-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  height: auto;
  max-height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  filter: drop-shadow(0 0 30px rgba(0, 243, 255, 0.2));
  animation: slideFade 10s infinite;
  object-fit: contain;
  aspect-ratio: 800 / 446;
}

/* Timing for 2 images */
.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 5s;
}

@keyframes slideFade {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  40% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

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

/* Glass Card Generic */
.glass-card {
  background: var(--bg-surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* ROI Section */
.roi-section {
  padding: 5rem 0;
  background: #080808;
  position: relative;
}

/* Calculator Grid System (ROI Calc) */
.calc-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .calc-inputs {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Optional separator */
    padding-bottom: 2rem;
  }
}

.calc-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.calc-input-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 480px) {
  .faro-orientation-hint {
    padding: 8px 16px;
    font-size: 10px;
    white-space: normal;
    text-align: center;
  }
}
/* Range Input Styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none; /* Standard */
  width: 100%;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none; /* Standard */
  height: 24px; /* Increased for mobile touch */
  width: 24px; /* Increased for mobile touch */
  border-radius: 50%;
  background: var(--neon-cyan);
  cursor: pointer;
  margin-top: -10px; /* Adjusted focus */
  box-shadow: 0 0 15px var(--neon-cyan);
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.calc-number-input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  color: var(--neon-cyan);
  padding: 0.5rem;
  border-radius: 4px;
  width: 60px;
  text-align: center;
  font-family: "Orbitron";
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* Desktop default */
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .calc-results-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
  }
}

.result-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  text-align: center;
}

.result-box.highlight {
  background: rgba(0, 243, 255, 0.05);
  border-color: var(--neon-cyan);
}

.result-value {
  font-family: "Orbitron";
  font-size: 1.5rem;
  color: var(--text-primary);
  display: block;
  margin: 0.5rem 0;
}

.highlight .result-value {
  color: var(--neon-cyan);
}

.presets-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap; /* Fix mobile overflow */
  justify-content: center;
}

.preset-chip {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  flex: 1 1 auto; /* Allow growth on small screens */
  max-width: 200px;
}

.preset-chip:hover {
  background: var(--neon-cyan);
  color: #000;
}

/* Comparativa Section */
.comparativa-section {
  padding: 5rem 0;
  background: black;
}

.comparativa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.comp-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.comp-card.highlight {
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
  transform: scale(1.05);
  z-index: 2;
}

.comp-header {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.comp-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.comp-list {
  list-style: none;
  padding: 0;
}

.comp-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.comp-list li.positive {
  color: var(--neon-cyan);
}

.comp-list li.negative {
  color: #f00;
  opacity: 0.7;
}

/* Product Split */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.split-side {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
}

.split-side:hover {
  background: rgba(255, 255, 255, 0.02);
}

.split-tag {
  font-family: "Orbitron";
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border: 1px solid currentColor;
  width: fit-content;
  margin-bottom: 2rem;
  opacity: 0.7;
}

.split-city {
  border-right: 1px solid var(--neon-cyan);
}

/* Pioneros Section */
.pioneros-section {
  padding: 5rem 0;
  background: linear-gradient(to top, #050505, #0a0a0a);
}

.phases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.phase-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
}

.phase-num {
  font-family: "Orbitron";
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.phase-title {
  color: var(--neon-cyan);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: block;
  font-family: "Orbitron";
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--neon-magenta);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(255, 0, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-family: "Orbitron";
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: white;
  font-family: "Inter";
  border-radius: 4px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Footer & Legal */
footer {
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  margin-top: 2rem;
}

.legal-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.legal-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--neon-cyan);
}

/* P20 Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding-bottom: 2rem;
  /* Standard properties for modern browsers */
  @supports (scrollbar-width: thin) {
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) #000;
  }
}

.gallery-container::-webkit-scrollbar {
  height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
  background: #000;
}

.gallery-container::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 4px;
}

.gallery-item {
  flex: 0 0 400px;
  height: 400px;
  scroll-snap-align: center;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.gallery-img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .product-split {
    grid-template-columns: 1fr;
    min-height: initial;
  }
  .split-side {
    padding: 2rem;
    min-height: 300px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .split-city {
    border-right: none;
    border-bottom: 2px solid var(--neon-cyan);
  }
  .team-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-item {
    flex: 0 0 85vw;
    height: 350px;
    max-width: 400px;
  }
}

.gallery-caption {
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: "Orbitron";
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.8);
  padding: 0.5rem 0;
}

/* TEAM SECTION (Manifesto & Carousel) */
.team-section {
  padding: 6rem 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.manifesto-container {
  max-width: 800px;
  margin: 0 auto 5rem auto;
  text-align: center;
}

.manifesto-title {
  font-family: "Orbitron";
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.manifesto-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Architect Profile */
.architect-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 16px;
  margin-bottom: 5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .architect-profile {
    flex-direction: column;
    text-align: center;
  }
}

.architect-info h3 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.architect-role {
  color: var(--neon-cyan);
  font-family: "Orbitron";
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 1px;
}

/* Missing Pieces Carousel */
.team-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-card {
  background: rgba(20, 20, 30, 0.4);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Card Specific Borders */
.team-card.hands {
  border-top: 2px solid var(--neon-cyan);
}

.team-card.voice {
  border-top: 2px solid var(--neon-magenta);
}

.team-card.code {
  border-top: 2px solid #ffcc00;
}

.team-card:hover {
  transform: translateY(-5px);
  background: rgba(20, 20, 30, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.team-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.team-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-family: "Orbitron";
}

.team-card-mission {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

/* PDF Compact Mode */
.pdf-compact {
  padding: 0.5rem !important;
  width: 100% !important;
  max-width: 1100px !important;
}

.pdf-compact .calc-grid {
  gap: 1rem;
  display: grid !important;
  grid-template-columns: 2fr 3fr !important;
}

.pdf-compact .result-box {
  padding: 0.5rem !important;
}

.pdf-compact h4 {
  margin-bottom: 0.3rem !important;
  font-size: 0.9rem !important;
}

.pdf-compact canvas {
  max-height: 150px !important;
}

.pdf-compact .calc-input-group {
  margin-bottom: 0.5rem !important;
}

.pdf-compact .section-title {
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
}

/* SOCIAL & CONTACT */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  box-shadow: 0px 0px 20px #25d366;
  transform: scale(1.1);
}

.btn-linkedin {
  background: transparent;
  border: 1px solid #0077b5;
  color: #0077b5;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-top: 1rem;
  font-family: "Orbitron";
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-linkedin:hover {
  background: rgba(0, 119, 181, 0.1);
  box-shadow: 0 0 15px rgba(0, 119, 181, 0.3);
  color: #fff;
}
/* Custom LinkedIn Card (Static Fallback for Official Script) */
.custom-linkedin-card {
  background: #1d2226; /* LinkedIn Dark BG */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: 250px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* SMART HIDE: If the parent has an iframe (Official Badge loaded), hide the custom card */
.LI-profile-badge:has(iframe) .custom-linkedin-card {
  display: none !important;
}

/* Fallback for browsers without :has support */
.badge-loaded .custom-linkedin-card {
  display: none !important;
}

.custom-linkedin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 119, 181, 0.2);
  border-color: #0077b5;
}

.li-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #0077b5;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.li-name {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  margin: 0;
  display: block;
  text-decoration: none;
}

.li-headline {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
  color: #b0b0b0;
  font-size: 0.75rem;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.li-btn {
  display: inline-block;
  background-color: transparent;
  color: #00f3ff;
  border: 1px solid #00f3ff;
  border-radius: 16px;
  padding: 5px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
  transition: all 0.2s;
}

.li-btn:hover {
  background-color: rgba(0, 119, 181, 0.1);
  box-shadow: inset 0 0 0 1px #0077b5;
}

.li-logo-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
  }

  .nav-links {
    display: none;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  border-top: 1px solid var(--neon-cyan);
  padding: 1rem;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cookie-text {
  color: #ccc;
  font-size: 0.85rem;
  margin: 0;
  margin-right: 1rem;
}

.cookie-link {
  color: var(--neon-cyan);
  text-decoration: underline;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

.brand-link {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-name {
  font-family: Orbitron;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.nav-links-container {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: Orbitron;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--neon-cyan);
}

/* Hero Section Updates */
.hero-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-overline {
  color: var(--neon-magenta);
  font-family: Orbitron;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.hero-title {
  line-height: 1.2;
}

.hero-desc {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  max-width: 800px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  /* HIDE NAV LINKS ON MOBILE - TARGETING UNIQUE ID FOR MAX SPECIFICITY */
  #id-nav-links-container,
  .nav-links-container,
  .nav-links {
    display: none !important;
  }

  .nav-container {
    padding: 0.5rem 1rem !important;
    justify-content: space-between !important;
  }

  /* FORCE HERO STACKING VIA UNIQUE ID - ABSOLUTE OVERRIDE */
  #id-hero-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.5rem !important;
    padding: 2.5rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    min-height: auto !important;
  }

  .hero-title {
    font-size: 1.4rem !important;
    margin-bottom: 0.8rem !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }

  .hero-desc {
    font-size: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    display: block !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    z-index: 2 !important;
    display: block !important;
  }

  .hero-visual {
    width: 100% !important;
    height: auto !important;
    min-height: 150px !important;
    order: -1 !important;
    margin-bottom: 1rem !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .hero-slide,
  .hero-img {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    max-width: 75% !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    opacity: 1 !important;
    display: block !important;
    animation: none !important;
    pointer-events: none !important;
  }

  .hero-slide:nth-child(n + 2) {
    display: none !important;
  }

  .main-nav {
    max-width: 100vw !important;
  }

  .calc-results-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.5rem !important;
  }

  .result-box {
    padding: 0.8rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .result-value {
    font-size: 1.1rem !important;
  }

  .faro-orientation-hint {
    bottom: 5px !important;
    padding: 6px 12px !important;
    font-size: 9px !important;
    z-index: 10002 !important;
  }
}

.hero-highlight {
  color: white;
}

.hero-btn-container {
  display: flex;
  gap: 1rem;
}

/* Operational / Protocol Section */
.section-wrapper {
  padding: 4rem 0;
  background: #030303;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.diagram-container {
  text-align: center;
  margin-bottom: 3rem;
}

.diagram-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.grid-3-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .grid-3-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.glass-card-compact {
  padding: 0;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-img-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
}

.step-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.step-card-full {
  display: flex;
  flex-direction: column;
  height: auto; /* Allow card to grow with content on mobile */
  min-height: 100%;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0 !important; /* Force remove padding from .glass-card */
  margin-bottom: 0;
}

.step-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1408 / 752;
  display: block;
  object-fit: contain;
  background: #000;
  border-bottom: 1px solid var(--glass-border);
}

@media (max-width: 480px) {
  .step-card-img {
    aspect-ratio: 1408 / 752; /* Keep original aspect to avoid any zoom/crop */
    object-fit: contain;
  }
}

.step-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.step-card-title {
  color: var(--neon-cyan);
  font-family: Orbitron;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-card-subtitle {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.step-card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.step-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-title {
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  font-family: Orbitron;
}

.step-desc {
  color: #aaa;
  font-size: 0.9rem;
}

.detail-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.6;
}

/* Calculator Section Updates */
.calc-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-label-secondary {
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.calc-select {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 0.5rem;
  width: 100%;
  border-radius: 4px;
}

.calc-results-box {
  background: #080808;
  padding: 1rem;
  border-radius: 8px;
}

.result-box-highlight {
  text-align: left;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.result-content {
  position: relative;
  z-index: 2;
}

.result-label-main {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.result-value-main {
  font-size: 3rem;
  margin: 1rem 0;
}

.result-breakdown {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 243, 255, 0.2);
}

.breakdown-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.breakdown-value {
  color: white;
}

.breakdown-note {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--neon-cyan);
  text-align: right;
}

.result-bg-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 243, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.kpi-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.kpi-value-small {
  font-size: 1.2rem;
}

.chart-container {
  height: 200px;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  page-break-inside: avoid;
}

.calc-actions {
  text-align: center;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.calc-email {
  padding: 0.8rem;
  border-radius: 4px;
  border: 1px solid var(--neon-cyan);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.calc-btn-sm {
  font-size: 0.8rem;
}

/* Comparison Updates */
.comp-label-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Product Section Updates */
.product-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.product-label {
  font-family: Orbitron;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.product-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.product-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: white;
}

/* Manifesto & Team Updates */
.manifesto-subtitle {
  font-family: "Orbitron";
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.architect-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #333;
}

.architect-bio {
  color: #ccc;
  font-size: 0.95rem;
}

.centered-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
}

.team-mission-special {
  color: #ffcc00;
}

.social-grid {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: stretch;
}

.li-logo-icon-text {
  font-family: sans-serif;
  font-weight: bold;
}

.join-card-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.5rem;
  width: 250px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.join-card-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.join-card-title {
  font-family: "Orbitron";
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.join-card-text {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.join-card-btn {
  background: transparent !important;
  border: 1px solid var(--neon-cyan) !important;
  color: var(--neon-cyan) !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.8rem !important;
}

/* Pioneros Section Updates */
.phase-text {
  color: var(--text-secondary);
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
}

.success-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-title {
  font-family: "Orbitron";
  margin-bottom: 1rem;
}

.success-text {
  color: var(--text-secondary);
}

.success-subtext {
  color: white;
  margin-top: 1rem;
}

.hidden-trap {
  display: none;
  visibility: hidden;
}

.privacy-group {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.checkbox-input {
  width: auto !important;
  margin-top: 4px;
}

.checkbox-label {
  font-size: 0.85rem;
  color: #ccc;
  cursor: pointer;
}

/* Footer Updates */
.footer-title {
  font-family: "Orbitron";
  font-size: 1.5rem;
  letter-spacing: 2px;
  line-height: 1.2;
}

.footer-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0px;
}

.footer-details {
  color: #bbb;
  font-size: 0.9rem;
}

.footer-subdetails {
  color: #ddd;
  font-size: 0.8rem;
}

.footer-details strong,
.footer-subdetails strong {
  color: #fff;
}

.legal-warning-container {
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
}

.prototipo-warning {
  background: rgba(255, 100, 0, 0.1);
  border: 1px solid rgba(255, 100, 0, 0.3);
  padding: 0.8rem;
  border-radius: 4px;
}

.prototipo-text {
  color: #ffaa00;
  font-size: 0.7rem;
  margin: 0;
  line-height: 1.4;
}

.text-red {
  color: #ff5555 !important;
}

.p20-accent {
  color: #ff9900 !important;
}

.p20-label {
  font-family: "Orbitron";
  margin-bottom: 1rem;
  letter-spacing: 2px;
  color: #ff9900;
}

.p20-slider-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  max-width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

.p20-main-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.p20-slider-label {
  font-family: "Orbitron";
  color: #ff9900;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
}

.li-badge-box {
  min-width: 250px;
}

.li-hidden {
  display: none !important;
}

/* Nav Active for JS Toggle */
#id-nav-links-container.nav-active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #050505;
  padding: 2rem;
  border-bottom: 1px solid var(--neon-cyan);
  z-index: 1000;
}

.nav-bar {
  width: 25px;
  height: 2px;
  background: white;
  margin: 4px 0;
}

.results-grid-single {
  grid-template-columns: 1fr !important;
}

.pdf-avoid {
  page-break-inside: avoid;
}

.flex-center-mb2 {
  justify-content: center;
  margin-bottom: 2rem;
}

.product-meta-item {
  font-family: "Orbitron";
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.product-price-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 1rem;
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
}

.mb-half {
  margin-bottom: 0.5rem;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.privacy-group {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

/* Orientation Hint Removed from here */
