body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #F8F5F2;
  overflow: hidden;
  color: #333;
}

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

.container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow-x: hidden;
}

header {
  display: none;
}

nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

nav a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #888;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a i {
  font-size: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

nav a:hover i {
  opacity: 1;
}

.node {
  fill: #888;
  filter: url(#glow);
  transition: all 0.3s ease;
}

.node:hover {
  fill: #555;
  transform: scale(1.2);
}

.connection {
  stroke: rgba(136, 136, 136, 0.2);
  stroke-width: 1;
}

.main-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-title h1 {
  font-family: 'Cinzel', serif;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #D4B480;
  text-transform: uppercase;
  line-height: 1.4;
  text-shadow: 0 0 20px rgba(212, 180, 128, 0.3);
  animation: fadeIn 1.5s ease-out;
}

.main-title h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #555;
  margin-top: 1rem;
  text-shadow: 0 0 20px rgba(136, 136, 136, 0.3);
  animation: fadeIn 1.5s ease-out 0.3s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseCircle {
  0% { 
    r: 35; 
    opacity: 0.8; 
  }
  50% { 
    r: 45; 
    opacity: 1; 
  }
  100% { 
    r: 35; 
    opacity: 0.8; 
  }
}

@keyframes circuitFlow {
  0% { 
    stroke-dashoffset: 100; 
  }
  100% { 
    stroke-dashoffset: 0; 
  }
}

@keyframes pulseCore {
  0% { 
    transform: scale(1); 
    opacity: 0.8; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 1; 
  }
  100% { 
    transform: scale(1); 
    opacity: 0.8; 
  }
}

@keyframes matrixWave {
  0% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.1); 
  }
  100% { 
    transform: scale(1); 
  }
}

@keyframes networkPulse {
  0% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.1); 
  }
  100% { 
    transform: scale(1); 
  }
}

@keyframes dnaWave {
  0% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(5px); 
  }
  100% { 
    transform: translateY(0); 
  }
}

@keyframes dnaRotate {
  0% { 
    transform: rotateY(0deg); 
  }
  100% { 
    transform: rotateY(360deg); 
  }
}

.pulse-circle {
  stroke: #666;
  fill: none;
  stroke-width: 2;
  animation: pulseCircle 2s infinite ease-in-out;
}

.circuit-path {
  stroke: #666;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 100;
  animation: circuitFlow 3s infinite linear;
}

.matrix-core {
  fill: #666;
  animation: pulseCore 2s infinite ease-in-out;
}

.matrix-wave {
  fill: none;
  stroke: #666;
  stroke-width: 2;
  animation: matrixWave 3s infinite ease-in-out;
}

.network-nodes circle {
  fill: #666;
  animation: networkPulse 2s infinite ease-in-out;
}

.network-nodes line {
  stroke: #666;
  stroke-width: 2;
}

.dna-helix {
  fill: none;
  stroke: #666;
  stroke-width: 2;
  animation: dnaWave 3s infinite ease-in-out;
}

.dna-connector {
  fill: none;
  stroke: #666;
  stroke-width: 2;
  animation: dnaRotate 6s infinite linear;
}

.esfera-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.esfera-svg {
  width: 100%;
  height: 100%;
}

.outer-sphere {
  opacity: 0.6;
  animation: spherePulse 3s infinite ease-in-out;
}

@keyframes spherePulse {
  0% { 
    transform: scale(0.95);
    opacity: 0.4;
  }
  50% { 
    transform: scale(1.05);
    opacity: 0.6;
  }
  100% { 
    transform: scale(0.95);
    opacity: 0.4;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 245, 242, 0.95);
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1000px;
  background: rgba(248, 245, 242, 0.98);
  border: 1px solid rgba(136, 136, 136, 0.2);
  border-radius: 20px;
  padding: 3rem;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  max-height: 90vh;
  -webkit-overflow-scrolling: touch;
}

.modal-content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 2px;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  margin-top: 2rem;
}

.modal-content h2:nth-of-type(2) {
  font-size: 1.8rem;
  margin-top: 0.5rem;
  font-weight: 400;
  color: #555;
}

.proyecto-content {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.proyecto-content > p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
}

.proyecto-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: rgba(136, 136, 136, 0.05);
  border-radius: 15px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(136, 136, 136, 0.1);
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(136, 136, 136, 0.08);
}

.feature-icon {
  font-size: 2rem;
  color: #666;
  margin-bottom: 1rem;
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.feature h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #444;
}

.feature p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #666;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.close-modal:hover {
  transform: rotate(90deg);
  color: #333;
}

.side-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(248, 245, 242, 0.95);
  backdrop-filter: blur(15px);
  border-right: 1px solid rgba(136, 136, 136, 0.1);
  z-index: 1500;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 5rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateX(-20px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #D4B480 rgba(136, 136, 136, 0.1);
}

.side-nav::-webkit-scrollbar {
  width: 8px;
}

.side-nav::-webkit-scrollbar-track {
  background: rgba(136, 136, 136, 0.1);
  border-radius: 4px;
}

.side-nav::-webkit-scrollbar-thumb {
  background: #D4B480;
  border-radius: 4px;
}

.side-nav::-webkit-scrollbar-thumb:hover {
  background: #b39361;
}

.side-nav.active {
  left: 0;
  opacity: 1;
  transform: translateX(0);
}

.side-nav nav {
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
}

.side-nav nav a {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.side-nav nav a:hover {
  background: rgba(136, 136, 136, 0.1);
}

.side-nav nav a::after {
  display: none;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
  margin-bottom: 0.2rem;
}

.menu-item span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.submenu {
  margin-left: 2rem;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  margin-bottom: 0.5rem;
}

.submenu.active {
  height: auto;
}

.submenu a {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  opacity: 0.8;
  display: block;
  width: 100%;
}

.menu-item i.fa-chevron-down {
  transition: transform 0.3s ease;
}

.menu-item.active i.fa-chevron-down {
  transform: rotate(180deg);
}

.menu-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1400;
  transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.menu-overlay.active {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}

.menu-toggle {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2000;
  background: none;
  border: none;
  color: #555;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-toggle:hover {
  color: #333;
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}

.menu-toggle i {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-nav.active + #menu-overlay + .menu-toggle i {
  transform: rotate(180deg);
}

.biografia-header {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.profile-photo-container {
  width: 200px;
  height: 200px;
  position: relative;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-photo-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(136, 136, 136, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(212, 180, 128, 0.3);
  position: relative;
}

.profile-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.profile-photo-placeholder img:hover {
  transform: scale(1.05);
}

.biografia-content {
  margin-top: 2rem;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 1rem;
}

.biografia-content::-webkit-scrollbar {
  width: 8px;
}

.biografia-content::-webkit-scrollbar-track {
  background: rgba(136, 136, 136, 0.1);
  border-radius: 4px;
}

.biografia-content::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.3);
  border-radius: 4px;
}

.biografia-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
}

.eteria-content {
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.eteria-text p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
  text-align: justify;
}

.eteria-text p strong {
  color: #333;
  font-weight: 500;
  letter-spacing: 1px;
}

.eteria-text p:last-child {
  margin-bottom: 0;
}

.aprendizaje-content {
  margin-top: 2rem;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 1rem;
}

.aprendizaje-content::-webkit-scrollbar {
  width: 8px;
}

.aprendizaje-content::-webkit-scrollbar-track {
  background: rgba(136, 136, 136, 0.1);
  border-radius: 4px;
}

.aprendizaje-content::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.3);
  border-radius: 4px;
}

.aprendizaje-text {
  color: #444;
}

.aprendizaje-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
}

.aprendizaje-text h3 {
  color: #444;
  font-size: 1.8rem;
  margin: 2rem 0;
  text-align: center;
  font-weight: 400;
  letter-spacing: 2px;
}

.etapas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  position: relative;
}

.esfera {
  background: rgba(136, 136, 136, 0.05);
  border-radius: 50%;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(136, 136, 136, 0.1);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 30px rgba(136, 136, 136, 0.1);
}

.esfera h4 {
  margin-top: 1rem;
  color: #444;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.esfera::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 1px solid rgba(136, 136, 136, 0.2);
  animation: spherePulse 3s infinite ease-in-out;
}

.esferas-contenido {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(136, 136, 136, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(136, 136, 136, 0.1);
}

.esferas-contenido h3 {
  color: #444;
  font-size: 1.8rem;
  margin: 2rem 0;
  text-align: center;
  font-weight: 400;
  letter-spacing: 2px;
}

.esferas-contenido h4 {
  color: #444;
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.esferas-contenido ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: #444;
  font-size: 1.1rem;
  line-height: 1.8;
}

.esferas-contenido ol li {
  margin-bottom: 0.5rem;
}

.esferas-contenido p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #444;
  font-size: 1.1rem;
}

.esferas-contenido p:last-child {
  margin-bottom: 0;
}

.encuentros-contenido {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(136, 136, 136, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(136, 136, 136, 0.1);
}

.encuentros-contenido h3 {
  color: #444;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 1px;
}

.encuentros-contenido ul {
  list-style: none;
  padding: 0;
}

.encuentros-contenido ul li {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.8;
  color: #444;
  font-size: 1.1rem;
}

.encuentros-contenido ul li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: #D4B480;
  font-size: 1.2rem;
}

.outer-sphere {
  animation: spherePulse 3s infinite ease-in-out;
  transform-origin: center;
}

.planet-visualization {
  animation: none;
  width: 100%;
  max-width: 400px;
  margin: 3rem auto;
  padding: 1rem;
}

.planet-network {
  width: 100%;
  height: auto;
}

.planet-sphere {
  fill: rgba(136, 136, 136, 0.1);
  stroke: #404040;  
  stroke-width: 1;
  filter: url(#glow-planet);
}

.sacred-geometry {
  fill: none;
  stroke: #404040;  
  stroke-width: 1;
  animation: rotate 30s linear infinite, pulseGeometry 4s ease-in-out infinite;
}

.network-node {
  fill: #D4B480;
  filter: url(#glow-planet);
  animation: nodeMove 4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;  
}

@keyframes nodeMove {
  0% { 
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.8;
  }
  25% {
    transform: translate(10px, -10px) scale(1.2) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translate(0, 0) scale(1) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translate(-10px, 10px) scale(1.2) rotate(270deg);
    opacity: 1;
  }
  100% { 
    transform: translate(0, 0) scale(1) rotate(360deg);
    opacity: 0.8;
  }
}

.connection-lines line {
  stroke: #404040;  
  stroke-width: 1;
  stroke-dasharray: 5 3;
  animation: flowLine 3s linear infinite, pulseOpacity 4s ease-in-out infinite;
}

@keyframes pulseOpacity {
  0% { opacity: 0.2; }
  50% { opacity: 0.6; }
  100% { opacity: 0.2; }
}

@keyframes flowLine {
  from { stroke-dashoffset: 8; }
  to { stroke-dashoffset: 0; }
}

@keyframes rotate {
  from { transform: rotate(0deg); transform-origin: 200px 200px; }
  to { transform: rotate(360deg); transform-origin: 200px 200px; }
}

.pulse-circle,
.circuit-path,
.matrix-core,
.matrix-wave,
.network-nodes circle,
.network-nodes line,
.dna-helix,
.dna-connector {
  stroke: #666;
}

.matrix-core {
  fill: #666;
}

.back-button {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: none;
  border: none;
  color: #666;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  min-width: 44px;
  min-height: 44px;
}

.back-button:hover {
  color: #333;
  transform: translateX(-3px);
}

.back-button i {
  transition: transform 0.3s ease;
}

.back-button span {
  display: none;
}

.discover-more {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: none;
  border: 1px solid rgba(136, 136, 136, 0.3);
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  font-family: 'Space Grotesk', sans-serif;
}

.discover-more:hover {
  background: rgba(136, 136, 136, 0.1);
  border-color: rgba(136, 136, 136, 0.5);
}

.bridge-visualization {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
}

.connection-bridge {
  width: 100%;
  height: auto;
}

.concept-node {
  fill: rgba(212, 180, 128, 0.2);
  stroke: #D4B480;
  stroke-width: 2;
  filter: url(#glow-bridge);
  transition: all 0.5s ease;
}

.concept-node:hover {
  fill: rgba(212, 180, 128, 0.4);
  transform: scale(1.1);
}

.connection-line {
  fill: none;
  stroke: #D4B480;
  stroke-width: 2;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 2s forwards ease-out;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.team-visualization {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
}

.team-network {
  width: 100%;
  height: auto;
}

.team-node {
  fill: rgba(136, 136, 136, 0.2);
  stroke: #666;
  stroke-width: 2;
  filter: url(#glow-team);
  transition: all 0.5s ease;
}

.team-node.central {
  fill: rgba(136, 136, 136, 0.3);
}

.team-node:hover {
  fill: rgba(136, 136, 136, 0.4);
  transform: scale(1.1);
}

.team-connection {
  stroke: rgba(136, 136, 136, 0.3);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawTeamConnection 2s forwards ease-out;
}

@keyframes drawTeamConnection {
  to {
    stroke-dashoffset: 0;
  }
}

.nosotros-content {
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.nosotros-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
  text-align: justify;
}

.contacto-content {
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-content > p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
  text-align: justify;
}

.contact-section {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(136, 136, 136, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(136, 136, 136, 0.1);
}

.contact-section h3 {
  color: #444;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.contact-section p {
  margin: 1rem 0;
  font-size: 1.1rem;
  color: #666;
}

.contact-section a {
  color: #D4B480;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section a:hover {
  color: #b39361;
}

.social-links {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #D4B480;
  transform: translateY(-2px);
}

.social-links i {
  font-size: 1.4rem;
}

.contact-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(136, 136, 136, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(136, 136, 136, 0.1);
}

.contact-cta h3 {
  color: #444;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
  background: #22c35e;
}

.whatsapp-button i {
  font-size: 1.3rem;
}

.concept-label {
  font-family: 'Space Grotesk', sans-serif;
  fill: #333;
  font-size: 14px;
  text-anchor: middle;
  letter-spacing: 1px;
}

.testimonios-content {
  margin-top: 2rem;
}

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

.testimonios-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(136, 136, 136, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(136, 136, 136, 0.1);
}

.testimonios-form h3 {
  color: #444;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 2px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #444;
  font-size: 1rem;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(136, 136, 136, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #D4B480;
  background: white;
  box-shadow: 0 0 0 3px rgba(212, 180, 128, 0.1);
}

.form-group input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form-group label[for="consentimiento"] {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.submit-button {
  width: 100%;
  padding: 1rem;
  background: #D4B480;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: #b39361;
  transform: translateY(-2px);
}

:root {
  --fondo-principal: #091D1E;
  --fondo-profundo: #030D0E;
  --resplandor-base: #00B6AA;
  --resplandor-intenso: #00E8D8;
}

.brujula-content {
  background: var(--fondo-principal) !important;
  overflow-y: auto !important;
  position: relative !important;
  min-height: 80vh;
  max-height: 90vh;
  scrollbar-width: thin;
  scrollbar-color: var(--resplandor-intenso) var(--fondo-principal);
}

.brujula-content::-webkit-scrollbar {
  width: 8px;
}

.brujula-content::-webkit-scrollbar-track {
  background: var(--fondo-principal);
  border-radius: 4px;
}

.brujula-content::-webkit-scrollbar-thumb {
  background: var(--resplandor-base);
  border-radius: 4px;
  border: 2px solid var(--fondo-principal);
}

.brujula-content::-webkit-scrollbar-thumb:hover {
  background: var(--resplandor-intenso);
}

.brujula-info {
  position: relative;
  z-index: 2;
  color: #E0E0E0;
  padding: 2rem;
  padding-right: 3rem;
  max-width: 800px;
  margin: 0 auto;
  font-family: sans-serif;
}

.subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  color: #E0E0E0;
  font-family: sans-serif;
  display: block;
  width: 100%;
  font-style: italic;
  line-height: 1.6;
  padding: 0 1rem;
}

.brujula-info h3,
.brujula-info p,
.brujula-info li {
  text-shadow: none;
}

.brujula-info h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #E0E0E0;
  font-family: sans-serif;
}

.brujula-info p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #E0E0E0;
  text-align: justify;
  font-family: sans-serif;
}

.brujula-info li {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #E0E0E0;
  position: relative;
  padding-left: 1.5rem;
  font-family: sans-serif;
}

.fecha-info {
  background: rgba(0, 168, 156, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1rem 0;
  border: 1px solid rgba(0, 224, 192, 0.2);
  color: #E0E0E0;
}

.precio-info {
  background: rgba(0, 168, 156, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
  border: 1px solid rgba(0, 224, 192, 0.2);
  text-align: center;
  color: #E0E0E0;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--resplandor-intenso);
  color: var(--fondo-principal);
  text-decoration: none;
  border-radius: 30px;
  margin-top: 2rem;
  transition: all 0.3s ease;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--resplandor-base);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 224, 192, 0.3);
}

.brujula-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: transparent;
  margin: 1rem auto;
  width: 100%;
}

.brujula-header h2 {
  color: var(--resplandor-intenso) !important;
  text-shadow: 0 0 15px var(--resplandor-base);
  margin-top: 1rem;
  font-size: 2.5rem !important;
  text-align: left !important;
  padding: 0 !important;
  display: none; /* Hiding the gray workshop/brujula text */
}

.brujula-content .back-button {
  color: var(--resplandor-intenso);
}

.brujula-content .back-button:hover {
  color: var(--resplandor-base);
  text-shadow: 0 0 10px var(--resplandor-intenso);
}

.brujula-content .close-modal {
  color: var(--resplandor-intenso);
}

.brujula-content .close-modal:hover {
  color: var(--resplandor-base);
  text-shadow: 0 0 10px var(--resplandor-intenso);
}

.brujula-wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(180deg, 
    var(--fondo-principal) 0%,
    var(--fondo-profundo) 100%
  );
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%2300B6AA' fill-opacity='0.1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 50% auto;
  transform-origin: center bottom;
}

.wave1 {
  animation: moveWave 15s linear infinite;
  opacity: 0.15;
  z-index: 1;
  box-shadow: 0 0 20px var(--resplandor-base);
}

.wave2 {
  animation: moveWave 10s linear infinite;
  opacity: 0.1;
  z-index: 2;
  box-shadow: 0 0 30px var(--resplandor-intenso);
}

.wave3 {
  animation: moveWave 20s linear infinite;
  opacity: 0.05;
  z-index: 3;
  box-shadow: 0 0 40px var(--resplandor-base);
}

.brujula-logo {
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 0 20px var(--resplandor-intenso));
  mix-blend-mode: lighten;
  opacity: 0.95;
  transition: all 0.3s ease;
  padding: 10px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.brujula-logo:hover {
  filter: drop-shadow(0 0 30px var(--resplandor-intenso));
  opacity: 1;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .main-title h1 {
    font-size: 3rem;
  }

  .main-title h2 {
    font-size: 1.5rem;
  }

  .modal-content {
    width: 95%;
    padding: 2rem 1rem;
  }

  .modal-content h2 {
    font-size: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .proyecto-features {
    grid-template-columns: 1fr;
  }

  .etapas-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .esfera {
    aspect-ratio: auto;
    border-radius: 20px;
    padding: 1.5rem;
  }

  .contact-section {
    padding: 1.5rem;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }

  .whatsapp-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .profile-photo-container {
    width: 150px;
    height: 150px;
  }

  .biografia-text p,
  .eteria-text p,
  .aprendizaje-text p,
  .nosotros-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .side-nav {
    width: 100%;
    left: -100%;
  }

  .side-nav.active {
    width: 100%;
  }

  .side-nav nav {
    padding: 0.5rem;
  }

  .feature {
    padding: 1.5rem;
  }

  .team-visualization,
  .bridge-visualization,
  .planet-visualization {
    padding: 0.5rem;
  }

  .esferas-contenido {
    padding: 1rem;
  }

  .encuentros-contenido {
    padding: 1rem;
  }

  .encuentros-contenido ul li {
    padding-left: 1.5rem;
    font-size: 1rem;
  }

  .testimonios-form {
    padding: 1.5rem;
  }
  
  .testimonios-form h3 {
    font-size: 1.5rem;
  }
  
  .form-group input[type="text"],
  .form-group textarea {
    font-size: 16px; 
  }
  
  .brujula-header {
    padding: 1rem;
  }
  
  .brujula-header h2 {
    font-size: 2rem !important;
  }
  
  .brujula-logo {
    max-width: 280px;
    padding: 15px;
  }
  
  .brujula-info {
    padding: 1rem;
  }
  
  .brujula-info h2 {
    font-size: 1.6rem;
  }
  
  .brujula-info h3 {
    font-size: 1.3rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .main-title h1 {
    font-size: 4rem;
  }

  .main-title h2 {
    font-size: 1.8rem;
  }

  .modal-content {
    width: 90%;
    padding: 2.5rem;
  }

  .proyecto-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .etapas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .modal-content {
    width: 80%;
    max-width: 1200px;
  }

  .proyecto-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .main-title h1 {
    font-size: 2.5rem;
  }

  .main-title h2 {
    font-size: 1.2rem;
  }

  .modal-content {
    height: 90vh;
    margin: 2rem auto;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .profile-photo-placeholder img {
    image-rendering: -webkit-optimize-contrast;
  }
}

@media (hover: none) {
  .feature:hover,
  .esfera:hover,
  .back-button:hover,
  .menu-toggle:hover {
    transform: none;
  }

  .side-nav nav a,
  .menu-item {
    padding: 1rem 0.8rem;
  }
}

/* Prevent text scaling in landscape orientation */
html {
  -webkit-text-size-adjust: 100%;
}

/* Touch device optimizations */
.menu-toggle {
  position: fixed;
}

/* Ensure content doesn't overflow */
.container {
  overflow-x: hidden;
  width: 100%;
}