main { flex: 1; }

/* Navigation and footer layouts come from the shared storefront styles. */
.warranty-eyebrow,
.warranty-shortcuts { display: none; }
.content-main,
.content-sidebar { min-width: 0; }
.info-block,
.content-sidebar { scroll-margin-top: 96px; }
.support-btn:focus-visible,
.warranty-jump-links a:focus-visible { outline: 3px solid #8a8a96; outline-offset: 4px; }

.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid #333;
  background: #000;
  color: #fff;
  text-align: center;
}
.hero-title { margin-bottom: 15px; font-size: 42px; font-weight: 800; letter-spacing: -1px; }
.hero-desc { max-width: 700px; margin: 0 auto; color: #a1a1a6; font-size: 16px; font-weight: 400; line-height: 1.6; }

.features-section { padding: 60px 0; border-bottom: 1px solid var(--border); background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-item {
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  animation: warranty-card-enter .55s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .3s ease, box-shadow .3s ease;
}
.feature-item:nth-child(2) { animation-delay: .07s; }
.feature-item:nth-child(3) { animation-delay: .14s; }
.feature-item:nth-child(4) { animation-delay: .21s; }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--sec-bg);
  transition: .3s;
}
.feature-icon svg { width: 30px; height: 30px; fill: #000; }
.feature-item:hover .feature-icon { transform: translateY(-5px); background: #000; }
.feature-item:hover .feature-icon svg { fill: #fff; }
.feature-title { margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.feature-text { color: var(--text-sec); font-size: 13px; line-height: 1.5; }

.content-section { padding: 80px 0; background: var(--sec-bg); }
.content-wrapper { display: flex; align-items: flex-start; gap: 60px; }
.content-main { flex: 2; }
.content-sidebar { position: sticky; top: 100px; flex: 1; }

.info-block {
  margin-bottom: 30px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  animation: warranty-card-enter .6s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), border-color .32s ease, box-shadow .32s ease;
}
.info-block:nth-child(2) { animation-delay: .06s; }
.info-block:nth-child(3) { animation-delay: .12s; }
.info-block:nth-child(4) { animation-delay: .18s; }
.info-block:nth-child(5) { animation-delay: .24s; }
.block-title { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; font-size: 22px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.block-title.is-danger { color: #d32f2f; }

.text-content p { margin-bottom: 15px; color: #333; font-size: 14px; line-height: 1.8; text-align: justify; }
.text-content ul,
.text-content ol { margin-bottom: 25px; padding-left: 20px; }
.text-content li { position: relative; margin-bottom: 12px; color: #333; font-size: 14px; line-height: 1.6; }
.text-content strong { color: #000; font-weight: 700; }

.text-subtitle { display: block; margin: 30px 0 15px; padding-left: 15px; border-left: 3px solid #000; color: #000; font-size: 16px; font-weight: 700; }
.warning-box { margin-top: 25px; padding: 25px; border-left: 4px solid #ff3b30; border-radius: 8px; background: #fff5f5; color: #c00; font-size: 14px; line-height: 1.6; transition: transform .3s ease, box-shadow .3s ease; }
.success-box { margin-top: 25px; padding: 25px; border-left: 4px solid #16a34a; border-radius: 8px; background: #f0fdf4; color: #15803d; font-size: 14px; line-height: 1.6; transition: transform .3s ease, box-shadow .3s ease; }

.support-card {
  padding: 30px;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  color: #fff;
  text-align: center;
  animation: warranty-card-enter .65s .12s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s ease;
}
.support-title { margin-bottom: 10px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.support-desc { margin-bottom: 25px; color: #a1a1a6; font-size: 13px; line-height: 1.5; }
.support-btn { display: block; width: 100%; margin-bottom: 10px; padding: 14px; border-radius: 12px; background: #fff; color: #000; font-size: 14px; font-weight: 700; transition: .3s; }
.support-btn:hover { transform: scale(1.02); }
.support-btn.outline { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; }
.support-btn.outline:hover { border-color: #fff; }

@keyframes warranty-card-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) {
  .feature-item:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.06); }
  .info-block:hover { transform: translateY(-4px); border-color: #d8d8dd; box-shadow: 0 16px 36px rgba(0,0,0,.055); }
  .success-box:hover,
  .warning-box:hover { transform: translateX(4px); box-shadow: 0 10px 24px rgba(0,0,0,.055); }
  .support-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(0,0,0,.2); }
}

@media (prefers-reduced-motion: reduce) {
  .feature-item,
  .info-block,
  .support-card { animation: none; }
  .feature-icon,
  .feature-item,
  .info-block,
  .success-box,
  .warning-box,
  .support-card,
  .support-btn { transition: none; }

  .feature-item:hover,
  .info-block:hover,
  .success-box:hover,
  .warning-box:hover,
  .support-card:hover,
  .support-btn:hover,
  .feature-item:hover .feature-icon { transform: none; }
}

@media (max-width: 1100px) {
  .features-grid { gap: 16px; }
  .content-wrapper { gap: 28px; }
  .info-block { padding: 28px; }
  .support-card { padding: 24px; }
}

@media (max-width: 980px) {
  .page-hero { padding: 56px 0 48px; }
  .hero-title { font-size: 36px; }
  .features-section { padding: 32px 0; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-section { padding: 32px 0 48px; }
  .content-wrapper { flex-direction: column; align-items: stretch; gap: 24px; }
  .content-main,
  .content-sidebar { flex: auto; width: 100%; }
  .content-sidebar { position: static; }
  .info-block:last-child { margin-bottom: 0; }
  .support-card { max-width: none; }
  .support-desc { max-width: 480px; margin-inline: auto; }
  .support-btn { max-width: 440px; margin-inline: auto; }
  .support-btn:last-child { margin-bottom: 0; }
  .warranty-shortcuts { display: block; padding-top: 24px; background: var(--sec-bg); }
  .warranty-jump-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .warranty-jump-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e1e1e6;
    border-radius: 12px;
    background: #fff;
    color: #343438;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
  }
  .warranty-jump-links span { color: #929298; font-size: 17px; }
  .warranty-jump-links a:active { background: #ededf1; }
}

@media (max-width: 767px) {
  .page-hero {
    padding: 38px 0 36px;
    border: 0;
    background: radial-gradient(ellipse at 100% 0, #29292d 0, #111113 42%, #050505 80%);
    text-align: left;
  }
  .warranty-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #b3b3bc;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .hero-title {
    max-width: 480px;
    margin-bottom: 16px;
    font-size: clamp(30px, 7.8vw, 42px);
    line-height: 1.12;
    letter-spacing: -.045em;
    text-wrap: balance;
  }
  .hero-desc { max-width: 480px; margin: 0; color: #b5b5bd; font-size: 14px; line-height: 1.7; }
  .features-section { padding: 24px 0; border: 0; }
  .features-grid { gap: 12px; }
  .feature-item { padding: 18px 14px; border: 1px solid #eaeaee; border-radius: 16px; text-align: left; }
  .feature-icon { width: 40px; height: 40px; margin: 0 0 16px; border-radius: 12px; background: #f3f3f5; }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature-title { margin-bottom: 8px; font-size: 16px; line-height: 1.3; letter-spacing: -.025em; }
  .feature-text { color: #696970; font-size: 12px; line-height: 1.65; }
  .warranty-shortcuts { padding-top: 20px; }
  .warranty-jump-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .content-section { padding: 20px 0 40px; }
  .content-wrapper { gap: 20px; }
  .info-block { margin-bottom: 16px; padding: 24px 20px; border-radius: 18px; }
  .block-title { display: block; margin-bottom: 20px; font-size: 22px; line-height: 1.25; letter-spacing: -.035em; text-transform: none; text-wrap: balance; }
  .block-title.is-danger { color: #b83232; }
  .text-content { overflow-wrap: break-word; }
  .text-content p,
  .text-content li { color: #505057; font-size: 14px; line-height: 1.8; text-align: left; }
  .text-content p { margin-bottom: 16px; }
  .text-content ul,
  .text-content ol { margin-bottom: 20px; padding-left: 18px; }
  .text-content li { margin-bottom: 12px; padding-left: 3px; }
  .text-content li::marker { color: #929298; }
  .text-content strong { color: #252529; font-weight: 600; }
  .text-content > :last-child,
  .text-content li:last-child { margin-bottom: 0; }
  .text-subtitle { margin: 24px 0 14px; padding-left: 12px; border-left-width: 2px; font-size: 15px; line-height: 1.5; }
  .success-box,
  .warning-box { margin: 18px 0; padding: 18px 14px; border-left-width: 3px; border-radius: 12px; font-size: 13px; line-height: 1.75; }
  .success-box { border-color: #43986a; background: #f2f8f4; }
  .success-box ul { margin-bottom: 0; padding-left: 16px; }
  .success-box li { font-size: 13px; }
  .success-box li::marker { color: #43986a; }
  .warning-box { border-color: #cf6862; background: #fff5f3; color: #8c3934; }
  .warning-box strong { display: block; margin-bottom: 6px; color: inherit; }
  .text-content ol { padding: 0; list-style: none; counter-reset: service-step; }
  .text-content ol li { position: relative; min-height: 28px; margin-bottom: 20px; padding-left: 40px; counter-increment: service-step; }
  .text-content ol li::before {
    content: counter(service-step, decimal-leading-zero);
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #f0f0f3;
    color: #44444c;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }
  .support-card { padding: 28px 24px; border-radius: 18px; background: linear-gradient(135deg, #242427, #080808); box-shadow: none; text-align: left; }
  .support-title { margin-bottom: 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.035em; text-transform: none; }
  .support-desc { max-width: none; margin-bottom: 24px; color: #b5b5bd; font-size: 14px; line-height: 1.7; }
  .support-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; max-width: none; padding: 14px 12px; font-size: 13px; text-align: center; }
}

@media (max-width: 359px) {
  .feature-item { padding: 16px 12px; }
  .info-block { padding: 22px 16px; }
  .block-title { font-size: 21px; }
  .support-card { padding: 26px 20px; }
}

@media (hover: none) {
  .feature-item:hover .feature-icon,
  .support-btn:hover { transform: none; }
  .feature-item:hover .feature-icon { background: var(--sec-bg); }
  .feature-item:hover .feature-icon svg { fill: #000; }
}
