/* ── SOMARI Design System ── */
:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --header-h: 72px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.container.narrow { width: min(680px, 92vw); }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.badge-dark { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border-radius: 4px;
}

.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(168px, 42vw);
  object-fit: contain;
}

.logo-footer .logo-icon {
  background: #fff;
  padding: 0.15rem;
  border-radius: 8px;
}

.logo-footer .logo-text {
  color: #fff;
}

.logo-footer .logo-text small {
  color: rgba(255, 255, 255, 0.55);
}

.logo-footer .logo-img {
  height: 58px;
  max-width: 180px;
  background: #fff;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.logo-text small {
  font-weight: 500;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:not(.btn):hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 1.25rem 0 2rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
}
.hero-stats span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-micro-cta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: -1.5rem 0 1.5rem;
}

/* Sales pitch strip */
.pitch-strip {
  background: var(--primary-dark);
  color: #fff;
  padding: 2.5rem 0;
}
.pitch-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.pitch-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.pitch-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.pitch-item p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.45;
}

.sales-mid-cta {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.sales-mid-cta a {
  color: var(--primary);
  font-weight: 600;
}

.sales-proof-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.sales-proof-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.sales-proof-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
.sales-proof-list li:last-child { border-bottom: none; }
.sales-proof-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Dashboard Mockup */
.hero-visual { position: relative; }

.dashboard-mockup {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}
.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-bar span:first-child { background: #fca5a5; }
.mockup-bar span:nth-child(2) { background: #fcd34d; }
.mockup-bar span:nth-child(3) { background: #86efac; }

.mockup-body { display: flex; min-height: 280px; }

.mockup-sidebar {
  width: 56px;
  background: var(--bg-subtle);
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup-nav-item {
  height: 32px;
  border-radius: 8px;
  background: var(--border);
}
.mockup-nav-item.active { background: var(--primary); }

.mockup-main { flex: 1; padding: 16px; }

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.mockup-card {
  padding: 10px;
  border-radius: 8px;
  background: var(--bg-subtle);
}
.mockup-card small { font-size: 0.6rem; color: var(--text-muted); display: block; }
.mockup-card strong { font-size: 0.85rem; }
.mockup-card.accent-blue { border-left: 3px solid var(--primary); }
.mockup-card.accent-green { border-left: 3px solid var(--success); }
.mockup-card.accent-gold { border-left: 3px solid var(--accent); }

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  padding: 8px;
  background: var(--bg-subtle);
  border-radius: 8px;
}
.chart-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  animation: float 4s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 0.85rem; }
.floating-card small { color: var(--text-muted); }
.card-1 { bottom: 20%; left: -8%; animation-delay: 0s; }
.card-2 { top: 15%; right: -5%; animation-delay: 2s; }

.fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.fc-icon.green { background: #d1fae5; }
.fc-icon.blue { background: #dbeafe; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header p { color: var(--text-muted); margin-top: 0.5rem; font-size: 1.1rem; }
.section-header .link-arrow {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}
.section-header .link-arrow:hover { text-decoration: underline; }

/* Overview */
.overview { background: var(--bg-subtle); }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.overview-item {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.overview-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.overview-icon { font-size: 2rem; margin-bottom: 1rem; }
.overview-item h3 { margin-bottom: 0.4rem; }
.overview-item p { font-size: 0.9rem; color: var(--text-muted); }

/* Features Preview */
.features-preview { background: var(--primary-dark); color: #fff; }
.features-preview .section-header h2 { color: #fff; }
.features-preview .section-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.feature-card.featured { grid-row: span 2; }
.feature-card h3 { margin: 1rem 0 0.5rem; color: #fff; }
.feature-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

.feature-card-visual {
  height: 120px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.feature-card.featured .feature-card-visual { height: 200px; }

.mini-list { width: 100%; }
.mini-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.green { background: var(--success); }
.dot.yellow { background: var(--warning); }
.dot.red { background: var(--danger); }

.attendance-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

.report-sheet {
  width: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 10px;
  position: relative;
}
.report-line { height: 4px; background: rgba(255,255,255,0.3); border-radius: 2px; margin-bottom: 6px; }
.report-line.wide { width: 70%; }
.report-grade {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.sms-bubble {
  background: var(--whatsapp);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 12px 12px 12px 4px;
  font-size: 0.75rem;
  max-width: 200px;
}

/* Why SOMARI */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-list { margin: 2rem 0; }
.why-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.why-check {
  width: 28px;
  height: 28px;
  background: #d1fae5;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.why-list strong { display: block; }
.why-list span { font-size: 0.9rem; color: var(--text-muted); }

.map-card {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  color: #fff;
  text-align: center;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.map-dots { position: absolute; inset: 0; }
.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
}
.map-dot.pulse {
  width: 16px;
  height: 16px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.map-card p { position: relative; font-size: 0.95rem; opacity: 0.9; }

/* Testimonials */
.testimonials { background: var(--bg-subtle); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-card p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.testimonial-card strong { display: block; font-size: 0.9rem; }
.testimonial-card span { font-size: 0.8rem; color: var(--text-light); }

/* CTA Banner */
.cta-banner { padding: 3rem 0 5rem; }

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-box h2 { margin-bottom: 0.5rem; position: relative; }
.cta-box > p { opacity: 0.9; margin-bottom: 2rem; position: relative; }
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
}
.cta-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.7;
  position: relative;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 1rem auto 1.5rem;
  max-width: 500px;
}

/* ── Forms ── */
.form-section { padding-top: 0; padding-bottom: 5rem; }

.demo-form, .success-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1rem; }

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--bg);
  color: var(--text);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 0.25rem; display: block; }
.form-note { text-align: center; margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.form-note a { color: var(--primary); font-weight: 600; }

.success-card { text-align: center; padding: 3rem 2rem; }
.success-icon {
  width: 64px;
  height: 64px;
  background: #d1fae5;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}
.success-card h2 { margin-bottom: 0.5rem; }
.success-card p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Features Full Page ── */
.features-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature-full-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.feature-full-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-emoji { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.feature-full-card p { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.4rem; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pricing-card h3 { margin-bottom: 0.5rem; }
.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
}
.price .currency { font-size: 1rem; font-weight: 600; vertical-align: super; }
.price .period { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.pricing-card > p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-card ul { margin-bottom: 1.5rem; }
.pricing-card li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
}
.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.pricing-note { margin-top: 2rem; color: var(--text-muted); font-size: 0.9rem; }
.pricing-note a { color: var(--primary); font-weight: 600; }
.center { text-align: center; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  font-family: var(--font);
  color: inherit;
  cursor: pointer;
}
button.contact-card { appearance: none; }
.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.contact-card.whatsapp:hover { border-color: var(--whatsapp); }
.contact-card.highlight {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: var(--primary-light);
}
.contact-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.contact-card h3 { margin-bottom: 0.25rem; }
.contact-card p { font-size: 0.9rem; color: var(--text-muted); }
.contact-action {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* Live chat widget */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
}
.chat-launcher {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  position: relative;
}
.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--danger);
  color: #fff;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-launcher-badge[hidden] {
  display: none !important;
}
.chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: min(360px, calc(100vw - 32px));
  height: 480px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-widget.open .chat-panel { display: flex; }
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.chat-header strong { display: block; font-size: 0.95rem; }
.chat-header small { opacity: 0.85; font-size: 0.75rem; }
.chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.chat-bubble p { margin: 0; }
.chat-bubble-name {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  opacity: 0.9;
  letter-spacing: 0.01em;
}
.chat-bubble-visitor .chat-bubble-name {
  color: rgba(255, 255, 255, 0.92);
}
.chat-bubble-staff .chat-bubble-name,
.chat-bubble-bot .chat-bubble-name {
  color: var(--primary, #1d4ed8);
}
.chat-bubble small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  opacity: 0.65;
}
.chat-bubble-visitor {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble-staff,
.chat-bubble-bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-bubble-bot { background: #eff6ff; border-color: #bfdbfe; }
.chat-intake {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem 1.25rem;
  background: #fff;
}
.chat-intake-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.chat-intake-intro {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.chat-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.chat-field span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.chat-field span em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-muted);
}
.chat-field-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  background: #fff;
}
.chat-field-input:focus {
  outline: none;
  border-color: var(--primary);
}
.chat-intake-error {
  margin: 0;
  font-size: 0.8rem;
  color: var(--danger);
}
.chat-intake-submit {
  margin-top: 0.25rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.chat-intake-submit:hover { background: var(--primary-dark, #1e40af); }
.chat-intake-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.chat-compose {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.chat-end-session {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
}
.chat-end-session:hover { color: var(--danger); }
.chat-name-input {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.8rem;
}
.chat-input-row {
  display: flex;
  gap: 0.5rem;
}
.chat-input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.9rem;
}
.chat-input:focus {
  outline: none;
  border-color: var(--primary);
}
.chat-send-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-send-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary, #1d4ed8);
  flex-shrink: 0;
  background: #eff6ff;
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}
.chat-typing-indicator[hidden] { display: none !important; }
.chat-typing-label {
  font-style: italic;
  font-weight: 600;
}
.chat-typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.chat-typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary, #1d4ed8);
  opacity: 0.45;
  animation: chat-typing-bounce 1.2s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-typing-bounce {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.chat-whatsapp-link {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--whatsapp-dark);
  font-weight: 600;
  text-align: center;
}
.chat-error {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0;
}

.site-footer-simple {
  padding: 2.25rem 0 1.75rem;
}

.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-simple-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer-simple-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.footer-simple-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--transition);
}

.footer-simple-nav a:hover {
  color: #fff;
}

.footer-simple-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.88rem;
}

.footer-simple-contact a {
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
}

.footer-simple-contact a:hover {
  color: #fff;
}

.footer-contact-sep {
  color: rgba(255, 255, 255, 0.35);
}

.footer-simple-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand p { margin-top: 1rem; font-size: 0.9rem; opacity: 0.7; }
.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.5); }

.footer-links h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer-links a:hover { opacity: 1; }

.footer-cta h4 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ── Products ── */
.products-section { background: var(--bg-subtle); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card-blue { border-top: 4px solid var(--primary); }
.product-card-purple { border-top: 4px solid #7c3aed; }
.product-card-green { border-top: 4px solid var(--success); }

.product-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.product-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.product-card-tagline,
.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.product-card-highlights {
  flex: 1;
  margin-bottom: 1.5rem;
}
.product-card-highlights li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.product-card-highlights li span { flex-shrink: 0; }
.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-stack-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.product-stack-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}
.product-stack-card.product-blue { border-left: 4px solid var(--primary); }
.product-stack-card.product-purple { border-left: 4px solid #7c3aed; }
.product-stack-card.product-green { border-left: 4px solid var(--success); }
.product-stack-emoji { font-size: 1.75rem; }
.product-stack-card strong { display: block; font-size: 0.9rem; }
.product-stack-card small { color: var(--text-muted); font-size: 0.8rem; }
.product-stack-arrow {
  margin-left: auto;
  color: var(--primary);
  font-weight: 700;
}

.product-hero-blue { background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); }
.product-hero-purple { background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%); }
.product-hero-green { background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%); }

.testimonial-product {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(29, 78, 216, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.price-sm {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
}
.pricing-product-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.product-card-demo-mini {
  background: var(--bg-subtle);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}
.demo-cred-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
}
.demo-cred-row span {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.demo-cred-row strong {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
}
.demo-table-compact {
  font-size: 0.75rem;
}
.demo-table-compact th,
.demo-table-compact td {
  padding: 0.35rem 0.25rem;
}
.demo-table-compact code {
  font-size: 0.75rem;
}

/* Demo box */
.demo-section { padding-top: 0; }
.demo-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}
.demo-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.demo-box h3 { margin-bottom: 0.25rem; }
.demo-box-lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.demo-credentials {
  margin-bottom: 1.5rem;
}
.demo-box .btn { margin-top: 0; }
.demo-url-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}
.demo-url {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
  word-break: break-all;
  margin-bottom: 1.25rem;
}
.demo-cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.demo-cred-grid span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.demo-cred-grid strong {
  font-size: 0.95rem;
  font-family: ui-monospace, monospace;
}
.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.demo-table th,
.demo-table td {
  padding: 0.6rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.demo-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.demo-table code {
  font-size: 0.85rem;
  background: var(--bg-subtle);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.overview-grid-compact { margin-top: 1.5rem; }
.demo-features-side h2 { margin-bottom: 0.5rem; }
.demo-features-side > p { color: var(--text-muted); margin-bottom: 0; }

/* About */
.about-section { padding-top: 0; }
.about-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.about-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}
.about-block h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.about-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Features page */
.features-page { background: var(--bg-subtle); }
.features-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.feature-tile:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-tile-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}
.feature-tile h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.feature-tile p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Pricing simple */
.pricing-simple { background: var(--bg-subtle); }
.pricing-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.pricing-simple-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.pricing-simple-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.pricing-simple-card h3 { margin-bottom: 0.5rem; }
.pricing-simple-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.pricing-simple-note {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}
.addons-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}
.addons-box h3 { margin-bottom: 1rem; font-size: 1rem; }
.addons-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}
.addons-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.addons-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.pricing-whatsapp-cta {
  text-align: center;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}
.pricing-whatsapp-cta p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.pricing-whatsapp-cta .btn { margin: 0 0.35rem 0.5rem; }

/* Demo sales page */
.demo-sales-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 60%);
}
.demo-sales-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.demo-sales-intro h1 { margin: 0.5rem 0 1rem; }
.demo-sales-intro > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.demo-sales-perks {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.demo-sales-perks li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
}
.demo-sales-form-wrap .demo-form h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Contact map */
.contact-map-section { padding-top: 0; }
.contact-map-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map-info {
  padding: 2rem;
}
.contact-map-info h2 {
  font-size: 1.35rem;
  margin: 0.75rem 0;
}
.contact-map-info p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.contact-map {
  min-height: 320px;
  background: var(--bg-muted);
}
.contact-map iframe {
  display: block;
  min-height: 320px;
}

/* Blog / Resources */
.blog-section { background: var(--bg-subtle); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.blog-card-image-link {
  display: block;
  margin: -1.75rem -1.75rem 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.blog-post-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.blog-article-header .blog-post-image {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-article-header .blog-post-image img {
  height: 280px;
  border-radius: var(--radius-lg);
}
.blog-card time {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.blog-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.blog-card h2 a { color: var(--text); }
.blog-card h2 a:hover { color: var(--primary); }
.blog-card p {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}
.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}
.blog-empty { color: var(--text-muted); padding: 2rem 0; }

.blog-article-header {
  padding: calc(var(--header-h) + 2rem) 0 2rem;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}
.blog-back {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}
.blog-article-header time {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.blog-article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.blog-article-excerpt {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.blog-content {
  padding: 2.5rem 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}
.blog-content h2,
.blog-content h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
}
.blog-content p { margin-bottom: 1rem; }
.blog-content ul,
.blog-content ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--text-muted);
}
.blog-content li { margin-bottom: 0.35rem; }
.blog-content a { color: var(--primary); font-weight: 500; }
.blog-article-cta {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}
.blog-article-cta h3 { margin-bottom: 0.5rem; }
.blog-article-cta p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.blog-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Institutions */
.institutions-section {
  background: var(--bg-subtle);
  padding-bottom: 5rem;
}
.institutions-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3rem;
}
.institution-logo {
  flex: 0 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-height: 90px;
  transition: all var(--transition);
}
.institution-logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.institution-logo img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: all var(--transition);
}
.institution-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid,
  .why-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .floating-card { display: none; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-row: auto; }
  .features-full-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .features-page-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-simple-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .pitch-strip-grid { grid-template-columns: 1fr; }
  .demo-sales-grid { grid-template-columns: 1fr; }
  .contact-map-wrap { grid-template-columns: 1fr; }
  .demo-layout { grid-template-columns: 1fr; }
  .demo-box { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 0.85rem 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a.btn { margin-top: 0.75rem; }

  .hero-stats { gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .overview-grid { grid-template-columns: 1fr; }
  .features-full-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-page-grid { grid-template-columns: 1fr; }
  .addons-list { grid-template-columns: 1fr; }
  .mockup-cards { grid-template-columns: 1fr; }
}
