/* ==========================================================================
   YURORAS English — main stylesheet
   Reused by the WordPress theme AND by the static preview in F:\waimao\preview
   (preview/index.html links to this exact file via a relative path).
   No external fonts, no CDN: works fully offline.
   ========================================================================== */

:root {
	/*
	 * Palette taken from the Chinese site's own stylesheet
	 * (source/raw/css/index.css): #0153a7 primary, #f39801 accent,
	 * #333333 body text, #1d1d1d headings, #999999 secondary, #e7e7e7 rules.
	 * Only --brand-dark is derived — their CSS has no darker pressed state.
	 */
	--brand: #0153a7;
	--brand-dark: #013e7d;
	--brand-light: #0c58a6;
	--accent: #f39801;
	--ink: #1d1d1d;
	--ink-soft: #333333;
	--body: #333333;
	--muted: #999999;
	--line: #e7e7e7;
	--bg: #ffffff;
	--soft: #f5f6f8;
	--success: #0f7b4f;
	--error: #b42318;
	--radius: 10px;
	--radius-lg: 14px;
	--shadow-sm: 0 1px 2px rgba(12, 21, 34, .06), 0 1px 3px rgba(12, 21, 34, .04);
	--shadow-md: 0 10px 24px rgba(12, 21, 34, .08);
	--container: 1200px;
	--gutter: 24px;
	--section: 84px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* --------------------------------------------------------------- reset --- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* The header is sticky, so in-page anchors must stop below it. */
#rfq { scroll-margin-top: 88px; }
@media (max-width: 720px) { #rfq { scroll-margin-top: 74px; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--body);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--ink);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.01em;
}

h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }

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

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 3px;
}

/* ------------------------------------------------------------ helpers --- */

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.eyebrow {
	margin: 0 0 .6em;
	color: var(--brand);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.section--ink .eyebrow { color: #8fc0f5; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: .95rem;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------ buttons --- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: rgba(13, 79, 156, .07); color: var(--brand-dark); }

.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.section--ink .btn--ghost { color: #fff; }
.section--ink .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ------------------------------------------------------------- header --- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 74px;
	position: relative;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }

/* Logo uploaded in Appearance → Customize → Site Identity. Constrained here so a large
   source file can never blow up the header. */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo,
img.custom-logo {
	width: auto;
	height: 44px;
	max-width: 300px;
	object-fit: contain;
}
@media (max-width: 720px) {
	.custom-logo { height: 34px; max-width: 230px; }
}

.brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 40px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--brand), var(--brand-light));
	color: #fff;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .06em;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.brand__tag { color: var(--muted); font-size: .74rem; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav__list li { margin: 0; }

.nav__link {
	display: inline-block;
	padding: 6px 0;
	color: var(--ink-soft);
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.nav__link:hover,
.current-menu-item > .nav__link { color: var(--brand); border-bottom-color: var(--brand); text-decoration: none; }

.nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 16px; height: 2px;
	background: currentColor;
	content: "";
	position: relative;
}
.nav-toggle__bars::before { position: absolute; top: -5px; }
.nav-toggle__bars::after { position: absolute; top: 5px; }

/* --------------------------------------------------------------- hero --- */

.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1000px 420px at 82% -10%, rgba(240, 130, 30, .22), transparent 60%),
		linear-gradient(140deg, #08203f 0%, var(--brand) 55%, var(--brand-light) 100%);
	color: #e8f1fb;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: .5;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 56px;
	align-items: center;
	padding-top: 76px;
	padding-bottom: 84px;
}

.hero .eyebrow { color: #ffc891; }
.hero__title { color: #fff; margin-bottom: .5em; }
.hero__lead { color: #d3e4f7; font-size: 1.08rem; max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-block;
	margin: 0;
	padding: 6px 12px;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink-soft);
	font-size: .82rem;
	font-weight: 600;
	white-space: nowrap;
}
.hero .chip {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .28);
	color: #eaf4ff;
}
.chip--link:hover { background: #e8f0fb; color: var(--brand-dark); text-decoration: none; }
.chip a { color: inherit; }

.hero__visual { display: grid; gap: 16px; }
.hero .ph { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #eaf4ff; }

.hero__img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.hero__caption { margin: 10px 0 0; color: #bcd6f2; font-size: .84rem; }

.facts {
	margin: 0;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: var(--radius-lg);
	padding: 6px 18px;
	backdrop-filter: blur(4px);
}
.facts__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.facts__row:last-child { border-bottom: 0; }
.facts dt { color: #b9d4f2; font-size: .86rem; }
.facts dd { margin: 0; color: #fff; font-weight: 600; font-size: .9rem; text-align: right; }

/* ------------------------------------------------------- placeholder ---- */

.ph {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	width: 100%;
	border: 1px dashed #b9c6d6;
	border-radius: var(--radius);
	background:
		repeating-linear-gradient(45deg, #eef3f9, #eef3f9 12px, #e7eef7 12px, #e7eef7 24px);
	color: #6b7f96;
	overflow: hidden;
}
.ph[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.ph[data-ratio="1x1"] { aspect-ratio: 1 / 1; }
.ph__label {
	padding: 8px 14px;
	background: rgba(255, 255, 255, .85);
	border: 1px solid #cdd9e6;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 600;
	text-align: center;
	max-width: 80%;
}

/* --------------------------------------------------------------- trust -- */

.trust { background: var(--ink); color: #cfd8e3; }
.trust__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding-top: 26px;
	padding-bottom: 26px;
}
.trust__item { display: flex; flex-direction: column; gap: 2px; }
.trust__item strong { color: #fff; font-size: 1rem; }
.trust__item span { font-size: .84rem; color: #9fb0c4; }

/* ------------------------------------------------------------ sections -- */

.section { padding: var(--section) 0; }
.section--soft { background: var(--soft); }
.section--ink { background: var(--ink); color: #cfd8e3; }
.section--ink h2,
.section--ink .section__title { color: #fff; }
.section--ink .section__lead { color: #a9bdd3; }

.section__head { max-width: 68ch; margin-bottom: 34px; }
.section__title { margin-bottom: .35em; }
.section__lead { color: var(--body); font-size: 1.03rem; margin: 0; }
.section__foot { margin: 32px 0 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Photo strip that follows a block of copy inside the same section. */
.grid--photos { margin-top: 44px; }

@media (max-width: 900px) {
	.grid--photos { margin-top: 32px; }
}

/* --------------------------------------------------------------- cards -- */

.card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdcec; }
.card__media { display: block; background: var(--soft); }
.card__media .ph { border: 0; border-radius: 0; }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__meta {
	margin: 0 0 6px;
	color: var(--brand);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.card__title { margin: 0 0 .4em; font-size: 1.08rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--brand); }
.card__text { color: var(--body); font-size: .93rem; margin: 0 0 16px; }
.card__foot { margin: auto 0 0; }

.app-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-left: 4px solid var(--brand);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.app-card__title { margin: 0; font-size: 1.05rem; color: var(--ink); }
.app-card__text { margin: 0 0 8px; font-size: .92rem; color: var(--body); }

.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile__title { margin: 0 0 .6em; font-size: 1.02rem; }

.post-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px;
	box-shadow: var(--shadow-sm);
}
.post-card__title { margin: 0; font-size: 1.08rem; }
.post-card__title a { color: var(--ink); }
.post-card__meta { margin: 0; color: var(--muted); font-size: .82rem; }
.post-card__text { margin: 0 0 6px; font-size: .93rem; }

.post-card__media {
	display: block;
	margin: 0 0 14px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--soft);
}
.post-card__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.post__figure { margin: 0 0 26px; }
.post__img { width: 100%; height: auto; border-radius: var(--radius); }

/* ------------------------------------------------------ split + steps --- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split__copy p { color: var(--body); }

.check-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.check-list li::before {
	content: "✓";
	position: absolute;
	left: 0; top: 0;
	width: 18px; height: 18px;
	margin-top: .2em;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(13, 79, 156, .1);
	color: var(--brand);
	font-size: .7rem;
	font-weight: 700;
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
	position: relative;
	padding: 0 0 26px 56px;
	border-left: 2px solid var(--line);
	margin-left: 18px;
}
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step__num {
	position: absolute;
	left: -19px; top: -2px;
	width: 36px; height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	font-weight: 700;
	font-size: .95rem;
}
.step__title { margin: 0 0 .25em; font-size: 1.02rem; }
.step__text { margin: 0; font-size: .93rem; color: var(--body); }

/* -------------------------------------------------------------- RFQ ----- */

.rfq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.rfq__points { list-style: none; padding: 0; margin: 22px 0 0; }
.rfq__points li { position: relative; padding-left: 26px; color: #cfd8e3; }
.rfq__points li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	color: var(--accent);
	font-weight: 700;
}

.rfq__form-wrap {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-md);
}

.field { margin: 0 0 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .88rem; font-weight: 600; }
.req { color: var(--error); }

.input,
.textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cdd8e5;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: .95rem;
}
.input:focus,
.textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(13, 79, 156, .15); }
.textarea { min-height: 130px; resize: vertical; }

/* The <picture> wrapper from inc/webp.php must not change layout: the <img> stays the
   layout participant, exactly as it was before WebP delivery was added. */
.yrlcd-picture { display: contents; }

.field__hint { display: block; margin-top: 7px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.input--file { padding: 11px 12px; background: var(--soft); border: 1px dashed var(--line); font-size: .9rem; cursor: pointer; }
.input--file:hover { border-color: var(--brand); }
.input--file::file-selector-button {
	margin-right: 12px;
	padding: 7px 14px;
	border: 0;
	border-radius: 6px;
	background: var(--brand);
	color: #fff;
	font: inherit;
	font-size: .86rem;
	cursor: pointer;
}
.input--file::file-selector-button:hover { background: var(--brand-dark); }

.field--hidden { position: absolute; left: -9999px; }
.field--submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 0; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-privacy { font-size: .78rem; color: var(--muted); }

.alert {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: .92rem;
	font-weight: 600;
	margin: 0 0 18px;
}
.alert--success { background: #e7f6ee; border: 1px solid #b7e3cd; color: var(--success); }
.alert--error { background: #fdeceb; border: 1px solid #f5c2be; color: var(--error); }

/* -------------------------------------------------------------- pages --- */

.page-hero {
	background: linear-gradient(140deg, #08203f, var(--brand) 70%);
	color: #dbe9f8;
	padding: 46px 0 52px;
}
.page-hero__title { color: #fff; margin: .3em 0 .4em; max-width: 34ch; }
.page-hero__lead { color: #c6daf1; max-width: 72ch; margin: 0; }
.page-hero__meta { color: #a9c4e3; font-size: .9rem; margin: 0; }
.page-hero .crumbs { color: #a9c4e3; }
.page-hero .crumbs a { color: #fff; }

.crumbs { font-size: .82rem; }
.crumbs__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs__item { margin: 0; color: var(--muted); }
.crumbs__item + .crumbs__item::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs__item--current { color: var(--ink-soft); }
.page-hero .crumbs__item--current { color: #dbe9f8; }

.filter-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }

.notice {
	background: #fff8ec;
	border: 1px solid #f7dcae;
	border-left: 4px solid var(--accent);
	border-radius: 8px;
	padding: 14px 18px;
	color: #7a5314;
	font-size: .92rem;
}
.notice--inline { grid-column: 1 / -1; margin: 0; }

.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--soft); color: var(--ink); }
.prose blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--brand);
	color: var(--ink-soft);
}
.prose img { border-radius: var(--radius); }

.error-404 { max-width: 72ch; }
.error-404__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.search-form { display: flex; gap: 10px; margin: 22px 0; max-width: 520px; }
.search-form .search-field { flex: 1; padding: 12px 14px; border: 1px solid #cdd8e5; border-radius: 8px; font: inherit; }
.search-form .search-submit {
	padding: 12px 20px; border: 0; border-radius: 8px; background: var(--brand); color: #fff;
	font: inherit; font-weight: 600; cursor: pointer;
}

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; padding: 9px 12px;
	border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .page-numbers:hover { text-decoration: none; border-color: var(--brand); }

.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); max-width: var(--container); margin: 0 auto; }
.post-nav__next { text-align: right; }

/* ------------------------------------------------------------ product --- */

.product { padding: 34px 0 0; }
.product__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin: 22px 0 46px; }
.product__title { margin-bottom: .3em; }
.product__lead { font-size: 1.06rem; color: var(--body); max-width: 58ch; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.product__media .ph { aspect-ratio: 4 / 3; }

.product__layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: start; }
.product__aside { position: sticky; top: 96px; }

.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.spec-card__title { margin: 0 0 .6em; font-size: 1.1rem; }
.spec-card__note { font-size: .82rem; color: #7a5314; background: #fff8ec; border-radius: 6px; padding: 8px 10px; }
.spec-card__foot { margin: 18px 0 0; display: grid; gap: 8px; }
.spec-card__hint { font-size: .8rem; color: var(--muted); text-align: center; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th,
.spec-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 44%; color: var(--ink); font-weight: 600; background: var(--soft); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------- footer --- */

.site-footer { background: var(--ink); color: #9fb0c4; padding-top: 60px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer__brand { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0 0 .5em; }
.footer__about { font-size: .9rem; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.footer__badges li {
	padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
	font-size: .76rem; color: #cfd8e3;
}
.footer__heading { color: #fff; font-size: .95rem; margin: 0 0 .8em; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: #9fb0c4; font-size: .9rem; }
.footer__links a:hover { color: #fff; }
.footer__links--contact a { font-weight: 600; color: #cfd8e3; }
.footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
	padding-top: 20px; padding-bottom: 26px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .82rem;
}
.footer__bottom p { margin: 0; }

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 1080px) {
	:root { --section: 68px; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.footer__cols { grid-template-columns: 1fr 1fr; }
	.product__head { grid-template-columns: 1fr; gap: 32px; }
	.product__layout { grid-template-columns: 1fr; gap: 32px; }
	.product__aside { position: static; }
	.rfq { grid-template-columns: 1fr; gap: 32px; }
	.split { grid-template-columns: 1fr; gap: 36px; }
	.hero__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 60px; }
}

@media (max-width: 900px) {
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.trust__inner { grid-template-columns: repeat(2, 1fr); }

	/* Collapsed navigation — only when JavaScript is available (html.yrlcd-js).
	   Without JS the menu stays open and fully usable. */
	html.yrlcd-js .nav-toggle { display: inline-flex; }
	html.yrlcd-js .nav {
		position: absolute;
		left: 0; right: 0; top: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 10px var(--gutter) 22px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
	}
	html.yrlcd-js .nav.is-open { display: flex; }
	html.yrlcd-js .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	html.yrlcd-js .nav__link { padding: 13px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
	html.yrlcd-js .nav__cta { margin-top: 16px; }

	.nav { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__link { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------- factory shots - */

.shot { margin: 0; }
.shot__img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: #fff;
}
.shot__cap { margin-top: 8px; color: var(--muted); font-size: .84rem; }

/* --------------------------------------------------------- page links --- */

.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 28px 0 0;
	font-size: .9rem;
}
.page-links a {
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-weight: 600;
}
.page-links a:hover { border-color: var(--brand); text-decoration: none; }

/* ---------------------------------------------------------------- FAQ --- */

.faq { display: grid; gap: 10px; max-width: 92ch; }

.faq__item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0 20px;
}
.faq__item[open] { border-color: #cfdcec; box-shadow: var(--shadow-sm); }

.faq__q {
	position: relative;
	padding: 16px 34px 16px 0;
	color: var(--ink);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: var(--brand);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
}
.faq__item[open] .faq__q::after { content: "\2013"; }

.faq__a { padding: 0 0 18px; color: var(--body); font-size: .95rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------ reveal on scroll - */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity .45s ease, transform .45s ease;
}

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------- floating mobile CTA - */

.cta-float { display: none; }

@media (max-width: 900px) {
	.cta-float {
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		left: 16px;
		right: 16px;
		bottom: 16px;
		z-index: 60;
		padding: 14px 22px;
		border-radius: 999px;
		background: var(--brand);
		color: #fff;
		font-weight: 700;
		text-decoration: none;
		box-shadow: 0 12px 26px rgba(12, 21, 34, .3);
	}
	.cta-float:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
	.cta-float--wa { background: #25d366; }
	.cta-float--wa:hover { background: #1da851; color: #fff; text-decoration: none; }
	.cta-float__icon { flex: 0 0 auto; margin-right: 9px; }
	body { padding-bottom: 84px; }
}

@media (max-width: 640px) {
	:root { --section: 52px; --gutter: 18px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.trust__inner { grid-template-columns: 1fr; gap: 14px; }
	.footer__cols { grid-template-columns: 1fr; gap: 28px; }
	.hero__actions .btn { width: 100%; }
	.rfq__form-wrap { padding: 20px; }
	.split { gap: 28px; }
	.step { padding-left: 48px; }
	.spec-table th, .spec-table td { display: block; width: auto; }
	.spec-table th { background: var(--soft); border-bottom: 0; }
	.spec-table td { padding-top: 6px; }
	.post-nav { flex-direction: column; }
}
