/* 
Theme Name: Blocksy Child 
Template: blocksy 
Description: Estilos personalizados para front 
*/ 

/* Fondo negro elegante con elementos orgánicos sutiles */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  min-height: 50vh;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}
.hero-title span {
  display: block;
}
.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.9s;
} /* ------------------------------ HERO IMAGE ---------------------------------*/
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomOut 6s ease-in-out forwards; /* Fallback degradado */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 1) 85%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
  mask-composite: intersect;
} /* RESPONSIVE BREAKPOINTS ---------------------------------*/ /* 📱 Mobile (hasta 768px) */
@media (max-width: 768px) {
  .hero {
    min-height: 65vh;
  }
  .hero-content {
    text-align: center;
  }
  .container {
    padding: 0 1.5rem;
  }
  .services-section,
  .gallery-section,
  .process-section,
  .testimonials-section {
    padding: 5rem 0;
  }
  .section-header {
    margin-bottom: 3rem;
  }
  .services-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card,
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  .contact-form {
    padding: 2rem;
  }
  .contact-details {
    gap: 1.5rem;
  }
} /* 📲 Tablet (769px – 991px) */
@media (min-width: 769px) and (max-width: 991px) {
  .hero {
    min-height: 70vh;
  }
} /* 💻 Desktop (desde 992px) */
@media (min-width: 992px) {
  .hero {
    min-height: 80vh;
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .hero-content {
    margin: 0;
    text-align: left;
  }
  .hero-buttons {
    justify-content: flex-start;
  }
  .hero-image {
    position: relative;
    inset: unset;
  }
} /* ------------------------------ BOTONES ---------------------------------*/ /* ------------------------------ BOTONES BASE CON BORDE ANIMADO ---------------------------------*/
.btn {
  position: relative;
  display: inline-block;
  border-radius: 9999px;
  overflow: hidden;
  cursor: pointer;
  padding: 2px;
  text-decoration: none;
} /* Borde animado */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 100%;
  background: linear-gradient(
    115deg,
    #f79533,
    #ef4e7b,
    #a166ab,
    #5073b8,
    #1098ad,
    #f79533
  );
  background-size: 25% 100%;
  animation: borderMove 0.75s linear infinite;
  animation-play-state: paused;
  translate: -5% 0%;
  transition: translate 0.25s ease-out;
}
.btn:hover::before {
  animation-play-state: running;
  translate: 0% 0%;
  transition-duration: 0.75s;
} /* Contenido del botón */
.btn span {
  position: relative;
  display: block;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 9999px;
  height: 100%;
  z-index: 1;
  text-align: center;
} /* ------------------------------ VARIANTES ---------------------------------*/ /* Primario → fondo sólido */
.btn-primary span {
  background: #000;
  color: #fff;
} /* ------------------------------ ANIMACIÓN DEL BORDE ---------------------------------*/
@keyframes borderMove {
  to {
    transform: translateX(-25%);
  }
} /* ------------------------------ ANIMACIONES KEYFRAMES ---------------------------------*/
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
} /* ------------------------------ Main ---------------------------------*/
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    min-height: 250px;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-rainbow);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #cccccc;
  font-weight: 300;
} /* Secciones con fondos negros y elementos orgánicos sutiles */
.services-section {
  padding-bottom: 8rem;
  position: relative;
}
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse 600px 400px at 20% 50%,
      rgba(247, 149, 51, 0.02) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 400px 600px at 80% 50%,
      rgba(161, 102, 171, 0.03) 0%,
      transparent 70%
    );
  z-index: 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:nth-child(2)::before {
  background: var(--gradient-accent);
}
.service-card:nth-child(3)::before {
  background: var(--gradient-secondary);
}
.service-card:nth-child(4)::before {
  background: var(--gradient-rainbow);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(247, 149, 51, 0.3);
  box-shadow: 0 20px 40px rgba(247, 149, 51, 0.1);
}
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  position: relative;
}
.icon-sculpture,
.icon-monument,
.icon-portrait,
.icon-restoration {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.icon-sculpture {
  background: var(--gradient-primary);
}
.icon-monument {
  background: var(--gradient-accent);
}
.icon-portrait {
  background: var(--gradient-secondary);
}
.icon-restoration {
  background: var(--gradient-rainbow);
}
.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}
.service-card p {
  color: #cccccc;
  line-height: 1.6;
} /* Galería con fondo negro elegante */
.gallery-section {
  padding: 8rem 0;
  position: relative;
}
.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse 500px 700px at 30% 20%,
      rgba(16, 152, 173, 0.03) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 700px 500px at 70% 80%,
      rgba(239, 78, 123, 0.02) 0%,
      transparent 70%
    );
  z-index: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.gallery-item:nth-child(1) {
  border-color: var(--color-orange);
}
.gallery-item:nth-child(2) {
  border-color: var(--color-coral);
}
.gallery-item:nth-child(3) {
  border-color: var(--color-magenta);
}
.gallery-item:nth-child(4) {
  border-color: var(--color-purple);
}
.gallery-item:nth-child(5) {
  border-color: var(--color-blue);
}
.gallery-item:nth-child(6) {
  border-color: var(--color-cyan);
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(247, 149, 51, 0.2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.gallery-overlay p {
  color: #cccccc;
} /* Proceso con fondo negro y elementos sutiles */
.process-section {
  padding: 8rem 0;
  position: relative;
}
.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse 400px 600px at 60% 30%,
      rgba(161, 102, 171, 0.02) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 600px 400px at 40% 70%,
      rgba(80, 115, 184, 0.03) 0%,
      transparent 70%
    );
  z-index: 0;
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.process-step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto 2rem;
  position: relative;
  overflow: hidden;
}
.process-step:nth-child(1) .step-number {
  background: var(--gradient-primary);
}
.process-step:nth-child(2) .step-number {
  background: var(--gradient-accent);
}
.process-step:nth-child(3) .step-number {
  background: var(--gradient-secondary);
}
.process-step:nth-child(4) .step-number {
  background: var(--gradient-rainbow);
}
.step-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}
.step-content p {
  color: #cccccc;
  line-height: 1.6;
} /* Testimonios con fondo negro elegante */
.testimonials-section {
  padding: 8rem 0;
  position: relative;
}
.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse 500px 300px at 25% 60%,
      rgba(243, 112, 85, 0.02) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 300px 500px at 75% 40%,
      rgba(16, 152, 173, 0.03) 0%,
      transparent 70%
    );
  z-index: 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-rainbow);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.testimonial-card:hover::before {
  transform: scaleX(1);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 152, 173, 0.3);
  box-shadow: 0 15px 30px rgba(16, 152, 173, 0.1);
}
.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 2rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.3rem;
}
.author-info span {
  color: #cccccc;
  font-size: 0.9rem;
} 




