/* Shared recovery service layout in the temporary proposal only. */
.recovery-service {
  max-width: 1240px;
  margin: 0 auto 48px;
}
.recovery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 12px 0 40px;
}
.recovery-service .recovery-eyebrow {
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.recovery-service h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.35;
  margin-bottom: 24px;
}
.recovery-service p {
  color: #475569;
  font-size: 17px;
  line-height: 1.9;
}
.recovery-visual {
  margin: 0;
  padding: 24px;
  background: #f3f7fc;
  border-radius: 16px;
  text-align: center;
}
.recovery-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 370px;
  object-fit: contain;
}
.recovery-visual figcaption {
  color: #64748b;
  font-size: 14px;
  letter-spacing: .08em;
  padding: 4px 0 10px;
}
.recovery-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--primary);
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
}
.recovery-button:hover { background: #005bd4; color: #fff; }
.recovery-button:focus-visible { outline: 3px solid #153d75; outline-offset: 4px; }
.recovery-note {
  padding: 20px 24px;
  background: #edf5ff;
  border-left: 3px solid var(--primary);
  color: #345372;
  font-size: 16px;
  line-height: 1.9;
}
.recovery-note strong { color: #163a60; }
.recovery-section { padding-top: 44px; }
.recovery-service h3 {
  color: #152c3b;
  font-size: 25px;
  font-weight: 600;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dbe4ef;
}
.recovery-faults {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  margin: 0;
}
.recovery-faults dt {
  color: #23384b;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.recovery-faults dd {
  color: #526174;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}
.recovery-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.recovery-steps li > span {
  display: block;
  color: var(--primary);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 14px;
}
.recovery-service .recovery-steps h4 {
  color: #23384b;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}
.recovery-service .recovery-steps p { font-size: 16px; margin: 0; }
.recovery-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 32px;
  background: #f3f7fc;
  margin-top: 40px;
  border-radius: 12px;
}
.recovery-consult > div { max-width: 720px; }
.recovery-service .recovery-consult h3 { font-size: 23px; padding: 0; border: 0; margin-bottom: 12px; }
.recovery-service .recovery-consult p { margin: 0; font-size: 16px; }
.recovery-consult .recovery-button { flex-shrink: 0; margin: 0; }
@media (max-width: 800px) {
  .recovery-page .float-contact { display: none; }
  .recovery-page .page-banner { height: auto; min-height: 110px; padding: 22px 20px; }
  .recovery-page .page-banner h1 { font-size: clamp(24px, 4.5vw, 32px); line-height: 1.4; }
  .recovery-intro { grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
  .recovery-visual { padding: 16px; }
  .recovery-visual img { max-height: 260px; }
  .recovery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recovery-consult { align-items: stretch; flex-direction: column; gap: 24px; padding: 24px; }
  .recovery-consult .recovery-button { align-self: flex-start; }
}
@media (max-width: 480px) {
  .recovery-service p { font-size: 16px; }
  .recovery-service h3 { font-size: 22px; }
  .recovery-faults { grid-template-columns: 1fr; gap: 24px; }
  .recovery-steps { grid-template-columns: 1fr; gap: 24px; }
  .recovery-steps li { display: flex; gap: 18px; }
  .recovery-steps li > span { flex: 0 0 36px; font-size: 24px; }
  .recovery-note { padding: 18px; }
  .recovery-section { padding-top: 36px; }
  .recovery-consult .recovery-button { width: 100%; padding-inline: 12px; font-size: 15px; gap: 12px; }
}

/* Service photography and native, keyboard-accessible questions. */
.recovery-photo { padding: 0; overflow: hidden; }
.recovery-photo img { aspect-ratio: 5 / 4; max-height: none; object-fit: cover; }
.recovery-photo-sd img { object-position: center 68%; }
.recovery-photo figcaption { padding: 18px 16px; letter-spacing: .03em; }
.recovery-faq { margin-top: -4px; }
.recovery-faq details { border-bottom: 1px solid #dbe4ef; }
.recovery-faq summary { cursor: pointer; padding: 20px 30px 20px 0; font-size: 18px; font-weight: 600; color: #23384b; position: relative; list-style: none; }
.recovery-faq summary::-webkit-details-marker { display: none; }
.recovery-faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; color: var(--primary); font-size: 23px; font-weight: 400; }
.recovery-faq details[open] summary::after { content: '−'; }
.recovery-service .recovery-faq p { margin: 0; padding: 0 28px 22px 0; }
.recovery-faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.recovery-phone-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 28px 0; }
.recovery-phone-gallery figure { margin: 0; overflow: hidden; border: 1px solid #e3eaf1; border-radius: 10px; }
.recovery-phone-gallery img { display: block; width: 100%; height: 250px; object-fit: contain; background: #fff; }
.recovery-phone-gallery figure:last-child img { object-fit: cover; }
.recovery-phone-gallery figcaption { padding: 14px 18px; background: #f3f7fc; color: #526174; font-size: 15px; text-align: center; }
.recovery-phone-brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 26px; padding: 28px 12px; background: #f7f9fc; border-radius: 12px; }
.recovery-phone-brands figure { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; margin: 0; }
/* Normalize transparent margins in the logo-mosaicked product images. */
.recovery-phone-device-frame { --phone-height: clamp(130px, 16vw, 210px); --phone-scale: 1; --phone-offset-x: 0; --phone-offset-y: 0; position: relative; width: 100%; height: var(--phone-height); overflow: hidden; }
.recovery-phone-device-frame .recovery-phone-device { position: absolute; display: block; left: calc(50% + var(--phone-height) * var(--phone-offset-x)); top: calc(50% + var(--phone-height) * var(--phone-offset-y)); width: auto; max-width: none; height: calc(var(--phone-height) * var(--phone-scale)); max-height: none; margin: 0; object-fit: contain; transform: translate(-50%, -50%); }
.recovery-phone-device-frame--apple { --phone-scale: 1.56422; --phone-offset-x: 0.00344; --phone-offset-y: -0.03899; }
.recovery-phone-device-frame--samsung { --phone-scale: 1.11864; --phone-offset-x: 0.03747; --phone-offset-y: -0.00401; }
.recovery-phone-device-frame--xiaomi { --phone-scale: 1.26667; --phone-offset-x: -0.00051; --phone-offset-y: 0.00000; }
.recovery-phone-device-frame--android { --phone-scale: 1.31536; --phone-offset-x: 0.00176; --phone-offset-y: -0.03224; }
.recovery-phone-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 0; padding: 0; color: #333; font: 700 20px/1.2 Arial, sans-serif; text-align: center; }
.recovery-phone-brand--samsung { color: #1428a0; letter-spacing: normal; }
.recovery-phone-brand--xiaomi { color: #ff6700; }
.recovery-phone-brand--android { color: #3ddc84; }
@media (max-width: 800px) {
  .recovery-photo img { max-height: 330px; }
  .recovery-faq summary { font-size: 17px; }
  .recovery-phone-gallery { grid-template-columns: 1fr; gap: 20px; }
  .recovery-phone-gallery img { height: auto; max-height: 300px; }
  .recovery-phone-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .recovery-phone-device-frame { --phone-height: clamp(112px, 36vw, 180px); }
}

/* These detailed pages already have header and inline consultation links. */
.recovery-page:has(#external.active, #nas.active) .float-contact { display: none; }
