/*------------------------------------------------------------
  CSS RESET & BASE STYLES
------------------------------------------------------------*/
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, caption, tbody, tfoot, thead, tr, th, td, main, section, article, aside, nav, header, footer, figure, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  background: #f8f8f8;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #232323;
  background: #fff;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
main {
  flex: 1 0 auto;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
a {
  color: #232323;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #38414B;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/*------------------------------------------------------------
  BRAND FONTS
------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900|Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #232323;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
p, li, span, a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
p {
  font-size: 1.06rem;
  margin-bottom: 16px;
  color: #232323;
}
strong {
  font-weight: 700;
  color: #19202A;
}

/*------------------------------------------------------------
  COLOR PALETTE - MONOCHROME + BRAND NEUTRALS
------------------------------------------------------------*/
:root {
  --primary: #232323;
  --primary-dark: #17191b;
  --secondary: #d18841;
  --accent: #f5f3ef;
  --gray0: #ffffff;
  --gray1: #f4f4f4;
  --gray2: #ededed;
  --gray3: #cbcbcb;
  --gray4: #969696;
  --gray5: #606060;
  --brand-blue: #38414B;
  --brand-orange: #D18841;
  --brand-bg: #fff;
}

/*------------------------------------------------------------
  LAYOUT CONTAINERS & SPACING
------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--gray0);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(35,35,35,0.07);
  position: relative;
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 22px;
  border: 1px solid var(--gray2);
  transition: box-shadow 0.17s, border-color 0.16s;
}
.card:hover, .card:focus-visible {
  box-shadow: 0 6px 24px 0 rgba(35,35,35,0.14);
  border-color: var(--brand-blue);
}
.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: var(--accent);
  color: #232323;
  border-left: 5px solid var(--brand-blue);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(56,65,75, 0.06);
  flex-direction: column;
  max-width: 600px;
  transition: box-shadow 0.17s, border-color 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(56,65,75,0.11);
  border-color: var(--brand-orange);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 11px;
  padding: 20px 18px;
  background: var(--gray1);
  margin-bottom: 20px;
}

/* Spacing between cards/sections */
section + section {
  margin-top: 30px;
}
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}

/*------------------------------------------------------------
  HEADER, NAVIGATION & LOGO
------------------------------------------------------------*/
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray0);
  box-shadow: 0 2px 12px 0 rgba(35,35,35,0.05);
  padding: 16px 20px 10px 20px;
  position: sticky;
  top: 0;
  z-index: 101;
}
header img[alt="Passo Unico"] {
  height: 44px;
  margin-right: 18px;
  max-width: 180px;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0 4px 2px 4px;
  transition: color 0.18s;
  border-radius: 3px;
}
.main-navigation a:hover, .main-navigation a:focus {
  color: var(--brand-orange);
  background: var(--gray1);
}
.mobile-menu-toggle {
  display: none;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.17s, color 0.14s;
  z-index: 130;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--brand-orange);
  color: #232323;
}

/*--------------------------------
  MOBILE MENU OVERLAY
--------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,35,35,0.94);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0;
  transform: translateX(104vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.29s cubic-bezier(0.5,1,0.89,1), opacity 0.17s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  margin: 26px 32px 10px 0;
  cursor: pointer;
  z-index: 150;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin: 50px 2.5vw 0 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 6px 0 6px 10px;
  border-left: 3px solid transparent;
  transition: color 0.18s, border 0.18s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-orange);
  border-left: 3px solid var(--brand-orange);
  background: #232323;
}

/*--------------------------------
   RESPONSIVE NAVIGATION RULES
--------------------------------*/
@media (max-width: 1100px) {
  .main-navigation {
    gap: 18px;
  }
}
@media (max-width: 960px) {
  .main-navigation {
    gap: 10px;
  }
}
@media (max-width: 850px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 850px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*------------------------------------------------------------
  HERO SECTION, CTA & BUTTONS
------------------------------------------------------------*/
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  background: var(--brand-blue);
  color: #fff;
  margin-top: 14px;
  box-shadow: 0 2px 10px 0 rgba(56,65,75,0.08);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.14s, transform 0.13s;
  text-decoration: none;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brand-orange);
  color: #232323;
  box-shadow: 0 4px 16px 0 rgba(209,136,65,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* Small inline button for cookies and modals */
.button-small {
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 44px;
  background: #232323;
  color: #fff;
  margin-right: 8px;
  border: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.button-small:hover, .button-small:focus {
  background: var(--brand-orange);
  color: #232323;
}
.button-secondary {
  background: var(--brand-orange);
  color: #fff;
  border: none;
}
.button-secondary:hover, .button-secondary:focus {
  background: #232323;
  color: #fff;
}

/*------------------------------------------------------------
  CARDS, AVAILABILITY BADGE, PROMO DETAILS
------------------------------------------------------------*/
.availability-badge {
  display: inline-block;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: 11px;
  padding: 3px 12px;
  margin-left: 7px;
  background: #232323;
  color: #fff;
  letter-spacing: 0.01em;
  border: none;
  transition: background 0.17s, color 0.12s;
}
.availability-badge[style*="Ultimi"] {
  background: var(--brand-orange);
}
.promo-details {
  font-size: 0.98rem;
  color: #606060;
  display: block;
  margin-top: 6px;
  font-style: italic;
}

/*---------------------------------------------
  FOOTER
---------------------------------------------*/
footer {
  background: #232323;
  padding: 38px 0 22px 0;
  color: #fff;
  font-size: 0.98rem;
  margin-top: 80px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 13px;
}
.footer-menu a {
  color: #d0d0d0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 3px 6px;
  border-radius: 3px;
  transition: color 0.17s, background 0.12s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--brand-orange);
  background: #101010;
}
.contact-info {
  text-align: center;
  margin-top: 8px;
  color: #bdbdbd;
}
.contact-info a {
  color: var(--brand-orange);
  text-decoration: underline;
}

/*------------------------------------------------------------
  PAGE ELEMENTS
------------------------------------------------------------*/
.text-section {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul {
  padding-left: 18px;
  margin-left: 0;
  list-style: disc inside none;
}
.text-section ul li {
  margin-bottom: 12px;
}
section ul {
  list-style: disc inside none;
  margin-bottom: 14px;
  margin-left: 0;
}
section ul li {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 1rem;
  color: #232323;
  padding-top: 2px;
}
section h2:not(:first-child) {
  margin-top: 22px;
}
section h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: #232323;
  margin-bottom: 8px;
}

/* MONOCHROME SOPHISTICATED - HIERARCHY LINES */
section > .container > .content-wrapper > h2 {
  border-left: 8px solid var(--brand-blue);
  padding-left: 16px;
  margin-bottom: 16px;
  background: none;
}

/*------------------------------------------------------------
  RESPONSIVE DESIGN (MOBILE-FIRST)
------------------------------------------------------------*/
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
    padding-left: 11px !important;
    border-left-width: 4px !important;
  }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    box-shadow: none;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container {
    gap: 14px;
  }
  .card, .testimonial-card, .feature-item {
    padding: 16px 11px;
    border-radius: 10px;
  }
  .testimonial-card {
    max-width: 96vw;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
}

/* For very narrow viewports */
@media (max-width: 420px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.13rem;
  }
}

/*------------------------------------------------------------
  COOKIES BANNER
------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #232323;
  color: #fff;
  box-shadow: 0 -4px 24px 0 rgba(56,65,75,0.13);
  z-index: 1800;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.27s, opacity 0.21s;
  opacity: 1;
  min-height: 64px;
  border-top: 2px solid var(--brand-orange);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-banner-content {
  flex: 1 1 350px;
  margin-right: 18px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(35,35,35,0.67);
  z-index: 1900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #232323;
  border-radius: 20px;
  padding: 36px 32px 26px 32px;
  max-width: 410px;
  width: 88vw;
  box-shadow: 0 12px 40px 0 rgba(56,65,75,0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeInModal 0.33s cubic-bezier(0.47,0,0.75,0.72);
}
@keyframes fadeInModal {
  from { transform: translateY(35px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.26rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #232323;
}
.cookie-modal-content ul {
  margin-bottom: 18px;
  list-style: none;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-orange);
  width: 18px; height: 18px; margin-right: 8px;
}
.cookie-category.cookie-essential input[type="checkbox"] {
  accent-color: var(--brand-blue);
}
.cookie-category label {
  font-weight: 600;
  margin-right: 6px;
}
.cookie-category .cookie-description {
  color: #606060;
  font-size: 0.97rem;
  margin-left: 30px;
}
.cookie-modal-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none;
  border: none;
  color: #232323;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 100;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-orange);
}
@media (max-width: 540px) {
  .cookie-modal-content {
    padding: 20px 10px 16px 10px;
    max-width: 97vw;
  }
}

/*------------------------------------------------------------
  SHARED MICRO-INTERACTIONS & EFFECTS
------------------------------------------------------------*/
.card, .card-container, .content-grid, .feature-item, section, .testimonial-card, .text-section {
  transition: box-shadow 0.16s, border 0.12s, background 0.12s;
}
::selection {
  background: var(--brand-blue);
  color: #fff;
}
.cta-button:focus-visible,
.button-small:focus-visible,
.main-navigation a:focus-visible,
.mobile-nav a:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

/*------------------------------------------------------------
  MISC & UTILITY CLASSES
------------------------------------------------------------*/
.hide { display: none !important; }
.d-flex { display: flex !important; }
.gap-20 { gap: 20px !important; }
.text-center { text-align: center; }

/*-----------------------------
  Accessibility Tweaks
------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}

/*-----------------------------
  Print styles
------------------------------*/
@media print {
  header, nav, .cookie-banner, footer {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff !important;
  }
}
