:root {
    --utp-midnight: #06213b;
    --utp-midnight-soft: #0d355e;
    --utp-jade: #00b87c;
    --utp-jade-deep: #009d6b;
    --utp-gold: #d2a23c;
    --utp-sand: #f5f2ea;
    --utp-white: #ffffff;
    --utp-ink: #162235;
    --utp-muted: #607089;
    --utp-line: rgba(6, 33, 59, 0.12);
    --utp-shadow: 0 24px 60px rgba(6, 33, 59, 0.14);
    --utp-radius: 24px;
    --utp-font: "Aptos", "Gill Sans", "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--utp-font);
    color: var(--utp-ink);
    background:
        radial-gradient(circle at top left, rgba(210, 162, 60, 0.2), transparent 28%),
        linear-gradient(180deg, #eef4f9 0%, #f9fbfd 35%, #ffffff 100%);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.utp-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.utp-header {
    background: var(--utp-midnight);
    color: var(--utp-white);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 8px 20px rgba(6, 33, 59, 0.16);
}

.utp-header__inner,
.utp-footer__inner,
.utp-shell,
.utp-home {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.utp-header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.utp-brand img {
    width: 200px;
    height: auto;
}

.utp-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.utp-header__link {
    text-decoration: none;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.utp-language-button,
.utp-language-option,
.utp-button,
.utp-app__nav button,
.utp-summary__action {
    border: 0;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.utp-language-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--utp-white);
    border-radius: 999px;
    padding: 10px 14px;
}

.utp-language-button:hover,
.utp-button:hover,
.utp-app__nav button:hover,
.utp-summary__action:hover {
    transform: translateY(-1px);
}

.utp-language-button img,
.utp-language-option img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.utp-language-button__caret {
    font-size: 10px;
    opacity: 0.8;
}

.utp-home {
    padding: 48px 0 72px;
    flex: 1;
}

.utp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.utp-hero__copy,
.utp-service-card,
.utp-form-shell,
.utp-card,
.utp-modal__panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    border-radius: var(--utp-radius);
    box-shadow: var(--utp-shadow);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.utp-hero__copy {
    padding: 38px;
    background:
        linear-gradient(135deg, rgba(6, 33, 59, 0.96), rgba(13, 53, 94, 0.94)),
        linear-gradient(135deg, rgba(0, 184, 124, 0.16), transparent);
    color: var(--utp-white);
}

.utp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.utp-hero h1,
.utp-card h1 {
    margin: 18px 0 12px;
    line-height: 1.02;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.utp-hero__lead {
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 62ch;
}

.utp-hero__badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.utp-badge {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 600;
    line-height: 1.45;
}

.utp-service-card {
    position: relative;
    padding: 34px 28px 28px;
}

.utp-service-card__eyebrow {
    position: absolute;
    top: -14px;
    left: 28px;
    background: var(--utp-gold);
    color: var(--utp-white);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.utp-service-card h2 {
    margin: 12px 0 8px;
    font-size: 2rem;
    color: var(--utp-midnight);
}

.utp-service-card__price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--utp-midnight);
}

.utp-service-card p {
    margin: 0 0 18px;
    color: var(--utp-muted);
}

.utp-service-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--utp-ink);
    display: grid;
    gap: 12px;
}

.utp-form-section {
    margin-top: 36px;
}

.utp-form-shell {
    padding: 30px;
}

.utp-app {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 26px;
}

.utp-app__aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.utp-app__panel {
    background: linear-gradient(180deg, #fcfdff 0%, #f7fafc 100%);
    border: 1px solid var(--utp-line);
    border-radius: 24px;
    padding: 28px;
}

.utp-app__panel h2 {
    margin: 0 0 8px;
    font-size: 1.65rem;
    color: var(--utp-midnight);
}

.utp-app__panel p {
    margin: 0;
    color: var(--utp-muted);
    line-height: 1.65;
}

.utp-app__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 26px;
}

.utp-app__meta span,
.utp-save-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(6, 33, 59, 0.06);
    color: var(--utp-midnight);
    font-size: 0.88rem;
    font-weight: 700;
}

.utp-progress {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.utp-progress li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: rgba(6, 33, 59, 0.04);
}

.utp-progress li.is-active {
    background: rgba(0, 184, 124, 0.08);
    border-color: rgba(0, 184, 124, 0.16);
}

.utp-progress li.is-complete {
    background: rgba(6, 33, 59, 0.06);
}

.utp-progress__index {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: var(--utp-white);
    background: var(--utp-midnight);
}

.utp-progress li.is-active .utp-progress__index,
.utp-progress li.is-complete .utp-progress__index {
    background: var(--utp-jade);
}

.utp-progress__text strong {
    display: block;
    color: var(--utp-midnight);
}

.utp-progress__text span {
    display: block;
    color: var(--utp-muted);
    font-size: 0.88rem;
}

.utp-save-state {
    justify-content: center;
    min-height: 44px;
}

.utp-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.utp-field {
    grid-column: span 12;
}

.utp-field--half {
    grid-column: span 6;
}

.utp-field--third {
    grid-column: span 4;
}

.utp-field label,
.utp-review-group h3 {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    color: var(--utp-midnight);
}

.utp-field input[type="text"],
.utp-field input[type="email"],
.utp-field input[type="tel"],
.utp-field input[type="date"],
.utp-field input[type="number"],
.utp-field select,
.utp-field textarea {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(6, 33, 59, 0.16);
    background: var(--utp-white);
    padding: 14px 16px;
    color: var(--utp-ink);
    outline: 0;
}

.utp-field textarea {
    min-height: 132px;
    resize: vertical;
}

.utp-field input:focus,
.utp-field select:focus,
.utp-field textarea:focus {
    border-color: var(--utp-jade);
    box-shadow: 0 0 0 4px rgba(0, 184, 124, 0.14);
}

.utp-field__hint,
.utp-upload-list,
.utp-review-group p,
.utp-summary-list dd {
    color: var(--utp-muted);
    line-height: 1.6;
}

.utp-choice {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.utp-choice__button {
    min-width: 92px;
    border-radius: 999px;
    padding: 12px 16px;
    border: 1px solid rgba(6, 33, 59, 0.14);
    background: var(--utp-white);
    color: var(--utp-midnight);
    font-weight: 700;
}

.utp-choice__button.is-active {
    background: var(--utp-jade);
    color: var(--utp-white);
    border-color: var(--utp-jade);
    box-shadow: 0 16px 34px rgba(0, 184, 124, 0.18);
}

.utp-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(6, 33, 59, 0.04);
    border: 1px solid rgba(6, 33, 59, 0.08);
}

.utp-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.utp-checkbox__content {
    line-height: 1.7;
}

.utp-checkbox__content button,
.utp-inline-link {
    padding: 0;
    background: none;
    color: var(--utp-jade-deep);
    font-weight: 800;
    text-decoration: underline;
    border: 0;
    cursor: pointer;
}

.utp-upload-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.utp-upload-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(6, 33, 59, 0.04);
}

.utp-summary {
    display: grid;
    gap: 18px;
}

.utp-review-group {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--utp-line);
    background: rgba(6, 33, 59, 0.03);
}

.utp-summary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
}

.utp-summary-list div {
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(6, 33, 59, 0.12);
}

.utp-summary-list dt {
    margin: 0 0 4px;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--utp-midnight);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.utp-summary-list dd {
    margin: 0;
}

.utp-app__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.utp-button,
.utp-app__nav button,
.utp-summary__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.utp-button--primary,
.utp-app__nav .is-primary,
.utp-summary__action {
    background: var(--utp-jade);
    color: var(--utp-white);
    box-shadow: 0 20px 32px rgba(0, 184, 124, 0.2);
}

.utp-button--primary:hover,
.utp-app__nav .is-primary:hover,
.utp-summary__action:hover {
    background: var(--utp-jade-deep);
}

.utp-button--ghost,
.utp-app__nav .is-ghost {
    background: var(--utp-white);
    color: var(--utp-midnight);
    border: 1px solid rgba(6, 33, 59, 0.12);
}

.utp-error-banner {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(185, 28, 28, 0.08);
    border: 1px solid rgba(185, 28, 28, 0.12);
    color: #8c1f1f;
    font-weight: 700;
}

.utp-empty-note {
    padding: 18px;
    border-radius: 18px;
    background: rgba(6, 33, 59, 0.04);
    color: var(--utp-muted);
}

.utp-shell {
    flex: 1;
    padding: 56px 0 80px;
}

.utp-shell--compact {
    width: min(860px, calc(100% - 32px));
}

.utp-card {
    padding: 40px;
}

.utp-card--center {
    text-align: center;
}

.utp-success-card__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
}

.utp-footer {
    margin-top: auto;
    background: var(--utp-midnight);
    color: var(--utp-white);
}

.utp-footer__inner {
    padding: 40px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 28px;
}

.utp-footer__brand {
    display: grid;
    gap: 16px;
}

.utp-footer__brand img {
    width: 188px;
}

.utp-footer__brand p,
.utp-footer__copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.utp-footer__meta {
    display: grid;
    justify-items: end;
    gap: 16px;
}

.utp-footer__ssl {
    width: 108px;
}

.utp-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.utp-footer__links a {
    color: var(--utp-white);
    opacity: 0.88;
    text-decoration: none;
}

.utp-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.utp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 33, 59, 0.56);
    backdrop-filter: blur(10px);
}

.utp-modal__panel {
    position: relative;
    width: min(720px, calc(100% - 32px));
    margin: 6vh auto 0;
    padding: 0;
    overflow: hidden;
}

.utp-modal__panel--small {
    width: min(460px, calc(100% - 32px));
}

.utp-modal__panel--legal {
    width: min(1080px, calc(100% - 32px));
    height: 86vh;
    display: flex;
    flex-direction: column;
}

.utp-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--utp-line);
}

.utp-modal__header h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--utp-midnight);
}

.utp-modal__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(6, 33, 59, 0.06);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.utp-language-list {
    display: grid;
    gap: 10px;
    padding: 18px 20px 20px;
}

.utp-language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(6, 33, 59, 0.04);
    color: var(--utp-midnight);
}

.utp-language-option.is-active {
    background: rgba(0, 184, 124, 0.1);
}

.utp-legal-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--utp-white);
}

@media (max-width: 1080px) {
    .utp-hero,
    .utp-app,
    .utp-footer__inner {
        grid-template-columns: 1fr;
    }

    .utp-hero__badges {
        grid-template-columns: 1fr;
    }

    .utp-footer__meta {
        justify-items: start;
    }

    .utp-footer__links {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .utp-header__inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .utp-header__actions {
        width: 100%;
        justify-content: space-between;
    }

    .utp-home {
        padding: 30px 0 56px;
    }

    .utp-hero__copy,
    .utp-service-card,
    .utp-form-shell,
    .utp-card {
        padding: 24px;
    }

    .utp-app__panel {
        padding: 22px;
    }

    .utp-field--half,
    .utp-field--third,
    .utp-summary-list {
        grid-column: span 12;
        grid-template-columns: 1fr;
    }

    .utp-app__nav,
    .utp-success-card__actions {
        flex-direction: column;
    }

    .utp-app__nav button,
    .utp-button,
    .utp-summary__action {
        width: 100%;
    }
}
