/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  white-space: normal;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1f3025; transform: translateY(-1px); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-green-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: rgba(255,255,255,0.92); color: var(--text); }
.btn-light:hover { background: #fff; }

/* BURGER */
.burger {
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 16px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer;
  z-index: var(--z-burger);
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.2s ease;
  position: relative;
}
.burger span::before { position: absolute; top: -7px; left: 0; }
.burger span::after { position: absolute; top: 7px; left: 0; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.burger.is-open span::after { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 981px){ .burger { display: none; } }

/* MENU MOBILE */
.menu-mobile {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 28px) 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
}
.menu-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.menu-mobile a {
  font-family: var(--ff-display);
  font-size: 1.85rem;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.menu-mobile > a:last-of-type:not(.btn) { border-bottom: 0; }
.menu-mobile a.btn {
  font-family: var(--ff-ui);
  font-size: 1rem;
  margin-top: 12px;
  border: 0;
  border-bottom: 0;
  padding: 14px 22px;
  align-self: stretch;
  width: 100%;
}
.menu-mobile a.btn-primary { background: var(--accent); color: #fff; }
.menu-mobile a.btn-wa { background: var(--wa-green); color: #fff; }
.menu-mobile a.btn svg { color: #fff; }
@media (min-width: 981px){ .menu-mobile { display: none; } }

/* FAB Call */
.fab-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-fab);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(41, 64, 47, 0.35);
  transition: transform 0.2s ease;
}
.fab-call:hover { transform: scale(1.06); }
.fab-call svg { width: 24px; height: 24px; }
@media (min-width: 768px){ .fab-call { display: none; } }

/* RATING badge hero */
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 18px;
}
.rating-pill .stars { display: inline-flex; gap: 2px; color: #E2A832; }
.rating-pill .stars svg { width: 14px; height: 14px; }
.rating-pill strong { color: var(--text); font-weight: 600; }
.rating-pill .sep { color: var(--text-mute); }

/* OPEN dot */
.open-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.86rem;
  color: var(--text-2);
}
.open-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-mute);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.open-dot.is-open::before {
  background: #36A85B;
  box-shadow: 0 0 0 4px rgba(54, 168, 91, 0.18);
}
.open-dot.is-closed::before { background: #C44A4A; }

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px){ .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 6px;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  font: inherit;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  background: #fff;
}
.form-msg { font-size: 0.9rem; margin-top: 14px; min-height: 1.2em; }
.form-msg.is-ok { color: #36A85B; }
.form-msg.is-err { color: #C44A4A; }
