.public-home-page {
    --ph-primary: #86163a;
    --ph-primary-dark: #68102d;
    --ph-primary-light: #a82f57;
    --ph-primary-soft: #faedf2;
    --ph-ink: #172033;
    --ph-text: #3d485c;
    --ph-muted: #66758b;
    --ph-line: #dce3ed;
    --ph-line-strong: #c8d2df;
    --ph-canvas: #f4f7fb;
    --ph-success: #167a58;
    --ph-success-soft: #eaf7f1;
    --ph-error: #ad2d3f;
    --ph-error-soft: #fdf0f2;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: var(--ph-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.public-home-page *,
.public-home-page *::before,
.public-home-page *::after {
    box-sizing: border-box;
}

.public-home-page [hidden] {
    display: none !important;
}

.public-home-page img {
    max-width: 100%;
}

.public-home-page a {
    color: inherit;
    text-decoration: none;
}

.public-home-page button,
.public-home-page input {
    font: inherit;
}

.public-home-page button {
    cursor: pointer;
}

.public-home-page svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.public-home-page a:focus-visible,
.public-home-page button:focus-visible,
.public-home-page [tabindex="0"]:focus-visible {
    outline: 2px solid rgba(134, 22, 58, 0.72);
    outline-offset: 3px;
}

.ph-app {
    min-height: 100vh;
    overflow-x: clip;
}

.ph-shell {
    width: min(calc(100% - 40px), 1240px);
    margin-inline: auto;
}

.ph-skip-link {
    position: fixed;
    top: 8px;
    left: 12px;
    z-index: 3000;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--ph-ink);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 750;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.ph-skip-link:focus {
    transform: translateY(0);
}

.ph-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(220, 227, 237, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 20px rgba(23, 32, 51, 0.04);
    backdrop-filter: blur(14px);
}

.ph-header__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ph-brand {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border-radius: 10px;
}

.ph-brand img {
    width: 42px;
    height: 46px;
    object-fit: contain;
}

.ph-brand > span {
    display: grid;
    gap: 1px;
    line-height: 1.2;
}

.ph-brand strong {
    color: var(--ph-ink);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ph-brand small {
    color: var(--ph-muted);
    font-size: 0.69rem;
    font-weight: 580;
}

.ph-header__nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ph-header__link,
.ph-header__cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 720;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ph-header__link {
    padding: 0 12px;
    color: var(--ph-text) !important;
}

.ph-header__link:hover {
    background: var(--ph-primary-soft);
    color: var(--ph-primary) !important;
}

.ph-header__cta {
    gap: 8px;
    margin-left: 5px;
    padding: 0 14px;
    background: var(--ph-primary);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(134, 22, 58, 0.16);
}

.ph-header__cta:hover {
    background: var(--ph-primary-dark);
    transform: translateY(-1px);
}

.ph-header__cta svg {
    width: 16px;
    height: 16px;
}

.ph-message-region {
    position: relative;
    z-index: 5;
}

.ph-message-region > .container-fluid {
    padding: 12px 0 0;
    text-align: center;
}

.ph-message-region .alert {
    position: relative;
    margin: 0;
    padding: 12px 46px 12px 14px;
    border: 1px solid var(--ph-line);
    border-radius: 11px;
    background: #fff;
    color: var(--ph-text);
    box-shadow: 0 8px 20px rgba(23, 32, 51, 0.06);
    font-size: 0.82rem;
    font-weight: 650;
}

.ph-message-region .alert-success {
    border-color: #bfe5d6;
    background: var(--ph-success-soft);
    color: #125e46;
}

.ph-message-region .alert-error {
    border-color: #f2c8cf;
    background: var(--ph-error-soft);
    color: #852232;
}

.ph-message-region .close {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: currentColor;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-50%);
}

.ph-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 20%, rgba(250, 237, 242, 0.94), transparent 28rem),
        linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
}

.ph-hero::after {
    content: "";
    position: absolute;
    right: -200px;
    bottom: -310px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(134, 22, 58, 0.08);
    border-radius: 50%;
}

.ph-hero__grid {
    position: relative;
    z-index: 1;
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: 72px;
    padding-block: 64px 74px;
}

.ph-hero__content {
    max-width: 660px;
}

.ph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--ph-primary);
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ph-eyebrow svg {
    width: 18px;
    height: 18px;
}

.ph-hero h1 {
    max-width: 640px;
    margin: 0;
    color: var(--ph-ink);
    font-size: clamp(2.6rem, 4.6vw, 4.25rem);
    font-weight: 820;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.ph-hero__content > p {
    max-width: 610px;
    margin: 22px 0 0;
    color: var(--ph-muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.ph-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 28px;
}

.ph-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 19px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 0.84rem;
    font-weight: 760;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ph-button svg {
    width: 17px;
    height: 17px;
}

.ph-button--primary {
    background: var(--ph-primary);
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(134, 22, 58, 0.18);
}

.ph-button--primary:hover {
    background: var(--ph-primary-dark);
    transform: translateY(-2px);
}

.ph-button--ghost {
    border-color: var(--ph-line-strong);
    background: #fff;
    color: var(--ph-text) !important;
}

.ph-button--ghost:hover {
    border-color: #b8c3d1;
    background: #f8fafc;
    color: var(--ph-ink) !important;
}

.ph-trust-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px 19px;
    margin: 28px 0 0;
    padding: 0;
    color: var(--ph-muted);
    font-size: 0.73rem;
    font-weight: 630;
    list-style: none;
}

.ph-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ph-trust-list span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ph-success);
    box-shadow: 0 0 0 4px rgba(22, 122, 88, 0.1);
}

.ph-hero__visual {
    position: relative;
    min-height: 450px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 15rem),
        linear-gradient(145deg, #68102d 0%, #941c46 65%, #af3b61 100%);
    box-shadow: 0 28px 60px rgba(104, 16, 45, 0.18);
}

.ph-hero__visual::before,
.ph-hero__visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.ph-hero__visual::before {
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
}

.ph-hero__visual::after {
    bottom: -120px;
    left: -100px;
    width: 300px;
    height: 300px;
}

.ph-document-preview {
    position: relative;
    z-index: 2;
    width: min(78%, 390px);
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 55px rgba(40, 5, 17, 0.25);
    transform: rotate(-2.4deg);
}

.ph-document-preview__top {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
}

.ph-document-preview__logo {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--ph-primary-soft);
}

.ph-document-preview__logo img {
    width: 24px;
    height: 30px;
    object-fit: contain;
}

.ph-document-preview__top > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.ph-document-preview__top small,
.ph-document-preview__code small {
    color: var(--ph-muted);
    font-size: 0.54rem;
}

.ph-document-preview__top strong {
    overflow: hidden;
    color: var(--ph-ink);
    font-size: 0.67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ph-document-preview__status {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ph-success-soft);
    color: var(--ph-success);
}

.ph-document-preview__status svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.5;
}

.ph-document-preview__image {
    width: 100%;
    aspect-ratio: 1.42;
    display: block;
    border: 1px solid #e5e9ef;
    border-radius: 9px;
    background: #f8fafc;
    object-fit: contain;
}

.ph-document-preview__code {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 3px 1px;
}

.ph-document-preview__code span {
    display: grid;
    gap: 1px;
}

.ph-document-preview__code span:last-child {
    text-align: right;
}

.ph-document-preview__code strong {
    color: var(--ph-text);
    font-size: 0.61rem;
}

.ph-document-preview__code span:last-child strong {
    color: var(--ph-success);
}

.ph-floating-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.93);
    color: var(--ph-text);
    box-shadow: 0 15px 30px rgba(40, 5, 17, 0.18);
    font-size: 0.69rem;
    font-weight: 750;
    backdrop-filter: blur(10px);
}

.ph-floating-badge svg {
    width: 18px;
    height: 18px;
    color: var(--ph-primary);
}

.ph-floating-badge--secure {
    top: 56px;
    left: 21px;
}

.ph-floating-badge--verified {
    right: 17px;
    bottom: 53px;
}

.ph-verification {
    padding-top: 76px;
    padding-bottom: 76px;
    scroll-margin-top: 90px;
}

.ph-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.ph-section-heading--center {
    max-width: 720px;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
}

.ph-section-heading__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--ph-primary);
    font-size: 0.7rem;
    font-weight: 830;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ph-section-heading h2 {
    margin: 0;
    color: var(--ph-ink);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 810;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.ph-section-heading p {
    margin: 9px 0 0;
    color: var(--ph-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.ph-service-card {
    overflow: hidden;
    border: 1px solid var(--ph-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(23, 32, 51, 0.08);
}

.ph-tabs {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid var(--ph-line);
    background: #f8fafc;
}

.ph-tabset {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ph-tab {
    position: relative;
    min-width: 0;
    min-height: 76px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--ph-text);
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ph-tab:hover {
    background: #fff;
}

.ph-tab.is-active {
    border-color: #f0cad8;
    background: #fff;
    color: var(--ph-primary);
    box-shadow: 0 7px 16px rgba(23, 32, 51, 0.06);
}

.ph-tab__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #edf1f6;
    color: var(--ph-muted);
}

.ph-tab.is-active .ph-tab__icon,
.ph-tab--link .ph-tab__icon {
    background: var(--ph-primary-soft);
    color: var(--ph-primary);
}

.ph-tab__icon svg {
    width: 20px;
    height: 20px;
}

.ph-tab > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.ph-tab strong {
    color: currentColor;
    font-size: 0.8rem;
    font-weight: 760;
    line-height: 1.25;
}

.ph-tab small {
    overflow: hidden;
    color: var(--ph-muted);
    font-size: 0.66rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ph-tab--link {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    color: var(--ph-primary) !important;
}

.ph-tab--link:hover {
    border-color: #f0cad8;
}

.ph-tab__arrow {
    width: 17px;
    height: 17px;
}

.ph-results:empty,
.ph-results > div:empty {
    display: none;
}

.ph-result {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    margin: 22px 26px 0;
    padding: 18px;
    border: 1px solid;
    border-radius: 14px;
}

.ph-result:focus {
    outline: 2px solid rgba(134, 22, 58, 0.55);
    outline-offset: 3px;
}

.ph-verification:focus {
    outline: none;
}

.ph-result--success {
    border-color: #bce2d3;
    background: var(--ph-success-soft);
}

.ph-result--error {
    grid-template-columns: 50px minmax(0, 1fr);
    border-color: #f0c3ca;
    background: var(--ph-error-soft);
}

.ph-result--pending {
    border-color: #efd8a9;
    background: #fff9ec;
}

.ph-result--rejected {
    border-color: #f0c3ca;
    background: var(--ph-error-soft);
}

.ph-result__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: var(--ph-success);
}

.ph-result--error .ph-result__icon,
.ph-result--rejected .ph-result__icon {
    color: var(--ph-error);
}

.ph-result--pending .ph-result__icon {
    color: #a7630d;
}

.ph-result__icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.2;
}

.ph-result__body {
    min-width: 0;
}

.ph-result__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--ph-success);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ph-result--error .ph-result__eyebrow,
.ph-result--rejected .ph-result__eyebrow {
    color: var(--ph-error);
}

.ph-result--pending .ph-result__eyebrow {
    color: #95570a;
}

.ph-result h3 {
    margin: 0;
    color: var(--ph-ink);
    font-size: 1.05rem;
    font-weight: 780;
}

.ph-result p {
    margin: 5px 0 0;
    color: var(--ph-text);
    font-size: 0.79rem;
    line-height: 1.5;
}

.ph-result p a {
    color: var(--ph-primary);
    font-weight: 700;
}

.ph-result dl {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 24px;
    margin: 10px 0 0;
}

.ph-result dl div {
    display: grid;
    gap: 1px;
}

.ph-result dt {
    color: var(--ph-muted);
    font-size: 0.62rem;
    font-weight: 650;
    text-transform: uppercase;
}

.ph-result dd {
    margin: 0;
    color: var(--ph-text);
    font-size: 0.78rem;
    font-weight: 680;
}

.ph-result .badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-left: 4px;
    padding: 3px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 760;
    line-height: 1;
    vertical-align: middle;
}

.ph-result .badge-success {
    border-color: #bce2d3;
    background: #eaf8f2;
    color: #166c50;
}

.ph-result .badge-warning {
    border-color: #efd8a9;
    background: #fff4d8;
    color: #8b520b;
}

.ph-result .badge-danger {
    border-color: #f0c3ca;
    background: #fcebef;
    color: #a52a43;
}

.ph-result__action {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 9px;
    background: var(--ph-success);
    color: #fff !important;
    font-size: 0.74rem;
    font-weight: 750;
}

.ph-result__action svg {
    width: 16px;
    height: 16px;
}

.ph-tab-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 46px;
    padding: 38px;
}

.ph-form-column {
    min-width: 0;
    align-self: center;
}

.ph-form-column__eyebrow,
.ph-guide-card__label {
    display: block;
    margin-bottom: 5px;
    color: var(--ph-primary);
    font-size: 0.66rem;
    font-weight: 810;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ph-form-column h3 {
    margin: 0;
    color: var(--ph-ink);
    font-size: 1.58rem;
    font-weight: 790;
    letter-spacing: -0.025em;
}

.ph-form-column > p {
    margin: 9px 0 0;
    color: var(--ph-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.ph-form-column form {
    display: grid;
    gap: 18px;
    margin-top: 25px;
}

.ph-field {
    display: grid;
    gap: 7px;
}

.ph-field label {
    color: var(--ph-text);
    font-size: 0.74rem;
    font-weight: 720;
}

.ph-input-wrap {
    min-height: 52px;
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--ph-line-strong);
    border-radius: 10px;
    background: #fff;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.ph-input-wrap:focus-within {
    border-color: var(--ph-primary);
    box-shadow: 0 9px 22px rgba(134, 22, 58, 0.08);
}

.ph-input-wrap > svg {
    width: 20px;
    height: 20px;
    color: #8a97a9;
}

.ph-input-wrap:focus-within > svg {
    color: var(--ph-primary);
}

.ph-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ph-ink);
    font-size: 0.84rem;
}

.ph-input-wrap input::placeholder {
    color: #9ba6b5;
    opacity: 1;
}

.ph-submit {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 2px;
    padding: 0 17px;
    border: 1px solid var(--ph-primary);
    border-radius: 10px;
    background: var(--ph-primary);
    color: #fff;
    box-shadow: 0 11px 24px rgba(134, 22, 58, 0.16);
    font-size: 0.8rem;
    font-weight: 760;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ph-submit:hover:not(:disabled) {
    border-color: var(--ph-primary-dark);
    background: var(--ph-primary-dark);
    transform: translateY(-1px);
}

.ph-submit:disabled {
    cursor: wait;
    opacity: 0.78;
}

.ph-submit > svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.ph-submit__spinner {
    width: 17px;
    height: 17px;
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ph-spin 700ms linear infinite;
}

.ph-submit.is-loading .ph-submit__spinner {
    display: block;
}

.ph-submit.is-loading > svg {
    display: none;
}

@keyframes ph-spin {
    to { transform: rotate(360deg); }
}

.ph-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px !important;
    color: var(--ph-muted) !important;
    font-size: 0.69rem !important;
}

.ph-privacy-note svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-top: 2px;
    color: var(--ph-success);
}

.ph-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: var(--ph-primary) !important;
    font-size: 0.73rem;
    font-weight: 720;
}

.ph-inline-link svg {
    width: 15px;
    height: 15px;
}

.ph-guide-card,
.ph-process-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ph-line);
    border-radius: 15px;
    background: var(--ph-canvas);
}

.ph-guide-card {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(190px, 0.9fr);
}

.ph-guide-card__visual {
    position: relative;
    min-height: 310px;
    display: grid;
    place-items: center;
    padding: 25px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(134, 22, 58, 0.09), transparent 11rem),
        #eef2f7;
}

.ph-guide-card__visual img {
    width: 100%;
    max-height: 260px;
    border: 5px solid #fff;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 18px 30px rgba(23, 32, 51, 0.16);
    transform: rotate(-2deg);
}

.ph-guide-marker {
    position: absolute;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--ph-primary);
    color: #fff;
    box-shadow: 0 5px 12px rgba(104, 16, 45, 0.25);
    font-size: 0.68rem;
    font-weight: 800;
}

.ph-guide-marker--one {
    top: 25%;
    left: 20%;
}

.ph-guide-marker--two {
    right: 18%;
    bottom: 23%;
}

.ph-guide-card__content {
    align-self: center;
    padding: 24px 22px;
}

.ph-guide-card h4,
.ph-process-card h4 {
    margin: 0;
    color: var(--ph-ink);
    font-size: 1.05rem;
    font-weight: 770;
    line-height: 1.3;
}

.ph-guide-card ol,
.ph-process-card ul {
    display: grid;
    gap: 14px;
    margin: 19px 0 0;
    padding: 0;
    list-style: none;
}

.ph-guide-card li {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
}

.ph-guide-card li > span,
.ph-process-card li > span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--ph-primary-soft);
    color: var(--ph-primary);
    font-size: 0.65rem;
    font-weight: 800;
}

.ph-guide-card li div {
    display: grid;
    gap: 2px;
}

.ph-guide-card li strong {
    color: var(--ph-text);
    font-size: 0.7rem;
    font-weight: 740;
}

.ph-guide-card li small {
    color: var(--ph-muted);
    font-size: 0.63rem;
    line-height: 1.35;
}

.ph-process-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.8fr) minmax(220px, 1fr);
}

.ph-process-card__image {
    min-height: 310px;
    padding: 24px;
    background: #eef2f7;
}

.ph-process-card__image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 9px;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 14px 27px rgba(23, 32, 51, 0.13);
}

.ph-process-card__content {
    align-self: center;
    padding: 25px;
}

.ph-process-card li {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    color: var(--ph-text);
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1.35;
}

.ph-help-strip {
    padding-block: 28px;
    border-block: 1px solid var(--ph-line);
    background: var(--ph-canvas);
}

.ph-help-strip__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ph-help-strip article {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--ph-line);
    border-radius: 13px;
    background: #fff;
}

.ph-help-strip__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--ph-primary-soft);
    color: var(--ph-primary);
}

.ph-help-strip__icon svg {
    width: 21px;
    height: 21px;
}

.ph-help-strip article > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.ph-help-strip strong {
    color: var(--ph-ink);
    font-size: 0.78rem;
    font-weight: 760;
}

.ph-help-strip article > div span {
    overflow: hidden;
    color: var(--ph-muted);
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ph-help-strip article > a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid var(--ph-line);
    border-radius: 8px;
    color: var(--ph-primary);
    font-size: 0.7rem;
    font-weight: 740;
}

.ph-examples {
    padding-top: 76px;
    padding-bottom: 82px;
}

.ph-example-count {
    flex: 0 0 auto;
    color: var(--ph-muted);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.05em;
}

.ph-example-count strong {
    color: var(--ph-primary);
    font-size: 1rem;
}

.ph-gallery {
    overflow: hidden;
    border: 1px solid var(--ph-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(23, 32, 51, 0.07);
}

.ph-gallery__viewport {
    min-height: 480px;
}

.ph-slide {
    min-height: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
    margin: 0;
}

.ph-slide__image {
    min-width: 0;
    display: grid;
    place-items: center;
    padding: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 18%, rgba(134, 22, 58, 0.07), transparent 18rem),
        #eef2f7;
}

.ph-slide__image img {
    width: 100%;
    height: 100%;
    max-height: 410px;
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 22px 44px rgba(23, 32, 51, 0.17);
}

.ph-slide figcaption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 38px;
    border-left: 1px solid var(--ph-line);
}

.ph-slide figcaption span {
    margin-bottom: 8px;
    color: var(--ph-primary);
    font-size: 0.68rem;
    font-weight: 810;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ph-slide figcaption strong {
    color: var(--ph-ink);
    font-size: 1.45rem;
    font-weight: 790;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.ph-slide figcaption small {
    margin-top: 12px;
    color: var(--ph-muted);
    font-size: 0.74rem;
}

.ph-gallery__controls {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
    padding: 11px 18px;
    border-top: 1px solid var(--ph-line);
}

.ph-gallery__controls > button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ph-line);
    border-radius: 10px;
    background: #fff;
    color: var(--ph-text);
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ph-gallery__controls > button:hover {
    border-color: #edc4d2;
    background: var(--ph-primary-soft);
    color: var(--ph-primary);
}

.ph-gallery__controls > button svg {
    width: 18px;
    height: 18px;
}

.ph-gallery__dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ph-gallery__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c7d0dd;
    transition: width 160ms ease, background-color 160ms ease;
}

.ph-gallery__dots button.is-active {
    width: 24px;
    background: var(--ph-primary);
}

.ph-footer {
    border-top: 1px solid var(--ph-line);
    background: #111827;
    color: #fff;
}

.ph-footer__grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(150px, 0.72fr));
    gap: 45px;
    padding-block: 50px;
}

.ph-footer__identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ph-footer__identity > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
}

.ph-footer__identity img {
    width: 31px;
    height: 39px;
    object-fit: contain;
}

.ph-footer__identity > div {
    display: grid;
    gap: 2px;
}

.ph-footer__identity strong {
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.ph-footer__identity small {
    color: #aeb8c7;
    font-size: 0.63rem;
}

.ph-footer__brand p {
    max-width: 300px;
    margin: 15px 0 0;
    color: #aeb8c7;
    font-size: 0.72rem;
    line-height: 1.55;
}

.ph-footer__column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
}

.ph-footer__column > strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ph-footer__column a,
.ph-footer__column > span {
    color: #aeb8c7;
    font-size: 0.69rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ph-footer__column a:hover {
    color: #fff;
}

.ph-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-social-links a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #344054;
    border-radius: 9px;
    background: #1a2332;
    color: #fff;
    font-size: 0.67rem;
    font-weight: 780;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.ph-social-links a:hover {
    border-color: #b33a62;
    background: var(--ph-primary);
}

.ph-footer__bottom {
    border-top: 1px solid #2a3443;
    background: #0d1420;
}

.ph-footer__bottom .ph-shell {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #8996a8;
    font-size: 0.65rem;
    font-weight: 580;
}

@media (max-width: 1060px) {
    .ph-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
        gap: 40px;
    }

    .ph-hero h1 {
        font-size: clamp(2.45rem, 5vw, 3.5rem);
    }

    .ph-tab-panel {
        grid-template-columns: minmax(0, 0.85fr) minmax(370px, 1.15fr);
        gap: 30px;
        padding: 30px;
    }

    .ph-guide-card,
    .ph-process-card {
        grid-template-columns: 1fr;
    }

    .ph-guide-card__visual,
    .ph-process-card__image {
        min-height: 230px;
    }

    .ph-process-card__image img {
        min-height: 220px;
        max-height: 250px;
    }

    .ph-guide-card__content,
    .ph-process-card__content {
        padding: 22px;
    }

    .ph-footer__grid {
        grid-template-columns: 1.2fr repeat(3, 0.8fr);
        gap: 28px;
    }
}

@media (max-width: 840px) {
    .ph-header__link:first-child {
        display: none;
    }

    .ph-hero__grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 45px;
        padding-block: 54px 64px;
    }

    .ph-hero__content {
        max-width: 700px;
    }

    .ph-hero__visual {
        width: min(100%, 600px);
        min-height: 420px;
        margin-inline: auto;
    }

    .ph-tabs {
        grid-template-columns: 1fr;
    }

    .ph-tabset {
        grid-template-columns: 1fr;
    }

    .ph-tab {
        min-height: 66px;
    }

    .ph-tab-panel {
        grid-template-columns: 1fr;
    }

    .ph-guide-card,
    .ph-process-card {
        grid-template-columns: minmax(210px, 0.85fr) minmax(220px, 1fr);
    }

    .ph-help-strip__grid {
        grid-template-columns: 1fr;
    }

    .ph-slide {
        grid-template-columns: 1fr;
    }

    .ph-slide figcaption {
        min-height: 155px;
        border-top: 1px solid var(--ph-line);
        border-left: 0;
    }

    .ph-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .ph-shell {
        width: min(calc(100% - 24px), 1240px);
    }

    .ph-header__inner {
        min-height: 66px;
        gap: 12px;
    }

    .ph-brand img {
        width: 36px;
        height: 40px;
    }

    .ph-brand small,
    .ph-header__link {
        display: none;
    }

    .ph-header__cta {
        min-height: 40px;
        margin-left: 0;
        padding-inline: 12px;
    }

    .ph-hero__grid {
        gap: 35px;
        padding-block: 42px 50px;
    }

    .ph-hero h1 {
        font-size: clamp(2.15rem, 10.5vw, 3rem);
    }

    .ph-hero__content > p {
        margin-top: 17px;
        font-size: 0.9rem;
    }

    .ph-hero__actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 23px;
    }

    .ph-button {
        width: 100%;
    }

    .ph-trust-list {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 24px;
    }

    .ph-hero__visual {
        min-height: 335px;
        border-radius: 22px;
    }

    .ph-document-preview {
        width: 79%;
        padding: 11px;
    }

    .ph-document-preview__top {
        grid-template-columns: 32px minmax(0, 1fr) 28px;
    }

    .ph-document-preview__logo {
        width: 32px;
        height: 32px;
    }

    .ph-document-preview__status {
        width: 28px;
        height: 28px;
    }

    .ph-floating-badge {
        padding: 9px;
        font-size: 0.61rem;
    }

    .ph-floating-badge--secure {
        top: 23px;
        left: 9px;
    }

    .ph-floating-badge--verified {
        right: 8px;
        bottom: 23px;
    }

    .ph-verification,
    .ph-examples {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .ph-section-heading--center {
        margin-bottom: 23px;
    }

    .ph-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .ph-section-heading h2 {
        font-size: 1.65rem;
    }

    .ph-service-card {
        border-radius: 15px;
    }

    .ph-tabs {
        padding: 8px;
    }

    .ph-tab {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 9px 11px;
    }

    .ph-tab--link {
        grid-template-columns: 38px minmax(0, 1fr) 17px;
    }

    .ph-tab__icon {
        width: 38px;
        height: 38px;
    }

    .ph-result,
    .ph-result--error {
        grid-template-columns: 42px minmax(0, 1fr);
        margin: 15px 14px 0;
        padding: 14px;
    }

    .ph-result__icon {
        width: 42px;
        height: 42px;
    }

    .ph-result__action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ph-tab-panel {
        gap: 28px;
        padding: 24px 18px;
    }

    .ph-form-column h3 {
        font-size: 1.35rem;
    }

    .ph-guide-card,
    .ph-process-card {
        grid-template-columns: 1fr;
    }

    .ph-guide-card__visual,
    .ph-process-card__image {
        min-height: 225px;
        padding: 18px;
    }

    .ph-guide-card__visual img {
        max-height: 205px;
    }

    .ph-process-card__image img {
        min-height: 200px;
        max-height: 220px;
    }

    .ph-help-strip article {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .ph-help-strip article > a {
        grid-column: 2;
        width: max-content;
    }

    .ph-help-strip article > div span {
        white-space: normal;
    }

    .ph-gallery__viewport,
    .ph-slide {
        min-height: 0;
    }

    .ph-slide__image {
        min-height: 310px;
        padding: 20px;
    }

    .ph-slide__image img {
        max-height: 280px;
    }

    .ph-slide figcaption {
        min-height: 140px;
        padding: 24px;
    }

    .ph-slide figcaption strong {
        font-size: 1.18rem;
    }

    .ph-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 40px;
    }

    .ph-footer__bottom .ph-shell {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding-block: 13px;
    }
}

@media (max-width: 374px) {
    .ph-shell {
        width: calc(100% - 20px);
    }

    .ph-brand strong {
        font-size: 0.82rem;
    }

    .ph-header__cta span {
        width: auto;
        overflow: visible;
        font-size: 0;
    }

    .ph-header__cta span::after {
        content: "Trámites";
        font-size: 0.74rem;
    }

    .ph-hero h1 {
        font-size: 2rem;
    }

    .ph-floating-badge--secure {
        display: none;
    }

    .ph-document-preview {
        width: 88%;
    }

    .ph-tab small {
        white-space: normal;
    }

    .ph-slide__image {
        min-height: 270px;
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-home-page *,
    .public-home-page *::before,
    .public-home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
