/* ==========================================================================
   Factory Propstory - Modern Scenography, Props, Mannequins & 3D Web App
   Aesthetic: Premium Clean White, Crisp Typography & Dynamic Micro-interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Color Palette - Clean White System */
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;

  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;

  /* Accent Colors */
  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-violet: #7c3aed;
  --accent-cyan: #0891b2;
  --accent-emerald: #059669;
  --accent-amber: #d97706;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
  --grad-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.2);

  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Typography Helpers */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-surface {
  background-color: var(--bg-surface) !important;
}

/* Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark) !important;
}

.brand-fp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: var(--transition-smooth);
  user-select: none;
}

.navbar-brand:hover .brand-fp {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.navbar-brand span:not(.brand-fp) {
  color: var(--accent-primary);
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted) !important;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary) !important;
}

/* Buttons */
.btn-primary-custom {
  background: var(--grad-primary);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.btn-outline-custom {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--bg-surface);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 6rem 0 4rem 0;
  background: var(--grad-glow);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 9999px;
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-img-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-img-container img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-container:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* Service Cards */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .icon-box {
  background: var(--grad-primary);
  color: #ffffff;
  transform: scale(1.08);
}

/* Catalog Filter */
.catalog-filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.catalog-filter-btn:hover,
.catalog-filter-btn.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

/* Portfolio / Catalog Card */
.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.catalog-img-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.catalog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-img-wrapper img {
  transform: scale(1.06);
}

.catalog-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
}

.catalog-body {
  padding: 1.5rem;
}

/* Cotizador Interactivo (Calculator) */
.cotizador-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-label-custom {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.option-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.option-card {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: #ffffff;
}

.option-card:hover {
  border-color: var(--accent-primary);
  background: var(--bg-surface);
}

.option-card.selected {
  border-color: var(--accent-primary);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.option-card i {
  font-size: 1.4rem;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
  display: block;
}

.option-card span {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  color: var(--text-dark);
}

.summary-card {
  background: var(--grad-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.price-display {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-primary);
}

/* Process Timeline */
.process-step {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  height: 100%;
}

.process-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: #ffffff;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Toast styling */
.toast-custom {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1050;
  background: var(--text-dark);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.toast-custom.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem 0;
}