/* Mata Electric — public site styles */
:root {
  --accent: #FF6210;
  --accent-dark: #d94d05;
  --dark: #140B06;
  --dark-2: #241713;
  --ink: #1e1e1e;
  --text: #45403d;
  --muted: #7a726d;
  --line: #e7e2de;
  --soft: #f6f3f0;
  --white: #fff;
  --radius: 2px;
  --container: 1200px;
  --head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --shadow: 0 10px 30px rgba(20, 11, 6, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 16px/1.7 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.notice-bar { background: #fff4d6; color: #5c4400; text-align: center; padding: 8px 16px; font-size: .9rem; }
.notice-bar a { font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .82rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em;
  padding: 1.05em 2em; border: 2px solid transparent; border-radius: var(--radius); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--dark); color: #fff; }
.btn-sm { padding: .8em 1.2em; font-size: .72rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.link-arrow { font: 600 .82rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: ' →'; color: var(--accent); }
.link-arrow:hover { color: var(--accent); }

/* Header */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand img { width: 170px; height: auto; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.menu { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 30px 12px; color: #fff; text-decoration: none; font: 500 .9rem var(--head); }
.menu > li > a:hover, .menu > li.active > a { color: var(--accent); }
.menu .sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; box-shadow: var(--shadow);
  border-top: 3px solid var(--accent); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.menu > li:hover > .sub, .menu > li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub a { display: block; padding: 9px 20px; color: var(--ink); text-decoration: none; font: 500 .88rem var(--head); }
.menu .sub a:hover, .menu .sub .active a { color: var(--accent); background: var(--soft); }
.sub-toggle { display: none; }
.nav-extra { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--accent); text-decoration: none; font: 500 .88rem var(--head); white-space: nowrap; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; text-decoration: none; font: 700 .72rem var(--head); }
.lang-switch span { padding: 6px 9px; color: rgba(255,255,255,.65); }
.lang-switch span.on { background: var(--accent); color: #fff; }
.lang-switch:hover span:not(.on) { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .2s; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 84px 0 0 0; background: var(--dark); flex-direction: column; align-items: stretch; padding: 12px 24px 40px; overflow-y: auto; display: none; }
  .site-nav.open { display: flex; }
  .menu { flex-direction: column; margin: 0; }
  .menu > li > a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu > li.has-sub > a { padding-right: 50px; }
  .menu .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; display: none; padding: 0 0 8px 12px; }
  .menu .sub.open { display: block; }
  .menu .sub a { color: rgba(255,255,255,.8); }
  .menu .sub a:hover { background: transparent; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 6px; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; }
  .sub-toggle::before { content: '+'; font-size: 1.4rem; }
  .sub-toggle[aria-expanded="true"]::before { content: '–'; }
  .nav-extra { flex-wrap: wrap; margin-top: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--dark-2); color: #fff; padding: 90px 0 80px; overflow: hidden; }
.page-hero.has-image { background: linear-gradient(90deg, rgba(20,11,6,.92) 0%, rgba(20,11,6,.7) 55%, rgba(20,11,6,.45) 100%), var(--hero-img) center/cover; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 860px; }
.page-hero .lead { max-width: 720px; font-size: 1.08rem; color: rgba(255,255,255,.85); }
.page-hero::after { content: ''; position: absolute; left: 0; bottom: 0; width: 140px; height: 6px; background: var(--accent); }
.crumbs { font-size: .82rem; margin-bottom: 1.4rem; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.eyebrow { font: 600 1rem var(--head); color: var(--accent); margin: 0 0 .7rem; }
.eyebrow.small { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }

/* Sections */
.sec { padding: 88px 0; }
.sec + .sec:not([class*="bg-"]):not(.sec-hero):not(.sec-numbered):not(.sec-cta) { padding-top: 0; }
.sec.bg-soft { background: var(--soft); padding-top: 88px; }
.sec.bg-dark { background: var(--dark); color: rgba(255,255,255,.82); padding-top: 88px; }
.sec.bg-dark h2, .sec.bg-dark h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 2.6rem; }
.sec-title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.sec-intro { font-size: 1.04rem; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.sec-head-row .link-arrow { margin-top: 2.6rem; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--soft); color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--accent); margin: 1em 0; padding: .4em 1.2em; background: var(--soft); }

/* Hero (home) */
.sec-hero { padding: 0; }
.hero { background: linear-gradient(90deg, rgba(20,11,6,.9) 0%, rgba(20,11,6,.65) 60%, rgba(20,11,6,.35) 100%), var(--hero-img, none) center/cover, #4a4440; color: #fff; }
.hero-inner { padding: 150px 24px 200px; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; max-width: 900px; margin-bottom: .45em; }
.hero-text { max-width: 640px; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.sec.sec-hero + .sec:not(.sec-highlight):not([class*="bg-"]) { padding-top: 88px !important; }
.sec-first.sec-hero + .sec-highlight { margin-top: -120px; position: relative; padding-top: 0; }

/* Highlight */
.highlight { display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); background: #fff; }
.highlight-box { background: var(--accent); color: #fff; padding: 56px 52px; }
.highlight-box .eyebrow { color: var(--dark); }
.highlight-box h2, .highlight-box h3 { color: var(--dark); font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.highlight-box .sec-intro { color: rgba(255,255,255,.92); font-size: .95rem; }
.hl-head { margin-bottom: 1.8rem; }
.highlight-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-left: 0; }
.highlight-grid li { padding: 30px 22px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 700 1.05rem/1.3 var(--head); color: var(--ink); position: relative; }
.highlight-grid li::before { content: ''; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 14px; }

/* Text */
.text-block.with-image { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.text-block.img-left .img-col { order: -1; }
.text-block:not(.with-image) { max-width: 860px; }
.text-col .btn { margin-top: 1.6rem; }
.img-col { margin: 0; position: relative; }
.img-col img { width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.img-col::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--accent); z-index: -1; }
.img-left .img-col::before { inset: 22px 22px -22px -22px; }

/* Cards */
.cards { display: grid; gap: 34px 28px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; display: flex; flex-direction: column; }
.bg-soft .card { padding-bottom: 8px; }
.card-img { aspect-ratio: 380 / 250; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 22px 4px 0; }
.bg-soft .card-body { padding: 22px 22px 14px; }
.card h3 { font-size: 1.22rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { font-size: .95rem; }
.card-more { font: 600 .78rem var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--accent-dark); }
.cards:not(.child-cards) .card:not(:has(.card-img)) { border-top: 3px solid var(--accent); }
.cards:not(.child-cards) .card:not(:has(.card-img)) .card-body { padding: 24px 0 0; }

/* Numbered band */
.sec-numbered { padding-top: 0; }
.numbered-band { background: var(--accent); color: rgba(255,255,255,.9); padding: 64px 56px; }
.numbered-band .sec-title, .numbered-band .eyebrow { color: var(--dark); }
.numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px 34px; }
.numbered .num { display: block; font: 700 2.2rem/1 var(--head); color: #fff; margin-bottom: 16px; }
.numbered h3 { color: var(--dark); font-size: 1.05rem; }
.numbered p { font-size: .9rem; margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0 0 2rem; padding: 0; counter-reset: s; max-width: 900px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; position: relative; padding-bottom: 28px; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.step-n { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 1.2rem var(--head); }
.steps h3 { font-size: 1.15rem; margin: 12px 0 .4em; }
.bg-dark .steps li::before { background: rgba(255,255,255,.15); }

/* Checklist */
.checklist { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; max-width: 900px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.bg-dark .checklist li { color: #fff; }

/* FAQ */
.faq { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 600 1.05rem var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 14px; font-size: 1.6rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq-a { padding: 0 0 18px; }

/* Logos */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px; }
.logos li { text-align: center; width: 150px; }
.logos img { width: 130px; height: 130px; object-fit: contain; margin: 0 auto 10px; }
.logos span { font: 600 .9rem var(--head); color: var(--ink); }

/* CTA */
.sec-cta { padding-top: 0; }
.sec.sec-cta:first-child { padding-top: 88px !important; }
.cta-band { background: var(--dark); color: rgba(255,255,255,.85); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-left: 6px solid var(--accent); }
.cta-band.has-image { background: linear-gradient(90deg, rgba(20,11,6,.95), rgba(20,11,6,.7)), var(--hero-img) center/cover; }
.cta-band .sec-head { margin: 0; }
.cta-band h2 { color: #fff; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.toc-content .form-wrap { grid-template-columns: 1fr; gap: 20px; }
.site-form, .form-success { background: #fff; border: 1px solid var(--line); padding: 36px; box-shadow: var(--shadow); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label, .field legend { display: block; font: 600 .86rem var(--head); color: var(--ink); margin-bottom: 6px; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date], .field select, .field textarea, .pf-calc input {
  width: 100%; font: inherit; font-size: .95rem; padding: 12px 14px; border: 1px solid #d5cec9; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .pf-calc input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,98,16,.18); }
.field input[type=file] { font-size: .9rem; padding: 10px; border: 1px dashed #c8bfb9; width: 100%; background: var(--soft); }
.field .choice { display: flex; gap: 10px; align-items: flex-start; font: 400 .95rem var(--body); color: var(--text); margin: 6px 0; cursor: pointer; }
.field .choice input { margin-top: 5px; accent-color: var(--accent); }
.field-heading h3 { font-size: 1.1rem; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.req { color: var(--accent); }
.help { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.consent { margin: 18px 0; }
.has-error input, .has-error select, .has-error textarea { border-color: #c62828; }
.error { color: #c62828; font-size: .85rem; margin: 6px 0 0; font-weight: 600; }
.form-alert { background: #fdecea; color: #8e1c1c; padding: 12px 16px; margin-bottom: 20px; border-left: 4px solid #c62828; }
.form-success { display: flex; gap: 16px; align-items: flex-start; border-left: 5px solid #2e7d32; }
.form-success svg { color: #2e7d32; flex: none; }
.form-success p:last-child { margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-note { color: var(--muted); }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.project { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.project-img { position: relative; aspect-ratio: 4/3; background: var(--soft); overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project-img .ph { position: absolute; inset: 0; background: linear-gradient(135deg, var(--dark-2), #4a3a33);
  -webkit-mask: none; }
.project-img .ph::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF6210' d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E") center/56px no-repeat; opacity: .7; }
.tag { position: absolute; left: 14px; top: 14px; font: 700 .68rem var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; background: #fff; color: var(--ink); }
.tag-current { background: var(--accent); color: #fff; }
.project-body { padding: 22px; }
.project-body h3 { font-size: 1.12rem; margin-bottom: .3em; }
.project .loc { color: var(--muted); font-size: .9rem; margin-bottom: .6em; }
.project-more summary { cursor: pointer; font: 600 .78rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); }

/* Calculator */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.toc-content .calc-wrap { grid-template-columns: 1fr; gap: 24px; }
.pf-calc { background: var(--dark); color: rgba(255,255,255,.85); padding: 34px; border-top: 5px solid var(--accent); }
.pf-calc h3 { color: #fff; }
.pf-calc label { display: block; font: 600 .82rem var(--head); margin: 0 0 14px; color: #fff; }
.pf-calc input { margin-top: 6px; }
.pf-calc .muted { color: rgba(255,255,255,.6); }
.pf-out { margin: 22px 0 10px; display: grid; gap: 10px; }
.pf-out div { display: flex; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.07); padding: 12px 14px; font-size: .92rem; }
.pf-out strong { color: var(--accent); font-family: var(--head); text-align: right; }
.pf-error { color: #ffb4a1; font-weight: 600; margin-top: 14px; }

/* Contact */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 1rem; }
.office { border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 28px; background: #fff; }
.office h3 { font-size: 1.15rem; }
.office p { font-size: .95rem; }
.map { margin-top: 36px; aspect-ratio: 16/6; min-height: 300px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Table of contents layout (long pages) */
.toc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding-top: 64px; padding-bottom: 40px; align-items: start; }
.toc { position: sticky; top: 108px; max-height: calc(100vh - 130px); overflow: auto; border-left: 3px solid var(--line); padding-left: 18px; }
.toc-title { font: 700 .75rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 0; font-size: .88rem; color: var(--text); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a.active { color: var(--accent); }
.toc a.active { font-weight: 600; }
.toc-content .container { padding: 0; max-width: none; }
.toc-content .sec { padding: 0 0 56px; }
.toc-content .sec.bg-soft, .toc-content .sec.bg-dark { padding: 36px; margin-bottom: 56px; }
.toc-content .sec-head { margin-bottom: 1.4rem; }
.toc-content .sec-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.toc-content .cards.cols-3, .toc-content .projects { grid-template-columns: repeat(2, 1fr); }
.toc-content .numbered { grid-template-columns: repeat(2, 1fr); }
.toc-content .text-block.with-image { grid-template-columns: 1fr; gap: 28px; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; padding-bottom: 56px; }
.footer-logo { width: 160px; margin-bottom: 20px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.footer-links li { margin-bottom: 8px; break-inside: avoid; }
.socials { display: flex; gap: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Responsive */
@media (max-width: 1000px) {
  .highlight, .form-wrap, .calc-wrap, .text-block.with-image { grid-template-columns: 1fr; }
  .text-block.img-left .img-col { order: 0; }
  .img-col::before { display: none; }
  .numbered { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-3, .cards.cols-4, .projects { grid-template-columns: repeat(2, 1fr); }
  .toc-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); padding: 16px 20px; }
  .toc ol { columns: 2; column-gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .sec, .sec.bg-soft, .sec.bg-dark { padding: 60px 0; }
  .sec + .sec:not([class*="bg-"]):not(.sec-hero):not(.sec-numbered):not(.sec-cta) { padding-top: 0; }
  .sec.sec-hero { padding: 0; }
  .sec.sec-numbered, .sec.sec-cta { padding-top: 0; }
  .sec.sec-hero + .sec:not(.sec-highlight):not([class*="bg-"]) { padding-top: 60px !important; }
  .hero-inner { padding: 90px 24px 150px; }
  .highlight-box, .numbered-band, .cta-band { padding: 40px 26px; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .numbered, .cards.cols-2, .cards.cols-3, .cards.cols-4, .projects, .checklist, .fields, .toc-content .cards.cols-3, .toc-content .projects, .toc-content .numbered { grid-template-columns: 1fr; }
  .site-form, .form-success, .pf-calc { padding: 24px; }
  .sec-head-row { flex-direction: column; gap: 0; }
  .sec-head-row .link-arrow { margin: -1rem 0 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .toc ol { columns: 1; }
  .page-hero { padding: 60px 0 56px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .toc, .site-form { display: none; } .page-hero { background: none; color: #000; } .page-hero h1 { color: #000; } }
.menu .sub2 { list-style: none; margin: 0 0 6px; padding: 0; }
.menu .sub2 a { padding: 5px 20px 5px 34px; font-size: .82rem; color: var(--muted); position: relative; }
.menu .sub2 a::before { content: ''; position: absolute; left: 22px; top: 50%; width: 6px; height: 1px; background: var(--accent); }
@media (max-width: 1100px) { .menu .sub2 a { color: rgba(255,255,255,.6); } }
