/* Toronto Pallets / CPS Wood Products
   Responsive industrial website stylesheet */
:root {
    --green-950: #0b261c;
    --green-900: #123d2d;
    --green-800: #17513b;
    --green-700: #1e674b;
    --green-100: #e8f1ed;
    --wood-700: #8c5918;
    --wood-600: #a96d20;
    --wood-500: #bd7d26;
    --wood-200: #ead3ad;
    --ink: #17221d;
    --muted: #5b6862;
    --line: #dce3df;
    --surface: #ffffff;
    --surface-alt: #f4f7f5;
    --surface-warm: #f8f4ed;
    --danger: #9b2c2c;
    --shadow-sm: 0 10px 30px rgba(13, 42, 31, .08);
    --shadow-lg: 0 24px 65px rgba(13, 42, 31, .16);
    --radius: 18px;
    --radius-sm: 11px;
    --container: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--green-900); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(100%, 850px); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 16px; border-radius: 8px; color: #fff; background: var(--green-900); }
.skip-link:focus { top: 16px; }
.utility-bar { color: #fff; background: var(--green-950); font-size: 14px; }
.utility-bar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-bar p { margin: 0; }
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar__contact { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,227,223,.9); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--ink); line-height: 1; flex: 0 0 auto; }
.brand img { width: 198px; height: auto; }
.brand__subline { margin-top: -1px; margin-left: 52px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav > ul, .dropdown-menu { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a, .dropdown-toggle { border: 0; background: transparent; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 750; padding: 11px 10px; border-radius: 9px; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a.is-active, .dropdown-toggle:hover { color: var(--green-700); background: var(--green-100); }
.primary-nav .button { color: #fff; padding: 12px 17px; margin-left: 4px; }
.primary-nav .button:hover { color: #fff; background: var(--green-800); }
.has-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-lg); }
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu, .has-dropdown.is-open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 11px 12px; }
.nav-toggle { display: none; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; color: var(--ink); background: #fff; font-weight: 800; }
.nav-toggle__icon { display: grid; gap: 4px; }
.nav-toggle__icon span { display: block; width: 22px; height: 2px; background: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 13px 22px; border: 2px solid transparent; border-radius: 11px; color: #fff; background: var(--green-700); text-decoration: none; font-weight: 800; line-height: 1.2; transition: .2s ease; box-shadow: 0 8px 20px rgba(30,103,75,.18); }
.button:hover { color: #fff; background: var(--green-900); transform: translateY(-1px); box-shadow: 0 12px 25px rgba(30,103,75,.24); }
.button--secondary { color: var(--green-900); background: #fff; border-color: var(--green-900); box-shadow: none; }
.button--secondary:hover { color: #fff; background: var(--green-900); }
.button--light { color: var(--green-950); background: #fff; box-shadow: none; }
.button--light:hover { color: var(--green-950); background: var(--wood-200); }
.button--small { min-height: 44px; padding: 10px 15px; font-size: 14px; }
.text-link { font-weight: 850; text-decoration: none; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link--light { color: #fff; }
.eyebrow { margin: 0 0 12px; color: var(--green-700); font-size: 13px; line-height: 1.3; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--light { color: #d7eadf; }
h1, h2, h3 { margin-top: 0; color: var(--green-950); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.55rem, 5.2vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin-top: 0; }
.lead { color: #33413a; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.55; }
.section { padding: 96px 0; }
.section--alt { background: var(--surface-alt); }
.section--warm { background: var(--surface-warm); }
.section--dark { color: #fff; background: var(--green-950); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-header { max-width: 790px; margin-bottom: 46px; }
.section-header p:last-child { margin-bottom: 0; }
.hero { position: relative; overflow: hidden; color: #fff; background: var(--green-950); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(189,125,38,.22), transparent 32%), linear-gradient(105deg, rgba(7,28,20,.98) 0%, rgba(12,47,34,.93) 52%, rgba(12,47,34,.35) 100%); z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(30deg, transparent 12%, #fff 12.5%, transparent 13%), linear-gradient(150deg, transparent 12%, #fff 12.5%, transparent 13%); background-size: 70px 40px; z-index: 1; pointer-events: none; }
.hero__photo { position: absolute; inset: 0 0 0 42%; width: 58%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.05); }
.hero__inner { position: relative; z-index: 2; min-height: 670px; display: grid; grid-template-columns: minmax(0, 690px) 1fr; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lead { color: #e5eee9; max-width: 700px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__qualifier { display: flex; align-items: flex-start; gap: 11px; max-width: 700px; margin-top: 26px; color: #d5e1db; font-size: 14px; }
.hero__qualifier svg { flex: 0 0 auto; margin-top: 2px; }
.hero-stat-row { position: relative; z-index: 3; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; color: var(--green-900); font-size: clamp(1.5rem, 2.5vw, 2.35rem); line-height: 1; }
.hero-stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--green-950); padding: 92px 0 82px; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(189,125,38,.25), transparent 30%), linear-gradient(135deg, transparent 55%, rgba(255,255,255,.05) 55%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 900px; color: #fff; margin-bottom: 20px; }
.page-hero .lead { max-width: 850px; color: #e5eee9; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 27px; color: #c8d8d0; font-size: 14px; font-weight: 700; }
.breadcrumb a { color: #fff; }
.two-column { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.two-column--top { align-items: start; }
.media-card { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--green-100); }
.media-card img { width: 100%; min-height: 390px; object-fit: cover; }
.media-card__caption { position: absolute; inset: auto 18px 18px; padding: 16px 18px; color: #fff; background: rgba(11,38,28,.9); border-radius: 11px; font-size: 14px; font-weight: 750; backdrop-filter: blur(10px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { min-width: 0; padding: 31px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; color: var(--green-700); background: var(--green-100); border-radius: 13px; }
.card__icon svg { width: 28px; height: 28px; }
.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-card__visual { height: 215px; background: linear-gradient(135deg, var(--green-900), var(--green-700)); overflow: hidden; }
.service-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-card__visual img { transform: scale(1.035); }
.service-card__body { flex: 1; padding: 30px; display: flex; flex-direction: column; }
.service-card__body .text-link { margin-top: auto; }
.check-list, .plain-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; display: grid; place-items: center; color: #fff; background: var(--green-700); border-radius: 50%; font-size: 13px; font-weight: 900; }
.plain-list { display: grid; gap: 9px; }
.plain-list li { padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.numbered-process { counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { counter-increment: process; position: relative; padding: 31px 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process-step::before { content: counter(process, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--wood-600); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.process-step h3 { font-size: 1.25rem; }
.stats-panel { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; }
.stats-panel__item { padding: 36px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.stats-panel__item:last-child { border-right: 0; }
.stats-panel strong { display: block; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.stats-panel span { display: block; margin-top: 10px; color: #cddcd5; font-weight: 700; }
.feature-band { overflow: hidden; border-radius: var(--radius); background: var(--green-950); box-shadow: var(--shadow-lg); }
.feature-band__inner { display: grid; grid-template-columns: 1.05fr .95fr; }
.feature-band__content { padding: clamp(38px, 6vw, 76px); color: #fff; }
.feature-band__content h2 { color: #fff; }
.feature-band__content p { color: #d7e2dc; }
.feature-band__image { min-height: 430px; }
.feature-band__image img { width: 100%; height: 100%; object-fit: cover; }
.logo-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logo-strip span { min-height: 92px; display: grid; place-items: center; padding: 18px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--green-900); font-weight: 850; }
.faq-list { display: grid; gap: 13px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 13px; }
summary { position: relative; padding: 20px 54px 20px 22px; cursor: pointer; list-style: none; color: var(--green-950); font-weight: 850; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--green-700); font-size: 27px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details > div { padding: 0 22px 22px; color: var(--muted); }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 38px; align-items: start; }
.quote-form { padding: clamp(25px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-section { margin: 0 0 35px; padding: 0 0 35px; border: 0; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.form-section legend { padding: 0; margin-bottom: 18px; color: var(--green-950); font-size: 1.35rem; font-weight: 850; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
label { display: inline-block; margin-bottom: 7px; color: var(--ink); font-size: 14px; font-weight: 800; }
.required { color: var(--danger); }
input, select, textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #bbc7c1; border-radius: 9px; color: var(--ink); background: #fff; }
textarea { min-height: 135px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(30,103,75,.15); border-color: var(--green-700); }
.input-help { margin-top: 6px; color: var(--muted); font-size: 13px; }
.file-input { padding: 12px; background: var(--surface-alt); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-note { max-width: 490px; margin: 0; color: var(--muted); font-size: 13px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.quote-sidebar { position: sticky; top: 125px; display: grid; gap: 18px; }
.sidebar-card { padding: 27px; background: var(--green-950); border-radius: var(--radius); color: #fff; }
.sidebar-card h2, .sidebar-card h3 { color: #fff; font-size: 1.35rem; }
.sidebar-card p { color: #d3dfd9; }
.sidebar-card--light { color: var(--ink); background: var(--surface-warm); border: 1px solid var(--wood-200); }
.sidebar-card--light h3 { color: var(--green-950); }
.sidebar-card--light p { color: var(--muted); }
.alert { padding: 17px 20px; margin-bottom: 25px; border-radius: 11px; font-weight: 700; }
.alert--error { color: #742a2a; background: #fff1f1; border: 1px solid #f1b8b8; }
.alert--success { color: #174f37; background: #edf9f2; border: 1px solid #add8be; }
.final-cta { padding: 62px 0; color: #fff; background: linear-gradient(120deg, var(--green-800), var(--green-950)); }
.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.final-cta h2 { max-width: 760px; margin-bottom: 12px; color: #fff; font-size: clamp(1.9rem, 3.5vw, 3rem); }
.final-cta p:last-child { margin-bottom: 0; color: #d7e4de; }
.final-cta__actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.site-footer { padding: 70px 0 22px; color: #cfdbd5; background: #081b14; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1fr; gap: 42px; }
.footer-brand img { width: 215px; margin-bottom: 18px; }
.footer-brand p { max-width: 370px; }
.footer-heading { color: #fff; font-size: 16px; letter-spacing: .04em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #e6eee9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-note { margin-top: 14px; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; }
.footer-bottom p { margin: 0; }
.mobile-quote-bar { display: none; }
.callout { padding: 28px; border-left: 5px solid var(--wood-500); background: var(--surface-warm); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p:last-child { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.tag { display: inline-flex; align-items: center; min-height: 35px; padding: 7px 12px; border-radius: 999px; color: var(--green-900); background: var(--green-100); font-size: 13px; font-weight: 800; }
.image-overlay-card { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); background: var(--green-950); box-shadow: var(--shadow-lg); }
.image-overlay-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.image-overlay-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(8,27,20,.95)); }
.image-overlay-card__content { position: relative; z-index: 2; padding: 36px; color: #fff; }
.image-overlay-card__content h3 { color: #fff; }
.image-overlay-card__content p { margin-bottom: 0; color: #dce8e2; }
@media (max-width: 1120px) {
    .nav-toggle { display: inline-flex; }
    .primary-nav { display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); max-height: calc(100vh - 125px); overflow: auto; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
    .primary-nav.is-open { display: block; }
    .primary-nav > ul { display: grid; align-items: stretch; }
    .primary-nav a, .dropdown-toggle { display: flex; width: 100%; justify-content: space-between; text-align: left; padding: 13px 14px; }
    .primary-nav .button { justify-content: center; margin: 8px 0 0; }
    .dropdown-menu { position: static; min-width: 0; margin: 4px 0 7px 12px; box-shadow: none; border-left: 3px solid var(--green-100); }
    .has-dropdown:hover .dropdown-menu { display: none; }
    .has-dropdown.is-open .dropdown-menu { display: block; }
    .hero__inner { min-height: 620px; grid-template-columns: 1fr; }
    .hero__photo { left: 35%; width: 65%; opacity: .65; }
    .hero::before { background: linear-gradient(90deg, rgba(7,28,20,.98) 0%, rgba(12,47,34,.9) 60%, rgba(12,47,34,.55) 100%); }
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .numbered-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .section { padding: 76px 0; }
    .utility-bar p { display: none; }
    .utility-bar__inner { justify-content: center; }
    .two-column, .feature-band__inner, .quote-layout { grid-template-columns: 1fr; }
    .two-column .media-card { order: -1; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stat:nth-child(2) { border-right: 0; }
    .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-panel { grid-template-columns: 1fr; }
    .stats-panel__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
    .stats-panel__item:last-child { border-bottom: 0; }
    .logo-strip { grid-template-columns: repeat(2, 1fr); }
    .quote-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .final-cta__inner { align-items: flex-start; flex-direction: column; }
    .final-cta__actions { align-items: flex-start; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    body { font-size: 16px; padding-bottom: 58px; }
    .container { width: min(calc(100% - 30px), var(--container)); }
    .utility-bar { font-size: 12px; }
    .site-header__inner { min-height: 73px; }
    .brand img { width: 160px; }
    .brand__subline { display: none; }
    .nav-toggle__label { display: none; }
    .hero__inner { min-height: auto; padding-top: 72px; padding-bottom: 72px; }
    .hero__photo { inset: 0; width: 100%; opacity: .35; }
    .hero::before { background: rgba(7,28,20,.88); }
    .hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
    .hero__actions { align-items: stretch; flex-direction: column; }
    .hero__actions .button { width: 100%; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-stat { padding: 21px 17px; }
    .hero-stat strong { font-size: 1.55rem; }
    .page-hero { padding: 70px 0 62px; }
    .section { padding: 62px 0; }
    .card-grid, .card-grid--2, .card-grid--4, .numbered-process, .quote-sidebar, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .card { padding: 25px; }
    .media-card img { min-height: 270px; }
    .feature-band__image { min-height: 280px; }
    .logo-strip { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
    .mobile-quote-bar { position: fixed; z-index: 999; left: 0; right: 0; bottom: 0; display: flex; min-height: 58px; align-items: center; justify-content: center; padding: 12px 18px; color: #fff; background: var(--wood-600); text-decoration: none; font-weight: 900; box-shadow: 0 -7px 24px rgba(0,0,0,.22); }
    .final-cta__actions { width: 100%; }
    .final-cta__actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
