:root {
  --bg: #ffffff;
  --bg-alt: #dff1f4;
  --surface: #ffffff;
  --surface-2: #fbfbff;
  --border: #ededf4;
  --text: #273437;
  --text-soft: #5f686d;
  --text-muted: #8c8c94;
  --brand: #ff4d6b;
  --brand-soft: #ffecee;
  --brand-strong: #e53e59;
  --secondary: #5477f8;
  --secondary-soft: #e8f1ff;
  --success: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --info: #0ea5e9;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .10);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 960px;
}

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

html, body { height: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

h1, h2, h3 { color: var(--text); letter-spacing: .01em; }
h1 { font-size: 1.85rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-soft); }

.muted { color: var(--text-muted); }
.subtitle { color: var(--text-soft); margin-bottom: 1.5rem; }

.container { max-width: var(--container); width: 100%; margin: 0 auto; padding: 2.25rem 1.25rem; flex: 1; }
.landing-container { max-width: 1180px; padding-top: 0; }
.container-sm { max-width: 540px; }
.container-lg { max-width: 1120px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.5rem;
  max-width: 1180px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: .65rem; }
.nav-anchor { color: var(--text-soft); font-size: .9rem; font-weight: 500; }
.nav-anchor:hover { color: var(--brand); }
.nav-user { font-size: .9rem; color: var(--text-soft); }
.nav-user .role { color: var(--text-muted); font-size: .8rem; }

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.1rem 1.5rem;
  color: var(--text-muted);
  font-size: .82rem;
}
.site-footer .inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--brand); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 1.5rem; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.card-title { font-size: 1.1rem; font-weight: 600; }
.card-desc { color: var(--text-muted); font-size: .85rem; margin-top: .15rem; }
.text-center { text-align: center; }

/* Apsho-style landing */
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4rem;
}
.landing-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 58%;
  height: 78%;
  background: #ffecee;
  border-bottom-left-radius: 58% 42%;
  z-index: -1;
}
.landing-hero::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: -2rem;
  width: 140px;
  height: 120px;
  background: #dff1f4;
  border-radius: 36% 64% 63% 37% / 42% 33% 67% 58%;
  z-index: -1;
}
.landing-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 3rem; align-items: center; }
.landing-kicker {
  display: inline-block;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  margin-bottom: .75rem;
}
.landing-hero h1 { font-size: 3rem; line-height: 1.18; max-width: 620px; margin-bottom: 1.25rem; }
.landing-hero .lead { font-size: 1.05rem; line-height: 2; max-width: 600px; margin-bottom: 1.75rem; }
.landing-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  border: 2px solid var(--text);
  color: var(--text);
  border-radius: 10px;
  padding: .85rem 1.15rem;
  font-weight: 700;
  min-width: 180px;
  transition: .2s ease;
}
.platform-btn small { display: block; color: var(--text-muted); font-size: .72rem; font-weight: 400; line-height: 1; margin-bottom: .2rem; }
.platform-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 77, 107, .25); }
.platform-btn:hover small { color: #fff; }
.mockup-wrap { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.mockup-wrap::before,
.mockup-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.mockup-wrap::before { width: 190px; height: 190px; background: #dff1f4; left: 0; bottom: 3rem; }
.mockup-wrap::after { width: 110px; height: 110px; background: #fff7d8; right: .5rem; top: 3rem; }
.phone-mockup {
  width: 300px;
  background: #fff;
  border: 12px solid #273437;
  border-radius: 38px;
  box-shadow: 0 35px 70px rgba(39, 52, 55, .16);
  padding: 1rem;
}
.phone-top { width: 72px; height: 5px; border-radius: 999px; background: #d9dce0; margin: .25rem auto 1rem; }
.phone-card { background: #fbfbff; border: 1px solid var(--border); border-radius: 18px; padding: 1rem; margin-bottom: .8rem; }
.phone-card strong { display: block; color: var(--text); margin-bottom: .35rem; }
.phone-card p { font-size: .78rem; line-height: 1.6; margin: 0; }
.phone-status { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; margin-bottom: .8rem; color: var(--text-muted); }
.phone-badge { background: var(--brand-soft); color: var(--brand-strong); border-radius: 999px; padding: .25rem .55rem; font-weight: 600; }
.mini-alert { margin-top: 1rem; max-width: 560px; }

.landing-section { padding: 3.5rem 0; }
.section-eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: 3px; font-size: .78rem; display: block; margin-bottom: .5rem; }
.section-title { font-size: 2.2rem; line-height: 1.25; max-width: 650px; margin-bottom: 1rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.service-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 1.6rem 1.4rem 2rem;
  box-shadow: 0 20px 25px rgba(67, 103, 90, .1);
  overflow: hidden;
  transition: transform .2s ease;
}
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.service-card:nth-child(2)::after { background: #8fbcff; }
.service-card:nth-child(3)::after { background: #fee78c; }
.service-card:hover { transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); transform-origin: left; }
.service-icon { width: 74px; height: 74px; border-radius: 28px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); font-weight: 700; font-size: 1.4rem; margin-bottom: 1rem; }
.service-card:nth-child(2) .service-icon { background: var(--secondary-soft); color: var(--secondary); }
.service-card:nth-child(3) .service-icon { background: #fff7d8; color: #b45309; }
.service-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.service-card p { line-height: 1.75; }

.feature-split { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 4rem; align-items: center; }
.feature-visual { position: relative; min-height: 350px; display: grid; place-items: center; }
.feature-panel { background: #fff; border-radius: 24px; padding: 1.25rem; box-shadow: 0 25px 55px rgba(67, 103, 90, .12); width: min(100%, 350px); }
.feature-panel-row { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 14px; padding: .85rem; margin-bottom: .7rem; }
.feature-panel-row:last-child { margin-bottom: 0; }
.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.feature-list li { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1rem; color: var(--text); font-weight: 500; }
.feature-list li::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; border: 2px solid var(--brand); border-radius: 6px; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.landing-form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 2rem; align-items: start; }
.landing-note { background: #dff1f4; border-radius: 20px; padding: 2rem; }
.landing-note p { line-height: 1.8; }

@media (max-width: 900px) {
  .landing-hero { padding: 3.5rem 0 2rem; text-align: center; }
  .landing-hero-grid, .feature-split, .landing-form-shell { grid-template-columns: 1fr; }
  .landing-hero h1 { font-size: 2.2rem; margin-left: auto; margin-right: auto; }
  .landing-hero .lead { margin-left: auto; margin-right: auto; }
  .landing-actions { justify-content: center; }
  .mockup-wrap { min-height: auto; }
  .phone-mockup { width: 270px; }
}

@media (max-width: 640px) {
  .site-header .nav { padding: .65rem .9rem; }
  .brand { font-size: .88rem; gap: .4rem; }
  .brand-mark { width: 26px; height: 26px; border-radius: 7px; font-size: .75rem; }
  .nav-anchor { display: none; }
  .landing-hero h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.65rem; }
  .platform-btn { width: 100%; justify-content: center; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn, .form-actions a { width: 100%; text-align: center; justify-content: center; }
}

/* Form */
.form-card { max-width: 720px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .9rem; color: var(--text); }
.req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="password"],
input[type="date"], input[type="number"], textarea, select {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .15);
}
textarea { resize: vertical; }
.form-actions { display: flex; gap: .75rem; align-items: center; margin-top: 1.25rem; }
.form-help { font-size: .8rem; color: var(--text-muted); margin-top: .35rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(255, 77, 107, .22); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: .4rem .8rem; font-size: .85rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* Alerts */
.alert {
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  border: 1px solid transparent;
  display: flex; align-items: flex-start; gap: .5rem;
}
.alert::before { content: "i"; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: currentColor; color: #fff; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.alert-error  { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.alert-ok     { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.alert-info   { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.alert-warn   { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.alert-error::before { content: "!"; }

/* Captcha */
.captcha-img { display: block; margin: .25rem 0 .5rem; border: 1px solid var(--border); border-radius: var(--radius-sm); max-width: 200px; }

/* Tables */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { font-weight: 600; background: var(--surface-2); color: var(--text-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:hover td { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: none; }

/* Badges */
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge-abierto           { background: #eff6ff; color: #1d4ed8; }
.badge-esperando_clinica { background: #fff7ed; color: #c2410c; }
.badge-esperando_paciente{ background: #ecfdf5; color: #047857; }
.badge-cerrado           { background: #f1f5f9; color: #475569; }
.badge-activo            { background: #ecfdf5; color: #047857; }
.badge-inactivo          { background: #fef2f2; color: #b91c1c; }
.badge-ok                { background: #ecfdf5; color: #047857; }
.badge-fail              { background: #fef2f2; color: #b91c1c; }
.badge-admin             { background: #eef2ff; color: #4338ca; }
.badge-doctor            { background: #ecfeff; color: #0e7490; }

/* Conversation */
.mensajes { display: flex; flex-direction: column; gap: .8rem; margin: 1.25rem 0; }
.msg { padding: .85rem 1rem; border-radius: 12px; max-width: 85%; }
.msg-paciente  { background: #eff6ff; align-self: flex-start; border: 1px solid #dbeafe; }
.msg-doctor    { background: #f0fdf4; align-self: flex-end;   border: 1px solid #dcfce7; }
.msg-sistema   { background: #fefce8; align-self: center; font-style: italic; font-size: .875rem; border: 1px solid #fde68a; }
.msg-meta { font-size: .78rem; color: var(--text-muted); margin-top: .3rem; }

/* Ticket creado */
.icon-ok { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: #ecfdf5; color: #047857; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.incidencia-num { font-size: 1.5rem; font-weight: 700; color: var(--brand); margin: .5rem 0; letter-spacing: .04em; }

/* Demo switch */
.demo-switch { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 1rem; color: var(--text-muted); font-size: .78rem; }
.demo-chip { color: var(--text-muted); text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: .15rem .6rem; font-size: .78rem; }
.demo-chip:hover, .demo-chip.active { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }

/* Sidebar layout (admin/doctor) */
.app-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; max-width: 1180px; margin: 0 auto; padding: 1.5rem 1.25rem; }
.sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; height: fit-content; box-shadow: var(--shadow-sm); position: sticky; top: 5rem; }
.sidebar h4 { font-size: .75rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: .75rem; letter-spacing: .06em; }
.sidebar a { display: flex; align-items: center; gap: .5rem; padding: .5rem .65rem; border-radius: var(--radius-sm); color: var(--text-soft); font-size: .92rem; margin-bottom: .15rem; }
.sidebar a:hover { background: var(--bg); color: var(--text); }
.sidebar a.active { background: var(--brand-soft); color: var(--brand-strong); font-weight: 600; }
.app-main { display: flex; flex-direction: column; gap: 1.5rem; }
.section-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.kpi .label { color: var(--text-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi .value { font-size: 1.75rem; font-weight: 700; color: var(--text); margin-top: .35rem; }
.kpi .sub { color: var(--text-muted); font-size: .8rem; margin-top: .15rem; }
.kpi.accent { background: linear-gradient(135deg, #eef2ff, #fff); border-color: #c7d2fe; }

/* Filters */
.filtros { display: flex; gap: .75rem; flex-wrap: wrap; align-items: end; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.filtros .field { margin-bottom: 0; min-width: 150px; }
.filtros .field label { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: .25rem; }
.filtros select, .filtros input { padding: .5rem .65rem; }

/* Detail */
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 800px) { .detail-grid, .app-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; font-size: .9rem; }
.meta-list dt { color: var(--text-muted); }
.meta-list dd { color: var(--text); }
.original-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; font-size: .92rem; white-space: pre-wrap; }

.acciones { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state h3 { color: var(--text-soft); margin-bottom: .5rem; }

/* Utility */
.hr { height: 1px; background: var(--border); margin: 1.5rem 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.code-inline { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--border); }

details > summary { cursor: pointer; font-weight: 600; color: var(--brand); padding: .5rem 0; }

/* Presentation page (/defensa) */
.pres { min-height: 100vh; }
.pres-section { padding: 4.5rem 0; position: relative; overflow: hidden; }
.pres-alt { background: var(--surface-2); }
.pres-container { max-width: 1020px; margin: 0 auto; padding: 0 1.5rem; }
.pres-num {
  font-size: 6rem;
  font-weight: 700;
  color: var(--brand-soft);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}
.pres-hero {
  background: linear-gradient(160deg, var(--brand), #b91c1c);
  color: #fff;
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.pres-hero::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
  pointer-events: none;
}
.pres-hero h1 { font-size: 2.8rem; line-height: 1.18; max-width: 800px; color: #fff; margin-bottom: 1rem; }
.pres-subtitle { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 1.5rem; }
.pres-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: .5rem; }
.pres-meta-sm { font-size: .82rem; color: rgba(255,255,255,.55); }
.pres-actions { display: flex; gap: .75rem; margin-top: 1.75rem; flex-wrap: wrap; }
.pres-stat-row { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.pres-stat { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.5rem; min-width: 200px; }
.pres-stat-num { display: block; font-size: 2.8rem; font-weight: 700; color: var(--brand); line-height: 1; }
.pres-stat-label { display: block; color: var(--text-muted); font-size: .9rem; margin-top: .35rem; }
.pres-list { list-style: none; padding: 0; margin: 0; }
.pres-list li { padding: .55rem 0; padding-left: 1.4rem; position: relative; color: var(--text-soft); line-height: 1.6; border-bottom: 1px solid rgba(0,0,0,.04); }
.pres-list li:last-child { border-bottom: 0; }
.pres-list li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pres-list-problem li::before { background: var(--danger); }
.pres-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.pres-tag { background: var(--brand-soft); color: var(--brand-strong); padding: .3rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 500; }
.pres-timeline { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; position: relative; }
.pres-timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.pres-step { display: flex; gap: 1.25rem; padding: .9rem 0; position: relative; }
.pres-step-num {
  flex: 0 0 46px; width: 46px; height: 46px;
  background: var(--surface); border: 2px solid var(--brand);
  border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: var(--brand); z-index: 1;
}
.pres-step p { font-size: .92rem; margin-top: .15rem; }
.pres-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; box-shadow: var(--shadow-sm); }
.pres-card h3 { margin-bottom: .75rem; }
.pres-card-accent { border-left: 4px solid var(--brand); }
.pres-card-accent:nth-child(2) { border-left-color: var(--secondary); }
.pres-card-accent:nth-child(3) { border-left-color: #f59e0b; }
.pres-card-accent:nth-child(4) { border-left-color: #10b981; }
.pres-card-accent strong { display: block; font-size: 1.05rem; margin-bottom: .5rem; color: var(--text); }
.pres-card-accent p { font-size: .9rem; line-height: 1.65; }

@media (max-width: 768px) {
  .pres-hero h1 { font-size: 2rem; }
  .pres-num { font-size: 4rem; top: .5rem; right: .75rem; }
  .pres-section { padding: 3rem 0; }
  .pres-stat-row { flex-direction: column; gap: 1rem; }
  .pres-stat { min-width: auto; }
}
