Files
car-t-t/assets/css/theme.css
T
WorkBuddy 13a35c7ec7 fix: FAQ accordion 背景透明化,消除左右色差
Bootstrap accordion 默认白色背景与 FAQ 左侧说明区域的暖白
背景形成色差。将 accordion 各层级背景设为 transparent,
保持整段 FAQ 区域颜色一致。
2026-07-24 18:25:24 +08:00

1563 lines
29 KiB
CSS

/* ============================================================
Fragrance Trade v3.0 — Minimalist Luxury Design System
汽车贴膜门店 · 极简高级感 · 黑白灰单色体系
============================================================
Design Philosophy:
- "Less, but better" — every element serves content
- Warm monochromatic palette — no pure black, no stark white
- Typography-driven hierarchy — spacing > decoration
- Anti-card: use whitespace and dividers, not boxed containers
- Sharp edges, thin strokes, generous breathing room
============================================================ */
/* ---- Design Tokens ---- */
:root {
/* Surface hierarchy — warm whites */
--b2b-surface: #FAFAF8; /* Page background — warm white */
--b2b-elevated: #F3F2EE; /* Cards, elevated surfaces */
--b2b-mist: #E8E6E1; /* Alternate section background */
/* Text hierarchy — warm blacks */
--b2b-ink: #1C1C1A; /* Primary text — near-black with warmth */
--b2b-ink-soft: #4A4A46; /* Secondary text — muted charcoal */
--b2b-ink-muted: #888780; /* Tertiary/hint text */
/* Borders & dividers */
--b2b-line: #D3D1C7; /* Default border */
--b2b-line-light: #E8E6E1; /* Subtle divider */
/* Semantic — minimal use */
--b2b-error: #C0392B; /* Error states only */
/* Depth — shadows used sparingly */
--b2b-shadow-sm: 0 1px 0 0 rgba(28, 28, 26, 0.04);
--b2b-shadow-md: 0 2px 8px rgba(28, 28, 26, 0.06);
--b2b-shadow-lg: 0 8px 32px rgba(28, 28, 26, 0.08);
}
/* ---- Reset & Base ---- */
html {
scroll-behavior: smooth;
scroll-padding-top: 80px;
overflow-x: clip;
}
body {
margin: 0;
color: var(--b2b-ink-soft);
background: var(--b2b-surface);
font-family: "Jost", "Noto Sans SC", Arial, sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.7;
letter-spacing: 0.01em;
overflow-x: clip;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
color: var(--b2b-ink);
font-family: "Jost", "Noto Sans SC", Arial, sans-serif;
font-weight: 400;
line-height: 1.15;
letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; font-weight: 500; }
p:last-child { margin-bottom: 0; }
a {
color: var(--b2b-ink);
text-decoration-thickness: 1px;
text-underline-offset: 0.15em;
transition: opacity 180ms ease;
}
a:hover { opacity: 0.7; }
img {
max-width: 100%;
height: auto;
display: block;
}
.fragrance-symbols {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}
/* ---- Section Layout ---- */
.b2b-section {
position: relative;
padding: 7rem 0;
}
.section-heading {
max-width: 720px;
}
.section-heading.text-center {
margin-left: auto;
margin-right: auto;
}
.section-heading h2 {
margin-bottom: 1.25rem;
font-size: clamp(2rem, 3.5vw, 2.8rem);
letter-spacing: -0.025em;
}
.section-heading p,
.section-lead {
font-size: 1.05rem;
color: var(--b2b-ink-soft);
max-width: 60ch;
}
.section-heading.text-center .section-lead {
margin-left: auto;
margin-right: auto;
}
/* Eyebrow — small label above headings */
.section-eyebrow {
margin-bottom: 0.75rem;
color: var(--b2b-ink-muted);
font-size: 0.72rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
}
/* ---- Buttons — sharp, minimal, two variants ---- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.875rem 1.75rem;
border-radius: 0;
font-family: "Jost", "Noto Sans SC", Arial, sans-serif;
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
text-decoration: none;
line-height: 1.2;
cursor: pointer;
transition: opacity 180ms ease, background-color 180ms ease, border-color 180ms ease;
user-select: none;
}
.btn:hover {
opacity: 0.85;
transform: none;
}
.btn:focus-visible {
outline: 2px solid var(--b2b-ink);
outline-offset: 2px;
}
.btn:disabled {
opacity: 0.35;
cursor: not-allowed;
}
/* Primary: solid ink */
.btn-b2b-primary {
color: var(--b2b-surface);
background: var(--b2b-ink);
border: 1px solid var(--b2b-ink);
}
.btn-b2b-primary:hover,
.btn-b2b-primary:focus {
opacity: 0.88;
color: var(--b2b-surface);
background: var(--b2b-ink);
}
/* Outline: transparent with border */
.btn-b2b-secondary,
.btn-b2b-outline {
color: var(--b2b-ink);
background: transparent;
border: 1px solid var(--b2b-line);
}
.btn-b2b-secondary:hover,
.btn-b2b-outline:hover {
color: var(--b2b-ink);
background: var(--b2b-mist);
border-color: var(--b2b-ink);
}
/* Light: white text on transparent */
.btn-b2b-light {
color: var(--b2b-surface);
background: transparent;
border: 1px solid rgba(250, 250, 248, 0.3);
}
.btn-b2b-light:hover {
background: var(--b2b-surface);
color: var(--b2b-ink);
border-color: var(--b2b-surface);
opacity: 1;
}
/* Text link with arrow */
.text-link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
color: var(--b2b-ink);
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.06em;
text-decoration: none;
text-transform: uppercase;
transition: opacity 180ms ease;
}
.text-link::after {
content: "→";
transition: transform 180ms ease;
}
.text-link:hover {
opacity: 0.7;
}
.text-link:hover::after {
transform: translateX(3px);
}
.btn-lg {
padding: 1rem 2.25rem;
font-size: 0.85rem;
}
/* ---- Header / Navigation ---- */
.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1030;
}
.b2b-header {
color: var(--b2b-ink);
background: rgba(250, 250, 248, 0.92);
border-bottom: 1px solid var(--b2b-line-light);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
transition: border-color 180ms ease;
}
.b2b-header .navbar {
min-height: 72px;
}
.b2b-wordmark {
color: var(--b2b-ink);
font-family: "Josefin Sans", "Noto Sans SC", Arial, sans-serif;
font-size: 1.35rem;
font-weight: 400;
letter-spacing: 0.1em;
text-decoration: none;
text-transform: uppercase;
}
.b2b-wordmark:hover {
opacity: 0.7;
}
.custom-logo,
.custom-logo-link img {
width: auto;
max-width: 180px;
max-height: 48px;
}
.b2b-header .nav-link {
color: var(--b2b-ink-soft);
font-size: 0.82rem;
font-weight: 500;
letter-spacing: 0.04em;
padding: 0.375rem 0;
transition: color 180ms ease;
}
.b2b-header .nav-link:hover,
.b2b-header .nav-link:focus,
.b2b-header .nav-link.active {
color: var(--b2b-ink);
}
/* Header CTA button */
.b2b-header-cta {
display: inline-flex;
align-items: center;
padding: 0.625rem 1.25rem;
color: var(--b2b-surface);
background: var(--b2b-ink);
border: 1px solid var(--b2b-ink);
font-size: 0.76rem;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
text-decoration: none;
white-space: nowrap;
}
.b2b-header-cta:hover {
opacity: 0.85;
color: var(--b2b-surface);
}
.admin-bar .site-header { top: 32px; }
/* ---- Hero Section ---- */
.b2b-hero {
display: flex;
min-height: 85vh;
padding: 8rem 0 5rem;
align-items: center;
background: var(--b2b-surface);
}
.b2b-hero h1 {
max-width: 780px;
margin-bottom: 1.75rem;
font-family: "Josefin Sans", "Noto Sans SC", Arial, sans-serif;
font-size: clamp(2.8rem, 6vw, 5.2rem);
font-weight: 300;
letter-spacing: -0.03em;
line-height: 1.05;
}
.b2b-hero-lead {
max-width: 560px;
font-size: clamp(1rem, 1.4vw, 1.15rem);
color: var(--b2b-ink-soft);
line-height: 1.7;
}
.hero-proof-list {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
list-style: none;
padding: 0;
margin: 3rem 0 0;
}
.hero-proof-list li {
position: relative;
padding-left: 1.25rem;
color: var(--b2b-ink-soft);
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.hero-proof-list li::before {
content: "";
position: absolute;
top: 0.5em;
left: 0;
width: 6px;
height: 1px;
background: var(--b2b-ink);
}
/* ---- Trust Strip ---- */
.trust-strip {
color: var(--b2b-surface);
background: var(--b2b-ink);
}
.trust-metric {
min-height: 120px;
padding: 2rem 2rem 1.75rem;
border-right: 1px solid rgba(250, 250, 248, 0.1);
}
.trust-metric:last-child { border-right: 0; }
.trust-metric strong,
.trust-metric span {
display: block;
}
.trust-metric strong {
margin-bottom: 0.5rem;
color: var(--b2b-surface);
font-family: "Jost", "Noto Sans SC", Arial, sans-serif;
font-size: clamp(1.3rem, 2.2vw, 1.8rem);
font-weight: 400;
}
.trust-metric span {
color: rgba(250, 250, 248, 0.6);
font-size: 0.76rem;
letter-spacing: 0.06em;
text-transform: uppercase;
}
/* ---- Service Cards (Capability Grid) ---- */
.services-section,
.capabilities-section {
background: var(--b2b-surface);
}
.capability-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1px;
background: var(--b2b-line);
}
.capability-card {
display: grid;
min-width: 0;
overflow: hidden;
grid-template-rows: auto 1fr;
background: var(--b2b-surface);
}
.capability-image {
aspect-ratio: 4 / 3;
overflow: hidden;
background: var(--b2b-mist);
}
.capability-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 500ms ease;
}
.capability-card:hover .capability-image img {
transform: scale(1.03);
}
.capability-body {
display: flex;
min-width: 0;
padding: 1.5rem;
flex-direction: column;
}
.capability-label {
margin-bottom: 0.5rem;
color: var(--b2b-ink-muted);
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.capability-body h3 {
margin-bottom: 0.75rem;
font-size: 1.3rem;
font-weight: 400;
}
.capability-body h3 a {
color: var(--b2b-ink);
text-decoration: none;
}
.capability-body h3 a:hover {
opacity: 0.7;
}
.capability-body p {
margin-bottom: 1.25rem;
font-size: 0.95rem;
color: var(--b2b-ink-soft);
}
.capability-specs {
padding-top: 1rem;
margin-bottom: 1.25rem;
color: var(--b2b-ink);
border-top: 1px solid var(--b2b-line);
font-size: 0.85rem;
font-weight: 500;
}
.capability-body .btn {
margin-top: auto;
align-self: flex-start;
}
/* ---- Case Grid ---- */
.cases-section {
background: var(--b2b-mist);
}
.case-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1px;
background: var(--b2b-line);
}
.case-card {
position: relative;
display: block;
overflow: hidden;
background: var(--b2b-surface);
text-decoration: none;
aspect-ratio: 4 / 3;
}
.case-card img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 500ms ease;
}
.case-card:hover img {
transform: scale(1.04);
}
.case-card-title {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 1.5rem 1.25rem;
color: var(--b2b-surface);
font-family: "Jost", "Noto Sans SC", Arial, sans-serif;
font-size: 1.1rem;
font-weight: 400;
letter-spacing: 0.02em;
background: linear-gradient(to top, rgba(28, 28, 26, 0.9), transparent);
}
/* Case filter pills */
.case-filter {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.case-filter .btn {
border-radius: 0;
font-size: 0.72rem;
padding: 0.5rem 1rem;
letter-spacing: 0.08em;
}
/* ---- CTA Section ---- */
.cta-section {
background: var(--b2b-ink);
color: var(--b2b-surface);
text-align: center;
padding: 5rem 0;
}
.cta-section h2 {
color: var(--b2b-surface);
font-size: clamp(2rem, 3.5vw, 2.8rem);
margin-bottom: 1rem;
}
.cta-section .section-lead {
color: rgba(250, 250, 248, 0.7);
margin: 0 auto 2rem;
max-width: 520px;
}
/* ---- FAQ Section ---- */
.faq-section {
background: var(--b2b-surface);
}
.faq-section .accordion,
.faq-section .accordion-item,
.faq-section .accordion-collapse,
.faq-section .accordion-body {
background: transparent;
}
.faq-section .accordion-item {
border: 0;
border-bottom: 1px solid var(--b2b-line);
}
.faq-section .accordion-button {
padding: 1.5rem 0;
color: var(--b2b-ink);
background: transparent;
box-shadow: none;
font-family: "Jost", "Noto Sans SC", Arial, sans-serif;
font-size: 1.1rem;
font-weight: 400;
}
.faq-section .accordion-button:not(.collapsed) {
color: var(--b2b-ink);
background: transparent;
}
.faq-section .accordion-button::after {
filter: none;
opacity: 0.4;
}
.faq-section .accordion-body {
padding: 0 0 1.5rem;
color: var(--b2b-ink-soft);
}
/* ---- RFQ / Contact Form ---- */
.rfq-section {
background: var(--b2b-mist);
}
.rfq-direct {
margin-top: 2.5rem;
padding: 1.5rem;
background: var(--b2b-surface);
border-left: 2px solid var(--b2b-ink);
}
.rfq-direct h3 {
font-size: 1.05rem;
margin-bottom: 0.5rem;
}
.rfq-form-card {
padding: 2rem;
background: var(--b2b-surface);
border: 1px solid var(--b2b-line);
}
.rfq-form-card label {
display: block;
margin-bottom: 0.4rem;
color: var(--b2b-ink);
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.04em;
}
.rfq-form-card .form-control,
.rfq-form-card .form-select {
min-height: 46px;
padding: 0.625rem 0.875rem;
color: var(--b2b-ink);
background-color: var(--b2b-surface);
border: 1px solid var(--b2b-line);
border-radius: 0;
font-family: "Jost", "Noto Sans SC", Arial, sans-serif;
font-size: 0.95rem;
transition: border-color 180ms ease;
}
.rfq-form-card textarea.form-control {
min-height: auto;
}
.rfq-form-card .form-control:focus,
.rfq-form-card .form-select:focus {
border-color: var(--b2b-ink);
box-shadow: none;
outline: none;
}
.rfq-form-card .form-control::placeholder {
color: var(--b2b-ink-muted);
}
.fragrance-form-status p {
margin-bottom: 1.5rem;
padding: 1rem 1.25rem;
color: var(--b2b-ink);
background: var(--b2b-mist);
border-left: 2px solid var(--b2b-ink);
}
.rfq-privacy-note {
margin: 1rem 0;
color: var(--b2b-ink-muted);
font-size: 0.78rem;
}
.fragrance-honeypot {
position: absolute !important;
left: -10000px !important;
width: 1px;
height: 1px;
overflow: hidden;
}
/* ---- Quality Grid ---- */
.quality-section {
background: var(--b2b-mist);
}
.quality-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1px;
background: var(--b2b-line);
}
.quality-card {
min-width: 0;
min-height: 240px;
padding: 2rem 1.75rem;
background: var(--b2b-mist);
}
.quality-number {
display: block;
margin-bottom: 2.5rem;
color: var(--b2b-ink-muted);
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.1em;
}
.quality-card h3 {
margin-bottom: 0.75rem;
font-size: 1.15rem;
}
.quality-card p {
color: var(--b2b-ink-soft);
font-size: 0.95rem;
}
/* ---- Process Grid ---- */
.process-section {
background: var(--b2b-surface);
}
.process-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1rem;
}
.process-step {
position: relative;
min-width: 0;
min-height: 250px;
padding: 1.75rem 1.5rem;
background: var(--b2b-elevated);
border-top: 2px solid var(--b2b-ink);
}
.process-step span {
display: block;
margin-bottom: 2rem;
color: var(--b2b-ink-muted);
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.08em;
}
.process-step h3 {
margin-bottom: 0.75rem;
font-size: 1.15rem;
}
.process-step p {
color: var(--b2b-ink-soft);
font-size: 0.92rem;
}
/* ---- Project Scenarios ---- */
.projects-section {
background: var(--b2b-mist);
}
.project-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1px;
background: var(--b2b-line);
}
.project-card {
display: flex;
min-width: 0;
min-height: 300px;
padding: 2rem 1.75rem;
flex-direction: column;
background: var(--b2b-mist);
}
.project-meta {
color: var(--b2b-ink-muted);
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.project-card h3 {
margin: 1.25rem 0 0.75rem;
font-size: 1.5rem;
}
.project-card p {
color: var(--b2b-ink-soft);
font-size: 0.95rem;
}
.project-card .text-link {
margin-top: auto;
}
/* ---- Customization Grid ---- */
.customization-section {
color: var(--b2b-surface);
background: var(--b2b-ink);
}
.customization-section h2,
.customization-section .section-eyebrow {
color: var(--b2b-surface);
}
.customization-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
border-top: 1px solid rgba(250, 250, 248, 0.12);
border-left: 1px solid rgba(250, 250, 248, 0.12);
}
.customization-item {
min-width: 0;
padding: 1.75rem;
border-right: 1px solid rgba(250, 250, 248, 0.12);
border-bottom: 1px solid rgba(250, 250, 248, 0.12);
}
.customization-item span {
display: block;
margin-bottom: 1.25rem;
color: rgba(250, 250, 248, 0.4);
font-size: 0.75rem;
letter-spacing: 0.1em;
}
.customization-item h3 {
margin: 0;
color: var(--b2b-surface);
font-size: 1.15rem;
}
/* ---- Factory / Store Environment ---- */
.factory-proof {
background: var(--b2b-surface);
}
.factory-points {
list-style: none;
padding: 0;
}
.factory-points li {
display: flex;
margin-bottom: 0.75rem;
gap: 0.75rem;
color: var(--b2b-ink);
font-size: 1rem;
}
.factory-points span {
color: var(--b2b-ink-soft);
font-weight: 500;
}
.factory-gallery {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-template-rows: repeat(2, 220px);
gap: 1px;
background: var(--b2b-line);
}
.factory-gallery figure {
margin: 0;
overflow: hidden;
background: var(--b2b-mist);
}
.factory-gallery figure:first-child {
grid-row: span 2;
}
.factory-gallery img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* ---- Factory Video ---- */
.factory-video-section {
padding-bottom: 7rem;
}
.factory-video-card {
position: relative;
min-height: 500px;
overflow: hidden;
background: var(--b2b-ink);
}
.factory-video-card > img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.55;
}
.factory-video-overlay {
position: relative;
z-index: 1;
display: flex;
max-width: 640px;
min-height: 500px;
padding: 3rem;
flex-direction: column;
justify-content: center;
color: rgba(250, 250, 248, 0.75);
}
.factory-video-overlay h2,
.factory-video-overlay .section-eyebrow {
color: var(--b2b-surface);
}
.factory-video-overlay h2 {
font-size: clamp(2rem, 4vw, 3.6rem);
}
.factory-video-disclosure {
max-width: 560px;
margin-top: 0.5rem;
color: rgba(250, 250, 248, 0.5);
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.04em;
}
.video-play-link {
display: inline-flex;
margin-top: 1.5rem;
align-items: center;
gap: 1rem;
color: var(--b2b-surface);
font-weight: 500;
text-decoration: none;
}
.video-play-link:hover {
opacity: 0.8;
}
/* ---- Documents Section ---- */
.documents-section {
color: rgba(250, 250, 248, 0.65);
background: var(--b2b-ink);
}
.documents-section h2,
.documents-section h3,
.documents-section .section-eyebrow {
color: var(--b2b-surface);
}
.document-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1px;
background: rgba(250, 250, 248, 0.12);
}
.document-grid article {
display: flex;
min-width: 0;
padding: 1.75rem;
gap: 1rem;
background: var(--b2b-ink);
}
.document-grid article > span {
color: rgba(250, 250, 248, 0.4);
font-weight: 500;
font-size: 0.75rem;
flex-shrink: 0;
}
.document-grid h3 {
font-size: 1.1rem;
margin-bottom: 0.5rem;
}
.document-grid p {
font-size: 0.92rem;
color: rgba(250, 250, 248, 0.6);
}
/* ---- Footer ---- */
.b2b-footer {
color: rgba(250, 250, 248, 0.55);
background: #141412;
}
.b2b-footer a {
color: rgba(250, 250, 248, 0.7);
text-decoration: none;
}
.b2b-footer a:hover {
color: var(--b2b-surface);
opacity: 1;
}
.b2b-footer .h3,
.b2b-footer h2 {
color: var(--b2b-surface);
}
.footer-positioning {
max-width: 480px;
font-size: 1rem;
}
.footer-kicker {
color: rgba(250, 250, 248, 0.4);
font-size: 0.75rem;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.footer-links {
list-style: none;
padding: 0;
}
.footer-links li {
margin-bottom: 0.625rem;
}
.footer-links a {
font-size: 0.95rem;
}
.footer-bottom {
border-color: rgba(250, 250, 248, 0.08) !important;
font-size: 0.78rem;
}
/* ---- WordPress Content Area ---- */
.fragrance-content-area {
min-height: 65vh;
padding-top: 8.5rem !important;
padding-bottom: 5rem !important;
}
.fragrance-entry {
max-width: 780px;
margin: 0 auto;
}
.entry-title {
font-family: "Jost", "Noto Sans SC", Arial, sans-serif;
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 400;
letter-spacing: -0.02em;
}
/* ---- Accessibility ---- */
.screen-reader-text {
position: absolute !important;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
top: 12px;
left: 12px;
z-index: 100000;
width: auto;
height: auto;
padding: 0.75rem 1rem;
clip: auto !important;
clip-path: none;
color: var(--b2b-ink);
background: var(--b2b-surface);
border: 2px solid var(--b2b-ink);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
outline: 2px solid var(--b2b-ink);
outline-offset: 2px;
}
/* ---- WordPress Alignments ---- */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.alignwide { width: 90vw; max-width: 90vw; margin-left: calc(50% - 45vw); }
.wp-caption,
.gallery-caption { max-width: 100%; }
/* ---- Inner Pages ---- */
.page-header,
.b2b-section.about-intro,
.contact-section,
.page-content {
padding-top: 8.5rem;
}
.page-content {
padding-bottom: 5rem;
}
/* Breadcrumb */
.breadcrumb-nav {
color: var(--b2b-ink-muted);
font-size: 0.9rem;
line-height: 1.6;
word-break: break-word;
}
.breadcrumb-nav a {
color: var(--b2b-ink-soft);
text-decoration: none;
white-space: normal;
}
.breadcrumb-nav a:hover {
color: var(--b2b-ink);
opacity: 1;
}
/* Content typography */
.service-content,
.about-content,
.case-content {
font-size: 1.02rem;
line-height: 1.8;
color: var(--b2b-ink-soft);
}
.case-types {
color: var(--b2b-ink-muted);
font-weight: 500;
font-size: 0.9rem;
}
/* ---- About Page CTA ---- */
.about-cta {
padding: 5rem 0;
background: var(--b2b-mist);
text-align: center;
}
.about-cta h2 {
font-size: clamp(1.8rem, 3vw, 2.4rem);
}
/* ---- Contact Page ---- */
.contact-info-card {
padding: 2.5rem 2rem;
background: var(--b2b-surface);
border: 1px solid var(--b2b-line);
}
.contact-info-item {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1.25rem 0;
}
.contact-info-item + .contact-info-item {
border-top: 1px solid var(--b2b-line-light);
}
.contact-info-icon {
flex-shrink: 0;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
background: var(--b2b-mist);
}
.contact-info-body h3 {
font-size: 0.9rem;
margin-bottom: 0.2rem;
color: var(--b2b-ink-muted);
font-weight: 500;
}
.contact-info-body p,
.contact-info-body a {
font-size: 1rem;
font-weight: 500;
color: var(--b2b-ink);
text-decoration: none;
margin: 0;
}
.contact-info-body a:hover {
opacity: 0.7;
}
.contact-info-body .whatsapp-link {
display: inline-block;
margin-top: 0.25rem;
padding: 0.375rem 1rem;
background: var(--b2b-ink);
color: var(--b2b-surface);
font-size: 0.85rem;
font-weight: 500;
text-decoration: none;
letter-spacing: 0.04em;
}
.contact-info-body .whatsapp-link:hover {
opacity: 0.85;
color: var(--b2b-surface);
}
/* Map card */
.contact-map-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 320px;
padding: 3rem 2rem;
background: var(--b2b-mist);
border: 1px solid var(--b2b-line);
text-align: center;
text-decoration: none;
transition: background 180ms ease;
}
.contact-map-card:hover {
background: var(--b2b-elevated);
text-decoration: none;
}
.contact-map-icon {
color: var(--b2b-ink-soft);
margin-bottom: 1rem;
}
.contact-map-address {
font-size: 1rem;
font-weight: 500;
color: var(--b2b-ink);
margin: 0;
max-width: 320px;
}
/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto !important; }
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* ============================================================
Responsive Breakpoints
============================================================ */
/* XL down — 1199px */
@media (max-width: 1199px) {
/* Offcanvas mobile menu */
.b2b-header .offcanvas {
max-width: 320px;
width: 85vw !important;
height: 100dvh;
height: 100vh;
overflow-y: auto;
background: var(--b2b-surface);
border-left: 1px solid var(--b2b-line-light);
box-shadow: var(--b2b-shadow-lg, 0 0 30px rgba(28,28,26,0.08));
}
.b2b-header .offcanvas-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
border-bottom: 1px solid var(--b2b-line-light);
padding: 1.25rem 1.5rem;
margin: 0;
}
.b2b-header .offcanvas-title {
font-weight: 600;
font-size: 1.1rem;
color: var(--b2b-ink);
}
.b2b-header .offcanvas-body {
flex: 1 1 auto;
display: flex !important;
flex-direction: column;
padding: 0.5rem 1.5rem 2rem;
overflow-y: auto;
}
.b2b-header .offcanvas .navbar-nav {
display: flex !important;
flex-direction: column;
gap: 0;
margin: 0 0 1.5rem 0;
padding: 0;
list-style: none;
width: 100%;
}
.b2b-header .offcanvas .nav-item {
border-bottom: 1px solid var(--b2b-line-light);
width: 100%;
}
.b2b-header .offcanvas .nav-link {
display: block;
width: 100%;
padding: 0.85rem 0;
color: var(--b2b-ink);
font-size: 1.05rem;
font-weight: 500;
text-align: left;
text-decoration: none;
transition: color 180ms ease;
}
.b2b-header .offcanvas .nav-link:hover,
.b2b-header .offcanvas .nav-link:focus {
color: var(--b2b-ink-soft);
}
.b2b-header .offcanvas .nav-link.active,
.b2b-header .offcanvas .current-menu-item > .nav-link {
color: var(--b2b-ink);
font-weight: 600;
}
.b2b-header .b2b-header-cta {
align-self: flex-start;
}
/* Navbar layout overrides for collapsed state */
.b2b-header .navbar-nav {
gap: 1.25rem;
}
.capability-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.process-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
/* LG down — 991px */
@media (max-width: 991px) {
.b2b-section {
padding: 5rem 0;
}
.b2b-hero {
min-height: 0;
padding: 7rem 0 4.5rem;
}
.project-grid {
grid-template-columns: 1fr;
}
.quality-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.factory-gallery {
margin-top: 1.5rem;
}
.factory-video-section {
padding-bottom: 5rem;
}
.contact-map-card {
min-height: 220px;
padding: 2rem 1.5rem;
}
}
/* Admin bar — 782px */
@media (max-width: 782px) {
.admin-bar .site-header { top: 46px; }
}
/* MD down — 768px */
@media (max-width: 768px) {
body {
font-size: 0.95rem;
}
.b2b-section {
padding: 4rem 0;
}
.b2b-hero {
padding-top: 6.5rem;
}
.b2b-hero h1 {
font-size: clamp(2.2rem, 10vw, 3.4rem);
}
.hero-proof-list {
display: grid !important;
grid-template-columns: 1fr;
gap: 0.75rem;
}
.trust-metric {
min-height: 110px;
padding: 1.5rem 1.25rem;
border-right: 1px solid rgba(250, 250, 248, 0.1);
border-bottom: 1px solid rgba(250, 250, 248, 0.1);
}
.trust-metric:nth-child(even) {
border-right: 0;
}
.capability-grid,
.customization-grid,
.quality-grid,
.process-grid,
.document-grid {
grid-template-columns: 1fr;
}
.case-grid {
grid-template-columns: 1fr;
}
.factory-gallery {
grid-template-rows: repeat(2, 160px);
}
.factory-video-card,
.factory-video-overlay {
min-height: 420px;
}
.factory-video-overlay {
padding: 2rem 1.5rem;
}
.rfq-form-card {
padding: 1.5rem;
}
.project-card,
.quality-card,
.process-step {
min-height: 0;
padding: 1.5rem 1.25rem;
}
.page-header,
.b2b-section.about-intro,
.contact-section,
.page-content {
padding-top: 7rem;
}
.page-content {
padding-bottom: 4rem;
}
.about-cta {
padding: 4rem 0;
}
}
/* SM down — 480px */
@media (max-width: 480px) {
.b2b-hero .btn {
width: 100%;
}
.factory-gallery {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: repeat(4, 200px);
}
.factory-gallery figure:first-child {
grid-row: auto;
}
.capability-body {
padding: 1.25rem;
}
.trust-metric {
padding: 1.25rem 1rem;
}
.contact-map-card {
min-height: 180px;
}
}