/* Excede Finishing: finishing.html */

.fin-hero { padding: clamp(40px, 6.5vw, 108px) 0 clamp(80px, 11vw, 168px); }
.fin-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: end; }
.fin-hero__grid > div { grid-column: 1 / span 5; }
.fin-hero h1 { font-size: clamp(2.8rem, 5.4vw, 5.8rem); margin: 0 0 32px; }
.fin-hero .lede { margin-bottom: 36px; }
.fin-hero__media { grid-column: 7 / span 6; margin: 0; aspect-ratio: 6 / 7; border-radius: 3px; overflow: hidden; }
.fin-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .fin-hero__grid > div, .fin-hero__media { grid-column: 1 / -1; } .fin-hero__media { aspect-ratio: 4 / 3; } }

.suppliers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.supplier { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: clamp(24px, 2.6vw, 40px); background: var(--paper); border-radius: 3px; }
.supplier__icon { width: 52px; height: 52px; color: var(--ink); margin-bottom: 20px; }
.supplier h3 { font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2.2rem); letter-spacing: -0.02em; }
.supplier p { font-size: 15px; color: var(--muted); }
.supplier__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.supplier__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 2px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); transition: background 0.2s, border-color 0.2s; }
.supplier__links a:hover { background: var(--ink); color: var(--plaster); border-color: var(--ink); }
.supplier__links svg { width: 11px; height: 11px; }
@media (max-width: 860px) { .suppliers { grid-template-columns: 1fr; } }

.sheet-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.sheet-intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--head-h) + 32px); }
.sheet { grid-column: 6 / span 7; }
.sheet-intro h2 { margin: 0 0 24px; }
.sheet-toc { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: t; border-top: 1px solid var(--line-2); }
.sheet-toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.sheet-toc a { display: flex; gap: 14px; padding: 12px 0; text-decoration: none; font-weight: 500; color: var(--ink); transition: padding 0.25s var(--ease); }
.sheet-toc a::before { content: counter(t); min-width: 1.4em; font: 400 15px/1.6 var(--f-display); color: var(--muted); }
.sheet-toc a:hover { padding-left: 6px; }
@media (max-width: 980px) { .sheet-intro, .sheet { grid-column: 1 / -1; } .sheet-intro { position: static; } .sheet-toc { display: none; } }

.sheet { display: grid; gap: 18px; }
.sheet-card { margin: 0; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 3px; background: var(--paper); min-width: 0; scroll-margin-top: calc(var(--head-h) + 16px); }
.sheet-card legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; padding: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 300; color: var(--ink); letter-spacing: -0.015em; }
.sheet-card legend + * { clear: both; }
.sheet-card legend .mono { font-family: var(--f-display); font-weight: 400; font-size: 0.72em; color: var(--muted); }
.sheet-card .label { display: block; margin-bottom: 10px; }
.sheet-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.sheet-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 720px) { .sheet-row, .sheet-row--2 { grid-template-columns: 1fr; } }

.choices { display: grid; gap: 10px; }
.choices--doors { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.choices--profiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .choices--doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } .choices--profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; padding: 12px 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--plaster); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice svg { width: 100%; height: 86px; color: var(--ink-2); }
.choices--profiles .choice svg { height: 64px; }
.choice span { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.choice:hover { border-color: var(--line-2); background: #fff; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #fff; }
.choice:has(input:checked) svg { color: var(--oxblood); }
.choice:has(input:focus-visible) { outline: 2px solid var(--oxblood); outline-offset: 3px; }

.metals-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .metals-row { grid-template-columns: 1fr 1fr; } }
.metal { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--plaster); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.metal input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.metal i { width: 26px; height: 26px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12); }
.metal span { font-size: 13px; font-weight: 500; color: var(--ink); }
.metal:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #fff; }
.metal:has(input:focus-visible) { outline: 2px solid var(--oxblood); outline-offset: 3px; }

.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .counts { grid-template-columns: 1fr; } }
.count { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border: 1px solid var(--line); border-radius: 3px; background: var(--plaster); }
.count b { display: block; color: var(--ink); font-size: 15px; }
.count small { font-size: 12.5px; color: var(--muted); }
.count input { width: 68px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); font: 500 16px/1 var(--f-body); color: var(--ink); text-align: center; }
.count input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(124, 31, 29, 0.14); }

.sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sheet-done { display: grid; gap: 4px; padding: 18px 20px; border-radius: 3px; background: var(--walnut); color: var(--on-dark-2); outline: none; }
.sheet-done b { color: var(--on-dark); font-size: 16px; }

.fin-cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: end; }
.fin-cta > :first-child { grid-column: 1 / span 7; }
.fin-cta > :last-child { grid-column: 9 / span 4; }
@media (max-width: 900px) { .fin-cta > :first-child, .fin-cta > :last-child { grid-column: 1 / -1; } }

@media print {
  .site-head, .site-foot, .fin-hero, #suppliers, .sheet-intro, .sheet-actions, .fin-cta, .drop { display: none !important; }
  .section { padding: 0; }
  .sheet-wrap { display: block; }
  .sheet-card { break-inside: avoid; border-color: #bbb; }
}
