/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--ff-ui);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--bg); transform: translateY(-1px); }
.btn-wa { background: var(--wa-green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: #1ebd5b; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* Tag/Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.chip svg { width: 12px; height: 12px; }
.chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Card line (LAY-1 card style) */
.c-line {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.c-line:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Stars for reviews */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent);
}
.stars svg { width: 16px; height: 16px; }

/* Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .full { grid-column: 1 / -1; }
}
.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;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-msg { font-size: 0.92rem; color: var(--ok); min-height: 1.2em; }

/* Modal (mentions legales) */
.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(20, 20, 16, 0.62);
  backdrop-filter: blur(2px);
}
.modal-box {
  position: relative;
  max-width: 520px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 36px 28px 30px;
  box-shadow: var(--shadow-md);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
  transition: background .2s ease;
}
.modal-close:hover { background: var(--accent-soft); }
.modal-box h2 {
  font-size: 1.6rem;
  margin: 0 0 16px;
}
.modal-box h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  margin: 18px 0 6px;
  color: var(--accent);
  font-style: italic;
}
.modal-box p {
  font-size: 0.92rem;
  color: var(--text-2);
  margin-bottom: 0.6em;
  max-width: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 15, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .2s ease;
}
.lb-btn:hover { background: rgba(255,255,255,0.24); }
.lb-close { top: 18px; right: 18px; }
.lb-prev  { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 12px; top: 50%; transform: translateY(-50%); }
