/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 1.6rem;
  font-family: var(--ff-ui);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}
.btn-wa {
  background: var(--wa-green);
  color: #fff;
}
.btn-wa:hover {
  background: var(--wa-green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover {
  background: var(--primary);
  color: var(--bg);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--primary); color: var(--bg); }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; min-height: 40px; }
.btn-block { width: 100%; }

/* CHIPS */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4em 0.95em;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.chip-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* RATING BADGE HERO */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--ff-ui);
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(31, 53, 49, 0.15);
}
.hero-rating-stars { display: inline-flex; gap: 1px; color: #E8A93B; }
.hero-rating-stars svg { width: 14px; height: 14px; }
.hero-rating strong { font-weight: 600; color: var(--primary); }
.hero-rating .meta { color: var(--text-2); font-size: 0.86rem; }
.hero-rating:hover { color: var(--text); border-color: var(--accent); }

/* CARD generic */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 24, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  padding: 24px;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  font-family: var(--ff-display);
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (min-width: 768px) {
  .lb-prev { left: 32px; }
  .lb-next { right: 32px; }
}

/* MODAL mentions */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 24, 0.55);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  max-width: 540px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-card);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--surface-2);
}
.modal-box h3 { margin-bottom: 18px; font-size: 1.4rem; }
.modal-box p { font-size: 0.95rem; line-height: 1.7; color: var(--text-2); }
.modal-box strong { color: var(--primary); }

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.field input, .field select, .field textarea {
  font: inherit;
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  width: 100%;
  min-width: 0;
  min-height: 48px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-feedback {
  font-size: 0.92rem;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
}
.form-feedback.ok { background: color-mix(in srgb, var(--ok) 18%, var(--bg)); color: var(--primary); }
.form-feedback.err { background: color-mix(in srgb, var(--warn) 18%, var(--bg)); color: var(--warn); }
