/* ==========================================================================
   SICIDEL SOCIETÀ COOPERATIVA - Servizi Elettrici e Impianti
   Design System & Master Stylesheet
   ========================================================================== */

:root {
  /* Brand Palette from Sicidel Logo */
  --primary: #0a2540;
  --primary-rgb: 10, 37, 64;
  --primary-light: #163e6e;
  --accent-blue: #0284c7;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --spark-glow: rgba(245, 158, 11, 0.4);

  /* Neutral tones */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #071527;
  --bg-dark-card: #0e223b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f1f5f9;
  --text-white: #ffffff;
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Elevation */
  --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.12);
  --shadow-gold: 0 6px 20px rgba(245, 158, 11, 0.35);

  /* Geometry & Transition */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  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);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Proposal Presentation Top Banner (Special Pitch Feature)
   ========================================================================== */
.pitch-banner {
  background: linear-gradient(90deg, #071527 0%, #0d2c52 50%, #071527 100%);
  color: #e2e8f0;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  position: relative;
  z-index: 1100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pitch-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pitch-tag {
  background: var(--accent-gold);
  color: #071527;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pitch-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  flex-wrap: wrap;
}

.pitch-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  line-height: 1;
  transition: var(--transition);
}

.pitch-close:hover {
  color: #fff;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.top-bar {
  background-color: var(--primary);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-contact-info, .top-status {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-contact-link:hover {
  color: var(--accent-gold);
}

.status-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4ade80;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: pulse 1.8s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
}

.brand-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(10, 37, 64, 0.08));
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-mobile-cta {
  display: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: #026ba3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-gold {
  background: var(--accent-gold);
  color: #071527;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--accent-gold-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.12) 0%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 37, 64, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #e0f2fe;
  color: var(--accent-blue);
  border: 1px solid #bae6fd;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight-blue {
  color: var(--accent-blue);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-gold {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
}

.trust-item svg {
  color: var(--accent-blue);
}

.hero-visual {
  position: relative;
}

/* Hero Image Showcase (Dario / Team Photo) */
.hero-image-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.16), 0 2px 8px rgba(10, 37, 64, 0.05);
  background: #0f172a;
  min-height: 480px;
  height: 100%;
  display: flex;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(10, 37, 64, 0.22);
}

.hero-img-main {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-showcase:hover .hero-img-main {
  transform: scale(1.03);
}

.hero-photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 3;
}

.hero-photo-badge .badge-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

/* Hero Brand Showcase (Fallback) */
.hero-logo-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f0f7ff 65%, #e0effe 100%);
  border: 4px solid #ffffff;
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.12), 0 2px 6px rgba(10, 37, 64, 0.04);
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-logo-showcase:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(10, 37, 64, 0.16);
}

.showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22) 0%, rgba(245, 158, 11, 0.12) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(36px);
  pointer-events: none;
  z-index: 1;
}

.showcase-logo-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.showcase-hero-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(10, 37, 64, 0.14));
  transition: transform 0.35s ease;
}

.hero-logo-showcase:hover .showcase-hero-logo {
  transform: scale(1.05);
}

/* Floating overlay cards */
.floating-stat-card {
  position: absolute;
  bottom: -18px;
  left: -20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 1rem 1.3rem;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(10, 37, 64, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 5;
  animation: floatCard 4s ease-in-out infinite;
}

.floating-cert-card {
  position: absolute;
  top: -18px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(10, 37, 64, 0.22);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.icon-box-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-gold {
  background: #fef3c7;
  color: var(--accent-gold-hover);
}

.icon-box-blue {
  background: #e0f2fe;
  color: var(--accent-blue);
}

/* ==========================================================================
   Quick Highlights Bar
   ========================================================================== */
.quick-highlights {
  background: var(--primary);
  color: #fff;
  padding: 2.2rem 0;
  position: relative;
  overflow: hidden;
}

.quick-highlights::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.15));
  pointer-events: none;
}

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

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  font-size: 1.8rem;
  color: var(--accent-gold);
  line-height: 1;
}

.highlight-num {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  font-feature-settings: "tnum";
}

.highlight-label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* ==========================================================================
   Section Headers Common
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  background: #e0f2fe;
  color: var(--accent-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
/* ==========================================================================
   Services Interactive Showcase & Carousel (Desktop & Mobile)
   ========================================================================== */

/* Filter Tabs */
.services-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
  position: relative;
  z-index: 5;
}

.service-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-tab-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.service-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.2);
}

/* Slider Track Container */
.services-slider-container {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

.services-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1.75rem;
  padding: 1.5rem 0.5rem 2rem;
  scrollbar-width: none;
}

.services-grid::-webkit-scrollbar {
  display: none;
}

/* Cards (Desktop: 3 per row in slider) */
.service-card {
  flex: 0 0 calc((100% - 3.5rem) / 3);
  max-width: calc((100% - 3.5rem) / 3);
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card.filtered-out {
  display: none !important;
  opacity: 0;
  transform: scale(0.95);
}

.service-card.filtered-in {
  display: flex !important;
  animation: cardFadeIn 0.35s ease forwards;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(10, 37, 64, 0.15), 0 0 0 1px rgba(2, 132, 199, 0.25);
  border-color: rgba(2, 132, 199, 0.4);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
}

/* Watermark / Clean Header Number */
.service-number {
  font-size: 1.85rem;
  font-weight: 800;
  font-feature-settings: "tnum";
  color: #cbd5e1;
  user-select: none;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  transition: all 0.35s ease;
}

.service-card:hover .service-number {
  color: var(--accent-blue);
  transform: scale(1.08);
}

/* Card Top */
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.service-card-top-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-category-badge {
  background: #f0f7ff;
  color: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #e0effe;
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f7ff 100%);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-light) 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.06) rotate(2deg);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.28);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

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

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--border-light);
  padding-top: 1rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.service-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  transition: var(--transition);
}

.service-link svg {
  transition: transform 0.25s ease;
}

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

.service-link:hover svg {
  transform: translateX(5px);
}

/* Side Navigation Arrows (Desktop) */
.services-side-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.services-side-btn.prev {
  left: -24px;
}

.services-side-btn.next {
  right: -24px;
}

.services-side-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.25);
}

.services-side-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.services-side-btn.disabled,
.services-side-btn:disabled {
  opacity: 0.25;
  pointer-events: none;
  cursor: default;
  box-shadow: none;
}

/* Dots Indicator (Desktop & Mobile) */
.services-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.services-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-dot:hover {
  background: var(--accent-blue);
  opacity: 0.7;
}

.service-dot.active {
  width: 28px;
  border-radius: 12px;
  background: var(--accent-blue);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   Interactive Quote Configurator (High-Conversion Feature)
   ========================================================================== */
.configurator-section {
  background: linear-gradient(135deg, #071527 0%, #0c284b 100%);
  color: #fff;
  position: relative;
}

.configurator-section .section-title {
  color: #fff;
}

.configurator-section .section-subtitle {
  color: #94a3b8;
}

.configurator-section .section-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

.calc-box {
  background: rgba(14, 34, 59, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-width: 960px;
  margin: 0 auto;
}

.calc-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.calc-steps-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.step-indicator-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.step-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e3a5f;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #94a3b8;
  transition: var(--transition);
}

.step-indicator-item.active .step-dot {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #071527;
  box-shadow: 0 0 15px var(--spark-glow);
}

.step-indicator-item.completed .step-dot {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.step-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

.step-indicator-item.active .step-label {
  color: #fff;
}

.calc-step-panel {
  display: none;
}

.calc-step-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

.option-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-card {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.option-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.option-card.selected {
  background: rgba(2, 132, 199, 0.2);
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.3);
}

.option-card svg {
  color: var(--accent-blue);
  transition: var(--transition);
}

.option-card.selected svg {
  color: var(--accent-gold);
  transform: scale(1.1);
}

.option-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.option-card-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.35;
}

.calc-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-field input, .form-field select, .form-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fff;
  outline: none;
  transition: var(--transition);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

.form-field select option {
  background: #0c284b;
  color: #fff;
}

.calc-summary-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.calc-summary-title {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.calc-summary-items {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.5;
}

/* ==========================================================================
   Why Sicidel / Strengths
   ========================================================================== */
.why-us {
  background: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  margin-bottom: 1.5rem;
}

.why-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.why-feature-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.why-feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.why-visual-composition {
  position: relative;
}

.why-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.why-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
  text-align: center;
}

.why-experience-badge .years {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-gold);
}

.why-experience-badge .desc {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* ==========================================================================
   Portfolio / Realizzazioni
   ========================================================================== */
.portfolio-section {
  background: var(--bg-main);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.portfolio-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-body {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.portfolio-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.portfolio-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: #ffffff;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: #f8fafc;
  padding: 0 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 1.25rem 1.5rem;
}

/* ==========================================================================
   Consultation & Value Callout Strip
   ========================================================================== */
.consultation-strip {
  background: linear-gradient(135deg, #071b30 0%, #0d2e54 50%, #071b30 100%);
  color: #fff;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.consultation-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.consultation-info h3 {
  font-size: 1.45rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
}

.consultation-info h3 svg {
  color: var(--accent-gold);
}

.consultation-info p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.consultation-action-btns {
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.contact-method-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-method-link:hover {
  transform: translateX(4px);
}

.contact-method-info {
  flex: 1;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-title {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.15rem;
}

.coop-guarantee-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.coop-guarantee-box svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.coop-guarantee-text {
  font-size: 0.82rem;
  color: #e2e8f0;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  height: 64px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer-about-text {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(3px);
}

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

/* ==========================================================================
   Pitch Details Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 39, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: var(--primary);
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
}

.pitch-pitch-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.pitch-point-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.pitch-point-icon {
  font-size: 1.5rem;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.pitch-point-text h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.pitch-point-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.modal-footer {
  padding: 1rem 2rem;
  background: #f1f5f9;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-left: 4px solid var(--accent-gold);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    flex: 0 0 calc((100% - 1.75rem) / 2);
    max-width: calc((100% - 1.75rem) / 2);
  }
  .services-side-btn.prev {
    left: -14px;
  }
  .services-side-btn.next {
    right: -14px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Ottimizzazione Container & Prevenzione Zoom iOS */
  .container {
    padding-inline: 1rem;
  }
  input, select, textarea, .form-field input, .form-field select, .form-field textarea {
    font-size: 16px !important;
  }

  /* Pitch Banner Mobile (Compattato) */
  .pitch-banner {
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
  }
  .pitch-banner-content {
    padding: 0 1.5rem 0 0;
    gap: 0.35rem;
  }
  .pitch-text {
    font-size: 0.72rem;
    gap: 0.35rem;
    line-height: 1.25;
  }
  .pitch-tag {
    font-size: 0.62rem;
    padding: 0.15rem 0.45rem;
    flex-shrink: 0;
  }

  /* Nascondi top bar nera su mobile (recupera 45px di spazio vitale) */
  .top-bar {
    display: none !important;
  }

  /* Header & Navbar Mobile Elegante */
  .site-header {
    box-shadow: 0 2px 10px rgba(10, 37, 64, 0.08);
  }
  .navbar {
    padding: 0.55rem 0;
  }
  .brand-logo-img {
    height: 42px;
  }
  .nav-actions {
    gap: 0.55rem;
  }
  .nav-desktop-cta {
    display: none !important;
  }
  .nav-actions .btn-whatsapp {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
  }
  .nav-actions .btn-whatsapp .btn-text {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
  }
  .mobile-toggle:active {
    background: #e2e8f0;
    transform: scale(0.95);
  }

  /* Mobile Drawer Menu */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    box-shadow: var(--shadow-lg);
    gap: 0.85rem;
    border-top: 1px solid var(--border-light);
  }
  .nav-menu.mobile-active {
    display: flex;
    animation: fadeIn 0.25s ease;
  }
  .nav-link {
    font-size: 1rem;
    padding: 0.35rem 0;
  }
  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }
  .nav-mobile-cta .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  .nav-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
  }
  .nav-mobile-contact-link {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 600;
  }
  #servizi {
    padding: 3.25rem 0 3.5rem;
  }
  #servizi .section-header {
    margin-bottom: 1.5rem;
  }
  .services-side-btn {
    display: none !important;
  }
  .services-filter-tabs {
    gap: 0.45rem;
    margin-top: 1.25rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .service-tab-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.15rem;
    padding: 0.5rem 0.25rem 1.25rem;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
    scrollbar-width: none;
  }
  .services-grid::-webkit-scrollbar {
    display: none;
  }
  .service-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    padding: 1.4rem 1.25rem;
    margin-bottom: 0;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
  }
  .service-number {
    font-size: 1.5rem;
  }
  .service-card-top {
    margin-bottom: 0.85rem;
  }
  .service-category-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
  }
  .service-icon-wrap {
    width: 46px;
    height: 46px;
    margin-bottom: 0;
  }
  .service-icon-wrap svg {
    width: 22px;
    height: 22px;
  }
  .service-title {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
  }
  .service-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
  }
  .service-features {
    margin-bottom: 1.1rem;
    padding-top: 0.75rem;
  }
  .service-features li {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }
  .service-link {
    font-size: 0.85rem;
  }
  .services-dots-container {
    margin-top: 0.5rem;
  }
  .services-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }
  .service-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .service-dot.active {
    width: 24px;
    border-radius: 12px;
    background: var(--accent-blue);
  }
  /* Sezioni Generiche su Mobile */
  .section {
    padding: 3.25rem 0;
  }
  .section-header {
    margin-bottom: 1.85rem;
  }
  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 0.65rem;
  }
  .section-subtitle {
    font-size: 0.92rem;
  }

  /* Quick Highlights (Griglia 2x2 invece di colonna infinita) */
  .quick-highlights {
    padding: 1.65rem 0;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem 0.85rem;
  }
  .highlight-box {
    align-items: center;
    gap: 0.65rem;
  }
  .highlight-icon {
    font-size: 1.5rem;
  }
  .highlight-num {
    font-size: 1.4rem;
  }
  .highlight-label {
    font-size: 0.74rem;
    margin-top: 0.1rem;
  }

  /* Perché Affidarsi a Sicidel (Griglia 2x2 per i 4 punti di forza) */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .why-content h2 {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  .why-content > p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .why-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
  }
  .why-feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.75rem;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
  }
  .why-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }
  .why-feature-text h4 {
    font-size: 0.86rem;
    line-height: 1.25;
    margin-bottom: 0.2rem;
  }
  .why-feature-text p {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .why-visual-composition {
    margin-top: 0.5rem;
  }
  .why-img-main {
    height: 220px;
    border-radius: var(--radius-md);
  }
  .why-experience-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 0.65rem 0.95rem;
    border-radius: var(--radius-sm);
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  }
  .why-experience-badge .years {
    font-size: 1.4rem;
  }
  .why-experience-badge .desc {
    font-size: 0.68rem;
  }

  /* Consultation Callout Strip */
  .consultation-strip {
    padding: 1.75rem 0;
  }
  .consultation-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.15rem;
  }
  .consultation-info h3 {
    font-size: 1.2rem;
    justify-content: center;
  }
  .consultation-info p {
    font-size: 0.86rem;
  }
  .consultation-action-btns {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .consultation-action-btns .btn {
    width: 100%;
    justify-content: center;
  }

  /* Portfolio & Realizzazioni */
  .portfolio-filters {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }
  .filter-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .portfolio-img-wrap {
    height: 190px;
  }
  .portfolio-body {
    padding: 1.15rem;
  }
  .portfolio-title {
    font-size: 1.05rem;
  }

  /* FAQ Section */
  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }

  /* Configuratore Preventivo Mobile Optimization */
  .configurator-section {
    padding: 3.25rem 0 3.5rem;
  }
  .configurator-section .section-header {
    margin-bottom: 1.8rem;
  }
  .calc-box {
    padding: 1.35rem 1rem;
    border-radius: var(--radius-md);
  }
  .calc-steps-indicator {
    margin-bottom: 1.35rem;
  }
  .calc-steps-indicator::before {
    left: 15px;
    right: 15px;
  }
  .step-dot {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }
  .step-label {
    font-size: 0.72rem;
    text-align: center;
  }
  .calc-step-panel h4 {
    font-size: 1.05rem !important;
    margin-bottom: 0.85rem !important;
    text-align: center;
  }
  .option-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .option-card {
    padding: 1rem 0.65rem;
    gap: 0.45rem;
  }
  .option-card svg {
    width: 26px;
    height: 26px;
  }
  .option-card-title {
    font-size: 0.86rem;
    line-height: 1.25;
  }
  .option-card-desc {
    font-size: 0.72rem;
    line-height: 1.3;
  }
  .calc-nav-buttons {
    margin-top: 1.25rem;
    padding-top: 1rem;
    gap: 0.75rem;
  }
  .calc-nav-buttons .btn {
    padding: 0.7rem 1.15rem;
    font-size: 0.88rem;
  }
  #step1 .calc-nav-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1rem;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
  }

  /* Sezione Contatti Ottimizzata Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contact-info-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
  }
  .contact-info-card p {
    font-size: 0.84rem;
    margin-bottom: 1rem;
    line-height: 1.45;
  }
  .contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-bottom: 0.85rem;
  }
  .contact-method-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .contact-method-link:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
  }
  .contact-method-full {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
  }
  .contact-method-legal {
    background: rgba(255, 255, 255, 0.04);
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.2);
  }
  .contact-method-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }
  .contact-method-title {
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.2;
  }
  .contact-method-value {
    font-size: 0.82rem;
    line-height: 1.3;
    font-weight: 700;
    word-break: break-word;
  }
  .coop-guarantee-box {
    padding: 0.75rem 0.85rem;
    font-size: 0.75rem;
    gap: 0.65rem;
    border-radius: var(--radius-sm);
  }
  .coop-guarantee-box svg {
    width: 20px;
    height: 20px;
  }
  .coop-guarantee-text {
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .contact-form-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .contact-form-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
  }
  .contact-form-card p {
    font-size: 0.84rem;
    margin-bottom: 1rem;
    line-height: 1.45;
  }
  .contact-form-card textarea {
    height: 85px;
    min-height: 75px;
  }
  .contact-form-card .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Hero Section Proporzionata su Mobile */
  .hero {
    padding: 2.25rem 0 2.75rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.8vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.4rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }
  .hero-trust-row {
    gap: 0.75rem 1.25rem;
    padding-top: 1rem;
    justify-content: center;
  }
  .trust-item {
    font-size: 0.78rem;
  }
  .hero-image-showcase,
  .hero-img-main {
    min-height: 230px;
    height: 240px;
    border-radius: var(--radius-md);
  }
  .hero-photo-badge {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    font-size: 0.74rem;
    padding: 0.45rem 0.75rem;
    justify-content: center;
  }
  .hero-logo-showcase {
    padding: 2rem 1.25rem 1.5rem;
    min-height: auto;
  }
  .floating-stat-card, .floating-cert-card {
    position: static;
    margin-top: 0.75rem;
    display: inline-flex;
    padding: 0.65rem 0.95rem;
  }

  /* Footer */
  .site-footer {
    padding: 2.75rem 0 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
  .footer-logo {
    height: 48px;
  }
}

/* ==========================================================================
   Cookie Banner & Legal Modals (GDPR Compliance)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 21, 39, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f1f5f9;
  border-top: 2px solid var(--accent-gold);
  padding: 1.25rem 0;
  z-index: 9999;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
  animation: cookieSlideUp 0.35s ease forwards;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes cookieFadeOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 500px;
}

.cookie-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #fff;
  display: flex;
  align-items: center;
}

.cookie-text p {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: var(--accent-gold);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #94a3b8;
  font-size: 0.82rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal-links .sep {
  color: #475569;
  font-size: 0.75rem;
}

.cookie-manage-link {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-manage-link:hover {
  color: var(--accent-gold);
}

/* Legal Viewer Modal */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.legal-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-card {
  background: #ffffff;
  color: #1e293b;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 850px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.legal-modal-overlay.active .legal-modal-card {
  transform: translateY(0);
}

.legal-modal-header {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.legal-tab-btn {
  background: transparent;
  border: 1px solid #cbd5e1;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.legal-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.legal-modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.legal-modal-close:hover {
  color: #0f172a;
}

.legal-modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #334155;
}

.legal-tab-content {
  display: none;
}

.legal-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.legal-tab-content h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.3rem;
}

.legal-tab-content h3:first-child {
  margin-top: 0;
}

.legal-tab-content ul {
  margin-left: 1.25rem;
  margin-bottom: 0.85rem;
}

.legal-tab-content li {
  margin-bottom: 0.35rem;
}

.legal-modal-footer {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-checkbox-field {
  margin: 1.25rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1.45;
}

.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  cursor: pointer;
}

/* ==========================================================================
   PROMOTIONS & NEWS SHOWCASE STYLES
   ========================================================================== */
.nav-hot-tag {
  background: var(--accent-gold);
  color: #071527;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 0.25rem;
  vertical-align: middle;
}

/* Dynamic Top Promo Bar */
.promo-top-bar {
  background: linear-gradient(90deg, #071527 0%, #1e1b4b 50%, #071527 100%);
  color: #ffffff;
  border-bottom: 2px solid var(--accent-gold);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 1050;
  animation: slideDownPromo 0.3s ease-out;
}

@keyframes slideDownPromo {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

.promo-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.promo-top-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.promo-top-badge {
  background: var(--accent-gold);
  color: #071527;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.promo-top-title {
  font-weight: 700;
  color: #ffffff;
}

.promo-top-validity {
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 600;
}

.promo-top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.promo-top-btn {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid var(--accent-gold);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.promo-top-btn:hover {
  background: var(--accent-gold);
  color: #071527;
}

.promo-top-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  transition: var(--transition);
}

.promo-top-close:hover {
  color: #ffffff;
}

/* News Showcase Section (Collocata in Cima prima dei Servizi) */
.news-showcase-section {
  background: radial-gradient(ellipse at 50% -10%, #172b4d 0%, #0a192f 45%, #050d1a 100%);
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

.news-showcase-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.5) 50%, transparent 100%);
}

.news-header-modern {
  text-align: center;
  margin-bottom: 2.75rem;
}

.live-pill-wrap {
  margin-bottom: 1.15rem;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.22);
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
  from { box-shadow: 0 0 12px rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.35); }
  to { box-shadow: 0 0 24px rgba(245, 158, 11, 0.35); border-color: rgba(245, 158, 11, 0.65); }
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8);
  animation: pulseRedDot 1.8s infinite;
}

@keyframes pulseRedDot {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.news-gradient-title {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.news-subtitle-modern {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 780px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

/* Modern Ticker Bar */
.news-ticker-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 27, 48, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.35rem;
  max-width: 920px;
  margin: 0 auto 2.25rem;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.news-ticker-tag {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.news-ticker-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #cbd5e1;
  font-size: 0.84rem;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-separator {
  color: var(--accent-gold);
  font-weight: 800;
}

/* Modern Filter Buttons */
.news-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.news-filter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #cbd5e1;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-filter-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.news-filter-btn.active {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  color: #071527;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

/* Cards Grid - Adaptive & Centered */
.news-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.news-card {
  flex: 1 1 340px;
  max-width: 460px;
  width: 100%;
  background: rgba(14, 30, 54, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284c7, #f59e0b, #06b6d4, #f59e0b);
  background-size: 300% 100%;
  animation: shimmerLine 4s infinite linear;
  transition: height 0.25s ease;
}

@keyframes shimmerLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.2);
}

.news-card:hover::before {
  height: 5px;
}

.news-card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.news-card:hover .news-card-shine {
  transform: rotate(25deg) translateY(100%);
}

.news-card-featured {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(18, 38, 68, 0.85);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 158, 11, 0.12);
}

.news-card-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.news-card-cat-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.news-card-cat-promo {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.news-card-cat-bonus {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.news-card-cat-news {
  background: rgba(6, 182, 212, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.news-card-cat-notice {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.news-card-tag-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.2) 100%);
  color: #fef08a;
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-card-top-tag {
  background: #dc2626;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.news-card-desc {
  color: #94a3b8;
  font-size: 0.94rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.35rem;
}

.news-card-validity {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fbbf24;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.news-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-top: auto;
}

.news-card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.92rem;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.news-card-cta-btn svg {
  transition: transform 0.2s ease;
}

.news-card-cta-btn:hover svg {
  transform: translateX(4px);
}

.news-card-cta-btn.cta-promo {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #071527;
  border: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.news-card-cta-btn.cta-promo:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #071527;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.news-card-cta-btn.cta-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.news-card-cta-btn.cta-whatsapp:hover {
  background: linear-gradient(135deg, #34d399 0%, #22c55e 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   Responsive News Showcase Rules (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 991px) {
  .news-showcase-section {
    padding: 4rem 0 4.5rem;
  }
  .news-cards-grid {
    gap: 1.5rem;
  }
  .news-card {
    flex: 1 1 300px;
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  .news-showcase-section {
    padding: 2.75rem 0 3.25rem;
  }
  .news-header-modern {
    margin-bottom: 1.75rem;
  }
  .news-gradient-title {
    font-size: clamp(1.45rem, 5.5vw, 1.95rem);
    line-height: 1.25;
    margin-bottom: 0.65rem;
  }
  .news-subtitle-modern {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }
  .news-ticker-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    margin-bottom: 1.35rem;
    width: 100%;
  }
  .news-ticker-content {
    white-space: normal;
    font-size: 0.78rem;
    line-height: 1.4;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .news-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.65rem;
    margin-bottom: 1.65rem;
    margin-inline: -0.5rem;
    padding-inline: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .news-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .news-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.45rem 0.95rem;
    font-size: 0.78rem;
  }
  .news-cards-grid {
    gap: 1.25rem;
  }
  .news-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem 1.25rem;
  }
  .news-card-title {
    font-size: 1.18rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
  }
  .news-card-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
  }
  .news-card-cta-btn {
    padding: 0.8rem 1.15rem;
    font-size: 0.88rem;
    min-height: 46px;
  }
}

@media (max-width: 480px) {
  .news-card-badge-row {
    gap: 0.35rem;
    margin-bottom: 0.85rem;
  }
  .news-card-cat-badge,
  .news-card-tag-gold,
  .news-card-top-tag {
    font-size: 0.65rem;
    padding: 0.18rem 0.5rem;
  }
  .news-card-validity {
    font-size: 0.78rem;
    margin-bottom: 1.15rem;
  }
}

