/* Exact core palette from the original texmetall67.ru page. */
:root {
  --ink: #0f2d5c;
  --navy: #1a5296;
  --muted: #5a6a7a;
  --orange: #f47920;
  --line: #d0dcea;
  --paper: #f4f7fa;
}
header { border-bottom: 3px solid #f47920; }
.logo svg { width: 190px; height: 62px; display: block; }
header nav { color: #1a5296; font-weight: 650; }
.heroShell { background: #0f2d5c; }
.hero { color: #fff; }
.hero .eyebrow { color: #0f2d5c; background: #f47920; width: fit-content; padding: 5px 12px; }
.hero .heroSub, .hero .location { color: #dce7f4; }
.hero .textlink { color: #fff; }
.heroVisual { background: #e8f0f9; color: #0f2d5c; }
.eyebrow { color: #a44400; }
.products { background: #f4f7fa; }
.productGrid article { border-top: 3px solid #1a5296; }
.productGrid article:first-child { border-top-color: #f47920; }
.productGrid article > a { color: #1a5296; }
.conditions { background: #e8f0f9; }
.faq details { border-color: #c2d2e5; }
.contact { background: #0f2d5c; }
.navy { background: #1a5296; }
.orange { background: #f47920; color: #0f2d5c; }
.reviewbar { background: #e8f0f9; color: #0f2d5c; }
@media (max-width: 700px) {
  header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .logo svg { width: 135px; max-width: 100%; height: 45px; }
  .phone { font-size: 11px; }
  .mobileNav { top: 78px; }
}

/* Approved products A */
.productExtras { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 20px; }
.productExtras article { background: #fff; border: 1px solid var(--line); padding: 24px; }
.productExtras h3 { font-size: 20px; margin: 12px 0 8px; }
.productExtras p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
@media(max-width:700px) { .productExtras { grid-template-columns: 1fr; gap: 18px; } }

/* Source-based pricing draft */
.priceExamples { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.priceExamples article { min-width:0; border:1px solid var(--line); border-top:3px solid var(--navy); padding:28px; display:flex; flex-direction:column; align-items:flex-start; }
.priceExamples article:first-child { border-top-color:var(--orange); }
.priceExamples h3 { margin-bottom:10px; }
.priceSize,.priceFootnote { color:var(--muted); font-size:14px; }
.priceValue { font-size:44px; font-weight:800; margin:8px 0 24px; color:var(--ink); }
.priceValue span { font-size:30px; }
.priceExamples .btn { margin-top:auto; text-align:center; }
.pricingOwnerNote { background:#fff1e5; border-left:3px solid var(--orange); padding:14px 18px; font-size:13px; margin-bottom:25px; }
.priceFootnote { margin-top:24px; max-width:800px; }
@media(max-width:700px) { .priceExamples { grid-template-columns:1fr; gap:18px; } .priceExamples article { padding:24px; } .priceValue { font-size:40px; } }

/* Confirmed 50 percent prepayment */
.pricePayment { font-size:14px; color:var(--ink); margin:-12px 0 24px; }

/* Approved conditions B */
.conditionCards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:32px 0; }
.conditionCards article { min-width:0; background:white; border:1px solid var(--line); border-top:3px solid var(--navy); padding:25px; }
.conditionCards article:nth-child(2) { border-top-color:var(--orange); }
.conditionCards h3 { font-size:23px; margin:18px 0; }
.conditionCards p { font-size:14px; color:var(--muted); }
@media(max-width:700px) { .conditionCards { grid-template-columns:1fr; gap:18px; } }

/* Approved warranty A */
.warrantyBlock { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.warrantyIntro>p { color:var(--muted); font-size:16px; }
.warrantyIntro .eyebrow { color:#a44400; font-size:11px; }
.warrantyTerms { font-size:14px!important; border-left:3px solid var(--orange); padding-left:18px; margin-top:28px; }
.warrantyProcess { border:1px solid var(--line); border-top:3px solid var(--navy); padding:28px; }
.warrantyProcess h3 { margin-top:0; }
.warrantyProcess ol { padding-left:22px; }
.warrantyProcess li { padding-left:6px; margin:18px 0; font-size:15px; }
.warrantyProcess li p { font-size:14px; color:var(--muted); margin:6px 0; }
.warrantyProcess .actions { gap:14px; flex-wrap:wrap; }
.warrantyProcess .actions>a:last-child { font-size:14px; }
@media(max-width:700px) { .warrantyBlock { grid-template-columns:1fr; gap:28px; } .warrantyProcess { padding:22px; } }

/* Approved evidence A */
.priceEvidence { border-top:1px solid var(--line); margin-top:30px; padding-top:25px; }
.priceEvidence h3 { margin:0 0 12px; }
.priceEvidence>p { color:var(--muted); font-size:14px; max-width:800px; }
.sourceEstimate summary { cursor:pointer; color:var(--navy); font-size:15px; font-weight:700; padding:15px 0; width:fit-content; }
.sourceEstimate summary:focus-visible { outline:3px solid var(--orange); outline-offset:4px; }
.sourceEstimateBody { display:grid; grid-template-columns:minmax(0,340px) minmax(0,1fr); gap:28px; padding:22px; border:1px solid var(--line); background:var(--paper); }
.sourceEstimateBody>a { display:block; }
.sourceEstimateBody img { display:block; width:100%; height:auto; max-height:460px; object-fit:contain; }
.sourceEstimateBody p { font-size:14px; color:var(--muted); }
.sourceEstimateBody div>a { display:inline-block; font-size:14px; margin-top:12px; text-underline-offset:4px; }
@media(max-width:700px) { .sourceEstimateBody { grid-template-columns:1fr; gap:18px; padding:18px; } }

/* Approved combined B2B */
.brigadesBlock { background:var(--ink); color:#fff; }
.brigadesBlock .eyebrow { color:#ffb57c; }
.brigadeLead { font-size:18px; max-width:760px; color:#dce7f4; }
.brigadeTiers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:30px 0; }
.brigadeTiers article { min-width:0; background:#fff; color:var(--ink); padding:25px; border-top:3px solid var(--navy); }
.brigadeTiers article:last-child { border-top-color:var(--orange); }
.brigadeTiers h3 { margin:17px 0 12px; font-size:28px; }
.brigadeTiers p { font-size:14px; color:var(--muted); }
.brigadeRules { max-width:930px; color:#dce7f4; font-size:14px; }
.brigadeFacts { display:flex; flex-wrap:wrap; gap:12px 24px; border-top:1px solid #ffffff35; border-bottom:1px solid #ffffff35; padding:18px 0; margin:24px 0; font-size:13px; }
.brigadesBlock .btn { margin-top:14px; }
@media(max-width:700px) { .brigadeTiers { grid-template-columns:1fr; gap:18px; } .brigadeFacts { flex-direction:column; gap:12px; } }

/* Form A and reference-to-visual comparison */
.sourceWithVisual { grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr); }
.sourceWithVisual figure { min-width:0; margin:0; background:#fff; border:1px solid var(--line); padding:16px; }
.sourceWithVisual figcaption { color:var(--ink); font-weight:700; font-size:14px; margin-bottom:12px; }
.sourceWithVisual figure img { height:360px; max-height:none; width:100%; object-fit:contain; }
.sourceWithVisual figure>a:last-child { font-size:13px; display:inline-block; margin-top:10px; }
.sourceVisualization p { font-size:12px!important; margin-bottom:0; }
.sourceNotes { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:10px 22px; color:var(--muted); font-size:13px; }
.requestHours { color:var(--ink)!important; font-weight:700; }
.requestContacts { border-top:1px solid var(--line); padding-top:20px; margin-top:25px; }
.requestContacts a { display:block; margin:10px 0; font-weight:700; }
.requestContacts p { font-size:13px; color:var(--muted); }
.optional { font-weight:400; color:var(--muted); }
.fieldHint { font-size:12px; color:var(--muted); margin:-10px 0 18px; }
.fileList { font-size:12px; padding-left:20px; overflow-wrap:anywhere; margin:0 0 12px; }
.textButton { border:0; padding:5px 0; background:transparent; color:var(--navy); text-decoration:underline; text-underline-offset:3px; width:fit-content; font-size:13px; margin-bottom:20px; }
.consentLabel { display:flex; align-items:flex-start; gap:10px; font-weight:400!important; font-size:12px!important; margin:12px 0 24px!important; }
.consentLabel input { flex:none; width:18px; height:18px; margin:2px 0 0; padding:0; accent-color:var(--navy); }
.consentLabel a { text-underline-offset:3px; }
.formTrap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.formStatus { font-size:14px; color:var(--ink); overflow-wrap:anywhere; }
.formStatus:not(:empty) { border-left:3px solid var(--navy); padding:12px 16px; background:var(--paper); }
.formError { color:#a52318!important; font-size:13px; }
.formStatus.formError { border-color:#a52318; background:#fff1ef; }
.formError:empty,.fileList:empty { display:none; }
#sendRequest:disabled { opacity:.7; cursor:default; }
@media(max-width:700px) { .sourceWithVisual { grid-template-columns:1fr; } .sourceWithVisual figure img { height:auto; max-height:430px; } .request { gap:30px; } }

/* Technical drawing and commercial estimate */
.technicalEstimate { grid-column:1/-1; min-width:0; background:white; border:1px solid var(--line); padding:24px; }
.technicalEstimate h4 { margin:0 0 10px; font-size:21px; color:var(--ink); }
.technicalEstimate>div>p { font-size:14px; color:var(--muted); max-width:760px; }
.technicalPreview { display:block; border:1px solid var(--line); margin-top:20px; }
.sourceWithVisual .technicalPreview img { height:auto; width:100%; max-height:none; object-fit:contain; }
.technicalEstimate .actions { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-top:20px; }
.technicalEstimate .actions a { font-size:13px; }
.technicalHint { font-size:12px!important; color:var(--muted); margin-bottom:0; }
@media(max-width:700px) { .technicalEstimate { padding:18px; } .technicalEstimate h4 { font-size:19px; } }
