/* =========== CSS RESET & 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #FCFAF3;
  color: #2B4B24;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #2B4B24;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #A7C957;
  outline: none;
}
ul, ol {
  list-style: disc inside;
}
img {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #2B4B24;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

/* =========== CONTAINER & SPACING ============ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(43,75,36,0.08), 0 1.5px 4px rgba(167,201,87,0.04);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .25s, transform .22s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(43,75,36,0.11), 0 2.5px 8px rgba(167,201,87,0.07);
  transform: translateY(-3px) scale(1.012);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========== LAYOUT: HEADER & NAVIGATION ============ */
header {
  background: linear-gradient(90deg, #A7C957 0%, #FCFAF3 100%);
  box-shadow: 0 2px 18px rgba(43,75,36,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.logo img {
  height: 45px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 600;
}
.main-nav a {
  padding: 8px 10px;
  border-radius: 7px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #A7C957;
  color: #2B4B24;
}
.cta-button {
  background: linear-gradient(90deg, #A7C957 0%, #2B4B24 110%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1.1rem;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 2px 10px rgba(167,201,87,0.06);
  cursor: pointer;
  transition: background .22s, box-shadow .22s, transform .18s;
  outline: none;
  margin-left: 18px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #2B4B24 15%, #A7C957 100%);
  box-shadow: 0 6px 18px rgba(167,201,87,0.17);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #2B4B24;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 12px;
  border-radius: 5px;
  transition: background .18s, color .18s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #A7C957;
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(100deg, #FCFAF3 60%, #A7C957 100%);
  box-shadow: -8px 0 40px rgba(43,75,36,0.09);
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.8,.08,.4,1);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 30px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #2B4B24;
  cursor: pointer;
  z-index: 201;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 28px 20px 28px;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 12px 0;
  text-align: center;
  width: 100%;
  color: #2B4B24;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A7C957;
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========== HERO SECTION ============ */
.hero {
  background: linear-gradient(90deg, #A7C957 0%, #FCFAF3 90%);
  border-radius: 0 0 30px 30px;
  margin-bottom: 48px;
  padding: 70px 0 60px 0;
  box-shadow: 0 6px 34px rgba(43,75,36,0.09);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
}
.hero p {
  font-size: 1.22rem;
  color: #436136;
  margin-bottom: 28px;
}
.hero .cta-button {
  margin-left: 0;
  margin-top: 10px;
}

/* =========== SECTIONS: FEATURES, SERVICES, ETC. ============ */
.features, .services, .about, .contact, .testimonials, .footer {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
}
.features .container,
.services .container,
.about .container,
.contact .container,
.testimonials .container,
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features .content-wrapper,
.services .content-wrapper,
.about .content-wrapper,
.contact .content-wrapper,
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features ul, .services ul, .about ul {
  padding-left: 0;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features li, .services li, .about li {
  font-size: 1.08rem;
  background: #fff;
  box-shadow: 0 1.5px 6px rgba(43,75,36,0.04);
  border-radius: 10px;
  padding: 14px 18px;
  color: #2B4B24;
  position: relative;
}
.features li b, .services li b, .about li b {
  color: #2B4B24;
  font-weight: 700;
}
.features li span, .services li span {
  color: #A7C957;
  font-weight: 600;
  margin-left: 8px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section a {
  color: #A7C957;
  font-weight: 700;
  transition: color .2s;
}
.text-section a:hover {
  color: #2B4B24;
}

/* TIPS GRID IN ISPIRAZIONI */
.tips-grid ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* =========== TESTIMONIAL CARDS ============ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2.5px 17px rgba(43,75,36,0.08);
  padding: 20px 28px;
  margin-bottom: 20px;
  max-width: 600px;
  color: #232823;
  transition: box-shadow 0.18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 28px rgba(167,201,87,0.09);
  transform: scale(1.015);
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #2B4B24;
}
.testimonial-card span, .testimonial-card b {
  color: #436136;
  font-size: 1rem;
  margin-top: 3px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

/* CONTACT SECTION */
.contact ul {
  padding-left: 0;
  gap: 12px;
}
.contact li {
  background: transparent;
  box-shadow: none;
  padding: 2px 0;
  font-size: 1.04rem;
}
.map-placeholder {
  background: #A7C957;
  border-radius: 11px;
  color: #fff;
  font-weight: 700;
  font-size: .97rem;
  padding: 18px 14px;
  margin-top: 16px;
}

/* =========== FOOTER ============ */
footer {
  background: #2B4B24;
  color: #fff;
  padding: 48px 0 30px 0;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #A7C957;
  font-weight: 600;
  font-size: 1rem;
  transition: color .19s;
  border-radius: 6px;
  padding: 4px 9px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #A7C957;
  outline: none;
}
footer p, footer address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: .97rem;
  color: #FCFAF3;
  text-align: center;
  line-height: 1.6;
}
footer address {
  font-style: normal;
  letter-spacing: .03em;
  opacity: .97;
  margin-top: 3px;
}

/* =========== BUTTONS & INTERACTIVE ============ */
button {
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: #A7C957;
  color: #fff;
  padding: 8px 16px;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 1.5px 7px rgba(43,75,36,0.08);
  transition: background .19s, color .19s, transform .15s;
}
button:hover, button:focus {
  background: #2B4B24;
  color: #fff;
  outline: none;
  transform: translateY(-1.5px) scale(1.03);
}

/* =========== COOKIE CONSENT BANNER ============ */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2B4B24;
  color: #fff;
  z-index: 401;
  display: flex;
  padding: 26px 12px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -4px 18px rgba(43,75,36,0.13);
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 18px;
  transition: transform .25s cubic-bezier(.77,.07,.44,1);
}
#cookie-consent-banner.hide {
  transform: translateY(110%);
}
#cookie-consent-banner .cookie-message {
  flex: 1 1 250px;
  min-width: 220px;
}
#cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .17s, color .17s, box-shadow .13s;
}
.cookie-accept {
  background: #A7C957;
  color: #2B4B24;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #88aa44;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #2B4B24;
  border: 2px solid #A7C957;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #A7C957;
  color: #fff;
}
.cookie-settings {
  background: #2B4B24;
  color: #fff;
  border: 1.5px solid #A7C957;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #A7C957;
  color: #2B4B24;
}

/* Cookie Modal Styles */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(43,75,36,0.35);
  z-index: 402;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .23s cubic-bezier(.77,.07,.44,1);
}
#cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-window {
  background: #fff;
  color: #2B4B24;
  border-radius: 16px;
  max-width: 420px;
  width: 92%;
  padding: 34px 24px 20px 24px;
  box-shadow: 0 8px 42px rgba(43,75,36,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popIn .36s cubic-bezier(.7,1.45,.4,1.0);
}
@keyframes popIn {
  0% { transform: scale(.88) translateY(80px); opacity: 0; }
  90% { transform: scale(1.021) translateY(-7px); opacity: 1; }
  100%{ transform: scale(1.0) translateY(0); opacity: 1; }
}
.cookie-modal-header {
  font-size: 1.25rem;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 22px;
  background: none;
  color: #2B4B24;
  font-size: 1.45rem;
  border: none;
  cursor: pointer;
  padding: 1px 5px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A7C957;
  width: 20px; height: 20px;
  margin: 0;
}
.cookie-category.essential label {
  color: #2B4B24;
  font-weight: 600;
}
.cookie-category.essential input { display: none; }
.cookie-category .cookie-category-desc {
  font-size: .97rem;
  font-weight: 400;
  color: #436136;
  margin-left: 5px;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 17px;
}

/* =========== MEDIA QUERIES ============ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.65rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .container,
  .section,
  .footer .container,
  .footer-nav {
    padding-left: 14px;
    padding-right: 14px;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 18px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 10px;
  }
  .footer {
    margin-bottom: 0;
  }
}
@media (max-width: 560px) {
  .hero, .features, .services, .about, .contact, .testimonials, .footer {
    padding: 22px 0;
  }
  .container {
    padding: 0 8px;
  }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
}
@media (max-width: 480px) {
  .hero h1, .hero p {
    text-align: left;
  }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
}
@media (max-width: 425px) {
  .cookie-modal-window {
    padding: 16px 4px 6px 4px;
  }
}

/* =========== SCROLLBAR & SELECTION =========== */
::-webkit-scrollbar {
  width: 8px;
  background: #FCFAF3;
}
::-webkit-scrollbar-thumb {
  background: #A7C957;
  border-radius: 5px;
}
::selection {
  background: #A7C957;
  color: #fff;
}

/* =========== TRANSITIONS ============ */
body, .cta-button, button, a, .mobile-menu, .testimonial-card, .card, .footer-nav a {
  transition: background .22s, color .22s, box-shadow .22s, transform .16s, border .18s, outline .18s;
}

/* =========== FONT FACE for Nunito and Roboto fallback ============ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Roboto:wght@400;700&display=swap');
