/* Tipografías */
.logo-script { font-family: 'Great Vibes', cursive; }
.logo-sub { font-family: 'Montserrat', sans-serif; letter-spacing: 2px; }
.logo-phrase { font-family: 'Dancing Script', cursive; }
body { font-family: 'Montserrat', sans-serif; }

/* NAV */
.nav-link {
  transition: 0.25s;
}
.nav-link:hover {
  color: #d1d5db;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  z-index: 40;
  padding-bottom: 1rem;
}
.mobile-menu.active {
  display: block;
}
.mobile-link {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Buttons */
.btn-primary {
  padding: 0.75rem 1.5rem;
  background: white;
  color: black;
  border-radius: 9999px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-primary:hover {
  background: #e5e5e5;
  transform: scale(1.05);
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  border: 1px solid white;
  border-radius: 9999px;
  transition: 0.3s;
}
.btn-secondary:hover {
  background: white;
  color: black;
  transform: scale(1.05);
}

/* Secciones */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
}
.section-text {
  color: #d1d5db;
  line-height: 1.7;
}

/* Servicios */
.card-service {
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  transition: 0.3s;
}
.card-service:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.card-text {
  color: #d1d5db;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 1rem;
}
.gallery-img {
  border-radius: 1rem;
  opacity: 0.8;
  transition: 0.3s;
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-img:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* Formulario */
.form {
  padding: 2rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 100%);
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}
.input {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.24);
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  width: 100%;
  color: white;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.72);
}
.select-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}
.select-input option {
  background: #101010;
  color: #fff;
}

/* Reseñas */
.reviews-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.reviews-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scrollReviews 45s linear infinite;
}
.review-card {
  width: 320px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1rem;
}
.review-stars {
  color: #facc15;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.review-text {
  color: #e5e7eb;
  font-size: 0.92rem;
  line-height: 1.55;
}
.review-author {
  margin-top: 0.75rem;
  color: #9ca3af;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes scrollReviews {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
  }
}

/* reCAPTCHA */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

/* Contact info */
.contact-info {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 1rem;
  text-align: center;
}
.label {
  color: #9ca3af;
  font-size: 0.8rem;
}
.value {
  font-size: 1rem;
  color: white;
}

/* Whatsapp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  padding: 0.9rem;
  border-radius: 9999px;
  transition: 0.3s;
}
.whatsapp-float:hover {
  background: #1eb959;
  transform: scale(1.05);
}

/* Animaciones */
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

/* Popup Notificación */
.popup-notificacion {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.popup-notificacion.hidden {
  display: none;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.popup-content {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem 2rem;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.popup-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.popup-icon.success {
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid rgba(34, 197, 94, 0.5);
  color: #22c55e;
}

.popup-icon.error {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

.popup-titulo {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.popup-mensaje {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.popup-btn {
  padding: 0.75rem 2rem;
  background: white;
  color: black;
  border-radius: 9999px;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.popup-btn:hover {
  background: #e5e5e5;
  transform: scale(1.05);
}