/* 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-weight: 600;
  font-size: .98rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
  border: 2px solid transparent;
  min-height: 50px;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--text); transform: translateY(-2px); }
.btn--wa { background: var(--wa-green); color: #fff; }
.btn--wa:hover { background: var(--wa-green-dark); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--light {
  background: rgba(255,255,255,.15);
  color: #fff;
  backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,.4);
}
.btn--light:hover { background: rgba(255,255,255,.25); }

/* CARDS plain */
.c-plain {
  background: color-mix(in srgb, var(--text) 3.5%, var(--bg));
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

/* RATING / STARS */
.stars { display: inline-flex; gap: 2px; color: #E0B85A; }
.stars svg { width: 18px; height: 18px; }

/* BADGE google */
.badge-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: .78rem;
  color: var(--text-mute);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.badge-google svg { width: 12px; height: 12px; }

/* CHIPS */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: .82rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.chip--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* META PILL (dot) */
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: .85rem;
  color: var(--text);
  background: color-mix(in srgb, #fff 70%, transparent);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #41C46B;
  position: relative;
}
.dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #41C46B;
  opacity: .5;
  animation: pulse 1.8s ease-out infinite;
}
.dot--off { background: #c44141; }
.dot--off::after { border-color: #c44141; }
@keyframes pulse {
  0% { transform: scale(.9); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dot::after { animation: none; }
}

/* FAB mobile */
.fab {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.18), 0 0 0 4px rgba(37,211,102,.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.fab.is-visible { transform: translateY(0); opacity: 1; }
.fab svg { width: 18px; height: 18px; }
@media (min-width: 968px) { .fab { display: none; } }

/* MODAL mentions legales */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 42, 49, 0.62);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  width: 100%;
  max-width: 520px;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.modal-box h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text);
}
.modal-box p { font-size: .9rem; margin-bottom: 12px; }
.modal-box strong { color: var(--text); }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--text);
}
.modal-close:hover { background: var(--border); }
.modal-section { margin-bottom: 16px; }
.modal-section h3 {
  font-size: .82rem;
  font-family: var(--ff-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 6px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(20, 28, 35, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 1.4rem;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.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: 24px; }
  .lb-next { right: 24px; }
}

/* FORM */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--ff-ui);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-2);
  font-weight: 600;
}
.field input, .field textarea, .field select {
  width: 100%;
  min-width: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
}

/* CONTACT rows */
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-row:first-of-type { border-top: 0; }
.contact-row__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--accent-2);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-row__icon svg { width: 18px; height: 18px; }
.contact-row__text { line-height: 1.4; }
.contact-row__label {
  font-family: var(--ff-ui);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
}
.contact-row__value {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: #fff;
  margin-top: 2px;
}
.contact-row__value a:hover { color: var(--accent-2); }
