/*
Theme Name: Guide Italia LP
Description: Landing page italiana, anteprima per revisione. Installare solo sul sito corretto.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: guide-italia-lp
*/
/* Local owner-review implementation. No external font, image or script requests.
   Visual contract: 09_CANONE_VISIVO_E_CONTRATTO_SITES.md.
   Product pages and M01–M13 assets are never cropped or repainted here. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --cream: #f7f6ef;
  --beige: #e6e2cf;
  --text: #202b26;
  --heading-green: #087b3e;
  --olive: #626c48;
  --dark-green: #315b4e;
  --cta-green: #237b3b;
  --price-green: #218000;
  --light-green: #b4ed75;
  --gray: #e4e4e2;
  --yellow: #ebc344;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: clamp(17px, 2.5vw, 19px);
  line-height: 1.5;
  overflow-wrap: break-word;
}
main, section, header, footer, aside { min-width: 0; }
button, summary { font: inherit; }
a { color: inherit; }
p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 24px; text-wrap: balance; }
h1 {
  color: var(--heading-green);
  font-size: clamp(32px, 8vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h2 {
  color: var(--heading-green);
  font-size: clamp(28px, 7vw, 34px);
  line-height: 1.18;
  font-weight: 750;
  letter-spacing: -0.018em;
  text-align: center;
}
h3 { font-size: 22px; line-height: 1.3; }
.content-width { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.text-width { width: min(720px, calc(100% - 40px)); margin-inline: auto; }
.content-width .text-width, .text-width .text-width { width: min(720px, 100%); }
.section-space { padding-block: clamp(40px, 6vw, 56px); }
.asset-frame { margin: 0 auto 28px; }
.asset { display: block; width: 100%; height: auto; object-fit: contain; }
.caption { font-size: 15px; line-height: 1.5; }

/* S00: in normal flow, outside the commercial offer. */
.owner-bar {
  padding-block: 16px;
  background: var(--cream);
  color: var(--text);
  border-bottom: 1px solid var(--beige);
  font-size: 15px;
  text-align: center;
}
.owner-title { font-weight: 750; margin-bottom: 4px; }
.owner-bar p:last-child { margin-bottom: 0; }

/* S01–S02: centered opening, then full-width olive demonstration. */
.hero { text-align: center; }
.hero h1 { max-width: 800px; margin-inline: auto; }
.hero-lead { font-size: clamp(18px, 3vw, 21px); margin-bottom: 30px; }
.hero-asset { max-width: 840px; }
.identity { font-family: var(--serif); font-size: 20px; }
.down-arrow {
  display: block;
  width: 36px;
  height: 49px;
  margin: 28px auto 0;
  background: var(--olive);
  clip-path: polygon(37% 0, 63% 0, 63% 60%, 100% 60%, 50% 100%, 0 60%, 37% 60%);
}
.intro { background: var(--olive); color: var(--white); text-align: center; }
.intro h2 { color: var(--white); }
.intro-asset { max-width: 760px; }
.arrow-white { background: var(--white); }
.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding: 22px 24px 22px 68px;
  background: var(--white);
  color: var(--text);
  border-radius: 24px;
  text-align: left;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 26px;
  width: 11px;
  height: 19px;
  border-right: 4px solid var(--heading-green);
  border-bottom: 4px solid var(--heading-green);
  transform: rotate(45deg);
}

/* S03–S07: four consecutive demonstrations, never a category grid. */
.category-heading { text-align: center; padding-bottom: 24px; }
.category { padding-top: 24px; }
.category-asset {
  max-width: 780px;
  /* Beige device base belongs to the accepted M03–M06 composition itself. */
}
.category p { text-align: center; }
.category-list { margin: 24px 0 0; padding-left: 24px; }
.category-list li { padding-left: 3px; margin-bottom: 16px; }
.category-list li:last-child { margin-bottom: 0; }

/* S08: large stacked grey boxes and the only active CTA. */
.quick-tables { text-align: center; }
.tables-asset { max-width: 800px; margin-block: 30px; }
.reference-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reference-list li {
  padding: 25px 24px;
  background: var(--gray);
  color: var(--text);
  border-radius: 24px;
  font-weight: 650;
}
.limit-note { margin-block: 28px; }
.button {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 18px 24px;
  border: 2px solid transparent;
  border-radius: 24px;
  background: var(--cta-green);
  color: var(--white);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
a.button:hover { background: var(--dark-green); }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 5px;
  box-shadow: 0 0 0 3px var(--white);
}

/* S09–S13: four separate vertical bonus cards with accepted images. */
.bonus-intro { text-align: center; padding-top: 24px; }
.gift-asset { width: min(240px, 75%); margin-bottom: 28px; }
.bonus-section { padding-bottom: 32px; }
.bonus-card {
  padding: 24px;
  border-radius: 28px;
  background: var(--dark-green);
  color: var(--white);
  text-align: center;
}
.bonus-asset { max-width: 800px; margin-bottom: 24px; }
.bonus-copy { max-width: 720px; margin-inline: auto; }
.bonus-card h2 { color: var(--white); }
.eyebrow { font-size: 20px; font-weight: 750; margin-bottom: 16px; }
.inclusion-label { color: var(--light-green); font-weight: 750; font-size: 21px; margin-top: 26px; }

/* S14: DOM order 1,2,3,4; visual serpentine 1–2 / 4–3. */
.access { background: var(--dark-green); color: var(--white); text-align: center; }
.access h2 { color: var(--white); }
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "one two" "four three";
  gap: 28px;
  text-align: center;
}
.step {
  position: relative;
  min-width: 0;
  padding: 20px 14px;
  background: var(--white);
  color: var(--text);
  border-radius: 22px;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.step-1 { grid-area: one; }
.step-2 { grid-area: two; }
.step-3 { grid-area: three; }
.step-4 { grid-area: four; }
.step-heading { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.step-number { font-weight: 800; }
.step-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  fill: none;
  stroke: var(--heading-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-1::after, .step-2::after, .step-3::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 20px;
  background: var(--yellow);
  clip-path: polygon(0 30%, 60% 30%, 60% 0, 100% 50%, 60% 100%, 60% 70%, 0 70%);
  pointer-events: none;
}
.step-1::after { right: -27px; top: calc(50% - 10px); }
.step-2::after { left: calc(50% - 12px); bottom: -24px; transform: rotate(90deg); }
.step-3::after { left: -27px; top: calc(50% - 10px); transform: rotate(180deg); }

/* S15: beige section, olive heading and one white hierarchical list. */
.recap { background: var(--beige); }
.recap-card { border-radius: 28px; background: var(--white); }
.recap-card > h2 {
  padding: 28px 24px;
  margin-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: var(--olive);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: normal;
}
.recap-body { padding: 28px; }
.recap-body ul { margin: 0; padding-left: 22px; }
.recap-body li { padding-left: 6px; margin-bottom: 28px; }
.recap-body li:last-child { margin-bottom: 0; }
.recap-body h3 { color: var(--text); margin-bottom: 12px; }

/* S16: white offer inside dark green frame; owner note outside both. */
.offer-frame { padding: 22px; border-radius: 28px; background: var(--dark-green); }
.offer-card { padding: 30px; border-radius: 24px; background: var(--white); text-align: center; }
.offer-asset { margin-bottom: 30px; }
.offer-card h2 { color: var(--dark-green); font-family: var(--serif); letter-spacing: normal; }
.offer-price-block { margin-top: 28px; padding-block: 28px; border-top: 2px dotted var(--olive); }
.price { margin-bottom: 18px; color: var(--price-green); font-size: clamp(56px, 13vw, 80px); font-weight: 800; line-height: 1.1; }
.guarantee { font-size: 19px; font-weight: 700; color: var(--text); }
.offer-action { padding-top: 28px; border-top: 2px dotted var(--olive); }
.purchase-button:disabled { opacity: 1; cursor: not-allowed; background: var(--cta-green); color: var(--white); }
.owner-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--cream);
  color: var(--text);
  border-left: 4px solid var(--olive);
  font-size: 15px;
  line-height: 1.5;
}

/* S17–S18: native keyboard disclosure; no JavaScript or forms. */
.faq { padding-top: 0; }
.faq details { padding-block: 18px; border-bottom: 1px solid var(--beige); }
.faq summary {
  min-height: 44px;
  padding-block: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}
.faq summary::marker { color: var(--heading-green); }
.faq-answer { padding-top: 14px; }
.educational-footer { padding-block: 32px; background: var(--cream); color: var(--text); font-size: 16px; text-align: center; }
.educational-footer h2 { font-size: 22px; color: var(--text); margin-bottom: 16px; }

@media (max-width: 480px) {
  .bonus-card { padding: 20px 16px 28px; }
  .offer-frame { padding: 12px; }
  .offer-card { padding: 24px 16px; }
  .recap-body { padding: 24px 20px; }
  .reference-list li { padding: 22px 20px; }
  .check-list li { padding: 20px 18px 20px 56px; }
  .check-list li::before { left: 20px; top: 24px; }
}
@media (min-width: 800px) {
  h1 { font-size: 48px; }
  .bonus-card { padding: 32px 40px 40px; }
  .step { padding: 28px 24px; }
  .step-icon { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) {
  .button, .step, .check-list li, .reference-list li, .bonus-card, .offer-frame { border: 1px solid CanvasText; }
  .down-arrow, .step::after { background: CanvasText; }
}

/* Offline revision: reference-inspired S16; verified commercial facts only. */
.offer-section .offer-frame { max-width: 760px; margin-inline: auto; padding: 0; border: 1px solid #57472d; border-radius: 28px; background: #fbf8ef; box-shadow: 0 12px 26px #302a2012; overflow: hidden; }
.offer-section .offer-card { padding: clamp(24px,5vw,48px); border-radius: 28px; background: #fbf8ef; }
.offer-section .offer-asset { max-width: 520px; margin: 0 auto 24px; }
.offer-section .offer-card h2 { color: #936300; font-size: clamp(25px,5vw,37px); line-height: 1.15; }
.offer-contents { list-style: none; text-align: left; margin: 24px auto; padding: 0; max-width: 570px; font-size: 16px; line-height: 1.55; }
.offer-contents li { position: relative; padding-left: 24px; margin: 9px 0; }
.offer-contents li::before { content: '✓'; position: absolute; left: 0; color: #14763d; font-weight: 800; }
.offer-section .offer-price-block { border: 0; padding: 12px 0 0; margin-top: 20px; }
.offer-section .price { color: #078c44; font-size: clamp(52px,10vw,72px); margin-bottom: 14px; }
.offer-section .offer-action { border: 0; padding-top: 18px; }
.offer-section .purchase-button { background: #ffbd08; color: #192a1b; border-radius: 16px; border: 1px solid #e0a200; box-shadow: 0 4px 0 #df9d00; max-width: 460px; width: 100%; }
.offer-section .purchase-button:hover { background: #ffd044; }
.offer-section .purchase-button:focus-visible { outline: 3px solid #123e32; outline-offset: 5px; }
.inclusion-label { color: #137639; }
@media (max-width: 480px) { .offer-section .offer-card { padding: 22px 18px; } .offer-contents { font-size: 15px; } }

/* User-approved bonus values, separate from the €27 package price. */
.bonus-value { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 10px 16px; margin-top: 26px; }
.bonus-original-price { color: #e5e7e6; font-size: 21px; font-weight: 600; text-decoration-thickness: 2px; }
.bonus-value .inclusion-label { margin: 0; color: #a8f2b9; font-size: 21px; font-weight: 750; }

/* 1.0.3: offer and guarantee, preserving approved palette and commercial terms. */
.offer-width{max-width:850px}.offer-frame{padding:2px;background:var(--dark-green);border-radius:36px;box-shadow:0 20px 65px #315b4e1c}.offer-card{padding:38px 40px 28px;background:var(--cream);border-radius:34px}.offer-kicker{font-size:12px;font-weight:800;letter-spacing:2px;color:var(--dark-green);margin-bottom:20px}.offer-asset{max-width:600px;margin:0 auto 24px;background:transparent;border:0}.offer-card h2{font-family:var(--sans);font-size:clamp(29px,4.5vw,43px);font-weight:850;line-height:1.12;margin-bottom:16px}.offer-subtitle{color:var(--olive);font-size:20px}.offer-bonus-list{list-style:none;margin:30px 0;padding:0;text-align:left}.offer-bonus-list li{display:flex;gap:15px;padding:20px 0;border-top:1px solid #315b4e25}.offer-gift{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--dark-green);color:var(--yellow);font-size:24px}.offer-bonus-list strong{font-size:14px;text-transform:uppercase;letter-spacing:1px;color:var(--dark-green)}.offer-bonus-list p{margin:3px 0 9px;font-size:20px;line-height:1.4}.offer-bonus-value{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:15px}.offer-bonus-value s{color:#697269}.offer-bonus-value span{color:var(--heading-green);font-weight:750}.offer-digital{color:var(--olive);font-size:16px}.offer-price-block{border-top:1px solid #315b4e35;margin-top:24px;padding:26px 0 20px}.offer-price-label{margin:0;font-size:17px}.offer-price-block .price{font-family:var(--sans);font-size:clamp(66px,12vw,88px);font-weight:850;line-height:1.2;letter-spacing:-4px;color:var(--heading-green);margin:8px 0}.offer-price-block .guarantee{font-size:16px}.offer-action{border:0;padding-top:0}.offer-action .purchase-button{width:100%;border-radius:100px;background:var(--cta-green);color:white;font-size:19px;padding:22px 20px;display:flex;align-items:center;justify-content:center;gap:20px;box-shadow:0 6px 0 #174f28}.offer-action .purchase-button:hover{background:#1c6530}.offer-action .purchase-button:focus-visible{outline:3px solid var(--yellow);outline-offset:5px}.offer-trust{padding:0;margin:26px 0 0;display:flex;justify-content:center;gap:20px;list-style:none;font-size:12px;color:var(--olive)}.offer-trust li{display:flex;align-items:center;gap:5px}.offer-trust span{color:var(--dark-green);font-size:20px}.guarantee-section{background:#f7f6ef;padding-top:70px;padding-bottom:70px}.guarantee-layout{max-width:1000px;display:grid;grid-template-columns:260px 1fr;align-items:center;gap:55px}.guarantee-seal{width:100%;height:auto;filter:drop-shadow(0 12px 12px #315b4e24)}.guarantee-copy h2{font-family:var(--sans);font-size:clamp(32px,5vw,48px);line-height:1.1;color:var(--dark-green);margin-bottom:24px}.guarantee-copy h2 span{color:var(--heading-green)}.guarantee-copy p{font-size:20px}.guarantee-copy .eyebrow{font-size:12px;letter-spacing:1.5px}.guarantee-copy .guarantee-fine{font-size:15px;color:var(--olive)}
@media(max-width:600px){.offer-card{padding:26px 20px 24px}.offer-frame{border-radius:28px}.offer-card{border-radius:26px}.offer-kicker{font-size:10px;letter-spacing:1.2px}.offer-subtitle{font-size:17px}.offer-bonus-list p{font-size:18px}.offer-gift{width:28px;height:28px;font-size:19px}.offer-bonus-list li{gap:11px}.offer-action .purchase-button{font-size:17px;padding:19px 14px;gap:9px}.offer-trust{gap:12px;font-size:10px}.offer-trust li{flex-direction:column;text-align:center}.guarantee-layout{grid-template-columns:1fr;gap:28px;text-align:center}.guarantee-seal-wrap{width:190px;margin:auto}.guarantee-copy p{font-size:18px}.guarantee-section{padding-block:52px}}
