:root {
  --bs-primary: #0056b3;
  --bs-primary-rgb: 0, 86, 179;
  --accent: #00a884;
  --light-bg: #f7f9fc;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.navbar-brand span {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
}

.navbar-nav .nav-link.active {
  color: #ffffff;
}

.btn-highlight {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  padding-inline: 1.2rem;
}

.btn-highlight:hover {
  background: #00866b;
  border-color: #00866b;
  color: #fff;
}

/* Hero (solo home) */
.hero {
  min-height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 70px;
  background: radial-gradient(circle at top left, rgba(0, 168, 132, 0.35), transparent 55%),
  linear-gradient(135deg, #001b3b 0%, #003b7a 50%, #00101f 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-placeholder.png");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: .75rem;
}

.hero-lead {
  font-size: 1rem;
  max-width: 40rem;
  opacity: .92;
}

.hero-list {
  font-size: .95rem;
  margin-top: 1rem;
}

.hero-list li {
  margin-bottom: .25rem;
}

.hero-cta-note {
  font-size: .85rem;
  opacity: .8;
}

/* Section utilities */
main section {
  padding: 70px 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: .5rem;
}

.section-subtitle {
  color: #6c757d;
  font-size: .95rem;
  margin-bottom: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background-color: rgba(0, 86, 179, 0.08);
  font-size: 1.2rem;
  font-weight: 500;
  margin-right: .5rem;
  margin-bottom: .5rem;
}

/* Cards */
.feature-card,
.tariff-card,
.contact-box {
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.05);
  background-color: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 86, 179, 0.07);
  margin-bottom: .75rem;
  font-size: 1.2rem;
}

/* Tariffe */
.tariff-price {
  font-size: 1.9rem;
  font-weight: 700;
}

.tariff-badge {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 999px;
  padding: .35rem .75rem;
}

.tariff-meta {
  font-size: .85rem;
  color: #6c757d;
}

.tariff-highlight {
  border: 2px solid var(--accent);
}

/* FAQ */
.faq-list li {
  margin-bottom: .4rem;
}

/* SEO / pagina Milano */
#seo-milano {
  background-color: #0b1220;
  color: #f9fafb;
  padding: 60px 0 70px;
}

#seo-milano h2,
#seo-milano h3 {
  color: #fff;
}

#seo-milano .badge-soft {
  background-color: rgba(255,255,255,0.09);
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

#seo-milano p,
#seo-milano li {
  font-size: .9rem;
  color: #e5e7eb;
}

.saving-box {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15,23,42,0.7);
}

/* Footer */
footer {
  background-color: #020617;
  color: #9ca3af;
  font-size: .85rem;
  padding: 25px 0;
}

footer a {
  color: #e5e7eb;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Badge urgenza */
.urgency {
  font-size: .85rem;
  font-weight: 500;
  color: #b91c1c;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.urgency i {
  font-size: .95rem;
}

/* Page header (titolo per pagine interne) */
.page-header {
  padding-top: 110px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #001b3b 0%, #003b7a 60%, #00101f 100%);
  color: #fff;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.page-header p {
  margin-bottom: 0;
  opacity: .9;
}

.placeholder-image {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 14px 30px rgba(15,23,42,0.25);
  margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
  .hero {
    text-align: left;
  }
}


/* Hero animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge,
.hero h1,
.hero-lead,
.hero-list,
.hero .hero-cta,
.hero-cta-note {
  animation: heroFadeUp 0.8s ease-out both;
}

.hero h1 { animation-delay: 0.05s; }
.hero-lead { animation-delay: 0.1s; }
.hero-list { animation-delay: 0.15s; }
.hero .hero-cta { animation-delay: 0.2s; }
.hero-cta-note { animation-delay: 0.25s; }

/* Urgency pill inside hero */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background-color: #ffffff;
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.5);
}

/* Simple image gallery */
.image-gallery {
  margin-top: 2.5rem;
}

.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.image-gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

/* Banner WhatsApp nell'header */
.navbar-whatsapp img {
    height: 40px;
    width: auto;
}

/* Icona WhatsApp flottante in basso a destra */
.whatsapp-float {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    z-index: 1080;
    text-decoration: none;
}

.whatsapp-float i {
    font-size: 1.8rem;
}

.whatsapp-float:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.7);
}
/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1070;
  background: rgba(15, 23, 42, 0.97);
  color: #f9fafb;
  font-size: 0.85rem;
  padding: 0.75rem 0;
}

.cookie-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.cookie-banner a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-banner a:hover {
  text-decoration: none;
}

.cookie-banner-actions {
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 991.98px) {
  .image-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .image-gallery-grid img {
    height: 140px;
  }
}

/* Hero mobile tweaks */
@media (max-width: 767.98px) {
  .hero {
    text-align: left;
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .hero .placeholder-image {
    margin-top: 1.5rem;
  }
}
