﻿@import "tailwindcss";

:root {
  --ink: #102844;
  --muted: #5d6975;
  --paper: #ffffff;
  --orange: #ff6a00;
  --red: #ef1d1d;
  --blue: #006db8;
  --yellow: #ffd83d;
  --green: #82c91e;
  --purple: #6b4bd3;
  --orange-soft: #fff0df;
  --red-soft: #ffe9e5;
  --blue-soft: #e8f3ff;
  --yellow-soft: #fff8d9;
  --green-soft: #eef9d7;
  --purple-soft: #f0ebff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hero {
  min-height: auto;
  padding: 22px clamp(18px, 4vw, 64px) 8px;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before,
.hero::after {
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 69%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
  content: "";
  height: 92px;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  width: 92px;
}

.hero::before {
  height: 98px;
  left: auto;
  right: clamp(220px, 18vw, 360px);
  top: 128px;
  width: 98px;
}

.hero::after {
  background: var(--red);
  bottom: 32px;
  height: 64px;
  opacity: 0.22;
  right: -42px;
  width: 64px;
}

.nav {
  align-items: center;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: minmax(260px, 1fr) auto;
  margin: 0 auto 24px;
  max-width: 1320px;
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  letter-spacing: 0;
  min-width: 0;
}

.logo-wide {
  background: var(--white);
  border-radius: 18px;
  box-shadow: none;
  height: auto;
  object-fit: contain;
  width: min(640px, 100%);
}

.photo-statement {
  color: var(--ink);
  font-size: clamp(1.9rem, 3.2vw, 3.7rem);
  font-weight: 1000;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
  max-width: 820px;
  text-wrap: balance;
  width: 100%;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a {
  color: #42504c;
  border-radius: 999px;
  padding: 8px 12px;
}

.nav-links a:hover {
  background: var(--yellow-soft);
  color: var(--ink);
}

.hero-grid {
  align-items: start;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(220px, 0.62fr) minmax(420px, 1.38fr);
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
  z-index: 1;
}

.hero > .hero-grid {
  display: none;
}

.closing-hero {
  background: var(--white);
  overflow: hidden;
  padding: clamp(52px, 8vw, 104px) clamp(18px, 4vw, 64px);
  position: relative;
}

.closing-hero .hero-grid {
  display: grid;
}

.theater-masks {
  height: 120px;
  pointer-events: none;
  position: absolute;
  width: 170px;
  z-index: 0;
}

.mask-shape {
  border-radius: 42% 58% 52% 48% / 34% 34% 66% 66%;
  display: block;
  height: 82px;
  position: absolute;
  width: 64px;
}

.mask-shape::before {
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 24px 0 0 var(--ink);
  content: "";
  height: 8px;
  left: 16px;
  opacity: 0.62;
  position: absolute;
  top: 28px;
  width: 8px;
}

.mask-shape::after {
  background: transparent;
  border: 0;
  border-bottom: 5px solid var(--ink);
  border-radius: 0 0 999px 999px;
  content: "";
  height: 16px;
  left: 18px;
  opacity: 0.62;
  position: absolute;
  top: 42px;
  width: 28px;
}

.mask-happy {
  background: var(--yellow);
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.16);
  left: 12px;
  opacity: 0.72;
  transform: rotate(-12deg);
}

.mask-smile-blue {
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(0, 109, 184, 0.16);
  left: 78px;
  opacity: 0.42;
  top: 16px;
  transform: rotate(13deg);
}

.mask-smile-blue::before {
  background: var(--white);
  box-shadow: 24px 0 0 var(--white);
}

.mask-smile-blue::after {
  background: transparent;
  border-color: var(--white);
}

.hero-masks {
  right: clamp(18px, 5vw, 72px);
  top: 206px;
}

.parent-masks {
  bottom: 26px;
  right: 6vw;
}

.method-masks {
  left: 7vw;
  top: 170px;
}

.route-masks {
  bottom: 34px;
  left: 7vw;
}

.hero-copy {
  max-width: 640px;
  padding-top: 4px;
}

.hero-visual {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.brand-hero {
  background: linear-gradient(90deg, var(--blue), var(--orange) 46%, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.1rem, 5.8vw, 5.8rem);
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 0.86;
  margin: 0 0 18px;
  text-shadow: none;
  text-transform: uppercase;
}

.kicker,
.section-label {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 6.8vw, 6.3rem);
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin-bottom: 24px;
  max-width: 720px;
  text-wrap: balance;
}

h2 {
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  color: var(--blue);
  font-size: 1.26rem;
  line-height: 1.16;
  margin-bottom: 12px;
}

.photo-statement {
  color: var(--red);
}

.hero-lead,
.photo-lead,
.section-heading p,
.parent-note p,
.education-panel p,
.cta p {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

.photo-lead {
  margin: 0;
  max-width: 820px;
  width: 100%;
}

.problem-strip {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}

.problem-strip span {
  align-items: center;
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 216, 61, 0.65);
  border-radius: 24px;
  color: #243237;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 900;
  line-height: 1.12;
  min-height: 68px;
  overflow-wrap: normal;
  padding: 20px 24px;
  box-shadow: 0 14px 30px rgba(255, 216, 61, 0.18);
  display: flex;
  word-break: normal;
  white-space: normal;
}

.problem-strip span:nth-child(2) {
  background: var(--red-soft);
}

.problem-strip span:nth-child(3) {
  background: var(--blue-soft);
}

.problem-strip span:nth-child(4) {
  background: var(--green-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.solution-band {
  background: var(--yellow);
  border-bottom: 1px solid rgba(255, 106, 0, 0.24);
  border-left: 0;
  border-top: 1px solid rgba(255, 106, 0, 0.24);
  padding: clamp(36px, 6vw, 78px) clamp(20px, 6vw, 84px);
}

.solution-band p {
  color: var(--blue);
  font-size: clamp(2.7rem, 6vw, 7.2rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin: 0 auto;
  max-width: 1500px;
  text-shadow: none;
}

.quote-band {
  background: var(--white);
  border-bottom: 10px solid var(--orange);
  border-top: 10px solid var(--red);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 6vw, 84px);
  position: relative;
  text-align: center;
}

.quote-band::before,
.quote-band::after {
  color: var(--yellow);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 900;
  line-height: 0;
  opacity: 0.9;
  position: absolute;
  top: 58%;
}

.quote-band::before {
  left: clamp(18px, 5vw, 72px);
}

.quote-band::after {
  content: "”";
  right: clamp(18px, 5vw, 72px);
}

.quote-band p {
  color: var(--blue);
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 auto;
  max-width: 1160px;
  position: relative;
  z-index: 1;
}

.quote-band strong {
  color: var(--red);
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 900;
  justify-content: center;
  min-height: 62px;
  padding: 0 30px;
}

.button.primary {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(242, 31, 31, 0.24), 0 0 28px rgba(255, 216, 77, 0.22);
}

.button.secondary {
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(7, 103, 189, 0.14);
}

.hero-image-wrap {
  background: var(--white);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(242, 31, 31, 0.16), 0 0 44px rgba(255, 216, 77, 0.18);
  overflow: hidden;
}

.hero-image-wrap img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.parent-note {
  align-items: center;
  background: var(--blue-soft);
  color: var(--ink);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
  padding: clamp(46px, 8vw, 90px) clamp(20px, 6vw, 84px);
  border-bottom: 1px solid rgba(23, 35, 38, 0.08);
  overflow: hidden;
  position: relative;
}

.parent-note::before,
.parent-note::after,
.route::before,
.route::after,
.outcomes::before,
#docenti::before,
.cta::before,
.cta::after {
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 69%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
  content: "";
  opacity: 0.24;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.parent-note::before {
  background: var(--orange);
  height: 86px;
  left: 7vw;
  top: 28px;
  width: 86px;
}

.parent-note::after {
  background: var(--blue);
  height: 54px;
  right: 10vw;
  top: 42px;
  width: 54px;
}

.parent-note > * {
  position: relative;
  z-index: 1;
}

.phone-callout {
  align-self: center;
  grid-column: 1;
  grid-row: 1;
  max-width: 720px;
}

.phone-callout h2 {
  color: var(--red);
  font-size: clamp(2.7rem, 5.2vw, 5.8rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 22px;
}

.phone-callout p:last-child {
  color: var(--ink);
  font-size: clamp(1.14rem, 1.6vw, 1.42rem);
  line-height: 1.55;
  max-width: 650px;
}

.parent-note .section-label,
.parent-note p {
  color: #314146;
}

.parent-note h2 {
  font-size: clamp(2.7rem, 5.6vw, 6rem);
  line-height: 0.96;
  margin-bottom: 24px;
}

.parent-copy {
  display: grid;
  gap: 0;
  max-width: 780px;
}

.parent-image {
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(23, 105, 209, 0.18);
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  overflow: hidden;
}

.parent-copy {
  display: none;
}

.parent-image img {
  aspect-ratio: 4 / 3.15;
  border-radius: 28px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.visual-strip {
  background: var(--orange);
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  padding: clamp(22px, 4vw, 42px) clamp(20px, 6vw, 84px);
}

.visual-strip img {
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(242, 31, 31, 0.12);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.visual-strip img:nth-child(2) {
  box-shadow: 0 22px 60px rgba(255, 106, 0, 0.18);
}

.visual-strip img:nth-child(3) {
  box-shadow: 0 22px 60px rgba(34, 166, 111, 0.16);
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 6vw, 84px);
}

#metodo {
  background: var(--white);
  overflow: hidden;
  position: relative;
}

#metodo::before,
#metodo::after {
  background: var(--red);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 69%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
  content: "";
  height: 78px;
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
  width: 78px;
}

#metodo::before {
  left: clamp(14px, 6vw, 78px);
  top: 52px;
}

#metodo::after {
  background: var(--green);
  bottom: 58px;
  height: 112px;
  right: clamp(10px, 5vw, 70px);
  width: 112px;
}

#metodo .section-heading,
#metodo .pillar-grid {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin: 0 auto clamp(30px, 5vw, 58px);
  max-width: 820px;
  text-align: center;
}

.section-heading .positioning {
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 106, 0, 0.22);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(255, 106, 0, 0.14);
  color: var(--ink);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  font-weight: 850;
  line-height: 1.5;
  margin: 24px auto;
  max-width: 900px;
  padding: clamp(20px, 3vw, 30px);
}

.pillar-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.pillar {
  background: var(--yellow);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(255, 106, 0, 0.12);
  padding: 26px;
}

.pillar:nth-child(2) {
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(0, 109, 184, 0.18);
}

.pillar:nth-child(3) {
  background: var(--green);
  box-shadow: 0 18px 42px rgba(130, 201, 30, 0.18);
}

.pillar:nth-child(4) {
  background: var(--red);
  box-shadow: 0 18px 42px rgba(239, 29, 29, 0.18);
}

.pillar span,
.teachers span {
  color: var(--blue);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pillar span,
.pillar h3,
.pillar p {
  color: var(--ink);
}

.pillar:nth-child(2) span,
.pillar:nth-child(2) h3,
.pillar:nth-child(2) p,
.pillar:nth-child(4) span,
.pillar:nth-child(4) h3,
.pillar:nth-child(4) p {
  color: var(--white);
}

.pillar p,
.teachers p,
.step p,
.root-item p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.split-section {
  background: var(--blue);
  display: grid;
  gap: 32px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(54px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.education-panel {
  background: var(--yellow);
  border: 1px solid rgba(255, 106, 0, 0.22);
  border-radius: 30px;
  box-shadow: 0 20px 48px rgba(255, 106, 0, 0.14);
  padding: clamp(28px, 4vw, 52px);
}

.education-list {
  display: grid;
  gap: 14px;
}

.education-item {
  align-items: center;
  background: var(--yellow);
  border: 1px solid rgba(0, 109, 184, 0.18);
  border-left: 12px solid var(--orange);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(23, 105, 209, 0.1);
  display: grid;
  gap: 12px;
  grid-template-columns: 118px 1fr;
  padding: 22px 24px;
}

.education-item:nth-child(2) {
  background: var(--yellow-soft);
  border-left-color: var(--yellow);
}

.education-item:nth-child(3) {
  background: var(--red-soft);
  border-left-color: var(--red);
}

.education-item:nth-child(4) {
  background: var(--green-soft);
  border-left-color: var(--green);
}

.education-item strong {
  font-size: 1.2rem;
}

.route {
  background: var(--red-soft);
  overflow: hidden;
  position: relative;
}

.route::before {
  background: var(--yellow);
  height: 96px;
  left: 4vw;
  top: 76px;
  width: 96px;
}

.route::after {
  background: var(--blue);
  bottom: 70px;
  height: 72px;
  right: 5vw;
  width: 72px;
}

.route .section-heading,
.route .route-cards {
  position: relative;
  z-index: 1;
}

.route-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.image-card,
.outcome-card {
  background: var(--white);
  border: 1px solid rgba(255, 106, 0, 0.18);
  border-radius: 30px;
  box-shadow: 0 22px 54px rgba(255, 106, 0, 0.13);
  color: var(--ink);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.image-card:nth-child(2),
.outcome-card:nth-child(2) {
  border-color: rgba(0, 109, 184, 0.18);
  box-shadow: 0 22px 54px rgba(0, 109, 184, 0.14);
}

.image-card:nth-child(3),
.outcome-card:nth-child(3) {
  border-color: rgba(34, 166, 111, 0.18);
  box-shadow: 0 22px 54px rgba(34, 166, 111, 0.14);
}

.image-card:nth-child(4) {
  box-shadow: 0 22px 54px rgba(243, 112, 33, 0.14);
}

.image-card {
  display: flex;
  flex-direction: column;
}

.image-card img,
.outcome-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.image-card-copy,
.outcome-card div {
  padding: 24px;
}

.image-card span {
  align-items: center;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 16px;
  width: 44px;
}

.image-card h3,
.outcome-card h3 {
  color: var(--blue);
  display: block;
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin-bottom: 10px;
  padding: 0;
}

.image-card p,
.outcome-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 0;
}

.outcomes {
  background: var(--green-soft);
  color: var(--ink);
  display: grid;
  gap: 36px;
  grid-template-columns: 0.8fr 1.2fr;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 84px);
  overflow: hidden;
  position: relative;
}

.outcomes::before {
  background: var(--green);
  height: 110px;
  right: 8vw;
  top: 28px;
  width: 110px;
}

.outcomes > * {
  position: relative;
  z-index: 1;
}

.outcomes .section-label {
  color: var(--blue);
}

.outcome-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outcome-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
}

.outcome-card:nth-child(1) {
  background: var(--yellow-soft);
}

.outcome-card:nth-child(2) {
  background: var(--blue-soft);
}

.outcome-card:nth-child(3) {
  background: var(--green-soft);
}

.teachers {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
}

#docenti {
  background: var(--yellow-soft);
  overflow: hidden;
  position: relative;
}

#docenti::before {
  background: var(--orange);
  bottom: 40px;
  height: 104px;
  left: 5vw;
  width: 104px;
}

#docenti .section-heading,
#docenti .teachers {
  position: relative;
  z-index: 1;
}

.teachers article {
  background: var(--white);
  border: 1px solid rgba(0, 109, 184, 0.18);
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(0, 109, 184, 0.14);
  overflow: hidden;
}

.teachers article:nth-child(2) {
  border-color: rgba(34, 166, 111, 0.18);
  box-shadow: 0 22px 60px rgba(34, 166, 111, 0.14);
}

.teacher-photo {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.teacher-copy {
  padding: 26px;
}

.teacher-copy h3 {
  color: var(--blue);
}

.parent-note h2,
.route h2 {
  color: var(--red);
}

#metodo h2,
#docenti h2 {
  color: var(--blue);
}

.split-section h2,
.outcomes h2,
.cta h2 {
  color: var(--blue);
}

.cta {
  background: var(--blue-soft);
  padding: clamp(72px, 10vw, 126px) clamp(20px, 6vw, 84px);
  text-align: center;
  border-top: 1px solid rgba(23, 35, 38, 0.08);
  overflow: hidden;
  position: relative;
}

.cta::before {
  background: var(--blue);
  height: 92px;
  left: 9vw;
  top: 38px;
  width: 92px;
}

.cta::after {
  background: var(--red);
  bottom: 34px;
  height: 68px;
  right: 10vw;
  width: 68px;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.cta .button {
  margin-top: 20px;
}

.contact-hero {
  min-height: 100vh;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(42px, 7vw, 86px) clamp(20px, 6vw, 84px) clamp(70px, 8vw, 110px);
}

.contact-intro h1 {
  color: var(--blue);
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0 0 24px;
}

.contact-intro p {
  color: #31435b;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.55;
  max-width: 680px;
}

.contact-note {
  background: var(--yellow);
  border-radius: 26px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding: 24px;
}

.contact-note strong {
  color: var(--red);
  font-size: 1.35rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid rgba(0, 109, 184, 0.16);
  border-radius: 30px;
  box-shadow: 0 22px 64px rgba(0, 109, 184, 0.13);
  padding: clamp(24px, 4vw, 38px);
}

.contact-card form {
  display: grid;
  gap: 12px;
}

.thanks-message {
  background: var(--green-soft);
  border: 2px solid rgba(34, 166, 111, 0.28);
  border-radius: 22px;
  color: var(--ink);
  display: none;
  gap: 6px;
  margin-bottom: 22px;
  padding: 18px 20px;
}

.thanks-message strong {
  color: var(--green);
  font-size: 1.18rem;
}

.message-sent .thanks-message {
  display: grid;
}

.contact-card label {
  color: var(--blue);
  font-weight: 900;
}

.contact-card input,
.contact-card textarea {
  background: #f7fbff;
  border: 2px solid rgba(0, 109, 184, 0.16);
  border-radius: 18px;
  color: var(--ink);
  font: inherit;
  padding: 16px 18px;
  width: 100%;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 109, 184, 0.14);
}

.contact-card textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-card .button {
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
}

.inline-contact-card {
  margin: 28px auto 0;
  max-width: 640px;
  text-align: left;
}

.form-help {
  color: #526577;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .parent-note,
  .split-section,
  .outcomes {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .parent-image {
    grid-column: auto;
    grid-row: auto;
  }

  .visual-strip {
    grid-template-columns: 1fr;
  }

  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .logo-wide {
    max-width: min(100%, 520px);
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .pillar-grid,
  .route-cards,
  .outcome-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 18px 16px 6px;
  }

  .nav {
    align-items: center;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-bottom: 28px;
    width: 100%;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 8px 10px;
    justify-content: center;
    line-height: 1.1;
    width: 100%;
  }

  .nav-links a {
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    padding: 8px 10px;
    white-space: normal;
  }

  .problem-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .logo-wide {
    max-width: min(100%, 340px);
    width: 100%;
  }

  .pillar-grid,
  .teachers,
  .outcome-cards,
  .route-cards {
    grid-template-columns: 1fr;
  }

  .education-item,
  .image-card {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

/* Progetto gratuito */
.project-highlight {
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.92) 0%, rgba(255, 244, 184, 0.98) 42%, rgba(230, 246, 255, 1) 100%);
  overflow: hidden;
  position: relative;
}

.project-highlight::before,
.project-highlight::after {
  border-radius: 999px;
  content: "";
  position: absolute;
  z-index: 0;
}

.project-highlight::before {
  background: var(--red);
  height: 108px;
  left: -36px;
  top: 64px;
  width: 108px;
}

.project-highlight::after {
  background: var(--green);
  bottom: 60px;
  height: 130px;
  right: -44px;
  width: 130px;
}

.course-launch,
.schedule-grid,
.schedule-arrow,
.project-note {
  position: relative;
  z-index: 1;
}

.course-launch {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  margin: 0 auto;
  max-width: 1240px;
}

.course-copy h2 {
  color: var(--blue);
  font-size: clamp(2.8rem, 6vw, 6.8rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0 0 24px;
  max-width: 900px;
}

.course-copy p {
  color: #31435b;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.6;
  max-width: 760px;
}

.course-copy .positioning {
  background: var(--white);
  border: 2px solid rgba(242, 31, 31, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(242, 31, 31, 0.12);
  color: var(--ink);
  font-weight: 850;
  margin: 0 0 18px;
  padding: 18px 20px;
}

.launch-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.launch-badges span {
  border-radius: 999px;
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 950;
  padding: 12px 18px;
}

.launch-badges span:nth-child(1) {
  background: var(--red);
}

.launch-badges span:nth-child(2) {
  background: var(--blue);
}

.launch-badges span:nth-child(3) {
  background: var(--green);
}

.course-photo {
  border: 10px solid var(--white);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(0, 109, 184, 0.18);
  min-height: 360px;
  overflow: hidden;
  transform: rotate(2deg);
}

.course-photo img {
  display: block;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.schedule-arrow {
  color: var(--red);
  font-size: clamp(1.5rem, 3.3vw, 3.1rem);
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: clamp(30px, 5vw, 56px) auto 0;
  text-align: center;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}
.schedule-card {
  background: #fff;
  border: 4px solid rgba(0, 109, 184, 0.16);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 24px 58px rgba(23, 35, 38, 0.12);
  position: relative;
}


.schedule-link {
  align-items: center;
  background: var(--yellow);
  border-radius: 50%;
  color: var(--red);
  display: flex;
  font-size: 2.5rem;
  font-weight: 950;
  height: 64px;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: -30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 64px;
}

.schedule-link:hover {
  box-shadow: 0 16px 34px rgba(255, 216, 61, 0.36);
  transform: translateX(4px) scale(1.06);
}

.schedule-card:nth-child(2) .schedule-link:hover {
  box-shadow: 0 16px 34px rgba(130, 201, 30, 0.36);
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.schedule-card:nth-child(2) {
  border-color: rgba(34, 166, 111, 0.28);
}

.schedule-card:nth-child(2) .schedule-link {
  background: var(--green);
  color: var(--white);
}
.schedule-card span {
  color: var(--red);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.schedule-card h3 {
  color: var(--blue);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.02;
  margin: 14px 0 14px;
}

.schedule-card p {
  color: #43576a;
  font-size: 1.08rem;
  line-height: 1.55;
}

.project-note {
  border: 3px solid rgba(242, 31, 31, 0.16);
  border-left: 10px solid var(--red);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(242, 31, 31, 0.1);
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 800;
  margin: 28px auto 0;
  max-width: 900px;
  padding: 20px 24px;
  text-align: center;
}
.school-title { color: var(--blue); max-width: 800px; }
@media (max-width: 640px) {
  .course-launch {
    grid-template-columns: 1fr;
  }

  .course-photo {
    transform: none;
  }

  .schedule-grid { grid-template-columns: 1fr; }
}

.course-detail-hero {
  padding-bottom: clamp(34px, 6vw, 78px);
}

.course-detail-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  margin: 0 auto;
  max-width: 1220px;
  position: relative;
  z-index: 1;
}

.course-detail-copy h1 {
  color: var(--blue);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 0 0 24px;
  max-width: 900px;
}

.course-detail-copy > p {
  color: #31435b;
  font-size: clamp(1.12rem, 1.7vw, 1.38rem);
  line-height: 1.55;
  max-width: 760px;
}

.course-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.course-detail-badges span {
  background: var(--red);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 950;
  padding: 12px 18px;
}

.course-detail-badges span:nth-child(2) {
  background: var(--blue);
}

.course-detail-badges span:nth-child(3) {
  background: var(--green);
}

.course-detail-badges span:nth-child(4) {
  background: var(--orange);
}

.course-detail-photo {
  border: 10px solid var(--white);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(0, 109, 184, 0.18);
  overflow: hidden;
}

.course-detail-photo img {
  aspect-ratio: 4 / 4.35;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.older-course .course-detail-copy h1 {
  color: var(--green);
}

.centered-actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .course-detail-grid {
    grid-template-columns: 1fr;
  }

  .course-detail-photo img {
    aspect-ratio: 4 / 3;
  }
}

.quote-band {
  background: var(--white);
  border-bottom: 10px solid var(--orange);
  border-top: 10px solid var(--red);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 6vw, 84px);
  position: relative;
  text-align: center;
}

.quote-band::before,
.quote-band::after {
  color: var(--yellow);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 900;
  line-height: 0;
  opacity: 0.9;
  position: absolute;
  top: 58%;
}

.quote-band::before {
  left: clamp(18px, 5vw, 72px);
}

.quote-band::after {
  content: "”";
  right: clamp(18px, 5vw, 72px);
}

.quote-band p {
  color: var(--blue);
  display: block;
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 auto;
  max-width: 1160px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.quote-band strong {
  color: var(--red);
}
