/* DigitalSnap — home page (/)
   Layered on top of fotografos.css: the index reuses that file's components
   (.fg-hero, .fg-sec, .fg-btn, .fg-steps, .fg-faq…) so both public pages read
   as one product. Only what the index adds lives here — the two audience
   "doors" in the hero and the per-audience section labels.
   Scoped under .hm so nothing leaks into the studio or selfie screens.       */

/* The hero's two links are the whole point of this page: one door per
   audience, side by side, equal weight in size. The photographer door is the
   dark one because photographers are the customers we sell to; the visitor
   door is the white one because visitors mostly arrive by QR, not from here. */
.hm-doors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
}
.hm-door {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.6vw, 28px);
  background: var(--ds-surface, #fff);
  border: 1px solid var(--ds-line, #E6E4DD);
  border-radius: var(--ds-radius, 18px);
  box-shadow: var(--ds-shadow-sm, 0 1px 3px rgba(10, 24, 40, 0.06));
  color: var(--ds-ink, #0A1828);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease,
              background 0.15s ease;
}
.hm-door:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md, 0 4px 12px rgba(10, 24, 40, 0.08));
  border-color: var(--ds-line-2, #D9D6CC);
  color: var(--ds-ink, #0A1828);
  text-decoration: none;
}
.hm-door:active { transform: translateY(0); }
.hm-door:focus-visible { outline: 3px solid var(--ds-accent, #0DCAF0); outline-offset: 3px; }

.hm-door-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ds-accent-soft, #E5F8FD);
  color: var(--ds-accent-ink, #003848);
  margin-bottom: 4px;
}
.hm-door-kicker {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ds-mute, #6B7785);
}
.hm-door-title {
  font-size: clamp(1.15rem, 2.2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.hm-door-text {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ds-mute, #6B7785);
}
.hm-door-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ds-accent-ink, #003848);
}
.hm-door-cta::after {
  content: "\2192";
  transition: transform 0.15s ease;
}
.hm-door-down .hm-door-cta::after { content: "\2193"; }
.hm-door:hover .hm-door-cta::after { transform: translateX(3px); }
.hm-door-down:hover .hm-door-cta::after { transform: translateY(2px); }

/* the photographer door */
.hm-door-pro {
  background: var(--ds-ink, #0A1828);
  border-color: var(--ds-ink, #0A1828);
  color: #fff;
}
.hm-door-pro:hover { background: #16263a; border-color: #16263a; color: #fff; }
.hm-door-pro .hm-door-icon { background: rgba(255, 255, 255, 0.1); color: #6BE2F5; }
.hm-door-pro .hm-door-kicker { color: rgba(255, 255, 255, 0.6); }
.hm-door-pro .hm-door-text { color: rgba(255, 255, 255, 0.74); }
.hm-door-pro .hm-door-cta { color: #6BE2F5; }

/* ------------------------ per-audience section label --------------------- */
/* Each section below the hero belongs to one of the two doors; this label is
   what tells you which one you landed in after the anchor jump.             */
.hm-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ds-accent-ink, #003848);
  margin: 0 0 14px;
}
.hm-tag::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.45;
  flex: none;
}

.hm-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}
/* a block that continues the one above it, without a section's worth of air */
.hm-stack { margin-top: 12px; }

.hm-cta-note {
  font-size: 0.88rem !important;
  color: var(--ds-mute, #6B7785);
  margin: 0;
}

/* The anchor jump lands on the section's own label, not flush to the edge. */
.hm section[id] { scroll-margin-top: 20px; }

@media (prefers-reduced-motion: no-preference) {
  html:has(.hm) { scroll-behavior: smooth; }
}

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 900px) {
  .hm-doors { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hm-cta-row .fg-btn { width: 100%; }
}
