/* RESET AND NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F2F2F2;
  color: #20262c;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #28B980;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #243D6B;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  color: #243D6B;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
@media (min-width: 900px) {
  h1 { font-size: 3.125rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}
p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #243D6B;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.9em;
  color: #7288AA;
}
.container {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(30,32,58,.04);
  z-index: 101;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
  position: relative;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  color: #243D6B;
  padding: 8px 14px;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: #28B980;
  color: #fff;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.cta-button {
  background: #28B980;
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 13px 32px;
  border-radius: 30px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 16px -6px #28B98044;
  letter-spacing: .04em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: #243D6B;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px -8px #243D6B33;
}
.secondary-link {
  color: #28B980;
  font-weight: bold;
  transition: color 0.18s;
}
.secondary-link:hover,
.secondary-link:focus {
  color: #243D6B;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #28B980;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 111;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #243D6B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #243D6B;
  color: #fff;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,.2,.05,1.0);
  box-shadow: 6px 0 32px 0 #243D6B33;
  pointer-events: none;
  opacity: .92;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 26px 24px 14px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #28B980;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 20px 32px;
  margin-top: 32px;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: .02em;
  padding: 14px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  border-radius: 8px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #28B980;
  color: #fff;
  border-bottom: 2px solid #F2F2F2;
}
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 1023px) {
  .main-nav ul, .main-nav .cta-button {
    display: none !important;
  }
  .mobile-menu {
    display: flex;
  }
}

/* HERO & SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 20px 0 #243d6b08;
}
@media (max-width:900px) {
  section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
}

/* Caratteristiche energetiche e vibranti */
.feature-grid, .service-list, .featured_startup_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  justify-content: flex-start;
}
.feature-grid li, .service-list li, .startup-story, .team-bio {
  background: #f8f9fe;
  box-shadow: 0 3px 18px -6px #243d6b14;
  border-radius: 16px;
  padding: 28px 22px;
  min-width: 240px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border-left: 6px solid #28B980;
  transition: box-shadow 0.18s, transform 0.15s, border-color 0.18s;
}
.feature-grid li:hover, .service-list li:hover, .startup-story:hover, .team-bio:hover {
  box-shadow: 0 8px 28px -7px #28b98033;
  transform: translateY(-2px) scale(1.025);
  border-left-color: #21cfd1;
}
.feature-grid img, .startup-story img, .team-bio img {
  height: 36px;
  width: 36px;
  margin-bottom: 6px;
}

.bullet-list {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bullet-list li {
  padding-left: 30px;
  position: relative;
  color: #243D6B;
  font-family: 'Open Sans',sans-serif;
  font-size: 1.04rem;
}
.bullet-list li:before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  background: #28B980;
  border-radius: 50%;
}

.call-to-action {
  background: #28B980;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 18px 24px;
  margin-top: 18px;
  font-size: 1.2rem;
  box-shadow: 0 2px 18px -8px #28B98033;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 0px;
}
.text-section li {
  color: #243D6B;
  font-size: 1em;
}

.proof-points p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  margin-bottom: 0.4em;
}
.faq-list {
  background: #243D6B;
  border-radius: 12px;
  color: #fff;
  padding: 16px 20px;
  margin-top: 18px;
}
.faq-list h3 {
  color: #28B980;
  margin-bottom: 10px;
}
.faq-list li + li {
  margin-top: 7px;
}
.faq-list li {
  color: white;
}

.team-member-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.team-bio {
  min-width: 220px;
  flex: 1 1 240px;
}

.featured_startup_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.startup-story {
  min-width: 220px;
  flex: 1 1 260px;
  border-left: 6px solid #F8DB49;
}
.startup-story:hover {
  border-left-color: #28B980;
}

.service-list li .service-price {
  background: #28B980;
  color: #fff;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: bold;
  padding: 6px 14px;
  margin-top: 8px;
  display: inline-block;
}

.service-features ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.service-features li {
  color: #20262c;
  font-size: 1em;
  position: relative;
  padding-left: 24px;
}
.service-features li:before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  background: #F8DB49;
  border-radius: 50%;
}

/* TESTIMONIAL CARD */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 #28B98022;
  margin-bottom: 22px;
  border-left: 5px solid #28B980;
  transition: box-shadow 0.18s, border-color 0.15s;
}
.testimonial-card p {
  font-size: 1.08em;
  color: #243D6B;
  font-family: 'Open Sans',sans-serif;
}
.testimonial-card span {
  color: #243D6B;
  font-weight: bold;
  font-family: 'Montserrat',sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px -7px #28b98044;
  border-left-color: #243D6B;
}

/* CONTACT DETAILS */
.contact-details {
  background: #F8DB49;
  padding: 26px 22px;
  border-radius: 14px;
  margin: 16px 0 24px 0;
  box-shadow: 0 2px 14px 0 #243d6b11;
  font-size: 1.09em;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* FOOTER */
footer {
  background: #243D6B;
  padding: 40px 0 30px 0;
  color: #fff;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-logo img {
  height: 48px;
  width: auto;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-menu li a {
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-size: 1em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.footer-menu li a:hover,
.footer-menu li a:focus {
  background: #28B980;
  color: #fff;
}
.footer-contact {
  font-size: 1.04rem;
  margin-top: 16px;
  line-height: 1.6;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}
.footer-contact strong {
  color: #28B980;
  font-family: 'Montserrat',sans-serif;
  display: inline-block;
  margin-bottom: 2px;
}
.footer-contact small {
  color: #F8DB49;
  font-size: .95em;
}

@media (min-width: 860px) {
  .content-wrapper, footer .content-wrapper {
    align-items: flex-start;
    gap: 42px;
    justify-content: space-between;
  }
  .footer-menu {
    flex-direction: row;
    align-items: center;
  }
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .feature-grid, .service-list, .team-member-grid, .featured_startup_grid {
    flex-direction: column;
    gap: 18px;
  }
  .team-bio, .startup-story {
    min-width: 0;
    flex: 1 1 100%;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.08rem; }
  .footer-logo img {
    height: 36px;
  }
  .container {
    padding: 0 5px;
  }
}

/* Animations & transitions (micro-interactions) */
.cta-button,
.secondary-link,
.main-nav ul li a,
.mobile-nav a,
.card,
.feature-grid li,
.service-list li,
.startup-story,
.team-bio,
.testimonial-card {
  transition: box-shadow 0.18s, color 0.18s, background 0.18s, border-color 0.18s, transform 0.18s;
}

/* MODALS & BANNERS */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #243D6B;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px 20px 20px;
  box-shadow: 0 -4px 22px 0 #243D6B22;
  z-index: 10001;
  gap: 18px;
  font-size: 1em;
  min-height: 60px;
  animation: fadein-cookies 0.38s linear;
}
@keyframes fadein-cookies { from { opacity:0; transform: translateY(80px);} to {opacity:1;transform:none;} }
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  margin-top: 4px;
}
.cookie-banner button {
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1em;
  padding: 9px 24px;
  cursor: pointer;
  margin-right: 6px;
  margin-bottom: 3px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cookie-banner .cookie-accept {
  background: #28B980;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #21cfd1;
}
.cookie-banner .cookie-reject {
  background: #F8DB49;
  color: #243D6B;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #243D6B;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #243D6B;
  border: 1.5px solid #28B980;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #28B980;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10010;
  background: rgba(36,61,107,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  animation: fadein-cookies 0.38s linear;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 #243D6B55;
  max-width: 420px;
  width: 94vw;
  color: #243D6B;
  padding: 32px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  color: #28B980;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #28B980;
  position: absolute;
  right: 19px; top: 14px;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 9px 0;
}
.cookie-modal label {
  font-size: 1.02em;
  font-weight: 500;
}
.cookie-modal input[type=checkbox], .cookie-modal input[type=radio] {
  accent-color: #28B980;
  width: 22px; height: 22px;
}
.cookie-modal .essential {
  color: #aaa;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject {
  border-radius: 7px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  padding: 10px 22px;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 7vw 12px 7vw;
    min-width: 0;
  }
}

/* --- UTILITIES --- */
.d-none {
  display: none !important;
}
.text-center {
  text-align: center;
}
.align-center {
  justify-content: center;
  align-items: center;
}

/* --- Spacings & Patterns as Required --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* FLEXBOX RESPONSIVE ALIGNMENT */
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Non-grid card fix */
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 18px -6px #243d6b11;
  padding: 24px 21px;
  transition: box-shadow .15s, transform .15s;
}
.card:hover {
  box-shadow: 0 8px 32px -7px #243D6B1F;
  transform: translateY(-2px) scale(1.02);
}

/* Hide scroll on mobile menu */
.mobile-menu.open {
  overflow-y: auto;
}

/* Vibrant electric accent highlights/lines (section): */
section {
  border-top: 6px solid #28B980;
  border-bottom: 6px solid #F8DB49;
  outline: 2px solid #243D6B08;
  position: relative;
  z-index: 0;
}

/***** Elevate vibrance: focus & selection *****/
::selection { background: #F8DB49; color: #243D6B; }

/**** Scrollbar styling for energy ****/
body::-webkit-scrollbar {
  width: 8px;
  background: #F2F2F2;
}
body::-webkit-scrollbar-thumb {
  background: #28B980;
  border-radius: 8px;
}

/* --- END --- */