/* Extracted styles from original canelino.html */
/* ANIMACIONES REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* IMÁGENES GALERÍA */
.img-galeria {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 1;
  transform: translateY(0);
}

.img-galeria.hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (max-width: 767px) {
  .img-galeria.mobile-hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    display: none;
  }
}

@media (hover: hover) {
  .img-galeria:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 40px rgba(250, 204, 21, 0.2);
  }
}

/* INSTAGRAM GRADIENT */
.instagram-gradient {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SMOOTH SCROLL */
html { scroll-behavior: smooth; }

/* BOTONES MEJORADOS */
button, a { transition: all 0.3s ease; }

/* EFECTOS HOVER EN SERVICIOS */
.group { position: relative; overflow: hidden; }
.group::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.1) 0%, transparent 100%);
  left: -100%;
  transition: left 0.35s ease;
  pointer-events: none;
}
.group:hover::before { left: 100%; }

/* FOCUS STATES */
input:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1); }

/* MOBILE MENU */
#mobile-menu { animation: slideDown 0.3s ease-out; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* SCROLL SHADOW */
header { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }

/* LINK HOVER */
a { text-decoration: none; }

/* LIGHTBOX / MODAL PARA IMÁGENES */
#lightbox-overlay {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.75); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 220ms ease;
}
#lightbox-overlay.show { opacity: 1; pointer-events: auto; }
.lightbox-content { max-width: 95%; max-height: 90%; border-radius: 0.5rem; overflow: hidden; transform: scale(0.96); opacity: 0; transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease; box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
#lightbox-overlay.show .lightbox-content { transform: scale(1); opacity: 1; }
.lightbox-content img { display: block; width: 100%; height: auto; max-height: 90vh; object-fit: contain; background: #000; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.45); color: #fff; border: none; width: 40px; height: 40px; border-radius: 9999px; display:flex; align-items:center; justify-content:center; cursor:pointer; transition: transform 140ms ease, background 140ms ease; }
.lightbox-close:hover { transform: scale(1.08); background: rgba(0,0,0,0.6); }

/* Small preview helpers (kept for compatibility) */
.preview-shell { transition: max-width 0.3s ease-in-out, height 0.3s ease-in-out; margin: 0 auto; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); border: 1px solid #e5e7eb; background: white; }
.preview-phone { max-width: 375px; height: 667px !important; border-radius: 40px; border-width: 12px; border-color: #1f2937; position: relative; overflow: hidden; }
.preview-tablet { max-width: 768px; height: 1024px !important; border-radius: 24px; border-width: 12px; border-color: #1f2937; }
.preview-desktop { max-width: 100%; height: 100%; border: none; border-radius: 0; }
.preview-fullscreen { position: fixed !important; top: 4rem !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100vw !important; height: auto !important; padding: 0 !important; margin: 0 !important; z-index: 50; overflow: hidden !important; display: block !important; background: #fff !important; }
.preview-fullscreen .preview-shell { width: 100% !important; height: 100% !important; border-radius: 0 !important; border: none !important; box-shadow: none !important; max-width: none !important; max-height: none !important; }

/* Responsive lightbox override */
#lightbox-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.95); z-index: 100000; display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(5px); }
#lightbox-overlay.show { opacity: 1; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; transform: scale(0.95); transition: transform 0.3s ease; }
#lightbox-overlay.show .lightbox-content { transform: scale(1); }
#lightbox-img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.lightbox-close { position: absolute; top: -40px; right: -40px; background: transparent; border: none; color: white; font-size: 2rem; cursor: pointer; padding: 10px; line-height: 1; transition: color 0.2s; }
.lightbox-close:hover { color: #d1d5db; }

@media (max-width: 768px) { .lightbox-close { top: -40px; right: 0; } }
