/* ==========================================================================
   TABADIGIT - MODERN & ENGAGING DESIGN SYSTEM 2026
   ========================================================================== */

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

:root {
  --primary: #ff5e14;
  --primary-hover: #e04b06;
  --primary-light: #fff2eb;
  --primary-glow: rgba(255, 94, 20, 0.35);
  --primary-gradient: linear-gradient(135deg, #ff5e14 0%, #ff7e39 100%);
  
  --secondary: #0a1f38;
  --secondary-hover: #081628;
  --secondary-light: #142e50;
  
  --accent-cyan: #00b4d8;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-dark: #070e1b;
  --bg-darker: #040810;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: rgba(255, 94, 20, 0.45);
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px -2px rgba(10, 31, 56, 0.08), 0 2px 6px -1px rgba(10, 31, 56, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(10, 31, 56, 0.12), 0 8px 16px -4px rgba(10, 31, 56, 0.06);
  --shadow-xl: 0 24px 48px -12px rgba(10, 31, 56, 0.18);
  --shadow-primary: 0 10px 25px -4px rgba(255, 94, 20, 0.4);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1360px;
}

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

html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 2.75rem 0;
  position: relative;
}

.section-lg {
  padding: 3.25rem 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section-title-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 1.85rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 94, 20, 0.15);
}

.section-tag.dark {
  background: rgba(255, 94, 20, 0.15);
  color: #ff9d66;
  border: 1px solid rgba(255, 94, 20, 0.35);
  backdrop-filter: blur(8px);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.22;
  color: var(--secondary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-dark .section-desc {
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 94, 20, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e04b06 0%, #ff6b21 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 94, 20, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: var(--secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--secondary);
}

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: var(--transition);
  box-shadow: 0 4px 20px -2px rgba(10, 31, 56, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  color: #c2410c;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid #fdba74;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--secondary);
  padding: 0.4rem 0.25rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 310px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px -10px rgba(10, 31, 56, 0.18);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--bg-main);
  transform: translateX(4px);
}

.dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.dropdown-text h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.1rem;
}

.dropdown-text p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--secondary);
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--primary);
}

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

.nav-phone-icon svg {
  width: 15px;
  height: 15px;
}

.nav-actions .btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-btn span {
  width: 24px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 56, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85%;
  background: #ffffff;
  z-index: 2001;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}

.mobile-nav-overlay.active .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.mobile-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-links a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
}

.mobile-sublinks {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-sublinks a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 1.25rem 0 2.5rem 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 94, 20, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(10, 31, 56, 0.04) 0%, transparent 50%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 2.75rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(255, 94, 20, 0.35);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(255, 94, 20, 0.12);
  margin-bottom: 1.15rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--secondary);
}

.hero-badge-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-badge-pill .pill-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite ease-out;
  z-index: -1;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.16;
  color: var(--secondary);
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ff5e14 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.85rem;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--secondary);
}

.hero-feature-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-card-main {
  background: #070e1b;
  border-radius: var(--radius-xl);
  padding: 0.45rem;
  box-shadow: 0 25px 60px -15px rgba(10, 31, 56, 0.4), 0 0 0 1.5px rgba(255, 94, 20, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-card-main img,
.hero-card-main video {
  border-radius: calc(var(--radius-xl) - 4px);
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: contain;
  background: #000000;
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card.card-top {
  top: -14px;
  right: -14px;
}

.hero-floating-card.card-bottom {
  bottom: -18px;
  left: -14px;
  animation-delay: 2s;
}

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

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-icon.icon-orange {
  background: var(--primary-light);
  color: var(--primary);
}

.floating-icon.icon-green {
  background: #ecfdf5;
  color: var(--accent-green);
}

.floating-info h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
}

.floating-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Spotlight Section (Logista) */
.spotlight-box {
  background: radial-gradient(circle at 90% 10%, rgba(255, 94, 20, 0.18) 0%, transparent 60%),
              linear-gradient(135deg, #070e1b 0%, #0d1f38 100%);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 94, 20, 0.35);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.55);
  padding: 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.spotlight-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.spotlight-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

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

.spotlight-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 94, 20, 0.18);
  color: #ff9d66;
  border: 1px solid rgba(255, 94, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spotlight-item-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.spotlight-item-text p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.45;
}

.spotlight-card-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Products Cards Grid - Mobile First */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


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

.product-card:hover::before {
  height: 6px;
  opacity: 1;
}

.product-card.featured::before {
  height: 6px;
  background: linear-gradient(135deg, #ff5e14 0%, #f59e0b 100%);
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px -2px rgba(10, 31, 56, 0.06);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(10, 31, 56, 0.14), 0 0 0 1.5px rgba(255, 94, 20, 0.35);
  border-color: rgba(255, 94, 20, 0.4);
}

.product-card.featured {
  border-color: rgba(255, 94, 20, 0.45);
  box-shadow: 0 10px 30px -5px rgba(255, 94, 20, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #fffbf8 100%);
}

.product-badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.28rem 0.9rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255, 94, 20, 0.4);
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: radial-gradient(circle, #f8fafc 0%, #edf2f7 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.product-img-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.product-title {
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.product-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--border-light);
  padding-top: 1rem;
}

.product-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--secondary);
  font-weight: 600;
  line-height: 1.35;
}

.product-specs li svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 94, 20, 0.35);
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 94, 20, 0.15);
  color: #ff9d66;
  border: 1px solid rgba(255, 94, 20, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* Calculator Section */
.calc-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 50px -10px rgba(10, 31, 56, 0.12);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
}

.calc-controls {
  padding: 2.75rem;
}

.calc-controls h3 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.calc-controls p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.96rem;
}

.slider-group {
  margin-bottom: 1.75rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.slider-val-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  font-weight: 800;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-gradient);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 94, 20, 0.5);
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  background: radial-gradient(circle at 80% 20%, rgba(255, 94, 20, 0.15) 0%, transparent 60%),
              linear-gradient(135deg, #070e1b 0%, #0c1c33 100%);
  padding: 2.75rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.calc-res-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.85rem;
}

.calc-res-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.res-label {
  font-size: 0.95rem;
  color: var(--text-light);
}

.res-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
}

.res-value.highlight-green {
  color: #34d399;
}

.res-value.highlight-orange {
  color: #ff9d66;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #e2e8f0;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 14, 27, 0.9) 0%, transparent 65%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 50px rgba(0,0,0,0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-card.open {
  border-color: rgba(255, 94, 20, 0.4);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-card.open .faq-body {
  display: block;
}

/* Contact / Reservation Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.75rem;
  align-items: flex-start;
}

.contact-info-card {
  background: radial-gradient(circle at 10% 20%, rgba(255, 94, 20, 0.15) 0%, transparent 60%),
              linear-gradient(135deg, #070e1b 0%, #0d1f38 100%);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  color: #ffffff;
  border: 1.5px solid rgba(255, 94, 20, 0.3);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
}

.contact-info-card h3 {
  font-size: 1.85rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-info-card p {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 94, 20, 0.18);
  color: #ff9d66;
  border: 1px solid rgba(255, 94, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-details span, .contact-details a {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 50px -10px rgba(10, 31, 56, 0.12);
  padding: 2.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.form-group.full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--secondary);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: #f8fafc;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  color: #ffffff;
  padding: 2.75rem 0 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
  color: #ffffff;
}

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

.footer-links a {
  color: var(--text-light);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  z-index: 990;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.mobile-sticky-bar .bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Responsive Breakpoints */
@media (max-width: 1220px) {
  .nav-menu, .nav-actions .nav-phone, .nav-actions .btn {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .calc-card {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 1.5rem 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-features-list {
    grid-template-columns: 1fr;
  }
  .hero-floating-card {
    display: none;
  }
  .spotlight-box {
    padding: 1.75rem;
  }
  .spotlight-title {
    font-size: 1.6rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .calc-card {
    padding: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .contact-form-card {
    padding: 1.5rem;
  }
  .mobile-sticky-bar {
    display: block;
  }
}

/* App Screenshot Carousel for Kit Palmare */
.app-carousel-wrap,
.app-carousel-container {
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

.app-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 1rem 1.5rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.app-carousel-track::-webkit-scrollbar {
  display: none;
}

.app-screenshot-card {
  flex: 0 0 260px;
  background: #ffffff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 94, 20, 0.25);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.app-screenshot-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(255, 94, 20, 0.25);
  border-color: var(--primary);
}

.app-screenshot-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.app-carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 94, 20, 0.4);
  z-index: 10;
  transition: var(--transition);
}

.app-carousel-nav-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-50%) scale(1.1);
}

.app-carousel-nav-btn.prev {
  left: -20px;
}

.app-carousel-nav-btn.next {
  right: -20px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Mobile first: le due soluzioni sono SEMPRE impilate (1 sotto l'altra).
   Il layout a 2 colonne parte solo da 992px in su. */
.solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
  width: 100%;
}

@media (min-width: 992px) {
  .solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .solution-card {
    padding: 1.5rem 1.15rem;
  }
}

.solution-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

.calc-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (max-width: 650px) {
  .calc-details-grid {
    grid-template-columns: 1fr !important;
    gap: 0.35rem !important;
  }
}

@media (max-width: 480px) {
  #monthsBtnGroup {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .spec-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   ADVANCED RESPONSIVE SYSTEM FOR ALL MOBILE DEVICES
   ========================================================================== */

/* Medium Devices & Tablets (max-width: 1220px) */
@media (max-width: 1220px) {
  .nav-menu, .nav-actions .nav-phone, .nav-actions .btn {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .calc-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Smartphones & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Prevent mobile sticky bar overlap */
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .section {
    padding: 2.25rem 0;
  }

  .section-lg {
    padding: 2.75rem 0;
  }

  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    line-height: 1.25;
  }

  .section-desc {
    font-size: 1rem;
  }

  .hero {
    padding: 1.5rem 0 2rem 0;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-features-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-floating-card {
    display: none;
  }

  .spotlight-box {
    padding: 1.5rem;
  }

  .spotlight-title {
    font-size: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .calc-card {
    padding: 1.35rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .form-input, .form-textarea, select {
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
  }

  .contact-form-card {
    padding: 1.35rem;
    border-radius: var(--radius-lg);
  }

  .contact-info-card {
    padding: 1.35rem;
    border-radius: var(--radius-lg);
  }

  .mobile-sticky-bar {
    display: block;
  }

  .footer {
    padding: 2.25rem 0 1.25rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .app-screenshot-card {
    flex: 0 0 220px;
  }
}

/* Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
    white-space: normal;
    text-align: center;
  }

  .mobile-sticky-bar {
    padding: 0.55rem 0.65rem;
  }

  .mobile-sticky-bar .btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.82rem;
  }

  .math-captcha-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .math-captcha-box input {
    width: 100%;
  }

  .app-screenshot-card {
    flex: 0 0 190px;
    padding: 6px;
    border-radius: 14px;
  }

  .app-carousel-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .app-carousel-nav-btn.prev {
    left: 2px;
  }
  .app-carousel-nav-btn.next {
    right: 2px;
  }
}
