/* Colver Precision Manufacturing site styles */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #1f1f1f;
    font-weight: bold;
}

h1 { font-size: 2.4em; line-height: 1.2; margin-bottom: 0.3em; }
h2 { font-size: 1.8em; line-height: 1.25; margin-bottom: 0.4em; }
h3 { font-size: 1.25em; margin-bottom: 0.4em; }
h4 { font-size: 1.05em; margin-bottom: 0.3em; }

p { margin-bottom: 14px; }
ul, ol { margin: 12px 0 14px 22px; }
li { margin-bottom: 6px; }

a { color: #4a4a4a; }
a:hover { color: #1f1f1f; text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

/* Top info bar */
.infobar {
    background: #f0eee8;
    color: #555;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid #ddd;
}
.infobar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.infobar a { color: #555; }
.infobar .iso { color: #4a4a4a; font-weight: bold; }

/* Header */
.site-header {
    padding: 18px 0 16px;
    border-bottom: 4px solid #4a4a4a;
    background: #fff;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.site-header .logo { display: flex; align-items: center; gap: 14px; }
.site-header .logo img { width: 70px; height: auto; }
.site-header .logo h1 {
    font-size: 1.55em;
    color: #1f1f1f;
    margin: 0;
    line-height: 1.05;
}
.site-header .logo .subtitle {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #1f1f1f;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

.site-header .phonebox {
    text-align: right;
    line-height: 1.3;
}
.site-header .phonebox .phone {
    font-family: Georgia, serif;
    font-size: 1.4em;
    color: #1f1f1f;
    font-weight: bold;
}
.site-header .phonebox .small {
    font-size: 12px;
    color: #777;
}

/* Main nav */
nav.primary {
    background: #1f1f1f;
    color: #fff;
}
nav.primary ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
nav.primary a {
    display: block;
    padding: 13px 24px;
    color: #f0eee8;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-right: 1px solid #3a3a3a;
}
nav.primary a:hover, nav.primary a.current {
    background: #4a4a4a;
    color: #fff;
}

/* Hero */
.hero {
    background:
        linear-gradient(rgba(31, 45, 35, 0.78), rgba(31, 45, 35, 0.78)),
        url('../img/floor.svg') center/cover no-repeat,
        #2a2a2a;
    color: #fff;
    padding: 86px 0 80px;
}
.hero h1 {
    color: #fff;
    font-size: 2.6em;
    max-width: 820px;
    margin-bottom: 16px;
}
.hero p.lead {
    font-size: 1.18em;
    color: #e8e5dd;
    max-width: 720px;
    margin-bottom: 26px;
}

.btn {
    display: inline-block;
    background: #1f1f1f;
    color: #fff;
    padding: 13px 28px;
    font-size: 0.95em;
    text-decoration: none;
    border: 2px solid #1f1f1f;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.btn:hover {
    background: #666;
    border-color: #666;
    color: #fff;
    text-decoration: none;
}
.btn.outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn.outline:hover {
    background: #fff;
    color: #1f1f1f;
}

/* Page banner (sub-pages) */
.page-banner {
    background: #4a4a4a;
    color: #fff;
    padding: 38px 0 34px;
    border-bottom: 6px solid #1f1f1f;
}
.page-banner h1 {
    color: #fff;
    font-size: 2em;
    margin: 0;
}
.page-banner .crumb {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section */
section.section {
    padding: 56px 0;
}
section.alt { background: #f0eee8; }

section.section h2 {
    text-align: left;
    margin-bottom: 8px;
}
section.section .lede {
    color: #555;
    font-size: 1.05em;
    margin-bottom: 30px;
    max-width: 780px;
}

/* Two column layout */
.twocol {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 800px) { .twocol { grid-template-columns: 1fr; gap: 28px; } }

.sidebox {
    background: #fff;
    border: 1px solid #d8d4c8;
    border-top: 4px solid #4a4a4a;
    padding: 24px 26px;
}
.sidebox h3 {
    color: #4a4a4a;
    font-size: 1.1em;
    margin-bottom: 14px;
    border-bottom: 1px solid #d8d4c8;
    padding-bottom: 8px;
}
.sidebox dl { margin: 0; }
.sidebox dt {
    font-weight: bold;
    color: #1f1f1f;
    margin-top: 10px;
    font-size: 0.9em;
}
.sidebox dt:first-child { margin-top: 0; }
.sidebox dd {
    color: #555;
    margin-left: 0;
    font-size: 0.95em;
}

/* Inline stat line (no grid, no dark band) */
.statline {
    margin-top: 22px;
    padding: 14px 0;
    border-top: 1px solid #d8d4c8;
    border-bottom: 1px solid #d8d4c8;
    color: #555;
    font-size: 0.96em;
}
.statline strong {
    color: #1f1f1f;
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 1.08em;
}
.statline .sep {
    color: #aaa;
    margin: 0 10px;
}

/* Three-column blocks (services / industries) */
.threecol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 800px) { .threecol { grid-template-columns: 1fr; } }

.block {
    border-top: 3px solid #4a4a4a;
    padding-top: 18px;
}
.block h3 {
    color: #1f1f1f;
    margin-bottom: 10px;
}
.block p { color: #555; font-size: 0.95em; }

/* Industries served list - text columns */
.industries {
    columns: 2;
    column-gap: 36px;
    column-rule: 1px solid #d8d4c8;
    margin-top: 18px;
}
@media (max-width: 700px) { .industries { columns: 1; } }
.industries dl { margin: 0; padding: 0; }
.industries dt {
    font-family: Georgia, serif;
    color: #1f1f1f;
    font-weight: bold;
    font-size: 1.05em;
    margin-top: 14px;
    margin-bottom: 4px;
    break-after: avoid;
}
.industries dt:first-child { margin-top: 0; }
.industries dd {
    margin-left: 0;
    color: #555;
    font-size: 0.95em;
    margin-bottom: 8px;
}

/* Why-choose-us numbered list */
.whyus {
    list-style: none;
    padding: 0;
    counter-reset: why;
    margin: 18px 0 0;
}
.whyus li {
    counter-increment: why;
    padding: 18px 22px 18px 64px;
    border: 1px solid #d8d4c8;
    background: #fff;
    margin-bottom: 12px;
    position: relative;
}
.whyus li:before {
    content: counter(why, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 16px;
    color: #1f1f1f;
    font-family: Georgia, serif;
    font-size: 1.6em;
    font-weight: bold;
}
.whyus h4 {
    margin-bottom: 4px;
    color: #1f1f1f;
}
.whyus p { margin: 0; color: #555; font-size: 0.95em; }

/* Spec table */
table.specs {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 22px;
    background: #fff;
    border: 1px solid #d8d4c8;
}
table.specs th, table.specs td {
    padding: 10px 14px;
    text-align: left;
    font-size: 0.95em;
    border-bottom: 1px solid #ece9e0;
}
table.specs th {
    background: #1f1f1f;
    color: #f0eee8;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.84em;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: normal;
}
table.specs tbody tr:nth-child(even) { background: #faf8f3; }

/* Plain checkmark list */
ul.checks {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}
ul.checks li {
    padding: 6px 0 6px 26px;
    position: relative;
    color: #333;
}
ul.checks li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 6px;
    color: #4a4a4a;
    font-weight: bold;
    font-size: 1.05em;
}

/* CTA strip */
.cta-strip {
    background: #1f1f1f;
    color: #fff;
    text-align: center;
    padding: 38px 0;
}
.cta-strip h2 {
    color: #fff;
    margin-bottom: 8px;
}
.cta-strip p { color: #cccccc; margin-bottom: 20px; font-size: 1.05em; }
.cta-strip .btn {
    background: #fff;
    color: #1f1f1f;
    border-color: #fff;
}
.cta-strip .btn:hover {
    background: #1f1f1f;
    border-color: #1f1f1f;
    color: #fff;
}

/* Form */
form.quote-form {
    background: #fff;
    border: 1px solid #d8d4c8;
    padding: 28px 30px;
}
form.quote-form .row { margin-bottom: 14px; }
form.quote-form label {
    display: block;
    color: #1f1f1f;
    font-weight: bold;
    font-size: 0.92em;
    margin-bottom: 5px;
}
form.quote-form input,
form.quote-form textarea,
form.quote-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #888;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}
form.quote-form input:focus,
form.quote-form textarea:focus {
    outline: none;
    border-color: #4a4a4a;
}
form.quote-form textarea { min-height: 110px; resize: vertical; }
form.quote-form .pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
form.quote-form button.btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1em;
    padding: 14px;
}

/* Footer */
footer.site {
    background: #1f1f1f;
    color: #cccccc;
    padding: 40px 0 22px;
    font-size: 0.94em;
}
footer.site .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 800px) { footer.site .footer-grid { grid-template-columns: 1fr; } }
footer.site h4 {
    color: #fff;
    font-size: 1em;
    margin-bottom: 12px;
    border-bottom: 1px solid #4a4a4a;
    padding-bottom: 6px;
}
footer.site a { color: #cccccc; }
footer.site a:hover { color: #fff; text-decoration: none; }
footer.site address { font-style: normal; line-height: 1.7; }
footer.site .copy {
    text-align: center;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #3a3a3a;
    font-size: 0.85em;
    color: #888888;
}

/* Mobile nav */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #c8c4b8;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #1f1f1f;
}
@media (max-width: 760px) {
    nav.primary ul { display: none; flex-direction: column; }
    nav.primary ul.open { display: flex; }
    nav.primary a { border-right: none; border-bottom: 1px solid #3a3a3a; }
    .menu-toggle { display: inline-block; position: absolute; right: 14px; top: 18px; }
    .site-header { padding-bottom: 22px; }
    .site-header .container { position: relative; }
    .hero h1 { font-size: 1.9em; }
}
