/* ===================================================================
   Partner 页（2026-09 改版）
   只在 view/home/partners.html 引用；类名统一 pp- 前缀，不影响其它页面。
   颜色：两块信息 / 表单面板取自设计稿；第 4 区沿用原页 .whatsCont 的奶油色与图标。
   =================================================================== */

.pp { background: #fff; color: #3C323A; }
.pp [hidden] { display: none !important; }
/* 全站 css.css 没设 border-box：width:100% 的输入框加上 padding 会溢出面板 */
.pp *, .pp *::before, .pp *::after { box-sizing: border-box; }

/* ---------- 1. 三步 ---------- */
.pp-steps { padding: 72px 0 64px; }
.pp-title { font-family: 'mb'; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.2; color: #2b2626; }
.pp-step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.pp-step-list li { list-style: none; }
.pp-step-icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: #F6EEDE; border-radius: 12px; color: #5b4a40; margin-bottom: 20px; }
.pp-step-icon svg { width: 46px; height: 46px; }
.pp-step-list h3 { font-family: 'mb'; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; color: #2b2626; margin-bottom: 10px; }
.pp-step-list p { font-size: 17px; line-height: 1.55; color: #4a4240; max-width: 300px; }

/* ---------- 2 / 3. 安装商 & 经销商 ---------- */
.pp-block { padding-bottom: 36px; }
.pp-block-inner { display: grid; grid-template-columns: 1fr 1fr; }
.pp-info { background: #bcbbc0; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.pp-info h2 { font-family: 'mb'; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; color: #2b2626; margin-bottom: 28px; }
.pp-bullets li { list-style: none; position: relative; padding-left: 24px; font-size: 17px; line-height: 1.55; color: #2b2626; }
.pp-bullets li::before { content: ''; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: #2b2626; }
.pp-tagline { margin-top: 44px; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: #2b2626; }

.pp-form-wrap { background: #d9d4cf; padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.pp-row { display: grid; grid-template-columns: 38% 1fr; align-items: center; column-gap: 12px; margin-bottom: 8px; }
.pp-row > label,
.pp-row > .pp-label { font-size: 15px; line-height: 1.3; color: #3C323A; }
.pp-row--stack { grid-template-columns: 1fr; row-gap: 6px; margin-top: 10px; }
.pp-req { color: #3C323A; }

.pp-ctl input:not([type="checkbox"]),
.pp-ctl select { width: 100%; height: 42px; border: 0; border-radius: 0; background: #fff; padding: 0 12px; font-family: 'mr', sans-serif; font-size: 15px; color: #3C323A; outline: none; box-shadow: none; }
.pp-ctl input:focus,
.pp-ctl select:focus { outline: 2px solid #7F3611; outline-offset: -2px; }
.pp-ctl select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.pp-ctl select option[value=""] { color: #8a817b; }

/* 下拉：设计稿右侧的灰色方块箭头 */
.pp-select { position: relative; }
.pp-select select { padding-right: 46px; }
.pp-select::after { content: ''; position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; pointer-events: none;
	background: #d9d4cf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat; }

/* 多选：「Waarin bent u geïnteresseerd?」 */
.pp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; background: #fff; padding: 12px 14px; }
.pp-check { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; line-height: 1.35; color: #3C323A; cursor: pointer; }
.pp-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #7F3611; cursor: pointer; }
.pp-check input:focus-visible { outline: 2px solid #7F3611; outline-offset: 2px; }

/* 电话：国家区号 + 号码 */
.pp-phone { display: flex; gap: 8px; }
.pp-phone select { flex: 0 0 72px; width: 72px; text-align: center; text-align-last: center; padding: 0 6px; }
.pp-phone input { flex: 1; min-width: 0; }

.pp-help { display: block; font-size: 12px; line-height: 1.45; color: #6f6661; }

.pp-actions { display: grid; grid-template-columns: 38% 1fr; column-gap: 12px; margin-top: 18px; }
.pp-actions .pp-btn { grid-column: 2; }
.pp-btn { height: 46px; border: 0; background: #bcbbc0; color: #2b2626; font-family: 'mr', sans-serif; font-size: 16px; cursor: pointer; transition: background .25s, color .25s; }
.pp-btn:hover,
.pp-btn:focus-visible { background: #7F3611; color: #fff; outline: none; }
.pp-btn:disabled { opacity: .6; cursor: default; }

/* 校验 */
.pp-err { grid-column: 2; font-size: 13px; line-height: 1.4; color: #b3261e; margin-top: 4px; }
.pp-row--stack .pp-err { grid-column: 1; margin-top: 0; }
.pp-err:empty { display: none; }
/* 只标红真正出错的那个控件（电话那一行的区号下拉不标）
   选择器要带上 input / select：上面 .pp-ctl input:not([type="checkbox"]) 的权重是 (0,2,1)，只写属性选择器会被它的 outline:none 盖掉 */
.pp-ctl input[aria-invalid="true"],
.pp-ctl select[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: -2px; }

/* 提交成功 */
.pp-done { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 0; }
.pp-done-icon { width: 52px; height: 52px; border-radius: 50%; background: #7F3611; color: #fff; display: flex; align-items: center; justify-content: center; }
.pp-done-icon svg { width: 28px; height: 28px; }
.pp-done p { font-size: 20px; line-height: 1.5; color: #2b2626; max-width: 420px; }

/* ---------- 4. 品牌优势 + 实景 ---------- */
.pp-usp { display: flex; background: #F6EEDE; margin-top: 34px; }
.pp-usp-text { width: 50%; display: flex; justify-content: flex-end; }
.pp-usp-inner { width: 600px; max-width: 100%; padding: 80px 56px 80px 0; }
.pp-usp-lead { font-size: 20px; line-height: 1.5; color: #2b2626; max-width: 470px; margin-bottom: 36px; }
.pp-usp li { list-style: none; display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.pp-usp li:last-child { margin-bottom: 0; }
.pp-usp li img { width: 56px; height: 56px; flex: 0 0 56px; }
.pp-usp h3 { font-family: 'mb'; font-size: 17px; line-height: 1.3; color: #7F3611; margin-bottom: 2px; }
.pp-usp li span { font-size: 16px; line-height: 1.4; color: #a0664a; }
.pp-usp-img { width: 50%; }
.pp-usp-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
	.pp-info { padding: 52px 40px; }
	.pp-form-wrap { padding: 40px 36px; }
	.pp-usp-inner { padding: 64px 40px 64px 4vw; width: 100%; }
}

@media (max-width: 991px) {
	.pp-steps { padding: 48px 0 40px; }
	.pp-step-list { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
	.pp-step-list li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start; }
	.pp-step-icon { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
	.pp-step-icon svg { width: 40px; height: 40px; }
	.pp-step-list h3 { margin-bottom: 6px; }
	.pp-step-list p { max-width: none; font-size: 16px; }

	.pp-block-inner { grid-template-columns: 1fr; }
	.pp-block--dealer .pp-info { order: -1; }          /* 手机上先看介绍、再填表 */
	.pp-info { padding: 36px 24px; }
	.pp-info h2 { margin-bottom: 18px; }
	.pp-bullets li { font-size: 16px; }
	.pp-tagline { margin-top: 24px; }
	.pp-form-wrap { padding: 28px 24px 32px; }

	.pp-usp { flex-direction: column; margin-top: 40px; }
	.pp-usp-text, .pp-usp-img { width: 100%; }
	.pp-usp-inner { width: 100%; padding: 44px 4%; }
	.pp-usp-lead { font-size: 18px; margin-bottom: 28px; }
	.pp-usp-img img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
}

@media (max-width: 600px) {
	.pp-row,
	.pp-actions { grid-template-columns: 1fr; row-gap: 6px; }
	.pp-row { margin-bottom: 12px; }
	.pp-actions .pp-btn,
	.pp-err { grid-column: 1; }
	.pp-err { margin-top: 0; }
	.pp-ctl input:not([type="checkbox"]),
	.pp-ctl select { height: 46px; font-size: 16px; }   /* 16px 防止 iOS 聚焦时自动放大 */
	.pp-checks { grid-template-columns: 1fr; }
	.pp-check { font-size: 16px; }
}
