/* Prosthetics page only. Shared blocks are styled in pages.css. */

/* ---------- Crown cross-section (hand-made SVG) ---------- */
.pro-crown { display: block; width: 100%; height: auto; overflow: visible; }
.pc-root { fill: #F3E7CF; stroke: rgba(184, 154, 103, .7); stroke-width: 1.2; }
.pc-stump { fill: #E8D2A6; stroke: rgba(154, 122, 69, .8); stroke-width: 1.4; }
.pc-coping { fill: none; stroke: #4C514E; stroke-width: 5; stroke-linejoin: round; }
.pc-crown { stroke: var(--c-forest); stroke-width: 1.8; stroke-linejoin: round; }
.pro-crown--zr .pc-crown { fill: rgba(255, 255, 255, .72); }
.pro-crown--mc .pc-crown { fill: rgba(255, 255, 255, .7); }
.pc-rim { stroke: #3A3F3C; stroke-width: 3.2; stroke-linecap: round; }
.pc-glow { fill: none; stroke: rgba(184, 154, 103, .55); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 2 3; }
.pc-gum { fill: #EADCCB; stroke: rgba(184, 154, 103, .6); stroke-width: 1; }

/* ---------- Crowns: zirconia vs metal-ceramic ---------- */
.pro-crowns { background: var(--c-ivory); }
.pro-crowns__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .62fr) minmax(0, 1fr); gap: clamp(18px, 2vw, 30px); align-items: stretch; }
.pro-cr { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 38px); border-radius: 30px; background: var(--c-paper); border: 1px solid rgba(184, 154, 103, .24); box-shadow: 0 30px 60px -44px rgba(21, 42, 35, .35); transition: translate .6s var(--ease), box-shadow .6s var(--ease); }
.pro-cr:hover { translate: 0 -4px; box-shadow: 0 40px 70px -40px rgba(21, 42, 35, .4), inset 0 0 0 1px rgba(184, 154, 103, .35); }
.pro-cr:target { box-shadow: 0 0 0 2px var(--c-champagne), 0 40px 70px -40px rgba(21, 42, 35, .4); }
.pro-cr__head { display: grid; grid-template-columns: 118px 1fr; gap: 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(184, 154, 103, .35); }
.pro-cr__dia { padding: 8px 6px 0; border-radius: 22px; background: radial-gradient(80% 80% at 50% 30%, #FFFFFF, #F5EEE3); border: 1px solid rgba(184, 154, 103, .25); overflow: hidden; }
.pro-cr__tag { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-ink); margin-bottom: 6px; }
.pro-cr__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.55rem, 1.3rem + .7vw, 2rem); line-height: 1.12; color: var(--c-forest-deep); }
.pro-cr__structure { margin-top: 6px; font-size: .86rem; line-height: 1.5; color: var(--c-stone); }
.pro-cr__rows { display: grid; margin: 4px 0 0; }
.pro-cr__rows > div { padding: 16px 0; border-bottom: 1px dashed rgba(28, 31, 30, .12); }
.pro-cr__rows dt { margin-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-ink); }
.pro-cr__rows dd { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--c-graphite); }
.pro-cr__rows ul { display: grid; gap: 6px; }
.pro-cr__rows li { display: flex; gap: 10px; align-items: flex-start; }
.pro-cr__rows li .i { width: 18px; height: 18px; margin-top: 2px; padding: 3px; border-radius: 50%; border: 1px solid rgba(184, 154, 103, .55); color: var(--c-gold-deep); }
.pro-cr__life dd { display: flex; align-items: baseline; gap: 8px; }
.pro-cr__life small { font-size: .85rem; color: var(--c-stone); }
.pro-cr__life b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.7rem); line-height: 1; color: #9A7640; font-variant-numeric: lining-nums; }
.pro-cr__prices { display: grid; gap: 8px; margin-top: auto; padding-top: 22px; }
.pro-cr__prices li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--c-ivory); font-size: .88rem; color: var(--c-stone); }
.pro-cr__prices b { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: var(--c-forest-deep); white-space: nowrap; font-variant-numeric: lining-nums; }
.pro-cr__prices .is-offer { background: var(--c-forest); color: var(--c-champagne-light); }
.pro-cr__prices .is-offer a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 1.3rem; color: var(--c-ivory); white-space: nowrap; font-variant-numeric: lining-nums; }
.pro-cr__prices .is-offer .i { width: 18px; height: 18px; color: var(--c-champagne-light); transition: transform .4s var(--ease); }
.pro-cr__prices .is-offer a:hover .i { transform: translateX(4px); }
.pro-crowns__media { position: relative; display: flex; align-items: center; justify-content: center; }
.pro-crowns__photo { position: relative; width: 100%; height: 100%; min-height: 420px; border-radius: 999px 999px 30px 30px; overflow: hidden; background: var(--c-cream); box-shadow: 0 40px 70px -40px rgba(21, 42, 35, .45); }
.pro-crowns__photo::after { content: ""; position: absolute; inset: 9px; border-radius: 999px 999px 22px 22px; border: 1px solid rgba(255, 255, 255, .6); pointer-events: none; }
.pro-crowns__photo img { width: 100%; height: 112%; object-fit: cover; }
.pro-crowns__vs { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--c-forest); color: var(--c-champagne-light); font-family: var(--f-display); font-style: italic; font-size: 1.35rem; box-shadow: 0 0 0 8px var(--c-ivory), 0 18px 34px -12px rgba(21, 42, 35, .55); }
.pro-crowns__cta { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 44px); }

/* ---------- Removable dentures ---------- */
.pro-den { background: var(--c-paper); }
.pro-den__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.pro-den__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.pro-den__lead { margin: 18px 0 28px; max-width: 460px; color: var(--c-stone); }
.pro-den__photo { aspect-ratio: 4 / 4.2; max-width: 460px; border-radius: var(--r-xl); overflow: hidden; background: var(--c-cream); box-shadow: 18px 18px 0 -1px rgba(184, 154, 103, .16), 0 30px 60px -36px rgba(21, 42, 35, .35); }
.pro-den__photo img { width: 100%; height: 100%; object-fit: cover; }
.pro-den__list { display: grid; }
.pro-den__item { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: clamp(28px, 3.4vw, 46px) 0; border-top: 1px solid var(--c-line); }
.pro-den__item:last-child { border-bottom: 1px solid var(--c-line); }
.pro-den__item:target .pro-den__name { color: #9A7640; }
.pro-den__num { font-family: var(--f-display); font-style: italic; font-size: 2.2rem; line-height: 1; color: #9A7640; }
.pro-den__sub { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-ink); }
.pro-den__name { margin: 6px 0 12px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.35rem + 1vw, 2.35rem); line-height: 1.1; color: var(--c-forest-deep); }
.pro-den__quote { position: relative; margin: 0 0 12px; padding-left: 18px; border-left: 1px solid rgba(184, 154, 103, .7); }
.pro-den__quote p { font-family: var(--f-display); font-style: italic; font-size: 1.18rem; line-height: 1.45; color: var(--c-forest); }
.pro-den__text { max-width: 560px; font-size: .95rem; color: var(--c-stone); }
.pro-den__prices { display: grid; max-width: 560px; margin: 18px 0 18px; padding: 6px 18px; border-radius: 18px; background: var(--c-ivory); }
.pro-den__prices li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; font-size: .9rem; }
.pro-den__prices li + li { border-top: 1px dashed rgba(28, 31, 30, .12); }
.pro-den__prices i { flex: 1; min-width: 12px; }
.pro-den__prices b { font-weight: 600; color: var(--c-forest-deep); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.pro-den__prices .is-consult span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 1.08rem; color: var(--c-forest); }
.pro-den__prices .is-consult span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-champagne); }

.pro-bar { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; margin-top: clamp(40px, 5vw, 72px); padding: clamp(28px, 3.4vw, 48px) clamp(26px, 4vw, 56px); border-radius: 30px; color: var(--c-ivory); background: radial-gradient(110% 120% at 0% 0%, var(--c-forest-2) 0%, var(--c-forest) 45%, var(--c-forest-deep) 100%); box-shadow: 0 40px 80px -46px rgba(21, 42, 35, .6); }
.pro-bar::after { content: ""; position: absolute; right: -40px; top: -70px; z-index: -1; width: 260px; height: 225px; background: url(../img/tooth/tooth-outline-ivory.svg) center / contain no-repeat; opacity: .08; pointer-events: none; }
.pro-bar__text { max-width: 600px; }
.pro-bar__text .eyebrow { margin-bottom: 12px; }
.pro-bar__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.35rem + 1vw, 2.4rem); line-height: 1.12; color: var(--c-ivory); margin-bottom: 10px; }
.pro-bar__title em { color: var(--c-champagne-light); }
.pro-bar__text > p:last-child { color: rgba(247, 244, 238, .78); }
.pro-bar__side { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.pro-bar__price { display: grid; gap: 2px; }
.pro-bar__price small { font-size: .8rem; color: rgba(247, 244, 238, .7); }
.pro-bar__price b { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; line-height: 1.1; color: var(--c-champagne-light); font-variant-numeric: lining-nums; }

/* ---------- Process ---------- */
.pro-process { background: var(--c-cream); }
.pro-process .psteps__num { background: var(--c-cream); }

/* ---------- Reviews ---------- */
.pro-rev { background: var(--c-ivory); }
.pro-rev__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.pro-rev__head .section-head { margin-bottom: 0; }
.pro-rev__score { display: flex; align-items: center; gap: 16px; }
.pro-rev__score > b { font-family: var(--f-display); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--c-forest-deep); }
.pro-rev__score > span { display: grid; justify-items: start; gap: 4px; color: #C49A4E; }
.pro-rev__score .i { width: 20px; height: 20px; }
.pro-rev__score small { font-size: .8rem; color: var(--c-stone); }
.pro-rev__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pro-rev__card { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 26px; border-radius: 26px; background: var(--c-paper); border: 1px solid rgba(184, 154, 103, .22); box-shadow: 0 24px 50px -40px rgba(21, 42, 35, .35); }
.pro-rev__topic { align-self: flex-start; padding: 5px 12px; border-radius: var(--r-pill); background: var(--c-ivory); border: 1px solid rgba(184, 154, 103, .35); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-ink); }
.pro-rev__stars { display: flex; gap: 3px; color: rgba(184, 154, 103, .3); }
.pro-rev__stars .i { width: 15px; height: 15px; }
.pro-rev__stars .is-on, .pro-rev__score .is-on { color: #C49A4E; }
.pro-rev__card blockquote { flex: 1; }
.pro-rev__card blockquote p { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; line-height: 1.65; color: var(--c-graphite); }
.pro-rev__card figcaption { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: .78rem; color: var(--c-stone); }
.pro-rev__card figcaption b { font-size: .95rem; color: var(--c-forest-deep); }
.pro-rev__link { display: flex; justify-content: center; margin-top: 30px; }

/* ---------- Prices ---------- */
.page-prosthetics .pprice .pinstall { margin-top: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .pro-crowns__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-crowns__media { display: none; }
}
@media (max-width: 1024px) {
  .pro-den__grid { grid-template-columns: 1fr; }
  .pro-den__sticky { position: static; }
  .pro-den__photo { max-width: 520px; aspect-ratio: 16 / 10; }
  .pro-rev__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .pro-crowns__grid { grid-template-columns: 1fr; }
  .pro-cr__head { grid-template-columns: 76px 1fr; gap: 16px; }
  .pro-den__item { grid-template-columns: 1fr; gap: 6px; }
  .pro-den__num { font-size: 1.7rem; }
  .pro-bar { flex-direction: column; align-items: flex-start; }
  .pro-bar__side .btn { width: 100%; }
  .pro-rev__score > b { font-size: 2.6rem; }
}
