:root {
  --ink: #24182e;
  --night: #201529;
  --plum: #633f58;
  --muted: #63576a;
  --paper: #fbf6ee;
  --cream: #f2e7db;
  --line: #d9ccce;
  --gold: #f2cd80;
  --header-height: 76px;
  --serif: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: calc(var(--sticky-header-height, var(--header-height)) + 16px);
}
*, *::after, *::before { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }
:focus-visible { outline: 3px solid #a36e42; outline-offset: 4px; }
.wrap { max-width: 1290px; width: calc(100% - 104px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 10; background: white; padding: 12px; translate: 0 -180%; }
.skip:focus { translate: 0 0; }
.preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 7px 12px; background: #eadceb; color: var(--ink); font-size: 12px; }
.preview select { max-width: 100%; padding: 5px 8px; border: 1px solid #9c859e; background: var(--paper); border-radius: 4px; color: var(--ink); }
.site-header { position: sticky; top: 0; z-index: 8; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 8px; }
.brand { flex: none; }
.brand img { width: 156px; height: auto; }
nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 13px; }
nav a { text-decoration: none; font-weight: 650; }
nav a:hover, .quiet-link:hover { color: #854958; }
.header-action { display: flex; align-items: center; justify-content: flex-end; gap: 17px; }
.clock { text-align: center; color: var(--ink); flex: none; }
.clock-label { display: block; margin-bottom: 3px; font-size: .65rem; font-weight: 650; line-height: 1.1; }
.clock-parts { display: flex; align-items: start; gap: 5px; font-variant-numeric: tabular-nums; line-height: 1; }
.clock-parts span { display: grid; gap: 3px; justify-items: center; }
.clock-parts b { background: #ebdeea; padding: 4px 4px 3px; border-radius: 3px; min-width: 2ch; font-size: .92rem; }
.clock-parts small { font-size: .49rem; font-weight: 600; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; text-align: center; font-size: .9rem; line-height: 1.15; font-weight: 750; transition: background-color .18s, color .18s, box-shadow .18s; }
.button-header { background: var(--ink); color: var(--paper); white-space: nowrap; }
.button-header:hover { background: var(--plum); }
.button-gold { background: var(--gold); color: #201529; }
.button-gold:hover { background: #ffe3a6; box-shadow: 0 3px 18px #f2cd8039; }
.button[aria-disabled="true"] { cursor: default; }
.season-banner {
  background: #35121f;
  background-image: linear-gradient(90deg, #35121f 15%, #35121fbb 40%, transparent 67%),
    url("assets/nastro-prenatalizio.webp");
  background-repeat: no-repeat;
  background-position: center, right 21%;
  background-size: cover, min(74vw, 1000px) auto;
  border-bottom: 1px solid #c99463;
  color: #fff1d7;
}
.season-banner .wrap { min-height: 54px; padding-block: 7px; display: flex; align-items: center; }
.season-banner p {
  max-width: 64%;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
  font: 400 clamp(1.1rem, 2.5vw, 2rem)/1.12 var(--serif);
  letter-spacing: -.03em;
}
.hero { background: radial-gradient(ellipse at 62% 57%, #e6cfd1 0, transparent 55%), linear-gradient(125deg, #f9f0e6 5%, #f1e1e2 100%); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, .87fr) minmax(0, 1fr); grid-template-areas: "copy portrait offer"; gap: clamp(20px, 2.5vw, 44px); align-items: center; padding-block: clamp(45px, 6vw, 93px); }
.hero-copy { grid-area: copy; }
.eyebrow { color: #764857; font-size: .71rem; line-height: 1.4; letter-spacing: .115em; text-transform: uppercase; font-weight: 750; margin: 0 0 14px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 4.6vw, 5rem); line-height: .99; letter-spacing: -.063em; text-wrap: initial; }
h1 em { color: #795164; }
.hero-lead { font-size: clamp(1rem, 1.29vw, 1.15rem); line-height: 1.59; margin-block: 22px 20px; max-width: 43ch; }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: .88rem; font-weight: 700; }
.portrait { grid-area: portrait; text-align: center; position: relative; }
.portrait-frame { padding: 7px; border: 1px solid #9b7486; border-radius: 50% 50% 5px 5px / 38% 38% 5px 5px; background: #fbf3e9; }
.portrait-frame img { border-radius: inherit; width: 100%; height: auto; aspect-ratio: .77; object-fit: cover; object-position: 50% 44%; }
.portrait figcaption { display: grid; padding-top: 11px; gap: 2px; }
.portrait figcaption strong { font: 1.48rem var(--serif); }
.portrait figcaption span { font-size: .74rem; color: var(--muted); }
.offer-card { grid-area: offer; position: relative; background: var(--night); color: var(--paper); border-radius: 7px; padding: clamp(20px, 2.6vw, 37px); box-shadow: 0 18px 50px #4d2d4c31; }
.offer-card::before { content: ""; display: block; height: 2px; background: var(--gold); margin-bottom: 21px; width: 44px; }
.offer-card[data-phase="promotion"] { background: #35121f; }
.offer-card .eyebrow, .closing .eyebrow { color: var(--gold); }
.offer-card h2 { font-size: clamp(1.65rem, 2.46vw, 2.55rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: initial; }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 14px; margin: 17px 0 10px; }
.current-price { font: 400 clamp(3rem, 4.6vw, 4.85rem)/.95 var(--serif); white-space: nowrap; color: var(--gold); letter-spacing: -.06em; }
.original-price { display: grid; gap: 2px; font-size: .68rem; color: #e6d5e2; }
.original-price s { font-size: .95rem; }
.offer-card [data-offer-deadline] { margin-top: 12px; color: #f4e8f0; font-size: .9rem; line-height: 1.55; }
.offer-card > .button, .payment-options { margin-top: 19px; width: 100%; }
.payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.payment-options .button { flex-direction: column; gap: 4px; padding: 10px 6px; font-size: .8rem; }
.payment-options .button span { font-size: .73rem; font-weight: 600; }
.checkout-note { font-size: .73rem; margin-top: 9px; color: #dfcddd; }
.facts-band { background: #e8d9e4; border-block: 1px solid #dac7d5; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 22px; }
.facts p { display: flex; align-items: center; justify-content: center; gap: 11px; padding-inline: 13px; border-right: 1px solid #ba9caf; }
.facts p:last-child { border-right: 0; }
.facts strong { font: 400 clamp(1.4rem, 2.2vw, 2.3rem)/1 var(--serif); letter-spacing: -.04em; }
.facts span { font-size: .79rem; line-height: 1.35; }
.section { padding-block: clamp(60px, 8.4vw, 124px); }
.section-intro { max-width: 740px; }
.section-intro p:not(.eyebrow) { font-size: 1.03rem; color: var(--muted); max-width: 61ch; line-height: 1.65; margin-top: 18px; }
.section h2, .closing h2 { font-size: clamp(2.45rem, 5vw, 4.75rem); line-height: 1.015; letter-spacing: -.055em; }
.inclusions { background: var(--cream); }
.inclusions-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); gap: clamp(26px, 9vw, 135px); align-items: start; }
.included-list { margin: 0; }
.included-list div { padding: 17px 0; border-top: 1px solid #b9a1aa; }
.included-list dt { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.028em; }
.included-list dd { margin: 6px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.program-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 32px; align-items: start; }
.lesson-group { border: 1px solid var(--line); background: #fff9f4; border-radius: 6px; overflow: clip; }
.lesson-group h3 { padding: 19px 19px 16px; font-size: clamp(1.15rem, 1.8vw, 1.7rem); background: #eddee5; }
details { border-top: 1px solid var(--line); }
summary { position: relative; list-style: none; display: flex; align-items: baseline; gap: 12px; cursor: pointer; padding: 17px 34px 17px 18px; font-size: .93rem; font-weight: 690; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 14px; font-size: 1.09rem; line-height: 1.2; font-weight: 600; color: #79536d; }
details[open] summary::after { content: "−"; }
details[open] summary { color: #633d57; }
summary span { color: #805d79; font-variant-numeric: tabular-nums; font-size: .78rem; }
details ul, details p { margin: -2px 0 0; padding: 0 20px 18px 38px; color: var(--muted); font-size: .87rem; line-height: 1.53; }
details li + li { margin-top: 7px; }
.program-note { color: var(--muted); font-size: .85rem; margin-top: 15px; }
.teachers { background: #e8d9e4; border-block: 1px solid #dac7d5; }
.teacher-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 34px; align-items: stretch; }
.teacher { border: 1px solid #d0bac9; background: #f9f0f1; border-radius: 6px; overflow: clip; }
.teacher > div { padding: 21px; }
.teacher h3 { font-size: clamp(1.45rem, 2.2vw, 2.1rem); text-wrap: initial; letter-spacing: -.04em; margin-bottom: 9px; line-height: 1.04; }
.teacher .eyebrow { font-size: .63rem; margin-bottom: 8px; }
.teacher p:not(.eyebrow) { color: #574559; font-size: .91rem; line-height: 1.55; }
.teacher img { width: 100%; aspect-ratio: 1.65; height: auto; object-fit: cover; object-position: center 36%; }
.teacher-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(135px, .28fr) minmax(0, 1fr); align-items: center; background: #fbf5ed; }
.teacher-main img { width: 100%; max-height: 245px; aspect-ratio: 1.2; object-position: 50% 30%; }
.teacher-main > div { padding: clamp(20px, 4vw, 48px); max-width: 760px; }
.teacher-main h3 { font-size: clamp(2rem, 4vw, 3.8rem); }
.stories { background: var(--night); color: var(--paper); }
.stories .section { padding-block: clamp(55px, 7vw, 90px); }
.stories h2 { color: var(--gold); font-size: clamp(2.05rem, 4vw, 4rem); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 60px); margin-top: 24px; }
.story-grid figure { border-top: 1px solid #8b6d88; padding-block: 15px; }
blockquote { font: 400 clamp(1.2rem, 2.4vw, 2.05rem)/1.25 var(--serif); margin: 0 0 11px; }
.story-grid figcaption { color: #e6cfe2; font-size: .8rem; }
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(20px, 8vw, 125px); }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details p { padding-left: 18px; }
.closing { background: var(--night); color: var(--paper); }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding-block: clamp(35px, 7vw, 78px); }
.closing p:not(.eyebrow) { margin-top: 13px; color: #e5d2e2; line-height: 1.5; }
.closing .button { flex: none; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 22px; font-size: .75rem; color: var(--muted); }
@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 19px; }
  .teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-height: 103px; }
  .header-inner { flex-wrap: wrap; align-content: center; gap: 8px 12px; }
  nav { order: 3; width: 100%; justify-content: center; gap: clamp(14px, 5vw, 37px); padding-block: 6px 1px; border-top: 1px solid var(--line); font-size: .78rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); grid-template-areas: "copy portrait" "offer portrait"; align-items: start; row-gap: 28px; }
  .portrait { align-self: center; justify-self: center; max-width: 295px; }
  .facts p { flex-direction: column; text-align: center; gap: 4px; }
  .program-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { --header-height: 92px; }
  .wrap { width: calc(100% - 36px); }
  .season-banner {
    background-image: linear-gradient(90deg, #35121f 7%, #35121ff0 38%, #35121f6b 65%, transparent 90%),
      url("assets/nastro-prenatalizio.webp");
    background-size: cover, max(84vw, 270px) auto;
  }
  .season-banner .wrap { min-height: 44px; }
  .header-inner { width: calc(100% - 24px); gap: 9px; }
  .brand { flex: 0 1 100px; min-width: 61px; }
  .brand img { width: 100%; }
  .header-action { gap: 7px; }
  .button-header { min-height: 44px; font-size: .73rem; padding-inline: 8px; }
  .clock-label { font-size: .58rem; }
  .clock-parts { gap: 3px; }
  .clock-parts b { font-size: .8rem; padding-inline: 3px; }
  .clock-parts small { font-size: .45rem; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "offer" "portrait"; gap: 24px; padding-block: 32px; }
  h1 { font-size: clamp(2.5rem, 10.5vw, 4rem); }
  .hero-lead { margin-block: 15px 13px; font-size: .95rem; }
  .offer-card { padding: 21px; }
  .offer-card::before { margin-bottom: 13px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .facts p:nth-child(even) { border-right: 0; }
  .portrait { max-width: 205px; }
  .inclusions-grid, .faq, .story-grid { grid-template-columns: 1fr; }
  .teacher-grid { gap: 10px; }
  .teacher > div { padding: 14px; }
  .teacher p:not(.eyebrow) { font-size: .81rem; }
  .teacher-main { grid-template-columns: 1fr; }
  .teacher-main img { max-height: 270px; }
  .closing-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
