
body {
    background: linear-gradient(to bottom, #edf0f5, #0bbc75) !important;
    font-family: "Inter",sans-serif!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: 100%!important;
  width: 100%;
  margin: auto;
}

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

.navbar {
  width: 100%!important;
  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;
  width: 100%!important;
}

/* 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;
}

/* LOGO ------------------------------------------------------------------ */

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

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

/* 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 END */

/* WRAP CONTAINER -------------------------------------------------------- */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TITLE STYLING --------------------------------------------------------- */

.title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0e2431;
  margin: 60px 0 50px;
  position: relative;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #164fa9, #1a9b8b);
  border-radius: 2px;
}

/* SERVICES GRID CONTAINER ==================== */

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
  padding: 0 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* SERVICE CARD ================================ */

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(22, 79, 169, 0.1), rgba(26, 155, 139, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* SERVICE ICON =============================== */

.service-icon {
  font-size: 48px;
  color: #0e2431;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(22, 79, 169, 0.1), rgba(26, 155, 139, 0.1));
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.service-card:hover .service-icon {
  color: #164fa9;
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, rgba(22, 79, 169, 0.2), rgba(26, 155, 139, 0.2));
}

/* SERVICE TITLE ============================== */

.service-title {
  font-size: 20px;
  font-weight: 600;
  color: #0e2431;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: #164fa9;
}

/* SERVICE DESCRIPTION ======================== */

.service-description {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-description {
  opacity: 1;
}

/* PREMIUM SERVICES SECTION =================== */

.premium-section {
  margin: 80px 0;
  padding: 50px 0;
  background: transparent;
}

.premium-section .title {
  margin-top: 0;
  margin-bottom: 50px;
}

.premium-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.premium-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  cursor: pointer;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(22, 79, 169, 0.1), rgba(26, 155, 139, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.premium-badge {
  display: inline-block;
  background: linear-gradient(90deg, #164fa9, #1a9b8b);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.premium-icon {
  font-size: 48px;
  color: #0e2431;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  display: block;
}

.premium-card:hover .premium-icon {
  color: #164fa9;
  transform: scale(1.15);
}

.premium-title {
  font-size: 20px;
  font-weight: 600;
  color: #0e2431;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.premium-card:hover .premium-title {
  color: #164fa9;
}

.premium-description {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  opacity: 0.8;
}

.premium-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-features li {
  padding: 8px 0;
  color: #555;
  font-size: 13px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.premium-features li::before {
  content: '✓';
  display: inline-block;
  color: #164fa9;
  font-weight: 700;
  margin-right: 10px;
  font-size: 14px;
}

.premium-card:hover .premium-features li {
  color: #0e2431;
  opacity: 1;
}

/* DIVIDER ===================================== */

.divider-glass {
  width: 60%;
  height: 2px;
  margin: 50px auto;
  background: linear-gradient(90deg, transparent, rgba(22, 79, 169, 0.3), transparent);
  border-radius: 1px;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .premium-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    padding: 35px 25px;
  }

  .title {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  .thirteen {
    margin-bottom: 1.5rem;
    margin-top: 10px;
  }

  .thirteen h1 {
    font-size: 16px;
    border: 1.5px solid #0bbc75;
    padding: 4px 10px 2px 10px;
  }

  .thirteen h1:before,
  .thirteen h1:after {
    height: 5px;
    width: 5px;
    left: -15px;
  }

  .thirteen h1:after {
    right: -15px;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0 60px;
  }

  .premium-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .premium-card {
    padding: 30px 20px;
  }

  .service-icon {
    font-size: 40px;
    width: 70px;
    height: 70px;
  }

  .service-title {
    font-size: 18px;
  }

  .service-description {
    font-size: 13px;
  }

  .title {
    font-size: 1.8rem;
    margin: 40px 0 30px;
  }

  .title::after {
    width: 60px;
    bottom: -12px;
  }

  .premium-section {
    margin: 80px 0;
    padding: 40px 0;
  }

  .premium-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .thirteen {
    margin-bottom: 1rem;
    margin-top: 10px;
  }

  .thirteen h1 {
    font-size: 14px;
    border: 1px solid #0bbc75;
    padding: 3px 8px 2px 8px;
  }

  .thirteen h1:before,
  .thirteen h1:after {
    height: 4px;
    width: 4px;
    left: -12px;
  }

  .thirteen h1:after {
    right: -12px;
  }

  .wrap {
    padding: 0 15px;
  }

  .services-container {
    gap: 15px;
    padding: 0 10px;
  }

  .premium-container {
    gap: 15px;
    padding: 0 10px;
  }

  .service-card {
    padding: 25px 15px;
  }

  .premium-card {
    padding: 25px 15px;
  }

  .service-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .premium-icon {
    font-size: 40px;
  }

  .service-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .premium-title {
    font-size: 16px;
  }

  .service-description {
    font-size: 12px;
    line-height: 1.5;
  }

  .premium-description {
    font-size: 12px;
  }

  .premium-features li {
    font-size: 12px;
    padding: 6px 0;
  }

  .title {
    font-size: 1.5rem;
    margin: 30px 0 25px;
  }

  .divider-glass {
    margin: 35px auto;
  }
}

/* ================================================
   FOOTER – ISOLATED / NO CONFLICT VERSION
   ================================================ */

/* 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 FOOTER */
@media (max-width: 768px) {
  .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) {
  .site-footer .footer-title {
    font-size: 20px;
  }

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

  .site-footer .footer-copy {
    font-size: 12px;
  }
}
@keyframes fadup {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
