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

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F7F7;
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
}

a {
  color: #175C6E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A15C00;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}
ul, ol {
  padding-left: 22px;
}

/* CONTAINERS & GRID */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 2px 14px 3px rgba(23,92,110,0.12);
  background: #fff;
  padding: 32px 24px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px 8px rgba(209,139,50,0.23);
  transform: translateY(-8px) scale(1.025);
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 12px 2px rgba(23,92,110,0.13);
  border-radius: 18px;
  margin-bottom: 24px;
  max-width: 460px;
  min-width: 260px;
  border-left: 7px solid #D18B32;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #175C6E;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
}
.subheadline {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #A15C00;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #2d2d2d;
}
strong { color: #175C6E; }

/* BUTTONS & CTA */
.btn, .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  padding: 14px 38px;
  border-radius: 24px 24px 0 24px;
  font-size: 1.15rem;
  margin-top: 12px;
  cursor: pointer;
  background: #D18B32;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(23,92,110, 0.09);
  box-shadow: 0 2px 12px 2px rgba(209,139,50,0.18);
  transition: background 0.25s, box-shadow 0.26s, transform 0.17s;
  text-decoration: none;
}
.btn:hover, .btn-cta:hover, .btn:focus, .btn-cta:focus {
  background: #A15C00;
  box-shadow: 0 4px 28px 6px rgba(23,92,110,0.19);
  color: #fff;
  transform: translateY(-2px) scale(1.045) rotate(-1deg);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2.5px solid #D18B32;
  box-shadow: 0 1px 18px 2px rgba(23,92,110,0.044);
  position: sticky;
  top: 0;
  z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  padding: 12px 20px;
  gap: 16px;
}
header img {
  height: 56px;
  border-radius: 8px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #175C6E;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
  margin-right: 1px;
}
header nav a:hover, header nav a:focus {
  color: #A15C00;
  border-bottom: 2px solid #D18B32;
}
.btn-cta {
  margin-left: 14px;
  padding: 12px 30px;
  font-size: 1.07rem;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #175C6E;
  display: none;
  cursor: pointer;
  margin-left: 15px;
  transition: color 0.2s;
  z-index: 180;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #A15C00;
}

/* MOBILE NAV MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(23,92,110,0.96);
  transform: translateX(-105%);
  transition: transform 0.47s cubic-bezier(.52,.01,.36,1.01);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  padding: 28px 18px 14px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.39s cubic-bezier(.52,.01,.36,1.01);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  align-self: flex-end;
  margin-bottom: 34px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 7px;
  z-index: 3;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D18B32;
  background: rgba(255,255,255,0.13);
  border-radius: 12px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.045em;
  padding: 12px 0;
  border-bottom: 2px solid rgba(209,139,50,0.19);
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D18B32;
}

/* MAIN & CONTENT LAYOUT */
main {
  flex: 1 0 auto;
  min-height: 420px;
}
section {
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(120deg, #fff 70%, #F7F7F7 100%);
  box-shadow: 0 6px 36px 0 rgba(217,180,138,0.05);
}
@media (max-width: 768px) {
  .section,
  section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
  .content-wrapper {
    gap: 26px;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
}

/* TESTIMONIALS - Good contrast */
.testimonial-card {
  background: #fff;
  color: #1D2233;
  border-left: 7px solid #D18B32;
  box-shadow: 0 4px 12px 3px rgba(23,92,110,0.13);
  padding: 22px 20px;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #1d2233;
  margin-bottom: 0;
  font-style: italic;
  line-height: 1.55;
}
.testimonial-card span {
  color: #A15C00;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 0.9em;
}

/* FOOTER */
footer {
  background: #175C6E;
  color: #fff;
  padding: 38px 0 24px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0;
}
footer .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  width: 100%;
}
footer nav {
  display: flex;
  gap: 22px;
}
footer nav a {
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: 0.92;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.19s, color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: #D18B32;
  border-bottom: 2px solid #D18B32;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  height: 42px;
  border-radius: 12px;
}
.footer-brand p {
  color: #fff;
  opacity: 0.83;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

/* LISTS */
ul li, ol li {
  padding-left: 0;
  margin-bottom: 8px;
  font-size: 1.01rem;
}

/* CATEGORIES in Catalogo */
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 8px;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  display: inline-block;
  background: #D18B32;
  color: #fff;
  border-radius: 16px 16px 0 16px;
  padding: 7px 22px;
  margin-right: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.18s;
  text-decoration: none;
  box-shadow: 0 1px 9px 1px rgba(209,139,50,0.13);
}
nav ul li a:hover, nav ul li a:focus {
  background: #A15C00;
  color: #fff;
}

/* PROMO HIGHLIGHT - Offerte */
.promo-highlight {
  background: #fff9eb;
  color: #A15C00;
  font-size: 1.1rem;
  border-left: 6px solid #D18B32;
  padding: 13px 18px;
  border-radius: 0 16px 16px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 0.65em;
}

/* MODALS - Cookie */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 40000;
  background: #175C6E;
  color: #fff;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 -4px 16px 3px rgba(23,92,110,0.24);
  border-radius: 22px 22px 0 0;
  padding: 22px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookieBannerSlideIn 0.5s;
}
@keyframes cookieBannerSlideIn {
  from { transform: translate(-50%, 160px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #fff;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #fff;
  padding: 11px 24px;
  font-size: 1rem;
  background: #D18B32;
  border: none;
  border-radius: 16px 16px 0 16px;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 1px rgba(209,139,50,0.11);
}
.cookie-btn.reject {
  background: #eee;
  color: #A15C00;
  border: 1.5px solid #D18B32;
}
.cookie-btn.settings {
  background: #fff;
  color: #175C6E;
  border: 1.5px solid #D18B32;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A15C00;
  color: #fff;
}
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,92,110,0.81);
  z-index: 45000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.23s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #175C6E;
  border-radius: 28px;
  padding: 32px 24px;
  min-width: 340px;
  box-shadow: 0 6px 36px 3px rgba(209,139,50,0.13);
  animation: modalIn 0.38s cubic-bezier(.36,.01,.56,1.07);
  position: relative;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  color: #D18B32;
  margin-bottom: 12px;
  font-size: 1.27rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #175C6E;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 18px;
  background: #D18B32;
  border-radius: 12px;
  outline: none;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #A15C00;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 13px; height: 13px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #175C6E;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #A15C00;
}

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .btn, .btn-cta, .cookie-btn, .card, .card:hover, .mobile-menu, .mobile-menu.open, .mobile-menu-close {
    transition: 0.2s all;
  }
  nav a, .card, .testimonal-card, .mobile-nav a {
    transition: box-shadow 0.30s, color 0.2s, border 0.2s;
  }
}

/* SPACING & FLEX LAYOUTS */
.section, 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;
}

/* ARTISTIC CREATIVE ELEMENTS */
section, .card, .testimonial-card {
  border-radius: 28px;
  box-shadow: 0 6px 28px 4px rgba(209,139,50,0.047);
  position: relative;
}
section:before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 72px; height: 72px;
  background: rgba(209,139,50,0.075);
  border-radius: 48% 52% 70% 30%/52% 47% 64% 48%;
  z-index: 0;
  filter: blur(7px);
  pointer-events: none;
  transform: translate(-18px, -22px) rotate(-12deg);
}

section:nth-of-type(even):after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 54px; height: 54px;
  background: rgba(23,92,110,0.042);
  border-radius: 60% 40% 80% 20%/32% 67% 38% 52%;
  z-index: 0;
  filter: blur(10px);
  pointer-events: none;
  transform: translate(14px, 16px) rotate(8deg);
}
section, .card, .testimonial-card {
  overflow: hidden;
}

/* ARTISTIC DECORATIVE ELEMENTS ON CARDS */
.card:after {
  content: '';
  display: block;
  position: absolute;
  right: -22px; bottom: -15px;
  width: 37px; height: 37px;
  background: rgba(209,139,50,0.12);
  border-radius: 80% 40% 90% 20%/32% 77% 38% 82%;
  z-index: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 13px;
  }
  .footer-brand img {
    height: 34px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .content-wrapper {
    gap: 19px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
  }
  header nav {
    display: none;
  }
  .btn-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-brand img {
    height: 28px;
  }
  .footer-brand p {
    font-size: 0.89rem;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    gap: 6px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 17px 8px;
  }
}

@media (max-width: 500px) {
  .cookie-banner {
    max-width: 99vw;
    border-radius: 14px 14px 0 0;
    padding: 18px 6vw 16px 6vw;
  }
  .cookie-modal {
    min-width: 0;
    width: 92vw;
    padding: 18px 9px;
    border-radius: 12px;
  }
}

/* SCROLLBAR FOR ARTISTIC TOUCH */
::-webkit-scrollbar {
  width: 10px;
  background: #F7F7F7;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #D18B32;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A15C00;
}

/* FOCUS STYLES */
a:focus, button:focus, .btn:focus, .btn-cta:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #A15C00;
  outline-offset: 2px;
}

/* ARTISTIC FONT FLAIR - HEADINGS */
h1, h2 {
  text-shadow: 0 2px 10px rgba(209,139,50,0.10), 0 1px 2px rgba(23,92,110,0.06);
}

/* MICRO-INTERACTIONS */
.card, .testimonial-card {
  transition: box-shadow 0.26s, transform 0.19s, border 0.23s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 44px 7px rgba(209,139,50,0.14);
  transform: translateY(-7px) scale(1.02);
  z-index: 2;
}

/* DISABLED STATES */
[disabled], .disabled {
  opacity: 0.38;
  pointer-events: none;
  filter: grayscale(0.18);
}

/* UTILITIES & MISC */
.mt-3 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: 0.8rem !important; }
.mb-3 { margin-bottom: 1.2rem !important; }
.center { text-align: center !important;}

/* Page-specific tweaks (Index Hero) */
.index-hero {
  background: linear-gradient(120deg, #fff 72%, #F7F7F7 100%);
  box-shadow: 0 4px 32px 0 rgba(23,92,110,0.07);
  border-radius: 30px;
  position: relative;
  min-height: 230px;
}

/* READY FOR ARTISTIC, VIBRANT, MODERN FEEL! */