/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #f2f2f2;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Wrapper */
.wrapper {
  max-width: 960px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-bottom: 40px;
}

/* Navegación */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 20px 20px;
}
@media (min-width: 768px) {
  nav {
    padding: 20px 40px;
  }
}
nav .logo img {
  max-width: 100%;
  height: auto;
  width: 100px;
}
@media (max-width: 480px) {
  nav .logo img {
    width: 80px;
  }
}
nav ul {
  display: flex;
  gap: 30px;
}
nav a {
  font-weight: bold;
  font-size: 0.95rem;
  color: #333;
}
nav a:hover {
  color: #007bff;
}

/* Header */
header {
  padding: 60px 40px 40px;
}
.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}
.profile-img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
}
.intro h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}
.tagline {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}
.btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}
.btn.whatsapp {
  background: #1b9e48;
  color: #fff;
}

/* Divisores */
.section-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 40px;
}

/* Sobre mí y Servicios */
.about-services {
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 40px;
}
.about-services .col {
  flex: 1;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .about-services {
    flex-direction: row;
  }
}
.about-services h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
#sobre-mi p {
  margin-bottom: 1.5em;
  line-height: 1.6;
}
.about-services ul {
  list-style: disc;
  margin-left: 20px;
}
.about-services li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Contacto */
.contact-section {
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 40px;
}
.contact-info,
.contact-form {
  flex: 1;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .contact-section {
    flex-direction: row;
  }
}
.contact-list li {
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Temas de interés */
.interest-box {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}
.interest-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.interest-box ul {
  list-style: disc;
  margin-left: 20px;
}
.interest-box li {
  margin-bottom: 8px;
}
.interest-box a:hover {
  color: #007bff;
}

/* Mapa */
.map-container {
  margin: 0 20px 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
.whatsapp-float img {
  display: block;
}

/* Footer */
footer {
  background: #fafafa;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #777;
}
