/* ==========================================================================
   ReviewTap — design tokens
   Base: white + anthracite. Accents (Google-style palette, no Google logo):
   blue #4285F4, red #EA4335, yellow #FBBC05, green #34A853.
   ========================================================================== */
:root {
  --blue: #FBBC05;
  --blue-dark: #E3A600;
  --blue-soft: #FEF3D0;
  --yellow-text: #9A6A00; /* darker amber for yellow text on white (readability) */
  --red: #EA4335;
  --red-soft: #FCE8E6;
  --yellow: #FBBC05;
  --yellow-soft: #FEF3D0;
  --green: #34A853;
  --green-soft: #E6F4EA;

  --ink: #202124;
  --ink-deep: #17181A;
  --ink-2: #3C4043;
  --muted: #5F6368;
  --muted-2: #80868B;
  --line: #E8EAED;
  --line-2: #F1F3F4;
  --bg-soft: #F8F9FA;
  --white: #FFFFFF;

  --announce-h: 42px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--yellow-text); text-decoration: none; }
a:hover { color: var(--ink); }

button { font-family: inherit; }

img { max-width: 100%; }

.page { width: 100%; overflow-x: clip; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1.15); }
  50% { transform: translate3d(-4%,3%,0) scale(1.3); }
  100% { transform: translate3d(0,0,0) scale(1.15); }
}
@keyframes drift2 {
  0% { transform: translate3d(0,0,0) scale(1.2); }
  50% { transform: translate3d(5%,-4%,0) scale(1.35); }
  100% { transform: translate3d(0,0,0) scale(1.2); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce {
  position: relative; z-index: 40;
  min-height: var(--announce-h);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 20px; text-align: center;
  background: var(--blue); color: var(--ink);
  font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .005em;
}
.announce svg { flex: none; width: 15px; height: 15px; }
.announce-timer { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.announce-timer[hidden] { display: none; }
.announce-timer b { white-space: nowrap; font-variant-numeric: tabular-nums; background: var(--ink); color: var(--yellow); padding: 2px 10px; border-radius: 999px; font-size: 12.5px; letter-spacing: .04em; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; border: 0;
  background: var(--blue); color: var(--ink);
  font-size: 15px; font-weight: 600; padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 14px 34px rgba(251,188,5,.32);
  transition: transform .25s cubic-bezier(.25,.1,.25,1), box-shadow .3s ease, background .3s ease;
}
.btn-primary:hover { color: var(--ink); background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 20px 44px rgba(251,188,5,.4); }
.btn-primary:disabled { opacity: .6; cursor: default; transform: none; }
.btn-primary--block { width: 100%; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; background: #fff; color: var(--ink);
  border: 1px solid var(--line); font-size: 15px; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; transition: background .3s ease, transform .25s ease;
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); transform: translateY(-2px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--announce-h));
  min-height: calc(100svh - var(--announce-h));
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F8F9FA 55%, #F1F3F4 100%);
  overflow: hidden;
}

.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-blob {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; will-change: transform;
  transition: transform 1.4s var(--ease);
}
.hero-blob--2 { transition-duration: 1.9s; }

.hero-blob__1-inner {
  position: absolute; inset: -20%;
  background:
    radial-gradient(45% 45% at 30% 35%, rgba(251,188,5,.85) 0%, rgba(251,188,5,0) 60%),
    radial-gradient(50% 50% at 74% 28%, rgba(52,168,83,.55) 0%, rgba(52,168,83,0) 62%),
    radial-gradient(55% 55% at 60% 85%, rgba(251,188,5,.7) 0%, rgba(251,188,5,0) 60%);
  animation: drift 22s ease-in-out infinite;
  opacity: .32;
}
.hero-blob__2-inner {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 40% at 15% 80%, rgba(251,188,5,.6) 0%, rgba(251,188,5,0) 60%),
    radial-gradient(35% 35% at 88% 65%, rgba(234,67,53,.5) 0%, rgba(234,67,53,0) 62%);
  animation: drift2 28s ease-in-out infinite;
  opacity: .22;
}

.hero-glow {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(251,188,5,.32) 0%, rgba(251,188,5,0) 62%);
  opacity: 0; transition: opacity .6s ease;
  pointer-events: none; will-change: transform;
}

.header-bar {
  position: relative; z-index: 30;
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 24px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}

.menu-wrap { position: relative; justify-self: start; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 38px; padding: 0 11px;
  background: rgba(32,33,36,.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(32,33,36,.14);
  border-radius: 999px; cursor: pointer;
  opacity: 0; animation: fadeUp .9s var(--ease) .2s both;
  transition: background .4s ease, transform .4s var(--ease), box-shadow .4s ease;
}
.hamburger:hover { background: rgba(32,33,36,.12); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.hamburger span { display: block; height: 1.5px; width: 100%; background: var(--ink); border-radius: 2px; }

.menu-panel {
  position: absolute; top: 48px; left: 0; z-index: 5;
  min-width: 230px; display: none; flex-direction: column;
  background: #fff; border-radius: 16px; padding: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.menu-panel.is-open { display: flex; }
.menu-panel a { color: var(--ink); font-size: 15px; font-weight: 500; padding: 11px 14px; border-radius: 10px; }
.menu-panel a:hover { background: var(--line-2); }
.menu-panel .menu-cta {
  margin-top: 6px; display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--ink); font-size: 14px; font-weight: 600;
  padding: 12px 14px; border-radius: 999px;
}
.menu-panel .menu-cta:hover { background: var(--blue-dark); }

.brand {
  display: inline-flex; align-items: center; justify-self: center; gap: 9px;
  color: var(--ink); opacity: 0; animation: fadeUp .9s var(--ease) .05s both;
  transition: transform .5s var(--ease);
}
.brand:hover { color: var(--ink); transform: scale(1.03); }
.brand-mark { width: 36px; height: 36px; flex: none; display: block; }
.brand-word { font-size: 27px; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.brand-word b { font-weight: 600; color: var(--yellow); }

.lang-switch {
  justify-self: end; display: flex; align-items: center; gap: 4px;
  background: rgba(32,33,36,.06); backdrop-filter: blur(8px);
  border: 1px solid rgba(32,33,36,.14);
  border-radius: 999px; padding: 3px;
  opacity: 0; animation: fadeUp .9s var(--ease) .2s both;
  transition: background .4s ease, box-shadow .4s ease;
}
.lang-switch:hover { background: rgba(32,33,36,.1); }
.lang-btn {
  border: 0; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; transition: background .2s ease, color .2s ease;
  background: transparent; color: var(--muted);
}
.lang-btn.is-active { background: var(--ink); color: #fff; }

.hero-content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: clamp(20px,4vw,44px) 24px 0;
  text-align: center;
}
.hero-text-block {
  flex: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-title-wrap { position: relative; width: 100%; }
.hero-title {
  margin: 0 auto; max-width: 1200px; text-align: center;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance;
}
.hero-title__line { display: block; color: var(--ink); opacity: 0; animation: fadeUp 1.1s var(--ease) .3s both; }
.hero-title__line--second { animation-delay: .44s; }
.hero-text {
  margin: 22px auto 0; color: var(--muted);
  font-size: clamp(15px,1.4vw,18px); line-height: 1.6; max-width: 560px;
  opacity: 0; animation: fadeUp 1.1s var(--ease) .56s both;
}
.hero-actions {
  display: flex; justify-content: center; margin-top: 30px;
  opacity: 0; animation: fadeUp 1.1s var(--ease) .7s both;
}

/* Five photo frames flowing through a 3-slot liquid composition: one is
   always centered and large, two sit smaller at the sides, and the other two
   wait invisibly off to the edges before drifting back in. Flush against the
   bottom edge of the hero. Each frame takes either an <img class="hero-mockup__media">
   or the .img-slot placeholder. */
.hero-mockups {
  position: relative; z-index: 2;
  width: 100vw; margin-left: calc(50% - 50vw);
  height: clamp(280px, 32vw, 440px);
}
@keyframes heroMockupCycle {
  0%, 100% {
    width: clamp(320px,34vw,540px); height: clamp(240px,25.5vw,405px);
    transform: translateX(-50%); opacity: 1; z-index: 3;
  }
  25% {
    width: clamp(250px,29vw,430px); height: clamp(188px,21.75vw,322px);
    transform: translateX(calc(-50% + 46vw)); opacity: .7; z-index: 1;
  }
  45% {
    width: clamp(170px,20vw,290px); height: clamp(128px,15vw,218px);
    transform: translateX(calc(-50% + 64vw)); opacity: 0; z-index: 0;
  }
  55% {
    width: clamp(170px,20vw,290px); height: clamp(128px,15vw,218px);
    transform: translateX(calc(-50% - 64vw)); opacity: 0; z-index: 0;
  }
  75% {
    width: clamp(250px,29vw,430px); height: clamp(188px,21.75vw,322px);
    transform: translateX(calc(-50% - 46vw)); opacity: .7; z-index: 1;
  }
}
.hero-mockup {
  position: absolute; bottom: 0; left: 50%;
  animation: heroMockupCycle 20s ease-in-out infinite;
}
.hero-mockup__frame {
  position: absolute; inset: 0;
  border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.hero-mockup:nth-child(1) { animation-delay: 0s; }
.hero-mockup:nth-child(2) { animation-delay: -5s; }
.hero-mockup:nth-child(3) { animation-delay: -10s; }
.hero-mockup:nth-child(4) { animation-delay: -15s; }
.hero-mockup__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-mockup__tag {
  position: absolute; left: 50%; bottom: 100%; margin-bottom: 10px; transform: translateX(-50%);
  display: inline-flex; align-items: center; max-width: calc(100% - 8px);
  background: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.28);
  color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .01em;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Empty image placeholder — ready to be replaced by a real <img> */
.img-slot {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #F1F3F4 0%, #E8EAED 100%);
  color: #9AA0A6;
}
.img-slot svg { width: 34px; height: 34px; }

/* ==========================================================================
   Strengths row
   ========================================================================== */
.strengths { background: #fff; padding: 72px 24px 32px; }
.strengths-inner { max-width: 1240px; margin: 0 auto; }
.strengths-grid { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px; }

/* The blue line runs behind the four cards; as it reaches a card, that card lights up */
.strengths-line { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--line); z-index: 0; }
.strengths-line-fill { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--p) * 100%); border-radius: 4px; background: linear-gradient(90deg, var(--blue), #FFD666); transition: width .18s linear; }
.strengths-line-fill::after {
  content: ""; position: absolute; right: -7px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 999px;
  background: var(--blue); box-shadow: 0 0 0 6px rgba(251,188,5,.22), 0 0 26px rgba(251,188,5,.9);
  opacity: 0; transition: opacity .3s ease;
}
.strengths-grid.has-progress .strengths-line-fill::after { opacity: 1; }

.strength {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 16px; padding: 26px 22px;
  border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink);
  transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .6s cubic-bezier(.34,1.56,.64,1), box-shadow .6s ease;
}
.strength-ico { flex: none; width: 52px; height: 52px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: background .5s var(--ease), color .5s var(--ease), transform .6s cubic-bezier(.34,1.56,.64,1); }
.strength-ico svg { width: 24px; height: 24px; }
.strength-ico--blue { background: var(--blue-soft); color: var(--blue); }
.strength-ico--red { background: var(--red-soft); color: var(--red); }
.strength-ico--green { background: var(--green-soft); color: var(--green); }
.strength-ico--yellow { background: var(--yellow-soft); color: #C99300; }
.strength strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.strength span.s-sub { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .5s var(--ease); }
.strength.is-lit {
  background: var(--blue); border-color: var(--blue); color: var(--ink);
  transform: translateY(-6px) scale(1.03); box-shadow: 0 24px 50px rgba(251,188,5,.38);
}
.strength.is-lit span.s-sub { color: rgba(32,33,36,.72); }
.strength.is-lit .strength-ico { background: #fff; color: var(--blue-dark); transform: scale(1.08) rotate(-6deg); }

/* ==========================================================================
   Quote (scroll-driven)
   ========================================================================== */
.quote-section { position: relative; background: #fff; height: 270vh; }
.quote-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 5vh;
  padding: 8vh 6vw; box-sizing: border-box; overflow: hidden;
}
.quote-words {
  font-size: clamp(38px,7vw,124px); line-height: .96; letter-spacing: -.025em;
  font-weight: 700; text-transform: uppercase; color: var(--ink); text-wrap: balance;
}
.quote-words { max-width: 1400px; }
.quote-words span.word { display: inline-block; white-space: pre; }
.quote-words span.letter { display: inline-block; white-space: pre; opacity: .12; filter: blur(7px); transition: opacity .5s ease, filter .5s ease; }

.quote-stars { display: flex; justify-content: center; gap: clamp(8px,1.8vw,26px); color: var(--yellow); }
.quote-star { display: block; width: clamp(38px,6.4vw,104px); height: clamp(38px,6.4vw,104px); opacity: .12; filter: blur(7px); transform: scale(.55); transition: opacity .5s ease, filter .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.quote-star svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   Shared section header
   ========================================================================== */
.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.pill { font-size: 12px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
#pacchetti .pill { background: var(--ink); border-color: var(--ink); color: #fff; }
.section-head h2 {
  margin: 0; font-size: clamp(1.8rem,4vw,3.2rem); font-weight: 500; line-height: 1.1;
  letter-spacing: -.025em; max-width: 820px; text-wrap: balance;
}
.section-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 560px; }
#pacchetti .section-head p { color: rgba(32,33,36,.75); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-text); }

/* ==========================================================================
   Packages — three simple cards
   ========================================================================== */
.pacchetti-section { background: var(--yellow); padding: 110px 24px 120px; }
.pacchetti-inner { max-width: 1120px; margin: 0 auto; }
.pk-grid { margin: 56px auto 0; max-width: 880px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.pk-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 34px 28px 28px; border: 1px solid var(--line); border-radius: 28px; background: #fff;
  box-shadow: 0 14px 34px rgba(32,33,36,.1);
  transition: transform .5s var(--ease), box-shadow .5s ease;
}
.pk-card:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(32,33,36,.09); }
.pk-card--hero { border: 2px solid var(--ink); box-shadow: 0 30px 70px rgba(32,33,36,.22); background: #fff; }
.pk-card--hero:hover { box-shadow: 0 36px 80px rgba(32,33,36,.3); }
.pk-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}
.pk-name { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.pk-per { margin: 0; font-size: 15px; color: var(--muted); }
.pk-rows { display: flex; flex-direction: column; margin-top: 16px; }
.pk-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.pk-row span { font-size: 15px; color: var(--muted); text-align: left; }
/* Offer row: label left, price right, timer chip on its own line underneath (left) */
.pk-row--sale { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 12px; }
.pk-row--sale .pk-sale { grid-column: 1 / -1; justify-self: start; }
.pk-sale { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--ink) !important; font-size: 11px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px 4px 10px; border-radius: 999px; }
.pk-sale[hidden] { display: none; }
.pk-sale i { font-style: normal; }
.pk-sale b { font-variant-numeric: tabular-nums; background: var(--ink); color: var(--yellow); padding: 2px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .04em; }
.pk-price-sale { background: var(--yellow); padding: 8px 16px 6px; border-radius: 14px; box-shadow: 0 8px 20px rgba(251,188,5,.4); }
.pk-row strong { font-size: clamp(1.9rem,3vw,2.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.pk-alt { margin: 2px 0 0; font-size: 13px; color: var(--muted-2); min-height: 20px; }
.pk-voci { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 26px; padding: 20px 0 0; border-top: 1px solid var(--line-2); flex: 1; }
.pk-voci li { list-style: none; display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.pk-voci li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 999px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334A853' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat;
}
.pk-btn { width: 100%; }
#pacchetti .pk-card--hero .btn-primary.pk-btn { background: var(--ink); color: #fff; box-shadow: 0 14px 34px rgba(32,33,36,.28); }
#pacchetti .pk-card--hero .btn-primary.pk-btn:hover { background: #000; }
.pk-card:not(.pk-card--hero) .btn-ghost { border-color: var(--ink); }

.chip {
  cursor: pointer; font-weight: 500; border-radius: 999px;
  transition: all .35s var(--ease); font-size: 14px; padding: 11px 20px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
}
.chip--small { font-size: 13px; padding: 9px 15px; }
.chip.is-active { border-color: var(--blue); background: var(--blue); color: var(--ink); box-shadow: 0 12px 28px rgba(251,188,5,.26); }
.pk-options { display: flex; flex-wrap: wrap; gap: 8px; }

.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px; }
.qty button {
  width: 38px; height: 38px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--line-2); color: var(--ink); font-size: 20px; line-height: 1; transition: background .25s ease;
}
.qty button:hover { background: var(--line); }
.qty input {
  width: 64px; border: 0; background: transparent; text-align: center;
  font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink); outline: none; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag-disc {
  width: 64px; height: 64px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--line); color: var(--yellow);
  box-shadow: 0 8px 20px rgba(32,33,36,.08);
}
.tag-disc svg { width: 28px; height: 28px; }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc-section { background: var(--bg-soft); padding: 110px 24px 120px; }
.calc-inner { max-width: 1120px; margin: 0 auto; }
.calc-card {
  margin-top: 52px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 32px; overflow: hidden;
  box-shadow: 0 26px 64px rgba(32,33,36,.07);
}
.calc-controls { padding: clamp(24px,3.2vw,48px); display: flex; flex-direction: column; gap: 34px; }
.calc-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.calc-row-head label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.calc-row-head output { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.calc-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline: none;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) var(--fill,30%), var(--line) var(--fill,30%), var(--line) 100%);
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 999px;
  background: #fff; border: 3px solid var(--blue); cursor: pointer; box-shadow: 0 4px 12px rgba(251,188,5,.35);
}
.calc-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 999px; background: #fff; border: 3px solid var(--blue);
  cursor: pointer; box-shadow: 0 4px 12px rgba(251,188,5,.35);
}
.calc-range:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.calc-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted-2); }
.calc-result {
  background: var(--ink); color: #fff; padding: clamp(28px,3.4vw,52px);
  display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; overflow: hidden;
}
.calc-result::before {
  content: ""; position: absolute; inset: -30% -20% auto auto; width: 320px; height: 320px; border-radius: 999px;
  background: radial-gradient(circle, rgba(251,188,5,.4) 0%, rgba(251,188,5,0) 66%); pointer-events: none;
}
.calc-result-label { position: relative; font-size: 14px; color: rgba(255,255,255,.7); }
.calc-result-num { position: relative; font-size: clamp(3.4rem,7vw,5.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.calc-result-unit { position: relative; font-size: 17px; color: rgba(255,255,255,.85); }
.calc-stars { position: relative; display: flex; gap: 4px; color: var(--yellow); margin-top: 6px; }
.calc-stars svg { width: 22px; height: 22px; }
.calc-note { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted-2); }

/* ==========================================================================
   How it works (carousel)
   ========================================================================== */
.demo-section { background: #fff; padding: 110px 24px 120px; }
.demo-inner { max-width: 1240px; margin: 0 auto; }
.demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 44px 0 30px; }
.demo-view {
  position: relative; overflow: hidden; border-radius: 30px; border: 1px solid var(--line);
  background: linear-gradient(180deg,#FBFBFC 0%,#F4F5F7 100%);
  transition: height .45s var(--ease);
}
.demo-track { display: flex; align-items: flex-start; transition: transform .8s var(--ease); }
.demo-panel { flex: 0 0 100%; min-width: 100%; box-sizing: border-box; }
.panel-step {
  padding: clamp(24px,3vw,44px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: clamp(26px,3vw,52px); align-items: center;
}
.panel-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.panel-text h3 { margin: 0; font-size: clamp(1.5rem,2.6vw,2.3rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.panel-text p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 400px; }

.step-visual {
  position: relative; min-height: 300px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 26px 64px rgba(32,33,36,.08); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
/* Step 1: tap (replace .tap-stage with an <img> to use a real photo) */
.tap-stage { position: relative; width: 100%; height: 280px; display: flex; align-items: flex-end; justify-content: center; }
.tap-table { position: absolute; left: 8%; right: 8%; bottom: 20px; height: 10px; border-radius: 999px; background: var(--line); }
.tap-tag { position: absolute; bottom: 30px; left: 50%; margin-left: -34px; }
.tap-ring { position: absolute; bottom: 30px; left: 50%; width: 68px; height: 68px; margin-left: -34px; border-radius: 999px; border: 2px solid var(--blue); opacity: 0; animation: tapRing 2.6s ease-out infinite; }
.tap-ring:nth-of-type(2) { animation-delay: .8s; border-color: var(--green); }
.tap-ring:nth-of-type(3) { animation-delay: 1.6s; border-color: var(--yellow); }
@keyframes tapRing { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.tap-phone {
  position: absolute; left: 50%; width: 78px; height: 150px; margin-left: -39px; top: 0;
  border-radius: 20px; background: var(--ink); border: 4px solid #3C4043;
  box-shadow: 0 24px 40px rgba(32,33,36,.28);
  animation: tapPhone 2.6s ease-in-out infinite;
}
.tap-phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 30px; height: 5px; margin-left: -15px; border-radius: 999px; background: #5F6368; }
.tap-phone::after { content: ""; position: absolute; inset: 22px 10px 14px; border-radius: 10px; background: linear-gradient(160deg,#FBBC05,#34A853); opacity: .9; }
@keyframes tapPhone { 0%, 100% { transform: translateY(0); } 45%, 55% { transform: translateY(26px); } }

/* Step 2: review page mock */
.rv-card { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 16px; }
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--blue-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--blue); }
.rv-avatar svg { width: 20px; height: 20px; }
.rv-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rv-line { height: 8px; border-radius: 4px; background: var(--line-2); }
.rv-q { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.rv-stars { display: flex; gap: 6px; }
.rv-star { background: transparent; border: 0; padding: 2px; cursor: pointer; color: #DADCE0; transition: color .2s ease, transform .2s ease; }
.rv-star svg { width: 34px; height: 34px; display: block; }
.rv-star.is-on { color: var(--yellow); }
.rv-star:hover { transform: scale(1.12); }
.rv-msg { font-size: 13px; color: var(--muted-2); min-height: 18px; }
.rv-msg.is-ok { color: var(--green); font-weight: 600; }

/* Step 3: published */
.pub-card { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.pub-row { border: 1px solid var(--line-2); border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: center; background: #fff; }
.pub-row--new { border-color: #FDE9A8; box-shadow: 0 14px 30px rgba(251,188,5,.14); animation: pubIn 3.6s var(--ease) infinite; }
@keyframes pubIn { 0%, 70%, 100% { transform: translateY(0); } 8% { transform: translateY(-8px); } 16% { transform: translateY(0); } }
.pub-avatar { flex: none; width: 38px; height: 38px; border-radius: 999px; background: var(--line-2); }
.pub-row--new .pub-avatar { background: var(--blue-soft); }
.pub-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pub-stars { display: flex; gap: 2px; color: var(--yellow); }
.pub-stars svg { width: 16px; height: 16px; }
.pub-check { flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pub-check svg { width: 15px; height: 15px; }
.pub-label { font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: .04em; text-transform: uppercase; }

.demo-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.arrow-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 17px; cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}
.arrow-btn:hover { background: var(--bg-soft); }
.arrow-btn--prev:hover { transform: translateX(-2px); }
.arrow-btn--next:hover { transform: translateX(2px); }
.dots { display: flex; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 999px; transition: all .5s var(--ease); background: #DADCE0; }
.dot.is-active { width: 26px; background: var(--blue); }


/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { background: var(--bg-soft); padding: 110px 24px 120px; }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-master { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 0 28px; transition: box-shadow .4s ease, border-color .3s ease; }
.faq-master[open] { border-color: #FDE9A8; box-shadow: 0 16px 36px rgba(251,188,5,.09); }
.faq-master > summary { font-size: 19px; font-weight: 600; letter-spacing: -.015em; padding: 26px 56px; text-align: center; }
.faq-list { display: flex; flex-direction: column; padding-bottom: 8px; }
.faq-item { border-top: 1px solid var(--line-2); }
.faq-master summary, .faq-item summary {
  position: relative; list-style: none; cursor: pointer; display: block;
}
.faq-item summary { padding: 22px 56px 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; text-align: left; }
.faq-master summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
/* Plus / minus circle: the sign is drawn with gradients so it is always exactly centered */
.faq-master summary::after, .faq-item summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  border-radius: 999px; background-color: var(--blue-soft); color: var(--blue);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: center; background-size: 12px 2px, 2px 12px;
  transition: background-size .3s ease, background-color .3s ease;
}
.faq-master[open] > summary::after, .faq-item[open] > summary::after { background-size: 12px 2px, 2px 0; }
.faq-item p { margin: 0; padding: 0 56px 22px 0; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   Final: demo request
   ========================================================================== */
.contatto-section { position: relative; background: var(--yellow); padding: 170px 24px 170px; overflow: hidden; }
.contatto-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

/* Soft drifting light + amber blobs */
.c-blob { position: absolute; border-radius: 999px; filter: blur(40px); will-change: transform; }
.c-blob--1 { width: 460px; height: 460px; left: -120px; top: 6%; background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,0) 68%); animation: cBlobA 16s ease-in-out infinite; }
.c-blob--2 { width: 520px; height: 520px; right: -140px; bottom: -4%; background: radial-gradient(circle, rgba(232,150,0,.55), rgba(232,150,0,0) 68%); animation: cBlobB 19s ease-in-out infinite; }
.c-blob--3 { width: 340px; height: 340px; left: 46%; top: 42%; background: radial-gradient(circle, rgba(255,255,255,.5), rgba(255,255,255,0) 68%); animation: cBlobC 14s ease-in-out infinite; }
@keyframes cBlobA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(120px,80px) scale(1.15); } }
@keyframes cBlobB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-140px,-70px) scale(1.2); } }
@keyframes cBlobC { 0%,100% { transform: translate(0,0) scale(.9); } 50% { transform: translate(-90px,60px) scale(1.15); } }

/* Floating outlined stars */
.c-star { position: absolute; color: var(--ink); opacity: .2; will-change: transform; }
.c-star--1 { width: 64px; left: 7%; top: 22%; animation: cFloatA 9s ease-in-out infinite; }
.c-star--2 { width: 34px; left: 20%; bottom: 20%; animation: cFloatB 7s ease-in-out infinite; }
.c-star--3 { width: 52px; right: 8%; top: 26%; animation: cFloatB 10s ease-in-out infinite; }
.c-star--4 { width: 28px; right: 21%; bottom: 24%; animation: cFloatA 8s ease-in-out infinite; }
.c-star--5 { width: 40px; left: 44%; top: 15%; animation: cFloatA 11s ease-in-out infinite; }
.c-star--6 { width: 46px; right: 42%; bottom: 12%; animation: cFloatB 9.5s ease-in-out infinite; }
@keyframes cFloatA { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-26px) rotate(10deg); } }
@keyframes cFloatB { 0%,100% { transform: translateY(0) rotate(10deg); } 50% { transform: translateY(24px) rotate(-12deg); } }

/* Scrolling ribbons at the top and bottom edges */
.contatto-marquee { position: absolute; left: 0; right: 0; z-index: 3; height: 46px; overflow: hidden; background: var(--ink); color: var(--yellow); display: flex; align-items: center; }
.contatto-marquee--top { top: 0; }
.contatto-marquee--bottom { bottom: 0; }
.contatto-marquee__track { display: flex; flex: none; white-space: nowrap; gap: 26px; padding-left: 26px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; animation: cMarquee 34s linear infinite; will-change: transform; }
.contatto-marquee__track i { font-style: normal; font-size: 11px; }
.contatto-marquee--bottom .contatto-marquee__track { animation-direction: reverse; }
@keyframes cMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Radar rings pulsing out from the logo */
.c-ring { position: absolute; top: 18px; left: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 999px; border: 2px solid rgba(32,33,36,.28); opacity: 0; animation: cRing 5.4s ease-out infinite; pointer-events: none; }
.c-ring--2 { animation-delay: 1.8s; }
.c-ring--3 { animation-delay: 3.6s; }
@keyframes cRing { 0% { transform: scale(.3); opacity: .7; } 100% { transform: scale(5.5); opacity: 0; } }

.contatto-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; text-align: center; color: var(--ink); }
.contatto-inner .brand { position: relative; animation: none; opacity: 1; margin-bottom: 26px; color: var(--ink); }
.contatto-section .brand-mark path { stroke: currentColor; }
.contatto-section .brand-word b { color: inherit; }
.contatto-title-stack { display: grid; align-items: center; }
.contatto-title, .contatto-thanks {
  grid-area: 1/1; margin: 0; font-size: clamp(1.8rem,4.4vw,3.2rem); font-weight: 500;
  line-height: 1.1; letter-spacing: -.025em; text-wrap: pretty;
  transition: opacity .5s ease, transform .5s ease;
}
.contatto-sub { margin: 18px auto 0; font-size: 18px; line-height: 1.6; font-weight: 500; letter-spacing: -.005em; color: rgba(32,33,36,.82); max-width: 500px; transition: opacity .5s ease; }
.contatto-sub.is-hidden { opacity: 0; }
.contatto-thanks { align-self: center; opacity: 0; transform: translateY(8px); pointer-events: none; }
.contatto-title.is-hidden { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.contatto-thanks.is-visible { opacity: 1; transform: translateY(0); }

.final-form { display: grid; gap: 12px; margin-top: 34px; text-align: left; transition: opacity .5s ease, transform .5s ease; }
.final-form.is-hidden { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.final-form input[type="text"], .final-form input[type="tel"], .final-form input[type="email"] {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid transparent; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(32,33,36,.1);
  padding: 15px 18px; outline: none;
  transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.final-form input::placeholder { color: var(--muted-2); opacity: 1; }
.final-form input[type="text"]:hover, .final-form input[type="tel"]:hover, .final-form input[type="email"]:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(32,33,36,.14); }
.final-form input:focus { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(32,33,36,.18); }
.final-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: rgba(32,33,36,.8); }
.check-row input { flex: none; margin-top: 3px; width: 17px; height: 17px; accent-color: var(--ink); }
.check-row a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.final-submit { margin-top: 6px; width: 100%; font-size: 16px; padding: 16px 26px; }
.contatto-section .final-submit { background: var(--ink); color: #fff; animation: cBtnPulse 2.8s ease-out infinite; }
.contatto-section .final-submit:hover { background: #000; color: #fff; animation-play-state: paused; }
@keyframes cBtnPulse { 0% { box-shadow: 0 14px 34px rgba(32,33,36,.3), 0 0 0 0 rgba(32,33,36,.35); } 70%,100% { box-shadow: 0 14px 34px rgba(32,33,36,.3), 0 0 0 16px rgba(32,33,36,0); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.62); padding: 44px 24px; font-size: 13px; }
.site-footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand { animation: none; opacity: 1; }
.footer-brand .brand { color: var(--yellow); }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand .brand-word { font-size: 19px; }
.footer-text { display: flex; flex-direction: column; gap: 4px; }
.footer-legal { display: block; font-size: 12px; color: rgba(255,255,255,.45); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: rgba(255,255,255,.62); }
.footer-links a:hover { color: #fff; }

/* ==========================================================================
   Order modal
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(23,24,26,.6); backdrop-filter: blur(6px); }
.modal.is-open { display: flex; }
.modal-panel {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 28px; padding: 32px 28px 28px; box-shadow: 0 40px 90px rgba(0,0,0,.35);
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 999px; border: 0; background: var(--line-2); cursor: pointer; font-size: 20px; color: var(--ink); }
.modal-close:hover { background: var(--line); }
.modal h3 { margin: 0 34px 6px 0; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.order-choice { margin: 0 0 20px; }
.order-choice .field-label { margin-bottom: 9px; }
.order-choice .modal-help { margin: 0; }
.modal-summary { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.modal-summary strong { color: var(--ink); font-weight: 600; }
.modal form { display: grid; gap: 14px; }
.field-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 7px; }
.field-input {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; outline: none; transition: border-color .3s ease, background .3s ease;
}
.field-input:focus { border-color: var(--blue); background: #fff; }
.modal .check-row { color: var(--muted); }
.modal .check-row a { color: var(--yellow-text); }
.modal-err { margin: 0; font-size: 13px; color: var(--red); display: none; }
.modal-help { margin: -4px 0 0; font-size: 12px; color: var(--muted-2); }
.modal-done { display: none; text-align: center; padding: 20px 0 6px; }
.modal-done .pub-check { width: 52px; height: 52px; margin: 0 auto 18px; }
.modal-done .pub-check svg { width: 26px; height: 26px; }
.modal-done p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.modal.is-done form, .modal.is-done .modal-summary, .modal.is-done #orderTitle { display: none; }
.modal.is-done .modal-done { display: block; }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 400px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  box-shadow: 0 24px 60px rgba(32,33,36,.2); display: none;
}
.cookie.is-visible { display: block; animation: fadeUp .6s var(--ease) both; }
.cookie p { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.cookie p a { color: var(--yellow-text); text-decoration: underline; }
.cookie .btn-primary { padding: 10px 20px; font-size: 14px; box-shadow: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .pk-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; gap: 30px; }
  .pk-card--hero { order: -1; }
  .calc-card { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  /* Cards stack and the line runs down between them */
  .strengths-grid { grid-template-columns: 1fr; gap: 30px; max-width: 460px; margin: 0 auto; }
  .strengths-line { left: 50%; right: auto; top: 0; bottom: 0; width: 4px; height: auto; margin: 0 0 0 -2px; }
  .strengths-line-fill { width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(180deg, var(--blue), #FFD666); transition: height .18s linear; }
  .strengths-line-fill::after { right: auto; left: 50%; top: auto; bottom: -7px; margin: 0 0 0 -8px; }
}
@media (max-width: 640px) {
  :root { --announce-h: 58px; }
  .announce { font-size: 12.5px; }
  .header-bar { padding: 16px 16px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-word { font-size: 23px; }
  .strengths { padding: 52px 16px 20px; }
  .calc-section, .demo-section, .faq-section, .pacchetti-section { padding: 80px 16px 90px; }
  .contatto-section { padding: 120px 16px; }
  .final-row { grid-template-columns: 1fr; }

  /* Hero: bigger title, smaller frame trio */
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero-mockups { height: clamp(170px, 46vw, 230px); }
  .hero-mockup__tag { font-size: 9px; padding: 4px 9px; margin-bottom: 6px; }
  @keyframes heroMockupCycle {
    0%, 100% {
      width: clamp(200px,58vw,280px); height: clamp(150px,43.5vw,210px);
      transform: translateX(-50%); opacity: 1; z-index: 3;
    }
    25% {
      width: clamp(150px,44vw,210px); height: clamp(113px,33vw,158px);
      transform: translateX(calc(-50% + 40vw)); opacity: .7; z-index: 1;
    }
    45% {
      width: clamp(105px,31vw,150px); height: clamp(79px,23.25vw,113px);
      transform: translateX(calc(-50% + 58vw)); opacity: 0; z-index: 0;
    }
    55% {
      width: clamp(105px,31vw,150px); height: clamp(79px,23.25vw,113px);
      transform: translateX(calc(-50% - 58vw)); opacity: 0; z-index: 0;
    }
    75% {
      width: clamp(150px,44vw,210px); height: clamp(113px,33vw,158px);
      transform: translateX(calc(-50% - 40vw)); opacity: .7; z-index: 1;
    }
  }

  .quote-words { text-align: center; }
  .panel-text { align-items: center; text-align: center; }
  .panel-text p { max-width: 100%; }
  .calc-controls { gap: 28px; }

  .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Hero — split layout: text on the left, photo collage on the right
   ========================================================================== */
.hero-content {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.02fr); gap: clamp(28px,5vw,72px);
  align-items: center; align-content: center; text-align: left;
  padding: 12px 24px clamp(40px,6vw,72px);
}
.hero-text-block { align-items: flex-start; justify-content: center; }
.hero-title-wrap { width: auto; }
.hero-title { margin: 0; text-align: left; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.045em; }
.hero-title__line--second {
  display: inline; padding: 0 .08em; margin-left: -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(transparent 60%, var(--yellow) 60% 90%, transparent 90%);
  background-repeat: no-repeat;
}
.hero-text { margin: 26px 0 0; max-width: 460px; font-size: clamp(16px,1.5vw,19px); }
.hero-actions { justify-content: flex-start; margin-top: 34px; }

.hero-collage {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  width: 100%; max-width: 560px; margin: 0 auto; padding: 30px 26px;
}
.hero-collage::before {
  content: ""; position: absolute; z-index: 0; inset: 2% -4% 2% 2%;
  background: var(--yellow);
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  animation: heroMorph 16s ease-in-out infinite; will-change: border-radius, transform;
}
@keyframes heroMorph {
  0%,100% { border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; transform: rotate(0deg) scale(1); }
  50%     { border-radius: 54% 46% 44% 56% / 46% 56% 44% 54%; transform: rotate(6deg) scale(1.04); }
}
.hero-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.hero-col--b { padding-top: 52px; }
.hero-tile { display: flex; flex-direction: column; align-items: center; opacity: 0; animation: fadeUp 1s var(--ease) .5s both, heroFloat 7s ease-in-out 1.6s infinite; will-change: transform; }
.hero-col--b .hero-tile { animation: fadeUp 1s var(--ease) .65s both, heroFloatB 8s ease-in-out 1.7s infinite; }
.hero-col .hero-tile:nth-child(2) { animation-delay: .8s, 2.4s; }
.hero-col--b .hero-tile:nth-child(2) { animation-delay: .95s, 2.6s; }
@keyframes heroFloat  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes heroFloatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
.hero-tile__tag {
  display: inline-flex; margin-bottom: 10px; background: #fff; color: var(--ink);
  box-shadow: 0 10px 22px rgba(32,33,36,.16); font-size: 12px; font-weight: 600; letter-spacing: .01em;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.hero-tile__img { width: 100%; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 26px 50px rgba(32,33,36,.26); }
.hero-tile--tall .hero-tile__img { aspect-ratio: 1 / 1.18; }
.hero-tile--short .hero-tile__img { aspect-ratio: 1 / .86; }
.hero-tile__media { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 34px; padding: 8px 20px 56px; }
  .hero-text-block { align-items: center; }
  .hero-title, .hero-text { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 4.4rem); }
  .hero-actions { justify-content: center; }
  .hero-collage { max-width: 460px; padding: 26px 18px; gap: 14px; }
  .hero-col { gap: 14px; }
  .hero-col--b { padding-top: 40px; }
}

/* ==========================================================================
   Mobile: everything centered
   ========================================================================== */
@media (max-width: 640px) {
  /* Strengths */
  .strength { flex-direction: column; text-align: center; gap: 12px; padding: 26px 20px; }

  /* Packages */
  .pk-card { text-align: center; align-items: center; }
  .pk-rows { align-self: stretch; }
  .pk-voci { align-self: stretch; }
  .pk-voci li { justify-content: center; text-align: left; }
  .pk-options { justify-content: center; }

  /* Calculator */
  .calc-row-head { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .calc-result { align-items: center; text-align: center; }
  .calc-stars { justify-content: center; }

  /* FAQ */
  .faq-master { padding: 0 16px; }
  .faq-master > summary { padding: 22px 48px; font-size: 18px; }
  .faq-item summary { padding: 20px 48px; text-align: center; }
  .faq-item p { text-align: center; padding: 0 48px 20px; }

  /* Contact form */
  .final-form { text-align: center; }
  .final-form input[type="text"], .final-form input[type="tel"], .final-form input[type="email"] { text-align: center; }
  .final-form .check-row { justify-content: center; text-align: center; }

  /* Footer */
  .site-footer-inner { flex-direction: column; justify-content: center; text-align: center; gap: 16px; }
  .footer-brand { flex-direction: column; gap: 10px; }
  .footer-links { justify-content: center; }

  /* Order modal */
  .modal-panel { text-align: center; }
  .modal h3 { margin-right: 0; }
  .modal .field-label, .modal .modal-help { text-align: center; }
  .modal .field-input { text-align: center; }
  .modal .check-row { justify-content: center; text-align: center; }
  .qty-row { flex-direction: column; align-items: center; gap: 10px; }
}

/* Mobile touch targets */
@media (max-width: 640px) {
  .lang-btn { padding: 8px 12px; }
  .footer-links a { display: inline-block; padding: 8px 4px; }
    .footer-links { gap: 2px 14px; }
}

/* Mobile hero: title a bit lower, smaller collage + circle so the whole hero fits the first screen */
@media (max-width: 640px) {
  .hero-content { padding: 28px 20px 18px; gap: 16px; }
  .hero-text { margin-top: 16px; font-size: 15px; }
  .hero-actions { margin-top: 20px; }
  .hero-collage {
    --collage-h: clamp(300px, calc(100svh - 470px), 400px);
    --tile-w: calc((var(--collage-h) - 96px) / 2.04);
    max-width: calc(var(--tile-w) * 2 + 40px);
    padding: 12px 10px 14px; gap: 10px;
  }
  .hero-collage::before { inset: 4% 2% 4% 2%; }
  .hero-col { gap: 8px; }
  .hero-col--b { padding-top: 26px; }
  .hero-tile__tag { font-size: 10px; padding: 4px 10px; margin-bottom: 6px; }
  .hero-tile__img { border-radius: 14px; }
}

/* Mobile hero: no subtitle; title + button centered in the space above the photos */
@media (max-width: 640px) {
  .hero-text { display: none; }
  .hero-content { grid-template-rows: 1fr auto; }
  .hero-text-block { justify-content: center; }
  .hero-actions { margin-top: 26px; }
}

/* Mobile: packages come right after the four strength cards (third screen), before the quote */
@media (max-width: 640px) {
  .page { display: flex; flex-direction: column; }
  .page > * { order: 20; }
  .page > .announce { order: 0; }
  .page > .hero { order: 1; }
  .page > #vantaggi { order: 2; }
  .page > #pacchetti { order: 3; }
  .page > #citazione { order: 4; }
  .page > #calcolatore { order: 5; }
  .page > #come-funziona { order: 6; }
  .page > #faq { order: 7; }
  .page > #contatto { order: 8; }
  .page > .site-footer { order: 9; }
}

@media (max-width: 640px) {
}

/* ==========================================================================
   Offer popup
   ========================================================================== */
.promo-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(23,24,26,.62); backdrop-filter: blur(4px); animation: promoFade .4s ease both; }
.promo-modal[hidden] { display: none; }
@keyframes promoFade { from { opacity: 0; } to { opacity: 1; } }
.promo-panel { position: relative; width: 100%; max-width: 400px; max-height: calc(100svh - 40px); overflow-y: auto; text-align: center; background: #fff; border-radius: 30px; padding: 0 28px 24px; box-shadow: 0 40px 90px rgba(0,0,0,.4); animation: promoPop .6s var(--ease) both; }
@keyframes promoPop { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
.promo-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.85); font-size: 20px; line-height: 1; color: var(--ink); }
.promo-visual { position: relative; margin: 0 -28px 18px; padding: 30px 0 14px; background: var(--yellow); border-radius: 30px 30px 50% 50% / 30px 30px 26px 26px; overflow: hidden; }
.promo-visual::before { content: ""; position: absolute; width: 260px; height: 260px; left: 50%; top: 50%; margin: -130px 0 0 -130px; border-radius: 999px; background: radial-gradient(circle, rgba(255,255,255,.7), rgba(255,255,255,0) 68%); animation: cBlobC 9s ease-in-out infinite; }
.promo-img { position: relative; display: block; width: 62%; max-width: 230px; margin: 0 auto; filter: drop-shadow(0 22px 26px rgba(32,33,36,.35)); transform: rotate(-5deg); animation: promoFloat 5s ease-in-out infinite; }
@keyframes promoFloat { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.promo-pill { display: inline-block; background: var(--ink); color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.promo-title { margin: 14px 0 0; font-size: clamp(1.7rem, 7vw, 2.2rem); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.promo-title em { font-style: normal; display: inline-block; background: var(--yellow); padding: 2px 14px 0; border-radius: 14px; box-shadow: 0 8px 20px rgba(251,188,5,.4); }
.promo-timer { margin: 16px 0 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.promo-timer[hidden] { display: none; }
.promo-timer b { font-variant-numeric: tabular-nums; background: var(--ink); color: var(--yellow); padding: 4px 12px; border-radius: 999px; font-size: 14px; letter-spacing: .04em; }
.promo-cta { display: flex; width: 100%; margin-top: 20px; }
.promo-skip { margin-top: 8px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 13px; color: var(--muted-2); padding: 8px 12px; }
.promo-skip:hover { color: var(--ink); }

/* Very narrow phones (320px): keep the header on one line */
@media (max-width: 360px) {
  .header-bar { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .brand { gap: 6px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-word { font-size: 19px; }
  .hamburger { width: 40px; padding: 0 10px; }
  .lang-btn { padding: 8px 9px; }
}
@media (max-width: 640px) { .footer-text { align-items: center; text-align: center; } }
