/* =============================================
   TOP SMART BOOKING — Custom CSS
   ============================================= */

/* Google Fonts: Playfair Display + Inter */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --primary-color: #1a2744;
  --primary-dark: #0d1624;
  --secondary-color: #c9a227;
  --accent-color: #d4b94a;
  --accent-light: #f0d97a;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #0d1624;
  --bg-cream: #fdf9f0;
  --border-gold: rgba(201, 162, 39, 0.3);
  --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.15);
  --shadow-card: 0 8px 32px rgba(26, 39, 68, 0.10);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: #fff;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

h4, h5, h6 {
  font-family: 'Inter', sans-serif;
}

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

a:hover {
  color: var(--accent-color);
}

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

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-gold {
  color: var(--secondary-color) !important;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

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

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

.btn-gold {
  background: var(--secondary-color);
  color: var(--primary-dark);
  font-weight: 700;
  border: 2px solid var(--secondary-color);
  padding: 12px 32px;
  border-radius: 50px;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.btn-gold:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--secondary-color);
  font-weight: 600;
  border: 2px solid var(--secondary-color);
  padding: 12px 32px;
  border-radius: 50px;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.btn-outline-gold:hover {
  background: var(--secondary-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-light-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 32px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-light-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.section-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.12);
  color: var(--secondary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid var(--border-gold);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--secondary-color);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-light));
  border-radius: 2px;
  margin: 16px auto 24px;
}

/* =============================================
   NAVBAR
   ============================================= */
#mainNav {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  padding: 20px 0;
}

#mainNav.scrolled {
  background: var(--primary-dark) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  padding: 10px 0;
}

#mainNav .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff !important;
  letter-spacing: -0.3px;
}

#mainNav .navbar-brand .brand-accent {
  color: var(--secondary-color);
}

#mainNav .navbar-brand small {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: -2px;
}

#mainNav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 8px 14px !important;
  transition: var(--transition);
  position: relative;
}

#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: #fff !important;
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
  width: calc(100% - 28px);
}

#mainNav .nav-link.btn-gold {
  padding: 8px 20px !important;
  border-radius: 50px;
}

#mainNav .nav-link.btn-gold::after {
  display: none;
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =============================================
   HERO SECTION — Split Screen
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(13,22,36,0.75) 0%, rgba(26,39,68,0.75) 60%, rgba(30,50,96,0.75) 100%), url('../img/content/topsmartbooking_hero.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,162,39,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,162,39,0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--secondary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title .line-gold {
  color: var(--secondary-color);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Hero Right: Visual Card Stack */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.booking-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  position: absolute;
  transition: var(--transition);
}

.booking-card-main {
  width: 300px;
  z-index: 3;
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,162,39,0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.booking-card-main .card-header-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.booking-card-main .hotel-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1rem;
}

.booking-card-main .hotel-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
}

.booking-card-main .hotel-tag {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}

.booking-card-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 4px;
}

.booking-card-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.booking-progress {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  height: 4px;
  margin-bottom: 8px;
}

.booking-progress-bar {
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-light));
  border-radius: 4px;
}

.booking-progress-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.booking-btn-mock {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--secondary-color);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 8px;
}

.booking-card-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #22c55e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.booking-card-stat {
  width: 180px;
  top: 60px;
  right: -20px;
  z-index: 2;
  background: rgba(26,39,68,0.95);
  border-color: rgba(201,162,39,0.2);
  padding: 18px;
  text-align: center;
}

.booking-card-stat .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #22c55e;
}

.booking-card-stat .stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

.booking-card-speed {
  width: 170px;
  bottom: 80px;
  left: -10px;
  z-index: 2;
  background: rgba(26,39,68,0.95);
  border-color: rgba(201,162,39,0.2);
  padding: 16px;
}

.booking-card-speed .speed-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.booking-card-speed .speed-value {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.booking-card-speed .speed-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   PROBLEM SECTION
   ============================================= */
#problema {
  padding: 100px 0;
  background: var(--bg-cream);
}

.ota-vs-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.ota-vs-card.ota-side {
  background: #fff;
  border: 2px solid #fee2e2;
}

.ota-vs-card.tsb-side {
  background: var(--primary-color);
  border: 2px solid rgba(201,162,39,0.3);
  color: #fff;
}

.ota-vs-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.ota-side .card-icon {
  background: #fee2e2;
  color: #dc2626;
}

.tsb-side .card-icon {
  background: rgba(201,162,39,0.2);
  color: var(--secondary-color);
}

.ota-vs-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.ota-vs-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ota-vs-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tsb-side ul li {
  border-bottom-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}

.ota-vs-card ul li:last-child {
  border-bottom: none;
}

.ota-side ul li .list-icon {
  color: #dc2626;
  flex-shrink: 0;
}

.tsb-side ul li .list-icon {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-circle {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(201,162,39,0.4);
}

/* =============================================
   FEATURES / VANTAGGI
   ============================================= */
#vantaggi {
  padding: 100px 0;
  background: #fff;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(26,39,68,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201,162,39,0.2);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), #2a3f6f);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--primary-dark);
}

.feature-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   COME FUNZIONA — Steps
   ============================================= */
#come-funziona {
  padding: 100px 0;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

#come-funziona::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(201,162,39,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,162,39,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 40px 24px;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201,162,39,0.1);
  border: 2px solid rgba(201,162,39,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-connector {
  position: absolute;
  top: 76px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: linear-gradient(90deg, rgba(201,162,39,0.4), rgba(201,162,39,0.1));
}

.step-icon {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.step-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   CLIENTI ESEMPIO
   ============================================= */
#clienti {
  padding: 100px 0;
  background: var(--bg-light);
}

.client-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26,39,68,0.08);
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: var(--text-dark);
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  color: var(--text-dark);
  border-color: rgba(201,162,39,0.3);
}

.client-card-header {
  background: linear-gradient(135deg, var(--primary-color), #2a3f6f);
  padding: 32px 24px 24px;
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
}

.client-card-header .client-letter {
  width: 56px;
  height: 56px;
  background: var(--secondary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.client-card-header .client-type-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(201,162,39,0.2);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--secondary-color);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.client-card-body {
  padding: 20px 24px 24px;
}

.client-card-body h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.client-card-body .client-domain {
  font-size: 0.82rem;
  color: var(--secondary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.client-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.client-card-footer {
  padding: 14px 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.client-card-footer .visit-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.client-card:hover .visit-link {
  color: var(--secondary-color);
}

/* =============================================
   PRICING
   ============================================= */
#prezzi {
  padding: 100px 0;
  background: #fff;
}

.pricing-card {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  height: 100%;
  position: relative;
  border: 2px solid rgba(26,39,68,0.08);
  background: #fff;
  transition: var(--transition);
}

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

.pricing-card.featured {
  background: var(--primary-color);
  border-color: var(--secondary-color);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(26,39,68,0.25);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 1.4rem;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.pricing-period {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.pricing-card:not(.featured) .pricing-period {
  color: var(--text-muted);
}

.pricing-card.featured .pricing-period {
  color: rgba(255,255,255,0.6);
}

.pricing-note {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 24px;
  display: inline-block;
}

.pricing-card:not(.featured) .pricing-note {
  background: var(--bg-light);
  color: var(--text-muted);
}

.pricing-card.featured .pricing-note {
  background: rgba(201,162,39,0.15);
  color: var(--secondary-color);
}

.pricing-divider {
  border: none;
  border-top: 1px solid rgba(26,39,68,0.08);
  margin: 24px 0;
}

.pricing-card.featured .pricing-divider {
  border-top-color: rgba(255,255,255,0.1);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.pricing-features li {
  padding: 9px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.pricing-card.featured .pricing-features li {
  border-bottom-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li .check {
  color: #22c55e;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-features li .check {
  color: var(--secondary-color);
}

/* =============================================
   CONTATTI
   ============================================= */
#contatti {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

.form-label-custom {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(26,39,68,0.12);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fafafa;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,39,68,0.08);
}

.form-control-custom::placeholder {
  color: #bbb;
  font-size: 0.88rem;
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 120px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-text .label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info-text .value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-color);
}

.contact-info-text .value a {
  color: var(--primary-color);
}

.contact-info-text .value a:hover {
  color: var(--secondary-color);
}

.contact-info-icon i.fa-whatsapp {
  color: var(--secondary-color);
}

.form-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
  margin-top: 16px;
}

.form-alert.success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.form-alert.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-logo-text .accent {
  color: var(--secondary-color);
}

.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.87rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-links li a i {
  font-size: 0.65rem;
  color: var(--secondary-color);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-item i {
  color: var(--secondary-color) !important;
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.5);
}

.footer-contact-item a:hover {
  color: var(--secondary-color);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 50px 0 0;
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--secondary-color);
}

/* =============================================
   ANIMATIONS (IntersectionObserver)
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* =============================================
   SCROLL TO TOP
   ============================================= */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--secondary-color);
  color: var(--primary-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(201,162,39,0.4);
}

#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
}

#scrollTop:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

/* =============================================
   FORM PRIVACY CHECKBOX
   ============================================= */
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}

.privacy-check label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}

.privacy-check label a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* =============================================
   RECAPTCHA NOTICE
   ============================================= */
.recaptcha-notice {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

.recaptcha-notice a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .hero-visual {
    display: none;
  }

  .hero-content {
    padding: 100px 0 60px;
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: scale(1);
    margin-top: 0;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .vs-divider {
    padding: 24px 0;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 767.98px) {
  #mainNav .navbar-collapse {
    background: var(--primary-dark);
    padding: 16px;
    border-radius: var(--radius);
    margin-top: 10px;
  }

  .contact-form-wrapper {
    padding: 32px 20px;
  }

  .ota-vs-card {
    padding: 28px 22px;
  }

  .hero-stats {
    gap: 20px;
  }

  #scrollTop {
    bottom: 80px;
    right: 20px;
  }

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

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

  .feature-card,
  .pricing-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  #hero {
    min-height: auto;
  }

  .hero-content {
    padding: 90px 0 50px;
  }

  .btn-gold,
  .btn-outline-gold,
  .btn-light-outline {
    padding: 11px 24px;
    font-size: 0.88rem;
  }
}

/* Client card: screenshot background + logo */
.client-card-header {
  position: relative;
}
.client-card-header[style*='background-image'] {
  background-color: #f0f0f0;
}
.client-card-header[style*='background-image'] .client-logo {
  position: relative;
  z-index: 2;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo img {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Mobile fixes */
@media (max-width: 991.98px) {
  .hero-content {
    padding-top: 140px;
  }
  .feature-card {
    text-align: center;
  }
  .feature-card .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 575.98px) {
  .hero-content {
    padding-top: 130px;
  }
}
