← back to Wallpapercontractor
public/css/styles.css
439 lines
:root {
--bg: #0e1c26;
--bg-elev: #14283a;
--bg-card: #182f44;
--fg: #e8eef5;
--fg-muted: #8ea3b8;
--accent: #c97842;
--accent-fg: #1a0f06;
--ok: #4f9d6e;
--ok-fg: #0d2418;
--union: #6b8db5;
--union-fg: #0d1a2a;
--border: #1f3a52;
--tag-bg: #1a3147;
--shadow: 0 10px 30px rgba(0,0,0,.45);
--radius: 12px;
--cols-min: 320px;
font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
}
[data-theme="light"] {
--bg: #f4ede4;
--bg-elev: #ffffff;
--bg-card: #ffffff;
--fg: #1a2333;
--fg-muted: #586879;
--accent: #a85a26;
--accent-fg: #ffffff;
--ok: #2e7a4d;
--ok-fg: #ffffff;
--union: #355680;
--union-fg: #ffffff;
--border: #e1d8c8;
--tag-bg: #efe6d5;
--shadow: 0 6px 22px rgba(40,30,15,.10);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--bg);
color: var(--fg);
line-height: 1.55;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--fg-muted); }
.site-header {
background: var(--bg-elev);
border-bottom: 1px solid var(--border);
position: sticky; top: 0; z-index: 30;
}
.header-row { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand-mark {
width: 34px; height: 34px;
display: inline-flex; align-items: baseline; justify-content: center;
font-family: "Cormorant Garamond", Georgia, serif;
line-height: 1;
color: var(--accent);
position: relative;
padding-top: 4px;
}
.brand-mark-w {
font-size: 26px; font-weight: 500;
letter-spacing: -0.04em;
}
.brand-mark-c {
font-size: 20px; font-weight: 500; font-style: italic;
margin-left: -3px;
color: var(--fg);
}
.brand-mark::after {
content: ""; position: absolute; left: 2px; right: 2px; bottom: 0;
height: 1px; background: var(--accent); opacity: .7;
}
.brand-name {
font-family: "Cormorant Garamond", Georgia, serif;
font-size: 22px; font-weight: 500;
letter-spacing: -0.01em;
}
.site-nav { display: flex; gap: 18px; margin-left: auto; }
.site-nav a { color: var(--fg); font-size: 14px; }
.theme-toggle {
width: 36px; height: 36px; border-radius: 8px;
border: 1px solid var(--border); background: var(--bg-card);
color: var(--fg); cursor: pointer; font-size: 16px;
display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: inline; }
[data-theme="light"] .theme-toggle .sun { display: inline; }
[data-theme="light"] .theme-toggle .moon { display: none; }
.main { padding: 32px 24px 80px; }
.hero { padding: 30px 0 24px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.1; }
.hero .lead { color: var(--fg-muted); font-size: 17px; max-width: 820px; margin: 0; }
/* ─── Editorial hero — wallpapercontractor.com distinct treatment ─── */
.hero-editorial {
padding: 56px 0 36px;
border-bottom: 1px solid var(--border);
margin-bottom: 36px;
}
.hero-editorial .hero-eyebrow {
font-size: 11px; text-transform: uppercase; letter-spacing: .18em;
color: var(--accent); font-weight: 600;
margin-bottom: 18px;
}
.hero-editorial .hero-h1 {
font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
font-weight: 500;
font-size: clamp(34px, 5.4vw, 60px);
line-height: 1.04; letter-spacing: -0.015em;
margin: 0 0 22px; color: var(--fg);
max-width: 920px;
}
.hero-editorial .hero-h1 .hero-line-1 {
display: block;
color: var(--fg);
}
.hero-editorial .hero-h1 .hero-line-2 {
display: block;
font-style: italic;
color: var(--accent);
}
.hero-editorial .hero-sub {
color: var(--fg);
font-size: 18px;
font-weight: 500;
max-width: 720px;
margin: 0 0 18px;
line-height: 1.45;
}
.hero-editorial .hero-meta {
font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
color: var(--fg-muted);
margin-bottom: 22px;
display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.hero-editorial .hero-meta .dot { opacity: .5; padding: 0 2px; }
.hero-editorial .hero-foot {
font-size: 13px;
max-width: 780px;
margin: 0;
border-top: 1px solid var(--border);
padding-top: 18px;
}
/* ─── How matching works (3-step) ─── */
.how-it-works {
background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-card) 100%);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 32px 30px;
margin: 0 0 36px;
position: relative;
}
.how-it-works::before {
content: "";
position: absolute; top: 0; left: 30px; right: 30px;
height: 2px;
background: linear-gradient(90deg, var(--accent) 0%, transparent 80%);
border-radius: 2px;
}
.how-head { margin-bottom: 22px; }
.how-eyebrow {
display: block;
font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
color: var(--fg-muted); font-weight: 600;
margin-bottom: 6px;
}
.how-h2 {
font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
font-weight: 500;
font-size: 28px;
margin: 0; color: var(--fg);
letter-spacing: -0.01em;
}
.how-steps {
list-style: none; padding: 0; margin: 0 0 22px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 22px;
}
.how-step {
display: flex; gap: 14px; align-items: flex-start;
padding: 0;
}
.how-num {
font-family: "Cormorant Garamond", Georgia, serif;
font-weight: 500;
font-size: 32px; line-height: 1;
color: var(--accent);
letter-spacing: -0.02em;
flex-shrink: 0;
padding-top: 2px;
min-width: 44px;
}
.how-step-body h3 {
font-size: 15px;
margin: 0 0 6px;
color: var(--fg);
letter-spacing: -0.005em;
font-weight: 600;
}
.how-step-body p {
margin: 0;
font-size: 13.5px;
color: var(--fg-muted);
line-height: 1.55;
}
.how-cta {
display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
padding-top: 18px;
border-top: 1px solid var(--border);
}
.how-cta .muted { font-size: 12.5px; }
@media (max-width: 600px) {
.hero-editorial { padding: 36px 0 24px; margin-bottom: 24px; }
.hero-editorial .hero-h1 { font-size: clamp(28px, 8vw, 40px); }
.how-it-works { padding: 24px 20px; }
.how-it-works::before { left: 20px; right: 20px; }
}
.filter-bar {
display: grid;
grid-template-columns: minmax(220px,1.4fr) repeat(3, 1fr) auto auto auto auto;
gap: 10px; margin: 24px 0 16px;
background: var(--bg-elev); padding: 14px; border-radius: var(--radius);
border: 1px solid var(--border);
align-items: center;
}
.filter-bar input[type=search], .filter-bar select {
background: var(--bg-card); color: var(--fg);
border: 1px solid var(--border); padding: 10px 12px;
border-radius: 10px; font-size: 14px; min-width: 0;
}
.filter-bar input[type=search]:focus, .filter-bar select:focus {
outline: 2px solid var(--accent); outline-offset: 1px;
}
.filter-bar .check {
display: inline-flex; gap: 6px; align-items: center;
font-size: 13px; color: var(--fg);
background: var(--bg-card); border: 1px solid var(--border);
padding: 8px 12px; border-radius: 10px;
white-space: nowrap; cursor: pointer;
}
.filter-bar .check input { margin: 0; accent-color: var(--accent); }
.btn-primary, .btn-ghost {
display: inline-flex; align-items: center; justify-content: center;
padding: 10px 16px; border-radius: 10px; font-weight: 600;
font-size: 14px; cursor: pointer; border: 1px solid transparent;
text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-card); text-decoration: none; }
.result-bar {
display: flex; align-items: center; justify-content: space-between;
margin: 14px 0 16px; gap: 14px; flex-wrap: wrap;
}
.controls { display: flex; gap: 14px; align-items: center; }
.control { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--fg-muted); }
.control select, .control input[type=range] {
background: var(--bg-card); color: var(--fg);
border: 1px solid var(--border); padding: 6px 10px;
border-radius: 8px; font-size: 13px;
}
.control input[type=range] { padding: 0; accent-color: var(--accent); }
.card-grid {
list-style: none; padding: 0; margin: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(var(--cols-min), 1fr));
gap: 16px;
}
.rep-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
overflow: hidden;
}
.rep-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.rep-link { display: block; padding: 18px; color: var(--fg); }
.rep-link:hover { text-decoration: none; }
.rep-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.rep-avatar {
width: 48px; height: 48px; border-radius: 8px;
background: linear-gradient(135deg, var(--accent), #8a4a22);
color: var(--accent-fg); font-weight: 700; font-size: 13px;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0; letter-spacing: 0.02em;
}
.rep-avatar.lg { width: 84px; height: 84px; font-size: 22px; border-radius: 12px; }
.rep-name { font-weight: 600; font-size: 16px; line-height: 1.25; }
.rep-agency { color: var(--fg-muted); font-size: 13px; margin-top: 2px; }
.rep-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip {
display: inline-block; font-size: 11px; padding: 3px 9px;
background: var(--tag-bg); color: var(--fg);
border-radius: 99px; border: 1px solid var(--border);
white-space: nowrap;
}
.chip.ok { background: var(--ok); color: var(--ok-fg); border-color: var(--ok); font-weight: 600; }
.chip.union { background: var(--union); color: var(--union-fg); border-color: var(--union); font-weight: 600; }
.chip.city { background: transparent; color: var(--fg-muted); }
.rep-lines { font-size: 13px; margin-bottom: 10px; }
.rep-vertical { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
font-size: 10px; text-transform: uppercase; letter-spacing: .04em;
padding: 2px 8px; background: transparent; border: 1px solid var(--border);
color: var(--fg-muted); border-radius: 4px;
}
.empty { text-align: center; padding: 60px 20px; color: var(--fg-muted); }
.back-link { font-size: 13px; color: var(--fg-muted); display: inline-block; margin-bottom: 14px; }
.rep-detail { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.rep-header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; }
.rep-header h1 { margin: 0; font-size: 28px; letter-spacing: -0.01em; }
.rep-header .agency { color: var(--accent); font-weight: 600; margin-top: 4px; }
.rep-header .city { font-size: 14px; }
.rep-grid-detail {
display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.rep-grid-detail h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lines-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.lines-list strong { color: var(--fg-muted); font-weight: 500; }
.cta-row { display: flex; gap: 10px; padding-top: 22px; flex-wrap: wrap; }
.related { margin-top: 40px; }
.related h2 { font-size: 20px; margin: 0 0 14px; }
.long-form { max-width: 740px; }
.long-form h1 { font-size: 32px; margin: 0 0 20px; }
.long-form h2 { font-size: 18px; margin-top: 28px; }
.long-form p { color: var(--fg); }
/* ─── Procurement FAQ ─── */
.faq {
margin: 56px 0 0;
padding: 32px 30px;
background: var(--bg-elev);
border: 1px solid var(--border);
border-radius: var(--radius);
max-width: 920px;
}
.faq-head { margin-bottom: 18px; }
.faq-eyebrow {
display: block;
font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
color: var(--fg-muted); font-weight: 600;
margin-bottom: 6px;
}
.faq-h2 {
font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
font-weight: 500; font-size: 28px;
margin: 0; color: var(--fg);
letter-spacing: -0.01em;
}
.faq-item {
border-top: 1px solid var(--border);
padding: 14px 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-item summary {
cursor: pointer; list-style: none;
font-size: 16px; font-weight: 600;
color: var(--fg);
padding: 4px 28px 4px 0;
position: relative;
letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
content: "+";
position: absolute; right: 4px; top: 2px;
font-family: "Cormorant Garamond", Georgia, serif;
font-size: 22px; font-weight: 400;
color: var(--accent);
transition: transform 200ms;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
margin: 10px 0 4px;
font-size: 14.5px;
line-height: 1.65;
color: var(--fg-muted);
max-width: 780px;
}
.faq-foot {
margin: 22px 0 0;
padding-top: 18px;
border-top: 1px solid var(--border);
font-size: 13px;
}
@media (max-width: 600px) {
.faq { padding: 24px 20px; margin-top: 40px; }
.faq-item summary { font-size: 15px; }
}
.seo-block { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border); max-width: 860px; }
.seo-block h2 { font-size: 18px; margin: 0 0 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .06em; }
.seo-block p { color: var(--fg-muted); font-size: 14px; }
.site-footer { background: var(--bg-elev); border-top: 1px solid var(--border); margin-top: 60px; padding: 36px 0 24px; }
.footer-grid {
display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
padding-bottom: 24px;
}
.site-footer strong { display: block; margin-bottom: 6px; font-size: 14px; }
.site-footer p { font-size: 13px; line-height: 1.7; color: var(--fg-muted); margin: 0; }
.site-footer a { color: var(--fg); }
.copy { padding-top: 18px; border-top: 1px solid var(--border); color: var(--fg-muted); }
.copy small { font-size: 12px; line-height: 1.6; display: block; }
@media (max-width: 920px) {
.filter-bar { grid-template-columns: 1fr 1fr 1fr; }
.filter-bar input[type=search] { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
.filter-bar { grid-template-columns: 1fr 1fr; }
.filter-bar input[type=search] { grid-column: 1 / -1; }
.filter-bar .check { grid-column: span 1; }
.site-nav a:nth-child(1) { display: none; }
}