/* ==========================================================================
   HENRIQUE CRACHÁ - MODERN DESIGN SYSTEM
   Vanilla CSS Styling with Rich Aesthetics, Glassmorphism, and Animations
   ========================================================================== */

/* --- Custom Properties (Color Palette & Tokens) --- */
:root {
  --primary: #1e40af;         /* Deep Royal Blue */
  --primary-hover: #1d4ed8;   /* Lighter Blue */
  --primary-light: #eff6ff;   /* Soft Ice Blue */
  
  --secondary: #0ea5e9;       /* Vibrant Cyan (C in CMYK) */
  --accent: #db2777;          /* Vibrant Magenta (M in CMYK) */
  --accent-light: #fdf2f8;    /* Soft Pink */
  
  --neutral-dark: #0f172a;    /* Slate 900 */
  --neutral-muted: #475569;   /* Slate 600 */
  --neutral-light: #f8fafc;   /* Slate 50 */
  --neutral-border: #e2e8f0;  /* Slate 200 */
  
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
  --shadow-premium: 0 30px 60px -15px rgba(30, 64, 175, 0.12);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-title: 'Outfit', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--neutral-dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout Components --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--neutral-light);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-2 {
  margin-top: 1rem;
}

.font-semibold {
  font-weight: 600;
}

.section-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  font-family: var(--font-title);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--neutral-muted);
  max-width: 700px;
}

/* --- Button Styling --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -5px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -5px rgba(14, 165, 233, 0.3);
}

.btn-whatsapp {
  background-color: #25d366 !important;
  color: var(--white);
  border: none;
  font-size: 1.125rem;
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #128c7e !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -5px rgba(37, 211, 102, 0.4);
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--neutral-muted);
}

.btn-text:hover:not(:disabled) {
  color: var(--neutral-dark);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* --- Glassmorphic Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: padding var(--transition-normal);
  padding: 1.25rem 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neutral-dark);
  display: flex;
  align-items: center;
}

.logo-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  margin-right: 0.1rem;
}

.logo-sub {
  color: var(--primary);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--neutral-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--neutral-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.6rem 1.25rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 9999px;
  transition: all var(--transition-fast);
}

.btn-nav:hover {
  background-color: var(--primary);
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--neutral-dark);
  border-radius: 9px;
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 6rem;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 40%),
              radial-gradient(circle at bottom left, rgba(219, 39, 119, 0.05), transparent 45%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.badge-tag {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--neutral-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--neutral-border);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--neutral-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}

.hero-image {
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  transform: rotate(-1deg);
  transition: transform var(--transition-normal);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: 15%;
  left: -15%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 15%;
  right: -10%;
  animation-delay: 2s;
}

.floating-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-text {
  font-weight: 600;
  font-size: 0.9rem;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* --- Catalog Section (Products) --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 24px;
  border: 1px solid var(--neutral-border);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 64, 175, 0.2);
}

.product-icon-wrapper {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all var(--transition-normal);
}

.product-card:hover .product-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.product-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-card-desc {
  color: var(--neutral-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--neutral-muted);
  margin-bottom: 0.5rem;
}

.product-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
}

.product-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
}

.product-link:hover {
  color: var(--primary-hover);
}

/* Mixed Content Cards (Cards with Images) */
.product-card:has(.product-image-card) {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 0;
  gap: 0;
}

.product-image-card {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.product-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-card img {
  transform: scale(1.08);
}

.product-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

/* --- Interactive Simulator Section --- */
.simulator-wrapper {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4rem;
  background-color: var(--white);
  border-radius: 32px;
  border: 1px solid var(--neutral-border);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.simulator-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-right: 1px solid var(--neutral-border);
  padding-right: 3rem;
}

.panel-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.panel-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  margin-top: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neutral-muted);
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--neutral-border);
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Custom Color Picker Button Grid */
.color-picker-grid {
  display: flex;
  gap: 0.75rem;
}

.color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.color-btn.active {
  border-color: var(--neutral-dark);
  transform: scale(1.15);
}

.color-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--white);
  transition: transform var(--transition-fast);
}

.color-btn.active::after {
  transform: translate(-50%, -50%) scale(1);
}

/* File Upload styling */
.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 2px dashed var(--neutral-border);
  border-radius: 12px;
  cursor: pointer;
  background-color: var(--neutral-light);
  color: var(--neutral-muted);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.file-upload-label:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.file-upload-input {
  display: none;
}

/* Simulator Display */
.simulator-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

/* Lanyard simulation styles */
.lanyard-rope-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 150px;
  z-index: 10;
}

.lanyard-rope {
  width: 24px;
  height: 100px;
  border-radius: 4px;
  background-color: #1e40af;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
  transition: background-color var(--transition-normal);
}

.lanyard-clip {
  width: 14px;
  height: 24px;
  background-color: #94a3b8;
  border-radius: 4px;
  margin-top: -2px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  position: relative;
}

.lanyard-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #64748b;
  margin-top: -8px;
  background: transparent;
}

/* The actual 3D card */
.badge-3d-card {
  width: 320px;
  height: 480px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
  cursor: grab;
  margin-top: 100px;
}

.badge-3d-card.flipped {
  transform: rotateY(180deg);
}

/* Styles common to both sides of the badge */
.badge-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background-color: var(--white);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.15), 
              0 0 0 1px rgba(0, 0, 0, 0.05);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Shimmer overlay for reflective effect */
.badge-shimmer {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(-30deg);
  pointer-events: none;
  z-index: 5;
}

/* Badge Front Side details */
.badge-front {
  background: linear-gradient(180deg, var(--white) 0%, #f8fafc 100%);
  border-top: 6px solid var(--primary);
  display: flex;
  flex-direction: column;
}

.badge-header-strip {
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.badge-logo-placeholder {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--neutral-dark);
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--neutral-dark) 0%, var(--neutral-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-avatar-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.badge-avatar {
  width: 130px;
  height: 160px;
  border-radius: 8px;
  border: 4px solid var(--white);
  background-color: var(--neutral-light);
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1), 0 0 0 1px var(--neutral-border);
}

.badge-info-container {
  text-align: center;
  padding: 0 1.5rem;
  flex-grow: 1;
}

.badge-user-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 0.25rem;
}

.badge-user-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.badge-user-org {
  font-size: 0.85rem;
  color: var(--neutral-muted);
}

.badge-footer-strip {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 0.75rem;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* Badge Back Side details */
.badge-back {
  background-color: #f1f5f9;
  transform: rotateY(180deg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.badge-back-header {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neutral-muted);
  border-bottom: 1px solid var(--neutral-border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.badge-back-content {
  flex-grow: 1;
  font-size: 0.75rem;
  color: var(--neutral-muted);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.badge-back-content p {
  line-height: 1.4;
}

.badge-barcode {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding-top: 1.5rem;
}

.barcode-lines {
  height: 50px;
  width: 80%;
  background: linear-gradient(90deg, 
    #000 2px, transparent 2px, 
    #000 4px, transparent 4px,
    #000 8px, transparent 8px,
    #000 12px, transparent 12px,
    #000 15px, transparent 15px,
    #000 16px, transparent 16px,
    #000 20px, transparent 20px,
    #000 22px, transparent 22px,
    #000 26px, transparent 26px,
    #000 28px, transparent 28px,
    #000 32px, transparent 32px
  );
  background-size: 34px 100%;
}

.barcode-number {
  font-family: monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.badge-back-footer {
  text-align: center;
  font-size: 0.65rem;
  border-top: 1px solid var(--neutral-border);
  padding-top: 0.75rem;
  margin-top: 1rem;
}

.simulator-tip {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--neutral-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Quotation Wizard --- */
.quote-wizard-container {
  background-color: var(--white);
  border-radius: 24px;
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.wizard-steps-header {
  display: flex;
  background-color: var(--neutral-light);
  border-bottom: 1px solid var(--neutral-border);
}

.wizard-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  color: var(--neutral-muted);
  font-weight: 600;
  position: relative;
}

.wizard-step.active {
  color: var(--primary);
  background-color: var(--white);
}

.wizard-step.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--neutral-border);
  color: var(--neutral-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.wizard-step.active .step-num {
  background-color: var(--primary);
  color: var(--white);
}

.wizard-content {
  padding: 3rem;
  min-height: 380px;
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
  animation: fadeIn var(--transition-normal) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-headline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Selection Cards Grid */
.product-selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.selection-card {
  border: 2px solid var(--neutral-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.selection-card:hover {
  border-color: var(--secondary);
  background-color: var(--neutral-light);
}

.selection-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.selection-icon {
  color: var(--neutral-muted);
  margin-bottom: 1rem;
  transition: color var(--transition-fast);
}

.selection-card.selected .selection-icon {
  color: var(--primary);
}

.selection-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.selection-desc {
  font-size: 0.8rem;
  color: var(--neutral-muted);
}

/* Quantity Tab Layout */
.qty-form-container {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--neutral-border);
  background-color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.qty-input {
  width: 120px;
  height: 48px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid var(--neutral-border);
  outline: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-tier-tip {
  font-size: 0.85rem;
  color: var(--neutral-muted);
  text-align: center;
}

/* Summary Box */
.quote-summary-box {
  background-color: var(--neutral-light);
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  border: 1px solid var(--neutral-border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.summary-label {
  color: var(--neutral-muted);
}

.summary-val {
  color: var(--neutral-dark);
  text-align: right;
  max-width: 60%;
}

.summary-divider {
  height: 1px;
  background-color: var(--neutral-border);
  margin: 1.25rem 0;
}

.price-row {
  align-items: center;
}

.summary-price {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.summary-subtext {
  font-size: 0.75rem;
  color: var(--neutral-muted);
  text-align: right;
}

.summary-action-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.whatsapp-prompt {
  font-size: 0.9rem;
  color: var(--neutral-muted);
  margin-bottom: 1.5rem;
}

/* Wizard Footer Styling */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  background-color: var(--neutral-light);
  padding: 1.25rem 3rem;
  border-top: 1px solid var(--neutral-border);
}

/* --- About Section (Empresa) --- */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.about-visual {
  position: relative;
}

.about-collage {
  position: relative;
}

.collage-img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.collage-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: rotate(-3deg);
}

.years-num {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.years-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-text {
  font-size: 1.05rem;
  color: var(--neutral-muted);
  margin-bottom: 1.5rem;
}

.about-values {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
}

.value-icon {
  background-color: var(--accent-light);
  color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-title {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--neutral-muted);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-rating {
  color: #fbbf24; /* Star gold */
  font-size: 1.15rem;
}

.testimonial-text {
  color: var(--neutral-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
}

.author-company {
  font-size: 0.8rem;
  color: var(--neutral-muted);
  display: block;
}

/* --- Contact & Maps --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-panel-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.contact-panel-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 0.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neutral-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
}

a.contact-val:hover {
  color: var(--primary);
}

.contact-link-map {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
}

.contact-form-panel {
  background-color: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-form-panel form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* --- Footer --- */
.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding-top: 5rem;
  padding-bottom: 0;
  border-top: 1px solid #1e293b;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-links span {
  font-size: 0.85rem;
  display: block;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card:has(.product-image-card) {
    grid-template-columns: 1fr;
  }
  
  .product-image-card {
    height: 250px;
  }
  
  .simulator-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .simulator-panel {
    border-right: none;
    border-bottom: 1px solid var(--neutral-border);
    padding-right: 0;
    padding-bottom: 3rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .navbar {
    padding: 1rem 0;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--neutral-border);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .btn-nav {
    display: none; /* Hide top right button, show inside menu if needed */
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .floating-badge {
    display: none; /* Hide floating elements on mobile to save space */
  }
  
  .product-selection-grid {
    grid-template-columns: 1fr;
  }
  
  .wizard-content {
    padding: 1.5rem;
  }
  
  .wizard-footer {
    padding: 1.25rem 1.5rem;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
