/*
 * marketing.css — per-section sheet for public marketing surfaces
 * (landing page, pricing, "qué incluye"). Issue 11 fills this in.
 *
 * Cascade (ADR-0005): tokens.css → ui.css load globally in the layout <head>;
 * this sheet loads AFTER them, so it may use any token and override ui.css
 * components for marketing-only treatments. A page opts in with:
 *
 *   <% content_for :head, stylesheet_link_tag("marketing", "data-turbo-track": "reload") %>
 *
 * Keep rules scoped to marketing layouts; never restyle shared ui.css
 * primitives here in a way that would leak into the app.
 */

/* ===== Homepage (issue 11) =============================================
   The public front door is one warm, mobile-first scroll: a centered hero
   built on the ui.css hero primitives (.section--hero, .eyebrow, .display,
   .lede, .btn--primary), a four-step "how it works", and a closing CTA.
   Everything below is page rhythm only; it composes ui.css, never restyles it. */

.home {
  padding-bottom: var(--space-20);
}

/* ----- Hero -----------------------------------------------------------
   Constrain the measure so the display headline + lede read as one tight,
   poster-like block under the papel-picado. .section--hero already centers. */
.home-hero {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.home-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.home-hero__reassure {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ----- Section header (centered eyebrow + title) ---------------------- */
.home-head {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  margin-bottom: var(--space-10);
  text-align: center;
}

.home-head__title {
  font-size: var(--text-2xl);
}

/* ----- How it works (steps) -------------------------------------------
   Mobile-first single column; the four beats sit side by side once there's
   room. An ordered list so the sequence is announced to assistive tech. */
.steps {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.step {
  text-align: center;
}

.step__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-pill);
  color: var(--color-primary-strong);
  background: color-mix(in srgb, var(--color-primary) 14%, var(--color-surface));
}

.step__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.step__title {
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  font-size: var(--text-lg);
  margin: 0 0 var(--space-2);
}

.step__body {
  margin: 0;
  color: var(--color-text-muted);
}

/* ----- Closing call to action -----------------------------------------
   Reuses the ui.css .callout; just constrain its width and center it. */
.home-cta {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

/* ----- For-studios band (the growth funnel) ---------------------------
   A quieter, sunk-paper band on the consumer landing that points the other
   audience (photographers and planners) at the dedicated studio page. A ghost
   button keeps it secondary to the consumer "crea tu álbum" CTA above it. */
.home-pro {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding: var(--space-10) var(--page-gutter);
  text-align: center;
  background: var(--color-surface-sunk);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.home-pro__title {
  font-size: var(--text-2xl);
}

.home-pro__lede {
  margin-block: var(--space-3) var(--space-6);
}

/* ===== Studio marketing page (the growth funnel) =======================
   The dedicated front door for the Studio product. Same warm, mobile-first
   scroll as the homepage, built on the ui.css hero primitives (.section--hero,
   .eyebrow, .display, .lede, .btn--primary) plus the shared .steps grid; the
   wrappers below are page rhythm only and compose ui.css, never restyle it.
   Kept separate from the .home-* wrappers so the two landings stay decoupled. */
.studio-landing {
  padding-bottom: var(--space-20);
}

.studio-landing__hero {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.studio-landing__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.studio-landing__reassure {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* The proofing differentiator: the headline reason a Studio signs up. A warm,
   accent-tinted band so "tus clientes eligen sus fotos" reads as the hero idea. */
.studio-proof {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding: var(--space-10) var(--page-gutter);
  text-align: center;
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
  border-radius: var(--radius-xl);
}

.studio-proof__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

/* Centered section header for the capabilities grid below the proofing band. */
.studio-landing__head {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  margin-bottom: var(--space-10);
  text-align: center;
}

.studio-landing__head-title {
  font-size: var(--text-2xl);
}

/* Closing CTA: reuses the ui.css .callout, just constrained and centered. */
.studio-landing__cta {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
