body{
    
    
    margin: 0;
}   

header{
    font-family: "Calistoga", serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    background: linear-gradient(to right, #ffadff, #e89f90, #f3a78f, #ec5d5d);
    padding: 0 20px;
    position: relative;
}

.logo-nombre{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center; 
    gap: 10px;
}
.logo{
    width: 150px;   
    height: auto;
    padding-bottom:20px;
}
.nombre{
    font-size: 45px; 
    margin: 0;  
    color: white;     
}

h2{
    display: flex;
    justify-content:center;
}
/*ICONOS EN HEADER*/

.barra-iconos {
  display: flex;
  align-items: center;
  justify-content: space-between; /* separa íconos de la búsqueda */
  padding: 13px 20px;
  gap: 15px;
  background: transparent; /* SIN fondo negro */
}

.iconos{
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-link img {
  width: 28px;
  height: 28px;
  cursor: pointer;
}


.nav-link:hover {
    transform: translateX(-5px);
    transition: all 0.3s ease;
}
.menu-secciones {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center; 
    gap: 70px;               
    margin-top: 15px;
    background-color: #fff;  
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd; 
    
}
.menu-secciones a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    
}
.menu-secciones a:hover {
    color: #ec5d5d; 
}




/*SERVICIOS*/



.flip-card {
  background-color: transparent;
  width: 500px;
  height: 400px;
  perspective: 1000px;
  margin: 20px;
  overflow: hidden; /* <- Aquí está bien */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  
  backface-visibility: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Elimina overflow aquí */
.flip-card-front {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.flip-card-front img {
  width: 500px;
  height: 400px;
  object-fit: cover;
}
.flip-card-front::before {
  content: "";
  position: absolute;
  inset: 0; /* top: 0; bottom: 0; left: 0; right: 0 */
  background: linear-gradient(to bottom, rgba(235, 153, 153, 0.469), rgba(235, 153, 153, 0.469));
  z-index: 1;
  pointer-events: none; /* evita bloquear clics */
  backface-visibility: hidden;
}

.titulo-servicio {
  position: absolute;
  bottom: 200px;
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  z-index: 2;

}

/* Parte trasera */
.flip-card-back {
  background-color: #f5f5f5;
  color: black;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ✅ Centra verticalmente */
  
  text-align: center;
}


.flip-card-back h3 {
  margin-top: 10px;
  margin-bottom: 25px;
  font-size: 1.7rem;
  font-weight: bold;
}

.flip-card-back ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.flip-card-back ul li {
  color: #777;
  margin: 5px 0;
  font-size: 0.95rem;
}

/* Botón */
.btn-cita {
  display: inline-block;
  padding: 10px 25px;
  background-color: #888;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-cita:hover {
  background-color: #444;
}

.portada {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 100%;
  object-fit: cover;
}
.lista-servicios {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.lista-servicios ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-servicios ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #555;
}
.contenedor-servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  margin-bottom: 60px;
}



.footer {
  background: linear-gradient(to right, #ffadff, #e89f90, #f3a78f, #ec5d5d);
  padding: 20px;
  text-align: center;
  color: #6b0303;
  padding: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.titulo-footer {
  font-size: 2.5em;
  margin: 0;
  color: #800000;
}

hr {
  border: none;
  border-top: 1px solid #8e1e1e;
  margin: 15px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

.footer-section {
  flex: 1 1 220px;
  margin: 10px;
}

.footer-section h3 {
  color: #b04343;
  font-weight: bold;
  font-size: 1.1em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: black;
  text-decoration: none;
  font-size: 1em;
}

.footer-section p {
  margin: 5px 0;
  font-size: 1em;
}

.Correo {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formulario input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.formulario button {
  background-color: #a12222;
  color: white;
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}


.footer-logo img {
  width: 200px;
  height: auto;
  position: absolute;
  top: 190px;
  left: 140px;
  z-index: 10;
}

.footer-logo-2 img {
  width: 200px;
  height: auto;
  position: absolute;
  top: 190px;
  right: 140px;
  z-index: 10;
}





.contacto {
  margin-top: 30px;
  color: #8b1c1c;
}

.copy {
  text-align: center;
  font-size: 0.9em;
  color: #4d0000;
  margin-top: 10px;
}






.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-contenido h2 {
  margin-top: 0;
  margin-bottom: 30px; /* Más separado del primer input */
  font-size: 24px;
  text-align: center;
}


/* Inputs del formulario */
.modal-contenido input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px; /* Más separación entre inputs */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

/* Botón "Enviar" del modal */
.modal-contenido button {
  padding: 12px 20px;
  background-color: #ff69b4;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: block;
  margin: 0 auto; /* Centrado horizontal */
}

.modal-contenido button:hover {
  background-color: #e755a1;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 24px;
  cursor: pointer;
}












.preguntas-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background: linear-gradient(to right, #ffadff, #e89f90, #f3a78f, #ec5d5d);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.preguntas-title {
  text-align: center;
  font-size: 36px;
  color: #a94343;
  margin-bottom: 40px;
  font-weight: bold;
}

.pregunta {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.pregunta input[type="checkbox"] {
  display: none;
}

.pregunta label {
  display: block;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 600;
  color: #d63384;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.pregunta label::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 24px;
  transition: transform 0.3s;
}

.pregunta input[type="checkbox"]:checked + label::after {
  content: "−";
  transform: rotate(180deg);
}

.respuesta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
  background-color: #fffafc;
  color: #1a1818;
}

.pregunta input[type="checkbox"]:checked ~ .respuesta {
  max-height: 200px;
  padding: 15px 20px 20px;
}







/* Botón */
.btn-quienes {
  background-color: #c71585;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s;
}

.btn-quienes:hover {
  background-color: #a0126f;
  transform: scale(1.05);
}

/* Modal base */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Mostrar modal cuando el ID está en la URL */
.modal:target {
  display: flex;
}

/* Contenido del modal */
.modal-contenido {
  background: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeIn 0.4s ease;
}

.modal-contenido h2 {
  font-size: 28px;
  color: #c71585;
  margin-bottom: 15px;
}

.modal-contenido p {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
}

/* Botón cerrar */
.cerrar-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.cerrar-modal:hover {
  color: #c71585;
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}






body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #fff;
}

.coleccion {
  text-align: center;
  padding: 60px 30px;
  background-color: #fff;
}

.coleccion-titulo {
  font-size: 28px;
  font-weight: 600;
  color: #ec5d5d;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.coleccion-subtitulo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 60px;
  color: #000;
}
.coleccion-subtitulo2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 100px;
  color: #000;
}

.galeria-coleccion {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.galeria-coleccion2 {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.galeria-coleccion img {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.galeria-coleccion2 img {
  width: 25%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.galeria-coleccion img:hover {
  transform: scale(1.03);
}
.galeria-coleccion2 img:hover {
  transform: scale(1.03);
}
