@import url("https://fonts.googleapis.com/css2?family=Della+Respira&display=swap");

:root {
  --green-950: #06251d;
  --green-900: #082f25;
  --green-800: #0d3e31;
  --green-700: #145341;
  --gold: #b77a1d;
  --gold-soft: #e9cf90;
  --cream: #fffaf0;
  --cream-2: #f6eedc;
  --paper: rgba(255, 250, 239, 0.84);
  --paper-strong: rgba(255, 252, 244, 0.94);
  --ink: #08251d;
  --muted: #5d6c62;
  --line: rgba(183, 122, 29, 0.24);
  --shadow: 0 26px 80px rgba(6, 37, 29, 0.18);
  font-family: "Della Respira";
  color: var(--ink);
  background: var(--cream-2);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: "Della Respira";
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.8), rgba(246,238,220,0.86)),
    radial-gradient(circle at 12% 0%, rgba(183,122,29,0.18), transparent 34%),
    radial-gradient(circle at 96% 20%, rgba(8,47,37,0.14), transparent 28%),
    var(--cream-2);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,47,37,0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8,47,37,0.05) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 82%);
  z-index: -2;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 999px;
  background: rgba(255, 250, 239, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 42px rgba(6,37,29,0.11);
  transition: background .25s ease, transform .25s ease;
}
.site-header.is-scrolled { background: rgba(255,250,239,0.92); }
.brand { display:flex; align-items:center; gap:10px; font-size:23px; color:var(--green-950); }
.brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 8px 18px rgba(6,37,29,0.18); }
.site-header nav { display:flex; gap: 22px; align-items:center; color:rgba(8,37,29,0.78); font-size:17px; }
.site-header nav a { position:relative; }
.site-header nav a::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px; background:var(--gold); transform:scaleX(0); transition:transform .2s ease; }
.site-header nav a:hover::after { transform:scaleX(1); }
.header-cta, .button {
  border:0;
  border-radius: 18px;
  padding: 14px 22px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height: 48px;
  font-family: "Della Respira";
  font-size: 18px;
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.header-cta, .button.primary { background: var(--green-950); color: var(--cream); box-shadow: 0 16px 34px rgba(6,37,29,.22); }
.button.secondary { color: var(--green-950); background: rgba(255,250,239,0.78); border:1px solid rgba(183,122,29,.34); }
.button:hover, .header-cta:hover { transform: translateY(-2px); }
.button.full { width: 100%; margin-top: auto; }

.hero {
  min-height: 100svh;
  position: relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  padding: 124px 24px 72px;
  overflow:hidden;
}
.hero-slides, .hero-slide, .hero-veil { position:absolute; inset:0; }
.hero-slide {
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity:0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
  filter: saturate(0.96) contrast(1.02);
}
.hero-slide.is-active { opacity:.92; transform: scale(1); }
.hero-veil {
  background:
    linear-gradient(90deg, rgba(246,238,220,.97) 0%, rgba(246,238,220,.86) 42%, rgba(246,238,220,.34) 72%, rgba(6,37,29,.08) 100%),
    radial-gradient(circle at 32% 50%, rgba(255,250,239,.62), transparent 34%),
    linear-gradient(180deg, rgba(6,37,29,.22), transparent 28%, rgba(6,37,29,.18));
  z-index:1;
}
.hero-inner {
  position:relative;
  z-index:2;
  width:min(1120px, 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  color:var(--green-950);
}
.logo-lockup { width:min(340px, 76vw); margin:0 auto 26px; filter: drop-shadow(0 24px 46px rgba(6,37,29,.15)); }
.eyebrow { margin:0 0 14px; color:var(--gold); font-size:18px; letter-spacing:0; }
.eyebrow.dark { color: var(--gold); }
h1, h2, h3, p { margin-top:0; }
h1 { max-width: 760px; font-size: clamp(38px, 5.6vw, 74px); line-height:.94; margin-bottom:22px; letter-spacing:0; }
h2 { font-size: clamp(31px, 3.8vw, 54px); line-height:1.02; margin-bottom:18px; letter-spacing:0; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height:1.08; margin-bottom:10px; }
p { font-size: 21px; line-height:1.45; color: var(--muted); }
.hero-copy { max-width: 760px; font-size: clamp(22px, 2.8vw, 34px); color:#334b40; line-height:1.22; margin-bottom:30px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:22px; }
.hero-pills { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.hero-pills span { padding:10px 14px; border-radius:999px; background:rgba(255,250,239,.75); border:1px solid rgba(183,122,29,.24); color:#22453a; font-size:17px; box-shadow:0 10px 28px rgba(6,37,29,.08); }

.intro-band, .section, .savings-stage, .plans, .final-cta, footer {
  width:min(1120px, calc(100% - 32px));
  margin: 28px auto;
}
.intro-band {
  display:grid;
  grid-template-columns: 1fr .9fr;
  align-items:center;
  gap: 36px;
  min-height: 680px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255,252,244,.9), rgba(246,238,220,.64));
  border:1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow);
}
.intro-copy p { max-width:620px; }
.phone-showcase { position:relative; min-height: 560px; display:grid; place-items:center; }
.phone-frame {
  width:min(290px, 70vw);
  aspect-ratio: 9/18.5;
  padding:10px;
  border-radius: 42px;
  background: var(--green-950);
  box-shadow: 0 28px 80px rgba(6,37,29,.28);
  overflow:hidden;
}
.phone-frame img { width:100%; height:100%; object-fit:cover; border-radius:32px; }
.floating-card {
  position:absolute;
  width: 230px;
  padding:18px;
  border-radius:24px;
  background:rgba(255,250,239,.9);
  border:1px solid var(--line);
  box-shadow:0 18px 46px rgba(6,37,29,.15);
}
.floating-card strong { display:block; color:var(--green-950); font-size:27px; }
.floating-card span { color:var(--muted); font-size:18px; }
.card-top { top: 54px; right: 0; }
.card-bottom { left: 0; bottom: 58px; }

.section { padding: 74px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head.centered { text-align:center; margin-inline:auto; }
.feature-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.feature-grid article, .price-card, .proof-grid article, .security, .large-screen-card {
  background: var(--paper-strong);
  border:1px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 56px rgba(6,37,29,.10);
}
.feature-grid article {
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  display:flex;
  flex-direction:column;
}
.feature-grid article span { color:var(--gold); font-size: 22px; margin-bottom:28px; }
.feature-grid article p { font-size:19px; margin-bottom:0; }

.savings-stage {
  display:grid;
  grid-template-columns: 1fr .85fr;
  gap:26px;
  align-items:center;
  padding: clamp(30px, 6vw, 70px);
  border-radius: 48px;
  color:var(--cream);
  background:
    radial-gradient(circle at 18% 0%, rgba(233,207,144,.28), transparent 30%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.savings-stage p { color:rgba(255,250,239,.78); }
.savings-stage h2 { color:var(--cream); }
.savings-grid { display:grid; gap:12px; margin-top:24px; }
.savings-grid div { padding:18px; border-radius:22px; background:rgba(255,250,239,.10); border:1px solid rgba(233,207,144,.22); }
.savings-grid strong { display:block; font-size:28px; color:var(--gold-soft); }
.savings-grid span { color:rgba(255,250,239,.74); font-size:18px; }
.large-screen-card { padding:10px; border-radius:34px; background:rgba(255,250,239,.12); border-color:rgba(233,207,144,.28); }
.large-screen-card img { border-radius:26px; width:100%; aspect-ratio: 9/14; object-fit:cover; object-position:top; }

.proof-grid { display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.proof-grid article { border-radius:34px; padding:18px; overflow:hidden; }
.proof-grid img { width:100%; height:420px; object-fit:cover; object-position: top; border-radius:24px; margin-bottom:18px; }
.proof-grid h3, .proof-grid p { padding-inline:8px; }

.plans { padding:76px 0; }
.pricing-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; align-items:stretch; }
.price-card { border-radius:34px; padding:28px; display:flex; flex-direction:column; min-height:610px; }
.price-card.highlight { background: linear-gradient(180deg, #fffaf0, #f6ead0); border-color:rgba(183,122,29,.36); transform: translateY(-10px); }
.plan-kicker { color:var(--gold); font-size:18px; margin-bottom:8px; }
.price { color:var(--green-950); font-size:48px; line-height:1; margin:12px 0 16px; }
.price span { font-size:22px; color:var(--muted); }
ul { padding-left:20px; margin:18px 0 28px; color:var(--muted); font-size:19px; line-height:1.6; }
li::marker { color:var(--gold); }

.security { display:grid; grid-template-columns: .9fr 1fr; gap:22px; align-items:center; border-radius:40px; padding:42px; }
.security-list { display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
.security-list span { border-radius:999px; padding:12px 16px; background:rgba(183,122,29,.12); border:1px solid var(--line); color:var(--green-950); font-size:18px; }

.final-cta { text-align:center; padding:80px 28px; border-radius:48px; background:linear-gradient(135deg, rgba(255,250,239,.92), rgba(233,207,144,.24)); border:1px solid rgba(255,255,255,.76); box-shadow:var(--shadow); }
.final-cta p { max-width:680px; margin-inline:auto; }
footer { padding:34px 0 48px; text-align:center; color:var(--muted); }
footer img { width:54px; height:54px; border-radius:16px; margin:0 auto 12px; }
footer p { margin:4px 0; font-size:18px; }
footer nav { margin-top:16px; display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
footer a { color:var(--green-950); text-decoration:underline; text-underline-offset:4px; }

@media (max-width: 940px) {
  .site-header nav { display:none; }
  .hero { padding-top:110px; }
  .hero-inner { align-items:center; text-align:center; }
  .logo-lockup { margin-left:0; }
  .intro-band, .savings-stage, .security { grid-template-columns:1fr; }
  .phone-showcase { min-height:480px; }
  .feature-grid, .pricing-grid { grid-template-columns:1fr; }
  .price-card.highlight { transform:none; }
  .proof-grid { grid-template-columns:1fr; }
  .security-list { justify-content:flex-start; }
}
@media (max-width: 540px) {
  .site-header { top:10px; width:calc(100% - 18px); }
  .brand span { display:none; }
  .header-cta { padding:11px 16px; min-height:42px; font-size:16px; }
  .hero { padding-inline:16px; }
    .hero-copy { font-size:23px; }
  .intro-band, .savings-stage, .final-cta { width:calc(100% - 20px); border-radius:34px; }
  .section, .plans { width:calc(100% - 20px); }
  .floating-card { position:relative; inset:auto; width:100%; margin-top:12px; }
  .phone-showcase { display:block; min-height:auto; }
  .phone-frame { margin:0 auto 14px; }
  .proof-grid img { height:340px; }
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
}

/* Keeply light mode guard */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
    --ink: #08251d;
    --muted: #5d6c62;
    --cream: #fffaf0;
    --cream-2: #f6eedc;
    --paper: rgba(255, 250, 239, 0.86);
    --paper-strong: rgba(255, 252, 244, 0.96);
  }

  html, body {
    background: #f6eedc !important;
    color: #08251d !important;
  }

  h1, h2, h3, .brand, .price, .security-list span, .site-header nav a, footer a {
    color: #08251d !important;
  }

  p, li, footer, .price span, .floating-card span {
    color: #5d6c62 !important;
  }

  .hero-copy {
    color: #334b40 !important;
  }

  .savings-stage, .savings-stage h2 {
    color: #fffaf0 !important;
  }

  .savings-stage p, .savings-grid span {
    color: rgba(255, 250, 239, 0.78) !important;
  }

  .button.primary, .header-cta {
    background: #06251d !important;
    color: #fffaf0 !important;
  }

  .button.secondary, .hero-pills span, .feature-grid article, .price-card, .proof-grid article, .intro-band, .final-cta, .security {
    background-color: rgba(255, 252, 244, 0.94) !important;
    color: #08251d !important;
  }
}

.proof-section {
  position: relative;
  overflow: hidden;
  border-radius: 46px;
  padding: 74px clamp(18px, 4vw, 42px);
  isolation: isolate;
}
.proof-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,250,239,.96), rgba(255,250,239,.78) 48%, rgba(8,47,37,.18));
}
.experience-bg, .experience-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.experience-slide {
  display: block;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  animation: experienceFade 18s infinite;
}
.experience-slide:nth-child(2) { animation-delay: 6s; }
.experience-slide:nth-child(3) { animation-delay: 12s; }
@keyframes experienceFade {
  0%, 28% { opacity: .46; transform: scale(1); }
  36%, 100% { opacity: 0; transform: scale(1.05); }
}
.proof-section .section-head, .proof-section .proof-grid {
  position: relative;
  z-index: 1;
}
.proof-section .section-head {
  background: rgba(255,250,239,.68);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 28px;
  padding: 22px;
  backdrop-filter: blur(16px);
}
@media (prefers-color-scheme: dark) {
  .proof-section::before {
    background: linear-gradient(120deg, rgba(255,250,239,.97), rgba(255,250,239,.84) 48%, rgba(8,47,37,.14)) !important;
  }
}


/* Fullscreen piattaforma reale */
.proof-section {
  width: 100%;
  min-height: 100svh;
  margin: 0;
  border-radius: 0;
  padding: clamp(86px, 10vw, 136px) max(18px, calc((100vw - 1180px) / 2)) 96px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-content: center;
  gap: clamp(28px, 5vw, 54px);
  color: #fffaf0;
}

.proof-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 248, 226, .72), rgba(255, 248, 226, .16) 28%, rgba(7, 45, 30, .5) 58%, rgba(3, 27, 18, .88) 100%),
    linear-gradient(115deg, rgba(5, 38, 25, .92), rgba(177, 124, 36, .18), rgba(5, 38, 25, .86));
  backdrop-filter: blur(1px);
}

.proof-section .experience-bg,
.proof-section .experience-slide {
  position: absolute;
  inset: 0;
}

.proof-section .experience-bg {
  z-index: -2;
  overflow: hidden;
}

.proof-section .experience-slide {
  background-image: var(--bg);
  background-size: cover;
  background-position: top center;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(8px) saturate(.92) contrast(.96);
  animation: keeplyScreensFade 49s infinite;
}

.proof-section .experience-slide:nth-child(2) { animation-delay: 7s; }
.proof-section .experience-slide:nth-child(3) { animation-delay: 14s; }
.proof-section .experience-slide:nth-child(4) { animation-delay: 21s; }
.proof-section .experience-slide:nth-child(5) { animation-delay: 28s; }
.proof-section .experience-slide:nth-child(6) { animation-delay: 35s; }
.proof-section .experience-slide:nth-child(7) { animation-delay: 42s; }

@keyframes keeplyScreensFade {
  0% { opacity: 0; transform: scale(1.12) translateY(10px); }
  5%, 15% { opacity: .45; transform: scale(1.05) translateY(0); }
  22%, 100% { opacity: 0; transform: scale(1.12) translateY(-10px); }
}

.proof-copy {
  max-width: 840px;
  margin-inline: auto;
  text-shadow: 0 18px 54px rgba(0, 0, 0, .36);
}

.proof-copy h2,
.proof-copy p {
  color: #fffaf0;
}

.proof-copy .eyebrow.light {
  color: #d7ad55;
}

.app-showcase-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(172px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 8px 4px 18px;
  scrollbar-width: thin;
}

.app-showcase-rail article {
  min-width: 172px;
  border: 1px solid rgba(241, 216, 161, .46);
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 252, 240, .92), rgba(246, 239, 219, .84));
  box-shadow: 0 22px 58px rgba(3, 29, 19, .3);
}

.app-showcase-rail img {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  border: 1px solid rgba(199, 170, 105, .36);
  background: #f9f4e6;
}

.app-showcase-rail span {
  display: block;
  padding: 12px 4px 4px;
  text-align: center;
  color: #062d1e;
  font-size: 1.02rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .proof-section {
    padding-top: 82px;
    padding-bottom: 78px;
  }

  .app-showcase-rail {
    grid-template-columns: repeat(7, minmax(132px, 132px));
    gap: 12px;
    margin-inline: -2px;
  }

  .app-showcase-rail article {
    min-width: 132px;
    border-radius: 22px;
    padding: 7px;
  }

  .app-showcase-rail img {
    border-radius: 16px;
  }
}


/* Correzione centratura logo hero e nuova sezione benefici */
.hero .logo-lockup {
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .logo-lockup img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.lifestyle-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 3.8vw, 48px);
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 252, 244, .96), rgba(246, 239, 219, .9));
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 40px;
  padding: clamp(30px, 5vw, 54px);
  box-shadow: 0 18px 56px rgba(6, 37, 29, .10);
}

.lifestyle-copy h2 {
  margin-bottom: 16px;
}

.lifestyle-copy p:not(.eyebrow) {
  color: #435a50;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.34;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lifestyle-grid article {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 250, 239, .74);
  border: 1px solid rgba(199, 170, 105, .32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 16px 34px rgba(6,37,29,.06);
}

.lifestyle-grid strong {
  color: #062d1e;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.08;
}

.lifestyle-grid span {
  color: #53675f;
  font-size: 18px;
  line-height: 1.28;
}

@media (max-width: 780px) {
  .hero .logo-lockup {
    width: min(300px, 78vw);
    transform: translateX(0) !important;
  }

  .lifestyle-section {
    grid-template-columns: 1fr;
    border-radius: 32px;
    padding: 28px 20px;
  }

  .lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .lifestyle-grid article {
    min-height: auto;
  }
}


/* Retinatura mobile per leggibilita hero */
@media (max-width: 780px) {
  .hero-inner {
    position: relative;
    padding: 26px 18px 24px;
    border-radius: 34px;
  }

  .hero-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
      linear-gradient(180deg, rgba(255, 252, 244, .86), rgba(247, 239, 220, .72)),
      radial-gradient(circle at 50% 12%, rgba(255, 255, 255, .64), rgba(255, 255, 255, 0) 54%);
    border: 1px solid rgba(255, 255, 255, .64);
    box-shadow: 0 22px 58px rgba(6, 37, 29, .16);
    backdrop-filter: blur(8px) saturate(1.02);
    -webkit-backdrop-filter: blur(8px) saturate(1.02);
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy,
  .hero-pills {
    position: relative;
  }

  .hero h1 {
    text-shadow: 0 2px 0 rgba(255, 252, 244, .46);
  }

  .hero-copy {
    color: #263f35 !important;
  }
}


/* Hero pulita e funzionalita mobile visuali */
.hero .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

@media (max-width: 780px) {
  .site-header {
    display: none !important;
  }

  .hero {
    padding-top: 26px;
  }

  .feature-grid article {
    align-items: center;
    text-align: center;
    min-height: auto;
    padding: 24px 20px 26px;
  }

  .feature-grid article::before {
    content: "";
    width: min(100%, 240px);
    aspect-ratio: 16 / 10;
    display: block;
    margin: 0 auto 18px;
    border-radius: 22px;
    background-image: linear-gradient(180deg, rgba(255, 252, 244, .08), rgba(6, 45, 30, .14)), var(--feature-photo);
    background-size: cover;
    background-position: top center;
    border: 1px solid rgba(199, 170, 105, .34);
    box-shadow: 0 16px 34px rgba(6, 37, 29, .10);
  }

  .feature-grid article > span {
    display: none;
  }

  .feature-grid article h3,
  .feature-grid article p {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Fotografie coerenti nei box funzionalita mobile */
@media (max-width: 780px) {
  .feature-grid article::before {
    background-image: var(--feature-photo) !important;
    background-size: 300% 200% !important;
    background-position: var(--feature-pos, center) !important;
    background-repeat: no-repeat !important;
  }
}


/* Settimo box funzionalita e asset extra a due pannelli */
@media (max-width: 780px) {
  .feature-grid article[style*="keeply-feature-extra-photos"]::before {
    background-size: 200% 100% !important;
  }
}


/* Sezione anti-spreco */
.waste-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px) 0;
}

.waste-card {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  padding: clamp(34px, 6vw, 68px);
  background:
    linear-gradient(135deg, rgba(6, 45, 30, .94), rgba(9, 63, 42, .86)),
    radial-gradient(circle at 82% 20%, rgba(215, 173, 85, .34), transparent 34%);
  color: #fffaf0;
  box-shadow: 0 24px 72px rgba(6, 37, 29, .22);
  border: 1px solid rgba(241, 216, 161, .34);
}

.waste-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% 48%;
  height: 64%;
  background: radial-gradient(circle, rgba(215, 173, 85, .22), transparent 62%);
  pointer-events: none;
}

.waste-card .eyebrow {
  color: #d7ad55;
}

.waste-card h2 {
  max-width: 900px;
  color: #fffaf0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: .98;
  margin: 0 0 20px;
}

.waste-card p:not(.eyebrow) {
  max-width: 860px;
  color: rgba(255, 250, 240, .88);
  font-size: clamp(21px, 2.4vw, 31px);
  line-height: 1.28;
}

.waste-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.waste-points span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 250, 240, .12);
  border: 1px solid rgba(241, 216, 161, .32);
  color: #fffaf0;
  font-size: 18px;
}

@media (max-width: 780px) {
  .waste-section {
    width: min(100% - 24px, 560px);
    padding: 24px 0;
  }

  .waste-card {
    border-radius: 32px;
    padding: 32px 22px;
  }

  .waste-card h2 {
    font-size: 34px;
  }

  .waste-card p:not(.eyebrow) {
    font-size: 21px;
  }

  .waste-points {
    flex-direction: column;
  }
}


/* Anti-spreco prima/dopo e leggibilita testo */
.waste-card,
.waste-card h2,
.waste-card p,
.waste-card .eyebrow,
.waste-points span {
  color: #fffaf0 !important;
}

.waste-card .eyebrow {
  color: #f0c978 !important;
}

.waste-card p:not(.eyebrow) {
  color: rgba(255, 250, 240, .92) !important;
}

.waste-photo {
  position: relative;
  margin: 30px 0 0;
  width: 100%;
  min-height: clamp(260px, 42vw, 460px);
  border-radius: 34px;
  background-image: url('/assets/keeply-waste-before-after.png');
  background-size: 200% 100%;
  background-repeat: no-repeat;
  border: 1px solid rgba(241, 216, 161, .38);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .20);
  overflow: hidden;
}

.waste-photo::after {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(6, 45, 30, .72);
  border: 1px solid rgba(241, 216, 161, .38);
  color: #fffaf0;
  font-size: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.waste-before {
  background-position: left center;
}

.waste-before::after {
  content: "Prima di Keeply";
}

.waste-after {
  background-position: right center;
  margin-top: 26px;
}

.waste-after::after {
  content: "Con Keeply";
}

@media (max-width: 780px) {
  .waste-photo {
    min-height: 300px;
    border-radius: 26px;
    margin-top: 24px;
  }

  .waste-photo::after {
    left: 12px;
    top: 12px;
    font-size: 16px;
  }
}


/* CTA anti-spreco e vetrina app premium */
.waste-photo::after {
  display: none !important;
}

.waste-cta {
  width: min(1180px, calc(100% - 32px));
  margin: -18px auto clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 252, 244, .98), rgba(247, 239, 220, .92));
  border: 1px solid rgba(199, 170, 105, .34);
  box-shadow: 0 20px 56px rgba(6, 37, 29, .10);
}

.waste-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
}

.waste-cta p:not(.eyebrow) {
  max-width: 790px;
  color: #455d52;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.28;
}

.app-showcase-premium {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(220px, 330px) minmax(0, 1.05fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  width: 100%;
}

.app-showcase-premium .proof-copy {
  text-align: left;
  margin: 0;
  max-width: 520px;
}

.showcase-device {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(180deg, rgba(255, 252, 244, .96), rgba(235, 222, 190, .84));
  border: 1px solid rgba(241, 216, 161, .56);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.showcase-device::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 60px;
  background: radial-gradient(circle, rgba(215, 173, 85, .28), transparent 62%);
  z-index: -1;
}

.showcase-device img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
  border: 1px solid rgba(6, 45, 30, .16);
}

.showcase-cards {
  display: grid;
  gap: 14px;
}

.showcase-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 252, 244, .90);
  border: 1px solid rgba(241, 216, 161, .40);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.showcase-card.large,
.showcase-card.wide {
  grid-template-columns: 92px minmax(0, 1fr);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  border: 1px solid rgba(199, 170, 105, .32);
}

.showcase-card strong {
  display: block;
  color: #062d1e;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.05;
}

.showcase-card span {
  display: block;
  color: #4f625a;
  font-size: 17px;
  line-height: 1.2;
  margin-top: 5px;
}

@media (max-width: 920px) {
  .app-showcase-premium {
    grid-template-columns: 1fr;
  }

  .app-showcase-premium .proof-copy {
    text-align: center;
    margin-inline: auto;
  }

  .showcase-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .waste-cta {
    width: min(100% - 24px, 560px);
    grid-template-columns: 1fr;
    margin-top: -6px;
    border-radius: 30px;
    text-align: center;
  }

  .waste-cta .button {
    width: 100%;
  }

  .proof-section {
    min-height: auto;
  }

  .showcase-device {
    width: min(74vw, 260px);
    border-radius: 36px;
  }

  .showcase-device img {
    border-radius: 27px;
  }

  .showcase-card,
  .showcase-card.large,
  .showcase-card.wide {
    grid-template-columns: 68px minmax(0, 1fr);
    text-align: left;
  }
}


/* Centratura etichette di sezione */
.intro-band .eyebrow,
.waste-card > .eyebrow,
#funzioni > .section-head .eyebrow,
.savings-stage .eyebrow,
.price-card .plan-kicker,
.lifestyle-section .eyebrow {
  display: block;
  width: 100%;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.intro-band .intro-copy,
.waste-card,
#funzioni > .section-head,
.savings-stage .savings-content,
.price-card,
.lifestyle-copy {
  text-align: center;
}

.savings-stage .savings-grid,
.lifestyle-grid {
  text-align: left;
}

.waste-card h2,
.waste-card p:not(.eyebrow),
.lifestyle-copy h2,
.lifestyle-copy p:not(.eyebrow),
.savings-content h2,
.savings-content p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}


/* CTA finale con doppio percorso */
.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.final-cta .keepler-note {
  margin: 8px 0 -2px;
  color: #455d52;
  font-size: clamp(20px, 2vw, 25px);
}

.final-cta .button.secondary {
  background: rgba(255, 250, 239, .88);
  border-color: rgba(183, 122, 29, .34);
  color: #062d1e;
}


/* Correzione proporzioni foto prima/dopo Keeply */
.waste-photo {
  aspect-ratio: 16 / 10;
  min-height: auto !important;
  background-size: 200% auto !important;
  background-position-y: center !important;
}

.waste-before {
  background-position: left center !important;
}

.waste-after {
  background-position: right center !important;
}

@media (max-width: 780px) {
  .waste-photo {
    aspect-ratio: 4 / 3;
    background-size: 230% auto !important;
  }
}


/* Leggibilita sezione Dentro Keeply su iPhone e mobile */
@media (max-width: 920px) {
  .proof-section .proof-copy,
  .proof-section .proof-copy h2,
  .proof-section .proof-copy p:not(.eyebrow) {
    color: #062d1e !important;
    text-shadow: none !important;
  }

  .proof-section .proof-copy .eyebrow,
  .proof-section .proof-copy .eyebrow.light {
    color: #b77a1d !important;
    text-shadow: none !important;
  }

  .proof-section .proof-copy {
    background: rgba(255, 252, 244, .90);
    border: 1px solid rgba(241, 216, 161, .42);
    border-radius: 30px;
    padding: 24px 18px;
    box-shadow: 0 18px 46px rgba(6, 37, 29, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}


/* Leggibilita sezione Dentro Keeply anche desktop */
.proof-section .proof-copy {
  background: rgba(255, 252, 244, .90);
  border: 1px solid rgba(241, 216, 161, .42);
  border-radius: 30px;
  padding: 24px 22px;
  box-shadow: 0 18px 46px rgba(6, 37, 29, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: none !important;
}

.proof-section .proof-copy h2,
.proof-section .proof-copy p:not(.eyebrow) {
  color: #062d1e !important;
  text-shadow: none !important;
}

.proof-section .proof-copy .eyebrow,
.proof-section .proof-copy .eyebrow.light {
  color: #b77a1d !important;
  text-shadow: none !important;
}


/* Desktop refinement 2026-08-11: nav sticky, showcase heights, waste split */
@media (min-width: 921px) {
  html {
    scroll-padding-top: 104px;
  }

  .site-header {
    position: sticky;
    top: 18px;
    z-index: 40;
    width: min(1180px, calc(100% - 56px));
    margin: 18px auto 0;
    border-radius: 999px;
    background: rgba(255, 252, 244, .82);
    border: 1px solid rgba(199, 170, 105, .34);
    box-shadow: 0 16px 42px rgba(6, 37, 29, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-header .brand img {
    width: 38px;
    height: 38px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.8vw, 28px);
    flex: 1;
  }

  .desktop-nav a {
    color: #082f25;
    font-size: clamp(17px, 1.15vw, 20px);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, transform .18s ease;
  }

  .desktop-nav a:hover {
    color: #b77a1d;
    transform: translateY(-1px);
  }

  .hero {
    margin-top: -72px;
    padding-top: 116px;
  }

  .app-showcase-premium {
    grid-template-columns: minmax(280px, 390px) minmax(250px, 370px) minmax(340px, 430px);
    align-items: stretch;
    gap: clamp(28px, 4vw, 60px);
  }

  .app-showcase-premium .proof-copy,
  .showcase-device,
  .showcase-cards {
    height: 650px;
  }

  .app-showcase-premium .proof-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    padding: 28px 28px;
  }

  .app-showcase-premium .proof-copy h2 {
    font-size: clamp(42px, 3.25vw, 58px);
    line-height: 1.02;
    margin-bottom: 22px;
  }

  .app-showcase-premium .proof-copy p:not(.eyebrow) {
    font-size: clamp(20px, 1.35vw, 26px);
    line-height: 1.34;
  }

  .showcase-device {
    width: min(100%, 370px);
    align-self: center;
    display: flex;
    align-items: center;
  }

  .showcase-device img {
    height: 100%;
  }

  .showcase-cards {
    align-self: stretch;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    gap: 14px;
  }

  .showcase-card {
    min-height: 0;
    height: 100%;
    padding: 14px 18px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .showcase-card img {
    width: 82px;
    height: 82px;
  }

  .showcase-card strong {
    font-size: clamp(24px, 1.75vw, 32px);
    line-height: 1.02;
  }

  .showcase-card span {
    font-size: clamp(17px, 1.18vw, 21px);
    line-height: 1.18;
  }

  .waste-section {
    width: 100%;
    max-width: none;
    padding: clamp(44px, 5vw, 76px) 0;
  }

  .waste-card {
    width: min(1440px, calc(100% - 72px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(420px, 1fr) minmax(420px, 1fr);
    grid-template-areas:
      "copy before after"
      "points before after";
    gap: clamp(22px, 2.8vw, 42px);
    align-items: center;
    padding: clamp(42px, 4.5vw, 72px);
  }

  .waste-card .eyebrow,
  .waste-card h2,
  .waste-card > p:not(.eyebrow) {
    grid-column: 1;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .waste-card .eyebrow {
    align-self: end;
    margin-bottom: -12px;
  }

  .waste-card h2 {
    font-size: clamp(38px, 3.25vw, 58px);
    line-height: 1.02;
    max-width: 520px;
  }

  .waste-card > p:not(.eyebrow) {
    font-size: clamp(19px, 1.28vw, 24px);
    line-height: 1.34;
    max-width: 540px;
  }

  .waste-points {
    grid-area: points;
    align-self: start;
    margin-top: 6px;
    justify-content: flex-start;
  }

  .waste-points span {
    font-size: 16px;
    padding: 10px 13px;
  }

  .waste-photo {
    margin: 0;
    width: 100%;
    min-height: 0 !important;
    height: clamp(430px, 34vw, 620px);
    aspect-ratio: auto;
    background-size: 210% auto !important;
    background-position-y: center !important;
    border-radius: 36px;
  }

  .waste-before {
    grid-area: before;
    background-position: 4% center !important;
  }

  .waste-after {
    grid-area: after;
    background-position: 96% center !important;
  }
}


/* Desktop refinement 2026-08-11: rollback h2 54 and waste layout v2 */
@media (min-width: 921px) {
  h2,
  .section-head h2,
  .intro-band h2,
  .waste-card h2,
  .waste-cta h2,
  .savings-content h2,
  .lifestyle-copy h2,
  .final-cta h2,
  .app-showcase-premium .proof-copy h2 {
    font-size: 54px !important;
    line-height: 1.02 !important;
  }

  .waste-section {
    width: 100%;
    max-width: none;
    padding: 64px 0;
  }

  .waste-card {
    width: min(1440px, calc(100% - 72px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(340px, .78fr) minmax(660px, 1.32fr);
    grid-template-areas:
      "copy photos"
      "points points";
    gap: 34px 48px;
    align-items: center;
    padding: clamp(42px, 4vw, 62px);
    min-height: auto;
  }

  .waste-card .eyebrow,
  .waste-card h2,
  .waste-card > p:not(.eyebrow) {
    grid-column: 1 !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 470px;
    padding: 0 !important;
  }

  .waste-card .eyebrow {
    grid-area: copy;
    align-self: start;
    margin: 0 0 12px !important;
  }

  .waste-card h2 {
    grid-area: copy;
    align-self: center;
    margin: 20px 0 18px !important;
    font-size: clamp(46px, 4vw, 54px) !important;
  }

  .waste-card > p:not(.eyebrow) {
    grid-area: copy;
    align-self: end;
    font-size: 23px !important;
    line-height: 1.3 !important;
    color: rgba(255, 250, 240, .90) !important;
  }

  .waste-before,
  .waste-after {
    grid-area: photos;
  }

  .waste-photo {
    width: calc(50% - 12px);
    height: clamp(430px, 32vw, 560px);
    min-height: 0 !important;
    margin: 0;
    border-radius: 30px;
    background-size: 214% auto !important;
    background-position-y: center !important;
  }

  .waste-before {
    justify-self: start;
    background-position: 5% center !important;
  }

  .waste-after {
    justify-self: end;
    background-position: 95% center !important;
  }

  .waste-points {
    grid-area: points;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding-top: 4px;
  }

  .waste-points span {
    white-space: nowrap;
    font-size: 16px;
    line-height: 1;
    padding: 11px 15px;
  }
}


/* Desktop refinement 2026-08-11: waste vertical center and labels */
@media (min-width: 921px) {
  .waste-card {
    grid-template-columns: minmax(360px, .82fr) minmax(660px, 1.28fr);
    grid-template-areas:
      "copy photos"
      "points points";
    align-items: center;
  }

  .waste-card .eyebrow,
  .waste-card h2,
  .waste-card > p:not(.eyebrow) {
    grid-area: copy !important;
    grid-column: 1 !important;
  }

  .waste-card .eyebrow {
    align-self: center;
    transform: translateY(-172px);
  }

  .waste-card h2 {
    align-self: center;
    transform: translateY(-18px);
  }

  .waste-card > p:not(.eyebrow) {
    align-self: center;
    transform: translateY(116px);
  }

  .waste-photo {
    height: clamp(430px, 32vw, 560px);
    background-size: 224% auto !important;
    border-radius: 28px;
  }

  .waste-before {
    background-position: 5% center !important;
  }

  .waste-after {
    background-position: 95% center !important;
  }

  .waste-points {
    justify-content: center !important;
    width: 100%;
    gap: 16px;
    padding-top: 8px;
  }

  .waste-points span {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}


/* Desktop refinement 2026-08-11: fix nav centering and waste text stack */
@media (min-width: 921px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box;
    max-width: calc(100vw - 56px);
  }

  .site-header .brand,
  .site-header .header-cta {
    flex: 0 0 auto;
  }

  .desktop-nav {
    min-width: 0;
    overflow: visible;
  }

  .waste-card {
    grid-template-columns: minmax(360px, .82fr) minmax(660px, 1.28fr);
    grid-template-areas:
      "copy photos"
      "points points";
    align-items: center;
  }

  .waste-card .eyebrow,
  .waste-card h2,
  .waste-card > p:not(.eyebrow) {
    grid-area: copy !important;
    grid-column: 1 !important;
    align-self: auto !important;
    transform: none !important;
    padding: 0 !important;
    position: relative;
  }

  .waste-card .eyebrow {
    align-self: center !important;
    margin: 0 0 18px !important;
    transform: translateY(-185px) !important;
    z-index: 3;
  }

  .waste-card h2 {
    align-self: center !important;
    margin: 0 0 18px !important;
    max-width: 500px;
    transform: translateY(-18px) !important;
    z-index: 2;
  }

  .waste-card > p:not(.eyebrow) {
    align-self: center !important;
    margin: 0 !important;
    max-width: 510px;
    font-size: 23px !important;
    line-height: 1.32 !important;
    transform: translateY(148px) !important;
    z-index: 1;
  }

  .waste-points {
    justify-content: center !important;
    grid-column: 1 / -1;
  }
}

@media (min-width: 921px) and (max-width: 1240px) {
  .site-header {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
  }

  .desktop-nav {
    gap: 14px !important;
  }

  .desktop-nav a {
    font-size: 17px !important;
  }
}


/* Desktop refinement 2026-08-11: real waste copy wrapper */
@media (min-width: 921px) {
  .waste-card {
    grid-template-columns: minmax(380px, .82fr) minmax(660px, 1.28fr);
    grid-template-areas:
      "copy photos"
      "points points";
    align-items: center;
  }

  .waste-copy {
    grid-area: copy;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 520px;
    min-height: clamp(430px, 32vw, 560px);
  }

  .waste-copy .eyebrow,
  .waste-copy h2,
  .waste-copy p:not(.eyebrow) {
    transform: none !important;
    align-self: auto !important;
    grid-area: auto !important;
    grid-column: auto !important;
    padding: 0 !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .waste-copy .eyebrow {
    margin: 0 0 18px !important;
  }

  .waste-copy h2 {
    margin: 0 0 18px !important;
    max-width: 520px;
    font-size: clamp(46px, 4vw, 54px) !important;
    line-height: 1.02 !important;
  }

  .waste-copy p:not(.eyebrow) {
    max-width: 510px;
    font-size: 23px !important;
    line-height: 1.32 !important;
  }

  .waste-card > .eyebrow,
  .waste-card > h2,
  .waste-card > p:not(.eyebrow) {
    display: none !important;
  }
}


/* Desktop refinement 2026-08-11: sticky nav centered fix */
@media (min-width: 921px) {
  .site-header {
    position: sticky !important;
    top: 18px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(1180px, calc(100vw - 56px)) !important;
    max-width: calc(100vw - 56px) !important;
    margin: 18px 0 0 !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 921px) and (max-width: 1240px) {
  .site-header {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
  }
}


/* Desktop refinement 2026-08-11: feature tiles 4 plus 3 with photos */
@media (min-width: 921px) {
  #funzioni {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  #funzioni > .section-head {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  #funzioni > .section-head .eyebrow {
    margin: 0;
    line-height: 1;
  }

  #funzioni > .section-head h2 {
    margin: 0;
    max-width: 760px;
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .feature-grid article {
    min-height: 390px;
    padding: 18px 18px 24px;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
  }

  .feature-grid article::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 0 22px;
    border-radius: 22px;
    background-image: var(--feature-photo);
    background-size: 300% 200%;
    background-position: var(--feature-pos, center);
    background-repeat: no-repeat;
    border: 1px solid rgba(199, 170, 105, .30);
    box-shadow: 0 16px 34px rgba(6, 37, 29, .10);
  }

  .feature-grid article[style*="keeply-feature-scan-clean"]::before {
    background-size: cover;
    background-position: center;
  }

  .feature-grid article[style*="keeply-feature-extra-photos"]::before {
    background-size: 200% 100%;
    background-position: var(--feature-pos, center);
  }

  .feature-grid article > span {
    display: none;
  }

  .feature-grid article h3 {
    margin: 0 0 12px;
    font-size: clamp(25px, 1.8vw, 32px);
    line-height: 1.05;
  }

  .feature-grid article p {
    max-width: 245px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    line-height: 1.28;
  }

  .feature-grid article:nth-child(5) {
    grid-column: 1;
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  .feature-grid article {
    min-height: 360px;
    padding: 16px;
  }

  .feature-grid article h3 {
    font-size: 25px;
  }

  .feature-grid article p {
    font-size: 17px;
  }
}


/* Feature tile famiglia */
.feature-grid article[style*="keeply-feature-family"]::before {
  background-size: cover !important;
  background-position: center !important;
}


/* Desktop refinement 2026-08-11: full nav intro open waste band */
@media (min-width: 921px) {
  html {
    scroll-padding-top: 92px;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px max(28px, calc((100vw - 1180px) / 2)) !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(199, 170, 105, .30) !important;
    background: rgba(255, 252, 244, .92) !important;
    box-shadow: 0 12px 34px rgba(6, 37, 29, .10) !important;
    z-index: 80 !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-header .brand,
  .site-header .header-cta {
    flex: 0 0 auto;
  }

  .desktop-nav {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }

  .hero {
    margin-top: 0 !important;
    padding-top: 84px !important;
  }

  .intro-band {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: min(1180px, calc(100% - 64px));
    padding: clamp(48px, 5vw, 82px) 0 !important;
    min-height: 640px;
  }

  .intro-band .intro-copy {
    text-align: center;
  }

  .intro-band .intro-copy h2,
  .intro-band .intro-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .phone-showcase {
    min-height: 560px;
  }

  .waste-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .waste-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    min-height: 650px;
    padding: 58px max(70px, calc((100vw - 1360px) / 2)) !important;
    grid-template-columns: minmax(360px, .82fr) minmax(690px, 1.28fr);
    gap: 34px 54px;
  }

  .waste-copy {
    min-height: clamp(430px, 32vw, 560px);
    justify-content: center;
  }

  .waste-photo {
    height: clamp(430px, 32vw, 560px);
    background-size: 224% auto !important;
  }

  .waste-points {
    justify-content: center !important;
    margin-top: 2px !important;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .site-header {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .desktop-nav {
    gap: 12px !important;
  }

  .desktop-nav a {
    font-size: 16px !important;
  }
}


/* Desktop refinement 2026-08-11: waste spacing and proof margins */
@media (min-width: 921px) {
  .waste-card {
    min-height: 620px;
    padding-top: 48px !important;
    padding-bottom: 34px !important;
    gap: 28px 54px;
  }

  .waste-copy {
    min-height: 500px;
  }

  .waste-photo {
    height: 500px;
    background-size: 248% auto !important;
    border-radius: 28px;
  }

  .waste-before {
    background-position: 7% center !important;
  }

  .waste-after {
    background-position: 93% center !important;
  }

  .waste-points {
    padding-top: 0 !important;
    margin-top: -6px !important;
  }

  .waste-cta {
    margin-top: 32px !important;
  }

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

  .app-showcase-premium {
    grid-template-columns: minmax(280px, 340px) minmax(250px, 350px) minmax(340px, 430px);
    gap: clamp(26px, 3.2vw, 46px);
    align-items: center;
  }

  .app-showcase-premium .proof-copy,
  .showcase-device,
  .showcase-cards {
    height: 600px;
  }

  .app-showcase-premium .proof-copy {
    padding: 24px 26px;
    justify-content: center;
  }

  .app-showcase-premium .proof-copy h2 {
    font-size: clamp(43px, 3.25vw, 54px) !important;
    line-height: 1.03 !important;
    margin-bottom: 22px;
  }

  .app-showcase-premium .proof-copy p:not(.eyebrow) {
    font-size: clamp(20px, 1.25vw, 23px) !important;
    line-height: 1.36;
  }

  .showcase-cards {
    gap: 13px;
  }

  .showcase-card {
    padding: 13px 18px;
    grid-template-columns: 78px minmax(0, 1fr);
    overflow: hidden;
  }

  .showcase-card img {
    width: 78px;
    height: 78px;
  }

  .showcase-card strong {
    font-size: clamp(24px, 1.65vw, 30px);
    line-height: 1.02;
  }

  .showcase-card span {
    font-size: clamp(17px, 1.08vw, 20px);
    line-height: 1.18;
  }
}


/* Desktop refinement 2026-08-11: proof section final spacing */
@media (min-width: 921px) {
  .proof-section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
    overflow: visible !important;
  }

  .app-showcase-premium {
    grid-template-columns: minmax(300px, 360px) minmax(250px, 330px) minmax(390px, 430px) !important;
    gap: clamp(34px, 4vw, 62px) !important;
    align-items: center !important;
  }

  .app-showcase-premium .proof-copy {
    height: auto !important;
    min-height: 560px !important;
    padding: 42px 36px !important;
    justify-content: center !important;
    border-radius: 30px !important;
  }

  .app-showcase-premium .proof-copy .eyebrow {
    margin: 0 0 18px !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  .app-showcase-premium .proof-copy h2 {
    font-size: clamp(38px, 2.85vw, 46px) !important;
    line-height: 1.08 !important;
    margin: 0 0 26px !important;
    max-width: 300px !important;
  }

  .app-showcase-premium .proof-copy p:not(.eyebrow) {
    font-size: 21px !important;
    line-height: 1.42 !important;
    margin: 0 !important;
    max-width: 300px !important;
  }

  .showcase-device {
    height: 590px !important;
    align-self: center !important;
  }

  .showcase-cards {
    height: auto !important;
    min-height: 590px !important;
    align-self: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  .showcase-card {
    min-height: 104px !important;
    height: auto !important;
    padding: 16px 20px !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 18px !important;
    border-radius: 22px !important;
    overflow: visible !important;
  }

  .showcase-card img {
    width: 82px !important;
    height: 82px !important;
    border-radius: 18px !important;
  }

  .showcase-card strong {
    font-size: 29px !important;
    line-height: 1.02 !important;
    margin-bottom: 4px !important;
  }

  .showcase-card span {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .app-showcase-premium {
    grid-template-columns: minmax(270px, 320px) minmax(230px, 300px) minmax(340px, 390px) !important;
    gap: 28px !important;
  }

  .app-showcase-premium .proof-copy {
    padding: 34px 30px !important;
  }

  .app-showcase-premium .proof-copy h2 {
    font-size: 40px !important;
  }

  .app-showcase-premium .proof-copy p:not(.eyebrow) {
    font-size: 19px !important;
  }

  .showcase-card strong {
    font-size: 25px !important;
  }

  .showcase-card span {
    font-size: 18px !important;
  }
}


/* Desktop refinement 2026-08-11: equal proof columns height */
@media (min-width: 921px) {
  .app-showcase-premium {
    --proof-h: 640px;
    align-items: stretch !important;
  }

  .app-showcase-premium .proof-copy,
  .showcase-device,
  .showcase-cards {
    height: var(--proof-h) !important;
    min-height: var(--proof-h) !important;
    max-height: var(--proof-h) !important;
    align-self: stretch !important;
  }

  .showcase-device {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
  }

  .showcase-device img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .showcase-cards {
    display: grid !important;
    grid-template-rows: repeat(5, 1fr) !important;
    gap: 16px !important;
    justify-content: stretch !important;
  }

  .showcase-card {
    height: 100% !important;
    min-height: 0 !important;
    align-content: center !important;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .app-showcase-premium {
    --proof-h: 600px;
  }
}
