.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #0b1f33; /* Azul marino */
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  object-fit: contain;
  
  
}

.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "STIX Two Text", serif;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #bfa355; /* bronce */
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #bfa355;
}

.perfil-body {
  font-family: 'Merriweather', serif;
  background-color: #0b1a2f; /* azul marino */
  color: white;
  margin: 0;
  padding: 0;
}

.perfil-header {
  background-color: #0b1a2f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid #bfa355;
}

.perfil-header .logo img {
  height: 50px;
}

.perfil-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.perfil-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.perfil-nav a:hover,
.perfil-nav .activo {
  color: #bfa355;
}

.perfil-container {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
}

.perfil-section {
  display: flex;
  max-width: 1200px;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.perfil-img img {
  width: 380px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(191, 163, 85, 0.2);
  object-fit: cover;
}

.perfil-info {
  flex: 1;
  color: white;
}

.perfil-info h1 {
  font-size: 2.6rem;
  color: #bfa355;
  margin-bottom: 0.5rem;
}

.perfil-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.perfil-info p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer {
  background-color: #0b1f33; /* azul marino */
  color: white;
  padding: 4rem 2rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-column h3 {
  color: #bfa355; /* bronce */
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "STIX Two Text", serif;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #bfa355;
}

.footer-logo {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-social a {
  color: white;
  margin-left: 1rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #cd7f32;
}

.slogan{
  font-family: "STIX Two Text", serif;
}

.footer h3{
  font-family: "STIX Two Text", serif;
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

.perfil-container {
  padding: 5rem 2rem;
  background-color: #0b1a2f;
  color: white;
  font-family: 'Merriweather', serif;
}

.perfil-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.perfil-img img {
  width: 400px;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(191, 163, 85, 0.15);
  border: 2px solid #bfa35533;
}

.perfil-info {
  max-width: 600px;
}

.perfil-title {
  font-size: 2.8rem;
  color: #bfa355;
  margin-bottom: 0.5rem;
}

.perfil-sub {
  font-size: 1.2rem;
  color: #ccc;
}

.perfil-divider {
  width: 60px;
  height: 3px;
  background-color: #bfa355;
  margin: 1rem 0;
}

.perfil-info p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #ddd;
}

.perfil-bloques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.bloque {
  background-color: #101c30;
  padding: 2rem;
  border-left: 5px solid #bfa355;
  border-radius: 0.75rem;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.05);
  transition: transform 0.3s ease;
}

.bloque:hover {
  transform: translateY(-5px);
}

.bloque h3 {
  color: #bfa355;
  margin-bottom: 1rem;
}

.bloque ul {
  list-style: none;
  padding-left: 0;
  color: #ddd;
}

.bloque ul li::before {
  content: "• ";
  color: #bfa355;
  font-weight: bold;
}

.frase {
  font-style: italic;
  color: #ccc;
  border-left: 3px solid #bfa355;
  padding-left: 1rem;
}

body {
  font-family: 'Merriweather', serif;
  color: #f0f0f0;
  background-color: #0b1a2f;
}

.profile-hero {
  padding: 5rem 2rem;
  background-color: #0b1a2f;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-content {
  max-width: 1200px;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.text-side {
  flex: 1;
  min-width: 300px;
}

.image-side img {
  width: 420px;
  border-radius: 5px;
  border: 3px solid #bfa355;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.07);
}

.text-side h1 {
  font-size: 3rem;
  color: #bfa355;
  margin-bottom: 0.5rem;
}

.text-side h2 {
  font-size: 1.3rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.divider {
  width: 60px;
  height: 4px;
  background-color: #bfa355;
  margin: 1rem 0;
  border-radius: 4px;
}

.text-side p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #dcdcdc;
  max-width: 600px;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #0b1a2f;
}

.info-card {
  background-color: #0b1a2f;
  border-left: 5px solid #bfa355;
  padding: 2rem;
  border-radius: 0.8rem;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.05);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h3 {
  color: #bfa355;
  margin-bottom: 1rem;
}

.info-card ul {
  list-style: none;
  padding-left: 0;
  color: #ddd;
}

.info-card ul li::before {
  content: "• ";
  color: #bfa355;
  font-weight: bold;
}

.quote-card blockquote {
  font-style: italic;
  color: #ccc;
  border-left: 3px solid #bfa355;
  padding-left: 1rem;
}
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #bfa355;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  background-color: #d2b15c;
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
  
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
 
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: 40px;
}

/* Menú base */
.nav {
  display: flex;
}

.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #c1a95a;
}

/* Hamburguesa */
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .container-header {
    flex-wrap: wrap;
  }

  .hamburger {
    display: block;
  }

  .nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    flex-direction: column;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .menu-toggle:checked ~ .nav {
    max-height: 400px;
    margin-top: 1rem;
  }
}


@media screen and (max-width: 1024px) {
  .container-header {
    padding: 0 1.5rem;
  }

  .perfil-container {
    padding: 3rem 1.5rem;
  }

  .footer-container {
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .profile-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
    background-color: #0b1f33;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    padding: 1rem;
    display: none;
  }

  .menu-toggle:checked + .hamburger + .nav ul {
    display: flex;
  }

  .hamburger {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
  }

  .image-side img {
    max-width: 90%;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer-bottom {
    text-align: center;
    padding: 1rem 0;
  }
}

@media screen and (max-width: 480px) {
  .perfil-info h1 {
    font-size: 2rem;
  }

  .perfil-info h2 {
    font-size: 1.4rem;
  }

  .perfil-info p {
    font-size: 0.95rem;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .footer-column h3 {
    font-size: 1rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}

/* Corrección para evitar overflow horizontal */
body {
  overflow-x: hidden;
}

.perfil-container,
.footer-container,
.profile-content {
  width: 100%;
  box-sizing: border-box;
}


.footer-column a{
  color: white;
  text-decoration: none;
}

.footer-column a :hover{
  color: #bfa355;
  transition: 1s;
}
