/* === CSS RESET & BASE === */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F5F6FA;
  color: #14171A;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: #BFA76A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #FFBB3B; text-decoration: underline; }

/* === BRAND FONTS === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #14171A;
  letter-spacing: 0.015em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 2rem;  line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
h4 { font-size: 1.2rem; }
.subtitle { font-size: 1.13rem; color: #584C25; margin-bottom: 16px; }

p, ul, ol, li, blockquote, dl, dt, dd { font-family: 'Lato', Arial, sans-serif; }
strong, b { font-weight: 700; }

/* === CONTAINER AND STRUCTURE === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* === HEADER === */
header {
  background: #fff;
  box-shadow: 0 3px 24px rgba(191,167,106,0.1);
  border-bottom: 3px solid #f5f6fa;
  width: 100%;
  z-index: 20;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 28px;
}
.logo {
  margin-right: 18px;
  display: flex;
  align-items: center;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #14171A;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #BFA76A;
  color: #fff;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #BFA76A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  border: none;
  border-radius: 28px;
  padding: 11px 34px;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 8px 32px 0 rgba(191,167,106,0.18);
  transition: background 0.25s, transform 0.12s, box-shadow 0.17s;
  outline: none;
  position: relative;
  z-index: 2;
}
.cta-button:hover, .cta-button:focus {
  background: #99813D;
  color: #fff;
  box-shadow: 0 1px 5px rgba(20,23,26,0.12), 0 5px 24px rgba(191,167,106,0.22);
  transform: translateY(-2px) scale(1.04);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #BFA76A;
  border: 2px solid #BFA76A;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s;
  z-index: 21;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #BFA76A;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 23, 26, 0.98);
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.7,.23,.3,1.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 36px;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 2.1rem;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 121;
  transition: color 0.17s;
  padding: 6px 12px;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #BFA76A;
  background: rgba(255,255,255,0.06);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 44px;
  width: 100%;
  padding-left: 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 8px 10px 8px 0;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #BFA76A;
  background: rgba(255,255,255,0.05);
}

@media (max-width: 1024px) {
  .desktop-nav {
    gap: 14px;
  }
  .cta-button {
    padding: 10px 24px;
    font-size: 1rem;
  }
  header .container {
    gap: 12px;
  }
}
@media (max-width: 880px) {
  header .container {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .desktop-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    flex-direction: row;
    gap: 0;
  }
  .logo { margin-right: 0; padding-right: 6px; }
}

/* === MAIN STRUCTURE AND SPACING === */
main { width: 100%; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: none;
}
section:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  section { padding: 32px 6px; margin-bottom: 36px; }
  .container { padding-left: 6px; padding-right: 6px; }
}

/* === BUTTONS & INTERACTIVES === */
button, .cta-button { 
  transition: background 0.18s, color 0.15s, box-shadow 0.16s, transform 0.16s;
}
.special-link {
  color: #14171A;
  background: #FFBB3B;
  font-weight: 600;
  border-radius: 8px;
  padding: 2px 7px;
  margin-left: 10px;
  transition: background 0.16s, color 0.15s;
}
.special-link:hover, .special-link:focus {
  color: #fff;
  background: #BFA76A;
}

/* === FEATURES GRID & ITEMS === */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  margin-bottom: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px rgba(191,167,106,0.08);
  padding: 26px 22px;
  min-width: 240px;
  flex: 1 1 250px;
  max-width: 330px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  border: 1.5px solid #eeeae1;
  position: relative;
  overflow: hidden;
}
.feature-item img {
  width: 38px; height: 38px; margin-bottom: 3px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px 0 rgba(191,167,106,0.20);
  transform: translateY(-4px) scale(1.03);
  z-index: 3;
}

/* === CARDS & GRIDS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 24px rgba(20,23,26,0.08);
  border: 1.5px solid #f2e7c6;
  padding: 28px;
  min-width: 250px;
  max-width: 355px;
  flex: 1 1 260px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(191,167,106,0.13);
  transform: translateY(-3px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
}


/* === TESTIMONIALS === */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(92, 81, 39, 0.13);
  margin-bottom: 20px;
  border-left: 7px solid #BFA76A;
  min-width: 250px;
  max-width: 390px;
  flex: 1 1 280px;
  position: relative;
}
.testimonial-card blockquote {
  color: #222;
  font-size: 1.13rem;
  font-family: 'Lato', Arial, sans-serif;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 4px;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  color: #725D24;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Contrasto testimonial cards su sfondo chiaro */
@media (max-width:820px) {
  .testimonial-list { flex-direction: column; gap: 16px; }
  .testimonial-card { min-width: 0; max-width: 100%; }
}

/* === BRAND ICONS STRIP === */
.brand-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  margin: 26px 0 18px 0;
}
.brand-icons img {
  width: 48px; height: 48px;
}

/* === GENERIC LISTS & DETAILS === */
ul, ol {
  margin-left: 18px;
  margin-bottom: 10px;
  padding-left: 1.1em;
}
li { margin-bottom: 6px; }
dt {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
}
dd { margin-bottom: 18px; padding-left: 8px; font-size: 1em; }

/* === QUICK LINKS NAV === */
.quick-links {
  display: flex;
  gap: 16px;
  margin: 18px 0 0 0;
}
.quick-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #BFA76A;
  background: #fff3d2;
  border-radius: 8px;
  padding: 6px 13px;
  transition: background 0.18s, color 0.13s;
}
.quick-links a:hover, .quick-links a:focus {
  background: #BFA76A;
  color: #fff;
}

/* === CONTACT PAGE ELEMENTS === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 18px;
}
.contact-details p {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  gap: 10px;
  color: #14171A;
  font-weight: 500;
}
.contact-details img {
  width: 26px; height: 26px;
}
.map-placeholder {
  background: repeating-linear-gradient(-45deg,#fff3d2,#fff3d2 18px,#fff 18px,#fff 36px);
  color: #725D24;
  font-size: 1.1rem;
  text-align: left;
  padding: 30px 24px;
  border-radius: 16px;
  margin-top: 13px;
  font-family: 'Montserrat',sans-serif;
  box-shadow: 0 3px 14px rgba(191,167,106,0.07);
}

/* === FOOTER === */
footer {
  background: #14171A;
  color: #f5f6fa;
  padding: 36px 0 28px 0;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #BFA76A;
  padding: 6px 12px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.16s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #BFA76A;
  color: #14171A;
}
address {
  font-style: normal;
  color: #f5f6fa;
  font-size: 1.01rem;
  text-align: center;
  margin-top: 3px;
}
address a { color: #FFBB3B; transition: color 0.18s; }
address a:hover, address a:focus { color: #fff; }

/* === ARTISTIC/CREATIVE STYLE DECOR TWEAKS === */
/* Fake paint sling underline for main headings (SVG filters can be used if available via inline but here we go with shadow + underline) */
h1, h2 {
  position:relative;
  z-index:1;
}
h1::after, h2::after {
  content: '';
  display:block;
  width: 80px;
  height: 7px;
  border-radius: 6px;
  background: #FFBB3B;
  margin-top: 6px;
  margin-left: 0;
  opacity: .68;
}

/* Artistic shadow for cards, featured items, testimonials*/
.card, .feature-item, .testimonial-card {
  box-shadow: 0 4px 20px 0 rgba(191,167,106,0.13), 0 1.5px 1.5px 0 rgba(255,187,59,0.04);
}

/* Artistic "paint brush" accent on links (hover) */
a.special-link, .cta-button {
  box-shadow: 0 2.5px 0px #FFBB3B inset;
}
a.special-link:hover, .cta-button:hover {
  box-shadow: 0 7px 0px #FFBB3B inset;
}

/* Vibrant focus ring */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid #BFA76A !important;
  outline-offset: 2px;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #fffbe8;
  color: #222;
  border-top: 2.5px solid #BFA76A;
  box-shadow: 0 -2px 16px 0 rgba(191,167,106,0.14);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  z-index: 90;
  padding: 23px 20px 18px 20px;
  font-size: 1rem;
  animation: cookieBannerIn 0.54s cubic-bezier(.67,0,.17,1.1);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(70px); opacity: 0; }
  80%{ transform: translateY(-12px); opacity: 1;}
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex; gap: 18px; align-items: center;
}
.cookie-banner button {
  border-radius: 12px;
  border: none;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.16s, color 0.15s, box-shadow 0.12s;
  outline: none;
  margin-right: 2px;
}
.cookie-accept {
  background: #BFA76A; color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #99813D;
}
.cookie-reject {
  background: #fff; color: #BFA76A; border: 1.4px solid #BFA76A;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #faf5e7; color: #99813D;
}
.cookie-settings {
  background: #fff3d2;
  color: #99813D;
  border: 1.2px solid #FFBB3B;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #BFA76A; color: #fff;
}

/* Cookie modal popup */
.cookie-modal-backdrop {
  position:fixed;
  top:0; left:0; width:100vw; height:100vh;
  background:rgba(20,23,26,0.60);
  z-index: 1010;
  display:flex;
  align-items:center;
  justify-content:center;
  animation: modalBackdropIn 0.3s;
}
@keyframes modalBackdropIn {
  0% { opacity:0; }
  100% { opacity: 1;}
}
.cookie-modal {
  background: #fff;
  padding: 36px 32px;
  border-radius: 16px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 4px 28px rgba(191,167,106,0.24);
  color: #14171A;
  font-size: 1rem;
  animation: modalIn 0.4s cubic-bezier(.7,.23,.3,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
}
@keyframes modalIn {
  0% { transform: translateY(70px) scale(0.89); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #BFA76A;
  width: 20px; height: 20px;
  border-radius: 5px;
}
.cookie-category .desc {
  font-size: .98rem; color: #725D24;
}
.cookie-modal .category-always-on { font-weight: bold; color: #181716; }
.cookie-modal .modal-actions {
  margin-top: 12px;
  display: flex; gap: 14px;
}
.cookie-modal .close-modal {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none; color: #725D24;
  font-size: 1.9rem; cursor:pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #BFA76A;
}

@media (max-width:640px) {
  .cookie-modal { min-width: 0; padding: 17px 7vw;  }
  .cookie-banner { flex-direction: column; gap: 12px; padding: 15px 6px; font-size: 0.97rem; }
}

/* === ANIMATION AND MICROINTERACTIONS === */
.card, .feature-item, .testimonial-card, .cta-button, .special-link, .quick-links a, .footer-nav a {
  transition: box-shadow 0.18s, transform 0.15s, background 0.14s, color 0.14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 12px 32px 0 rgba(191, 167, 106, 0.28);
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
}

/* === RESPONSIVE LAYOUTS (MOBILE FIRST) === */
@media (max-width:920px) {
  .container, .content-grid { max-width: 97vw; }
}
@media (max-width: 800px) {
  .features-grid, .content-grid, .brand-icons, .footer-nav {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .features-grid { gap:18px; }
  .brand-icons { gap:19px; }
  .footer-nav { gap:12px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.57rem; }
  h2 { font-size: 1.22rem; }
  .card, .feature-item, .testimonial-card, .map-placeholder {
    min-width: 0;
    max-width: 100%;
    padding: 16px 10px;
    font-size: 0.95rem;
  }
  .cta-button { font-size: 0.98rem; padding: 10px 16px; }
}

/* Extra spacing for artistic layout */
@media (max-width:420px) {
  .container, .content-wrapper { gap: 8px; }
  section { padding: 13vw 4vw; }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; } .mb-24 { margin-bottom: 24px; }

/* === PRINT FRIENDLY === */
@media print {
  header, .mobile-menu-toggle, .cta-button, .cookie-banner, .cookie-modal-backdrop, footer { display: none !important; }
  body, section, .container { padding: 0 !important; margin: 0; background: #fff !important; color: #000; font-size: 12pt; }
}
