.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast), background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  min-height: 48px;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--ghost:hover { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }

.btn--wa {
  background: var(--wa-green);
  color: #fff;
}
.btn--wa:hover { background: #1ebd5a; color: #fff; }
.btn--wa svg { width: 18px; height: 18px; }

.btn--sm { padding: 10px 16px; font-size: 0.88rem; min-height: 40px; }

.btn--full { width: 100%; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
}
.chip--solid {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--accent) 9%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
}
.pill svg { width: 14px; height: 14px; color: var(--accent); }

.c-riso {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: var(--r-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-riso);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.c-riso:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-riso-hover); }
@media (prefers-reduced-motion: reduce) {
  .c-riso { transition: none; }
  .c-riso:hover { transform: none; box-shadow: var(--shadow-riso); }
}

.fab {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(31, 53, 49, 0.28);
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .fab { display: none; } }

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none !important; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 53, 49, 0.62);
  backdrop-filter: blur(2px);
}
.modal-box {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  max-width: 520px;
  width: 100%;
  max-height: 86dvh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(31, 53, 49, 0.2);
  border: 1.5px solid var(--text);
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text);
  display: grid; place-items: center;
}
.modal-close:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.modal-box h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  padding-right: 30px;
}
.modal-box p { font-size: 0.92rem; margin-bottom: 12px; line-height: 1.55; }
.modal-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 0.9rem; margin-bottom: 16px; }
.modal-box dt { color: var(--text-mute); font-weight: 500; }
.modal-box dd { color: var(--text); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 25, 22, 0.94);
  padding: 32px 16px;
}
.lightbox[hidden] { display: none !important; }
.lb-image {
  max-width: min(94vw, 1200px);
  max-height: 86dvh;
  width: auto; height: auto;
  border-radius: 8px;
  object-fit: contain;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.6rem;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 10px;
  border-radius: 100px;
  background: color-mix(in srgb, #fff 78%, var(--bg));
  border: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.hero-rating-badge:hover { background: #fff; color: var(--text); }
.hero-rating-badge svg.stars { width: 74px; height: 14px; }
.hero-rating-badge strong { color: var(--text); }
.hero-rating-badge span { color: var(--text-2); font-size: 0.8rem; }
.hero-rating-badge .g-mark { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); font-size: 0.78rem; }
.hero-rating-badge .g-mark svg { width: 14px; height: 14px; }

form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
form label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
form input, form select, form textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  width: 100%;
  min-width: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
}
form textarea { min-height: 110px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus {
  border-color: var(--accent);
  outline: 0;
  background: #fff;
}
form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  form .form-grid--2 { grid-template-columns: 1fr 1fr; }
}
form .help { font-size: 0.78rem; color: var(--text-mute); }
