/* ==========================================================================
   Prostalis — pureboka.shop
   Foglio di stile personalizzato
   Palette: chiaro, argento, azzurro, blu, blu scuro
   ========================================================================== */

:root {
  --pb-light: #f0f7fc;
  --pb-white: #ffffff;
  --pb-silver: #cbd5e1;
  --pb-silver-soft: #e2e8f0;
  --pb-lightblue: #93c5fd;
  --pb-blue: #2563eb;
  --pb-blue-deep: #1d4ed8;
  --pb-darkblue: #0f2a5a;
  --pb-navy: #0a1f44;
  --pb-text: #1e293b;
  --pb-muted: #51607a;
  --pb-shadow: rgba(15, 42, 90, 0.12);
  --pb-shadow-strong: rgba(15, 42, 90, 0.22);
  --pb-radius: 18px;
  --pb-radius-sm: 12px;
  --pb-maxw: 1180px;
  --pb-transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  color: var(--pb-text);
  background: var(--pb-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pb-blue); text-decoration: none; transition: color var(--pb-transition); }
a:hover { color: var(--pb-blue-deep); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--pb-darkblue); font-weight: 700; }

.pb-container {
  width: 100%;
  max-width: var(--pb-maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Pulsanti ---------- */
.pb-btn {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 15px 38px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  transition: transform var(--pb-transition), box-shadow var(--pb-transition), background var(--pb-transition);
}
.pb-btn-primary {
  background: linear-gradient(135deg, var(--pb-blue), var(--pb-blue-deep));
  color: var(--pb-white);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}
.pb-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
  color: var(--pb-white);
}
.pb-btn-light {
  background: var(--pb-white);
  color: var(--pb-darkblue);
  border: 2px solid var(--pb-silver);
}
.pb-btn-light:hover { background: var(--pb-light); transform: translateY(-2px); }

/* ---------- Header / Navigazione ---------- */
.pb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pb-silver-soft);
  box-shadow: 0 2px 12px var(--pb-shadow);
}
.pb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.pb-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pb-darkblue);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pb-logo span { color: var(--pb-blue); }
.pb-logo-dot {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--pb-lightblue), var(--pb-blue));
  border-radius: 50%;
  display: inline-block;
}
.pb-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}
.pb-menu a {
  color: var(--pb-text);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
}
.pb-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--pb-blue);
  transition: width var(--pb-transition);
}
.pb-menu a:hover::after { width: 100%; }
.pb-nav-cta { padding: 10px 24px; font-size: 0.95rem; }

.pb-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.pb-burger span {
  width: 26px; height: 3px;
  background: var(--pb-darkblue);
  border-radius: 3px;
  transition: var(--pb-transition);
}
.pb-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.pb-burger.is-open span:nth-child(2) { opacity: 0; }
.pb-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.pb-hero {
  position: relative;
  background-image: linear-gradient(135deg, rgba(10, 31, 68, 0.86), rgba(37, 99, 235, 0.78)), url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--pb-white);
  padding: 96px 0 110px;
  overflow: hidden;
}
.pb-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
.pb-hero h1 {
  color: var(--pb-white);
  font-size: 2.9rem;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.pb-hero .pb-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.pb-hero p { font-size: 1.18rem; color: var(--pb-light); margin-bottom: 32px; max-width: 540px; }
.pb-hero-text { max-width: 680px; }
.pb-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.pb-hero-note { margin-top: 22px; font-size: 0.85rem; color: var(--pb-silver); }
.pb-hero-visual {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(6px);
  text-align: center;
}
.pb-hero-visual img { margin: 0 auto; max-height: 360px; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.4)); }
.pb-hero-price {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--pb-white);
}
.pb-hero-price strong { font-size: 2rem; display: block; color: var(--pb-lightblue); }

/* ---------- Sezioni generiche ---------- */
.pb-section { padding: 84px 0; }
.pb-section-alt { background: var(--pb-white); }
.pb-section-soft { background: linear-gradient(180deg, var(--pb-light), var(--pb-white)); }
.pb-section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.pb-section-head .pb-tag {
  display: inline-block;
  color: var(--pb-blue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pb-section-head h2 { font-size: 2.2rem; margin-bottom: 14px; }
.pb-section-head p { color: var(--pb-muted); font-size: 1.08rem; }

/* ---------- Panoramica prodotto ---------- */
.pb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pb-split-media {
  background: linear-gradient(135deg, var(--pb-light), var(--pb-silver-soft));
  border-radius: var(--pb-radius);
  padding: 40px;
  text-align: center;
  box-shadow: 0 12px 30px var(--pb-shadow);
}
.pb-split-media img {
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  max-height: 420px;
  height: auto;
  object-fit: contain;
}
.pb-split h2 { font-size: 2rem; margin-bottom: 18px; }
.pb-split p { color: var(--pb-muted); margin-bottom: 20px; }
.pb-feature-list { list-style: none; display: grid; gap: 14px; }
.pb-feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--pb-light);
  border-radius: var(--pb-radius-sm);
  border-left: 4px solid var(--pb-blue);
}
.pb-feature-list .pb-ico {
  width: 28px; height: 28px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pb-lightblue), var(--pb-blue));
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--pb-white); font-weight: 700; font-size: 0.9rem;
}
.pb-feature-list strong { display: block; color: var(--pb-darkblue); }
.pb-feature-list span.pb-desc { font-size: 0.92rem; color: var(--pb-muted); }

/* ---------- Wellness ---------- */
.pb-wellness {
  background-image: linear-gradient(135deg, rgba(240, 247, 252, 0.6), rgba(147, 197, 253, 0.45)), url("../img/wellness.jpg");
  background-size: cover;
  background-position: center;
}
.pb-wellness-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--pb-radius);
  padding: 46px;
  max-width: 640px;
  box-shadow: 0 18px 40px var(--pb-shadow);
}
.pb-wellness-card h2 { font-size: 2rem; margin-bottom: 16px; }
.pb-wellness-card p { color: var(--pb-muted); margin-bottom: 16px; }

/* ---------- Routine quotidiana ---------- */
.pb-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pb-step {
  background: var(--pb-white);
  border: 1px solid var(--pb-silver-soft);
  border-radius: var(--pb-radius);
  padding: 32px 26px;
  transition: transform var(--pb-transition), box-shadow var(--pb-transition);
}
.pb-step:hover { transform: translateY(-6px); box-shadow: 0 16px 36px var(--pb-shadow); }
.pb-step-num {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--pb-blue), var(--pb-darkblue));
  color: var(--pb-white);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  margin-bottom: 18px;
}
.pb-step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pb-step p { color: var(--pb-muted); font-size: 0.96rem; }

/* ---------- Cards ingredienti ---------- */
.pb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pb-card {
  background: var(--pb-white);
  border-radius: var(--pb-radius);
  padding: 30px 26px;
  box-shadow: 0 8px 24px var(--pb-shadow);
  border-top: 4px solid var(--pb-lightblue);
  transition: transform var(--pb-transition), box-shadow var(--pb-transition), border-color var(--pb-transition);
}
.pb-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px var(--pb-shadow-strong);
  border-top-color: var(--pb-blue);
}
.pb-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--pb-light), var(--pb-lightblue));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}
.pb-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.pb-card p { color: var(--pb-muted); font-size: 0.96rem; }

/* ---------- Qualità ---------- */
.pb-quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pb-quality-item {
  display: flex;
  gap: 18px;
  background: var(--pb-white);
  border: 1px solid var(--pb-silver-soft);
  border-radius: var(--pb-radius);
  padding: 26px;
  transition: box-shadow var(--pb-transition);
}
.pb-quality-item:hover { box-shadow: 0 12px 30px var(--pb-shadow); }
.pb-quality-badge {
  width: 54px; height: 54px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pb-darkblue), var(--pb-blue));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--pb-white); font-size: 1.4rem;
}
.pb-quality-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pb-quality-item p { color: var(--pb-muted); font-size: 0.94rem; }

/* ---------- Esperienza clienti ---------- */
.pb-experience {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.pb-experience-media {
  border-radius: var(--pb-radius);
  overflow: hidden;
  box-shadow: 0 16px 40px var(--pb-shadow);
}
.pb-experience-media img { width: 100%; height: 100%; object-fit: cover; }
.pb-feedback { display: grid; gap: 18px; }
.pb-feedback-item {
  background: var(--pb-white);
  border-radius: var(--pb-radius-sm);
  padding: 24px;
  border-left: 4px solid var(--pb-lightblue);
  box-shadow: 0 6px 18px var(--pb-shadow);
}
.pb-feedback-item p { color: var(--pb-text); font-style: italic; margin-bottom: 10px; }
.pb-feedback-item .pb-author { font-weight: 600; color: var(--pb-darkblue); font-style: normal; font-size: 0.92rem; }

/* ---------- Ordine ---------- */
.pb-order {
  background: linear-gradient(135deg, var(--pb-darkblue), var(--pb-blue));
  color: var(--pb-white);
}
.pb-order .pb-section-head h2 { color: var(--pb-white); }
.pb-order .pb-section-head p { color: var(--pb-light); }
.pb-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.pb-order-summary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--pb-radius);
  padding: 36px;
}
.pb-order-summary h3 { color: var(--pb-white); font-size: 1.5rem; margin-bottom: 14px; }
.pb-order-summary ul { list-style: none; display: grid; gap: 10px; margin: 20px 0; }
.pb-order-summary li { display: flex; gap: 10px; align-items: center; color: var(--pb-light); }
.pb-order-summary li::before { content: "✓"; color: var(--pb-lightblue); font-weight: 800; }
.pb-price-tag {
  font-size: 3rem;
  font-weight: 800;
  color: var(--pb-white);
  display: flex; align-items: baseline; gap: 8px;
}
.pb-price-tag small { font-size: 1rem; color: var(--pb-silver); font-weight: 500; }

.pb-form {
  background: var(--pb-white);
  border-radius: var(--pb-radius);
  padding: 38px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
}
.pb-form h3 { color: var(--pb-darkblue); font-size: 1.4rem; margin-bottom: 8px; }
.pb-form .pb-form-sub { color: var(--pb-muted); font-size: 0.94rem; margin-bottom: 24px; }
.pb-field { margin-bottom: 20px; }
.pb-field label {
  display: block;
  font-weight: 600;
  color: var(--pb-darkblue);
  margin-bottom: 7px;
  font-size: 0.95rem;
}
.pb-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--pb-silver-soft);
  border-radius: var(--pb-radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--pb-text);
  background: var(--pb-light);
  transition: border-color var(--pb-transition), box-shadow var(--pb-transition);
}
.pb-field input:focus {
  outline: none;
  border-color: var(--pb-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: var(--pb-white);
}
.pb-field input.pb-invalid { border-color: #dc2626; background: #fef2f2; }
.pb-error-msg {
  display: none;
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 6px;
}
.pb-error-msg.is-visible { display: block; }
.pb-form .pb-btn { width: 100%; }
.pb-form-legal { font-size: 0.82rem; color: var(--pb-muted); margin-top: 16px; text-align: center; }

/* ---------- Disclaimer banner ---------- */
.pb-disclaimer-strip {
  background: var(--pb-navy);
  color: var(--pb-silver);
  text-align: center;
  padding: 18px 0;
  font-size: 0.9rem;
}
.pb-disclaimer-strip .pb-container { max-width: 900px; }

/* ---------- Footer ---------- */
.pb-footer {
  background: var(--pb-navy);
  color: var(--pb-silver);
  padding: 64px 0 26px;
}
.pb-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.pb-footer h4 { color: var(--pb-white); font-size: 1.05rem; margin-bottom: 18px; }
.pb-footer p { font-size: 0.92rem; line-height: 1.8; }
.pb-footer ul { list-style: none; display: grid; gap: 10px; }
.pb-footer ul a { color: var(--pb-silver); font-size: 0.92rem; }
.pb-footer ul a:hover { color: var(--pb-lightblue); }
.pb-footer .pb-logo { color: var(--pb-white); margin-bottom: 14px; }
.pb-footer-contact span { display: block; font-size: 0.9rem; margin-bottom: 6px; }
.pb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--pb-silver);
}

/* ---------- Pagine legali ---------- */
.pb-legal {
  background: var(--pb-white);
  padding: 70px 0;
}
.pb-legal-wrap { max-width: 840px; margin: 0 auto; }
.pb-legal h1 { font-size: 2.2rem; margin-bottom: 10px; }
.pb-legal .pb-updated { color: var(--pb-muted); font-size: 0.9rem; margin-bottom: 36px; }
.pb-legal h2 { font-size: 1.4rem; margin: 34px 0 12px; color: var(--pb-darkblue); }
.pb-legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.pb-legal p { color: var(--pb-text); margin-bottom: 14px; }
.pb-legal ul { margin: 0 0 16px 22px; color: var(--pb-text); }
.pb-legal li { margin-bottom: 8px; }
.pb-legal .pb-callout {
  background: var(--pb-light);
  border-left: 4px solid var(--pb-blue);
  padding: 18px 22px;
  border-radius: var(--pb-radius-sm);
  margin: 22px 0;
  color: var(--pb-darkblue);
}

/* ---------- Pagina di conferma ---------- */
.pb-success {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--pb-light), var(--pb-lightblue));
  padding: 60px 0;
}
.pb-success-card {
  background: var(--pb-white);
  border-radius: 24px;
  padding: 56px 46px;
  max-width: 560px;
  box-shadow: 0 24px 60px var(--pb-shadow-strong);
}
.pb-success-check {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--pb-blue), var(--pb-darkblue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--pb-white); font-size: 2.4rem;
}
.pb-success-card h1 { font-size: 2rem; margin-bottom: 14px; }
.pb-success-card p { color: var(--pb-muted); margin-bottom: 14px; }

/* ---------- Cookie consent ---------- */
.pb-cookie {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 200;
  background: var(--pb-white);
  border: 1px solid var(--pb-silver);
  border-radius: var(--pb-radius);
  box-shadow: 0 18px 50px var(--pb-shadow-strong);
  padding: 24px 26px;
  display: none;
  max-width: 980px;
  margin: 0 auto;
}
.pb-cookie.is-visible { display: block; animation: pbSlideUp 0.45s ease; }
.pb-cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pb-cookie p { color: var(--pb-text); font-size: 0.92rem; flex: 1 1 360px; }
.pb-cookie p a { font-weight: 600; }
.pb-cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pb-cookie-actions .pb-btn { padding: 11px 26px; font-size: 0.92rem; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pb-hero-grid, .pb-split, .pb-experience, .pb-order-grid { grid-template-columns: 1fr; }
  .pb-hero h1 { font-size: 2.3rem; }
  .pb-steps, .pb-cards { grid-template-columns: repeat(2, 1fr); }
  .pb-quality-grid { grid-template-columns: 1fr; }
  .pb-footer-grid { grid-template-columns: 1fr 1fr; }
  .pb-hero-visual { max-width: 420px; margin: 0 auto; }
  .pb-experience-media { max-height: 360px; }
}

@media (max-width: 680px) {
  .pb-menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--pb-white);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 12px 30px var(--pb-shadow);
    border-bottom: 1px solid var(--pb-silver-soft);
    display: none;
  }
  .pb-menu.is-open { display: flex; }
  .pb-menu li { width: 100%; text-align: center; }
  .pb-menu a { display: block; padding: 14px 0; }
  .pb-menu a::after { display: none; }
  .pb-nav-cta { margin: 10px auto; }
  .pb-burger { display: flex; }
  .pb-section { padding: 60px 0; }
  .pb-hero { padding: 64px 0 76px; }
  .pb-hero h1 { font-size: 1.9rem; }
  .pb-section-head h2 { font-size: 1.7rem; }
  .pb-steps, .pb-cards, .pb-footer-grid { grid-template-columns: 1fr; }
  .pb-wellness-card, .pb-form, .pb-order-summary { padding: 28px; }
  .pb-cookie-inner { flex-direction: column; align-items: stretch; }
  .pb-cookie-actions .pb-btn { flex: 1; }
}
