* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  a {
    text-decoration: none;
    color: inherit;
  }	
  body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: #F5E4CC;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* HEADER */
/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background 0.4s ease;
}

header.visible {
  background: #f8d4a98d;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #444;
  text-decoration: none;
  font-weight: 500;
  background-color: #ffffff90;
  transition: background-color 0.6s ease;
}

header.visible .nav-links a {
  background-color: transparent;
}

.nav-links a:hover {
  opacity: 0.8;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #000000;
  transition: background 0.3s ease, color 0.3s ease;
}

.hamburger-icon {
  font-size: 1.2rem;
  line-height: 1;
}

  
  
  /* HERO */
  .hero-clean {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url("../img/20250731_2334_Bienestar Emocional Abstracto_remix_01k1hqjybce298mr3cgqtj2r5x (1).png");
    background-position: center 20%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: #fff;
  }
  

  
  .hero-content {
    background-color: #B27853;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    max-height: 200px; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    position: relative;
    z-index: 1;
    padding: 20px;
}
  
  .hero-clean h1 {
    font-size: 2.5rem;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 20px;
    font-family: "DM Sans", sans-serif;
  }
  
  .cta-btn {
    background-color: #5A3E2B;
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: "DM Sans", sans-serif;
  }
  
  .cta-btn:hover {
    background-color: #3d2c1d;
  }

  .hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px;
  }
  
  .hero-map {
    flex: 1;
    max-width: 600px;
    max-height: 600px;
  }
  
  .hero-content {
    flex: 1;
    max-width: 400px;
  }
  /* Layout dos columnas en el hero */
  .hero-flex {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el contenido horizontalmente */
    gap: 40px;
    padding: 40px;
  }

/* El texto */
.hero-flex .hero-content {
  flex: 1;
  max-width: 480px;
}

/* El mapa a la derecha */
.hero-map {
  flex: 1;
  max-width: 640px;
  width: 100%;
  /* Mantiene proporción y hace que el iframe se adapte */
  aspect-ratio: 4 / 3;
  margin: auto; /* Centra el mapa horizontalmente y verticalmente */
}

.hero-map iframe {
  width: 100%;
  height: 100%;
  margin:auto 0;
  border: 5px solid #c7bba9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive: en mobile se apilan (texto arriba, mapa abajo) */
@media (max-width: 900px) {
  .hero-flex {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .hero-flex .hero-content,
  .hero-map {
    max-width: 100%;
  }
  /* un poco más panorámico en celus */
  .hero-map { aspect-ratio: 16 / 9; }
}

  
/* SCATTER SECTION */
.scatter-transition {
  position: relative;
  height: 100vh;
  background-color: #F5E4CC;
  overflow: hidden;
}

#scatter-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: #5A3E2B;
}
#scatter-bg text {
  text-anchor: middle;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  fill: white;
  pointer-events: none;
  transition: opacity 0.3s ease;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
}

  /*QUIENES SOMOS*/ 
  .quienes-somos {
    padding: 60px 20px;
    text-align: center;
  }
  
  .quienes-somos .contenido {
    max-width: 800px;
    margin: 0 auto 40px;
  }
  
  .contenido h2 {
    font-size: 2.4rem;
    color: #7d552e;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .contenido p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .equipo-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .card-persona {
    background: #c7bba9;
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .card-persona img {
    max-width: 300px;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  .card-persona h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
  }
  
  .card-persona p {
    font-size: 1rem;
    color: #333;
  }
  
  
  /* SOBRE MÍ */
  .sobre-mi {

    padding: 60px 20px;
    display: flex;
    justify-content: center;
  }
  
  .sobre-mi .contenido {
    max-width: 800px;
    padding-left: 30px;
  }
  
  .sobre-mi h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
  }
  
  .sobre-mi h3 {
    font-size: 1.5rem;
    margin: 30px 0 10px;
  }
  
  .sobre-mi p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
/* NUEVO: Sección de enfoque en grid vertical */


.parent {
  grid-template-columns: 1fr;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  margin: 0 auto 40px;
  background-color: #c7bba9;
  border-radius: 12px;
}

.parent-img {
  max-width: 100%;
  height: auto;
  display: block;
  padding: 10px;
  border-radius: 8px;
}
.parent h2 {
  font-size: 2rem;
  color: #444;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}	

.parent div {
  background-color: #f0f8f5;
  border-radius: 8px;
}




.accordion-item {
  margin: 20px;
  border: 1px solid #a88768;
}

.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #5a3e2b;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  border: 1px solid #a88768;
  border-radius: 8px;
  padding: 10px 15px;
}

.arrow-icon {
  transition: transform 0.4s ease;
  font-size: 1.2rem;
}

.accordion-item.open .arrow-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  text-align:center;
}

.accordion-item.open .accordion-body {
  max-height: 800px;
  opacity: 1;
  margin-top: 10px;
  padding: 10px;
}


.galeria-flip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background-color: #f5e4cc;
  max-width: 800px;
  margin: 0 auto;
}

.flip-card {
  width: 260px;
  height: 340px;
  perspective: 1000px;
  
}


.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'DM Sans', sans-serif;
}

.flip-front {
  background-size: cover;
  background-position: center;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
}

.flip-back {
  background-color: #c7bba9;
  color: #333;
  transform: rotateY(180deg);
  font-size: 0.95rem;
  line-height: 1.4;
}






.footer-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}

.footer-wave img {
  display: absolute;
  width: 100%;
  height: auto;
}

  /* NUEVO FOOTER ELEGANTE */
.footer-elegante {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #597178;
  padding: 40px 20px;
  gap: 30px;
}

.footer-box {
  background-color: white;
  padding: 20px;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.footer-box:hover {
  transform: translateY(-5px);
}

.footer-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #324246;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-box hr {
  width: 40px;
  margin: 10px auto;
  border: 1px solid #324246;
}

.footer-box p {
  font-size: 0.95rem;
  color: #444;
}

.footer-box a {
  color: #324246;
  text-decoration: none;
  font-weight: 500;
}

.footer-box a:hover {
  text-decoration: underline;
}

.footer-copy {
  background-color: #324246;
  color: white;
  text-align: center;
  font-size: 0.9rem;
  padding: 15px;
}

  
  /* WHATSAPP */
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .whatsapp-icon {
    width: 100px;
    height: 100px;
    transition: transform,rotate 0.5s ease;

  }
  
  .whatsapp-icon:hover {
    transform: scale(1.1);
    rotate: 360deg;
  }
  
/* NUEVO: Menú hamburguesa en pantalla completa */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 77px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 999;
    text-align: left;
    padding: 20px 30px;
    font-family: 'Roboto', sans-serif;
  }
  
  .mobile-menu a {
    color: #7d582e;
    font-size: 1.1rem;
    padding: 15px 0;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
  }
  
  .mobile-menu a:last-child {
    border-bottom: none;
  }
  
  .mobile-menu.active {
    display: flex;
  }
  
  /* Ajuste botón hamburguesa */
  .hamburger-btn {
    display: none;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 20%;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #7d5b2e;
  }
  

  
  /* Ajuste del grid en versión celular */


.enfoque-grid {
  padding: 60px 20px;
  background-color: #f0f8f5;
}

.parent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.parent img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.parent div {
  background-color: transparent;
}

@media (max-width: 768px) {
  .parent {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    margin: 0 auto 40px;
    background-color: #c7bba9;
  }

  .parent > div,
  .parent > img {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .sobre-mi {
    flex-direction: column;
    align-items: center;
  }

  .sobre-mi .contenido {
    max-width: 90%;
    padding: 20px;
    border-left: none;
    border-top: 4px solid #c7b281;
    margin-bottom: 30px;
  }

  .hamburger-btn {
    display: block;
  }

  .nav-links {
    display: none ;
  }

  #scatter-bg text {
    font-size: 0;
  }

  .whatsapp-icon {
    width: 80px;
    height: 80px;
  }
  .scatter-transition {
    height: 40vh;
  }
  
  .flip-inner {
    will-change: transform;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
  }

  .flip-card.scroll-flip .flip-inner {
    transform: rotateY(180deg);
  }
}






