/* Renovation page (template-parts/looks/renovation.php): built on the look's tokens (looks-bt.css), no palette of its own.
   Thin lines, no shadows or gradients (brief section 6). Prefix reno-. */
.reno .lk-cap a { color: inherit; }

/* 1. first screen */
.reno-hero { padding-block: 56px 64px; }
@media (min-width: 1024px) { .reno-hero { padding-block: 96px 112px; } }
.reno-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .reno-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.reno-crumbs { font-size: 14px; color: var(--fg2); margin-bottom: 20px; }
.reno-crumbs a { color: inherit; }
.reno-hero .lk-h1 { margin: 12px 0 20px; max-width: 18ch; }
@media (min-width: 1024px) { .sea-look .reno-hero .lk-h1 { font-size: clamp(44px, 4.4vw, 66px) !important; line-height: 1.08; } }
.reno-hero .lk-sh-lead { max-width: 560px; }
.reno-hero .lk-final-btns { margin-top: 32px; }
.reno-hero .lk-cap { margin-top: 16px; max-width: 520px; }
.reno-hero-art { color: var(--accent); max-width: 520px; width: 100%; justify-self: center; }
.reno-plan { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .reno-hero-art { display: none; } }

/* 2. strip of advantages */
.reno-pluses { border-block: 1px solid var(--line); background: var(--bg); }
.reno-pluses ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.reno-pluses li { display: flex; gap: 12px; align-items: flex-start; padding: 24px 20px; font-size: 15px; line-height: 1.4; color: var(--fg2); }
.reno-pluses li + li { border-left: 1px solid var(--line); }
.reno-pluses li b { display: block; color: var(--hd); font-weight: 600; }
.reno-pluses .lk-ico { flex: none; width: 24px; height: 24px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (max-width: 1023px) {
  .reno-pluses ul { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .reno-pluses li { scroll-snap-align: start; padding: 20px 16px; }
}

/* 3. formats */
.reno-formats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.reno-format { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); background: var(--surface, transparent); }
.reno-format:nth-child(4), .reno-format:nth-child(5) { grid-column: span 3; }
.reno-format h3 { margin: 0; font-size: 22px; line-height: 1.25; color: var(--hd); }
.reno-format p { margin: 0; color: var(--fg2); line-height: 1.55; }
.reno-format .reno-for { color: var(--fg); font-weight: 500; }
.reno-tag { align-self: flex-start; padding: 4px 10px; border: 1px solid var(--accent); border-radius: 999px; font-size: 13px; color: var(--accent); }
.reno-link { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.reno-link::after { content: "\00a0→"; } /* the arrow never wraps alone (owner 08.11.2026: buttons on one line) */
.reno-link:hover { text-decoration: underline; }
@media (max-width: 1023px) {
  .reno-formats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(280px, 84%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .reno-format, .reno-format:nth-child(4), .reno-format:nth-child(5) { grid-column: auto; scroll-snap-align: start; padding: 24px; }
}

/* 4. cost */
.reno-scale-title { margin-bottom: 24px; }
.reno-scale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.reno-scale::before { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; height: 1px; background: var(--line); }
.reno-scale li { position: relative; padding-top: 36px; }
.reno-scale li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg); }
.reno-scale li:nth-child(2)::before { background: color-mix(in srgb, var(--accent) 45%, var(--bg)); }
.reno-scale li:nth-child(3)::before { background: var(--accent); }
.reno-scale b { display: block; font-size: 28px; line-height: 1.2; color: var(--hd); font-family: var(--f-d, inherit); font-weight: var(--h2w, 500); }
.reno-scale p { margin-top: 10px; color: var(--fg2); line-height: 1.55; }
.reno-note { margin-top: 28px; padding: 16px 20px; border-left: 2px solid var(--accent); color: var(--fg); max-width: 760px; }
.reno-cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 64px; }
.reno-cost-grid h3 { margin: 0 0 20px; font-size: 22px; color: var(--hd); }
.reno-factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.reno-factors li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.reno-factors li:last-child { border-bottom: 1px solid var(--line); }
.reno-factors b { color: var(--hd); font-weight: 600; }
.reno-factors span { color: var(--fg2); }
.reno-pay { margin: 0; padding-left: 22px; display: grid; gap: 14px; color: var(--fg); line-height: 1.55; }
.reno-pay li::marker { color: var(--accent); }
#cost .lk-final-btns { margin-top: 48px; }
@media (max-width: 1023px) {
  .reno-scale { grid-template-columns: none; gap: 28px; padding-left: 32px; }
  .reno-scale::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .reno-scale li { padding-top: 0; }
  .reno-scale li::before { left: -32px; top: 6px; }
  .reno-scale b { font-size: 24px; }
  .reno-cost-grid { grid-template-columns: none; gap: 40px; margin-top: 48px; }
}

/* 5. process */
.reno-stages { display: grid; gap: 0; max-width: 920px; }
.reno-stage { border-top: 1px solid var(--line); }
.reno-stage:last-child { border-bottom: 1px solid var(--line); }
.reno-stage summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 22px 0; cursor: pointer; font-size: 24px; color: var(--hd); }
.reno-stage summary::-webkit-details-marker { display: none; }
.reno-stage summary small { margin-left: auto; font-size: 14px; color: var(--fg2); }
.reno-stage-mark { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--accent); flex: none; }
.reno-stage-2 .reno-stage-mark { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.reno-stage-3 .reno-stage-mark { background: var(--accent); }
.reno-stage ol { list-style: none; margin: 0 0 24px 5px; padding: 0 0 0 28px; border-left: 1px solid var(--accent); display: grid; gap: 20px; }
.reno-stage li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
.reno-step-no { grid-row: span 2; font-size: 14px; color: var(--accent); padding-top: 3px; }
.reno-stage li b { color: var(--hd); font-weight: 600; }
.reno-stage li p { color: var(--fg2); margin-top: 4px; line-height: 1.5; }
@media (min-width: 1024px) {
  .reno-stage summary { pointer-events: none; }
  .reno-stage summary small { display: none; }
  .reno-stage:not([open]) > ol { display: grid; }
}

/* 6. remote control */
.reno-remote { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: center; }
.reno-remote-lead { font-size: 22px; line-height: 1.45; color: var(--hd); max-width: 560px; }
.reno-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.reno-checks li { position: relative; padding-left: 30px; line-height: 1.5; }
.reno-checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.reno-phone { margin: 0; justify-self: center; width: 100%; max-width: 320px; }
.reno-phone-screen { border: 1px solid var(--line); border-radius: 36px; padding: 28px 18px; background: var(--surface, var(--bg)); display: grid; gap: 12px; font-size: 14px; }
.reno-phone-head { font-weight: 600; color: var(--hd); text-align: center; }
.reno-phone-photo { aspect-ratio: 4 / 3; border-radius: 14px; border: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent 0 22px, color-mix(in srgb, var(--accent) 22%, transparent) 22px 23px), repeating-linear-gradient(0deg, transparent 0 22px, color-mix(in srgb, var(--accent) 22%, transparent) 22px 23px); display: flex; align-items: flex-end; padding: 10px; }
.reno-phone-photo span { background: var(--bg); border-radius: 8px; padding: 4px 8px; font-size: 12px; }
.reno-phone-msg { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); line-height: 1.4; }
.reno-phone table { width: 100%; border-collapse: collapse; font-size: 13px; }
.reno-phone th, .reno-phone td { padding: 7px 4px; border-top: 1px solid var(--line); text-align: left; }
.reno-phone th { color: var(--fg2); font-weight: 500; }
.reno-phone td + td, .reno-phone th + th { text-align: right; white-space: nowrap; }
.reno-phone figcaption { text-align: center; margin-top: 12px; }
@media (max-width: 1023px) { .reno-remote { grid-template-columns: none; gap: 48px; } .reno-remote-lead { font-size: 19px; } }

/* 7. investors (dark section of the look) */
.reno-inv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.reno-inv-i { padding: 28px 24px 8px 0; }
.reno-inv-i + .reno-inv-i { padding-left: 24px; border-left: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.reno-inv-i b { display: block; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.reno-inv-i p { opacity: .82; line-height: 1.55; }
#investors .lk-final-btns { margin-top: 48px; }
@media (max-width: 1023px) { .reno-inv { grid-template-columns: 1fr 1fr; } .reno-inv-i:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 559px) { .reno-inv { grid-template-columns: none; } .reno-inv-i, .reno-inv-i + .reno-inv-i { border-left: 0; padding: 22px 0 6px; } .reno-inv-i + .reno-inv-i { border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); } }

/* 8. guarantees */
.reno-guar { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; margin: 0; }
.reno-guar dt { font-size: 20px; color: var(--hd); margin-bottom: 8px; }
.reno-guar dd { margin: 0; color: var(--fg2); line-height: 1.6; }
.reno-leader { display: flex; gap: 28px; align-items: flex-start; margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--line); }
.reno-leader img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.reno-leader figcaption { display: grid; gap: 6px; }
.reno-leader blockquote { margin: 10px 0 6px; font-size: 18px; line-height: 1.55; color: var(--fg); max-width: 720px; }
@media (max-width: 767px) { .reno-guar { grid-template-columns: none; gap: 28px; } .reno-leader { flex-direction: column; } }

/* 9. certificate */
.reno-cert { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; padding: 48px; border: 1px solid var(--accent); border-radius: var(--radius); outline: 1px solid var(--accent); outline-offset: -10px; background: var(--bg); }
.reno-cert-main { display: grid; gap: 18px; align-content: start; line-height: 1.6; }
.reno-cert-price { font-size: 20px; color: var(--hd); }
.reno-cert-price s { color: var(--fg2); }
.reno-cert-price b { color: var(--accent); }
.reno-cert-list b { display: block; margin-bottom: 12px; color: var(--hd); }
.reno-cert-list ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--fg2); }
@media (max-width: 1023px) { .reno-cert { grid-template-columns: none; padding: 32px 24px; gap: 32px; } }

/* 10. portfolio */
.reno-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reno-ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.reno-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reno-ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.reno-ba input { position: absolute; inset: auto 0 8px; width: 100%; }
@media (max-width: 1023px) { .reno-cases { grid-template-columns: none; } }

/* 12. form (block and window) */
.reno-form-wrap { max-width: 760px; }
.reno-form { display: grid; gap: 22px; }
.reno-f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.reno-f { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.reno-f > span, .reno-f legend { font-size: 14px; opacity: .85; padding: 0; }
.reno-form input:not([type=radio]):not([type=checkbox]):not([type=file]), .reno-form select, .reno-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--field-line, var(--line)); border-radius: var(--radius); background: var(--field, #fff); color: var(--fg); font: inherit; font-size: 16px; box-sizing: border-box; }
.reno-form textarea { min-height: 96px; resize: vertical; }
.reno-phone-in { display: grid; grid-template-columns: 132px 1fr; gap: 8px; }
.reno-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.reno-pill { position: relative; }
.reno-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.reno-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--field-line, var(--line)); border-radius: 999px; font-size: 15px; background: var(--field, transparent); color: var(--fg); }
.reno-pill input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--btn-fg, #fff); }
.reno-pill input:focus-visible + span { outline: 2px solid var(--focus, var(--accent)); outline-offset: 2px; }
.reno-drop { position: relative; display: grid; gap: 4px; justify-items: start; padding: 18px; border: 1px dashed var(--field-line, var(--line)); border-radius: var(--radius); cursor: pointer; }
.reno-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.reno-drop span { font-weight: 600; }
.reno-drop small { opacity: .75; }
.reno-file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.reno-file-list button { border: 0; background: none; color: inherit; font-size: 18px; cursor: pointer; padding: 0 6px; }
.reno-check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.reno-check input { width: 20px; height: 20px; accent-color: var(--accent); }
.reno-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reno-object { font-size: 15px; }
.reno-error { padding: 12px 14px; border-radius: var(--radius); border: 1px solid #c0392b; color: #c0392b; background: #fff; }
.reno-submit { justify-self: start; min-width: 260px; }
.reno-submit.is-busy { opacity: .6; pointer-events: none; }
.reno-done { max-width: 640px; display: grid; gap: 16px; }
.reno-done h3 { font-size: 28px; margin: 0; }
.reno-alt { margin-top: 28px; }
.reno-alt a { color: inherit; text-decoration: underline; }
@media (max-width: 767px) { .reno-f-grid { grid-template-columns: none; } .reno-submit { width: 100%; } }

/* the window */
.reno-dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
.reno-dialog::backdrop { background: rgba(15, 20, 30, .55); }
.reno-dialog .lk-h2 { margin: 6px 0 28px; }
.reno-dialog .reno-pill input:checked + span { color: var(--btn-fg, #fff); }
.reno-dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--fg); cursor: pointer; padding: 6px; }
@media (max-width: 767px) { .reno-dialog { padding: 28px 18px; } }

/* mobile bar: «Расчёт» · «Написать» instead of the site's contact bar on this page */
.reno-bar { display: none; }
@media (max-width: 767px) {
  body .sea-contact-bar { display: none !important; }
  .reno-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9600; gap: 8px; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
  .reno-bar a { flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .reno { padding-bottom: 80px; }
}

/* Fixes after the owner's look in Safari (04.11.2026): the look's own h3 rules won over these (bold, no margin), and
   Safari draws a native select (filled, bold, no border) next to bordered inputs. */
.sea-look .reno h3 { font-weight: var(--h3w, 500) !important; letter-spacing: 0; }
.sea-look .reno .reno-cost-grid h3 { margin: 0 0 24px !important; font-size: 24px !important; line-height: 1.25 !important; }
.sea-look .reno .reno-format h3 { line-height: 1.25 !important; }
.sea-look .reno .reno-pay { margin-top: 0; }
.sea-look .reno .reno-form select {
  -webkit-appearance: none; appearance: none; font-weight: 400 !important; padding-right: 40px !important; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 12px 8px !important; }
.sea-look .reno .reno-form input, .sea-look .reno .reno-form select, .sea-look .reno .reno-form textarea { font-weight: 400 !important; border-radius: var(--radius); }
.reno-phone-in { grid-template-columns: 176px 1fr; }
@media (max-width: 400px) { .reno-phone-in { grid-template-columns: 150px 1fr; } }
/* The look turns selects into its own drop-down (assets/js/looks.js, .lk-sel): in this form it looks like the other fields. */
.sea-look .reno .reno-form .lk-sel-btn {
  width: 100%; min-height: 52px; padding: 12px 40px 12px 14px !important; border: 1px solid var(--field-line, var(--line)) !important; border-radius: var(--radius) !important;
  background: var(--field, #fff) !important; color: var(--fg) !important; font: inherit; font-size: 16px !important; font-weight: 400 !important; text-align: left; box-shadow: none !important; }
.sea-look .reno .reno-form .lk-sel-text { font-weight: 400 !important; }
