/* Segmentos — page-specific styles (shared layout/typography lives in site.css) */

/* Image-card styles (.sg-card, .sg-media, .sg-panel…) live in site.css: Capacidades uses them too */

/* Qualia testimonial card */
.sg-qval { font: 700 72px/72px var(--font-sans); letter-spacing: -2px; color: var(--foreground); }
@media (max-width: 639.98px) { .sg-qval { font-size: 56px; line-height: 56px; } }

/* How to start: steps */
.sg-step { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.sg-step-media { height: 168px; padding: 20px; border-radius: var(--radius-xl); background: var(--muted); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sg-step-txt { display: flex; flex-direction: column; gap: 6px; }
.sg-step-n { font: 500 13px/16px var(--font-sans); color: var(--muted-foreground); }
.sg-check { width: 16px; height: 16px; border-radius: 4px; background: var(--foreground); color: var(--background); display: inline-flex; align-items: center; justify-content: center; }
.sg-check svg { width: 11px; height: 11px; }
.hwB-arr { align-self: flex-start; margin-top: 70px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); display: inline-flex; align-items: center; justify-content: center; color: var(--foreground); flex-shrink: 0; }

@keyframes hwBnudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.hwB-arr svg { animation: hwBnudge 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hwB-arr svg { animation: none; } }
@media (max-width: 767.98px) { .hwB-row { flex-direction: column; } .hwB-arr { transform: rotate(90deg); margin: 0; align-self: center; } }

/* Two-column chapter layouts collapse on tablet */
@media (max-width: 1023.98px) {
  .sQ-two { grid-template-columns: 1fr !important; }
  .sF-head { grid-template-columns: 1fr !important; gap: 16px !important; }
  .sF-grid { grid-template-columns: 1fr !important; }
}

/* Qualia card: the brand image keeps the Home case-study proportion (4:3) and grows with the card */
.sQ-media { padding: 16px; min-width: 0; }
@media (max-width: 767.98px) { .sQ-media { padding: 0 16px 16px; } }

/* Intro phrase: a brand-gradient panel between the hero and the chapters, with its own eyebrow
   and bajada so it reads as the door into the three segments. */
.seg-intro > div:first-of-type { max-width: 1120px !important; padding: 64px clamp(24px, 5vw, 64px); }
.seg-intro-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: end; text-align: left; }
.seg-intro-head { display: flex; flex-direction: column; gap: 16px; }
.seg-intro-sub { margin: 0; }
@media (max-width: 899.98px) { .seg-intro-in { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

