/* rolsum.com marketing site — shared stylesheet (home, /precios, /integraciones) */

:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --fg: #25303f;
  --muted: #5b6472;
  --accent: #25303f;
  --accent-fg: #ffffff;
  --border: #e2e5ea;

  --surface: #ffffff;
  --surface-hover: #eef0f3;
  --border-strong: #cfd4dc;
  --accent-soft: #eef1f5;
  --success: #1a7f4e;
  --warning: #9a6b00;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 12px 32px -12px rgba(37, 48, 63, 0.18);

  --container: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171c;
    --fg: #f2f4f7;
    --muted: #9aa3b1;
    --accent: #f2f4f7;
    --accent-fg: #14171c;
    --border: #2a2f38;

    --surface: #1b1f26;
    --surface-hover: #22272f;
    --border-strong: #3a4049;
    --accent-soft: #20242c;
    --success: #4fd08a;
    --warning: #e0b64d;
    --shadow-card: 0 12px 32px -12px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--muted { background: var(--surface); }

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-hover); }
.btn-ghost { background: transparent; color: var(--fg); padding: 8px 4px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--accent);
  color: var(--accent-fg);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.navbar.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 var(--border);
}
.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.navbar-logo { display: flex; align-items: center; }
.navbar-logo svg { width: 108px; height: auto; }
.navbar-logo svg text { fill: var(--fg); }
.navbar-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-menu a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg);
}
.navbar-menu a:hover { color: var(--muted); }
.navbar-actions { display: flex; align-items: center; gap: 18px; }
.navbar-login { text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.navbar-mobile-panel { display: none; }

@media (max-width: 860px) {
  .navbar-menu, .navbar-login { display: none; }
  .navbar-toggle { display: block; }
  .navbar-mobile-panel {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 20px;
    border-top: 1px solid var(--border);
  }
  .navbar-mobile-panel.is-open { display: flex; }
  .navbar-mobile-panel a {
    padding: 10px 4px;
    text-decoration: none;
    color: var(--fg);
    font-weight: 500;
  }
  body.nav-open .navbar-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .navbar-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .navbar-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 760px;
  margin: 0 auto 20px;
}
.hero p.lead {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.1rem;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 48px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

.hero-mockup {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  text-align: left;
}
.hero-mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.hero-mockup-head .greeting { color: var(--muted); font-size: 0.9rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hero-stat {
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 16px;
}
.hero-stat .num {
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- "Qué quieres gestionar" cards ---------- */
.task-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.task-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.task-card:hover { background: var(--surface-hover); }
.task-card.is-active { border-color: var(--fg); background: var(--accent-soft); }
.task-card .icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.task-card h3 { font-size: 1rem; margin-bottom: 6px; }
.task-card p { font-size: 0.88rem; color: var(--muted); }

.task-preview { margin-top: 28px; }
.task-panel-item { display: none; }
.task-panel-item.is-active { display: flex; }

@media (max-width: 860px) {
  .task-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Placeholder blocks (screenshots / logos / social proof) ---------- */
.screenshot-placeholder {
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.screenshot-placeholder--hero { aspect-ratio: 16 / 9; }
.screenshot-placeholder__label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.coming-soon {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.coming-soon .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--warning);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

/* ---------- Problem / flow diagram ---------- */
.flow-diagram {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 120px;
  opacity: 0.35;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.flow-step.is-active { opacity: 1; transform: translateY(0); }
.flow-step .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--border);
}
.flow-step.is-active .icon { border-color: var(--fg); }
.flow-step .label { font-size: 0.8rem; text-align: center; color: var(--muted); }
.flow-connector {
  width: 36px;
  height: 2px;
  background: var(--border-strong);
  position: relative;
  top: -20px;
  flex: 0 0 auto;
}
.flow-caption {
  text-align: center;
  margin-top: 20px;
  font-weight: 700;
  font-size: 1.05rem;
}
.flow-caption--negative { color: var(--warning); }
.flow-caption--positive { color: var(--success); }
.flow-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  background: var(--surface);
}
.flow-block + .flow-block { margin-top: 28px; }
@media (max-width: 720px) {
  .flow-diagram { flex-direction: column; }
  .flow-connector { display: none; }
}

/* ---------- Ticker (attendance animation) ---------- */
.ticker {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 220px;
}
.ticker-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(8px);
  animation: tickerIn 0.35s ease forwards;
}
@keyframes tickerIn {
  to { opacity: 1; transform: translateY(0); }
}
.ticker-row time { color: var(--muted); font-variant-numeric: tabular-nums; }
.ticker-row .status-ok { color: var(--success); font-weight: 600; }
.ticker-row .status-warn { color: var(--warning); font-weight: 600; }

/* ---------- Schedule builder animation ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  min-height: 180px;
}
.schedule-cell {
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.92);
  animation: cellPop 0.3s ease forwards;
}
@keyframes cellPop {
  to { opacity: 1; transform: scale(1); }
}
.schedule-day { font-weight: 700; align-self: center; }

/* ---------- CSV import demo ---------- */
.csv-demo {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  background: var(--surface);
}
.csv-demo .csv-icon { font-size: 2rem; margin-bottom: 10px; }
.csv-demo .csv-status { font-weight: 600; margin-top: 12px; min-height: 1.4em; }
.csv-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin-top: 14px;
  display: none;
}
.csv-progress.is-active { display: block; }
.csv-progress span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--fg);
  border-radius: 999px;
  animation: csvSlide 1.1s ease-in-out infinite;
}
@keyframes csvSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
.csv-demo .replay { margin-top: 16px; font-size: 0.85rem; }

/* ---------- Employee count comparison ---------- */
.count-selector {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.count-selector label {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.count-selector input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.count-selector input:checked + span,
.count-selector label:has(input:checked) {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.count-selector label { display: inline-flex; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
}
.compare-card.negative { background: var(--surface); }
.compare-card.positive { background: var(--accent-soft); border-color: var(--fg); }
.compare-card h4 { font-size: 0.95rem; margin-bottom: 12px; }
.compare-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--muted); font-size: 0.88rem; }
.compare-time { font-size: 1.9rem; font-weight: 800; }
.compare-time small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* ---------- Feature grid (6 pillars) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--surface);
}
.feature-card .icon { font-size: 1.6rem; margin-bottom: 12px; display: block; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Tabs (product screenshots) ---------- */
.tabs-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab-trigger {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--fg);
  font-family: inherit;
}
.tab-trigger.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tab-panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Industry cards ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--surface);
  text-align: center;
}
.industry-card.is-primary { border-color: var(--fg); background: var(--accent-soft); }
.industry-card .icon { font-size: 1.7rem; margin-bottom: 10px; }
.industry-card h3 { font-size: 1rem; margin-bottom: 6px; }
.industry-card p { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 860px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Integrations ---------- */
.integration-logos {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.integration-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  background: var(--surface);
  font-weight: 700;
  text-align: center;
}
.integration-chip small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* ---------- ROI calculator ---------- */
.roi-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.roi-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.roi-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.roi-field input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
  font-size: 0.95rem;
  font-family: inherit;
}
.roi-result {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--surface);
}
.roi-result .amount { font-size: 2.1rem; font-weight: 800; margin: 8px 0; }
.roi-disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 16px; }
@media (max-width: 720px) {
  .roi-calc { grid-template-columns: 1fr; }
}

/* ---------- Timeline (20 días) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.timeline-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  background: var(--surface);
  text-align: center;
}
.timeline-step .day { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.timeline-step p { font-size: 0.88rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.pricing-card.is-recommended {
  border-color: var(--fg);
  box-shadow: var(--shadow-card);
  position: relative;
}
.pricing-card .badge-star {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.pricing-card .plan-desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.pricing-card .price { font-size: 1.7rem; font-weight: 800; margin-bottom: 4px; }
.pricing-card .price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  flex: 1;
}
.pricing-card li::before { content: "✓ "; color: var(--success); font-weight: 700; }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ---------- Testimonial ---------- */
.testimonial {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--surface);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.testimonial blockquote {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 500;
}
.testimonial cite { font-style: normal; color: var(--muted); font-size: 0.88rem; }

/* ---------- Security grid ---------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.security-item { text-align: center; }
.security-item .icon { font-size: 1.6rem; margin-bottom: 8px; }
.security-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.security-item p { font-size: 0.83rem; color: var(--muted); }
@media (max-width: 860px) {
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform 0.2s ease; color: var(--muted); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item p { color: var(--muted); padding: 0 0 16px; font-size: 0.92rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
}
.final-cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 640px; margin: 0 auto 24px; }
.final-cta .btn-primary { background: var(--accent-fg); color: var(--accent); }
.final-cta .hero-trust { color: color-mix(in srgb, var(--accent-fg) 70%, transparent); margin-top: 20px; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.footer-grid svg { width: 100px; height: auto; margin-bottom: 12px; }
.footer-grid svg text { fill: var(--fg); }
.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--muted); }
.footer-bottom { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Simple page header (subpages) ---------- */
.page-hero { text-align: center; padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
