/* Dietabase — "La Dispensa" redesign (IT)
   Signature: the jar-lid stamp. Dietabase preserves meals in glass jars the
   way a grandmother preserves vegetables — so every number that matters
   (price, stat, guarantee) is set inside a stamped lid seal, and callouts
   read like the printed kraft-paper labels on a pantry jar. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,340..820;1,9..144,340..820&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink: #241708;
  --ink-soft: #4a3826;
  --muted: #7a6b53;
  --paper: #f3e9d5;
  --paper-2: #fbf5e8;
  --paper-3: #ead9b8;
  --amber: #c97c2b;
  --amber-deep: #8f5518;
  --amber-pale: #f0d4a4;
  --basil: #4c6b3e;
  --rust: #a23e2b;
  --line: rgba(36, 23, 8, 0.16);
  --line-strong: rgba(36, 23, 8, 0.32);
  --max: 700px;
  --wide: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", "Newsreader", Georgia, serif;
  --font-mono: "Space Mono", "SFMono-Regular", Menlo, monospace;
  --font-ui: "Sora", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--amber-deep);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

h1, h2, h3, .h1, .h2, .heading-3, .text-40px, .text-32px, .text-24px {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 620;
  line-height: 1.1;
  font-optical-sizing: auto;
}

/* ——— Kill Webflow chrome that fights the redesign ——— */
.w-slider-nav,
.slide-nav,
.left-arrow,
.right-arrow,
.floating-cta,
.label,
.warning-wrap img.icon,
.icon._24-24px img,
.ep_warning-filled,
img[src*="ep_warning-filled"],
img[src*="return.svg"],
img[src*="file.svg"],
img[src*="tabler_coffee-off"] {
  display: none !important;
}

.w-layout-vflex,
.w-layout-grid,
.content,
.article-block,
.article-container,
.article-content,
.flex-vertical,
.flex-horizontal,
.h-flex,
.gap-16,
.gap-8,
.gap-48,
.pad-32,
.p16,
.advantages,
.advantages-wrap,
.checkblock,
.green-box,
.red-box,
.blue-block,
.bottom-block,
.text-wrap,
.text-wrap-card,
.review-flex,
.testimonial-content,
.article-testimonial-heading,
.mask,
.review-slider,
.grid-3col {
  display: block;
  width: 100%;
  max-width: none;
  gap: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.line,
.line.horizontal,
.line.horizontal.dotted,
.line.mobile-hflex {
  display: none !important;
}

/* ——— Ad disclosure (must be seen before the reader engages, not buried in the byline) ——— */
.ad-disclosure-bar {
  position: relative;
  z-index: 6;
  width: 100%;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--amber-pale);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-wrap {
  position: relative;
}

/* ——— Masthead ——— */
.heading-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  padding: 1.2rem 1.4rem;
  background: transparent;
  text-align: center;
}

.heading-wrap .header {
  margin: 0;
  padding: 0;
  background: none;
}

.heading-wrap .logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.heading-wrap .heading {
  margin: 0;
  padding: 0;
  background: none;
}

.heading-text {
  color: rgba(251, 245, 232, 0.85);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ——— Hero: full-bleed photo + jar-lid price seal ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fbf5e8;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: heroKen 18s var(--ease) both;
  filter: saturate(1.05) contrast(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(24, 15, 4, 0.4) 0%, rgba(24, 15, 4, 0.12) 32%, rgba(24, 15, 4, 0.74) 74%, rgba(24, 15, 4, 0.94) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.4rem, 760px);
  margin: 0 auto;
  padding: 0 1.4rem 2.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 1s var(--ease) 0.15s both;
}

.hero__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 0.7rem;
  color: var(--amber-pale);
}

.hero__brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.2rem, 5.6vw, 3.8rem);
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: #fff;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 660;
  line-height: 1.16;
  margin: 0 0 0.9rem;
  color: #fff;
  max-width: 19ch;
}

.hero__lead {
  margin: 0 0 1.5rem;
  max-width: 40ch;
  color: rgba(251, 245, 232, 0.86);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  background: var(--amber);
  color: #1c1204 !important;
  text-decoration: none !important;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.hero__cta:hover {
  background: #dd8f3c;
  transform: translateY(-2px);
}

.hero__meta {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(251, 245, 232, 0.58);
}

.hero__meta .date {
  display: inline;
}

.hero .label,
.hero .author-wrap {
  display: none !important;
}

/* Signature: jar-lid seal badge */
.hero__seal {
  position: absolute;
  z-index: 3;
  top: 6.4rem;
  right: clamp(1rem, 4vw, 3.2rem);
  width: clamp(88px, 12vw, 120px);
  height: clamp(88px, 12vw, 120px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.4rem;
  background: var(--amber);
  color: #1c1204;
  transform: rotate(-8deg);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.55);
  border: 2px dashed rgba(28, 18, 4, 0.55);
  outline: 1px solid rgba(28, 18, 4, 0.35);
  outline-offset: -8px;
  animation: sealIn 0.8s var(--ease) 0.5s both;
}

.hero__seal-num {
  display: block;
  width: 100%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.hero__seal-label {
  display: block;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  /* compensate trailing letter-spacing so the word optically centers */
  padding-left: 0.08em;
  margin-top: 0.25rem;
  opacity: 0.85;
}

@media (max-width: 560px) {
  .hero__seal {
    top: auto;
    bottom: 12.5rem;
    right: 1rem;
  }
}

/* ——— Article body ——— */
.section {
  padding: 0;
  background: transparent;
}

.section > .container,
.section > .article-container,
.container,
.article-container {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
  padding: 3.4rem 0;
}

.section.footer > .container,
.container.footer,
.container.tb-p-32 {
  width: min(100% - 2.4rem, var(--wide));
}

.article-block > .content > h1 {
  display: none; /* moved into hero */
}

.w-richtext p,
.rich-text-block p,
p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.72;
  margin: 0 0 1.15rem;
}

.w-richtext p strong,
.rich-text-block p strong,
strong {
  color: var(--ink);
  font-weight: 700;
}

.h2,
h2.h2,
h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 3.4rem 0 1.15rem;
  max-width: 19ch;
}

.heading-3,
h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.8rem;
}

.image-wrapper,
.image-wrap {
  margin: 1.7rem 0 1.9rem;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--line);
}

.image-wrapper img,
.image-wrap img,
.img,
.image,
.small-img,
.review-img {
  width: 100%;
  border-radius: 2px;
  filter: saturate(1.04) contrast(1.02);
}

.image-wrapper.first {
  margin-top: 0.4rem;
}

/* Stats — three lid stamps on a shelf */
.advantages {
  margin: 2.6rem 0;
  padding: 2rem 0 1.6rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}

.advantages .w-richtext p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
  margin-bottom: 1.6rem;
  text-align: center;
}

.advantages-wrap {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}

@media (min-width: 720px) {
  .advantages-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }
}

.advantage-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
}

.advantage-block .h1.blue,
.h1.blue {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  min-width: 5.6rem;
  min-height: 5.6rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  background: var(--paper-2);
  border: 2px dashed var(--amber);
  box-shadow: inset 0 0 0 6px var(--paper);
}

.advantage-block > div:last-child {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 24ch;
}

.subtext {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

/* Callout / note — printed kraft label */
.blue-block {
  margin: 2.2rem 0;
  padding: 1.6rem 1.5rem;
  background: var(--paper-2);
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  position: relative;
}

.blue-block .warning-wrap {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.blue-block .warning-wrap::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--rust);
  color: #fbf5e8;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 800;
}

.blue-block h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.blue-block.no-border {
  border: 2px dashed var(--amber-pale);
  background: var(--ink);
  color: #fbf5e8;
  text-align: left;
  padding: 1.9rem 1.6rem;
}

.blue-block.no-border .text-16px,
.blue-block.no-border .text-18px,
.blue-block.no-border em {
  color: rgba(251, 245, 232, 0.78);
}

.blue-block.no-border .h1.blue {
  color: var(--ink);
  background: var(--amber);
  border-color: rgba(251, 245, 232, 0.55);
  box-shadow: inset 0 0 0 6px var(--ink);
  margin: 0.4rem auto 0.8rem;
}

.color-block {
  display: inline-block;
  background: transparent !important;
  padding: 0 !important;
  color: var(--amber-pale);
}

.strikethrough {
  text-decoration: line-through;
  opacity: 0.55;
}

.accent-text,
.blue-text {
  color: var(--amber-deep) !important;
  font-family: var(--font-mono);
}

.green-text {
  color: var(--basil) !important;
}

.blue-block.no-border .accent-text {
  color: var(--amber-pale) !important;
}

.red-text {
  color: var(--rust) !important;
}

/* Feature lists */
.checkblock {
  margin: 2.1rem 0;
  padding: 0;
}

.checkblock > .content > div,
.checkblock .content.gap-8 > div,
.content.gap-8 > div {
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.checkblock.center {
  text-align: left;
}

.checkblock.border-grey {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-2);
}

.content.h-flex.gap-16 {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.1rem !important;
}

@media (min-width: 720px) {
  .content.h-flex.gap-16 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem !important;
  }

  .content.h-flex:not(.gap-16) {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.2rem !important;
    align-items: center;
  }
}

.green-box,
.red-box {
  padding: 1.3rem 1.3rem;
  border-radius: 4px;
}

.green-box {
  background: rgba(76, 107, 62, 0.08);
  border: 1px solid rgba(76, 107, 62, 0.3);
}

.red-box {
  background: rgba(162, 62, 43, 0.06);
  border: 1px solid rgba(162, 62, 43, 0.25);
}

.green-box h3,
.red-box h3 {
  margin-top: 0;
}

/* Product grid — pantry shelf of jars */
.grid-3col {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.8rem !important;
  margin: 1.6rem 0 2.1rem;
}

@media (min-width: 640px) {
  .grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-3col {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem !important;
  }
}

.grid-3col .content {
  margin: 0;
}

.grid-3col .text-24px {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.8rem;
  letter-spacing: 0.01em;
}

.grid-3col .text-18px {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.2rem;
}

.image-wrap.small-size {
  aspect-ratio: 1;
  background: var(--paper-3);
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

.image-wrap.small-size img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Price rows — ledger */
.price-text,
.price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.price.price-text .blue-text,
.price.price-text .accent-text {
  color: var(--amber-deep) !important;
}

.w-layout-vflex.h-flex {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--line-strong);
}

/* Buttons */
.button,
a.button,
a.w-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin: 1.3rem 0 0;
  padding: 1rem 1.5rem;
  background: var(--amber) !important;
  color: #1c1204 !important;
  border: 0 !important;
  border-radius: 3px !important;
  font-family: var(--font-ui) !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset !important;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.button:hover,
a.button:hover,
a.w-button:hover {
  background: #dd8f3c !important;
  transform: translateY(-1px);
}

.button._w-100,
a.button._w-100 {
  width: 100%;
}

/* Testimonials — pantry postcards */
.review-slider {
  margin: 1.6rem 0 2.6rem;
}

.mask.w-slider-mask,
.w-slider-mask {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  height: auto !important;
  overflow: visible !important;
}

.slide-23,
.w-slide {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
}

.testimonial-offerpage-wrap {
  display: grid !important;
  grid-template-columns: 76px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.testimonial-offerpage-wrap .review-img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--paper);
  outline: 1px solid var(--line-strong);
}

.text-18px.medium {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.text-16px {
  font-size: 0.85rem;
  color: var(--amber-deep);
}

/* star row: keep, recolor via filter-free approach is not possible on emoji; hide default and add mono dot rating */
.testimonial-offerpage-wrap .text-16px {
  display: block;
  font-size: 0;
  letter-spacing: 0;
}

.testimonial-offerpage-wrap .text-16px::before {
  content: "●●●●●";
  font-size: 0.6rem;
  color: var(--amber);
  letter-spacing: 0.15em;
}

.text-15px,
.text-15px.text-color-grey {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0.4rem 0 0;
}

.icon.v2 {
  display: none !important;
}

@media (min-width: 800px) {
  .mask.w-slider-mask {
    grid-template-columns: 1fr 1fr;
  }
}

/* Offer block — the receipt & the big stamp */
.text-wrap-card.center h3,
.text-wrap-card.center {
  text-align: left;
}

.uppercase {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem !important;
}

.grey-600 {
  color: var(--muted) !important;
}

.bottom-block {
  margin-top: 1.4rem;
}

.bottom-block .flex-horizontal {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}

.bottom-block .flex-horizontal .flex-horizontal {
  align-items: center;
  gap: 0.55rem;
}

.bottom-block .text-16px,
.bottom-block .text-18px {
  font-family: var(--font-ui) !important;
  font-size: 0.85rem !important;
  color: var(--muted);
}

.bottom-block .icon._24-24px {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.bottom-block .icon._24-24px::before {
  content: "✓";
  color: #1c1204;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Promo card wrapper */
.content.checkblock.center.no-side-pad {
  margin: 2.4rem 0;
  padding: 2rem 1.6rem;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.content.checkblock.center.no-side-pad > .w-richtext:first-child p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
  margin: 0 0 0.9rem;
}

/* Sticky CTA bar */
.site-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
  background: rgba(36, 23, 8, 0.94);
  backdrop-filter: blur(10px);
  border-top: 2px dashed var(--amber);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}

.site-cta-bar.is-visible {
  transform: translateY(0);
}

.site-cta-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  padding: 0.95rem 1.3rem;
  background: var(--amber);
  color: #1c1204 !important;
  text-decoration: none !important;
  font-weight: 700;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  border-radius: 3px;
}

/* Footer */
.section.footer {
  margin-top: 2.2rem;
  background: var(--ink);
  color: rgba(251, 245, 232, 0.72);
  padding: 2.6rem 0 5.6rem;
}

.section.footer .disclaimer {
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 70ch;
}

.section.footer .disclaimer strong,
.section.footer .disclaimer p {
  color: rgba(251, 245, 232, 0.72);
}

.footer-links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 1.7rem;
  padding-top: 1.3rem;
  border-top: 1px dashed rgba(251, 245, 232, 0.25);
}

.link-white,
a.link-white {
  color: rgba(251, 245, 232, 0.88) !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 600;
}

.link-white:hover {
  color: var(--amber-pale) !important;
}

/* Legal pages */
body.legal .heading-wrap {
  position: static;
  background: var(--ink);
  padding: 1.3rem 1.4rem;
}

body.legal .heading-wrap .logo {
  filter: brightness(0) invert(1);
}

body.legal .heading-text {
  color: rgba(251, 245, 232, 0.75);
}

body.legal .section > .article-container {
  padding-top: 2.6rem;
}

.text-40px {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin: 0 0 0.4rem;
}

.text-32px {
  font-size: 1.15rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.text-20px.medium {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.text-18px,
.text-color-gray700 {
  color: var(--ink-soft);
}

.top-margin-24px {
  margin-top: 1.3rem;
}

.top-margin-16px {
  margin-top: 0.5rem;
}

/* Motion — never hide content (tall sections break IntersectionObserver thresholds) */
.reveal {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sealIn {
  from {
    opacity: 0;
    transform: rotate(4deg) scale(0.7);
  }
  to {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

@keyframes heroKen {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__media img,
  .hero__seal {
    animation: none !important;
  }

  .hero__media img {
    transform: none;
  }

  .hero__seal {
    transform: rotate(-8deg);
  }
}

/* Keyboard focus visibility */
a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--amber-deep);
  outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber-deep);
  outline-offset: 1px;
}

/* ——— Order page ——— */
.order-page {
  padding-top: 2.6rem;
}

.order-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 0.6rem;
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.4rem;
  align-items: start;
}

@media (min-width: 860px) {
  .order-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.6rem;
  }
}

/* Summary card */
.order-summary {
  background: var(--ink);
  color: #fbf5e8;
  border: 2px dashed var(--amber-pale);
  border-radius: 6px;
  padding: 1.8rem 1.6rem;
  position: sticky;
  top: 1.5rem;
}

.order-summary__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-pale);
  margin-bottom: 0.6rem;
}

.order-summary__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.2rem;
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(251, 245, 232, 0.22);
  font-size: 0.92rem;
  color: rgba(251, 245, 232, 0.78);
}

.order-summary__row .strikethrough {
  opacity: 0.6;
}

.order-summary__row--total {
  border-bottom: none;
  padding-top: 0.9rem;
  align-items: baseline;
  color: #fff;
  font-weight: 600;
}

.order-summary__price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
}

.order-summary__note {
  font-size: 0.85rem;
  color: rgba(251, 245, 232, 0.7);
  margin-top: 0.3rem;
}

.order-summary__perks {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(251, 245, 232, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: rgba(251, 245, 232, 0.82);
}

/* Form card */
.order-form-wrap {
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 1.8rem 1.6rem 2rem;
}

.order-form__group {
  border: 0;
  margin: 0 0 1.6rem;
  padding: 0;
}

.order-form__group legend {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-deep);
  padding: 0 0 0.8rem;
}

.order-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .order-form__row {
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  }
}

.order-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.order-field--small {
  max-width: 8rem;
}

.order-field input,
.order-field textarea {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px dashed var(--line-strong);
  border-radius: 4px;
  padding: 0.75rem 0.85rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.order-field input:focus,
.order-field textarea:focus {
  border-color: var(--amber);
  background: var(--paper-2);
}

.order-field textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.order-form__botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.order-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0.4rem 0 1.4rem;
}

.order-consent input {
  margin-top: 0.25rem;
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--amber-deep);
}

.order-form__submit {
  margin-top: 0;
}

.order-form__status {
  margin-top: 1rem;
  font-size: 0.88rem;
  min-height: 1.2rem;
}

.order-form__status--error {
  color: var(--rust);
}

.order-form__status--error a {
  color: var(--rust);
  text-decoration-thickness: 1px;
}

.order-form__fineprint {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* Success panel */
.order-success {
  text-align: center;
  background: var(--paper-2);
  border: 2px dashed var(--basil);
  border-radius: 6px;
  padding: 2.6rem 1.8rem;
}

.order-success__seal {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--basil);
  color: #fbf5e8;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-success h3 {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
}

.order-success p {
  max-width: 46ch;
  margin: 0 auto 1.4rem;
}

.link-back {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Home-only old logo page leftover safety */
.home {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}


/* ── Cookie consent bar + compliance footer bits ───────────────────────── */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.4rem;
  padding: 0.95rem 1.2rem calc(0.95rem + env(safe-area-inset-bottom));
  background: var(--ink);
  color: rgba(251, 245, 232, 0.92);
  border-top: 3px solid var(--amber);
  box-shadow: 0 -10px 30px rgba(36, 23, 8, 0.28);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cookie-bar[hidden] { display: none; }

.cookie-bar__text {
  flex: 1 1 min(560px, 100%);
  max-width: 720px;
}

.cookie-bar__text a { color: var(--amber-pale); text-decoration: underline; }

.cookie-bar__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.cookie-bar__btn {
  appearance: none;
  border: 1px solid var(--amber);
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease);
}

.cookie-bar__btn:hover { transform: translateY(-1px); }

.cookie-bar__btn--ghost {
  background: transparent;
  color: rgba(251, 245, 232, 0.9);
  border-color: rgba(251, 245, 232, 0.42);
}

@media (max-width: 560px) {
  .cookie-bar { justify-content: flex-start; }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__btn { flex: 1 1 auto; }
}

.footer-legal-line {
  margin-top: 0.9rem;
  color: rgba(251, 245, 232, 0.62);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  line-height: 1.6;
  text-align: center;
}

.footer-legal-line a { color: rgba(251, 245, 232, 0.62); text-decoration: underline; }

.link-inherit { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* While the consent bar is open, keep the sticky CTA down so the two fixed
   bars never stack on top of each other on mobile. */
body.db-consent-open .site-cta-bar {
  transform: translateY(110%) !important;
}

/* ── Validazione modulo d'ordine ───────────────────────────────────────── */
.order-field--invalid input,
.order-field--invalid textarea {
  border-color: var(--rust);
  border-style: solid;
  background: rgba(162, 62, 43, 0.05);
}

.order-field__error {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--rust);
}

.order-consent--invalid {
  color: var(--rust);
}

.order-consent--invalid input {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.order-form__submit.is-busy {
  opacity: 0.7;
  cursor: progress;
}

/* ── Pagina di ringraziamento ──────────────────────────────────────────── */
.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.thanks__seal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  width: 8.4rem;
  height: 8.4rem;
  margin-bottom: 0.4rem;
  border-radius: 50%;
  background: var(--basil);
  color: var(--paper-2);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--basil);
}

.thanks__seal-mark {
  font-size: 2.1rem;
  line-height: 1;
}

.thanks__seal-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.thanks__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.thanks__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.thanks__lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.thanks__recap {
  width: 100%;
  margin-top: 1.2rem;
  padding: 1.3rem 1.4rem;
  text-align: left;
  background: var(--paper-2);
  border: 1.5px dashed var(--line-strong);
  border-radius: 6px;
}

.thanks__recap[hidden] { display: none; }

.thanks__recap-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 0.9rem;
}

.thanks__recap-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.thanks__recap-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dotted var(--line);
}

.thanks__recap-row:last-child { border-bottom: 0; padding-bottom: 0; }

.thanks__recap-row dt {
  font-size: 0.82rem;
  color: var(--muted);
}

.thanks__recap-row dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.thanks__steps {
  width: 100%;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.9rem;
  text-align: left;
}

@media (min-width: 720px) {
  .thanks__steps { grid-template-columns: repeat(3, 1fr); }
}

.thanks__step {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.thanks__step-num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.thanks__step strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.thanks__step p {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.thanks__note {
  width: 100%;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--amber-pale);
  border-left: 4px solid var(--amber);
  border-radius: 0 6px 6px 0;
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.4rem;
  margin-top: 1.8rem;
}

.thanks__link {
  font-size: 0.88rem;
  font-weight: 600;
}
