:root {
  --primary: #0d6efd;
  --primary-2: #5ea8ff;
  --primary-dark: #0a58ca;
  --white: #ffffff;
  --light: #f8f9fa;
  --light-blue: #f4f9ff;
  --text: #17212b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: rgba(13, 110, 253, 0.10);
  --shadow-xs: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 30px 90px rgba(13, 110, 253, 0.18);
  --radius: 26px;
  --radius-lg: 36px;
  --container-narrow: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(41, 171, 226, 0.10), transparent 30%),
    linear-gradient(180deg, #f7f9fe 0%, #ffffff 40%);
  padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.container-premium {
  max-width: var(--container-narrow);
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-sm {
  padding: 84px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

/* Alternativo: sfondo più scuro — da intercalare con .section-alt */
.section-alt-2 {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(13, 110, 253, 0.06) 0%, transparent 70%),
    #edf2f9;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.10);
}

.navbar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.navbar-brand img {
  height: 70px;
  width: auto;
  display: block;
}

.navbar .nav-link {
  color: var(--text);
  font-weight: 600;
  padding: 10px 14px;
  transition: color 0.25s ease;
}

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

.btn {
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border: none;
  box-shadow: 0 16px 32px rgba(13, 110, 253, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(13, 110, 253, 0.28);
}

.btn-outline-primary {
  border: 1.5px solid rgba(13, 110, 253, 0.22);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline-primary:hover {
  background: rgba(13, 110, 253, 0.06);
  border-color: rgba(13, 110, 253, 0.34);
  color: var(--primary-dark);
}

.btn-light {
  color: var(--text);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.btn-outline-light {
  border-width: 1.5px;
}

.hero {
  position: relative;
  padding: 90px 0 84px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  background: rgba(13, 110, 253, 0.12);
  top: -40px;
  right: -40px;
}

.hero::after {
  width: 220px;
  height: 220px;
  background: rgba(94, 168, 255, 0.10);
  bottom: 10px;
  left: -40px;
}

.hero .container,
.hero .row {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.7rem, 3.8vw, 5.1rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.07em;
  margin-bottom: 22px;
  max-width: 680px;
}

.hero p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 610px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badge {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-xs);
  font-size: 0.94rem;
  font-weight: 700;
  color: #334155;
  backdrop-filter: blur(8px);
}

.hero-badge strong {
  color: var(--primary);
  font-weight: 800;
}

.hero-visual-wrap {
  position: relative;
  padding-left: 16px;
}

.hero-visual {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.90));
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: var(--shadow-lg);
  /*overflow: hidden;*/
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(13, 110, 253, 0.04) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

.hero-float,
.hero-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 110, 253, 0.10);
  box-shadow: var(--shadow-md);
}

@keyframes float-bob {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes float-bob-card {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(30px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-card {
  left: -40px;
  bottom: 56px;
  border-radius: 22px;
  padding: 16px 18px;
  max-width: 300px;
  animation: float-bob-card 4s ease-in-out infinite;
}

.hero-card small,
.hero-float small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.hero-card strong,
.hero-float strong {
  font-size: 1.04rem;
  line-height: 1.4;
}

.hero-float {
  top: 24px;
  right: -18px;
  border-radius: 20px;
  padding: 14px 16px;
  min-width: 220px;
  animation: float-bob 3s ease-in-out infinite;
  will-change: transform;
}

.hero-float .mini-metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-float .mini-metric span:last-child {
  color: var(--text);
  font-weight: 800;
}

.feature-card,
.gallery-card,
.price-card,
.testimonial-card,
.info-card,
.faq-item,
.highlight-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}

.feature-card,
.price-card,
.testimonial-card,
.faq-item,
.highlight-card {
  height: 100%;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.feature-card:hover,
.gallery-card:hover,
.price-card:hover,
.testimonial-card:hover,
.faq-item:hover,
.highlight-card:hover {
  transform: translateY(-7px) scale(1.012);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 110, 253, 0.18);
}

.feature-card {
  padding: 32px;
}

.feature-icon,
.step-number,
.highlight-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(94, 168, 255, 0.12));
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}

.feature-card h3,
.price-card h3,
.testimonial-card h3,
.highlight-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.feature-card p,
.step-card p,
.gallery-caption,
.price-card p,
.testimonial-card p,
.info-card p,
.faq-item p,
.highlight-card p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.stats-row {
  margin-top: 28px;
}

.highlight-card {
  padding: 26px;
}

.highlight-number {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 6px;
  color: var(--text);
}

.step-card {
  text-align: center;
  padding: 34px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.96) 100%);
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  opacity: 0.75;
}

.step-number {
  margin: 0 auto 18px;
  font-size: 1.2rem;
  font-weight: 900;
}

.step-card h4 {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.price-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.06) 0%, rgba(255, 255, 255, 0.96) 40%);
  border-color: rgba(13, 110, 253, 0.16);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.10);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.price-value {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-bottom: 8px;
  color: var(--text);
}

.price-note {
  font-size: 0.94rem;
  color: var(--muted-2);
  margin-top: 16px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.price-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  flex: 0 0 auto;
}

.gallery-card {
  overflow: hidden;
  height: 100%;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.gallery-media {
  position: relative;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, rgba(23, 33, 43, 0.08) 100%);
  pointer-events: none;
}

.gallery-caption {
  padding: 20px 22px 22px;
  font-size: 0.98rem;
}

.testimonial-card {
  padding: 30px;
}

.stars {
  color: #ffc107;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.info-card {
  padding: 36px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: #334155;
  line-height: 1.65;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list strong {
  color: var(--text);
  min-width: 92px;
  font-weight: 800;
}

.map-wrap {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: var(--shadow-lg);
  min-height: 100%;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.faq-item {
  padding: 26px;
}

.faq-item h4 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-shell {
  position: relative;
  padding: 6px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.38), rgba(94, 168, 255, 0.26));
  box-shadow: var(--shadow-lg);
}

.cta-section {
  background: linear-gradient(135deg, #0d6efd, #58a6ff 55%, #7ec0ff 100%);
  color: var(--white);
  border-radius: 36px;
  padding: 64px 28px;
  overflow: hidden;
  position: relative;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  filter: blur(8px);
  pointer-events: none;
}

.cta-section::before {
  width: 240px;
  height: 240px;
  top: -80px;
  right: -40px;
}

.cta-section::after {
  width: 180px;
  height: 180px;
  bottom: -70px;
  left: -40px;
}

.cta-section .section-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
  margin: 14px auto 0;
  line-height: 1.75;
}

.cta-logo-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 12px;
}

.cta-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.20) 20%, transparent 75%);
  pointer-events: none;
}

.cta-logo {
  display: block;
  height: 350px;
  width: auto;
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

footer {
  padding: 28px 0 42px;
  color: var(--muted);
}

.footer-line {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 28px;
}

.footer-brand {
  font-weight: 800;
  color: var(--text);
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.07);
  border: 1px solid rgba(13, 110, 253, 0.14);
  color: var(--muted);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.social-icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon-btn--lg {
  width: 42px;
  height: 42px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: flex-end;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 1199.98px) {
  .hero-float {
    right: 0;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-top: 82px;
  }

  .section {
    padding: 90px 0;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-visual-wrap {
    padding-left: 0;
  }

  .hero-card,
  .hero-float {
    position: static;
    margin-top: 14px;
    max-width: none;
  }

  .hero-visual img {
    min-height: 420px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20b858;
  color: #fff;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 76px 0;
  }

  .section-sm {
    padding: 66px 0;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .hero-visual img {
    min-height: 300px;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}