/* Styles for templates/guarantee.html only. Scope every rule under
   .guarantee-page — do not add global rules here. */

.guarantee-page {
    --gt-good: #0F6B3E;
    --gt-good-bg: #E7F6EE;
    --gt-muted: rgba(var(--core-1-rgb), 0.72);
    --gt-line: rgba(var(--ui-gray-rgb), 0.7);
    font-family: var(--ff-secondary);
    color: var(--core-1-hex);
    background: var(--canvas-base-hex);
}

.guarantee-page .gt-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.guarantee-page section { padding: 0; }
.guarantee-page h1,
.guarantee-page h2,
.guarantee-page h3 {
    font-family: var(--ff-primary);
    color: var(--core-1-hex);
    margin: 0;
}
.guarantee-page h2 { font-size: var(--fz-h3); font-weight: 600; letter-spacing: var(--track-title-primary); }
.guarantee-page h3 { font-size: 1.05rem; font-weight: 600; }
.guarantee-page p { margin: 0; }
.guarantee-page ul,
.guarantee-page ol { list-style: none; margin: 0; padding: 0; }
.guarantee-page svg { width: 22px; height: 22px; flex-shrink: 0; }
.guarantee-page .gt-sub { color: var(--gt-muted); font-size: 1rem; line-height: 1.6; }

/* ---------- Hero ---------- */
.guarantee-page .gt-hero { padding: 32px 0 40px; }
.guarantee-page .gt-crumbs { display: flex; gap: 8px; font-size: var(--fz-caption); color: var(--gt-muted); margin-bottom: 20px; }
.guarantee-page .gt-crumbs a { color: inherit; }
.guarantee-page .gt-hero-row { display: flex; gap: 28px; align-items: flex-start; }
.guarantee-page .gt-shield {
    flex-shrink: 0; width: 88px; height: 88px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gt-good); color: #FFFFFF;
}
.guarantee-page .gt-shield svg { width: 52px; height: 52px; stroke-width: 1.8; }
.guarantee-page .gt-hero h1 { font-size: var(--fz-h1); font-weight: 600; letter-spacing: var(--track-title-primary); line-height: 1.15; text-wrap: balance; }
.guarantee-page .gt-lead { margin-top: 14px; max-width: 62ch; font-size: 1.15rem; line-height: 1.6; color: rgba(var(--core-1-rgb), 0.85); }
.guarantee-page .gt-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.guarantee-page .gt-link { font-weight: 600; color: var(--core-3-hex); }

.guarantee-page .gt-facts {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
    margin-top: 32px; padding: 24px 28px; border-radius: 16px;
    background: var(--core-1-hex); color: #FFFFFF;
}
.guarantee-page .gt-facts li { display: flex; gap: 12px; align-items: flex-start; }
.guarantee-page .gt-facts span { display: flex; flex-direction: column; gap: 2px; font-size: 0.875rem; line-height: 1.4; color: rgba(255, 255, 255, 0.78); }
.guarantee-page .gt-facts b { font-family: var(--ff-primary); font-size: 1.05rem; color: #FFFFFF; }

/* ---------- Covered / not covered ---------- */
.guarantee-page .gt-coverage { padding: 24px 0 48px; }
.guarantee-page .gt-coverage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.guarantee-page .gt-coverage .gt-sub { margin: 10px 0 18px; }
.guarantee-page .gt-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guarantee-page .gt-tiles li { padding: 20px; border: 1px solid var(--gt-line); border-radius: 16px; display: flex; flex-direction: column; gap: 8px; }
.guarantee-page .gt-tiles svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--gt-good-bg); color: var(--gt-good); }
.guarantee-page .gt-tiles p { color: var(--gt-muted); font-size: 0.925rem; line-height: 1.55; }
.guarantee-page .gt-not { padding: 24px; border-radius: 16px; background: var(--light-bg-hex); }
.guarantee-page .gt-not h2 { font-size: var(--fz-h4); margin-bottom: 14px; }
.guarantee-page .gt-not li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 0.925rem; line-height: 1.5; }
.guarantee-page .gt-not svg { width: 16px; height: 16px; margin-top: 3px; color: var(--gt-muted); }

/* ---------- Claim steps ---------- */
.guarantee-page .gt-claim { padding: 24px 0 48px; }
.guarantee-page .gt-steps { counter-reset: gt-step; margin-top: 12px; }
.guarantee-page .gt-steps li {
    counter-increment: gt-step; position: relative;
    padding: 16px 0 16px 56px; border-top: 1px solid var(--gt-line);
}
.guarantee-page .gt-steps li::before {
    content: counter(gt-step); position: absolute; left: 0; top: 14px;
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--core-2-hex), var(--accent-1-hex)); color: #FFFFFF;
    font-family: var(--ff-primary); font-weight: 600;
}
.guarantee-page .gt-steps p { margin-top: 4px; color: var(--gt-muted); line-height: 1.55; }
.guarantee-page .gt-note {
    display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 12px 16px;
    border-radius: 12px; background: var(--light-bg-hex); font-size: 0.925rem;
}

/* ---------- Outcomes ---------- */
.guarantee-page .gt-outcomes { padding: 24px 0 48px; }
.guarantee-page .gt-outcomes > .gt-container > .gt-sub { margin-top: 10px; }
.guarantee-page .gt-outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 14px; }
.guarantee-page .gt-outcome { padding: 24px; border: 1px solid var(--gt-line); border-radius: 16px; display: flex; flex-direction: column; gap: 6px; }
.guarantee-page .gt-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gt-muted); }
.guarantee-page .gt-outcome h3 { font-size: var(--fz-h4); }
.guarantee-page .gt-outcome p { line-height: 1.55; }

/* ---------- FAQ ---------- */
.guarantee-page .gt-faq { padding: 24px 0 40px; }
.guarantee-page .gt-faq-list { margin-top: 12px; border-bottom: 1px solid var(--gt-line); }
.guarantee-page .gt-faq-item { border-top: 1px solid var(--gt-line); padding: 16px 0; }
.guarantee-page .gt-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.guarantee-page .gt-faq-item summary::-webkit-details-marker { display: none; }
.guarantee-page .gt-faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gt-muted); }
.guarantee-page .gt-faq-item[open] summary::after { content: "−"; }
.guarantee-page .gt-faq-item summary:focus-visible { outline: 2px solid var(--core-3-hex); outline-offset: 4px; }
.guarantee-page .gt-faq-item p { margin-top: 10px; color: var(--gt-muted); line-height: 1.6; }

/* ---------- Contact ---------- */
.guarantee-page .gt-contact { padding: 8px 0 32px; }
.guarantee-page .gt-contact-band {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 32px; border-radius: 20px; background: var(--light-bg-hex);
}
.guarantee-page .gt-contact-band h2 { font-size: var(--fz-h4); }
.guarantee-page .gt-contact-band p { margin-top: 6px; color: var(--gt-muted); }
.guarantee-page .gt-byline { padding: 0 20px 48px; text-align: center; font-size: var(--fz-caption); color: var(--gt-muted); }

/* ---------- Phone ---------- */
@media (max-width: 767.98px) {
    .guarantee-page .gt-hero-row { flex-direction: column; gap: 16px; }
    .guarantee-page .gt-shield { width: 64px; height: 64px; border-radius: 18px; }
    .guarantee-page .gt-shield svg { width: 38px; height: 38px; }
    .guarantee-page .gt-hero h1 { font-size: 2rem; }
    .guarantee-page .gt-hero-actions .btn { width: 100%; }
    .guarantee-page .gt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; }
    .guarantee-page .gt-coverage-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .guarantee-page .gt-outcome-grid { grid-template-columns: minmax(0, 1fr); }
    .guarantee-page .gt-contact-band { flex-direction: column; align-items: stretch; padding: 24px; }
    .guarantee-page .gt-contact-band .btn { width: 100%; }
}

@media (max-width: 479.98px) {
    .guarantee-page .gt-tiles { grid-template-columns: minmax(0, 1fr); }
}
