:root {
  --bg: #d4ccfa; /* page background */
  --bg-alt: #201e26; /* dark section */
  --panel: #e3cffd; /* light cards */
  --panel-2: #f7f0fd;
  --primary: #7b3af5;
  --primary-600: #6a2de8;
  --accent: #ff5c64;
  --text: #5b6e8c;
  --text-light: #8694ac;
  --muted: #5a5666;
  --white: #fff;
  --white-iscrizione: #f2e7ff;
  --success: #21c08b;
  --warning: #f9c642;
  --danger: #e14d5b;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(32, 30, 38, 0.12);
  --container: 1120px;
  --gutter: 24px;
  --red: #d7464a;
  --red-card: #efa1a1;
  --red-card-light: #eec4cf;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Alexandria", "Poppins", Inter, system-ui, -apple-system,
    Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}

p,
li {
  font-size: 15px;
}

#tooltip {
  background-color: white;
  border: 1px solid black;
  display: none;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.centered {
  text-align: center;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.cente {
  display: flex;
  align-items: center;
}
.tight-container {
  max-width: 1000px;
}
#loader_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  display: none;
}

.loader {
  height: 20dvw;
  width: 20dvw;
  border: 4px solid #ccc;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 15px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.textarea {
  margin: 10px 0;
  width: 88%;
  height: 82px;
  font-size: 15px;
  font-weight: 400;
  color: #5a5666;
}
.bold-1 {
  font-size: 18px;
  font-weight: bold;
}
.titoletto_paragrafo {
  font-size: 20px;
  margin: 7px 0 7px;
}
.div_textarea {
  font-size: 20px;
  margin: 17px 0 6px;
}
.richiesta {
  margin-top: 13px;
  margin-bottom: 13px;
}
.informazioni_checkbox {
  margin: 5px 0;
}

.section {
  padding: 56px 0;
}
.section-dark {
  background: var(--bg-alt);
  color: #eae7f7;
}
.section-dark .card {
  background: #2a2830;
  color: #f5f3ff;
}
.section-title {
  font: 500 38px/1.2 Alexandria, Poppins, Inter, sans-serif;
  margin: 0 0 18px;
  text-align: center;
}
.left {
  text-align: left;
}
#contacts-title {
  margin-bottom: 0;
}
#iscrizione {
  background-color: var(--white-iscrizione);
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 8px;
}
.headline {
  font: 500 53px/1.1 Alexandria, Poppins, Inter, sans-serif;
  margin: 25px 0 12px;
  text-align: center;
}
.lead {
  color: var(--text);
  width: clamp(70%, 85vw, 90%);
  margin: 30px auto 17px;
  font-size: 15px;
  font-weight: 300;
}
.tiny {
  font-size: 0.85rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
  padding-left: 20px;
  padding-right: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.collapse-on-mobile {
  align-items: stretch;
}
.container_iscrizione {
  display: flex;
}
.card {
  background: var(--bg);
  padding: 18px;
}
.card-clear {
  border: 1px solid var(--red);
  border-left-width: 6px;
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
}

.quote-card {
  border-radius: var(--radius);
  padding: 18px;
  background: var(--bg);
}
.card h3 {
  margin: 6px 0 8px;
  font: 600 18px/1.25 Alexandria, Poppins, Inter, sans-serif;
}
.card-clear h3 {
  margin: 2px 0 10px;
  font: 600 18px/1.25 Alexandria, Poppins, Inter, sans-serif;
}
.red-card {
  background: var(--red-card);
  color: black;
  padding: 12px;
  border-radius: var(--radius);
}
.red-card-light {
  background: var(--red-card-light);
  color: black;
  padding: 12px;
  border-radius: var(--radius);
}
.btn {
  --_bg: var(--panel-2);
  --_fg: var(--text);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--_bg);
  color: var(--_fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: 0.18s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.btn:focus {
  outline: 3px solid color-mix(in srgb, var(--primary) 45%, white);
}
.btn-primary {
  --_bg: var(--red);
  --_fg: var(--white);
}
.btn-ghost {
  --_bg: transparent;
  border-color: var(--red);
  color: var(--red);
  background: rgba(255, 255, 255, 0.35);
}
.btn-accent {
  --_bg: var(--accent);
  --_fg: var(--white);
}

.cta-row {
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 30px;
}

.site-header {
  padding: 48px 0 24px;
}
.hero-card {
  margin: 20px 0 0;
}
.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 28px;
  border-radius: 18px;
  overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, #2f174d, #6f3cf4 50%, #2fb1f4);
  color: #fff;
  box-shadow: var(--shadow);
}
.hero-title {
  font: 700 34px/1 Alexandria, "Poppins", Inter, sans-serif;
  margin: 0;
  letter-spacing: 0.02em;
}

.features .feature .icon {
  font-size: 24px;
  height: 68px;
}

.about {
  padding: 0 90px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}
.about-media {
  border-radius: 16px;
  min-height: 220px;
  background: linear-gradient(135deg, #ffd0db, #ffe1a3 40%, #a1e3ff);
  box-shadow: var(--shadow);
}
.stats {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.stats .num {
  font: 600 58px/1 Alexandria, Poppins, Inter, sans-serif;
  color: var(--primary);
}
.stats .label {
  display: block;
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 8px;
}

.quote {
  position: relative;
  border: 1px solid var(--red);
}
.quote-mark {
  position: absolute;
  left: -9px;
  top: -8px;
  font: 700 32px/1 Alexandria, Poppins, sans-serif;
  color: var(--red);
  background: var(--bg);
  height: 18px;
  width: 20px;
}

.quote-mark-down {
  position: absolute;
  right: -9px;
  bottom: -8px;
  font: 700 32px/1 Alexandria, Poppins, sans-serif;
  color: var(--red);
  background: var(--bg);
  height: 18px;
  width: 20px;
  padding-left: 2px;
}
.quote .author {
  margin: 10px 0 0;
  color: var(--text);
  font-weight: 600;
  font-size: large;
}

.callout {
  margin-top: 20px;
  background: #2a2830;
  border: 1px solid #3b3842;
  padding: 16px;
}
.violet {
  margin: 20px auto;
  background: var(--panel-2);
  border: 1px solid #3b3842;
  border-radius: 14px;
  padding: 16px;
  width: 75dvw;
  min-width: 250px;
}
.violet-2el {
  display: grid;
  grid-template-columns: clamp(30dvw, 50%, 50%) 1fr;
  gap: 18px;
  background: var(--panel-2);
  padding: 16px;
  place-items: center;
}
.elements-centered {
  display: flex;
  justify-content: center;
}
#img-4people {
  width: 100%;
  min-width: 30dvw;
}
#img-aiintegrationlogo {
  width: 88%;
  margin: 0 auto;
  min-width: 200px;
}
#img-studiowarelogo {
  width: 18%;
  min-width: 75px;
  margin: 0 auto;
}
.flex-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
#img-allpeople {
  border-radius: 18px;
}
.callout-body h3 {
  margin: 4px 0 6px;
  font: 700 20px/1.2 Alexandria, Poppins, sans-serif;
}
.div-p {
  margin: 13px 0;
}
.callout-body p {
  font-size: 14px;
  margin: 7px 0;
}
.callout .btn {
  margin-top: 8px;
}

.info {
  border: 1px solid var(--red-card);
  border-left: 6px solid var(--red);
  border-radius: 15px;
}

.info-cards .info p {
  margin: 6px 0 0;
}

.form {
  display: grid;
  gap: 16px;
}
.fieldset {
  border: 1px dashed #cdb7ff;
  border-radius: 12px;
  padding: 12px 12px 16px;
  gap: 40px;
}
.fieldset legend {
  padding: 0;
  font-weight: 700;
  color: var(--primary);
}
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}
input[type="text"],
input[type="date"],
input[type="email"],
textarea {
  color: var(--text);
  appearance: none;
  border: 1px solid #cfc1ff;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  font: inherit;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}
.actions {
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
}

.faq details {
  background: #2a2830;
  color: #efeaff;
  border: 1px solid #3b3842;
  border-radius: 10px;
  padding: 12px;
  margin: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq p {
  margin: 8px 0 0;
}

.site-footer {
  padding: 34px 0;
  background: #e6d2ff;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 0 40px;
  gap: 50px;
}
.links {
  padding: 0;
  margin: 0;
}
.links a {
  text-decoration: underline;
}
.links a:hover {
  color: #8d6ca0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  overflow: hidden;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #000;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  z-index: 10;
}
.smaller-txt {
  font-size: 14px;
}
.sm {
  font-size: 14px;
}
.p-spaced-up {
  padding-top: 20px;
}
.p-spaced-down {
  padding-bottom: 20px;
}
.p-spaced-down-bit {
  padding-bottom: 10px;
}
.p-medium {
  font-size: medium;
}
.p-big {
  font-size: 19px;
}
.bold {
  font-weight: bold;
}
.stats-item {
  padding: 15px 25px 0;
  text-align: center;
}
.txt {
  max-width: 300px;
  margin-top: 0;
}
.orizontal_centered {
  display: flex;
  justify-content: center;
}
.column-footer {
  padding: 0;
}
.padding {
  padding: 15px 0;
}
.padding-bottom {
  padding-bottom: 20px;
}
.bottom-bar {
  border-bottom: 2px solid var(--text-light);
}
.social_logo {
  width: 22px;
}
.same-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
#final-logo {
  width: 120px;
  margin-left: auto;
}
.spaced-li {
  margin-bottom: 10px;
  margin-left: 17px;
}
.grid-sheet {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
}
.grid-sheet p {
  margin: 0 0 10px;
}
.grid-sheet h3 {
  margin: 6px 0 10px;
}

.cert-grid {
  color: #5b6e8c;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 400px;
}

.cert-grid img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
}

.cert-grid img {
  transition: transform 0.2s ease, 0.2s ease;
}

.cert-grid img:hover {
  transform: scale(1.2);
}

#img-sheet {
  width: 26px;
  height: auto;
  margin: 7px;
}

#customAlertOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#customAlertBox {
  background: #f9f0ff;
  padding: 24px 36px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  width: 84%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
  align-items: right;
}

#customAlertBox p {
  margin: 0;
  font-size: 16px;
  text-align: left;
  flex: 1;
}

#customAlertBox button {
  padding: 8px 16px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: var(--primary);
  color: white;
  cursor: pointer;
  flex-shrink: 0;
  width: fit-content;
  align-self: flex-end;
}

#customAlertBox button:hover {
  background-color: var(--primary-600);
}

.g-recaptcha {
  transform: scale(0.72) translateX(-42px);
  max-width: 222px;
}

@media (max-width: 360px) {
  .cta-row .btn {
    width: 100%;
  }
  #customAlertBox p {
    font-size: 14px;
  }
  #customAlertBox button {
    align-self: flex-end;
    margin-top: 7px;
    font-size: 20px;
  }
}
@media (max-width: 440px) {
  .richiesta {
    font-size: 14px;
  }
}
@media (max-width: 505px) {
  .same-line-flex {
    flex-direction: column;
  }
  #invio_mail {
    width: 218px;
  }
}
@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .callout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .headline {
    font-size: 46px;
  }
  #appear_bottom_bar {
    border-bottom: 2px solid var(--text-light);
  }
}
@media (max-width: 840px) {
  .about {
    grid-template-columns: 1fr;
    padding: 0 10%;
  }
  .fieldset {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 965px) {
  .violet-2el {
    grid-template-columns: 1fr;
  }
  .callout-body {
    margin-top: 20px;
  }
}
