-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathptr-info.html
More file actions
1288 lines (1210 loc) · 55.5 KB
/
ptr-info.html
File metadata and controls
1288 lines (1210 loc) · 55.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Guía PTR · Información para Pacientes</title>
<link rel="icon" type="image/svg+xml" href="icon.svg" />
<link rel="apple-touch-icon" href="icon.svg" />
<meta name="description" content="Guía completa para pacientes: expectativas, recuperación y cuidados tras una prótesis total de rodilla." />
<meta name="theme-color" id="meta-theme" content="#0f172a" />
<meta property="og:title" content="Guía PTR · Dr Martín Antúnez" />
<meta property="og:description" content="Guía completa para pacientes: expectativas, recuperación y cuidados tras una prótesis total de rodilla." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://jmacot.github.io/pacientes/ptr-info.html" />
<meta name="twitter:card" content="summary" />
<meta property="og:image" content="https://jmacot.github.io/pacientes/icon.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Mono:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap" rel="stylesheet" />
<style>
:root {
--bg: #e8edf4;
--surface: #ffffff;
--ink: #0f172a;
--ink-muted: #64748b;
--border: #e2e8f0;
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
--shadow-hover: 0 25px 50px -12px rgb(0 0 0 / 0.15);
--radius: 20px;
--radius-sm: 12px;
--transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
--c-rodilla: #0ea5e9;
--c-rodilla-light: #e0f2fe;
--c-rodilla-dark: #0369a1;
--green: #16a34a;
--green-light: #dcfce7;
--red: #dc2626;
--red-light: #fef2f2;
--amber: #d97706;
--amber-light: #fef3c7;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: 'DM Sans', sans-serif;
background: var(--bg);
color: var(--ink);
min-height: 100vh;
padding: 0;
}
/* ── HEADER ── */
header {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
color: white;
padding: 56px 48px 48px;
position: relative;
overflow: hidden;
}
header::before {
content: '';
position: absolute;
top: -150px; right: -50px;
width: 400px; height: 400px;
border-radius: 50%;
background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
filter: blur(40px);
}
header::after {
content: '';
position: absolute;
bottom: -120px; left: 20%;
width: 350px; height: 350px;
border-radius: 50%;
background: radial-gradient(circle, rgba(139, 92, 246, 0.10) 0%, transparent 70%);
filter: blur(40px);
}
.back-home {
position: absolute; top: 16px; left: 16px;
display: inline-flex; align-items: center; gap: 4px;
font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.05em;
color: rgba(255,255,255,0.6); text-decoration: none;
padding: 6px 12px; border-radius: 999px;
border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
transition: border-color 0.2s, color 0.2s, background 0.2s; z-index: 1;
}
.back-home:hover { border-color: rgba(255,255,255,0.5); color: white; background: rgba(255,255,255,0.12); }
/* Botón Descargar PDF */
.print-btn {
position: absolute; top: 16px; right: 16px;
display: inline-flex; align-items: center; gap: 6px;
font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.05em;
color: rgba(255,255,255,0.78); cursor: pointer;
padding: 6px 14px; border-radius: 999px;
border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.12);
transition: all 0.2s; z-index: 1;
}
.print-btn:hover { border-color: rgba(255,255,255,0.6); color: white; background: rgba(255,255,255,0.22); }
@media (max-width: 600px) {
.print-btn { padding: 4px 10px; font-size: 10px; top: 10px; right: 10px; }
}
/* Impresión / Exportar a PDF */
@media print {
@page { size: A4; margin: 0; }
* { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
html, body { background: #ffffff !important; color: #111 !important; margin: 0 !important; }
body { font-size: 10.5pt; line-height: 1.4; padding: 12mm 14mm !important; }
.back-home, .print-btn, .section-nav, .nav-pills, .skip-link, footer, .info-chevron { display: none !important; }
header {
background: #ffffff !important; color: #0f172a !important;
padding: 0 0 6pt !important; margin: 0 0 8pt !important;
border-bottom: 1.5pt solid #0f172a;
overflow: visible !important; animation: none !important;
}
header::before, header::after { display: none !important; }
header .header-label { color: #64748b !important; font-size: 8pt !important; margin-bottom: 2pt !important; }
header h1 { color: #0f172a !important; font-size: 18pt !important; line-height: 1.15 !important; margin: 0 0 3pt !important; }
header h1 em { font-style: italic; }
header p { color: #334155 !important; max-width: none !important; font-size: 10pt !important; margin: 0 !important; }
main { max-width: none !important; margin: 0 !important; padding: 4pt 0 0 !important; }
.info-section, details.info-section {
margin: 0 0 6pt !important;
border: none !important; border-radius: 0 !important;
box-shadow: none !important; background: transparent !important;
padding: 0 !important; overflow: visible !important;
break-inside: auto; page-break-inside: auto;
}
.info-section > summary {
list-style: none !important;
padding: 0 !important;
margin: 6pt 0 4pt !important;
font-size: 13pt !important; font-weight: 600;
color: #0f172a !important;
border-bottom: 0.8pt solid #94a3b8 !important;
padding-bottom: 2pt !important;
cursor: default !important;
display: flex !important; align-items: center; gap: 6pt;
page-break-after: avoid; break-after: avoid;
}
.info-section > summary::-webkit-details-marker,
.info-section > summary::after,
.info-section > summary::before { display: none !important; content: none !important; }
.info-icon {
width: 18pt !important; height: 18pt !important;
border-radius: 4pt !important;
background: #e0f2fe !important; color: #0284c7 !important;
flex-shrink: 0;
}
.info-icon svg { width: 11pt !important; height: 11pt !important; }
.info-title { font-size: 13pt !important; }
.info-body { padding: 0 !important; color: #334155 !important; font-size: 10.5pt !important; line-height: 1.45 !important; }
details[open] > *:not(summary) { display: revert !important; }
details.faq-item { margin: 2pt 0 !important; break-inside: avoid; }
details.faq-item summary { font-size: 10.5pt !important; font-weight: 600; color: #0f172a !important; cursor: default !important; padding: 2pt 0 !important; }
/* Contenedores largos: permitir partir */
.compare-table, .milestones, .activities-grid, .numbered-list, .steps-list, .timeline { break-inside: auto; page-break-inside: auto; }
/* Elementos cortos: no partir */
.milestone, .milestone-card, .milestone-content, .callout, .callout-amber, .callout-danger, .callout-info, .faq-item, .timeline-item, .compare-item, .compare-mobile, .activities-col, .img-row, .img-col, .final-callout, .info-img, figure, table, img { break-inside: avoid; page-break-inside: avoid; }
.numbered-list > li, .steps-list > li { break-inside: avoid; page-break-inside: avoid; }
h2, h3, h4 { page-break-after: avoid; break-after: avoid; }
img { max-width: 100% !important; max-height: 50mm !important; }
a { color: inherit !important; text-decoration: none !important; }
a[href^="http"]::after, a[href^="mailto"]::after { content: "" !important; }
}
.header-label {
font-family: 'DM Mono', monospace;
font-size: 11px;
letter-spacing: 0.15em;
text-transform: uppercase;
color: rgba(255,255,255,0.5);
margin-bottom: 16px;
position: relative;
}
header h1 {
font-family: 'DM Serif Display', serif;
font-size: clamp(2rem, 5vw, 3.2rem);
font-weight: 400;
line-height: 1.15;
margin-bottom: 12px;
position: relative;
}
header p {
font-size: 15px;
color: rgba(255,255,255,0.65);
font-weight: 300;
max-width: 520px;
position: relative;
}
/* ── SECTION NAV ── */
.section-nav {
position: sticky; top: 0; z-index: 50;
background: var(--bg);
padding: 12px 32px;
border-bottom: 1px solid var(--border);
transition: box-shadow 0.3s;
}
.section-nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.nav-pills {
display: flex;
gap: 6px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
max-width: 900px;
margin: 0 auto;
}
.nav-pills::-webkit-scrollbar { display: none; }
.nav-pill {
font-family: 'DM Mono', monospace;
font-size: 10px;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 12px 16px;
border-radius: 999px;
border: 1.5px solid var(--border);
background: transparent;
color: var(--ink-muted);
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
flex-shrink: 0;
}
.nav-pill:hover { border-color: var(--c-rodilla); color: var(--c-rodilla); }
.nav-pill.active { background: var(--c-rodilla); border-color: var(--c-rodilla); color: white; }
/* ── MAIN ── */
main {
max-width: 900px;
margin: 0 auto;
padding: 32px 32px 80px;
}
/* ── ACCORDION SECTIONS ── */
.info-section {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
margin-bottom: 12px;
box-shadow: var(--shadow);
overflow: hidden;
transition: box-shadow 0.3s;
}
.info-section:hover { box-shadow: var(--shadow-hover); }
.info-section summary {
padding: 20px 24px;
cursor: pointer;
display: flex;
align-items: center;
gap: 14px;
list-style: none;
user-select: none;
transition: background 0.2s;
}
.info-section summary::-webkit-details-marker { display: none; }
.info-section summary:hover { background: rgba(14, 165, 233, 0.04); }
.info-icon {
width: 40px; height: 40px;
border-radius: 10px;
background: var(--c-rodilla-light);
color: var(--c-rodilla);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; }
.info-title {
font-family: 'DM Serif Display', serif;
font-size: 1.15rem;
font-weight: 400;
color: var(--ink);
flex: 1;
}
.info-chevron {
width: 20px; height: 20px;
flex-shrink: 0;
transition: transform 0.3s ease;
color: var(--ink-muted);
}
.info-section[open] .info-chevron { transform: rotate(180deg); }
.info-body {
padding: 0 24px 28px;
font-size: 14.5px;
line-height: 1.75;
color: var(--ink-muted);
}
.info-body p { margin-bottom: 14px; }
.info-body strong { color: var(--ink); }
.info-body ul, .info-body ol { margin: 12px 0; padding-left: 20px; }
.info-body li { margin-bottom: 8px; }
.info-body h3 {
font-family: 'DM Serif Display', serif;
font-size: 1.05rem;
font-weight: 400;
color: var(--ink);
margin: 24px 0 12px;
}
.info-body h3:first-child { margin-top: 0; }
/* ── SECTION IMAGES ── */
.info-img {
display: block;
max-width: 100%;
height: auto;
border-radius: var(--radius-sm);
margin: 20px auto;
box-shadow: var(--shadow);
border: 1px solid var(--border);
}
.info-img.small { max-width: min(280px, 100%); }
.info-img.medium { max-width: min(420px, 100%); }
.info-img-caption {
text-align: center;
font-family: 'DM Mono', monospace;
font-size: 11px;
color: var(--ink-muted);
margin-top: -12px;
margin-bottom: 16px;
}
.img-row {
display: flex;
gap: 20px;
justify-content: center;
align-items: stretch;
margin: 20px 0;
}
.img-row .img-col {
text-align: center;
flex: 1 1 0;
max-width: 340px;
display: flex;
flex-direction: column;
}
.img-row .img-col .info-img {
margin: 0 auto 6px;
flex: 1;
object-fit: contain;
}
.img-row .img-col .info-img-caption { margin: 0 0 4px; }
/* ── DIVIDER ── */
.section-divider {
border: none;
border-top: 1px solid var(--border);
margin: 20px 0;
}
/* ── TIMELINE ── */
.timeline {
position: relative;
padding-left: 36px;
margin: 20px 0;
}
.timeline::before {
content: '';
position: absolute;
left: 13px; top: 8px; bottom: 8px;
width: 2px;
background: var(--border);
border-radius: 1px;
}
.timeline-item {
position: relative;
margin-bottom: 20px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
position: absolute;
left: -36px; top: 3px;
width: 24px; height: 24px;
border-radius: 50%;
background: var(--c-rodilla);
border: 3px solid var(--surface);
box-shadow: 0 0 0 2px var(--c-rodilla);
}
.timeline-label {
font-family: 'DM Mono', monospace;
font-size: 11px;
font-weight: 500;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--c-rodilla);
margin-bottom: 4px;
}
.timeline-text {
font-size: 14px;
line-height: 1.6;
color: var(--ink-muted);
}
/* ── STEPS (heparina) ── */
.steps-list {
list-style: none;
padding: 0;
counter-reset: step;
margin: 16px 0;
}
.steps-list li {
counter-increment: step;
position: relative;
padding-left: 44px;
margin-bottom: 14px;
line-height: 1.6;
}
.steps-list li::before {
content: counter(step);
position: absolute;
left: 0; top: 0;
width: 30px; height: 30px;
border-radius: 8px;
background: var(--c-rodilla-light);
color: var(--c-rodilla);
font-family: 'DM Mono', monospace;
font-size: 13px;
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
}
/* ── MILESTONE CARDS ── */
.milestones {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
margin: 20px 0;
}
.milestone {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 18px;
border-left: 4px solid var(--c-rodilla);
}
.milestone:nth-child(2) { border-left-color: #38bdf8; }
.milestone:nth-child(3) { border-left-color: #7dd3fc; }
.milestone:nth-child(4) { border-left-color: #bae6fd; }
.milestone-label {
font-family: 'DM Mono', monospace;
font-size: 10px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--c-rodilla);
margin-bottom: 8px;
}
.milestone ul {
list-style: none;
padding: 0;
margin: 0;
}
.milestone li {
font-size: 13px;
line-height: 1.5;
color: var(--ink-muted);
padding: 3px 0;
padding-left: 14px;
position: relative;
}
.milestone li::before {
content: '';
position: absolute;
left: 0; top: 10px;
width: 5px; height: 5px;
border-radius: 50%;
background: var(--c-rodilla);
opacity: 0.5;
}
/* ── COMPARE TABLE ── */
.compare-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
border-radius: var(--radius-sm);
overflow: hidden;
margin: 20px 0;
border: 1px solid var(--border);
}
.compare-table th {
font-family: 'DM Mono', monospace;
font-size: 10px;
letter-spacing: 0.1em;
text-transform: uppercase;
padding: 12px 16px;
text-align: left;
}
.compare-table th:first-child { background: var(--c-rodilla-light); color: var(--c-rodilla); }
.compare-table th:last-child { background: var(--green-light); color: var(--green); }
.compare-table td {
padding: 12px 16px;
font-size: 13.5px;
line-height: 1.5;
border-top: 1px solid var(--border);
vertical-align: top;
}
.compare-table td:first-child {
color: var(--ink-muted);
font-style: italic;
width: 40%;
}
.compare-table td:last-child { color: var(--ink); }
.compare-table tr:nth-child(even) td { background: rgba(14,165,233,0.02); }
/* Mobile: table as stacked cards */
.compare-mobile { display: none; margin: 20px 0; }
.compare-item {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 16px;
margin-bottom: 10px;
}
.compare-expect {
font-size: 13px;
color: var(--ink-muted);
font-style: italic;
margin-bottom: 8px;
padding-bottom: 8px;
border-bottom: 1px solid var(--border);
}
.compare-reality {
font-size: 13.5px;
color: var(--ink);
line-height: 1.5;
}
/* ── NUMBERED LIST (10 cosas) ── */
.numbered-list {
list-style: none;
padding: 0;
counter-reset: item;
margin: 16px 0;
}
.numbered-list li {
counter-increment: item;
position: relative;
padding: 14px 16px 14px 52px;
margin-bottom: 8px;
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
font-size: 14px;
line-height: 1.6;
}
.numbered-list li::before {
content: counter(item);
position: absolute;
left: 14px; top: 14px;
width: 28px; height: 28px;
border-radius: 8px;
background: var(--c-rodilla);
color: white;
font-family: 'DM Mono', monospace;
font-size: 12px;
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
}
/* ── CALLOUT BOXES ── */
.callout {
border-radius: var(--radius-sm);
padding: 20px 24px;
margin: 20px 0;
border-left: 4px solid;
}
.callout-danger {
background: var(--red-light);
border-left-color: var(--red);
}
.callout-danger .callout-title { color: var(--red); }
.callout-info {
background: var(--c-rodilla-light);
border-left-color: var(--c-rodilla);
}
.callout-info .callout-title { color: var(--c-rodilla); }
.callout-amber {
background: var(--amber-light);
border-left-color: var(--amber);
}
.callout-amber .callout-title { color: var(--amber); }
.callout-title {
font-family: 'DM Mono', monospace;
font-size: 11px;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
margin-bottom: 8px;
}
.callout p { font-size: 14px; line-height: 1.65; color: var(--ink); }
.callout ul { margin: 8px 0 0; padding-left: 18px; }
.callout li { font-size: 14px; line-height: 1.65; color: var(--ink); margin-bottom: 4px; }
/* ── ACTIVITIES (recommended vs avoid) ── */
.activities-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin: 16px 0;
}
.activities-col {
border-radius: var(--radius-sm);
padding: 16px;
border: 1px solid var(--border);
}
.activities-col.do { background: var(--green-light); border-color: rgba(22,163,74,0.2); }
.activities-col.avoid { background: var(--red-light); border-color: rgba(220,38,38,0.2); }
.activities-label {
font-family: 'DM Mono', monospace;
font-size: 10px;
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 10px;
}
.activities-col.do .activities-label { color: var(--green); }
.activities-col.avoid .activities-label { color: var(--red); }
.activities-col ul {
list-style: none;
padding: 0;
margin: 0;
}
.activities-col li {
font-size: 13px;
line-height: 1.5;
color: var(--ink);
padding: 3px 0 3px 18px;
position: relative;
}
.activities-col.do li::before { content: '\2713'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.activities-col.avoid li::before { content: '\2717'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
/* ── FAQ ── */
.faq-item {
border: 1px solid var(--border);
border-radius: var(--radius-sm);
margin-bottom: 8px;
overflow: hidden;
}
.faq-item summary {
padding: 14px 18px;
cursor: pointer;
display: flex;
align-items: center;
gap: 10px;
list-style: none;
font-size: 14px;
font-weight: 500;
color: var(--ink);
transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(14,165,233,0.04); }
.faq-item summary .faq-q { flex: 1; }
.faq-item summary .faq-chevron {
width: 16px; height: 16px;
flex-shrink: 0;
transition: transform 0.3s;
color: var(--ink-muted);
}
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-answer {
padding: 0 18px 16px;
font-size: 14px;
line-height: 1.65;
color: var(--ink-muted);
}
/* ── FINAL CALLOUT ── */
.final-callout {
background: linear-gradient(135deg, var(--c-rodilla-light) 0%, rgba(14,165,233,0.08) 100%);
border: 1px solid rgba(14,165,233,0.2);
border-radius: var(--radius);
padding: 28px 32px;
margin: 32px 0 0;
text-align: center;
}
.final-callout h3 {
font-family: 'DM Serif Display', serif;
font-size: 1.2rem;
color: var(--ink);
margin-bottom: 12px;
}
.final-callout p {
font-size: 14.5px;
line-height: 1.7;
color: var(--ink-muted);
max-width: 600px;
margin: 0 auto;
}
/* ── FOOTER ── */
footer {
text-align: center;
padding: 32px;
font-family: 'DM Mono', monospace;
font-size: 11px;
color: var(--ink-muted);
border-top: 1px solid var(--border);
}
footer .sig { font-weight: 600; color: var(--ink); margin-top: 4px; }
/* ── RESPONSIVE ── */
@media (max-width: 600px) {
header { padding: 40px 24px 36px; }
header::before, header::after { display: none; }
.img-row { flex-direction: column; align-items: center; }
.img-row .img-col { max-width: 100%; }
.back-home { padding: 4px 8px; font-size: 10px; top: 10px; left: 10px; }
.section-nav { padding: 10px 16px; }
main { padding: 24px 16px 60px; }
.info-section summary { padding: 16px 18px; gap: 10px; }
.info-icon { width: 34px; height: 34px; border-radius: 8px; }
.info-icon svg { width: 17px; height: 17px; }
.info-title { font-size: 1rem; }
.info-body { padding: 0 18px 22px; font-size: 14px; }
.info-img.small, .info-img.medium { max-width: 100%; }
.milestones { grid-template-columns: 1fr; }
.compare-table { display: none; }
.compare-mobile { display: block; }
.activities-grid { grid-template-columns: 1fr; }
.numbered-list li { padding-left: 46px; }
.final-callout { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
.skip-link {
position: absolute; top: -100px; left: 16px;
background: var(--ink); color: var(--bg);
padding: 10px 20px; border-radius: 8px;
font-size: 14px; font-weight: 500; z-index: 1000;
text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
</style>
</head>
<body>
<a href="#main" class="skip-link">Saltar al contenido</a>
<header>
<a class="back-home" href="ptr.html" title="Volver al portal">← Portal</a>
<button type="button" class="print-btn" id="printBtn" aria-label="Descargar PDF"><span aria-hidden="true">⬇</span> Descargar PDF</button>
<div class="header-label">Guía del paciente</div>
<h1>Prótesis Total<br><em>de Rodilla</em></h1>
<p>Información y expectativas: todo lo que necesitas saber antes, durante y después de tu cirugía.</p>
</header>
<!-- SECTION NAV -->
<nav class="section-nav" id="section-nav" aria-label="Secciones de la guía">
<div class="nav-pills">
<button class="nav-pill active" data-target="sec-intro">Introducción</button>
<button class="nav-pill" data-target="sec-hospital">Hospital</button>
<button class="nav-pill" data-target="sec-heparina">Heparina</button>
<button class="nav-pill" data-target="sec-recuperacion">Recuperación</button>
<button class="nav-pill" data-target="sec-expectativas">Expectativas</button>
<button class="nav-pill" data-target="sec-10cosas">10 claves</button>
<button class="nav-pill" data-target="sec-alarma">Alarma</button>
<button class="nav-pill" data-target="sec-faq">FAQ</button>
</div>
</nav>
<main id="main">
<!-- 1. INTRODUCCIÓN -->
<details class="info-section" id="sec-intro" open>
<summary>
<span class="info-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg></span>
<span class="info-title">Introducción</span>
<svg class="info-chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>
</summary>
<div class="info-body">
<p>La prótesis total de rodilla (PTR) es una intervención quirúrgica indicada principalmente en casos de artrosis avanzada u otras patologías que deterioran significativamente la articulación de la rodilla, limitando la calidad de vida del paciente.</p>
<p>El objetivo principal de esta cirugía es <strong>aliviar el dolor, mejorar la movilidad y restaurar la función articular</strong>, permitiendo al paciente retomar sus actividades cotidianas con mayor comodidad.</p>
<p>La PTR consiste en reemplazar las superficies articulares dañadas por componentes protésicos fabricados con materiales como metales y plásticos especiales (polietileno). Estos componentes pueden fijarse al hueso utilizando cemento acrílico o mediante técnicas que permiten su integración directa sin cemento.</p>
<img class="info-img medium" src="img/ptr/ptr-antes-despues.jpg" alt="Comparación de rodilla con artrosis (izquierda) y rodilla con prótesis total implantada (derecha)" />
<p class="info-img-caption">Rodilla con artrosis vs. rodilla con prótesis total</p>
<h3>Tipos de prótesis de rodilla</h3>
<ul>
<li><strong>Prótesis totales:</strong> Sustituyen toda la articulación de la rodilla.</li>
<li><strong>Prótesis unicompartimentales:</strong> Solo reemplazan el compartimento interno o externo. Se utilizan en casos seleccionados con artrosis localizada.</li>
</ul>
<div class="img-row">
<div class="img-col">
<img class="info-img" src="img/ptr/ptr-implante.jpg" alt="Componentes de una prótesis total de rodilla: pieza femoral y platillo tibial" style="object-fit: cover; object-position: center 40%; aspect-ratio: 1 / 1;" />
<p class="info-img-caption">Prótesis total de rodilla</p>
</div>
<div class="img-col">
<img class="info-img" src="img/ptr/unicompartimental.webp" alt="Prótesis unicompartimental de rodilla: reemplazo de un solo compartimento" />
<p class="info-img-caption">Prótesis unicompartimental</p>
</div>
</div>
<div class="callout callout-info">
<div class="callout-title">Participación activa</div>
<p>Es fundamental que el paciente participe <strong>activamente</strong> en el proceso de recuperación. Seguir las indicaciones de su cirujano, realizar los ejercicios de rehabilitación de forma constante y mantener una actitud proactiva son aspectos clave para una recuperación exitosa.</p>
</div>
<h3>Expectativas realistas</h3>
<p>La mayoría de los pacientes experimentan una gran reducción del dolor y una mejora significativa en su capacidad funcional. Sin embargo, la prótesis <strong>no permitirá hacer más de lo que se hacía antes de desarrollar artrosis</strong>. No es una rodilla «nueva» sino una articulación artificial que debe cuidarse.</p>
<div class="activities-grid">
<div class="activities-col do">
<div class="activities-label">Actividades recomendadas</div>
<ul>
<li>Caminar</li>
<li>Nadar</li>
<li>Bicicleta</li>
<li>Senderismo leve</li>
<li>Bailar</li>
<li>Golf</li>
</ul>
</div>
<div class="activities-col avoid">
<div class="activities-label">Actividades a evitar</div>
<ul>
<li>Correr</li>
<li>Saltar</li>
<li>Deportes de contacto</li>
<li>Actividades de alto impacto</li>
</ul>
</div>
</div>
<h3>Posibles complicaciones</h3>
<p>Si bien la tasa de éxito de esta cirugía es alta, como en cualquier intervención quirúrgica pueden presentarse complicaciones:</p>
<ul>
<li><strong>Infección:</strong> Puede ser superficial o profunda. En casos graves, puede requerir recambio protésico. Puede aparecer incluso años después.</li>
<li><strong>Trombosis venosa profunda (TVP):</strong> Se previene con medicación anticoagulante, movilización precoz, medias compresivas y elevación de piernas.</li>
<li><strong>Problemas con los implantes:</strong> El aflojamiento o desgaste protésico puede ocurrir con el tiempo.</li>
<li><strong>Rigidez articular:</strong> Se previene con una rehabilitación adecuada.</li>
<li><strong>Luxación o inestabilidad:</strong> Menos frecuente, pero posible.</li>
<li><strong>Dolor persistente:</strong> Un pequeño porcentaje de pacientes puede tener molestias residuales.</li>
<li><strong>Lesión neurovascular:</strong> Es rara, pero puede afectar nervios o vasos cercanos.</li>
</ul>
<div class="callout callout-amber">
<div class="callout-title">Importante</div>
<p>No coloques almohadas o cojines bajo la rodilla de forma prolongada. Esto puede favorecer la aparición de rigidez articular. Si necesitas elevar la pierna, hazlo colocando soporte bajo el talón y dejando la rodilla en extensión.</p>
</div>
</div>
</details>
<!-- 2. ESTANCIA HOSPITALARIA -->
<details class="info-section" id="sec-hospital">
<summary>
<span class="info-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect width="8" height="4" x="8" y="2" rx="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><path d="M12 11h4"/><path d="M12 16h4"/><path d="M8 11h.01"/><path d="M8 16h.01"/></svg></span>
<span class="info-title">Estancia hospitalaria</span>
<svg class="info-chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>
</summary>
<div class="info-body">
<div class="timeline">
<div class="timeline-item">
<div class="timeline-dot"></div>
<div class="timeline-label">Día de la intervención</div>
<div class="timeline-text">Ingresarás en ayunas. La cirugía suele durar entre 60 y 90 minutos. Después pasarás por la sala de recuperación y se realizará una radiografía de control. Ese mismo día ya podrás mover la rodilla y comenzar ejercicios suaves en cama.</div>
</div>
<div class="timeline-item">
<div class="timeline-dot"></div>
<div class="timeline-label">1er día postoperatorio</div>
<div class="timeline-text">Si te encuentras bien, comenzarás a sentarte en el sillón y caminar con ayuda de muletas o andador, según tolerancia.</div>
</div>
<div class="timeline-item">
<div class="timeline-dot"></div>
<div class="timeline-label">2º día postoperatorio</div>
<div class="timeline-text">Si no hay incidencias, recibirás el alta médica con las instrucciones para continuar tu recuperación en casa.</div>
</div>
</div>
<hr class="section-divider" />
<h3>Tratamiento al alta</h3>
<p>Se te pautará <strong>tratamiento anticoagulante</strong> (habitualmente heparina) durante 30 días, analgésicos y un calendario de revisiones clínicas.</p>
<div class="callout callout-info">
<div class="callout-title">Calendario de revisiones</div>
<p>Habitualmente al mes, a los 3 y 6 meses, y después cada 1–2 años.</p>
</div>
</div>
</details>
<!-- 3. HEPARINA -->
<details class="info-section" id="sec-heparina">
<summary>
<span class="info-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m18 2 4 4"/><path d="m17 7-9 9"/><path d="M3 21 9 15"/><path d="m3 21 1-4 4-1"/><path d="m14.5 5.5-4 4"/><path d="m10 10 5 5"/></svg></span>
<span class="info-title">Administración de heparina</span>
<svg class="info-chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>
</summary>
<div class="info-body">
<p>La heparina se aplica por vía subcutánea, preferentemente en el abdomen o la parte externa del muslo. Sigue estos pasos:</p>
<img class="info-img small" src="img/compartidas/heparina-inyeccion.jpg" alt="Paciente administrándose una inyección subcutánea de heparina en el abdomen" />
<p class="info-img-caption">Administración subcutánea de heparina</p>
<ol class="steps-list">
<li>Lávate las manos antes y después de la inyección.</li>
<li>Limpia la piel con una gasa con alcohol.</li>
<li>Pellizca la piel e introduce la aguja en ángulo recto (90°).</li>
<li>Inyecta lentamente y <strong>no masajees</strong> tras la aplicación.</li>
<li>Alterna los lados cada día.</li>
</ol>
<div class="callout callout-amber">
<div class="callout-title">Atención</div>
<p>Si aparecen hematomas grandes, sangrado inusual o dolor persistente en la zona de punción, contacta con tu médico.</p>
</div>
</div>
</details>
<!-- 4. RECUPERACIÓN MES A MES -->
<details class="info-section" id="sec-recuperacion">
<summary>
<span class="info-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><polyline points="22 7 13.5 15.5 8.5 10.5 2 17"/><polyline points="16 7 22 7 22 13"/></svg></span>
<span class="info-title">Recuperación mes a mes</span>
<svg class="info-chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>
</summary>
<div class="info-body">
<div class="milestones">
<div class="milestone">
<div class="milestone-label">0 – 6 semanas</div>
<ul>
<li>Dolor moderado, controlado con medicación</li>
<li>Inicio de marcha con muletas o andador; sin muletas hacia la semana 3–4</li>
<li>Flexión progresiva: 90° hacia la 2.ª–3.ª semana, 110–120° hacia la 4.ª–6.ª</li>
<li>Hinchazón frecuente al final del día</li>
<li>Sueño alterado por molestias</li>
<li>Inicio del masaje cicatricial tras retirar sutura</li>
</ul>
</div>
<div class="milestone">
<div class="milestone-label">6 semanas – 3 meses</div>
<ul>
<li>Dolor leve o molestias ocasionales</li>
<li>Flexión consolidada: 110–120°, extensión completa</li>
<li>Marcha autónoma si es estable</li>
<li>Actividades domésticas y sociales casi normales</li>
<li>Reincorporación progresiva al trabajo</li>
</ul>
</div>
<div class="milestone">
<div class="milestone-label">3 – 6 meses</div>
<ul>
<li>Inflamación leve residual</li>
<li>Deporte de bajo impacto: bicicleta, natación, senderismo</li>
<li>Aumento progresivo de la fuerza</li>
<li>Buena tolerancia a caminatas largas o escaleras</li>
</ul>
</div>
<div class="milestone">
<div class="milestone-label">6 – 12 meses</div>
<ul>
<li>Dolor casi ausente</li>
<li>Posible incomodidad al arrodillarse</li>
<li>Función estable para la vida diaria y social</li>
<li>Resultado funcional prácticamente definitivo</li>
</ul>
</div>
</div>
</div>
</details>
<!-- 5. EXPECTATIVAS VS REALIDAD -->
<details class="info-section" id="sec-expectativas">
<summary>
<span class="info-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><line x1="18" x2="18" y1="20" y2="10"/><line x1="12" x2="12" y1="20" y2="4"/><line x1="6" x2="6" y1="20" y2="14"/></svg></span>
<span class="info-title">Expectativas vs. Realidad</span>
<svg class="info-chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>
</summary>
<div class="info-body">