/* 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: 0.95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary);
  box-shadow: 0 8px 22px rgba(31, 53, 49, 0.22);
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
}
.btn-wa:hover {
  background: var(--wa-green-deep);
  box-shadow: 0 8px 22px rgba(18, 140, 126, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-ghost-inverse {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost-inverse:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

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

/* Cards risograph (LAY-3 cards=risograph) */
.c-riso {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 5px 5px 0 var(--accent);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.c-riso:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--accent);
}
.c-riso--alt {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-deep);
  box-shadow: 5px 5px 0 var(--accent-2);
}
.c-riso--alt,
.c-riso--alt :where(h1, h2, h3, h4, h5, p, li, span, a, strong) { color: #fff; }
.c-riso--alt p { color: rgba(255, 255, 255, 0.86); }
.c-riso--alt:hover { box-shadow: 7px 7px 0 var(--accent-2); }
@media (prefers-reduced-motion: reduce) {
  .c-riso, .c-riso--alt { transition: none; }
  .c-riso:hover, .c-riso--alt:hover { transform: none; }
}

/* Chips zone */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--accent-soft);
}
.chip--solid {
  background: var(--accent);
  color: #fff;
}
.chip--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}
.section--dark .chip {
  background: rgba(168, 201, 194, 0.18);
  color: #fff;
}
.section--dark .chip--solid {
  background: var(--accent-on-dark);
  color: var(--primary);
}
.section--dark .chip--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.82);
}
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 540px) {
  .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: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--ff-ui);
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--ff-ui);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-on-dark);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent-on-dark) 50%), linear-gradient(135deg, var(--accent-on-dark) 50%, transparent 50%); background-position: calc(100% - 18px) 17px, calc(100% - 12px) 17px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 30, 26, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--t-fast);
  font-size: 1.6rem;
  line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Modal mentions */
.ml-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 20px;
}
.ml-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 26, 0.6);
}
.ml-box {
  position: relative;
  background: var(--bg);
  color: var(--text);
  max-width: 520px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 14px;
  padding: 32px 26px 28px;
  border: 1px solid var(--border);
}
.ml-box h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.ml-box h3 {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 18px 0 6px;
}
.ml-box p { font-size: 0.92rem; color: var(--text-2); }
.ml-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--text);
}
