@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --color-bg: #F7F3EE;
  --color-bg-alt: #EDE8E0;
  --color-bg-dark: #1A1917;
  --color-bg-mid: #2C2A26;
  --color-text: #2C2A26;
  --color-text-muted: #6B6560;
  --color-primary: #C85A3C;
  --color-primary-dark: #A84830;
  --color-sage: #6B8C6B;
  --color-sage-dark: #4A6B4A;
  --color-sand: #E8E0D4;
  --color-white: #FDFAF7;
  --color-border: rgba(44,42,38,0.12);
  --nav-h: 72px;
  --radius-card: 16px;
  --radius-btn: 50px;
  --font-display: 'Libre Caslon Display', Georgia, serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --shadow-card: 0 2px 24px rgba(44,42,38,0.08);
  --shadow-card-hover: 0 8px 40px rgba(44,42,38,0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  padding-top: var(--nav-h);
  overflow-x: hidden;
  line-height: 1.65;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.container--narrow {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ── ON-DARK SCOPING ── */
.on-dark { color: rgba(255,255,255,0.82); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255,255,255,0.7); }
.on-dark a:not(.btn) { color: inherit; }
.on-dark .text-muted { color: rgba(255,255,255,0.5); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(44px, 7vw, 96px); }
h2 { font-size: clamp(32px, 5vw, 64px); }
h3 { font-size: clamp(22px, 3vw, 36px); }
h4 { font-size: clamp(18px, 2.2vw, 26px); }

p { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: 16px;
}

.text-muted { color: var(--color-text-muted); }

/* T4 — first letter slightly larger on one headline */
.headline-t4 .first-letter {
  font-size: 1.3em;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
}

/* ── BUTTONS (B2 — pill) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 32px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,90,60,0.32);
}

.btn--sage {
  background: var(--color-sage);
  color: #fff;
}
.btn--sage:hover {
  background: var(--color-sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,140,107,0.32);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--color-bg-dark);
  color: #fff;
}
.btn--dark:hover {
  background: var(--color-bg-mid);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 17px;
}

.btn .spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* ── CARDS (C2 — border only) ── */
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  padding: 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* ── NAV (V2 — solid dark) ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--color-bg-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav__logo span { color: var(--color-primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }

.nav__cta-link {
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── ADVERTORIAL BAR ── */
.adv-bar {
  background: var(--color-sand);
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--color-border);
}

/* ── SECTIONS (S2 — diagonal clip-path) ── */
.section-diagonal {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  padding-block: clamp(80px, 10vw, 140px);
  margin-block: -2px;
}
.section-diagonal-top {
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.section-diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
  padding-bottom: clamp(100px, 12vw, 160px);
  padding-top: clamp(60px, 8vw, 100px);
}

.section { padding-block: clamp(64px, 9vw, 120px); }

/* ── ACUPRESSURE POINT DECORATIONS ── */
.pulse-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.6;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  animation: pulse-ring 2.2s ease-out infinite;
}
.pulse-dot--sage { background: var(--color-sage); }
.pulse-dot--sage::after { border-color: var(--color-sage); }

/* ── HERO (Variant A — Editorial Split) ── */
.hero {
  background: var(--color-bg);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 8vw, 100px);
}

.hero__decor-bg {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 50vw, 680px);
  height: clamp(320px, 50vw, 680px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-sand) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__text-col { padding-right: clamp(0px, 3vw, 40px); }

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-sand);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 28px;
  animation: fade-up 0.8s ease forwards;
  opacity: 0;
}
.hero__label svg { flex-shrink: 0; }

.hero__title {
  color: var(--color-text);
  animation: fade-up 0.8s ease 0.15s forwards;
  opacity: 0;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  animation: fade-up 0.8s ease 0.3s forwards;
  opacity: 0;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fade-up 0.8s ease 0.45s forwards;
  opacity: 0;
}

.hero__price-note {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.hero__price-note strong {
  color: var(--color-text);
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-display);
}

.hero__image-col {
  position: relative;
  animation: fade-up 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero__img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 64px rgba(44,42,38,0.14);
}

.hero__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* floating badges */
.hero__badge {
  position: absolute;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(44,42,38,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  z-index: 10;
  animation: float 3.5s ease-in-out infinite;
}

.hero__badge--1 {
  top: -18px; left: -28px;
  animation-delay: 0s;
}
.hero__badge--2 {
  bottom: 32px; left: -40px;
  animation-delay: 0.8s;
}
.hero__badge--3 {
  top: 50%; right: -32px;
  transform: translateY(-50%);
  animation-delay: 1.4s;
  flex-direction: column;
  align-items: flex-start;
  min-width: 120px;
}

.hero__badge-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__badge-icon svg { width: 18px; height: 18px; }

.hero__badge-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.hero__badge-text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ── MARQUEE ── */
.marquee-section {
  background: var(--color-bg-dark);
  padding-block: 18px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: 36px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.marquee-item::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-left: 36px;
}

/* ── PROBLEM SECTION ── */
.problem {
  background: var(--color-bg-alt);
  padding-block: clamp(72px, 10vw, 120px);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.problem__intro h2 { margin-bottom: 24px; }
.problem__intro p { color: var(--color-text-muted); margin-bottom: 32px; }

.problem__symptoms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.symptom-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 20px;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.symptom-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.symptom-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.symptom-card__icon svg { width: 20px; height: 20px; }

.symptom-card__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.symptom-card__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── ARTICLE ADVERTORIAL ── */
.article {
  background: var(--color-bg);
  padding-block: clamp(64px, 9vw, 120px);
}

.article__inner {
  display: grid;
  grid-template-columns: 680px 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.article__body h3 {
  font-size: clamp(20px, 2.5vw, 30px);
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text);
}
.article__body h3:first-child { margin-top: 0; }

.article__body p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.article__body p strong { color: var(--color-text); font-weight: 600; }

.article__callout {
  background: var(--color-sand);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.article__callout p {
  font-size: 16px;
  font-style: italic;
  color: var(--color-text);
  margin: 0;
}

.article__sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.article__sidebar-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-white);
}

.article__sidebar-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.article__sidebar-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.article__sidebar-body {
  padding: 24px;
}
.article__sidebar-body h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.article__sidebar-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.article__warning {
  background: #FFF8F0;
  border: 1px solid rgba(200,90,60,0.25);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 24px;
}
.article__warning p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}
.article__warning strong { color: var(--color-primary); }

/* ── HOW IT WORKS — Reflexology Map ── */
.how-it-works {
  background: var(--color-bg-dark);
  padding-block: clamp(72px, 10vw, 130px);
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.how-it-works__img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.how-it-works__img {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  z-index: 1;
}
.how-it-works__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* pulsing acupoints overlay */
.acupoint {
  position: absolute;
  z-index: 10;
}
.acupoint__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
  cursor: pointer;
}
.acupoint__dot::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  animation: pulse-ring 2s ease-out infinite;
}
.acupoint__dot--sage { background: var(--color-sage); }
.acupoint__dot--sage::before { border-color: var(--color-sage); animation-delay: 0.6s; }

.acupoint__label {
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  background: rgba(26,25,23,0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.acupoint:hover .acupoint__label { opacity: 1; }

.how-it-works__steps { padding-left: clamp(0px, 2vw, 24px); }

.how-it-works__steps h2 {
  color: #fff;
  margin-bottom: 16px;
}

.how-it-works__steps > p {
  color: rgba(255,255,255,0.62);
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.step-item:last-child { margin-bottom: 0; }

.step-item__num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--color-primary);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}

.step-item__text h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.step-item__text p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ── BENEFITS / STATS (N2 — stat cards) ── */
.benefits {
  background: var(--color-bg);
  padding-block: clamp(72px, 10vw, 120px);
}

.benefits__header {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.benefits__header h2 { margin-bottom: 20px; }
.benefits__header p { color: var(--color-text-muted); }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.benefit-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  background: var(--color-white);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.benefit-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.benefit-card__num {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.benefit-card__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.benefit-card__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.benefit-card__bg-num {
  position: absolute;
  bottom: -10px; right: 8px;
  font-family: var(--font-display);
  font-size: 90px;
  color: rgba(200,90,60,0.045);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ── MATERIALS / FEATURES ROW ── */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  background: var(--color-white);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-item:hover {
  border-color: var(--color-sage);
  transform: translateY(-3px);
}

.feature-item__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item__icon svg { width: 22px; height: 22px; }

.feature-item__text h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}
.feature-item__text p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── RITUAL SECTION ── */
.ritual {
  background: var(--color-bg-alt);
  padding-block: clamp(72px, 10vw, 120px);
}

.ritual__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}
.ritual__header h2 { margin-bottom: 16px; }
.ritual__header p { color: var(--color-text-muted); }

.ritual__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ritual-card {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-white);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 280px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ritual-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card-hover);
}

.ritual-card__img {
  position: relative;
  overflow: hidden;
}
.ritual-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ritual-card:hover .ritual-card__img img { transform: scale(1.04); }

.ritual-card__body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ritual-card__time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.ritual-card__body h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--color-text);
  margin-bottom: 12px;
}
.ritual-card__body p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── COMPARISON TABLE ── */
.comparison {
  background: var(--color-bg-dark);
  padding-block: clamp(72px, 10vw, 120px);
}

.comparison__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(48px, 6vw, 64px);
}
.comparison__header h2 { color: #fff; margin-bottom: 16px; }
.comparison__header p { color: rgba(255,255,255,0.6); }

.table-scroll {
  max-width: 820px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: #fff;
}

.spec-table th, .spec-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  font-family: var(--font-body);
}

.spec-table thead th {
  background: var(--color-bg-mid);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.spec-table__label {
  background: #f9f9f7;
  font-weight: 600;
  text-align: left !important;
  color: var(--color-text);
}

.spec-table__hl {
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
}

.spec-table thead th.spec-table__hl { background: var(--color-primary); }

.spec-table tbody tr:last-child td,
.spec-table tbody tr:last-child th { border-bottom: none; }

/* check/cross icons */
.check-yes { color: var(--color-sage); font-size: 18px; }
.check-no { color: #ccc; font-size: 18px; }

/* ── PRODUCT BLOCK / ORDER ── */
.product-block {
  background: var(--color-bg);
  padding-block: clamp(72px, 10vw, 120px);
}

.product-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.product-block__img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.product-block__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.product-block__body h2 { margin-bottom: 20px; }

.product-block__price {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.product-block__price-note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.product-block__features {
  list-style: none;
  margin-bottom: 36px;
}
.product-block__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.product-block__features li:first-child { border-top: 1px solid var(--color-border); }

.product-block__features li svg {
  width: 18px; height: 18px;
  color: var(--color-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-block__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-block__shipping {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-block__shipping svg { width: 16px; height: 16px; color: var(--color-sage); }

/* ── FAQ ── */
.faq {
  background: var(--color-bg-alt);
  padding-block: clamp(64px, 9vw, 110px);
}

.faq__header {
  max-width: 540px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.faq__header h2 { margin-bottom: 16px; }
.faq__header p { color: var(--color-text-muted); }

.faq__list { max-width: 760px; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: 12px;
  background: var(--color-white);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.faq--open { border-color: var(--color-primary); }

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-item__question h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  flex: 1;
}

.faq-item__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.3s;
}
.faq-item.faq--open .faq-item__icon {
  background: var(--color-primary);
  transform: rotate(45deg);
}
.faq-item__icon svg { width: 14px; height: 14px; color: var(--color-text); transition: color 0.25s; }
.faq-item.faq--open .faq-item__icon svg { color: #fff; }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  padding: 0 24px;
}
.faq-item.faq--open .faq-item__answer {
  max-height: 400px;
  padding: 0 24px 22px;
}
.faq-item__answer p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── STICKY CTA ── */
.sticky-cta {
  position: fixed;
  bottom: -80px;
  left: 0; right: 0;
  background: var(--color-bg-dark);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 900;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.sticky-cta--visible { bottom: 0; }

.sticky-cta__text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.sticky-cta__text strong { color: #fff; }

/* ── PHOTO PLACEHOLDER ── */
.photo-placeholder {
  background: linear-gradient(135deg, #ff6eb4, #ff3d9a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border-radius: inherit;
}
.photo-placeholder__icon { font-size: 32px; }
.photo-placeholder__label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: sans-serif;
  text-align: center;
  padding: 0 16px;
}

/* ── FOOTER ── */
.footer {
  background: var(--color-bg-mid);
  padding-block: clamp(48px, 7vw, 80px) 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
}

.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.footer__brand h3 span { color: var(--color-primary); }

.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer__contact-info {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}
.footer__contact-info a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.footer__contact-info a:hover { color: #fff; }
.footer__contact-info strong { color: rgba(255,255,255,0.8); }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer__vat {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 620px;
  width: calc(100% - 40px);
  background: var(--color-bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 24px 28px;
  z-index: 9999;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  display: none;
}
.cookie-banner.active { display: block; }

.cookie-banner h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.55;
}
.cookie-banner a { color: var(--color-primary); text-decoration: none; }

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.cookie-banner__actions button {
  flex: 1;
  min-width: 120px;
  padding: 11px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
}
.cookie-btn-accept { background: var(--color-primary); color: #fff; }
.cookie-btn-accept:hover { background: var(--color-primary-dark); }
.cookie-btn-reject { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.cookie-btn-reject:hover { background: rgba(255,255,255,0.18); }
.cookie-btn-config { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2) !important; }
.cookie-btn-config:hover { background: rgba(255,255,255,0.06); }

.cookie-config-panel {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-config-panel.active { display: block; }

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.cookie-toggle-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.cookie-toggle-label span { color: rgba(255,255,255,0.4); font-size: 11px; display: block; }

.cookie-toggle {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}
.cookie-toggle.on { background: var(--color-sage); }
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
}
.cookie-toggle.on::after { transform: translateX(18px); }
.cookie-toggle:disabled { opacity: 0.5; cursor: not-allowed; }

.cookie-save-btn {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  border-radius: 50px;
  background: var(--color-sage);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.cookie-save-btn:hover { background: var(--color-sage-dark); }

/* ── CHECKOUT PAGE ── */
.checkout-page {
  background: var(--color-bg);
  min-height: calc(100vh - var(--nav-h));
  padding-block: 48px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

.checkout-form-col {
  order: 1;
}

.checkout-summary-col {
  order: 2;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

/* Summary */
.order-summary {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  overflow: hidden;
}

.order-summary__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.order-summary__header h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}
.order-summary__toggle {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
}

.order-summary__body { padding: 20px 24px; }

.order-item {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.order-item__img {
  width: 72px; height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}
.order-item__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.order-item__info { flex: 1; }
.order-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.order-item__qty {
  font-size: 13px;
  color: var(--color-text-muted);
}
.order-item__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
}

.order-totals { border-top: 1px solid var(--color-border); padding-top: 16px; margin-top: 4px; }
.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.order-total-row strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
}

.seller-block {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  padding: 20px 24px;
  margin-top: 16px;
}
.seller-block h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.seller-block p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}
.seller-block a { color: var(--color-primary); text-decoration: none; }

.order-terms-box {
  background: var(--color-sand);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.order-terms-box strong { color: var(--color-text); }

/* Form sections */
.checkout-section {
  margin-bottom: 36px;
}

.checkout-section h2 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row--full { grid-template-columns: 1fr; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-field:last-child { margin-bottom: 0; }

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.form-field input,
.form-field select {
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(200,90,60,0.1);
}
.form-field input.input-error,
.form-field select.input-error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

.form-field .field-error {
  font-size: 12px;
  color: #e53e3e;
  display: none;
}
.form-field .field-error.visible { display: block; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  margin-top: 2px;
  cursor: pointer;
}
.form-checkbox label {
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox a { color: var(--color-primary); text-decoration: none; }

.cod-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-sand);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  width: 100%;
}
.cod-badge svg { width: 24px; height: 24px; color: var(--color-sage); flex-shrink: 0; }
.cod-badge-text { font-size: 14px; }
.cod-badge-text strong { display: block; font-weight: 700; color: var(--color-text); }
.cod-badge-text span { font-size: 12px; color: var(--color-text-muted); }

.checkout-submit {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-btn);
  font-size: 17px;
  font-weight: 700;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.checkout-submit:hover:not(:disabled) {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,90,60,0.3);
}
.checkout-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,25,23,0.7);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--color-white);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal { transform: translateY(0); }

.modal__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.modal__icon svg { width: 36px; height: 36px; color: var(--color-sage); }

.modal h3 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--color-text);
  margin-bottom: 14px;
}
.modal p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.stagger-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-visible .stagger-item,
.stagger-item.stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── KEYFRAMES ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.0); opacity: 0; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
  .article__inner { grid-template-columns: 1fr; }
  .article__sidebar { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary-col { order: -1; position: static; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--color-bg-dark);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav__links--open {
    max-height: 400px;
  }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 15px;
  }
  .nav__burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__image-col { order: -1; }
  .hero__badge--2, .hero__badge--3 { display: none; }

  .problem__grid { grid-template-columns: 1fr; }
  .problem__symptoms { grid-template-columns: 1fr 1fr; }

  .how-it-works__grid { grid-template-columns: 1fr; }

  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: 1fr; }

  .ritual__grid { grid-template-columns: 1fr; }
  .ritual-card { grid-template-columns: 1fr; min-height: auto; }
  .ritual-card__img { min-height: 200px; }

  .product-block__inner { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .form-row { grid-template-columns: 1fr; }

  .sticky-cta { flex-direction: column; gap: 10px; padding: 16px 20px; }
}

@media (max-width: 480px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .problem__symptoms { grid-template-columns: 1fr; }
  .hero__badge--1 { display: none; }
}

/* Progressive-enhancement safety (injected by builder): scroll-reveal blocks stay VISIBLE
   unless JS confirms it can animate them by adding .js-anim to <html>. Guarantees a
   truncated page or a failed script can never leave content permanently hidden. */
html:not(.js-anim) .reveal,
html:not(.js-anim) .reveal-left,
html:not(.js-anim) .reveal-right,
html:not(.js-anim) .reveal-scale,
html:not(.js-anim) .stagger-child {
  opacity: 1 !important;
  transform: none !important;
}

/* ══════════════════════════════════════════════
   BLOG — indice editoriale numerato (prefisso .jrn)
   ══════════════════════════════════════════════ */
.jrn {
  position: relative;
  background: var(--color-bg-alt);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(100px, 12vw, 160px);
}
/* cuneo sotto la diagonale della sezione scura precedente */
.jrn::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -90px;
  height: 90px;
  background: var(--color-bg-alt);
  z-index: -1;
}
/* diagonale inferiore verso "benefici" */
.jrn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: clamp(36px, 5vw, 72px);
  background: var(--color-bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}
.jrn__head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.jrn__head h2 { color: var(--color-text); margin-bottom: 16px; }
.jrn__head h2 em { font-style: italic; color: var(--color-primary); }
.jrn__head p { color: var(--color-text-muted); max-width: 560px; }

.jrn__list { list-style: none; border-bottom: 1px solid var(--color-border); }
.jrn__item { border-top: 1px solid var(--color-border); }

.jrn__row {
  display: grid;
  grid-template-columns: clamp(72px, 10vw, 132px) minmax(0, 1fr) clamp(200px, 27vw, 320px);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(22px, 3vw, 36px);
  color: inherit;
  text-decoration: none;
}
.jrn__num {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200, 90, 60, 0.55);
  transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease;
}
.jrn__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; transition: transform 0.35s ease; }
.jrn__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.jrn__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  background: rgba(107, 140, 107, 0.16);
  border-radius: var(--radius-btn);
  padding: 5px 12px;
}
.jrn__time { font-size: 13px; color: var(--color-text-muted); }
.jrn__title {
  font-size: clamp(22px, 2.8vw, 34px);
  color: var(--color-text);
  transition: color 0.3s ease;
}
.jrn__excerpt {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 520px;
}
.jrn__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 4px;
}
.jrn__cta span { display: inline-block; transition: transform 0.3s ease; }
.jrn__img {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-sand);
  border-radius: var(--radius-card);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.jrn__img img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.jrn__row:hover .jrn__num,
.jrn__row:focus-visible .jrn__num { color: var(--color-primary); -webkit-text-stroke-color: var(--color-primary); }
.jrn__row:hover .jrn__body,
.jrn__row:focus-visible .jrn__body { transform: translateX(8px); }
.jrn__row:hover .jrn__title,
.jrn__row:focus-visible .jrn__title { color: var(--color-primary); }
.jrn__row:hover .jrn__cta span,
.jrn__row:focus-visible .jrn__cta span { transform: translateX(5px); }
.jrn__row:hover .jrn__img img,
.jrn__row:focus-visible .jrn__img img { transform: scale(1.06); }
.jrn__row:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; border-radius: 8px; }

@media (max-width: 860px) {
  .jrn__row { grid-template-columns: 64px minmax(0, 1fr) 190px; }
  .jrn__num { font-size: 48px; }
}
@media (max-width: 640px) {
  .jrn__row {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .jrn__img { order: -1; aspect-ratio: 16 / 10; }
  .jrn__num {
    position: absolute;
    z-index: 2;
    top: clamp(30px, 5vw, 40px);
    left: 14px;
    font-size: 34px;
    color: var(--color-white);
    -webkit-text-stroke: 0;
    text-shadow: 0 2px 10px rgba(26, 25, 23, 0.55);
  }
  .jrn__row:hover .jrn__num, .jrn__row:focus-visible .jrn__num { color: var(--color-white); }
  .jrn__row:hover .jrn__body, .jrn__row:focus-visible .jrn__body { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jrn__num, .jrn__body, .jrn__title, .jrn__cta span, .jrn__img img { transition: none; }
  .jrn__row:hover .jrn__body, .jrn__row:hover .jrn__cta span, .jrn__row:hover .jrn__img img,
  .jrn__row:focus-visible .jrn__body, .jrn__row:focus-visible .jrn__cta span, .jrn__row:focus-visible .jrn__img img { transform: none; }
}

/* ══════════════════════════════════════════════
   ARTICOLI DEL BLOG (prefisso .jra)
   ══════════════════════════════════════════════ */
.jra-hero {
  background: var(--color-bg-dark);
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
}
.jra-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-bottom: 22px;
  transition: color 0.25s ease;
}
.jra-back:hover { color: var(--color-primary); }
.jra-hero .eyebrow { color: var(--color-sage); }
.jra-hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  color: #fff;
  margin-bottom: 20px;
}
.jra-hero h1 em { font-style: italic; color: var(--color-primary); }
.jra-meta { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

.jra-article {
  background: var(--color-bg);
  padding: 0 0 clamp(64px, 9vw, 120px);
}
.jra-fig {
  margin: 28px 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-sand);
  box-shadow: var(--shadow-card);
}
.jra-fig img { display: block; width: 100%; height: auto; }
.jra-fig--lead {
  position: relative;
  margin: calc(-1 * clamp(36px, 5vw, 64px)) 0 clamp(36px, 5vw, 56px);
  box-shadow: var(--shadow-card-hover);
}
.jra-sec { margin-bottom: clamp(32px, 4.5vw, 48px); }
.jra-sec h2 {
  font-size: clamp(25px, 3.2vw, 36px);
  color: var(--color-text);
  margin-bottom: 16px;
  padding-left: 18px;
  border-left: 3px solid var(--color-primary);
}
.jra-sec p, .jra-sec li {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--color-text);
}
.jra-sec p { margin-bottom: 16px; }
.jra-sec ul { margin: 0 0 18px 22px; }
.jra-sec li { margin-bottom: 8px; }
.jra-sec li::marker { color: var(--color-primary); }
.jra-sec strong { font-weight: 600; }
.jra-note {
  background: var(--color-white);
  border-left: 4px solid var(--color-sage);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 20px 24px;
  margin: 0 0 40px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}
.jra-next { border-top: 1px solid var(--color-border); padding-top: 24px; }
.jra-next p { font-size: 16px; line-height: 1.7; }
.jra-next p + p { margin-top: 8px; }
.jra-next a { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.jra-next a:hover { color: var(--color-primary-dark); }
