/* ==========================================================
   bilanubrio-attrezzo-ginnico.css
   REV 2.0.0
   - Struttura landing PVT
   - Palette nero / grigio / bianco
   - Versione pulita senza duplicati
   ========================================================== */

:root{
  --pvt-bg: #f3f4f6;
  --pvt-text: #111111;
  --pvt-muted: #374151;
  --pvt-soft: #6b7280;

  --pvt-card: #ffffff;
  --pvt-border: rgba(17, 17, 17, 0.10);
  --pvt-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);

  --pvt-green: #16a34a;
  --pvt-green-2: #15803d;
  --pvt-blue: #0ea5e9;

  --pvt-dark: #0b1220;
  --pvt-black: #111111;
  --pvt-black-2: #1c1c1c;
  --pvt-black-3: #232323;
  --pvt-gray-light: #e5e7eb;
  --pvt-gray-soft: #f8f9fb;

  --pvt-radius: 18px;
  --pvt-radius-sm: 12px;
}

html,
body{
  height: 100%;
}

body{
  background: var(--pvt-bg);
  color: var(--pvt-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  text-decoration: none;
}

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

/* ==========================================================
   UTILITY
   ========================================================== */

.pvt-small{
  font-size: 0.98rem;
  color: var(--pvt-muted);
}

.pvt-divider{
  width: 100%;
  height: 1px;
  background: rgba(17, 17, 17, 0.10);
}

.pvt-list{
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pvt-list li{
  margin: 10px 0;
  color: #1f2937;
}

.pvt-list li i{
  margin-right: 8px;
}

/* ==========================================================
   HERO
   ========================================================== */

.pvt-hero{
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(255,255,255,.04), transparent 55%),
    linear-gradient(180deg, #0b0c0e 0%, #16181c 60%, #0f1114 100%);
}

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

.pvt-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(255,255,255,.06), transparent 60%);
}

.pvt-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.pvt-title{
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pvt-title .highlight{
  color: #d1fae5;
  font-weight: 800;
}

.pvt-sub{
  color: rgba(255,255,255,.85);
  font-size: 1.06rem;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: 0.92rem;
}

.pvt-hero-media{
  height: 100%;
  overflow: hidden;
  border-radius: var(--pvt-radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.pvt-hero-media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pvt-media-caption{
  padding: 12px 14px;
  font-size: 0.95rem;
  color: rgba(255,255,255,.85);
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}

/* ==========================================================
   CARDS
   ========================================================== */

.pvt-card{
  background: var(--pvt-card);
  border: 1px solid var(--pvt-border);
  border-radius: var(--pvt-radius);
  box-shadow: var(--pvt-shadow);
}

.pvt-section-title{
  color: #111111;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pvt-card .pvt-section-title{
  color: #111111;
}

.pvt-card p,
.pvt-card .pvt-small,
.pvt-card .pvt-list li{
  color: #1f2937;
}

.inner-card{
  background: #fafafa;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: none;
}

.pvt-icon{
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(17,17,17,.08);
  border: 1px solid rgba(17,17,17,.14);
  color: var(--pvt-black);
  font-size: 22px;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.pvt-btn{
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(17,17,17,.18);
}

.btn-dark.pvt-btn{
  background: var(--pvt-black);
  border-color: var(--pvt-black);
  color: #ffffff;
}

.btn-dark.pvt-btn:hover{
  background: var(--pvt-black-2);
  border-color: var(--pvt-black-2);
  color: #ffffff;
  transform: translateY(-1px);
}

.pvt-outline{
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,.65);
}

.pvt-outline:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.85);
}

section .pvt-outline{
  color: #111111;
  border-color: #111111;
}

section .pvt-outline:hover{
  background: #111111;
  color: #ffffff;
}

/* ==========================================================
   SECTIONS
   ========================================================== */

section{
  scroll-margin-top: 90px;
}

section.py-5{
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* ==========================================================
   FORM
   ========================================================== */

.pvt-form-wrap{
  position: relative;
}

.form-label{
  margin-bottom: 6px;
  font-weight: 800;
  color: #111111;
}

.form-control,
.form-select{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,.14);
  background: #ffffff;
  color: #111111;
}

.form-control:focus,
.form-select:focus{
  border-color: rgba(17,17,17,.45);
  box-shadow: 0 0 0 4px rgba(17,17,17,.10);
}

.form-control::placeholder{
  color: #6b7280;
}

.pvt-privacy-inline{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(17,17,17,.03);
  border: 1px solid rgba(17,17,17,.08);
}

.pvt-privacy-inline input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.pvt-privacy-inline label{
  font-size: 0.95rem;
  color: #1f2937;
}

.pvt-privacy-inline a{
  color: var(--pvt-blue);
  font-weight: 700;
}

.pvt-privacy-inline a:hover{
  text-decoration: underline;
}

/* ==========================================================
   OVERLAY LOADING
   ========================================================== */

.pvt-form-overlay{
  display: none;
  position: absolute;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: var(--pvt-radius);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(2px);
}

.pvt-overlay-box{
  width: min(420px, 92%);
  padding: 20px 18px;
  text-align: center;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(17,17,17,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.pvt-spinner{
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 999px;
  border: 5px solid rgba(17,17,17,.12);
  border-top-color: var(--pvt-black);
  animation: pvtspin 1s linear infinite;
}

@keyframes pvtspin{
  to{
    transform: rotate(360deg);
  }
}

.pvt-overlay-text{
  font-size: 1.05rem;
  font-weight: 900;
  color: #111111;
}

.pvt-overlay-sub{
  margin-top: 4px;
  color: #374151;
}

/* ==========================================================
   STICKY CTA MOBILE
   ========================================================== */

.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: 10px 0;
  background: rgba(255,255,255,.94);
  border-top: 1px solid rgba(17,17,17,.10);
  box-shadow: 0 -10px 30px rgba(0,0,0,.12);
}

.sticky-cta .btn{
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
}

/* ==========================================================
   SWEETALERT
   ========================================================== */

.swal2-popup{
  border-radius: 18px !important;
}

/* ==========================================================
   VALIDATION
   ========================================================== */

.pvt-field-error{
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #dc3545;
}

.is-invalid{
  border-color: #dc3545 !important;
}

.is-valid{
  border-color: #198754 !important;
}

.form-select.is-invalid,
.form-select.is-valid{
  background-repeat: no-repeat !important;
  background-size: 16px 12px, 1rem 1rem !important;
  background-position: right .75rem center, right 2.25rem center !important;
  padding-right: 3.5rem !important;
}

/* ==========================================================
   BILANUBRIO SPECIFIC
   ========================================================== */

.bilanubrio-tech-block{
  padding: 20px 0;
  border-bottom: 1px solid rgba(17,17,17,.10);
}

.bilanubrio-tech-block.last{
  padding-bottom: 0;
  border-bottom: 0;
}

.bilanubrio-price-box{
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f8 100%);
}

.bilanubrio-legal-box{
  background: linear-gradient(180deg, #f7f7f8 0%, #efefef 100%);
}

/* ==========================================================
   PRODUCT BOXES
   ========================================================== */

.bilanubrio-product-box{
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.bilanubrio-product-image{
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: #f8f9fa;
}

.bilanubrio-product-image img{
  width: auto;
  max-height: 260px;
  object-fit: contain;
}

.bilanubrio-product-content{
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px;
}

.bilanubrio-product-tag{
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.bilanubrio-mini-list{
  padding-left: 18px;
  margin-bottom: 24px;
}

.bilanubrio-mini-list li{
  margin-bottom: 8px;
}

.bilanubrio-price-wrap{
  margin-top: auto;
  margin-bottom: 20px;
  padding: 18px;
  text-align: center;
  border-radius: 16px;
  background: #f8f9fa;
}

.bilanubrio-price-label{
  margin-bottom: 4px;
  font-size: 13px;
  opacity: 0.75;
}

.bilanubrio-price-value{
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: #198754;
}

/* ==========================================================
   MICRO TWEAKS
   ========================================================== */

.display-5{
  line-height: 1.08;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 992px){
  .pvt-title,
  .pvt-sub,
  .pvt-badge{
    text-align: center;
  }

  .pvt-badge{
    justify-content: center;
  }
}

@media (max-width: 576px){
  section.py-5{
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .display-5{
    font-size: 2.1rem;
  }

  .pvt-sub{
    font-size: 1.02rem;
  }

  .bilanubrio-product-image{
    min-height: 240px;
    padding: 18px;
  }

  .bilanubrio-product-image img{
    max-height: 200px;
  }

  .bilanubrio-product-content{
    padding: 22px 18px;
  }
  
  .pvt-hero-media-mobile{
	min-height: 260px;
  }

  .pvt-hero-media-mobile img{
	width: 100%;
	height: auto;
	object-fit: contain;
  }
}

@media (min-width: 992px){
  .sticky-cta{
    display: none;
  }
}