body {
    background: linear-gradient(to bottom, #edf0f5, #0bbc75) !important;
}

/* Reset & font ---------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  animation: fadeUp 1.9s linear;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

/* Container -------------------------------------------------------------- */

.container {
  max-width: 1050px;
  width: 90%;
  margin: auto;
}

/* NAVBAR ---------------------------------------------------------------- */

.navbar {
  width: 100%;
  box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #edf0f5 !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  position: relative;
}

/* HAMBURGER MENU -------------------------------------------------------- */

.nav-container .checkbox {
  position: absolute;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
}

.line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.line2 {
  transition: transform 0.2s ease-in-out;
}

.line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

/* MENU ITEMS ------------------------------------------------------------ */

.navbar .menu-items {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  padding-top: 120px;
  background: #edf0f5;
  transform: translateX(-150%);
  display: flex;
  flex-direction: column;
  padding-left: 50px;
  text-align: center;
  transition: transform 0.5s ease-in-out;
  backdrop-filter: blur(2px);
  z-index: 9999;
}

.navbar .menu-items li {
  list-style: none;
  margin-bottom: 4rem;
}

.navbar .menu-items a {
  text-decoration: none;
  color: #0e2431;
  font-size: 1.5rem;
  font-weight: 500;
}

.navbar .menu-items a:hover {
  font-weight: 700;
}

/* MENU OPEN ANIMATIONS -------------------------------------------------- */

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

/* CLOSE BUTTON ---------------------------------------------------------- */

.close-menu {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
  z-index: 99999;
}

.nav-container input[type="checkbox"]:checked ~ .close-menu {
  display: block;
}

/* BLUR BACKGROUND WHEN MENU IS OPEN ------------------------------------- */

.page-content {
  transition: filter 0.4s ease;
}

.nav-container input[type="checkbox"]:checked ~ .page-content {
  filter: blur(30px) brightness(0.2);
}

/* LOGO (senza positioning assoluto!) ------------------------------------ */

.logo {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 180px;
  width: 280px;
  object-fit: contain;
}

/* LOGO BUTTON (flottante sopra la navbar) ------------------------------- */

.logo-button {
  width: 220px;
  height: 140px;
  background: #edf0f5!important;
  border-radius: 25px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  position: absolute;
  top: 5px;
  right: 15px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.logo-button:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

/* BUTTON STYLE ---------------------------------------------------------- */

.btn {
  position: relative;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 2.5em;
  cursor: pointer;
  border-radius: 6em;
  transition: all 0.2s;
  border: none;
  font-weight: 500;
  background-color: #edf0f5 !important;
  color: black;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.btn::after {
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #fff;
  transition: all 0.4s;
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}
/* MENU CENTRATO SU MOBILE */
@media (max-width: 768px) {
  .navbar .menu-items {
    text-align: center;
    padding-left: 0;        /* rimuove lo spostamento a sinistra */
    align-items: center;    /* centra verticalmente e orizzontalmente */
  }

  .navbar .menu-items li {
    width: 100%;
  }

  .navbar .menu-items a {
    font-size: 1.8rem;      /* opzionale: più leggibile su mobile */
    display: block;
    width: 100%;
  }
}

/* END NAVBAR */
/* HEADER START */
.thirteen {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  margin-top: 20px;
}

.thirteen h1 {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
  text-transform: uppercase;
  width: auto;
  text-align: center;
  white-space: nowrap;
  border: 2px solid #0bbc75;
  padding: 5px 14px 3px 14px;
  margin: 0;
}

/* i due puntini laterali */
.thirteen h1:before,
.thirteen h1:after {
  background-color: #050c31;
  position: absolute;
  content: '';
  height: 7px;
  width: 7px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.thirteen h1:before {
  left: -20px;
}

.thirteen h1:after {
  right: -20px;
}
/* HEADER SECTION END */

.contact-subtext {
  font-size: 16px;
  margin-top: 10px;
  color: #050c31; /* leggermente trasparente */
  text-align: center;
  letter-spacing: 1px;
  font-size: x-large
}


/* ---- CONTACT SECTION ---- */

.container {
  flex: 0 1 700px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 20px;
  margin-top: 0px;
}

.screen {
  position: relative;
  background: #ffffff;
  border-radius: 15px;
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #ffffff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #000000;
  font-size: 26px;
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: #000000;
}

.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: #888;
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #030000;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;/* ---- CONTACT SECTION — VERSIONE APPLE INSPIRED ---- */

.container {
  flex: 0 1 850px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 40px;
}

/* ------------------------------
   SCREEN (Apple glassmorphism)
------------------------------ */

.screen {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .1);
}

.screen:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  bottom: 0;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .25);
  z-index: -1;
}

/* ------------------------------
   HEADER — stile macOS Sonoma
------------------------------ */

.screen-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
}

.close { background: #ff605c; }
.maximize { background: #ffbd44; }
.minimize { background: #00ca4e; }

.screen-header-ellipsis {
  width: 4px;
  height: 4px;
  background: #777;
  border-radius: 50%;
  margin-left: 3px;
}

/* ------------------------------
   BODY
------------------------------ */

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ------------------------------
   TITLE — Apple minimalist
------------------------------ */

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #0e2431;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.app-title:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 35px;
  height: 4px;
  background: #99f2c8;
  border-radius: 2px;
}

.app-contact {
  margin-top: auto;
  font-size: 10px;
  color: #666;
}

/* ------------------------------
   FORM — Floating label Apple
------------------------------ */

.app-form-group {
  position: relative;
  margin-bottom: 25px;
}

.app-form-group.message {
  margin-top: 40px;
}

/* Floating label */
.app-form-group label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 0.85rem;
  color: #5c6975;
  pointer-events: none;
  transition: 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text";
}

/* Input style */
.app-form-control {
  width: 100%;
  padding: 14px 0 6px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  color: #000;
  font-size: 15px;
  outline: none;
  transition: border-color .25s;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text";
}

.app-form-control::placeholder {
  color: transparent;
}

.app-form-control:focus {
  border-bottom-color: #007aff;
}

/* Floating animation */
.app-form-control:focus + label,
.app-form-control:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.75rem;
  color: #007aff;
}

/* SELECT */
.app-form-group select:not([value=""]) + label {
  top: -10px;
  font-size: 0.75rem;
  color: #007aff;
}

/* ------------------------------
   BUTTON
------------------------------ */

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-button {
  background: #000;
  color: #fff;
  padding: 12px 28px;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: .25s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.app-form-button:hover {
  background: #1a1a1a;
  transform: scale(1.03);
}

.app-form-button:active {
  transform: scale(0.95);
}

/* --------------------------------------------- */
/* RESPONSIVE <520px                              */
/* --------------------------------------------- */

@media screen and (max-width: 520px) {

  .screen-body {
    flex-direction: column;
  }

  .screen-body-item {
    padding: 25px 20px;
  }

  .app-title {
    font-size: 22px;
  }

  .app-title:after {
    bottom: -8px;
    width: 28px;
  }

  .app-form-control {
    font-size: 14px;
    padding: 10px 0 4px 0;
  }

  .container {
    padding: 0 10px;
  }

  .screen {
    border-radius: 12px;
  }
}

  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}

.app-form-button {
  background: none;
  border: none;
  color: #0bbc75;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.app-form-button:hover {
  color: #050c31;
}

/* --------------------------------------------- */
/* RESPONSIVE VERSION FOR MOBILE (<520px)        */
/* --------------------------------------------- */

@media screen and (max-width: 520px) {

  .screen-body {
    flex-direction: column;
  }

  .screen-body-item {
    padding: 25px 20px;
  }

  .app-title {
    font-size: 20px;
  }

  .app-title:after {
    bottom: -8px;
    width: 20px;
  }

  .app-form-control {
    font-size: 13px;
    padding: 8px 0;
  }

  .app-form-group.message {
    margin-top: 25px;
  }

  .app-form-button {
    font-size: 13px;
  }

  .container {
    padding: 0 10px;
  }

  .screen {
    border-radius: 10px;
  }

  .screen:after {
    left: 0;
  }
}

/* ---- FOOTER ---- */

/* Wrapper isolante */
.site-footer {
  all: initial;
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 120px;
  background: #0e0e0e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset sicuro solo nel footer */
.site-footer * {
  box-sizing: border-box;
}

/* Linea di separazione dal contenuto */
.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* FOOTER CORE */
.site-footer .footer {
  color: #ffffff;
  padding: 55px 20px 35px;
  text-align: center;
}

/* TITOLI */
.site-footer .footer-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
}

.site-footer .footer-sub {
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 22px;
}

/* SOCIAL */
.site-footer .footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 18px 0;
}

.site-footer .social-icon {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.site-footer .social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

/* BRAND COLORS */
.site-footer .instagram:hover {
  color: #ff4f9a;
}

.site-footer .whatsapp:hover {
  color: #25d366;
}

/* COPYRIGHT */
.site-footer .footer-copy {
  font-size: 13px;
  opacity: 0.55;
  margin-top: 25px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }

  .contact-subtext {
    font-size: 17px;
    margin-bottom: 40px;
  }

  .screen {
    padding: 35px;
    border-radius: 15px;
  }

  .screen-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .thirteen {
    margin-bottom: 35px;
    border-width: 1px;
  }

  .thirteen h1 {
    font-size: 28px;
    letter-spacing: 3px;
  }

  .thirteen::before,
  .thirteen::after {
    width: 30px;
  }

  .contact-subtext {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .screen {
    padding: 30px 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
  }

  .screen-header {
    height: 32px;
    margin-bottom: 25px;
    border-radius: 8px 8px 0 0;
  }

  .screen-header h2 {
    font-size: 18px;
    line-height: 32px;
  }

  .window-button {
    width: 10px;
    height: 10px;
  }

  .app-form-group {
    margin-bottom: 20px;
  }

  .app-form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .app-form-group input,
  .app-form-group textarea,
  .app-form-group select {
    font-size: 14px;
    padding: 10px 12px;
    height: auto;
  }

  .app-form-group textarea {
    min-height: 100px;
  }

  .app-form-group input::placeholder,
  .app-form-group textarea::placeholder {
    font-size: 13px;
  }

  .app-form-button {
    font-size: 15px;
    padding: 10px 20px;
    height: 44px;
  }

  .site-footer {
    margin-top: 80px;
  }

  .site-footer .footer-title {
    font-size: 22px;
  }

  .site-footer .social-icon {
    font-size: 24px;
    padding: 9px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 88%;
  }

  .navbar {
    height: 50px;
  }

  .nav-container {
    height: 50px;
  }

  .thirteen {
    margin-bottom: 25px;
    border-width: 1px;
    padding: 15px 0;
  }

  .thirteen h1 {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .thirteen::before,
  .thirteen::after {
    width: 20px;
  }

  .contact-subtext {
    font-size: 13px;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  .screen {
    padding: 20px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .screen-header {
    height: 28px;
    margin-bottom: 20px;
    border-radius: 6px 6px 0 0;
  }

  .screen-header h2 {
    font-size: 15px;
    line-height: 28px;
  }

  .window-button {
    width: 8px;
    height: 8px;
    margin-right: 6px;
  }

  .app-form-group {
    margin-bottom: 15px;
  }

  .app-form-group label {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .app-form-group input,
  .app-form-group textarea,
  .app-form-group select {
    font-size: 13px;
    padding: 9px 10px;
    height: auto;
    width: 100%;
  }

  .app-form-group textarea {
    min-height: 85px;
  }

  .app-form-group input::placeholder,
  .app-form-group textarea::placeholder {
    font-size: 12px;
  }

  .app-form-button {
    font-size: 13px;
    padding: 10px 15px;
    height: 40px;
    width: 100%;
  }

  .site-footer {
    margin-top: 60px;
  }

  .site-footer .footer-title {
    font-size: 20px;
  }

  .site-footer .footer-sub {
    font-size: 14px;
  }

  .site-footer .social-icon {
    font-size: 20px;
    padding: 8px;
  }

  .site-footer .footer-copy {
    font-size: 12px;
  }
}

body {
    background: linear-gradient(to bottom, #edf0f5, #0bbc75) !important;
}

/* Reset & font ---------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff !important;
}

/* Container -------------------------------------------------------------- */

.container {
  max-width: 1050px;
  width: 90%;
  margin: auto;
}

/* NAVBAR ---------------------------------------------------------------- */

.navbar {
  width: 100%;
  box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #edf0f5 !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  position: relative;
}

/* HAMBURGER MENU -------------------------------------------------------- */

.nav-container .checkbox {
  position: absolute;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
}

.line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.line2 {
  transition: transform 0.2s ease-in-out;
}

.line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

/* MENU ITEMS ------------------------------------------------------------ */

.navbar .menu-items {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  padding-top: 120px;
  background: #edf0f5;
  transform: translateX(-150%);
  display: flex;
  flex-direction: column;
  padding-left: 50px;
  text-align: center;
  transition: transform 0.5s ease-in-out;
  backdrop-filter: blur(2px);
  z-index: 9999;
}

.navbar .menu-items li {
  list-style: none;
  margin-bottom: 4rem;
}

.navbar .menu-items a {
  text-decoration: none;
  color: #0e2431;
  font-size: 1.5rem;
  font-weight: 500;
}

.navbar .menu-items a:hover {
  font-weight: 700;
}

/* MENU OPEN ANIMATIONS -------------------------------------------------- */

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

/* CLOSE BUTTON ---------------------------------------------------------- */

.close-menu {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
  z-index: 99999;
}

.nav-container input[type="checkbox"]:checked ~ .close-menu {
  display: block;
}

/* BLUR BACKGROUND WHEN MENU IS OPEN ------------------------------------- */

.page-content {
  transition: filter 0.4s ease;
}

.nav-container input[type="checkbox"]:checked ~ .page-content {
  filter: blur(30px) brightness(0.2);
}

/* LOGO (senza positioning assoluto!) ------------------------------------ */

.logo {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 180px;
  width: 280px;
  object-fit: contain;
}

/* LOGO BUTTON (flottante sopra la navbar) ------------------------------- */

.logo-button {
  width: 220px;
  height: 140px;
  background: #edf0f5!important;
  border-radius: 25px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  position: absolute;
  top: 5px;
  right: 15px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.logo-button:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

/* BUTTON STYLE ---------------------------------------------------------- */

.btn {
  position: relative;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 2.5em;
  cursor: pointer;
  border-radius: 6em;
  transition: all 0.2s;
  border: none;
  font-weight: 500;
  background-color: #edf0f5 !important;
  color: black;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.btn::after {
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #fff;
  transition: all 0.4s;
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}
/* MENU CENTRATO SU MOBILE */
@media (max-width: 768px) {
  .navbar .menu-items {
    text-align: center;
    padding-left: 0;        /* rimuove lo spostamento a sinistra */
    align-items: center;    /* centra verticalmente e orizzontalmente */
  }

  .navbar .menu-items li {
    width: 100%;
  }

  .navbar .menu-items a {
    font-size: 1.8rem;      /* opzionale: più leggibile su mobile */
    display: block;
    width: 100%;
  }
}

/* END NAVBAR */
/* HEADER START */
.thirteen {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  margin-top: 20px;
}

.thirteen h1 {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
  text-transform: uppercase;
  width: auto;
  text-align: center;
  white-space: nowrap;
  border: 2px solid #0bbc75;
  padding: 5px 14px 3px 14px;
  margin: 0;
}

/* i due puntini laterali */
.thirteen h1:before,
.thirteen h1:after {
  background-color: #050c31;
  position: absolute;
  content: '';
  height: 7px;
  width: 7px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.thirteen h1:before {
  left: -20px;
}

.thirteen h1:after {
  right: -20px;
}
/* HEADER SECTION END */

.contact-subtext {
  font-size: 16px;
  margin-top: 10px;
  color: #050c31; /* leggermente trasparente */
  text-align: center;
  letter-spacing: 1px;
  font-size: x-large
}


/* ---- CONTACT SECTION ---- */

.container {
  flex: 0 1 700px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 20px;
  margin-top: 0px;
}

.screen {
  position: relative;
  background: #ffffff;
  border-radius: 15px;
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #ffffff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #000000;
  font-size: 26px;
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: #000000;
}

.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: #888;
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #030000;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;/* ---- CONTACT SECTION — VERSIONE APPLE INSPIRED ---- */

.container {
  flex: 0 1 850px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 40px;
}

/* ------------------------------
   SCREEN (Apple glassmorphism)
------------------------------ */

.screen {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .1);
}

.screen:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  bottom: 0;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .25);
  z-index: -1;
}

/* ------------------------------
   HEADER — stile macOS Sonoma
------------------------------ */

.screen-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
}

.close { background: #ff605c; }
.maximize { background: #ffbd44; }
.minimize { background: #00ca4e; }

.screen-header-ellipsis {
  width: 4px;
  height: 4px;
  background: #777;
  border-radius: 50%;
  margin-left: 3px;
}

/* ------------------------------
   BODY
------------------------------ */

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ------------------------------
   TITLE — Apple minimalist
------------------------------ */

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #0e2431;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.app-title:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 35px;
  height: 4px;
  background: #99f2c8;
  border-radius: 2px;
}

.app-contact {
  margin-top: auto;
  font-size: 10px;
  color: #666;
}

/* ------------------------------
   FORM — Floating label Apple
------------------------------ */

.app-form-group {
  position: relative;
  margin-bottom: 25px;
}

.app-form-group.message {
  margin-top: 40px;
}

/* Floating label */
.app-form-group label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 0.85rem;
  color: #5c6975;
  pointer-events: none;
  transition: 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text";
}

/* Input style */
.app-form-control {
  width: 100%;
  padding: 14px 0 6px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  color: #000;
  font-size: 15px;
  outline: none;
  transition: border-color .25s;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text";
}

.app-form-control::placeholder {
  color: transparent;
}

.app-form-control:focus {
  border-bottom-color: #007aff;
}

/* Floating animation */
.app-form-control:focus + label,
.app-form-control:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.75rem;
  color: #007aff;
}

/* SELECT */
.app-form-group select:not([value=""]) + label {
  top: -10px;
  font-size: 0.75rem;
  color: #007aff;
}

/* ------------------------------
   BUTTON
------------------------------ */

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-button {
  background: #000;
  color: #fff;
  padding: 12px 28px;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: .25s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.app-form-button:hover {
  background: #1a1a1a;
  transform: scale(1.03);
}

.app-form-button:active {
  transform: scale(0.95);
}

/* --------------------------------------------- */
/* RESPONSIVE <520px                              */
/* --------------------------------------------- */

@media screen and (max-width: 520px) {

  .screen-body {
    flex-direction: column;
  }

  .screen-body-item {
    padding: 25px 20px;
  }

  .app-title {
    font-size: 22px;
  }

  .app-title:after {
    bottom: -8px;
    width: 28px;
  }

  .app-form-control {
    font-size: 14px;
    padding: 10px 0 4px 0;
  }

  .container {
    padding: 0 10px;
  }

  .screen {
    border-radius: 12px;
  }
}

  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}

.app-form-button {
  background: none;
  border: none;
  color: #0bbc75;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.app-form-button:hover {
  color: #050c31;
}

/* =================================================
   MOBILE OPTIMIZATION — APPLE STYLE
   ================================================= */

/* ---------- FORM (<520px) ---------- */

@media (max-width: 520px) {

  .app-form-group {
    margin-bottom: 18px;
  }

  .app-form-group.message {
    margin-top: 24px;
  }

  .app-form-group label {
    font-size: 12px;
    top: 11px;
  }

  .app-form-control {
    font-size: 14px;
    padding: 10px 0 5px;
  }

  .app-form-control:focus + label,
  .app-form-control:not(:placeholder-shown) + label {
    top: -9px;
    font-size: 0.65rem;
  }

  .app-form-group.buttons {
    text-align: center;
    margin-top: 10px;
  }

  .app-form-button {
    width: 100%;
    height: 44px; /* Apple tap target */
    font-size: 14px;
    padding: 0;
    border-radius: 14px;
  }
}

/* ---- FOOTER ---- */

/* Wrapper isolante */
.site-footer {
  all: initial;
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 120px;
  background: #0e0e0e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset sicuro solo nel footer */
.site-footer * {
  box-sizing: border-box;
}

/* Linea di separazione dal contenuto */
.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* FOOTER CORE */
.site-footer .footer {
  color: #ffffff;
  padding: 55px 20px 35px;
  text-align: center;
}

/* TITOLI */
.site-footer .footer-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
}

.site-footer .footer-sub {
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 22px;
}

/* SOCIAL */
.site-footer .footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 18px 0;
}

.site-footer .social-icon {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.site-footer .social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

/* BRAND COLORS */
.site-footer .instagram:hover {
  color: #ff4f9a;
}

.site-footer .whatsapp:hover {
  color: #25d366;
}

/* COPYRIGHT */
.site-footer .footer-copy {
  font-size: 13px;
  opacity: 0.55;
  margin-top: 25px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }

  .contact-subtext {
    font-size: 17px;
    margin-bottom: 40px;
  }

  .screen {
    padding: 35px;
    border-radius: 15px;
  }

  .screen-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .thirteen {
    margin-bottom: 35px;
    border-width: 1px;
  }

  .thirteen h1 {
    font-size: 28px;
    letter-spacing: 3px;
  }

  .thirteen::before,
  .thirteen::after {
    width: 30px;
  }

  .contact-subtext {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .screen {
    padding: 30px 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
  }

  .screen-header {
    height: 32px;
    margin-bottom: 25px;
    border-radius: 8px 8px 0 0;
  }

  .screen-header h2 {
    font-size: 18px;
    line-height: 32px;
  }

  .window-button {
    width: 10px;
    height: 10px;
  }

  .app-form-group {
    margin-bottom: 20px;
  }

  .app-form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .app-form-group input,
  .app-form-group textarea,
  .app-form-group select {
    font-size: 14px;
    padding: 10px 12px;
    height: auto;
  }

  .app-form-group textarea {
    min-height: 100px;
  }

  .app-form-group input::placeholder,
  .app-form-group textarea::placeholder {
    font-size: 13px;
  }

  .app-form-button {
    font-size: 15px;
    padding: 10px 20px;
    height: 44px;
  }

  .site-footer {
    margin-top: 80px;
  }

  .site-footer .footer-title {
    font-size: 22px;
  }

  .site-footer .social-icon {
    font-size: 24px;
    padding: 9px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 88%;
  }

  .navbar {
    height: 50px;
  }

  .nav-container {
    height: 50px;
  }

  .thirteen {
    margin-bottom: 25px;
    border-width: 1px;
    padding: 15px 0;
  }

  .thirteen h1 {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .thirteen::before,
  .thirteen::after {
    width: 20px;
  }

  .contact-subtext {
    font-size: 13px;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  .screen {
    padding: 20px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .screen-header {
    height: 28px;
    margin-bottom: 20px;
    border-radius: 6px 6px 0 0;
  }

  .screen-header h2 {
    font-size: 15px;
    line-height: 28px;
  }

  .window-button {
    width: 8px;
    height: 8px;
    margin-right: 6px;
  }

  .app-form-group {
    margin-bottom: 15px;
  }

  .app-form-group label {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .app-form-group input,
  .app-form-group textarea,
  .app-form-group select {
    font-size: 13px;
    padding: 9px 10px;
    height: auto;
    width: 100%;
  }

  .app-form-group textarea {
    min-height: 85px;
  }

  .app-form-group input::placeholder,
  .app-form-group textarea::placeholder {
    font-size: 12px;
  }

  .app-form-button {
    font-size: 13px;
    padding: 10px 15px;
    height: 40px;
    width: 100%;
  }

  .site-footer {
    margin-top: 60px;
  }

  .site-footer .footer-title {
    font-size: 20px;
  }

  .site-footer .footer-sub {
    font-size: 14px;
  }

  .site-footer .social-icon {
    font-size: 20px;
    padding: 8px;
  }

  .site-footer .footer-copy {
    font-size: 12px;
  }
}
/* ==============================
   TEXT SPLIT — HERO ANIMATION
   ============================== */

#text-split {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 100px 0 80px;
  text-align: center;
}

#text-split .text-xl {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem); /* responsive */
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: #0e2431; /* coerente con navbar */
  cursor: pointer;
  user-select: none;
}

/* necessari per l'animazione */
.word,
.char {
  display: inline-block;
  will-change: transform;
}

/* micro feedback Apple-style */
#text-split .text-xl:hover {
  opacity: 0.9;
}