/* ========================================================
   Casa Scelta - Monochrome Sophisticated Flexbox UI
   Brand palette: #2A6256, #D9CBA0, #EFEFEF (used as subtle accents)
   Monochrome base: #000, #111, #333, #555, #888, #CCC, #FFF
   Typography: Montserrat (display), Open Sans (body)
   Flexbox-only layouts. No CSS Grid or Columns used.
   ======================================================== */

/* ------------------
   0. 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,
main, 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 { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #212121;
  background: #FAFAFA;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}

/* --------------
   1. TYPOGRAPHY
   -------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.01em;
  color: #111;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }

.subheadline {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.secondary-text {
  color: #666;
  font-size: 1rem;
}
small {
  font-size: 0.89em;
  color: #555;
  font-family: 'Open Sans', Arial, sans-serif;
}

.text-section > h1, .text-section > h2, .text-section > h3 {
  color: #181818;
}

/* Strong typography hierarchy for mono style */
h1, h2 { text-transform: none; }
h3, h4, strong { color: #1A1A1A; }

/* ---------------
   2. LAYOUT FLEX
   --------------- */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
main { width: 100%; flex: 1; }
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 390px;
}
.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: 18px;
  box-shadow: 0 3px 24px 0 rgba(0,0,0,0.08);
  margin-right: 20px;
  min-width: 290px;
  max-width: 430px;
  border: 1px solid #dedede;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------------------------------
   3. FLEXBOX GRIDS FOR ALL PAGE-SPECIFIC AREAS
   ------------------------------------------ */

/* Features Grids - always use flex! */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature-grid > li,
.feature-grid > div {
  background: #fff;
  flex: 1 1 230px;
  min-width: 215px;
  max-width: 290px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(30,30,30,0.07);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  border: 1px solid #ebebeb;
  transition: box-shadow 0.2s;
}
.feature-grid > li:hover, .feature-grid > div:hover {
  box-shadow: 0 6px 20px 0 rgba(30,30,30,0.15);
}

/* Tips/Articles grid (used in consigli-ispirazioni) */
.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.tips-grid > li {
  flex: 1 1 245px;
  min-width: 230px;
  max-width: 350px;
  border-radius: 13px;
  background: #F7F7F7;
  box-shadow: 0 1px 8px 0 rgba(30,30,30,0.06);
  padding: 22px 16px 16px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.tips-grid > li:hover {
  box-shadow: 0 4px 16px 0 rgba(45,45,45,0.12);
  border-color: #c5c5c5;
}

/* Product Grid (catalogo) */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 24px 0 0 0;
}
.product-grid > li {
  background: #FFF;
  border-radius: 15px;
  border: 1px solid #DEDEDE;
  box-shadow: 0 3px 24px 0 rgba(0,0,0,0.04);
  padding: 28px 16px 16px 16px;
  min-width: 220px;
  flex: 1 1 240px;
  max-width: 304px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.16s, border-color 0.16s;
}
.product-grid > li:hover { box-shadow: 0 7px 24px 0 rgba(0,0,0,0.12); border-color: #2A6256; }

.availability-badge {
  background: #EFEFEF;
  color: #2A6256;
  font-weight: 700;
  border-radius: 7px;
  padding: 2px 13px;
  font-size: 0.91em;
  margin-bottom: 4px;
  border: 1px solid #D9CBA0;
}

/* Services List */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list > li {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(30,30,30,0.07);
  flex: 1 1 215px;
  min-width: 210px;
  max-width: 310px;
  padding: 20px 12px 16px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
}
.services-list > li span {
  color: #2A6256;
  font-weight: 600;
  font-size: 0.98em;
  margin-top: 5px;
}
.services-list > li img {
  margin-bottom: 11px;
}

/* Steps grid (come funziona) */
.step-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.step-grid > div {
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 260px;
  background: #F5F5F5;
  border-radius: 12px;
  padding: 18px 10px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

/* Testimonial slider (for index.html) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

/* Filters (catalogo) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.category-filters, .price-filters {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.category-filters ul, .price-filters ul {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.category-filters li, .price-filters li { font-size: 1em; color: #333; }
.category-filters a, .price-filters a {
  border-radius: 5px;
  padding: 2px 11px;
  background: #EFEFEF;
  color: #222;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, color 0.15s;
}
.category-filters a:hover, .price-filters a:hover {
  background: #2A6256;
  color: #FFF;
}
.search-field input, .search-bar input {
  background: #FAFAFA;
  border: 1px solid #CCC;
  border-radius: 7px;
  padding: 8px 14px;
  min-width: 180px;
  font-size: 1em;
  color: #232323;
  transition: border-color 0.18s;
}
.search-bar { margin-top: 10px; }
.search-bar input:focus, .search-field input:focus { border-color: #2A6256; }

/* ---------------
   4. NAVIGATION
   --------------- */
header {
  background: #222;
  color: #FFF;
  padding: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  width: 100%;
  padding: 0 16px;
}
.main-nav > a img {
  height: 38px; width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.main-nav li { display: flex; align-items: center; }
.main-nav a, .footer-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
  color: #FFF;
  opacity: 0.92;
  padding: 6px 0;
  border-radius: 2px;
  transition: color 0.15s, opacity 0.1s, background 0.18s;
}
.main-nav a:hover, .footer-menu a:hover, .main-nav .btn-primary:hover {
  color: #D9CBA0;
  opacity: 1;
}
.main-nav .btn-primary {
  background: #FFF;
  color: #222;
  padding: 9px 24px;
  border-radius: 24px;
  font-weight: 700;
  margin-left: 12px;
  box-shadow: 0 2px 10px 0 rgba(30,30,30,0.06);
  transition: background 0.17s, color 0.1s, box-shadow 0.13s;
}
.main-nav .btn-primary:hover {
  background: #D9CBA0;
  color: #222;
}

/* ---------------
   5. BUTTONS
   --------------- */
.btn-primary, a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #111;
  color: #F8F8F8;
  border-radius: 24px;
  padding: 12px 33px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.08);
  font-size: 1.12em;
  text-transform: none;
  border: none;
  transition: background 0.16s, color 0.18s, box-shadow 0.16s, transform 0.12s;
  cursor: pointer;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2A6256;
  color: #FFF;
  box-shadow: 0 3px 16px 0 rgba(42,98,86,0.22);
  transform: translateY(-2px) scale(1.035);
}

/* Link buttons */
.text-section a, .tips-grid a, .catalogo a:not(.btn-primary) {
  color: #2A6256;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.12s;
}
.text-section a:hover, .tips-grid a:hover {
  color: #111;
  text-decoration: underline dotted;
}

/* ---------------
   6. FOOTER
   --------------- */
footer {
  background: #191A1B;
  color: #EEE;
  padding: 40px 0 22px 0;
  font-size: 0.96em;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #EFEFEF;
  opacity: 0.88;
  font-weight: 500;
  font-size: 0.98em;
}
.footer-menu a:hover {
  color: #D9CBA0;
  opacity: 1;
}
.brand-contact {
  font-size: 0.98em;
  color: #B5B8BC;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}
.brand-contact a { color: #D9CBA0; text-underline-offset: 2px; }
footer p {
  text-align: center;
  color: #AAA;
  margin-top: 18px;
  font-size: 0.94em;
}

/* --------------------
   7. SPECIAL SECTIONS
   -------------------- */
.image-placeholder {
  background: #F5F5F5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 24px 10px;
}
.map-embed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
}

/* Thank You Nav */
.thankyou-nav {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  color: #2A6256;
}
.thankyou-nav a {
  color: #2A6256;
  text-decoration: underline;
  transition: color 0.15s;
}
.thankyou-nav a:hover { color: #181818; }

/* Cards, Spacing, Shadows */
.card, .feature-grid > li, .feature-grid > div, .tips-grid > li, .services-list > li, .product-grid > li {
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.07);
  transition: box-shadow 0.19s, border 0.19s;
}

/* ---------------
   8. TESTIMONIALS
   --------------- */
.testimonial-card {
  background: #FFF;
  color: #222;
  border-radius: 17px;
  padding: 26px 24px 20px 30px;
  border: 1px solid #dfdfdf;
  box-shadow: 0 4px 20px 0 rgba(30,30,30,0.11);
  font-size: 1.1em;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 10px;
  max-width: 440px;
  min-width: 250px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  left: 16px;
  top: 8px;
  color: #2A6256;
  font-size: 2.2em;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.08;
  z-index: 0;
}
.testimonial-card p {
  margin-bottom: 14px;
  font-style: italic;
  font-size: 1.02em;
}
.testimonial-card small {
  color: #666;
  font-weight: 500;
}

/* ---------------
   9. MOBILE MENU
   --------------- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.2em;
  padding: 0 10px;
  cursor: pointer;
  display: none;
  z-index: 200;
  transition: color 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #D9CBA0;
}

@media (max-width: 1024px) {
  .main-nav ul { gap: 14px; }
  .main-nav .btn-primary { padding: 8px 16px; font-size: 1em; }
}
@media (max-width: 900px) {
  .main-nav ul { gap: 11px; }
}
@media (max-width: 800px) {
  .main-nav ul { gap: 6px; }
}

/* Show hamburger on 900px and below */
@media (max-width: 900px) {
  .mobile-menu-toggle { display: inline-block; }
  .main-nav ul { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(15, 15, 15, 0.97);
  z-index: 8889;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(.60,.34,.1,1.3);
  transform: translateX(-100vw);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  /* z-index above nav and main */
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1em;
  color: #D9CBA0;
  background: none;
  border: none;
  margin: 24px 34px 0 0;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 48px 30px 0 48px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0;
  border-radius: 7px;
  padding: 6px 0;
  transition: color 0.15s, background 0.18s;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D9CBA0;
  background: #1a1a1a;
}

/* -------------------------------
   10. COOKIE CONSENT BANNER + MODAL
   ------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #232323;
  color: #FFF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1em;
  padding: 18px 14px 18px 14px;
  z-index: 8999;
  box-shadow: 0 -3px 18px 0 rgba(0,0,0,0.13);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  animation: cookie-banner-slidein 0.5s;
}
@keyframes cookie-banner-slidein {
  from { transform: translateY(110%); opacity: 0; }
  to {   transform: translateY(0);     opacity: 1; }
}
.cookie-banner-message {
  flex: 1 1 220px;
  min-width: 180px;
  color: #F2F2F2;
  font-size: 1em;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #F8F8F8;
  color: #232323;
  border-radius: 24px;
  padding: 7px 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  box-shadow: 0 2px 8px 0 rgba(30,30,30,0.06);
  cursor: pointer;
  transition: background 0.19s, color 0.17s, box-shadow 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #2A6256;
  color: #FFF;
  box-shadow: 0 3px 12px 0 rgba(42,98,86,0.18);
}
.cookie-btn.reject {
  background: transparent;
  color: #EFEFEF;
  border: 1px solid #D9CBA0;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D9CBA0;
  color: #222;
}
.cookie-btn.settings {
  background: #EFEFEF;
  color: #2A6256;
}
.cookie-btn.settings:hover {
  background: #2A6256;
  color: #EFEFEF;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,38,38,0.67);
  z-index: 9990;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #F8F8F8;
  color: #232323;
  border-radius: 18px;
  padding: 38px 32px 24px 32px;
  box-shadow: 0 7px 40px 0 rgba(30,30,30,0.22);
  min-width: 300px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-slide .33s cubic-bezier(.6,.21,.4,1.3);
}
@keyframes cookie-modal-slide {
  from { transform: translateY(70px) scale(0.89); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4em;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 9px;
}
.cookie-modal-list label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1em;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232323;
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 40px; height: 22px;
  border-radius: 18px;
  background: #DFDFDF;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #2A6256;
}
.cookie-toggle:after {
  content: '';
  display: block;
  position: absolute;
  top: 4px; left: 4px;
  width: 14px;
  height: 14px;
  background: #FFF;
  border-radius: 50%;
  transition: transform 0.15s;
}
.cookie-toggle:checked:after {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  font-size: 1em;
}
.cookie-modal-footer {
  font-size: 0.95em;
  color: #666;
  margin-top: 10px;
}

/* Essential cookies always enabled */
input.cookie-toggle[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* Hide modal by default */
.cookie-modal-overlay[hidden] { display: none !important; }

/* ---------------
   11. RESPONSIVE
   --------------- */
@media (max-width: 1100px) {
  .container { padding-left: 5vw; padding-right: 5vw; }
  .feature-grid, .card-container, .product-grid, .tips-grid, .services-list, .step-grid, .testimonial-slider {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.340rem; }
  .content-wrapper { gap: 14px; }
  .mobile-nav a { font-size: 1.05em; }
}
@media (max-width: 768px) {
  .container { padding-left: 2vw; padding-right: 2vw; }
  .section {
    margin-bottom: 38px;
    padding: 20px 6px;
  }
  .feature-grid, .product-grid, .services-list, .tips-grid, .step-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .main-nav { height: 58px; }
  .footer-menu { flex-direction: column; gap: 10px; }
  .brand-contact { font-size: 0.95em; gap: 2px; }
  .testimonial-card { padding: 21px 12px 16px 17px; min-width: 180px; max-width: 100vw; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .mobile-menu { padding: 0; }
  .mobile-nav { margin: 34px 10px 0 20px; gap: 14px; }
  .cookie-modal { padding: 20px 8px 16px 8px; min-width: 170px; }
}
@media (max-width: 530px) {
  html { font-size: 15px; }
  h1 { font-size: 1.31rem; }
  h2 { font-size: 1.13rem; }
  .btn-primary, .main-nav .btn-primary, .cookie-btn {
    font-size: 1em; padding: 10px 12px;
  }
  .testimonial-card {
    padding: 15px 7px 13px 12px;
    font-size: 0.98em;
  }
  .cookie-modal { padding: 9vw 3vw 6vw 3vw; }
}

/* Hide for a11y when not shown */
[hidden] { display: none !important; }

/* ------------------
   12. MICRO EFFECTS
   ------------------ */
.feature-grid > li, .feature-grid > div, .card, .tips-grid > li, .product-grid > li, .services-list > li, .step-grid > div {
  transition: box-shadow 0.14s, border 0.14s, transform 0.16s;
}
.feature-grid > li:hover, .feature-grid > div:hover, .card:hover, .tips-grid > li:hover, .product-grid > li:hover, .services-list > li:hover, .step-grid > div:hover {
  box-shadow: 0 8px 40px 0 rgba(42,98,86,0.13);
  transform: translateY(-2px) scale(1.014);
}

.btn-primary, .cookie-btn {
  transition: background 0.14s, color 0.13s, box-shadow 0.14s, transform 0.12s;
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.96);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.10);
}

input[type="text"]:focus {
  border-color: #2A6256;
  background: #FFF;
}

::selection {
  background: #2A6256;
  color: #FFF;
}

/* Elevate overlay components above everything */
.mobile-menu, .cookie-modal-overlay, .cookie-banner { z-index: 9999; }

/* Accessibility improvements */
:focus-visible {
  outline: 2px solid #D9CBA0;
  outline-offset: 2px;
}
