/* ============================================================
   Kiacos.fotos — base.css
   Typography (Satoshi/Inter) + dropzone + content sections.
   ============================================================ */

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: rgb(var(--lf-ink));
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  line-height: 1.15;
  font-weight: 700;
}
h2 { font-size: 22px; }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(var(--lf-body-muted)); }
@media (min-width: 768px) {
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
}

p { margin: 0 0 12px; color: rgb(var(--lf-body)); }
a {
  color: rgb(var(--cta-action));
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms ease;
}
a:hover { color: rgb(var(--cta-action-hover)); }
[data-theme="dark"] a { color: rgb(var(--cta-action)); }
[data-theme="dark"] a:hover { color: rgb(var(--cta-action-hover)); }

.brand-dot { font-family: var(--font-display); }

/* Card base · rígido (borde duro, sin shadow blur) */
.card {
  background: rgb(var(--lf-surface-card));
  border: 1px solid rgb(var(--lf-ink));
  padding: 20px;
}
@media (min-width: 768px) { .card { padding: 24px; } }
.card + .card { margin-top: 18px; }
.card__title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--lf-body-muted));
  margin: 0 0 14px;
}

/* Dropzone — div[role=button] (NOT a label, to avoid double-trigger) */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 27px 19px;
  text-align: center;
  background: rgb(var(--lf-surface-card-soft));
  border: 2px dashed rgb(var(--lf-ink));
  color: rgb(var(--lf-body-muted));
  cursor: pointer;
  transition: background 80ms linear, border-width 80ms linear, padding 80ms linear, color 80ms linear;
  user-select: none;
}
.dropzone:hover {
  background: rgb(var(--lf-surface-card-tinted));
  border-color: rgb(var(--cta-action));
  border-width: 3px;
  padding: 26px 18px;
  color: rgb(var(--lf-ink));
}
.dropzone.is-dragover {
  background: rgb(var(--cta-action) / 0.08);
  border-color: rgb(var(--cta-action));
  border-style: solid;
  border-width: 3px;
  padding: 26px 18px;
}
.dropzone__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: rgb(var(--lf-ink));
  margin: 0;
}
.dropzone__hint {
  font-size: 13px;
  color: rgb(var(--lf-body-muted));
  margin: 0;
}
.dropzone__icon {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--cta-action) / 0.12);
  color: rgb(var(--cta-action));
  border: 1px solid rgb(var(--cta-action));
}
.visually-hidden-input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Content sections (SEO copy) */
.content-section {
  margin: 56px 0 0;
}
.content-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .content-section h2 { font-size: 30px; }
}
.content-section p, .content-section li {
  color: rgb(var(--lf-body));
  font-size: 15px;
  line-height: 1.65;
}
.content-section ul, .content-section ol { padding-left: 22px; margin: 0 0 12px; }

/* FAQ */
.faq { margin: 56px 0 0; }
.faq h2 { font-size: 24px; margin-bottom: 16px; }
@media (min-width: 768px) { .faq h2 { font-size: 30px; } }
.faq details {
  background: rgb(var(--lf-surface-card));
  border: 1px solid rgb(var(--lf-ink));
  padding: 14px 18px;
  margin: 0 0 10px;
}
.faq details[open] {
  background: rgb(var(--lf-surface-card-soft));
  border-width: 2px;
  padding: 13px 17px;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: rgb(var(--lf-ink));
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--cta-action));
  color: rgb(var(--cta-action-fg));
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details > *:not(summary) {
  margin-top: 10px;
  color: rgb(var(--lf-body));
  font-size: 14.5px;
  line-height: 1.65;
}

/* App footer */
.app-footer {
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid rgb(var(--lf-hairline));
  text-align: center;
  color: rgb(var(--lf-body-muted));
  font-size: 12px;
}
.app-footer a { color: rgb(var(--lf-body-muted)); font-weight: 600; }
.app-footer a:hover { color: rgb(var(--cta-action)); }

/* Accessible hidden */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
