/* A concise pet guide. Presentation styles stay outside the interactive profile editor. */
.pet-how-page.wrap {
  --peth-ink: #111;
  --peth-muted: #626262;
  --peth-line: #e3e3e3;
  --peth-soft: #f4f4f4;
  width: min(1120px, calc(100% - 64px));
  max-width: 1120px;
  padding: 45px 0 48px;
  margin: 0 auto;
  color: var(--peth-ink);
}
.pet-how-page :is(.peth-hero, .peth-update, .peth-start),
.pet-how-page :is(.peth-hero, .peth-update, .peth-start) * { box-sizing: border-box; }
.pet-how-page :is(.peth-intro, .peth-explorer, .peth-update, .peth-start) :is(h1, h2, h3, p, figure) { margin: 0; }
.pet-how-page :is(.peth-hero, .peth-update, .peth-start) p { padding: 0; max-width: none; }
.pet-how-page :is(.peth-hero, .peth-update, .peth-start) svg { display: block; flex-shrink: 0; width: 24px; height: 24px; }
.pet-how-page :is(.peth-hero, .peth-update, .peth-start) :is(a, summary):focus-visible { outline: 3px solid #888; outline-offset: 5px; }
.pet-how-page :is(.peth-panel, #vincular-qr, #probar-perfil) { scroll-margin-top: 100px; }
.pet-how-page .peth-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; color: var(--peth-muted); }
.pet-how-page .peth-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border: 1px solid #000; border-radius: 999px; background: #000; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; transition: background .18s ease; }
.pet-how-page .peth-button:hover { background: #292929; }
.pet-how-page .peth-text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 4px; }
.pet-how-page .peth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* Intro and explorer share the first view on desktop. */
.pet-how-page .peth-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 64px; width: 100%; }
.pet-how-page .peth-intro, .pet-how-page .peth-explorer { min-width: 0; }
.pet-how-page .peth-intro h1 { color: #111; font-size: clamp(49px, 6.4vw, 76px); font-weight: 650; letter-spacing: -.06em; line-height: 1.01; margin: 17px 0 23px; }
.pet-how-page .peth-intro h1 > span { color: #777; }
.pet-how-page .peth-intro .peth-lead { color: var(--peth-muted); font-size: 18px; line-height: 1.6; max-width: 34ch; }
.pet-how-page .peth-lead strong { color: #333; font-weight: 600; }
.pet-how-page .peth-intro .peth-actions { margin-top: 24px; }
.pet-how-page .peth-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 23px 0 0; margin: 29px 0 14px; border-top: 1px solid var(--peth-line); }
.pet-how-page .peth-flow li { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.pet-how-page .peth-step-icon { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border-radius: 10px; background: var(--peth-soft); color: #111; }
.pet-how-page .peth-step-icon svg { width: 23px; height: 23px; }
.pet-how-page .peth-flow strong { color: #222; font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.pet-how-page .peth-note { color: var(--peth-muted); font-size: 13px; line-height: 1.5; }

/* The same compact stage presents contact, voluntary location sharing and care. */
.pet-how-page .peth-explorer > h2 { color: #111; font-size: 22px; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 15px; }
.pet-how-page .peth-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 5px; border-radius: 15px; background: var(--peth-soft); margin-bottom: 15px; }
.pet-how-page .peth-tabs a { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 46px; padding: 10px 7px; border-radius: 10px; color: #5e5e5e; font-size: 14px; font-weight: 600; line-height: 1.3; transition: color .18s ease, background .18s ease; }
.pet-how-page .peth-tabs svg { width: 19px; height: 19px; }
.pet-how-page .peth-tabs a:hover { background: #e8e8e8; color: #111; }
.pet-how-page .peth-tabs a[aria-selected="true"] { background: #0a0a0a; color: #fff; }
.pet-how-page .peth-panel { min-width: 0; margin: 0; padding: 0; }
.pet-how-page .peth-panel + .peth-panel { margin-top: 26px; }
.pet-how-page .peth-panel[role="tabpanel"] { margin-top: 0; }
.pet-how-page .peth-panel[hidden] { display: none !important; }
.pet-how-page .peth-stage { --peth-phone-width: 200px; display: grid; grid-template-columns: minmax(0, 170px) var(--peth-phone-width); justify-content: center; align-items: center; gap: 25px; padding: 23px 20px 16px; min-width: 0; border-radius: 20px; background: #f3f3f3; }
.pet-how-page .peth-plate { min-width: 0; width: 100%; text-align: center; }
.pet-how-page .peth-plate-pair { display: grid; gap: 8px; width: min(100%, 140px); margin: 0 auto; }
.pet-how-page .peth-plate img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.pet-how-page .peth-plate figcaption { font-size: 14px; font-weight: 600; line-height: 1.4; color: #262626; margin-top: 8px; }
.pet-how-page .peth-plate figcaption span { display: block; font-size: 13px; font-weight: 400; color: #6b6b6b; margin-top: 3px; }
.pet-how-page .peth-stage .peth-new-designs { grid-column: 1 / -1; margin: 0; padding: 12px 0 0; border-top: 1px solid #dedede; color: #525252; font-size: 13px; font-weight: 500; line-height: 1.4; text-align: center; }
.pet-how-page .peth-phone-figure { width: var(--peth-phone-width); min-width: 0; }
.pet-how-page .peth-phone { display: flex; align-items: center; justify-content: center; width: 100%; height: auto; aspect-ratio: 1 / 1.85; padding: 6px 0; border: 6px solid #191919; border-radius: 29px; background: #fbf8ed; overflow: hidden; box-shadow: 0 14px 24px #00000010; }
.pet-how-page .peth-phone > img { display: block; flex-shrink: 1; width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center; }
.pet-how-page .peth-phone-figure > figcaption { padding: 0; margin: 11px 0 0; text-align: center; color: #676767; font-size: 13px; line-height: 1.4; }
.pet-how-page .peth-benefit { padding: 19px 2px 0; }
.pet-how-page .peth-benefit h3 { color: #111; font-size: 23px; font-weight: 650; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 8px; }
.pet-how-page .peth-benefit > p { color: var(--peth-muted); font-size: 14px; line-height: 1.6; }
.pet-how-page .peth-benefit strong { color: #303030; font-weight: 600; }
.pet-how-page .peth-benefit-note { display: block; font-size: 13px; line-height: 1.5; color: #727272; margin-top: 7px; }
.pet-how-page .peth-profile-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 5px; padding: 10px 2px; color: #333; font-size: 13px; font-weight: 500; line-height: 1.4; text-decoration: underline; text-underline-offset: 4px; }

/* A simple location illustration, without implying a live map or automatic tracking. */
.pet-how-page .peth-location-phone { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 14px 10px 12px; background: #fff; }
.pet-how-page .peth-location-top { display: flex; align-items: center; gap: 7px; color: #373737; font-size: 13px; line-height: 1.3; margin-bottom: 17px; }
.pet-how-page .peth-location-top svg { width: 21px; height: 21px; }
.pet-how-page .peth-location-map { display: grid; place-items: center; flex: 1; min-height: 75px; width: 100%; padding: 15px; border-radius: 11px; background: #f1f1f1; }
.pet-how-page .peth-location-map > span { display: grid; place-items: center; width: 51px; height: 51px; border-radius: 50%; color: #fff; background: #222; box-shadow: 0 0 0 11px #e6e6e6; }
.pet-how-page .peth-location-map svg { width: 27px; height: 27px; }
.pet-how-page .peth-location-message { padding: 13px 0 15px; color: #343434; }
.pet-how-page .peth-location-message strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; }
.pet-how-page .peth-location-message p { color: #6c6c6c; font-size: 13px; line-height: 1.4; margin-top: 6px; }
.pet-how-page .peth-location-message > span { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 13px; line-height: 1.35; color: #4f4f4f; }
.pet-how-page .peth-location-message > span svg { width: 16px; height: 16px; }
.pet-how-page .peth-location-send { display: flex; align-items: center; justify-content: center; min-height: 38px; flex-shrink: 0; padding: 8px 4px; border-radius: 8px; background: #111; color: #fff; font-size: 13px; line-height: 1.35; text-align: center; }

/* Help disclosures stay separate from the always-visible profile form. */
.pet-how-page :is(.peth-location-detail, .peth-code-help) > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 11px 0; list-style: none; cursor: pointer; }
.pet-how-page :is(.peth-location-detail, .peth-code-help) > summary::-webkit-details-marker { display: none; }
.pet-how-page :is(.peth-location-detail, .peth-code-help) > summary span { transform: none; }
.pet-how-page .peth-plus { flex-shrink: 0; font-size: 23px; font-weight: 400; line-height: 1; color: #383838; }
.pet-how-page :is(.peth-location-detail, .peth-code-help)[open] > summary > .peth-plus { transform: rotate(45deg); }
.pet-how-page .peth-location-detail { border-top: 1px solid var(--peth-line); margin-top: 13px; }
.pet-how-page .peth-location-detail > summary { color: #575757; font-size: 13px; line-height: 1.4; }
.pet-how-page .peth-location-detail > p { color: var(--peth-muted); font-size: 13px; line-height: 1.55; padding: 0 0 8px; }

/* The permanent profile is the central benefit, visually emphasized once. */
.pet-how-page .peth-update { display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; gap: 23px; align-items: center; width: 100%; margin: 39px 0 0; padding: 30px 32px; border-radius: 21px; background: #0b0b0b; color: #fff; }
.pet-how-page .peth-update-icon { display: grid; place-items: center; width: 43px; height: 43px; color: #fff; }
.pet-how-page .peth-update-icon svg { width: 34px; height: 34px; }
.pet-how-page .peth-update h2 { color: #fff; font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 10px; }
.pet-how-page .peth-update p { color: #bebebe; font-size: 14px; line-height: 1.55; max-width: 48ch; }
.pet-how-page .peth-update .peth-button-light { background: #fff; color: #111; border-color: #fff; white-space: nowrap; }
.pet-how-page .peth-update .peth-button-light:hover { background: #e8e8e8; border-color: #e8e8e8; color: #111; }

/* Activation stays short; setup details remain available on demand. */
.pet-how-page .peth-start { margin: 44px 0 0; }
.pet-how-page .peth-section-heading { margin-bottom: 22px; }
.pet-how-page .peth-section-heading h2 { color: #111; font-size: 34px; font-weight: 650; line-height: 1.1; letter-spacing: -.045em; margin-top: 9px; }
.pet-how-page .peth-activation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.pet-how-page .peth-activation li { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 13px; align-items: start; min-width: 0; padding: 17px 0 0; border-top: 1px solid var(--peth-line); }
.pet-how-page .peth-activation h3 { color: #111; font-size: 17px; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 7px; }
.pet-how-page .peth-activation p { color: var(--peth-muted); font-size: 13px; line-height: 1.6; }
.pet-how-page .peth-activation p strong { color: #3d3d3d; font-weight: 600; }
.pet-how-page .peth-start-footer { display: flex; align-items: start; justify-content: space-between; gap: 22px 40px; margin-top: 24px; }
.pet-how-page .peth-code-help { max-width: 390px; min-width: 0; flex: 1; }
.pet-how-page .peth-code-help > summary { font-size: 13px; line-height: 1.45; color: #565656; }
.pet-how-page .peth-code-help > p { font-size: 13px; line-height: 1.6; color: var(--peth-muted); padding: 3px 0 8px; }
.pet-how-page .peth-code-help strong { color: #3c3c3c; font-weight: 600; }

/* The demo is a permanent form, with its design controls near the beginning. */
.page-how .pet-how-page .peth-demo.pet-how-form { display: block; width: 100%; padding: 0; margin: 27px 0 0; border: 1px solid #e2e2e2; border-radius: 17px; background: #f6f6f6; }
.pet-how-page .peth-demo-heading { display: grid; gap: 6px; padding: 19px 21px; min-height: 85px; border-bottom: 1px solid #e2e2e2; }
.pet-how-page .peth-demo-heading h2 { margin: 0; color: #151515; font-size: 18px; font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
.pet-how-page .peth-demo-heading p { margin: 0; padding: 0; color: #666; font-size: 13px; line-height: 1.5; }
.pet-how-page .peth-demo-content { padding: 24px; background: #fff; border-radius: 0 0 17px 17px; }

@media (max-width: 1050px) {
  .pet-how-page .peth-hero { gap: 38px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .pet-how-page .peth-intro h1 { font-size: 61px; }
  .pet-how-page .peth-intro .peth-lead { font-size: 17px; }
  .pet-how-page .peth-stage { --peth-phone-width: 185px; grid-template-columns: minmax(0, 1fr) var(--peth-phone-width); gap: 17px; padding-left: 15px; padding-right: 15px; }
  .pet-how-page .peth-tabs a { font-size: 13px; gap: 5px; }
  .pet-how-page .peth-update { gap: 19px; padding: 27px; }
  .pet-how-page .peth-update h2 { font-size: 28px; }
  .pet-how-page .peth-activation { gap: 22px; }
  .pet-how-page .peth-activation li { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 860px) {
  .pet-how-page.wrap { width: calc(100% - 48px); padding-top: 34px; }
  .pet-how-page .peth-hero { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .pet-how-page .peth-intro { text-align: center; max-width: 560px; margin: 0 auto; width: 100%; }
  .pet-how-page .peth-intro h1 { font-size: 60px; margin: 13px 0 17px; }
  .pet-how-page .peth-intro .peth-lead { max-width: 40ch; margin: 0 auto; }
  .pet-how-page .peth-intro .peth-actions { justify-content: center; margin-top: 20px; }
  .pet-how-page .peth-flow { gap: 16px; max-width: 450px; margin: 23px auto 11px; padding-top: 18px; }
  .pet-how-page .peth-flow li { align-items: center; gap: 9px; }
  .pet-how-page .peth-note { text-align: center; }
  .pet-how-page .peth-explorer { width: 100%; max-width: 560px; margin: 0 auto; }
  .pet-how-page .peth-explorer > h2 { font-size: 22px; margin-bottom: 13px; }
  .pet-how-page .peth-stage { --peth-phone-width: 195px; grid-template-columns: minmax(0, 170px) var(--peth-phone-width); gap: 26px; padding: 20px 19px 16px; }
  .pet-how-page .peth-tabs a { font-size: 14px; gap: 7px; }
  .pet-how-page .peth-update { grid-template-columns: minmax(0, 1fr) auto; gap: 22px; }
  .pet-how-page .peth-update-icon { display: none; }
  .pet-how-page .peth-start-footer { flex-direction: column; gap: 10px; }
  .pet-how-page .peth-code-help { width: 100%; max-width: 100%; }
}

@media (max-width: 600px) {
  .page-how .pet-how-page.wrap { width: calc(100% - 36px); padding: 27px 0 35px; }
  .pet-how-page .peth-kicker { font-size: 13px; letter-spacing: .07em; }
  .pet-how-page .peth-intro h1 { font-size: clamp(48px, 13.9vw, 59px); margin: 12px 0 16px; }
  .pet-how-page .peth-intro .peth-lead { font-size: 15px; line-height: 1.55; max-width: 34ch; }
  .pet-how-page .peth-intro .peth-actions { margin-top: 18px; gap: 8px 18px; }
  .pet-how-page .peth-button { min-height: 44px; padding: 11px 18px; font-size: 13px; }
  .pet-how-page .peth-text-link { font-size: 13px; }
  .pet-how-page .peth-flow { padding-top: 15px; margin-top: 20px; margin-bottom: 10px; gap: 12px; }
  .pet-how-page .peth-flow strong { font-size: 14px; line-height: 1.3; }
  .pet-how-page .peth-flow .peth-step-icon { width: 32px; height: 32px; }
  .pet-how-page .peth-flow .peth-step-icon svg { width: 22px; height: 22px; }
  .pet-how-page .peth-note { font-size: 13px; line-height: 1.5; }
  .pet-how-page .peth-hero { gap: 27px; }
  .pet-how-page .peth-explorer > h2 { font-size: 21px; }
  .pet-how-page .peth-tabs { margin-bottom: 12px; gap: 4px; padding: 4px; border-radius: 13px; }
  .pet-how-page .peth-tabs a { min-height: 46px; padding: 10px 4px; gap: 5px; font-size: 13px; border-radius: 9px; }
  .pet-how-page .peth-tabs svg { width: 18px; height: 18px; }
  .pet-how-page .peth-stage { --peth-phone-width: 185px; grid-template-columns: minmax(0, 1fr) var(--peth-phone-width); gap: 13px; padding: 17px 13px 14px; border-radius: 18px; }
  .pet-how-page .peth-plate figcaption { font-size: 14px; margin-top: 4px; }
  .pet-how-page .peth-phone { border-radius: 26px; border-width: 5px; padding: 6px 0; }
  .pet-how-page .peth-phone-figure > figcaption { margin-top: 9px; font-size: 13px; }
  .pet-how-page .peth-benefit { padding: 16px 1px 0; }
  .pet-how-page .peth-benefit h3 { font-size: 22px; margin-bottom: 7px; }
  .pet-how-page .peth-benefit > p { font-size: 14px; line-height: 1.55; }
  .pet-how-page .peth-benefit-note { margin-top: 6px; }
  .pet-how-page .peth-profile-link { margin-top: 3px; }
  .pet-how-page .peth-location-phone { padding: 12px 9px 10px; }
  .pet-how-page .peth-location-top { margin-bottom: 13px; }
  .pet-how-page .peth-location-map { min-height: 64px; padding: 12px; }
  .pet-how-page .peth-location-map > span { width: 43px; height: 43px; box-shadow: 0 0 0 9px #e6e6e6; }
  .pet-how-page .peth-location-map svg { width: 25px; height: 25px; }
  .pet-how-page .peth-location-message { padding: 12px 0; }
  .pet-how-page .peth-location-message > span { margin-top: 8px; }
  .pet-how-page .peth-location-send { min-height: 36px; padding: 7px 3px; }
  .pet-how-page .peth-update { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 29px; padding: 25px 22px; border-radius: 19px; }
  .pet-how-page .peth-update h2 { color: #fff; font-size: 29px; margin-bottom: 11px; }
  .pet-how-page .peth-update p { font-size: 14px; line-height: 1.5; }
  .pet-how-page .peth-update .peth-button-light { justify-self: start; color: #111; }
  .pet-how-page .peth-start { margin-top: 34px; }
  .pet-how-page .peth-section-heading { margin-bottom: 17px; }
  .pet-how-page .peth-section-heading h2 { font-size: 30px; margin-top: 8px; }
  .pet-how-page .peth-activation { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pet-how-page .peth-activation li { grid-template-columns: 33px minmax(0, 1fr); gap: 12px; padding: 13px 0; }
  .pet-how-page .peth-activation .peth-step-icon { width: 33px; height: 33px; }
  .pet-how-page .peth-activation h3 { font-size: 16px; margin-bottom: 4px; }
  .pet-how-page .peth-activation p { font-size: 13px; line-height: 1.5; }
  .pet-how-page .peth-start-footer { margin-top: 9px; gap: 9px; }
  .pet-how-page .peth-start-footer .peth-actions { gap: 11px 20px; }
  .pet-how-page .peth-code-help { border-bottom: 1px solid var(--peth-line); }
  .page-how .pet-how-page .peth-demo.pet-how-form { margin-top: 22px; border-radius: 15px; }
  .pet-how-page .peth-demo-heading { padding: 17px 15px; min-height: 88px; gap: 7px; }
  .pet-how-page .peth-demo-heading h2 { font-size: 17px; }
  .pet-how-page .peth-demo-heading p { font-size: 13px; }
  .pet-how-page .peth-demo-content { padding: 20px 12px; }
}

@media (max-width: 360px) {
  .page-how .pet-how-page.wrap { width: calc(100% - 28px); }
  .pet-how-page .peth-stage { --peth-phone-width: 165px; gap: 8px; padding-left: 8px; padding-right: 8px; }
  .pet-how-page .peth-tabs a { gap: 4px; }
  .pet-how-page .peth-tabs svg { width: 16px; height: 16px; }
  .pet-how-page .peth-location-phone { padding: 10px 7px 9px; }
  .pet-how-page .peth-location-top { gap: 5px; margin-bottom: 11px; }
  .pet-how-page .peth-location-top svg { width: 19px; height: 19px; }
  .pet-how-page .peth-location-message { padding: 10px 0; }
  .pet-how-page .peth-location-map { min-height: 55px; padding: 9px; }
  .pet-how-page .peth-location-map > span { width: 35px; height: 35px; box-shadow: 0 0 0 7px #e6e6e6; }
  .pet-how-page .peth-location-map svg { width: 23px; height: 23px; }
  .pet-how-page .peth-location-send { padding: 6px 2px; }
  .pet-how-page .peth-update h2 { font-size: 27px; }
  .pet-how-page .peth-section-heading h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .pet-how-page .peth-tabs a, .pet-how-page .peth-button { transition: none; }
}
