/* Estilos generales: modo oscuro elegante */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #eeeeee;
  background-color: #0a0a0a;
}

/* Encabezado tipo landing Webflow */
header {
  background-color: #111111;
  color: #ffffff;
  padding: 3rem 1rem;
  text-align: center;
  z-index: 1;
}

header h1 {
  margin: 0.2em 0;
  font-size: 2.8rem;
  color: #00d9ff;
}

header .subtitle {
  font-size: 1.3rem;
  color: #bbbbbb;
  margin: 0.5rem 0;
}

header .degree {
  font-size: 1rem;
  color: #888888;
}

nav ul {
  color: #ffffff;
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;

  
}

nav a {
  position: relative;
  color: #ffffff !important; 
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 2;
  transition: background 0.3s ease, color 0.3s ease;
}



nav a:hover {
  background-color: #00d9ff;
  color: #ffffff;

}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 0%;
  height: 2px;
  background-color: #00d9ff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}


/* Secciones */
.section {
  max-width: 960px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #111111;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.section h2 {
  color: #00d9ff;
  border-bottom: 2px solid #00d9ff;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.8rem;
  color: #dddddd;
}

a {
  color: #00d9ff;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffa500;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #111111;
  color: #888888;
  font-size: 0.9rem;
}

/* Perfil */
.perfil-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.perfil-foto {
  width: 180px;
  height: auto;
  border-radius: 84px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  border: 2px solid #00d9ff;
}

.perfil-texto {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  color: #dddddd;
}

.quote-section {
  background-color: #121212;
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 800px;
  border-left: 6px solid #00d9ff;
  border-right: 6px solid #00d9ff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.05);
  text-align: left;
}

.quote-section blockquote {
  font-style: italic;
  font-size: 1.4rem;
  color: #dddddd;
  margin-top: 45;
  position: relative;
}

.quote-section blockquote::before {
  content: "“";
  font-size: 4rem;
  color: #00d9ff;
  position: absolute;
  top: -3.5rem;

}

.quote-section blockquote::after {
  content: "”";
  font-size: 4rem;
  color: #00d9ff;
  position: absolute;
  bottom: 3rem;
  right: 1rem;
}

.quote-section footer {
  margin-top: 1rem;
  font-size: 1rem;
  color: #888888;
  text-align: right;
}

.servicios-lista li i {
  color: #00d9ff;
  margin-right: 0.6rem;
  font-size: 1.2rem;
  vertical-align: middle;
}


/* Responsive */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  header h1 {
    font-size: 2rem;
  }

  header .subtitle {
    font-size: 1rem;
    z-index: 2;
  }
}

.main-nav ul li {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(130deg, rgba(0, 217, 255, 0.08), rgba(252, 163, 17, 0.05), rgba(0, 0, 0, 0));
  background-size: 400% 400%;
  animation: pulseGradient 15s ease-in-out infinite;
  z-index: 0;
  border-radius: 0 0 24px 24px;
  pointer-events: none;
}

@keyframes pulseGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header {
  position: relative;
  overflow: hidden;
  z-index: 1;
}


header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 600;
  color: #00d9ff;
  letter-spacing: 0.5px;
  margin: 0.2em 0;
}

/* Sección CTA */
.cta-section {
  background: linear-gradient(135deg, #111111, #1a1a1a);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 16px;
  margin: 4rem auto;
  max-width: 960px;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.05);
}

.cta-section h2 {
  font-size: 2rem;
  color: #00d9ff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #dddddd;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: #00d9ff;
  color: #0a0a0a;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #63e3ff;
  transform: scale(1.05);
}

button,
.btn,
.cta-button {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover,
.btn:hover,
.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
}

