/* ==========================================================================
   SysClinic.app — Estilos principales
   Paleta alineada con el portal paciente (violeta médico + índigo)
   ========================================================================== */

:root {
  /* Marca — coherente con portal paciente */
  --sc-primary: #6D4AFF;
  --sc-primary-hover: #5B3CE6;
  --sc-primary-pressed: #4C32D4;
  --sc-primary-soft: #F3EFFF;
  --sc-primary-soft-2: #EDE7FF;
  --sc-primary-ring: rgba(109, 74, 255, 0.28);

  --sc-ink: #1A2B56;
  --sc-ink-2: #334155;
  --sc-muted: #64748B;
  --sc-muted-2: #94A3B8;

  --sc-bg: #F8FAFC;
  --sc-bg-warm: #FFF7FA;
  --sc-bg-lavender: #F9F5FF;
  --sc-surface: #FFFFFF;
  --sc-border: #E8ECF4;
  --sc-border-strong: #D5DCEC;

  --sc-success: #48BB78;
  --sc-success-soft: #E8F8EF;
  --sc-info: #4299E1;
  --sc-info-soft: #EBF5FF;
  --sc-warning: #F56565;
  --sc-warning-soft: #FEECEC;
  --sc-pending: #F6AD55;
  --sc-pending-soft: #FFF6EB;

  --sc-whatsapp: #25D366;
  --sc-whatsapp-hover: #1EBE57;

  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26, 43, 86, 0.05);
  --shadow-md: 0 8px 24px rgba(26, 43, 86, 0.07);
  --shadow-lg: 0 20px 48px rgba(26, 43, 86, 0.10);

  --header-h: 68px;
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--sc-ink-2);
  background: var(--sc-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* Imágenes de producto / ilustraciones: nunca estirar */
.sc-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

a {
  color: var(--sc-primary);
  text-decoration: none;
}

a:hover {
  color: var(--sc-primary-hover);
}

button,
input,
select,
textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  color: var(--sc-ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--sc-primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sc-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 720px);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--sc-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--sc-ink);
  font-weight: 700;
  min-width: 0;
  flex-shrink: 1;
}

.brand:hover { color: var(--sc-ink); }

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.brand-logo-footer {
  height: 32px;
  max-width: 190px;
}

.brand-mark-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
}

.brand-tld {
  color: var(--sc-primary);
  font-weight: 600;
}

.nav-desktop .nav-list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-desktop a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--sc-ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-xs);
}

.nav-desktop a:hover {
  color: var(--sc-primary);
  background: var(--sc-primary-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--sc-border);
  border-radius: var(--radius-xs);
  background: var(--sc-surface);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sc-ink);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--sc-border);
  background: var(--sc-surface);
  padding: 0.85rem 1rem 1.35rem;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile[hidden] { display: none !important; }

.nav-mobile-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.nav-mobile-list a {
  display: block;
  padding: 0.85rem 0.5rem;
  color: var(--sc-ink);
  font-weight: 500;
  border-radius: var(--radius-xs);
}

.nav-mobile-list .btn {
  margin-top: 0.35rem;
  text-align: center;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--sc-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(109, 74, 255, 0.25);
}

.btn-primary:hover {
  background: var(--sc-primary-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--sc-surface);
  color: var(--sc-ink);
  border-color: var(--sc-border-strong);
}

.btn-secondary:hover {
  border-color: var(--sc-primary);
  color: var(--sc-primary);
  background: var(--sc-primary-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--sc-ink-2);
}

.btn-ghost:hover {
  color: var(--sc-primary);
  background: var(--sc-primary-soft);
}

.btn-lg {
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
}

.btn-sm {
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* ========== Sections ========== */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-intro p,
.hero-support,
.hero-lead {
  color: var(--sc-muted);
  font-size: 1.0625rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: var(--sc-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.statement {
  color: var(--sc-ink);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.25rem 0;
}

.statement.center {
  text-align: center;
}

.section-footnote {
  margin-top: 2rem;
  color: var(--sc-muted);
  text-align: center;
}

.section-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-soft {
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
}

.badge-soon {
  background: var(--sc-bg);
  color: var(--sc-muted);
  border: 1px solid var(--sc-border);
}

/* ========== Hero ========== */
.hero {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(109, 74, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 15%, rgba(255, 180, 200, 0.10), transparent 50%),
    var(--sc-bg);
}

.hero-wrap {
  width: min(100% - 2rem, 1200px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
  padding-right: 0.5rem;
}

.hero-copy .eyebrow {
  margin-bottom: 1rem;
}

.hero-copy h1,
.hero-title {
  margin-bottom: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--sc-muted);
  font-weight: 450;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.15rem;
}

.hero-micro {
  color: var(--sc-muted-2);
  font-size: 0.9rem;
  margin: 0;
  letter-spacing: 0.01em;
}

.trust-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--sc-border);
  justify-content: flex-start;
}

.trust-tags li {
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--sc-border);
  border-radius: var(--radius-pill);
  color: var(--sc-ink-2);
  font-size: 0.84rem;
  font-weight: 500;
}

.hero-stage {
  position: relative;
  display: grid;
  gap: 1rem;
}

.hero-visual {
  display: block;
  align-content: start;
  padding-bottom: 0.5rem;
}

/* ========== Composiciones visuales ========== */
.visual-compose {
  position: relative;
  isolation: isolate;
}

.compose-art {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #F9F5FF, #FFF7FA 55%, #F8FAFC);
  box-shadow: var(--shadow-md);
}

.compose-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.compose-art-soft {
  background: linear-gradient(160deg, #FFF8FB, #F9F5FF);
}

.compose-overlay {
  position: relative;
  z-index: 2;
  background: var(--sc-surface);
  border: 1px solid rgba(232, 236, 244, 0.95);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(26, 43, 86, 0.14);
}

/* Hero: mockup sobre la ilustración — más aire */
.visual-compose-hero {
  padding-bottom: 0;
}

.visual-compose-hero .compose-art {
  aspect-ratio: 16 / 11;
  border-radius: 28px;
}

.visual-compose-hero .compose-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-compose-hero .compose-overlay-bottom {
  margin: -16% 6% 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(26, 43, 86, 0.16);
  width: auto;
  max-width: none;
}

.visual-compose-hero .app-shell {
  border: 0;
  border-radius: 16px;
  box-shadow: none;
  min-height: 0;
  width: 100%;
}

/* Compacto: en móvil/tablet una columna; sidebar solo en desktop */
.visual-compose-hero .app-shell-compact {
  grid-template-columns: 1fr;
}

.visual-compose-hero .app-shell-compact .app-main {
  padding: 0.85rem 0.95rem 1rem;
  width: 100%;
  min-width: 0;
}

.visual-compose-hero .app-shell-compact .app-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.visual-compose-hero .app-shell-compact .app-stat {
  padding: 0.55rem 0.5rem;
  min-width: 0;
}

.visual-compose-hero .app-shell-compact .app-stat-label {
  font-size: 0.62rem;
  line-height: 1.25;
}

.visual-compose-hero .app-shell-compact .app-stat strong {
  font-size: 1.05rem;
}

.visual-compose-hero .app-shell-compact .app-panels {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.visual-compose-hero .app-shell-compact .app-panel {
  padding: 0.75rem;
  min-width: 0;
  width: 100%;
}

.visual-compose-hero .app-shell-compact .app-nav span {
  padding: 0.45rem 0.55rem;
  font-size: 0.72rem;
}

@media (min-width: 921px) {
  .visual-compose-hero .app-shell-compact {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .visual-compose-hero .app-shell-compact .app-panels {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

/* Documentos: card flotante sobre ilustración */
.visual-compose-docs .compose-art {
  aspect-ratio: 4 / 3;
}

.visual-compose-docs .compose-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-compose-docs .compose-overlay-br {
  margin: -38% 5% 0 18%;
  padding: 1rem 1.05rem;
}

.visual-compose-docs .docs-list {
  max-height: 220px;
  overflow: hidden;
}

/* Prenatal: timeline sobre ilustración */
.visual-compose-prenatal .compose-art {
  aspect-ratio: 4 / 3;
}

.visual-compose-prenatal .compose-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-compose-prenatal .compose-overlay-br {
  margin: -42% 4% 0 22%;
  padding: 1rem 1.05rem;
}

.timeline-compact .timeline-item {
  padding: 0.45rem 0;
}

.timeline-compact .timeline-item strong {
  font-size: 0.88rem;
}

.timeline-compact .timeline-item small {
  font-size: 0.75rem;
}

/* Agenda: ilustración de fondo + shell encima */
.visual-compose-agenda {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(135deg, #F9F5FF, #FFFFFF);
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.visual-compose-agenda .compose-art-side {
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  min-height: 360px;
}

.visual-compose-agenda .compose-art-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-compose-agenda .compose-overlay-main {
  position: relative;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.visual-compose-agenda .agenda-shell {
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

/* Equipos: texto + arte fundidos */
.teams-compose {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(120deg, #FFFFFF 0%, #F9F5FF 48%, #FFF7FA 100%);
  border: 1px solid #E8DEFF;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.teams-copy {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teams-art {
  min-height: 280px;
  position: relative;
}

.teams-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.roles-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Designed blend */
.designed-blend {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #E8DEFF;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.designed-art {
  min-height: 320px;
  background: #F9F5FF;
}

.designed-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.designed-blend .designed-panel {
  border: 0;
  border-radius: 0;
  margin: 0;
  max-width: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Specialty panel: imagen integrada arriba */
.specialty-visual {
  margin: 0;
  border-radius: 0;
  border: 0;
  aspect-ratio: 16 / 10;
  background: #fff;
  overflow: hidden;
  display: block;
}

.specialty-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.specialty-body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.hero-art {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--sc-border);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--sc-bg-lavender), #FFF5F8);
  object-fit: contain;
}

.hero-mock-wrap {
  margin: 0;
  position: relative;
  z-index: 2;
}

.hero-mock-wrap .app-shell {
  box-shadow: var(--shadow-lg);
}

/* Media / ilustraciones */
.media-frame {
  margin: 0;
  background: linear-gradient(160deg, #F9F5FF 0%, #FFFFFF 55%, #FFF7FA 100%);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
}

.media-frame-hero {
  aspect-ratio: 16 / 9;
}

.media-frame .sc-img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-card {
  margin: 0;
  background: linear-gradient(160deg, #F9F5FF 0%, #FFFFFF 60%, #FFF7FA 100%);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
}

.media-card img,
.media-card .sc-img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: center;
}

.media-card-soft {
  background: linear-gradient(160deg, #FFF8FB, #F9F5FF);
  border-color: #E8DEFF;
  box-shadow: var(--shadow-sm);
}

.media-card-compact {
  max-width: 420px;
  margin-left: auto;
}

.media-card-compact img {
  object-fit: contain;
}

.media-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  background: var(--sc-bg);
  border-top: 1px solid var(--sc-border);
  font-size: 0.88rem;
  color: var(--sc-muted);
  width: 100%;
}

.media-caption-arrow {
  color: var(--sc-primary);
  font-weight: 700;
}

.media-caption strong {
  color: var(--sc-ink);
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
  margin-bottom: 0.85rem;
}

.module-icon svg {
  width: 22px;
  height: 22px;
}

.specialty-visual {
  margin: 0 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(109, 74, 255, 0.12);
  background: #fff;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

.specialty-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.docs-visual {
  position: relative;
  display: grid;
  gap: 1rem;
}

.docs-visual > .media-card {
  aspect-ratio: 4 / 3;
}

.docs-visual > .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.docs-card-float {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.agenda-head-grid,
.teams-layout,
.designed-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  margin-bottom: 2rem;
}

.agenda-head-grid .media-card,
.teams-layout .media-card,
.designed-split .media-card {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.agenda-head-grid .media-card img,
.teams-layout .media-card img,
.designed-split .media-card img,
.problem-grid .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.problem-grid .media-card {
  aspect-ratio: 16 / 9;
  align-self: stretch;
}

.media-card-captioned {
  aspect-ratio: auto !important;
  display: flex;
  flex-direction: column;
  place-items: stretch;
}

.media-card-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, #F9F5FF 0%, #FFFFFF 60%);
}

.media-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.prenatal-grid .media-card {
  aspect-ratio: 4 / 3;
}

.prenatal-grid .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.designed-split .designed-panel {
  background: linear-gradient(135deg, var(--sc-bg-lavender), #FFF5F8 55%, #FFFFFF);
  border: 1px solid #E8DEFF;
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: left;
  max-width: none;
  margin: 0;
}

/* ========== App mockup ========== */
.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  width: 100%;
}

@media (min-width: 921px) {
  .app-shell {
    grid-template-columns: 148px minmax(0, 1fr);
  }

  .app-shell .app-sidebar {
    display: block;
  }
}

.app-sidebar {
  display: none;
  background: linear-gradient(180deg, #FAF8FF 0%, #F4F0FF 100%);
  border-right: 1px solid var(--sc-border);
  padding: 1rem 0.75rem;
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sc-ink);
  padding: 0.35rem 0.5rem 1rem;
}

.app-sidebar-brand img {
  border-radius: 5px;
}

.app-nav {
  display: grid;
  gap: 0.2rem;
}

.app-nav span {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--sc-muted);
  font-weight: 500;
}

.app-nav .is-active {
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--sc-primary);
}

.app-main {
  padding: 1rem 1.1rem 1.2rem;
  background: #FBFCFE;
  min-width: 0;
  width: 100%;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.app-kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sc-muted);
  font-weight: 600;
}

.app-date {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sc-ink);
}

.app-user {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--sc-ink-2);
  font-weight: 500;
}

.app-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sc-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

@media (min-width: 921px) {
  .app-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.app-stat {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  padding: 0.7rem 0.65rem;
  min-width: 0;
}

.app-stat-label {
  display: block;
  font-size: 0.68rem;
  color: var(--sc-muted);
  margin-bottom: 0.2rem;
}

.app-stat strong {
  font-size: 1.15rem;
  color: var(--sc-ink);
}

.app-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
}

@media (min-width: 921px) {
  .app-panels {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.app-panel {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  padding: 0.9rem;
  min-width: 0;
  width: 100%;
}

.app-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.app-panel h3 {
  margin: 0.15rem 0 0;
  font-size: 1rem;
}

.app-dl {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
}

.app-dl div {
  display: grid;
  gap: 0.1rem;
}

.app-dl dt {
  font-size: 0.7rem;
  color: var(--sc-muted);
}

.app-dl dd {
  margin: 0;
  font-size: 0.82rem;
  color: var(--sc-ink);
  font-weight: 500;
}

.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.app-chips span {
  font-size: 0.68rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--sc-bg-lavender);
  color: var(--sc-primary);
  font-weight: 600;
}

.app-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.app-list li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 0.5rem;
  align-items: start;
}

.app-list strong {
  display: block;
  font-size: 0.78rem;
  color: var(--sc-ink);
}

.app-list small {
  color: var(--sc-muted);
  font-size: 0.7rem;
}

.status-label {
  font-size: 0.65rem;
  color: var(--sc-muted);
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.35rem;
  display: inline-block;
}

.status-confirmed { background: var(--sc-primary); }
.status-pending { background: var(--sc-pending); }
.status-done { background: var(--sc-success); }
.status-cancelled { background: var(--sc-warning); }

/* ========== Problem ========== */
.section-problem {
  background: var(--sc-surface);
  border-block: 1px solid var(--sc-border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.problem-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.problem-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--sc-ink-2);
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sc-warning);
  opacity: 0.85;
}

.before-after {
  background: var(--sc-bg);
  border: 1px solid var(--sc-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.ba-label {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sc-muted);
  font-weight: 700;
}

.ba-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ba-chips span {
  padding: 0.35rem 0.65rem;
  background: var(--sc-surface);
  border: 1px dashed var(--sc-border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--sc-muted);
}

.ba-arrow {
  color: var(--sc-primary);
  display: flex;
  justify-content: center;
}

.ba-after {
  background: linear-gradient(135deg, var(--sc-primary-soft), #FFF0F7);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  border: 1px solid #E8DEFF;
}

.ba-product {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sc-ink);
}

.ba-note {
  margin: 0.25rem 0 0;
  color: var(--sc-primary);
  font-weight: 600;
}

/* ========== Connected flow ========== */
.flow-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.flow-step {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.flow-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.flow-label {
  font-weight: 600;
  color: var(--sc-ink);
  font-size: 0.95rem;
}

/* ========== Modules ========== */
.modules-grid,
.ai-grid,
.security-grid,
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.module-card,
.ai-card,
.security-card,
.role-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  min-width: 0;
}

.module-card:hover,
.ai-card:hover,
.security-card:hover,
.role-card:hover,
.compliance-card:hover {
  border-color: #D7CBFF;
  box-shadow: var(--shadow-md);
}

.module-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.module-card h3,
.ai-card h3,
.security-card h3,
.role-card h3 {
  margin-bottom: 0;
}

.module-card p,
.ai-card p,
.security-card p,
.role-card p,
.compliance-card p {
  margin: 0;
  color: var(--sc-muted);
  font-size: 0.95rem;
}

/* ========== Compliance / adecuación ========== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.compliance-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.25s var(--ease);
}

.compliance-card:hover {
  border-color: #D7CBFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.compliance-card h3 {
  margin-bottom: 0;
}

.compliance-note {
  margin-top: 1.5rem;
  color: var(--sc-muted);
  font-size: 0.92rem;
  max-width: 820px;
}

.compliance-note a {
  color: var(--sc-primary);
  font-weight: 600;
}

.section-compliance .section-cta-inline {
  margin-top: 2rem;
}

/* ========== Gynecology ========== */
.gyn-grid,
.prenatal-grid,
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.specialty-panel {
  background: linear-gradient(160deg, var(--sc-bg-lavender), #FFF5F8);
  border: 1px solid #E8DEFF;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.specialty-panel-title {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--sc-ink);
}

.specialty-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.specialty-list li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(109, 74, 255, 0.12);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 560;
  color: var(--sc-ink);
}

.specialty-note {
  margin: 1rem 0 0;
  color: var(--sc-muted);
  font-size: 0.9rem;
}

/* ========== Prenatal mock ========== */
.section-prenatal {
  background: var(--sc-surface);
  border-block: 1px solid var(--sc-border);
}

.prenatal-card,
.docs-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.prenatal-card {
  background: linear-gradient(180deg, #FFF8FB 0%, #FFFFFF 42%);
}

.prenatal-head,
.docs-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.prenatal-head h3,
.docs-head h3 {
  margin: 0.15rem 0 0;
}

.trimester-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.trimester-bar span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sc-muted);
  padding: 0.45rem 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--sc-bg);
  border: 1px solid var(--sc-border);
}

.trimester-bar .is-done {
  background: var(--sc-success-soft);
  color: #276749;
  border-color: transparent;
}

.trimester-bar .is-current {
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
  border-color: transparent;
}

.timeline {
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 1.55rem;
  bottom: -0.15rem;
  width: 2px;
  background: #E4D9FF;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--sc-primary);
  border: 3px solid #EDE7FF;
  z-index: 1;
}

.timeline-item.is-next .timeline-dot {
  background: var(--sc-info);
  border-color: var(--sc-info-soft);
  box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15);
}

.timeline-item strong {
  display: block;
  color: var(--sc-ink);
  font-size: 0.95rem;
}

.timeline-item small {
  color: var(--sc-muted);
  font-size: 0.82rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--sc-ink-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--sc-success-soft);
  box-shadow: inset 0 0 0 4px var(--sc-success);
}

/* ========== Documents ========== */
.docs-path {
  margin: 0 0 0.9rem;
  color: var(--sc-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.docs-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.docs-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  background: var(--sc-bg);
}

.docs-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
}

.docs-list strong {
  display: block;
  font-size: 0.9rem;
  color: var(--sc-ink);
}

.docs-list small {
  color: var(--sc-muted);
  font-size: 0.78rem;
}

/* ========== Agenda ========== */
.agenda-shell {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.agenda-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.agenda-toolbar-copy {
  min-width: 0;
}

.agenda-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sc-primary);
}

.agenda-toolbar strong {
  display: block;
  color: var(--sc-ink);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.agenda-toolbar-copy > span {
  color: var(--sc-muted);
  font-size: 0.9rem;
}

.agenda-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.28rem;
  background: var(--sc-bg);
  border: 1px solid var(--sc-border);
  border-radius: 999px;
}

.agenda-filters button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--sc-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: default;
  line-height: 1;
}

.agenda-filters button.is-active {
  background: #fff;
  color: var(--sc-primary);
  box-shadow: var(--shadow-sm);
}

.agenda-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin-bottom: 1.15rem;
  padding: 0.75rem 0.9rem;
  background: var(--sc-bg);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--sc-muted);
}

.agenda-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.agenda-legend .dot {
  margin: 0;
  width: 8px;
  height: 8px;
}

.agenda-list-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 0.85rem;
  padding: 0 0.85rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sc-muted-2);
}

.agenda-rows {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.agenda-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 0.95rem;
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.agenda-row:hover {
  border-color: #D7CBFF;
  box-shadow: 0 8px 20px rgba(26, 43, 86, 0.05);
}

.agenda-row time {
  font-weight: 700;
  color: var(--sc-ink);
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
}

.agenda-patient {
  min-width: 0;
}

.agenda-patient strong,
.agenda-row strong {
  display: block;
  color: var(--sc-ink);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agenda-patient small,
.agenda-row small {
  color: var(--sc-muted);
  font-size: 0.8rem;
}

.agenda-doctor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--sc-ink-2);
  font-size: 0.88rem;
  font-weight: 500;
}

.agenda-doctor > span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agenda-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.status-pill {
  justify-self: end;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.agenda-row.status-confirmed .status-pill {
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
}

.agenda-row.status-pending .status-pill {
  background: var(--sc-pending-soft);
  color: #C05621;
}

.agenda-row.status-done .status-pill {
  background: var(--sc-success-soft);
  color: #276749;
}

.agenda-row.status-cancelled .status-pill {
  background: var(--sc-warning-soft);
  color: #C53030;
}

.agenda-row.status-cancelled {
  opacity: 0.78;
}

.agenda-row.status-cancelled time,
.agenda-row.status-cancelled .agenda-patient strong {
  text-decoration: line-through;
  text-decoration-color: rgba(26, 43, 86, 0.35);
}

@media (max-width: 920px) {
  .agenda-list-head {
    display: none;
  }

  .agenda-row {
    grid-template-columns: 64px 1fr auto;
    gap: 0.65rem 0.75rem;
  }

  .agenda-doctor {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .agenda-row time {
    grid-row: 1 / 3;
    align-self: center;
  }
}

@media (max-width: 640px) {
  .agenda-row {
    grid-template-columns: 1fr auto;
  }

  .agenda-row time {
    grid-row: auto;
    grid-column: 1;
  }

  .agenda-patient {
    grid-column: 1;
  }

  .agenda-doctor {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .status-pill {
    grid-column: 2;
    grid-row: 1;
  }
}

/* ========== Scale ========== */
.scale-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.scale-track li {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  padding: 1.1rem;
  text-align: center;
}

.scale-index {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sc-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.scale-track strong {
  color: var(--sc-ink);
}

/* ========== Designed panel ========== */
.designed-panel {
  background: linear-gradient(135deg, var(--sc-bg-lavender), #FFF5F8 55%, #FFFFFF);
  border: 1px solid #E8DEFF;
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.designed-panel .section-intro,
.designed-panel p {
  margin-inline: auto;
}

.designed-split .designed-panel p {
  margin-inline: 0;
}

/* ========== Pricing ========== */
.pricing-billing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  margin: 0 auto 1.75rem;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.section-pricing .section-intro + .pricing-billing,
.pricing-billing {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

.pricing-billing-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--sc-muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.pricing-billing-btn.is-active {
  background: var(--sc-primary);
  color: #fff;
}

.pricing-billing-save {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.pricing-billing-btn:not(.is-active) .pricing-billing-save {
  background: var(--sc-primary-soft);
  color: var(--sc-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 1.4rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.price-card.is-featured {
  border-color: var(--sc-primary);
  box-shadow: 0 16px 40px rgba(109, 74, 255, 0.16);
  transform: translateY(-4px);
}

.price-badge {
  position: absolute;
  top: -0.7rem;
  left: 1rem;
  background: var(--sc-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.price-desc {
  margin: 0;
  color: var(--sc-muted);
  font-size: 0.92rem;
}

.price-amount {
  margin: 0.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.35rem;
}

.price-value {
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 700;
  color: var(--sc-ink);
  letter-spacing: -0.03em;
}

.price-period {
  color: var(--sc-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.price-tax {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--sc-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.price-annual-hint {
  margin: -0.35rem 0 0;
  color: var(--sc-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.price-features {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 0.25rem 0 1rem;
  flex: 1;
}

.price-features li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--sc-ink-2);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sc-primary);
}

.pricing-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--sc-muted);
  font-size: 0.92rem;
}

/* ========== FAQ ========== */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--sc-ink);
  position: relative;
  padding-right: 2.5rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sc-primary);
  font-size: 1.25rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 1.15rem 1.1rem;
}

.faq-answer p {
  margin: 0;
  color: var(--sc-muted);
}

/* ========== CTA final ========== */
.section-cta {
  padding-top: 0;
}

.cta-panel {
  background: linear-gradient(135deg, #5B3CE6 0%, #6D4AFF 45%, #8B6BFF 100%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
  box-shadow: 0 24px 48px rgba(109, 74, 255, 0.28);
}

.cta-panel h2 {
  color: #fff;
  max-width: 720px;
  margin-inline: auto;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.cta-panel .btn-primary {
  background: #fff;
  color: var(--sc-primary);
  box-shadow: none;
}

.cta-panel .btn-primary:hover {
  background: #F3EFFF;
  color: var(--sc-primary-hover);
}

.cta-panel .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.cta-panel .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.cta-panel .hero-cta {
  justify-content: center;
}

/* ========== Footer ========== */
.site-footer {
  background: #121A2F;
  color: #C5CEE0;
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.brand-footer .brand-name,
.brand-footer .brand-text {
  color: #fff;
}

.brand-footer .brand-tld {
  color: #C4B5FD;
}

.footer-desc {
  margin: 1rem 0 0.5rem;
  max-width: 280px;
  color: #A8B3C9;
  font-size: 0.95rem;
}

.footer-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C4B5FD;
  font-weight: 600;
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #7E8BA6;
}

.footer-title {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-title-spaced {
  margin-top: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  color: #A8B3C9;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #7E8BA6;
  line-height: 1.55;
  max-width: 52rem;
}

/* ========== WhatsApp FAB ========== */
.whatsapp-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sc-whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.whatsapp-fab:hover {
  background: var(--sc-whatsapp-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* ========== Pages / forms ========== */
.page-hero {
  padding: 3rem 0 1rem;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(109, 74, 255, 0.08), transparent 50%),
    var(--sc-bg);
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.legal-content li {
  color: var(--sc-ink-2);
}

.legal-crumbs a {
  color: var(--sc-muted);
}

.legal-crumbs a:hover {
  color: var(--sc-primary);
}

.lead-form,
.contact-aside {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sc-ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--sc-border-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--sc-ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sc-primary);
  box-shadow: 0 0 0 4px var(--sc-primary-ring);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--sc-warning);
}

.form-field .field-error {
  color: #C53030;
  font-size: 0.82rem;
}

.form-note,
.form-alt,
.contact-note {
  color: var(--sc-muted);
  font-size: 0.9rem;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}

.form-feedback.is-success {
  background: var(--sc-success-soft);
  color: #276749;
}

.form-feedback.is-error {
  background: var(--sc-warning-soft);
  color: #C53030;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-aside h2 {
  font-size: 1.1rem;
}

.contact-channels {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

.contact-channels strong {
  display: block;
  color: var(--sc-ink);
  margin-bottom: 0.2rem;
}

/* ========== Blog placeholder ========== */
.blog-empty {
  background: var(--sc-surface);
  border: 1px dashed var(--sc-border-strong);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  color: var(--sc-muted);
}

/* ========== Reveal + motion ========== */
@keyframes sc-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes sc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sc-pulse-soft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.55; }
}

@keyframes sc-cursor-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.reveal-stagger.is-visible > * {
  opacity: 0;
  animation: sc-fade-up 0.55s var(--ease) forwards;
}

.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(7) { animation-delay: 0.47s; }
.reveal-stagger.is-visible > *:nth-child(8) { animation-delay: 0.54s; }

/* Hero title typewriter */
.hero-title {
  min-height: 3.1em;
  display: flex;
  align-items: flex-start;
}

.hero-rotator {
  display: block;
  width: 100%;
}

.hero-rotator-text {
  white-space: pre-wrap;
}

.hero-rotator-cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: currentColor;
  border-radius: 1px;
  animation: sc-cursor-blink 1s steps(1, end) infinite;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sc-primary);
  animation: sc-pulse-soft 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-visual.is-visible .visual-compose-hero {
  animation: sc-float 7s ease-in-out infinite;
}

.hero-visual.is-visible .compose-overlay-bottom {
  animation: sc-fade-up 0.7s var(--ease) 0.25s both;
}

.module-card,
.ai-card,
.security-card,
.role-card,
.price-card {
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.module-card:hover,
.ai-card:hover,
.security-card:hover,
.role-card:hover {
  transform: translateY(-3px);
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.is-featured:hover {
  transform: translateY(-8px);
}

.flow-step,
.scale-track li {
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.flow-step:hover,
.scale-track li:hover {
  transform: translateY(-3px);
  border-color: #D7CBFF;
  box-shadow: var(--shadow-sm);
}

.btn {
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(109, 74, 255, 0.32);
}

.trust-tags li {
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.trust-tags li:hover {
  border-color: #D7CBFF;
  color: var(--sc-primary);
  background: var(--sc-primary-soft);
  transform: translateY(-2px);
}

.faq-item {
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item[open] {
  border-color: #D7CBFF;
  box-shadow: var(--shadow-sm);
}

.whatsapp-fab {
  animation: sc-float 4.5s ease-in-out infinite;
}

.section-intro .eyebrow,
.hero-copy .eyebrow {
  animation: sc-fade-up 0.6s var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-stagger.is-visible > * {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none !important;
  }
  .hero-rotator-cursor,
  .eyebrow-dot,
  .hero-visual.is-visible .visual-compose-hero,
  .hero-visual.is-visible .compose-overlay-bottom,
  .whatsapp-fab,
  .btn:hover,
  .module-card:hover,
  .ai-card:hover,
  .security-card:hover,
  .role-card:hover,
  .compliance-card:hover,
  .price-card:hover,
  .price-card.is-featured:hover {
    animation: none !important;
    transform: none !important;
  }
  .btn,
  .whatsapp-fab {
    transition: none;
  }
  .hero-title {
    min-height: 0;
  }
  .hero-rotator-cursor {
    display: none;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .modules-grid,
  .ai-grid,
  .security-grid,
  .compliance-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .roles-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-compose-agenda {
    grid-template-columns: 1fr;
  }

  .visual-compose-agenda .compose-art-side {
    min-height: 220px;
    max-height: 260px;
  }

  .teams-compose,
  .designed-blend {
    grid-template-columns: 1fr;
  }

  .teams-art,
  .designed-art {
    min-height: 240px;
    max-height: 300px;
  }

  .flow-track,
  .scale-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .price-card.is-featured {
    transform: none;
  }
}

/* Tablets y nav: menú hamburguesa antes de que se apriete el header */
@media (max-width: 1024px) {
  .nav-desktop,
  .hide-mobile {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-open .nav-mobile,
  .nav-mobile:not([hidden]) {
    display: block;
  }

  .site-header.is-open {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--sc-border);
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .problem-grid,
  .gyn-grid,
  .prenatal-grid,
  .docs-grid,
  .contact-layout,
  .agenda-head-grid,
  .teams-layout,
  .designed-split,
  .teams-compose,
  .designed-blend,
  .visual-compose-agenda {
    grid-template-columns: 1fr;
  }

  .visual-compose-hero .compose-overlay-bottom {
    margin: 0.85rem 0 0;
    width: 100%;
  }

  .visual-compose-docs .compose-overlay-br,
  .visual-compose-prenatal .compose-overlay-br {
    margin: 0.85rem 0 0;
    width: 100%;
  }

  .visual-compose-hero .compose-art,
  .visual-compose-docs .compose-art,
  .visual-compose-prenatal .compose-art {
    aspect-ratio: 16 / 10;
  }

  .hero-mock-wrap {
    margin: 0;
  }

  .media-card-compact {
    max-width: none;
    margin-left: 0;
  }

  .media-frame-hero,
  .problem-grid .media-card,
  .agenda-head-grid .media-card,
  .teams-layout .media-card,
  .designed-split .media-card,
  .docs-visual > .media-card,
  .prenatal-grid .media-card {
    aspect-ratio: auto;
  }

  .specialty-visual {
    aspect-ratio: 16 / 10;
  }

  .media-frame-hero img,
  .problem-grid .media-card img,
  .agenda-head-grid .media-card img,
  .teams-layout .media-card img,
  .designed-split .media-card img,
  .docs-visual > .media-card img,
  .prenatal-grid .media-card img {
    height: auto;
    object-fit: contain;
  }

  .compose-art img {
    height: 100%;
    object-fit: cover;
  }

  .app-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-shell:not(.app-shell-compact) .app-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-topbar {
    gap: 0.75rem;
    align-items: flex-start;
  }

  .app-chips {
    gap: 0.3rem;
  }

  .app-chips span {
    font-size: 0.65rem;
  }

  .app-shell {
    min-height: 0;
  }

  .section {
    padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  }

  .page-hero {
    padding: 2.25rem 0 0.75rem;
  }

  .hero {
    padding-top: clamp(2.25rem, 5vw, 3.5rem);
  }

  .pricing-billing {
    width: 100%;
    max-width: 28rem;
    justify-content: stretch;
  }

  .pricing-billing-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 0.6rem 0.75rem;
  }

  .header-actions .btn-primary {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  body {
    font-size: 1rem;
  }

  .container,
  .hero-wrap {
    width: min(100% - 1.5rem, var(--container));
  }

  .container.narrow {
    width: min(100% - 1.5rem, 720px);
  }

  .modules-grid,
  .ai-grid,
  .security-grid,
  .compliance-grid,
  .roles-grid,
  .roles-grid-5,
  .pricing-grid,
  .form-grid,
  .specialty-list,
  .footer-grid,
  .flow-track,
  .scale-track {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .hero-title {
    min-height: 2.8em;
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
  }

  .hero-tags {
    margin-top: 1.5rem;
  }

  .trust-tags li {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  .visual-compose-hero .compose-overlay-bottom,
  .visual-compose-docs .compose-overlay-br,
  .visual-compose-prenatal .compose-overlay-br {
    margin: 0.75rem 0 0;
    width: 100%;
  }

  .visual-compose-hero .compose-art,
  .visual-compose-docs .compose-art,
  .visual-compose-prenatal .compose-art {
    aspect-ratio: 16 / 11;
    border-radius: 20px;
  }

  .compose-overlay {
    border-radius: 14px;
  }

  .visual-compose-hero .app-shell-compact .app-main {
    padding: 0.75rem 0.8rem 0.9rem;
  }

  .visual-compose-hero .app-shell-compact .app-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .visual-compose-hero .app-shell-compact .app-stat {
    padding: 0.45rem 0.4rem;
  }

  .visual-compose-hero .app-shell-compact .app-date {
    font-size: 0.82rem;
  }

  .visual-compose-hero .app-shell-compact .app-user span:last-child {
    display: none;
  }

  .app-list li {
    font-size: 0.8rem;
  }

  .hero-cta,
  .section-cta-inline,
  .cta-panel .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn,
  .section-cta-inline .btn,
  .cta-panel .hero-cta .btn {
    width: 100%;
    white-space: normal;
  }

  .btn {
    white-space: normal;
  }

  .header-actions .btn-primary {
    font-size: 0.8rem;
    padding-inline: 0.65rem;
    min-height: 38px;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .price-card {
    padding: 1.25rem 1.1rem 1.15rem;
  }

  .pricing-billing {
    flex-direction: column;
    border-radius: 18px;
    max-width: none;
  }

  .pricing-billing-btn {
    width: 100%;
    border-radius: 14px;
  }

  .pricing-billing-save {
    white-space: nowrap;
  }

  .price-features li {
    font-size: 0.9rem;
  }

  .module-card-top {
    flex-wrap: wrap;
  }

  .app-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .visual-compose-hero .app-shell-compact .app-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-stat {
    padding: 0.6rem 0.55rem;
  }

  .app-stat strong {
    font-size: 1.05rem;
  }

  .lead-form,
  .contact-aside {
    padding: 1.15rem;
    border-radius: 16px;
  }

  .legal-content h2 {
    font-size: 1.15rem;
    margin-top: 1.6rem;
  }

  .faq-item summary {
    padding-right: 2rem;
  }

  .site-footer {
    padding: 2.75rem 0 1.25rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .whatsapp-fab {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  /* Espacio para que el FAB no tape CTAs inferiores */
  main {
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 400px) {
  .header-actions .btn-primary {
    display: none;
  }

  .app-shell:not(.app-shell-compact) .app-stats {
    grid-template-columns: 1fr;
  }

  .hero-micro {
    font-size: 0.82rem;
  }
}
