.elementor-1603 .elementor-element.elementor-element-2843374{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-56b4337 *//* Container principal */
.container {
  display: flex;
  min-height: 100vh;
  padding: 120px 20px 20px 20px;
  gap: 40px;
}

/* Sección de galería */
.gallery-section {
  flex: 1;
  position: relative;
  max-width: calc(100% - 360px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 60px;
  padding: 40px 20px;
  justify-items: center;
  align-items: center;
  width: 100%;
  min-height: 600px;
}

/* Items de fotos */
.photo-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, z-index 0.3s ease;
  z-index: 5;
  margin: 20px;
}

.photo-item:hover {
  transform: rotate(0deg) scale(1.05) !important;
  z-index: 10;
}

 .testimonial-item{
     margin-bottom: 20px;
 }

/* Rotaciones aleatorias manteniendo el efecto desordenado */
.photo-item:nth-child(1) {
  transform: rotate(-2deg);
}
.photo-item:nth-child(2) {
  transform: rotate(3deg);
}
.photo-item:nth-child(3) {
  transform: rotate(-1deg);
}
.photo-item:nth-child(4) {
  transform: rotate(4deg);
}
.photo-item:nth-child(5) {
  transform: rotate(-3deg);
}
.photo-item:nth-child(6) {
  transform: rotate(2deg);
}
.photo-item:nth-child(7) {
  transform: rotate(-4deg);
}
.photo-item:nth-child(8) {
  transform: rotate(1deg);
}
.photo-item:nth-child(9) {
  transform: rotate(-2deg);
}
.photo-item:nth-child(10) {
  transform: rotate(3deg);
}

.photo-container {
  position: relative;
  background: #fff;
  padding: 15px 15px 25px 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 0 20px rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  transform-origin: center;
}

.photo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(0, 0, 0, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(
      45deg,
      transparent 49%,
      rgba(0, 0, 0, 0.01) 50%,
      transparent 51%
    );
  background-size: 5px 5px, 3px 3px;
  pointer-events: none;
}

.photo-container a {
  display: block;
  text-decoration: none;
}

.photo-container img {
  display: block;
  max-width: 300px;
  max-height: 2000px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
}

/* Chinches */
.pushpin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  z-index: 15;
}

.pushpin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4) 30%,
    transparent 30%
  );
}

.pushpin-red {
  background: #8b4b47;
  top: -6px;
  left: 20px;
}

.pushpin-blue {
  background: #4a5568;
  top: -6px;
  right: 20px;
}

.pushpin-green {
  background: #2d5016;
  top: 15px;
  left: -6px;
}

.pushpin-yellow {
  background: #8b7b3a;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

/* Cintas adhesivas */
.tape {
  position: absolute;
  background: rgba(240, 230, 190, 0.8);
  z-index: 12;
}

.tape::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(0, 0, 0, 0.05) 1px,
      transparent 2px
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.1) 100%
    );
}

.tape-top {
  top: -10px;
  left: 50px;
  width: 60px;
  height: 20px;
  transform: rotate(-5deg);
}

.tape-diagonal {
  top: -8px;
  right: 30px;
  width: 40px;
  height: 15px;
  transform: rotate(25deg);
}

.tape-horizontal {
  bottom: -8px;
  left: 30px;
  width: 80px;
  height: 15px;
  transform: rotate(2deg);
}

.tape-corner {
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
}

.tape-vertical {
  right: -8px;
  top: 30px;
  width: 15px;
  height: 60px;
  transform: rotate(10deg);
}

.tape-cross {
  bottom: 20px;
  left: -8px;
  width: 50px;
  height: 15px;
  transform: rotate(-20deg);
}

/* Sección de testimonios */
.testimonials-section {
  width: 320px;
  min-height: 100vh;
  position: relative;
}

.cork-board {
  background: radial-gradient(circle at 30% 30%, #8b6f47 2px, transparent 2px),
    radial-gradient(circle at 70% 70%, #a0845c 1px, transparent 1px),
    linear-gradient(
      45deg,
      #9c7b54 25%,
      #8b6f47 25%,
      #8b6f47 50%,
      #9c7b54 50%,
      #9c7b54 75%,
      #8b6f47 75%
    );
  background-size: 20px 20px, 15px 15px, 8px 8px;
  background-color: #8b6f47;
  padding: 30px 20px;
  position: relative;
  height: 100%;
  min-height: 100vh;
  border-left: 5px solid #6b5537;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2);
}

.cork-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(0, 0, 0, 0.1) 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(0, 0, 0, 0.1) 1px,
      transparent 2px
    );
  background-size: 100% 30px, 30px 100%;
  pointer-events: none;
}

.testimonials-title {
  font-family: "Special Elite", serif;
  font-size: 24px;
  font-weight: 600;
  color: #2d1b11;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}



.paper {
  background: #f5f1e8;
  padding: 20px;
  position: relative;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 3px 15px rgba(0, 0, 0, 0.2),
    inset 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}

.paper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    #e8d5c4 0px,
    #e8d5c4 25px,
    transparent 25px,
    transparent 27px
  );
}

.paper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 25px,
    rgba(200, 180, 160, 0.3) 25px,
    rgba(200, 180, 160, 0.3) 27px
  );
  pointer-events: none;
}

.paper p {
  font-family: "Kalam", cursive;
  font-size: 14px;
  line-height: 1.6;
  color: #2d1b11;
  margin-bottom: 15px;
  position: relative;
  z-index: 5;
  text-align: left;
  padding-left: 15px;
}

.signature {
  font-family: "Kalam", cursive;
  font-size: 13px;
  font-weight: 700;
  color: #4a3e2a;
  text-align: right;
  display: block;
  position: relative;
  z-index: 5;
  font-style: italic;
}

/* Modales CSS puros mejorados */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.modal:target {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  max-width: 800px;
  max-height: 600px;
  text-align: center;
  padding: 40px 20px 20px 20px;
}

.modal-content img {
  max-width: 800px;
  max-height: 560px;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-radius: 4px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.close-btn:hover {
  color: #e53c08;
  background: rgba(0, 0, 0, 0.9);
  border-color: #e53c08;
  transform: scale(1.1);
}



/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    flex-direction: column;
    gap: 20px;
  }

  .gallery-section {
    max-width: 100%;
  }

  .testimonials-section {
    width: 100%;
    min-height: auto;
  }

  .cork-board {
    min-height: auto;
    height: auto;
    padding: 20px;
  }

  .testimonial-item {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin-bottom: 20px;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 100px 10px 20px 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 10px;
  }

  .photo-item {
    margin: 10px;
  }

  /* Mantener rotaciones en móvil */
  .photo-item:nth-child(1) {
    transform: rotate(-2deg);
  }
  .photo-item:nth-child(2) {
    transform: rotate(2deg);
  }
  .photo-item:nth-child(3) {
    transform: rotate(-1deg);
  }
  .photo-item:nth-child(4) {
    transform: rotate(3deg);
  }
  .photo-item:nth-child(5) {
    transform: rotate(-3deg);
  }
  .photo-item:nth-child(6) {
    transform: rotate(1deg);
  }
  .photo-item:nth-child(7) {
    transform: rotate(-2deg);
  }
  .photo-item:nth-child(8) {
    transform: rotate(2deg);
  }

  .photo-container img {
    max-width: 250px;
    max-height: 200px;
  }

  .testimonials-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .paper {
    padding: 15px;
  }

  .paper p {
    font-size: 13px;
    padding-left: 10px;
  }

  .signature {
    font-size: 12px;
  }

 

  
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 85%;
    padding: 15px;
  }

  .modal-content img {
    max-width: 100%;
    max-height: 100%;
  }
}

@media (max-width: 480px) {
  .photo-container {
    padding: 10px 10px 20px 10px;
  }

  .photo-container img {
    max-width: 200px;
    max-height: 150px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 85%;
    padding: 10px;
  }

  .modal-content img {
    max-width: 100%;
    max-height: 100%;
  }

  .close-btn {
    top: -40px;
    right: -5px;
    font-size: 35px;
    width: 45px;
    height: 45px;
  }

  .paper p {
    font-size: 12px;
    line-height: 1.5;
  }

  .signature {
    font-size: 11px;
  }

  .footer-nav {
    flex-direction: column;
  }

  .footer-section {
    max-width: 100%;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.photo-item {
  animation: fadeIn 0.6s ease forwards;
}

.testimonial-item {
  animation: fadeIn 0.8s ease forwards;
}

/* Efectos de hover mejorados */
.photo-container:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.25),
    inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.paper:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4), 0 5px 20px rgba(0, 0, 0, 0.3),
    inset 0 0 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-2843374 */body{
    background: url('https://3krgroup.es/wp-content/uploads/2024/08/fondo-3krgroup.es_.png');
    overflow-x: hidden;
    background-color: #212121 !important;
    
}/* End custom CSS */