/* =========================================================================
   Page-specific styles: /free-crm-for-photographers
   Loads after css/studiofolio-seo.css. Only rules unique to this page, or
   small overrides of a shared default, live here.
   ========================================================================= */

/* This page predates the .section-heading.center opt-in convention used by
   the newer CRM/galleries pages — every heading on this page is centered by
   default, so it fully restates the block rather than composing with
   .center (see studiofolio-seo.css section 8 for the shared default). */
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-heading h2 { font-size: 44px; letter-spacing: -.9px; line-height: 1.1; }
.section-heading p { color: var(--text-muted); font-size: 15.5px; margin: 15px auto 0; max-width: 620px; line-height: 1.6; }
.section-heading.light h2 { color: #fff; }
.section-heading.light p { color: var(--ink-soft); }
.section-heading .kicker { justify-content: center; }

/* Section rhythm and FAQ/final-CTA type sizes on this page differ slightly
   from the shared defaults. */
section { padding: 84px 0; }
.faq-grid h2 { font-size: 38px; }
.final-cta h2 { font-size: 46px; }
.final-cta p { max-width: 590px; }

/* ---- Hero ---- */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); align-items: center; gap: 56px; }
.hero h1 { font-size: 54px; line-height: 1.06; letter-spacing: -1.5px; max-width: 620px; }
.hero p.lede { max-width: 530px; color: var(--text-muted); font-size: 17px; margin: 22px 0 28px; }

/* The hero's secondary CTA points down at #features, so its arrow rests
   rotated 90°; translateX still composes correctly in the rotated local
   axis, nudging it further down on hover/focus. */
.btn-outline .arrow { transform: rotate(90deg); }
.btn-outline:hover .arrow, .btn-outline:focus-visible .arrow { transform: rotate(90deg) translateX(3px); }

/* ---- Product mockup (hero visual) ---- */
.mockup-stage { position: relative; aspect-ratio: 1.15; }
.mockup-window { position: absolute; inset: 32px 48px 28px 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 48px rgba(61,51,36,.12); overflow: hidden; display: flex; flex-direction: column; }
.mockup-titlebar { height: 34px; flex: none; background: var(--bg-alt); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 13px; gap: 5px; }
.mockup-dot { width: 7px; height: 7px; border-radius: 50%; }
.mockup-titlebar .url { margin: 0 auto; font-size: 8px; color: var(--text-muted); }
.mockup-body { flex: 1; display: flex; min-height: 0; }
.mockup-side { width: 72px; flex: none; background: #F7F3EC; padding: 13px 10px 8px; display: flex; flex-direction: column; }
.mockup-side .mini-brand { display: flex; align-items: center; gap: 4px; font-size: 7px; font-weight: 800; margin-bottom: 10px; }
.mockup-side .mini-brand svg { width: 10px; height: 10px; stroke-width: 1.8; }
.side-nav-label { font-size: 5px; font-weight: 800; letter-spacing: .5px; color: var(--text-muted); opacity: .75; margin: 7px 0 3px 5px; }
.side-item { display: flex; align-items: center; gap: 4px; padding: 3.5px 5px; border-radius: 4px; margin-bottom: 1.5px; font-size: 5.6px; font-weight: 500; color: var(--text-muted); white-space: nowrap; overflow: hidden; }
.side-item span { overflow: hidden; text-overflow: ellipsis; }
.side-item svg { width: 8px; height: 8px; stroke-width: 1.8; flex: none; }
.side-item.active { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--text); font-weight: 700; }
.side-item.active svg { color: #7D6238; }
.mockup-main { flex: 1; min-width: 0; padding: 15px 16px 13px; display: flex; flex-direction: column; }
.mockup-main .greeting { font-size: 14px; font-weight: 700; }
.mockup-main .subgreeting { font-size: 7.5px; color: var(--text-muted); margin-top: 2px; }
.mockup-top-row { display: flex; align-items: flex-start; gap: 8px; }
.mockup-newproj { padding: 6px 9px; border-radius: 7px; background: var(--gold); font-size: 7px; font-weight: 700; white-space: nowrap; }
.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.mockup-stat { border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
.mockup-stat .lbl { font-size: 5.5px; font-weight: 700; letter-spacing: .4px; color: var(--text-muted); }
.mockup-stat .val { font-size: 11px; font-weight: 800; margin-top: 3px; }
.mockup-stat .chg { font-size: 5.5px; color: var(--text-muted); }
.mockup-recent-lbl { font-size: 9px; font-weight: 700; margin-top: 12px; margin-bottom: 7px; }
.mockup-rows { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; }
.mockup-row { display: flex; align-items: center; gap: 7px; background: var(--bg-alt); border-radius: 7px; padding: 5px; flex: 1; }
.mockup-row .thumb { width: 30px; height: 30px; border-radius: 5px; background-size: 300% 200%; background-repeat: no-repeat; flex: none; align-self: center; }
.mockup-row .info { flex: 1; min-width: 0; }
.mockup-row .title { font-size: 7.3px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-row .meta { font-size: 5.7px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-row .status { font-size: 5.5px; font-weight: 700; padding: 3px 6px; border-radius: 99px; flex: none; }

.mockup-phone { position: absolute; right: 0; bottom: 0; width: 142px; height: 278px; background: var(--ink); border-radius: 25px; padding: 5px; box-shadow: 0 14px 26px rgba(0,0,0,.22); }
.mockup-phone-screen { background: #fff; border-radius: 20px; height: 100%; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.mockup-phone-bar { width: 34px; height: 4px; border-radius: 99px; background: var(--ink); margin-top: 8px; flex: none; }
.mockup-phone-title { width: 100%; display: flex; align-items: center; padding: 12px 10px 7px; gap: 6px; }
.mockup-phone-title span { flex: 1; font-family: 'Playfair Display', serif; font-size: 10px; font-weight: 700; }
.mockup-phone-title svg { width: 11px; height: 11px; stroke-width: 1.8; }
.mockup-phone-grid { flex: 1; width: 100%; padding: 0 6px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.mockup-phone-grid .cell { border-radius: 3px; background-size: 300% 200%; background-repeat: no-repeat; }
.mockup-phone-cta { margin: 7px; background: var(--ink); color: #fff; border-radius: 7px; padding: 7px; text-align: center; font-size: 6.5px; font-weight: 700; }

.floating-badge { position: absolute; display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 8px 12px 8px 8px; box-shadow: 0 8px 20px rgba(64,54,38,.13); }
.floating-badge .icon-ring { width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.floating-badge .icon-ring svg { width: 13px; height: 13px; stroke-width: 2; }
.floating-badge .label { font-size: 8px; font-weight: 800; }
.floating-badge .detail { font-size: 6.5px; color: var(--text-muted); }
.floating-badge.top-right { top: 0; right: 8px; }
.floating-badge.bottom-left { left: 28px; bottom: 0; }

/* ---- Proof-style strips ("the actual free plan") ---- */
.proof-band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof { padding: 26px 24px; border-right: 1px solid var(--border); text-align: center; }
.proof:last-child { border-right: 0; }
.proof b { display: block; font-size: 10px; letter-spacing: .12em; margin-bottom: 6px; color: #8A6B3B; font-weight: 800; }
.proof span { color: var(--text); font-size: 12.5px; font-weight: 600; }

/* ---- Feature rows ---- */
.feature-row { display: grid; grid-template-columns: 9fr 11fr; gap: 72px; align-items: center; }
.feature-row.reversed { grid-template-columns: 11fr 9fr; }
.feature-row.reversed .feature-copy { order: 2; }
.feature-row.reversed .feature-visual { order: 1; }
.feature-row + .feature-row { margin-top: 86px; }
.feature-copy h3 { font-size: 34px; line-height: 1.14; letter-spacing: -.6px; margin: 17px 0; }
.feature-copy p { color: var(--text-muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 22px; }
.feature-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.feature-check svg { width: 18px; height: 18px; color: var(--sage); stroke-width: 1.8; flex: none; }

/* This page's screenshot frames need a fixed height and a sand-toned variant
   on top of the shared .ui-panel base (border, radius, shadow, background). */
.ui-panel { height: 390px; }
.ui-panel.on-sand { background: var(--bg-alt); }

/* Gallery visual */
.gallery-visual { display: flex; flex-direction: column; }
.gallery-hero, .gallery-thumbs .t { position: relative; overflow: hidden; }
.gallery-hero::before, .gallery-thumbs .t::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 100%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background-image: var(--bg); background-size: 300% 200%; background-position: var(--pos);
  transition: transform var(--dur-base) var(--ease-standard);
}
.gallery-hero { flex: 5; }
.gallery-hero .caption { position: absolute; left: 24px; bottom: 22px; color: #fff; z-index: 1; }
.gallery-hero .caption b { display: block; font-size: 9px; letter-spacing: 1.5px; font-weight: 800; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.gallery-hero .caption strong { display: block; font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; margin-top: 5px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.gallery-thumbs { flex: 3; display: flex; gap: 6px; padding: 12px; }
.gallery-thumbs .t { flex: 1; border-radius: 6px; }
.gallery-thumbs .t .heart { position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; color: #fff; z-index: 1; }
.gallery-footer { display: flex; align-items: center; gap: 6px; padding: 0 16px 12px; font-size: 10px; }
.gallery-footer svg { width: 15px; height: 15px; color: #AA6C6C; flex: none; }
.gallery-footer .fav { font-weight: 700; flex: 1; }
.gallery-footer .share { color: var(--text-muted); }

/* Subtle hover zoom on this page's one real "gallery" mockup — respects
   prefers-reduced-motion natively via the media query (no JS involved). */
@media (prefers-reduced-motion: no-preference) {
  .gallery-hero:hover::before, .gallery-thumbs .t:hover::before { transform: translate(-50%, -50%) scale(1.06); }
}

/* Calendar visual */
.calendar-visual { padding: 22px; display: flex; flex-direction: column; }
.calendar-visual .head { display: flex; align-items: center; font-size: 16px; font-weight: 800; }
.calendar-visual .head svg { width: 18px; height: 18px; margin-left: 4px; }
.calendar-days { flex: 1; display: flex; margin-top: 18px; }
.calendar-day { flex: 1; border-left: 1px solid var(--border); padding: 0 3px; text-align: center; }
.calendar-day .dlabel { font-size: 8px; font-weight: 800; color: var(--text-muted); }
.calendar-day .dlabel.active { color: var(--gold-deep); }
.calendar-event { margin-top: 14px; border-radius: 7px; padding: 7px; text-align: left; }
.calendar-event .time { font-size: 6.5px; color: var(--text-muted); }
.calendar-event .title { font-size: 7.5px; font-weight: 700; margin-top: 3px; line-height: 1.2; }
.calendar-suggest { display: flex; align-items: center; gap: 9px; background: var(--bg-alt); border-radius: 10px; padding: 12px; font-size: 10px; font-weight: 700; }
.calendar-suggest svg { width: 17px; height: 17px; color: var(--gold-deep); flex: none; }
.calendar-suggest .arrow { margin-left: auto; width: 14px; height: 14px; flex: none; }

/* Finance visual */
.finance-visual { position: relative; padding: 24px 20px; }
.invoice-card { position: absolute; left: 20px; top: 24px; bottom: 24px; width: 250px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.invoice-card .top { display: flex; align-items: center; }
.invoice-card .top .apt { width: 24px; height: 24px; border-radius: 7px; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.invoice-card .top .apt svg { width: 13px; height: 13px; }
.invoice-card .top .lbl { margin-left: auto; font-size: 9px; letter-spacing: 1.4px; font-weight: 800; color: var(--text-muted); }
.invoice-card .who { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; margin-top: 20px; }
.invoice-card .what { font-size: 9px; color: var(--text-muted); }
.invoice-card hr { border: none; border-top: 1px solid var(--border); margin: 16px 0 8px; }
.invoice-line { display: flex; font-size: 9px; padding: 5px 0; }
.invoice-line .l { color: var(--text-muted); flex: 1; }
.invoice-line .v { font-weight: 700; }
.invoice-card .spacer { flex: 1; }
.invoice-total { display: flex; align-items: baseline; }
.invoice-total .l { font-weight: 700; flex: 1; }
.invoice-total .v { font-size: 17px; font-weight: 800; }
.contract-card { position: absolute; right: 20px; top: 48px; width: 235px; background: var(--ink); border-radius: 14px; padding: 18px; box-shadow: 0 12px 22px rgba(0,0,0,.26); }
.contract-card .row { display: flex; align-items: center; gap: 8px; }
.contract-card .row svg { width: 19px; height: 19px; color: var(--gold); flex: none; }
.contract-card .row span { font-size: 11px; font-weight: 700; color: #fff; }
.contract-card .agreement { font-size: 8px; letter-spacing: 1.3px; color: #BEB7AD; margin-top: 18px; }
.contract-card .signed { font-family: 'Playfair Display', serif; font-size: 18px; color: #fff; margin-top: 7px; }
.contract-card .sig { font-family: 'Playfair Display', serif; font-style: italic; font-size: 20px; color: var(--gold); margin-top: 18px; }
.contract-card .stamp { font-size: 8px; color: #BEB7AD; margin-top: 5px; }
.paid-chip { position: absolute; right: 38px; bottom: 24px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; }
.paid-chip svg { width: 16px; height: 16px; color: var(--sage); }

/* Storage visual */
.storage-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.storage-visual .cloud-ring { width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 20px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: center; }
.storage-visual .cloud-ring svg { width: 31px; height: 31px; color: var(--sage); stroke-width: 1.6; }
.storage-visual h3 { font-size: 20px; margin-top: 14px; }
.storage-visual .note { font-size: 10px; color: var(--text-muted); margin-top: 5px; }
.storage-cards { display: flex; gap: 10px; margin-top: 28px; width: 100%; }
.storage-card { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.storage-card svg { width: 22px; height: 22px; margin: 0 auto; display: block; }
.storage-card .name { font-size: 8px; font-weight: 700; margin-top: 8px; }
.storage-card .status { font-size: 7px; margin-top: 3px; }
.storage-lock { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 12px; font-size: 9px; font-weight: 600; color: var(--text-muted); }
.storage-lock svg { width: 13px; height: 13px; }

/* ---- Value / storage-choice section ---- */
.value-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.value-copy h2 { font-size: 44px; line-height: 1.1; letter-spacing: -1px; }
.value-copy p.body { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; margin: 22px 0 25px; }

/* ---- Supporting tools/who grids ---- */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 34px; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 34px; }
.tool { border-top: 1px solid #D9CFBF; padding-top: 20px; }
.tool-icon { display: block; width: 25px; height: 25px; color: var(--gold-deep); margin-bottom: 18px; }
.tool-icon svg { width: 100%; height: 100%; stroke-width: 1.6; }
.tool h3 { font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 8px; }
.tool p { color: var(--text-muted); font-size: 13.5px; margin: 0; line-height: 1.6; }

/* ---- Workflow strip ---- */
.workflow { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: 44px; }
.workflow-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 140px; position: relative; padding: 0 4px; }
.workflow-num { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--gold); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 16px; flex: none; }
.workflow-step h4 { font-size: 13px; font-weight: 700; margin: 12px 0 4px; }
.workflow-step p { font-size: 11.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.workflow-line { flex: none; width: 32px; height: 1px; background: var(--border); align-self: flex-start; margin-top: 20px; }

/* ---- What's the catch: limits ---- */
.limits-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 36px 0 52px; }
.limit-chip { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 12px 20px; font-size: 13px; font-weight: 600; }
.limit-chip svg { width: 17px; height: 17px; color: var(--gold-deep); flex: none; }

/* ---- Pricing ---- */
.pricing-microcopy { text-align: center; font-size: 11.5px; color: var(--ink-soft); margin: 24px 0 38px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; max-width: 780px; margin: 0 auto; }
.price-card { border-radius: 15px; padding: 24px; border: 1px solid var(--ink-panel-border); background: var(--ink-panel); }
.price-card.highlight { background: #F8F3E9; border-color: var(--gold); }
.price-card .tier-name-row { display: flex; align-items: center; }
.price-card .tier-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; }
.price-card.highlight .tier-name { color: var(--ink); }
.pill { margin-left: auto; font-size: 7px; font-weight: 800; letter-spacing: .7px; background: var(--gold); color: var(--ink); padding: 5px 9px; border-radius: 999px; }
.price-card .tagline { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 9px; }
.price-card.highlight .tagline { color: var(--text-muted); }
.price-card .price-row { display: flex; align-items: baseline; margin-top: 22px; }
.price-card .price { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: #fff; }
.price-card.highlight .price { color: var(--ink); }
.price-card .cadence { color: var(--ink-soft); font-size: 10px; margin-left: 7px; }
.price-card.highlight .cadence { color: var(--text-muted); }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 0; }
.price-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; padding: 5px 0; color: #fff; }
.price-card.highlight li { color: var(--ink); }
.price-card li svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 1px; }
.price-card.highlight li svg { color: var(--sage); }
.price-card .btn { width: 100%; margin-top: 24px; }

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 980px) {
  .hero-grid, .value-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reversed { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reversed .feature-copy, .feature-row.reversed .feature-visual { order: initial; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
  .mockup-stage { margin-top: 52px; aspect-ratio: .98; }
  .section-heading h2 { font-size: 32px; }
  .value-copy h2 { font-size: 32px; }
  .final-cta h2 { font-size: 32px; }
  .price-card .btn { padding: 13px; font-size: 13px; }
  .tools, .who-grid { grid-template-columns: 1fr; gap: 0; }
  .tool { padding: 20px 0; }
  .workflow { justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; }
  .workflow-line { display: none; }
}
@media (max-width: 640px) {
  .proof { border-right: 0; border-bottom: 1px solid var(--border); }
  .proof:nth-child(2n) { border-right: 0; }
  .proof:nth-last-child(-n+1), .proof:nth-last-child(-n+2) { border-bottom: 0; }
  .limits-row { flex-direction: column; align-items: stretch; }
}
