#features-grid .feature-card:last-child { border-right: none !important; }
#inicio, #productos, #nosotros, #blog, #resenas, #contacto { scroll-margin-top: 150px; }

.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(37,56,31,.55); color: #f2ead6; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hero-arrow:hover { background: rgba(37,56,31,.8); }
/* hero slides */
.hs-bg { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; z-index: 0; }
.hs-bg.on { opacity: 1; z-index: 1; }
.hs-text { position: absolute; inset: 0; padding: 96px 32px 104px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hs-text.on { opacity: 1; pointer-events: auto; }
.hd { width: 9px; height: 9px; border-radius: 5px; border: none; background: rgba(37,56,31,.35); cursor: pointer; transition: all .3s; }
.hd.on { width: 26px; background: #25381f; }

/* reseñas */
@keyframes resenasScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
#resenas-track { display: flex; width: max-content; animation: resenasScroll 60s linear infinite; }
#resenas-track:hover { animation-play-state: paused; }
.resena-card { background: #fff; border: 1px solid #ece3cf; border-radius: 12px; width: 300px; flex-shrink: 0; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 4px 15px rgba(37,56,31,.05); min-height: 200px; transition: transform .3s ease, box-shadow .3s ease; }
.resena-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(37,56,31,.1); }
@media (max-width: 768px) {
  .resena-card { width: 250px !important; padding: 18px !important; gap: 10px !important; min-height: 170px !important; }
}
@keyframes italiaSweep { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes circleSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  #inicio, #productos, #nosotros, #blog, #resenas, #contacto { scroll-margin-top: 112px; }
  #features-grid { grid-template-columns: repeat(2,1fr) !important; gap: 40px 16px !important; padding-top: 56px !important; padding-bottom: 56px !important; }
  .feature-card { border-right: none !important; padding: 0 4px !important; }
  #productos, #blog, #resenas { padding-left: 20px !important; padding-right: 20px !important; }
  #especial-grid { grid-template-columns: 1fr !important; min-width: 0 !important; }
  #especial-grid > div:first-child { order: 2; min-width: 0 !important; }
  #especial-text { display: contents !important; }
  #especial-head { order: 1; padding: 32px 24px 24px !important; text-align: center !important; align-items: center !important; color: #f2ead6; }
  #especial-text > p { order: 3; padding: 28px 24px 0 !important; text-align: center !important; max-width: 100% !important; margin: 0 auto !important; color: #d9d3c0; }
  #especial-btn { order: 4; align-self: center !important; justify-self: center !important; margin: 22px auto 34px !important; }
  #especial-title { font-size: 30px !important; max-width: 100% !important; overflow-wrap: break-word !important; }
  #productos-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  #nosotros-grid { grid-template-columns: 1fr !important; }
  #nosotros-img { min-height: 0 !important; height: 220px !important; width: 100% !important; max-width: 100% !important; }
  #conocer-mas-wrap { flex-direction: column !important; align-items: center !important; justify-content: center !important; width: 100% !important; text-align: center !important; }
  #nosotros-img img { width: 100% !important; max-width: 100% !important; height: 220px !important; }
  #nosotros-content { grid-template-columns: 1fr !important; padding: 0 !important; text-align: center; justify-items: center; }
  #blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  #contacto-inner { grid-template-columns: 1fr !important; gap: 40px !important; padding: 56px 20px !important; }
  .hero-title { font-size: 46px !important; }
  #hero-inner { padding: 64px 20px 56px !important; }
  .hero-bottom { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .hero-bottom p { max-width: 100% !important; }
  section#inicio { min-height: 0 !important; height: auto !important; overflow: visible !important; display: flex !important; flex-direction: column !important; margin-bottom: 24px !important; }
  #hero-img-wrap { position: relative !important; inset: auto !important; order: 2; height: 240px !important; width: 100% !important; }
  #hero-dots { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; bottom: auto !important; order: 3 !important; width: 100% !important; padding: 14px 0 4px !important; }
  .hero-slide-text { order: 4 !important; width: 100% !important; }
  #hero-fade-h, #hero-fade-v { display: none !important; }
  #hero-inner { position: relative !important; padding: 0 !important; display: contents !important; }
  .hero-text-wrap { display: contents !important; }
  .hero-top { order: 1; padding: 48px 20px 0; text-align: center; }
  .hero-top > div { margin-left: auto !important; margin-right: auto !important; }
  .hero-bottom { order: 3; padding: 20px 20px 60px; }
  #hero-fade-h { background: linear-gradient(180deg,#f7f2e7 0%,#f7f2e7 34%,rgba(247,242,231,.8) 44%,rgba(247,242,231,0) 58%) !important; }
  .hs-text { position: relative; inset: auto; padding: 0; display: none; opacity: 1; transition: none; pointer-events: auto; }
  .hs-text.on { display: block; }
}
@media (max-width: 480px) {
  #features-grid, #blog-grid { grid-template-columns: 1fr !important; }
  #productos-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 14px !important; }
  #productos-grid > div > div:first-child { height: 130px !important; }
  #productos-grid h3 { font-size: 11px !important; letter-spacing: .08em !important; margin-bottom: 6px !important; }
  #productos-grid p { font-size: 13px !important; line-height: 1.4 !important; }
  #productos-grid > div > div:last-child { padding: 14px 12px 16px !important; }
  #productos-grid a { font-size: 10px !important; margin-top: 10px !important; padding-top: 10px !important; gap: 6px !important; }
  .hero-title { font-size: 36px !important; }
  section#inicio { height: auto !important; overflow: visible !important; }
  #hero-img-wrap { height: 200px !important; }
  #topbar { font-size: 12px !important; padding: 9px 12px !important; }
  #wa-float { width: 50px !important; height: 50px !important; bottom: 16px !important; right: 16px !important; }
  #inicio, #productos, #nosotros, #blog, #resenas, #contacto { scroll-margin-top: 96px; }
}
@media (min-width: 769px) {
  #cards-accept-block { align-items: center !important; text-align: center; }
  #cards-accept-block h4 { font-size: 15px !important; }
  #cards-accept-block p { font-size: 17px !important; }
  #cards-accept-block .card-row { justify-content: center !important; gap: 22px !important; }
  #cards-accept-block .card-visa { font-size: 24px !important; padding: 16px 24px !important; }
  #cards-accept-block .card-mc { padding: 14px 24px !important; }
  #cards-accept-block .card-mc span { width: 32px !important; height: 32px !important; }
  #cards-accept-block .card-mc span:last-child { margin-left: -13px !important; }
  #cards-accept-block .card-amex { font-size: 17px !important; padding: 17px 20px !important; }
}
