/* Shared 3D surfaces for the real patient stories and their index. */
.fm-cases{--case-3d-teal:#0d9488;--case-3d-ink:#12324f;--case-3d-edge:#d4e7e1;--case-3d-shadow:0 6px 0 #dcebe6,0 20px 35px -23px #183d5155}
.fm-story-polish .fm-r-detail-hero,.fm-cases-index .fm-r-hero{background:radial-gradient(ellipse at 95% 20%,#fff0d8 0,transparent 46%),radial-gradient(ellipse at 0 80%,#d9f7ee 0,transparent 58%),#f5fafc}
.fm-story-polish .fm-r-detail-photo{padding:8px 8px 0;border:1px solid #fff;border-radius:28px;background:linear-gradient(145deg,#fff,#ecf6f0);box-shadow:0 7px 0 #d3e7de,0 25px 45px -20px #254a5e50;transform:rotate(1deg)}
.fm-story-polish .fm-r-detail-photo .heroimg{border-radius:20px 20px 0 0;background:#e9f1ed}
.fm-story-polish .fm-r-detail-caption{margin:0 -8px;padding:17px 16px;background:#fff;border-radius:0 0 24px 24px}
.fm-story-polish .fm-r-tags>span{border-color:#d9eae3;border-bottom-color:#c1dbd0;background:linear-gradient(165deg,#fff,#eaf8f0);border-radius:10px;box-shadow:0 3px 0 #d3e7de,0 7px 13px -10px #17644f55;color:#087f78}
.fm-story-polish .btn,.fm-cases-index .btn{position:relative;border:1px solid #f59a40;border-bottom-color:#d77a22;background:linear-gradient(155deg,#ffb44e,#f48b27 75%);border-radius:14px;color:#14314a;box-shadow:0 5px 0 #cc6b1c,0 13px 24px -14px #b75a1b80,inset 0 1px 0 #ffdb9c;transition:transform .18s,box-shadow .18s}
.fm-story-polish .btn:hover,.fm-cases-index .btn:hover{background:linear-gradient(155deg,#ffbf65,#f79735);transform:translateY(-2px);box-shadow:0 7px 0 #cc6b1c,0 17px 26px -14px #b75a1b80,inset 0 1px 0 #ffe1b4}
.fm-story-polish .btn:active,.fm-cases-index .btn:active{transform:translateY(3px);box-shadow:0 2px 0 #cc6b1c,0 5px 12px -8px #b75a1b66}
.fm-story-polish .fm-story-nav{background:#f5faf8;border-bottom:1px solid #e0ece7;padding:22px 0 26px}
.fm-story-polish .fm-story-nav-links{gap:12px}
.fm-story-polish .fm-story-nav-links a{padding:11px 17px;border:1px solid #e0ede7;border-radius:13px;background:linear-gradient(150deg,#fff,#f0f8f3);box-shadow:0 3px 0 #d6e8df,0 9px 18px -14px #184f4260;line-height:1.5}
.fm-story-polish .fm-story-nav-links a span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:linear-gradient(145deg,#25cbb5,#0c9a8e);box-shadow:0 2px 0 #087e73,inset 0 1px 0 #a6f0d9;color:#fff}
.fm-story-polish .card,.fm-story-polish #percorso .card,.fm-story-polish .timeline .card{border:1px solid #e2eee9;border-top:1px solid #fff;background:linear-gradient(155deg,#fff 55%,#f1faf5);box-shadow:var(--case-3d-shadow);border-radius:24px}
.fm-story-polish .fm-3d-step,.fm-story-polish #percorso .card:nth-child(2) .fm-3d-step{display:grid;place-items:center;width:46px;height:46px;border:1px solid #d7f3e4;border-radius:15px;background:linear-gradient(145deg,#e6fff3,#bde8d6);box-shadow:0 4px 0 #a4d5c1,inset 0 1px 0 #fff;color:#078b78;font-size:19px}
.fm-story-polish #percorso .card:nth-child(2) .fm-3d-step{background:linear-gradient(145deg,#fff7e8,#ffddb3);border-color:#ffebcf;box-shadow:0 4px 0 #e8c39a,inset 0 1px 0 #fff;color:#b3671e}
.fm-story-polish .role>.wrap{background:radial-gradient(ellipse at 100% 0,#26786f,transparent 70%),linear-gradient(135deg,#163d52,#103641);border:1px solid #255b63;box-shadow:0 6px 0 #0b2839,0 23px 35px -26px #15394d99}
.fm-story-polish .photos .photoitem{padding:8px 8px 0;border:1px solid #e1ece6;background:linear-gradient(145deg,#fff,#e8f3ed);box-shadow:var(--case-3d-shadow);border-radius:23px}
.fm-story-polish .photos figcaption{border:0;background:transparent;padding:12px 12px 16px;color:#466573}
.fm-story-polish .photos .photoitem:last-child figcaption{background:transparent;color:#087f78}
.fm-story-polish .photos img{border-radius:15px 15px 17px 17px;margin-bottom:8px;background:#eaf1ed}
.fm-story-polish .fact{background:linear-gradient(145deg,#fafffc,#e3f5ea);border:1px solid #d9eee2;box-shadow:0 4px 0 #cfe4d6,0 14px 23px -20px #1c594a66;border-radius:20px}
.fm-story-polish .timeline{background:linear-gradient(135deg,#fff8ec,#f4faf6)}
.fm-story-polish .after>img{padding:8px;border:1px solid #fff;border-radius:25px;background:#edf4ef;box-shadow:var(--case-3d-shadow)}
.fm-story-polish .quote{background:linear-gradient(135deg,#f6fffa,#e8f7ee);border:1px solid #d6ebdf;border-left:4px solid #18a38d;padding:24px 26px;border-radius:19px;box-shadow:0 4px 0 #dcece2,0 12px 24px -20px #1f5b4766}
.fm-story-polish .review img{border:1px solid #dfece5;box-shadow:var(--case-3d-shadow)}
.fm-story-polish .video{background:radial-gradient(ellipse at center,#ddf3ed,#f2f8f8 75%)}
.fm-story-polish .video video{border:7px solid #fff;border-radius:25px;box-shadow:0 7px 0 #cddfdb,0 25px 44px -24px #173f52a0}
.fm-story-polish .cta{background:radial-gradient(ellipse at 100% 0,#216d68,transparent 70%),#12364a;border:1px solid #285262;box-shadow:0 6px 0 #092839,0 23px 40px -26px #14365088}
.fm-story-polish .cta .btn-secondary,.fm-cases-index .btn-secondary{background:linear-gradient(145deg,#ffffff12,#ffffff05);color:#f0fffa;border:1px solid #7aa7a8;box-shadow:0 4px 0 #092c36,inset 0 1px 0 #ffffff22}
.fm-story-polish .cta .btn-secondary:hover,.fm-cases-index .btn-secondary:hover{background:#ffffff18;box-shadow:0 6px 0 #092c36}
.fm-cases-index .fm-r-story.fm-r-compact{border:1px solid #e0ece5;border-top-color:#fff;background:linear-gradient(150deg,#fff 65%,#f1faf5);box-shadow:var(--case-3d-shadow);margin-bottom:26px}
.fm-cases-index .fm-r-compact-photo{border:5px solid #fff;border-radius:18px;box-shadow:0 4px 0 #d5e7df,0 12px 22px -16px #184b4666;overflow:hidden}
.fm-cases-index .fm-r-guide{background:linear-gradient(145deg,#fff,#eaf9f0);border:1px solid #e0eee6;border-radius:20px;padding:18px;box-shadow:0 4px 0 #d7eade,0 14px 22px -20px #18514566}
@media(max-width:600px){.fm-story-polish .fm-r-detail-photo{padding:6px 6px 0;border-radius:23px;transform:none}.fm-story-polish .fm-r-detail-photo .heroimg{border-radius:17px 17px 0 0}.fm-story-polish .fm-r-detail-caption{margin:0 -6px;padding:14px 12px}.fm-story-polish .fm-story-nav .wrap{gap:12px}.fm-story-polish .fm-story-nav-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fm-story-polish .fm-story-nav-links a{padding:10px 5px 12px;flex-direction:column;text-align:center;gap:7px;font-size:10px;line-height:1.5}.fm-story-polish .fm-story-nav-links a span{width:25px;height:25px;font-size:10px}.fm-story-polish .card,.fm-story-polish #percorso .card,.fm-story-polish .timeline .card{border-radius:20px}.fm-story-polish .photos .photoitem{padding:5px 5px 0;border-radius:16px}.fm-story-polish .photos figcaption{font-size:10px;padding:10px 5px 12px}.fm-story-polish .photos img{border-radius:10px;margin-bottom:5px}.fm-story-polish .quote{padding:20px;border-radius:17px}.fm-story-polish .video video{border-width:5px;border-radius:22px}.fm-cases-index .fm-r-compact-photo{border-width:4px;border-radius:15px}}
@media(prefers-reduced-motion:reduce){.fm-story-polish .btn,.fm-cases-index .btn{transition:none}}
