/* ==========================================
   Zampa Grupo - Main Stylesheet
   ========================================== */

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Tight', sans-serif;
  color: #1a1a1c;
  background: #f9fafb;
  overflow-x: hidden;
}

/* === LAYOUT === */
.main-container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === HEADER === */
.header-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

/* === HERO === */
.hero-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, #DFE4EB 0%, rgba(223, 228, 235, 0) 100%);
}

/* === SCROLLBAR HIDE === */
.scroll-bar { scrollbar-width: none; -ms-overflow-style: none; }
.scroll-bar::-webkit-scrollbar { display: none; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(201, 169, 110, 0.12);
  color: #c9a96e;
  backdrop-filter: blur(17px);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-md { padding: 12px 28px; font-size: 0.875rem; }
.btn-xl { padding: 16px 36px; font-size: 1rem; }
.btn-dark { background: #1a1a1c; color: #fcfcfc; }
.btn-dark:hover { background: #333; }
.btn-white { background: #fff; color: #1a1a1c; border-color: #e3e7ed; }
.btn-white:hover { background: #1a1a1c; color: #fcfcfc; }
.btn-primary { background: #c9a96e; color: #fff; }
.btn-primary:hover { background: #b8944f; }
.btn-outline { background: transparent; color: #1a1a1c; border-color: #e3e7ed; }
.btn-outline:hover { background: #1a1a1c; color: #fcfcfc; }

/* === CAROUSEL === */
.carousel-track {
  display: flex;
  gap: 16px;
  transition: none;
  will-change: transform;
}
.carousel-item {
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.carousel-item:hover { flex-grow: 0 !important; }
.carousel-item.expanded { z-index: 5; }
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}
.carousel-item:hover .carousel-overlay { opacity: 1; }

/* === PORTFOLIO === */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
}
.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 10;
}
.portfolio-card:hover .overlay { opacity: 1; }
.portfolio-card img.portfolio-img {
  transition: transform 0.5s ease;
}
.portfolio-card:hover img.portfolio-img { transform: scale(1.05); }
.portfolio-card .view-btn {
  opacity: 0;
  top: 55%;
  transition: all 0.5s;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
}
.portfolio-card:hover .view-btn { opacity: 1; top: 50%; }

/* === SERVICES === */
.service-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 80px -12px rgba(28, 34, 43, 0.1);
}

/* === PROCESS === */
.step-line-bg {
  background: linear-gradient(180deg, #c9a96e 0%, #e8d5a8 50%, #c9a96e 100%);
}

/* === ANIMATIONS === */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === FOOTER === */
.footer-link {
  color: rgba(252, 252, 252, 0.5);
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-link:hover { color: #fcfcfc; }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* === MOBILE MENU === */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }

/* === LANGUAGE SELECTOR === */
.lang-btn {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.lang-btn.active { background: #c9a96e; color: #fff; }
.lang-btn:not(.active) { background: transparent; color: #1a1a1c; border-color: #e3e7ed; }
.lang-btn:not(.active):hover { background: #f4f5f8; }

/* === FAQ === */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
