/* RESET & NORMALIZE (mobile-first) */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9F7F7;
  color: #1A1A2E;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: #0F3460;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.77,0,.18,1);
}
a:hover, a:focus {
  color: #1A1A2E;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid #e0e3ed;
  text-align: left;
}
th {
  background: #0F3460;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #1A1A2E;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.subtitle {
  color: #0F3460;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #23233a;
  font-weight: 400;
}
strong {
  font-weight: 700;
}

/* CONTAINER & FLEXBOX LAYOUTS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(22,34,75,0.08);
  padding: 28px 24px;
  transition: box-shadow 0.25s cubic-bezier(.77,0,.18,1), transform 0.20s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(10,24,100,0.16);
  transform: translateY(-5px) scale(1.025);
}
.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;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(31,52,96,0.11);
  margin-bottom: 20px;
  font-size: 1.05rem;
  min-width: 0;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A1A2E;
  margin-right: 12px;
}
.testimonial-card span {
  color: #0F3460;
  font-weight: 700;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO AREA */
.hero {
  background: #1A1A2E url('../assets/bg-hero.svg') top right no-repeat;
  background-size: cover;
  min-height: 370px;
  color: #fff;
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 14px;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero .btn-primary {
  margin-top: 20px;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(31,52,96,0.06);
  position: sticky;
  top: 0;
  z-index: 70;
}
.logo img {
  width: 136px;
  height: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-left: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.1px;
  color: #1A1A2E;
  padding: 6px 0;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #0F3460;
  color: #fff;
}
.btn-primary {
  background: #0F3460;
  color: #F9F7F7;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  padding: 11px 34px;
  font-size: 1.08rem;
  box-shadow: 0 2px 6px rgba(10,24,100,0.10);
  cursor: pointer;
  display: inline-block;
  margin-left: 12px;
  transition: background 0.23s cubic-bezier(.4,0,.2,1), color 0.18s, box-shadow 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F9F7F7;
  color: #0F3460;
  box-shadow: 0 3px 16px rgba(10,24,100,0.14);
}
.contact-shortcut {
  color: #1A1A2E;
  font-weight: 500;
  margin-left: 18px;
  text-decoration: underline;
  font-size: 1rem;
  transition: color .15s;
}
.contact-shortcut:hover {
  color: #0F3460;
}

/* FLEX HEADER CONTAINER */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 87px;
  position: relative;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: #0F3460;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0 10px;
  border-radius: 7px;
  height: 49px;
  width: 49px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e8edf4;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1A1A2E;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.6,.2,.4,1);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 35px 22px 18px 22px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  display: inline-flex;
  font-size: 2.3rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-bottom: 34px;
  align-self: flex-end;
  line-height: 1;
  transition: color .18s;
}
.mobile-menu-close:hover {
  color: #F9F7F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.33rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 10px 8px 0;
  border-radius: 3px;
  text-align: left;
  transition: background .2s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #0F3460;
  color: #F9F7F7;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* CTA BANNER */
.cta-banner {
  background: #0F3460;
  color: #fff;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  padding: 34px 22px;
  box-shadow: 0 2px 16px rgba(31,52,96,0.09);
  margin-bottom: 32px;
}
.cta-banner h2 {
  color: #F9F7F7;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.feature-grid li {
  flex: 1 1 210px;
  min-width: 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(41,52,120,0.06);
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 0;
  border-left: 8px solid #0F3460;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-grid li:hover {
  border-left: 8px solid #F9F7F7;
  box-shadow: 0 6px 28px rgba(31,52,96,0.13);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  filter: drop-shadow(1px 2px 2px #e5e7ef90);
}

/* CORE VALUES & LISTS */
.core-values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 14px;
  margin-bottom: 10px;
}
.core-values-list li {
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: #0F3460;
  box-shadow: 0 2px 8px rgba(31,52,96,0.10);
  padding: 16px 20px;
}
.core-values-list img {
  width: 27px;
  height: 27px;
}

ul li {
  margin-bottom: 13px;
}
ul li:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 4px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(41,52,120,0.07);
  padding: 23px 20px 18px 20px;
  font-size: 1.01rem;
}
.faq-item h3 {
  color: #0F3460;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
}

/* PRICING TABLE */
.pricing-table {
  margin: 18px 0 24px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(31,52,96,0.09);
  overflow: hidden;
}
.pricing-table tr:hover {
  background: #F9F7F7;
}
.pricing-table td {
  color: #0F3460;
  font-family: 'Roboto', Arial, sans-serif;
}

/* HELPLINE */
.helpline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-top: 16px;
  color: #0F3460;
  font-size: 1.02rem;
}
.helpline img {
  width: 23px;
  height: 23px;
}

/* CERTIFICAZIONI SECTION */
.certificazioni {
  margin-top: 18px;
  background: #0F3460;
  color: #fff;
  border-radius: 10px;
  padding: 16px 26px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 2px 10px rgba(31,52,96,0.10);
}
.certificazioni strong {
  color: #F9F7F7;
  font-weight: 900;
}

/* CONTACT & THANK YOU */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 10px;
}
.contact-details span, .contact-details p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: #0F3460;
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
}

.contact-details span {
  color: #F9F7F7;
}
.contact-details img {
  width: 23px;
  height: 23px;
}

.thank-you-message {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31,52,96,0.08);
  padding: 23px 18px;
  margin-bottom: 20px;
  font-size: 1.08rem;
}
.next-steps {
  margin-bottom: 16px;
}
.next-steps h2 {
  margin-bottom: 6px;
}

/* FOOTER */
footer {
  background: #1A1A2E;
  color: #fff;
  padding: 34px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #F9F7F7;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  border-radius: 4px;
  padding: 7px 14px;
  transition: background 0.17s, color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #F9F7F7;
  color: #0F3460;
}
.brand-signature {
  margin-top: 10px;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #e2e8ef;
  letter-spacing: 0.17px;
}

/* GENERAL SPACING */
main section {
  margin-bottom: 60px;
  padding: 0;
}
main section:last-child {
  margin-bottom: 0;
}

/* BUTTONS */
button:focus, .btn-primary:focus {
  outline: 2px solid #0F3460;
  outline-offset: 1px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10010;
  background: #0F3460;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 18px 19px 18px;
  box-shadow: 0 -2px 16px rgba(26,26,46,0.13);
  font-size: 1.03rem;
  transition: transform 0.26s cubic-bezier(.6,.2,.4,1), opacity 0.2s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner .btn-cookie {
  background: #F9F7F7;
  color: #0F3460;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.04rem;
  border-radius: 6px;
  padding: 9px 21px;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
  box-shadow: 0 2px 8px rgba(10,24,100,0.08);
}
.cookie-banner .btn-cookie:focus, .cookie-banner .btn-cookie:hover {
  background: #1A1A2E;
  color: #fff;
}
.cookie-banner .btn-cookie-settings {
  background: #fff0e7;
  color: #0F3460;
  border: 1px solid #0F3460;
  font-size: 0.95rem;
}
.cookie-banner .btn-cookie-settings:focus, .cookie-banner .btn-cookie-settings:hover {
  background: #0F3460;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(26,26,46,0.88);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.26s cubic-bezier(.6,.2,.4,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 46px 28px 28px 28px;
  max-width: 440px;
  width: 94vw;
  color: #1A1A2E;
  font-size: 1.03rem;
  box-shadow: 0 10px 44px rgba(31,52,96,0.22);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.23rem;
  margin-bottom: 12px;
  color: #0F3460;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #0F3460;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #1A1A2E;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 15px;
}
.cookie-category label {
  cursor: pointer;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  border-radius: 13px;
  background: #e8e5ef;
  appearance: none;
  outline: none;
  position: relative;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: #0F3460;
}
.cookie-toggle:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.cookie-toggle::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #F9F7F7;
  border: 2px solid #0F3460;
  transition: background 0.15s;
  box-shadow: 0 1px 2px rgba(20,35,80,0.07);
  margin-top: 2px;
}
.cookie-toggle:checked::-webkit-slider-thumb {
  background: #0F3460;
  border-color: #fff;
}
.cookie-toggle::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #F9F7F7;
  border: 2px solid #0F3460;
}
.cookie-toggle:checked::-moz-range-thumb {
  background: #0F3460;
  border-color: #fff;
}
.cookie-modal .btn-cookie {
  margin-top: 3px;
}

/* FORMS (minimal, but consistent) */
input, textarea, select {
  width: 100%;
  padding: 8px 13px;
  border-radius: 7px;
  border: 1.5px solid #cdd0d8;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A1A2E;
  background: #fff;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #0F3460;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #0F3460;
}

/* UTILITY CLASSES */
.hide-on-mobile {
  display: block;
}
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none!important;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .footer-menu { flex-direction: column; gap: 9px; }
}
@media (max-width: 910px) {
  .feature-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 30px;
    min-height: 270px;
  }
  .cta-banner { padding: 25px 10px; }
  .content-wrapper { gap: 13px; }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    height: auto;
    flex-direction: row;
    gap: 6px;
  }
  .hero { min-height: 170px; }
  .hero h1 { font-size: 1.4rem; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.02rem; }
  .section, main section { padding: 25px 0; margin-bottom: 38px; }
  .content-wrapper { padding: 0 2px; }
  .contact-details { gap: 7px; }
  .feature-grid { flex-direction: column; gap: 14px; }
  .core-values-list { flex-direction: column; gap: 11px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta-banner { padding: 14px 6px; gap: 10px; }
  .footer-menu { gap: 8px; }
  .thank-you-message { padding: 14px 7px;}
  .next-steps { padding: 0; }
  .faq-list { gap: 13px; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .feature-grid li,
  .card { padding: 14px 7px; }
  .pricing-table th, .pricing-table td { padding: 8px 4px; font-size: .95rem; }
  .cta-banner { border-radius: 6px; }
  .certificazioni { padding: 8px 6px; font-size: .98rem; border-radius: 7px; }
  .footer-menu a { padding: 6px 8px; font-size: .93rem; }
}
@media (max-width: 480px) {
  .hero .container { padding: 0 0px; }
  .cookie-modal-content { padding: 32px 7px 16px 9px; border-radius: 7px; }
}

/* GEOMETRIC DECORATIVE SHAPES (bold modern touch) */
.hero:after {
  content: '';
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 110px; height: 110px;
  background: #F9F7F7;
  border-bottom-left-radius: 99px;
  z-index: 1;
  opacity: .13;
  pointer-events: none;
}
@media (max-width: 500px) { .hero:after { display: none; } }

/* Animations & micro-interactions */
.btn-primary, .btn-cookie {
  transition: background-color 0.18s, color 0.18s, box-shadow 0.17s;
}
.cta-banner, .hero, .testimonial-card, .card {
  transition: box-shadow 0.2s, background 0.15s, border 0.15s;
}
.main-nav a, .footer-menu a, .mobile-nav a {
  transition: background 0.18s, color 0.18s;
}

/* NO GRID! ONLY FLEXBOX */
/* ==== End of Styles ==== */