/* ============================================================
   HOME v3 — Redesign moderno stile Airbnb/Booking
   agriturismi.it — 2026-03
   ============================================================ */

/* Previene scroll orizzontale: hidden su html copre i browser che ignorano `clip`,
   clip su body non rompe position:sticky come farebbe hidden sul body. */
html {
  overflow-x: hidden;
}
body {
  overflow-x: clip;
}

/* --- Navbar fix: logo + hamburger su stessa riga ------------- */
.navbar .navbar-brand img {
  max-width: 200px;
  height: auto;
}

@media (max-width: 575px) {
  .navbar .navbar-brand img {
    max-width: 160px;
  }
}

/* --- Hero ---------------------------------------------------- */
.hm-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding: 60px 0 50px;
  overflow: visible;
  z-index: 10;
}

/* Icone flottanti hero home */
.hm-hero-icons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hhi {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0;
  animation: floatHhi 14s ease-in-out infinite;
}
/* Su mobile le emoji decorative sono invisibili per risparmiare risorse */
@media (max-width: 767px) {
  .hm-hero-icons { display: none; }
}
/* Rispetta le preferenze di riduzione animazioni */
@media (prefers-reduced-motion: reduce) {
  .hhi { animation: none; opacity: .12; }
}
@keyframes floatHhi {
  0%   { transform: translateY(8px)  rotate(-4deg) scale(.9);  opacity: 0;   }
  10%  { opacity: .13; }
  50%  { transform: translateY(-10px) rotate(4deg)  scale(1.0); opacity: .18; }
  90%  { opacity: .13; }
  100% { transform: translateY(8px)  rotate(-4deg) scale(.9);  opacity: 0;   }
}
.hhi-1  { top: 10%; left:  3%;  animation-duration: 13s; animation-delay:  0.0s; font-size: 1.8rem; }
.hhi-2  { top: 65%; left:  8%;  animation-duration: 15s; animation-delay:  1.5s; font-size: 1.4rem; }
.hhi-3  { top: 20%; left: 16%;  animation-duration: 12s; animation-delay:  3.2s; font-size: 2.0rem; }
.hhi-4  { top: 75%; left: 21%;  animation-duration: 16s; animation-delay:  0.8s; font-size: 1.3rem; }
.hhi-5  { top:  8%; left: 31%;  animation-duration: 14s; animation-delay:  2.4s; font-size: 1.5rem; }
.hhi-6  { top: 58%; left: 37%;  animation-duration: 11s; animation-delay:  4.0s; font-size: 1.7rem; }
.hhi-7  { top: 82%; left: 49%;  animation-duration: 17s; animation-delay:  1.0s; font-size: 1.4rem; }
.hhi-8  { top: 18%; left: 57%;  animation-duration: 13s; animation-delay:  3.6s; font-size: 1.9rem; }
.hhi-9  { top: 68%; left: 64%;  animation-duration: 12s; animation-delay:  0.5s; font-size: 1.5rem; }
.hhi-10 { top:  6%; left: 73%;  animation-duration: 15s; animation-delay:  2.8s; font-size: 1.6rem; }
.hhi-11 { top: 48%; left: 78%;  animation-duration: 14s; animation-delay:  1.8s; font-size: 1.3rem; }
.hhi-12 { top: 80%; left: 84%;  animation-duration: 16s; animation-delay:  4.5s; font-size: 1.7rem; }
.hhi-13 { top: 14%; left: 89%;  animation-duration: 11s; animation-delay:  0.3s; font-size: 1.5rem; }
.hhi-14 { top: 55%; left: 94%;  animation-duration: 13s; animation-delay:  2.5s; font-size: 1.8rem; }
.hhi-15 { top: 35%; left: 46%;  animation-duration: 15s; animation-delay:  5.2s; font-size: 2.0rem; }

.hm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Tab Alloggio / Ristorante nella hero */
.hm-hero-tabs {
  display: inline-flex;
  gap: 4px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border-radius: 32px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.2);
}
.hm-hero-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.hm-hero-tab:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.15);
}
.hm-hero-tab.active {
  background: #fff;
  color: #0d9488;
}
.hm-hero-tab .fa { font-size: 12px; }
/* Tabs compatti su schermi piccoli */
@media (max-width: 480px) {
  .hm-hero-tabs { gap: 2px; padding: 3px; }
  .hm-hero-tab { padding: 7px 12px; font-size: 13px; gap: 4px; }
  .hm-hero-tab .fa { font-size: 11px; }
}

.hm-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6), 0 0 40px rgba(0,0,0,.3);
  letter-spacing: -.5px;
}

.hm-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.95);
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

/* --- Glass box intorno alla ricerca -------------------------- */
.hm-search-glass {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 24px;
  padding: 20px 24px 16px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 100; /* il dropdown autocomplete deve uscire sopra le sezioni sottostanti */
  overflow: visible;
}

/* --- Searchbar (hero) ---------------------------------------- */
.hm-search-form {
  max-width: 820px;
  margin: 0 auto;
}

.hm-searchbar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  padding: 5px;
  gap: 0;
}

.hm-searchbar-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  flex: 1;
  min-width: 0;
  border-right: 1px solid #e5e7eb;
}

/* Posiziona il dropdown autocomplete rispetto al campo località */
.hm-searchbar-loc {
  position: relative;
}

.hm-searchbar-field:last-of-type {
  border-right: none;
}

.hm-searchbar-field > i {
  color: #9ca3af;
  font-size: 15px;
  flex-shrink: 0;
}

.hm-searchbar-field .form-control {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 12px 0;
  font-size: 16px; /* >= 16px evita auto-zoom su iOS */
  height: auto;
}

.hm-searchbar-field .form-control:focus {
  outline: none;
  box-shadow: none;
}

.hm-searchbar-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #18a2b8;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}

.hm-searchbar-btn:hover {
  background: #148a9e;
}

/* Widget ospiti: riserva altezza per evitare CLS prima che il JS lo popoli */
.hm-searchbar-guests .widget-ospiti { min-height: 46px; }

/* Widget ospiti dentro la searchbar: rimuove bordo grigio */
.hm-searchbar .wo-trigger {
  border: none !important;
  border-radius: 0 !important;
  height: auto !important;
  padding: 12px 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 16px !important;
}

.hm-searchbar .wo-trigger:hover,
.hm-searchbar .wo-trigger:focus {
  border: none !important;
  box-shadow: none !important;
}

/* --- Search extras (pill toggle + geoloc) -------------------- */
.hm-search-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hm-pill-toggle {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.hm-pill-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.hm-pill-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,.6);
  color: rgba(255,255,255,.95);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  transition: all .2s;
  white-space: nowrap;
  user-select: none;
}

.hm-pill-toggle span:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.9);
}

.hm-pill-toggle input:checked + span {
  background: #fff;
  color: #18a2b8;
  border-color: #fff;
}

.hm-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,.6);
  color: rgba(255,255,255,.95);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.hm-pill-btn:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.9);
  color: #fff;
}

/* --- Sezioni generiche --------------------------------------- */
.hm-section {
  margin-top: 36px;
  margin-bottom: 8px;
  overflow: hidden;
}

.hm-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

/* --- Regioni — griglia desktop, scroll orizzontale mobile ---- */
.hm-regions-wrap {
  position: relative;
}

.hm-regions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.hm-regions-arrow {
  display: none;
}

.hm-region-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  text-decoration: none !important;
  color: #374151;
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
  min-height: 68px;
}

.hm-region-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  color: #374151;
}

.hm-region-icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.hm-region-name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-transform: capitalize;
  color: #374151;
}

/* --- Scroll orizzontale (carousel) --------------------------- */
.hm-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 14px;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}

.hm-scroll::-webkit-scrollbar { height: 5px; }
.hm-scroll::-webkit-scrollbar-track { background: transparent; }
.hm-scroll::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 10px; }

/* --- Card (strutture + offerte) ------------------------------ */
.hm-card {
  flex: 0 0 auto;
  width: 240px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.hm-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.11);
  transform: translateY(-2px);
  color: inherit;
}

.hm-card-img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #f0f2f4;
  flex-shrink: 0;
}

.hm-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.hm-card:hover .hm-card-img {
  transform: scale(1.05);
}

.hm-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hm-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-card-location {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.hm-card-location .fa {
  color: #18a2b8;
  margin-right: 2px;
}

.hm-card-price {
  font-size: 13px;
  font-weight: 700;
  color: #18a2b8;
  margin-top: auto;
}

/* --- Badge sconto, urgency, prezzo, festa -------------------- */
.hm-badge-sconto {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e11d48;
  color: #fff;
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(225,29,72,.4);
}

/* Badge categoria offerta (es. Romantico, Benessere) */
.hm-badge-category {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #1e293b;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.hm-badge-category .fa { font-size: 10px; margin-right: 3px; color: #0d9488; }

.hm-badge-urgency {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f97316;
  color: #fff;
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.hm-price-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255,255,255,.97);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  line-height: 1.3;
  pointer-events: none;
}

.hm-price-badge small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
}

.hm-price-barrato {
  display: inline-block;
  text-decoration: line-through;
  color: #9ca3af;
  font-weight: 400;
  font-size: 11px;
  margin-right: 2px;
}

.hm-badge-festa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ede9fe;
  color: #6d28d9;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
}

/* --- Card "Vedi tutte" --------------------------------------- */
.hm-view-all {
  flex: 0 0 auto;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border: 2px dashed #e5e7eb;
  border-radius: 14px;
  padding: 16px 8px;
  text-decoration: none !important;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: border-color .2s, color .2s;
  align-self: stretch;
}

.hm-view-all:hover {
  border-color: #18a2b8;
  color: #18a2b8;
}

.hm-view-all .fa {
  font-size: 22px;
  margin-bottom: 8px;
  color: #18a2b8;
}

/* --- Banner feste -------------------------------------------- */
.hm-banner {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: box-shadow .2s, transform .2s;
  height: 160px;
}

.hm-banner:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  transform: translateY(-2px);
}

.hm-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.hm-banner:hover img {
  transform: scale(1.04);
}

.hm-banner-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,.95);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  pointer-events: none;
}

.hm-banner-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 8px 0 0;
}

/* --- USP (Perche' Agriturismi.it) ---------------------------- */
.hm-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hm-usp-card {
  background: #f9fafb;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}

.hm-usp-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.hm-usp-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e0f2f1;
  color: #18a2b8;
  font-size: 22px;
}

.hm-usp-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.hm-usp-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* --- Card gestore (host) ------------------------------------- */
.hm-host-card {
  flex: 0 0 auto;
  width: 280px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.hm-host-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.11);
  transform: translateY(-2px);
  color: inherit;
}

.hm-host-img-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: #f0f2f4;
}

.hm-host-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.85);
}

.hm-host-avatar {
  position: absolute;
  bottom: -24px;
  left: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  object-fit: cover;
  background: #f0f2f4;
}

.hm-host-body {
  padding: 30px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hm-host-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-host-loc {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.hm-host-loc .fa {
  color: #18a2b8;
  margin-right: 2px;
}

.hm-host-story {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.55;
  font-style: italic;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 575px) {
  .hm-host-card {
    width: 250px;
  }
  .hm-host-img-wrap {
    height: 110px;
  }
}

/* --- About --------------------------------------------------- */
.hm-about {
  background: #f9fafb;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
}

/* --- Blog ---------------------------------------------------- */
.hm-blog-card {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: box-shadow .2s, transform .2s;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.hm-blog-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  transform: translateY(-2px);
}

/* Placeholder quando l'articolo non ha immagine: gradiente coordinato + icona foto */
.hm-blog-card--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d9488, #1e293b);
}
.hm-blog-card--noimg::before {
  content: "";
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  opacity: .92;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
}

.hm-blog-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 14px 14px;
}

/* --- Newsletter ---------------------------------------------- */
.hm-newsletter {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.hm-newsletter-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.hm-newsletter-title .fa {
  color: #18a2b8;
  margin-right: 6px;
}

.hm-newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  margin-bottom: 8px;
}

.hm-newsletter-input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 16px;
  outline: none;
}

.hm-newsletter-btn {
  flex-shrink: 0;
  background: #18a2b8;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}

.hm-newsletter-btn:hover {
  background: #148a9e;
}

.hm-newsletter-check {
  margin-top: 4px;
}

.hm-newsletter-check label {
  cursor: pointer;
  font-size: 13px;
  color: #6b7280;
}

.hm-newsletter-check input {
  margin-right: 6px;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  cursor: pointer;
}

/* --- Back to top ---------------------------------------------- */
.hm-back-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #18a2b8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  z-index: 1030;
}

.hm-back-top i {
  font-size: 18px;
  line-height: 1;
}

.hm-back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --- Responsive ---------------------------------------------- */
@media (max-width: 991px) {
  .hm-regions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hm-usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  /* Hero compattato per ridurre il first fold mobile (~100px risparmiati)
     e portare prima a vista le sezioni successive (Ricerche popolari, Regioni). */
  .hm-hero {
    min-height: auto;
    padding: 12px 0 6px;
  }
  .hm-hero-title {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
  .hm-hero-tabs {
    margin-bottom: 10px;
  }
  .hm-hero-sub {
    font-size: .9rem;
    margin-bottom: 12px;
  }
  .hm-search-glass {
    padding: 10px 10px 8px;
    border-radius: 18px;
  }

  /* Searchbar diventa verticale */
  .hm-searchbar {
    flex-direction: column;
    border-radius: 14px;
    padding: 6px;
  }
  .hm-searchbar-field {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 12px;
    width: 100%;
  }
  .hm-searchbar-field:last-of-type {
    border-bottom: none;
  }
  .hm-searchbar-btn {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    margin-top: 4px;
  }

  /* Regioni: scroll orizzontale su mobile con frecce */
  .hm-regions-grid {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hm-regions-grid::-webkit-scrollbar { display: none; }
  .hm-region-card {
    flex: 0 0 calc(25% - 6px);
    min-width: 78px;
    min-height: 58px;
    padding: 8px 6px;
  }
  .hm-region-name {
    font-size: 11px;
  }
  .hm-region-icon {
    font-size: 15px;
    margin-bottom: 3px;
  }
  .hm-regions-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 14px;
    color: #374151;
    transition: all .15s;
  }
  .hm-regions-arrow:hover {
    background: #f3f4f6;
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
  }
  .hm-regions-arrow-left { left: -4px; }
  .hm-regions-arrow-right { right: -4px; }

  .hm-card {
    width: 210px;
  }
  .hm-card-img-wrap {
    height: 150px;
  }
  .hm-section {
    margin-top: 14px;
    margin-bottom: 4px;
  }
  .hm-section-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
  .hm-usp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .hm-usp-card {
    padding: 14px 10px;
  }
  .hm-usp-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-bottom: 8px;
  }
  .hm-usp-title {
    font-size: 13px;
  }
  .hm-usp-desc {
    font-size: 12px;
  }
  .hm-banner {
    height: 130px;
  }
}

@media (max-width: 480px) {
  .hm-newsletter-form {
    flex-direction: column;
  }
  .hm-newsletter-btn {
    width: 100%;
  }
}

@media (min-width: 576px) {
  .hm-back-top {
    display: none !important;
  }
}

/* --- Ricerche popolari — carousel icone -------------------- */
.hm-pop-wrap {
  position: relative;
  padding: 0 36px;
}

.hm-pop-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hm-pop-scroll::-webkit-scrollbar { display: none; }

.hm-pop-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  padding: 16px 6px 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none !important;
  color: #374151;
  transition: box-shadow .2s, border-color .2s;
  cursor: pointer;
}

.hm-pop-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
  border-color: #0d9488;
  color: #374151;
}

.hm-pop-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f0fdfa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 24px;
  transition: background .2s;
}

.hm-pop-item:hover .hm-pop-icon {
  background: #ccfbf1;
}

.hm-pop-label {
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: #374151;
}

.hm-pop-item.hm-pop-active {
  border-color: #0d9488;
  background: #f0fdfa;
  box-shadow: 0 4px 14px rgba(13,148,136,.15);
}

.hm-pop-item.hm-pop-active .hm-pop-icon {
  background: #ccfbf1;
}

/* Frecce sempre visibili */
.hm-pop-arrow {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 16px;
  color: #374151;
  transition: all .15s;
}
.hm-pop-arrow:hover {
  background: #f3f4f6;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.hm-pop-arrow-left { left: 0; }
.hm-pop-arrow-right { right: 0; }

@media (max-width: 767px) {
  .hm-pop-wrap {
    padding: 0 30px;
  }
  .hm-pop-item {
    width: 90px;
    padding: 12px 4px 8px;
  }
  .hm-pop-icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
    margin-bottom: 7px;
  }
  .hm-pop-label {
    font-size: 10.5px;
  }
  .hm-pop-arrow {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* --- Modal regioni (ricerche popolari) ---------------------- */
.hm-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.hm-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hm-modal {
  background: #fff;
  border-radius: 20px;
  width: 92%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  transform: translateY(20px);
  transition: transform .25s;
}
.hm-modal-overlay.active .hm-modal {
  transform: translateY(0);
}

.hm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.hm-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.hm-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 22px;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.hm-modal-close:hover {
  background: #f3f4f6;
}

.hm-modal-body {
  padding: 12px 24px 24px;
}

.hm-modal-sub {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 16px;
}

.hm-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hm-modal-region {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 6px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  text-decoration: none !important;
  color: #374151;
  transition: transform .15s, box-shadow .15s;
  min-height: 80px;
}
.hm-modal-region:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  color: #374151;
}

.hm-modal-region-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.hm-modal-region-name {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
}

@media (max-width: 575px) {
  .hm-modal {
    width: 96%;
    max-height: 90vh;
    border-radius: 16px;
  }
  .hm-modal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .hm-modal-header {
    padding: 16px 16px 0;
  }
  .hm-modal-body {
    padding: 10px 16px 20px;
  }
  .hm-modal-region {
    padding: 12px 4px;
    min-height: 70px;
  }
  .hm-modal-region-icon {
    font-size: 18px;
  }
  .hm-modal-region-name {
    font-size: 11px;
  }
}

/* ============================================================
   BOX PROMO GESTORI — da commissione a canone
   ============================================================ */
.hm-promo-gestori {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
  border-radius: 20px;
  padding: 40px 44px;
  color: #fff;
  overflow: hidden;
}

.hm-promo-content { flex: 1; min-width: 0; }

.hm-promo-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hm-promo-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
}

.hm-promo-desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: .92;
  margin-bottom: 16px;
}

.hm-promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.hm-promo-list li {
  font-size: 14px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm-promo-list .fa-check-circle {
  color: #a5d6a7;
  font-size: 15px;
}

.hm-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: #1b5e20;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

.hm-promo-cta:hover {
  background: #f1f8e9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  text-decoration: none;
  color: #1b5e20;
}

/* Visual: confronto 8% vs 0% */
.hm-promo-visual { flex-shrink: 0; }

.hm-promo-compare {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hm-promo-col {
  text-align: center;
  padding: 24px 28px;
  border-radius: 16px;
  min-width: 140px;
}

.hm-promo-col-old {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
}

.hm-promo-col-new {
  background: #fff;
  color: #1b5e20;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.hm-promo-col-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
  opacity: .8;
}

.hm-promo-col-new .hm-promo-col-label { color: #6b7280; }

.hm-promo-col-value {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.hm-promo-col-sub {
  font-size: 11px;
  opacity: .75;
  line-height: 1.3;
}

.hm-promo-col-new .hm-promo-col-sub { color: #4b5563; opacity: 1; }

.hm-promo-arrow {
  font-size: 20px;
  opacity: .6;
}

/* Responsive promo */
@media (max-width: 991px) {
  .hm-promo-gestori {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 28px;
  }

  .hm-promo-list li { justify-content: center; }

  .hm-promo-title { font-size: 24px; }
}

@media (max-width: 575px) {
  .hm-promo-col { min-width: 110px; padding: 18px 16px; }
  .hm-promo-col-value { font-size: 32px; }
  .hm-promo-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   FORM_SEARCH — Hero illustrativo (sfondo pattern + icone)
   ============================================================ */
.fs-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d9488 0%, #0891b2 40%, #0e7490 70%, #155e75 100%);
  padding: 60px 0 50px;
  overflow: hidden;
}

/* Pattern geometrico sottile */
.fs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,.05) 0%, transparent 45%);
  pointer-events: none;
}

/* Icone decorative flottanti */
.fs-hero-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Ogni icona è dentro un <span> con posizione inline */
.fs-hero-icons > span {
  position: absolute;
  color: rgba(255,255,255,.08);
  animation: fsFloat 20s ease-in-out infinite;
  line-height: 1;
}

@keyframes fsFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: .6; }
  25%  { transform: translateY(-12px) rotate(5deg); opacity: 1; }
  50%  { transform: translateY(0) rotate(0deg); opacity: .6; }
  75%  { transform: translateY(8px) rotate(-3deg); opacity: .8; }
}

/* Titolo e sottotitolo */
.fs-hero-title {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.25) !important;
}

.fs-hero-sub {
  color: rgba(255,255,255,.92) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.2) !important;
}

@media (max-width: 767px) {
  .fs-hero { min-height: 400px; padding: 40px 0 36px; }
}

.fs-hero-notfound {
  min-height: 420px;
}

.fs-notfound-box {
  margin-bottom: 24px;
}

.fs-notfound-code {
  display: inline-block;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255,255,255,.75);
  line-height: 1;
  letter-spacing: 6px;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.fs-notfound-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.fs-notfound-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  margin: 0 0 8px;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

@media (max-width: 767px) {
  .fs-notfound-code { font-size: 4.5rem; }
  .fs-notfound-title { font-size: 1.2rem; }
  .fs-notfound-desc { font-size: .9rem; }
  .fs-hero-notfound { min-height: 360px; }
}

/* ============================================================
   FORM_SEARCH — Lista province (riusata da include/)
   ============================================================ */
.fs-province-grid {
  background: #f9fafb;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 20px 16px;
}

.fs-province-grid .list-group {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fs-province-grid .list-group li {
  padding: 2px 0;
}

.fs-province-grid .list-group li a {
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: color .15s;
}

.fs-province-grid .list-group li a:hover {
  color: #18a2b8;
}

.fs-province-grid .list-group li a .text-info {
  color: #18a2b8 !important;
  font-weight: 700;
}

@media (max-width: 575px) {
  .fs-province-grid {
    padding: 14px 10px;
  }
  .fs-province-grid .list-group li a {
    font-size: 12px;
  }
}

/* --- Box iscrizione gestori -------------------------------- */
.hm-host-cta {
  display: flex;
  align-items: center;
  gap: 48px;
  background: #f8faf9;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 40px 44px;
  overflow: hidden;
}

.hm-host-cta-visual {
  flex-shrink: 0;
  width: 280px;
}

.hm-host-cta-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hm-host-cta-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e5e7eb;
}
.hm-host-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hm-host-cta-img1 { border-radius: 14px 14px 4px 14px; }
.hm-host-cta-img2 { border-radius: 14px 14px 14px 4px; }
.hm-host-cta-img3 { border-radius: 4px 14px 14px 14px; }
.hm-host-cta-img4 { border-radius: 14px 4px 14px 14px; }

.hm-host-cta-content {
  flex: 1;
  min-width: 0;
}

.hm-host-cta-badge {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 14px;
}
.hm-host-cta-badge .fa { margin-right: 4px; }

.hm-host-cta-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 18px;
  line-height: 1.2;
}

.hm-host-cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.hm-host-cta-list li {
  font-size: 14.5px;
  line-height: 1.55;
  color: #4b5563;
  padding: 6px 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hm-host-cta-list li .fa {
  color: #0d9488;
  font-size: 15px;
  flex-shrink: 0;
}
.hm-host-cta-list li span {
  flex: 1;
  min-width: 0;
}

.hm-host-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d9488;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 14px rgba(13,148,136,.25);
}
.hm-host-cta-btn:hover {
  background: #0b7a71;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,.3);
}


@media (max-width: 991px) {
  .hm-host-cta {
    flex-direction: column;
    padding: 28px 24px;
    gap: 24px;
    text-align: center;
  }
  .hm-host-cta-visual { width: 220px; }
  .hm-host-cta-list li { justify-content: center; text-align: left; }
  .hm-host-cta-btn { width: 100%; justify-content: center; }
}

@media (max-width: 575px) {
  .hm-host-cta-visual { width: 180px; }
  .hm-host-cta-title { font-size: 22px; }
  .hm-host-cta-list li { font-size: 13.5px; }
}

/* ── Teaser ristoranti in agriturismo ─────────────────────── */
.hm-rist-teaser {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hm-rist-left {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.hm-rist-icon-wrap {
  width: 48px;
  height: 48px;
  background: #0d9488;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hm-rist-icon-wrap .fa {
  color: #fff;
  font-size: 20px;
}
.hm-rist-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.3;
}
.hm-rist-sub {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 12px;
  line-height: 1.5;
}
.hm-rist-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hm-rist-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.hm-rist-chip:hover {
  background: #0d9488;
  color: #fff;
  border-color: #0d9488;
  text-decoration: none;
}
.hm-rist-chip-n {
  background: #d1fae5;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
}
.hm-rist-chip:hover .hm-rist-chip-n {
  background: rgba(255,255,255,.25);
  color: #fff;
}
.hm-rist-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d9488;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.hm-rist-btn:hover { background: #0b7a71; }

@media (max-width: 767px) {
  .hm-rist-teaser { flex-direction: column; padding: 20px; gap: 16px; }
  .hm-rist-btn { width: 100%; justify-content: center; }
}

/* --- FAQ ----------------------------------------------------- */
.hm-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0;
  transition: border-color .15s, box-shadow .15s;
}
.hm-faq-item[open] {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hm-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.hm-faq-q::-webkit-details-marker { display: none; }
.hm-faq-q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #0d9488;
  transition: transform .2s;
  line-height: 1;
  flex-shrink: 0;
}
.hm-faq-item[open] .hm-faq-q::after {
  content: "−";
}
.hm-faq-a {
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #374151;
}
@media (max-width: 575px) {
  .hm-faq-q { font-size: 14px; padding: 12px 14px; }
  .hm-faq-a { padding: 0 14px 14px; font-size: 13.5px; }
}
