/* Homepage hero (Dec 2026) */
.uth-hero {
    --ut-teal: #135057;
    --ut-deep: #0d3b40;
    --ut-gold: #fec719;
    --ut-ink: #10313a;
    --ut-muted: #5b6b72;
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
    background: linear-gradient(180deg, #f4f8f9 0%, #eef4f5 100%);
    font-family: 'Inter', sans-serif;
}
.uth-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 380px at 85% 20%, rgba(19, 80, 87, 0.08), transparent 70%),
        radial-gradient(520px 340px at 70% 90%, rgba(254, 199, 25, 0.10), transparent 70%);
}
.uth-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

/* Copy */
.uth-eyebrow {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ut-teal);
    margin-bottom: 22px;
}
.uth-eyebrow span { width: 26px; height: 2px; background: var(--ut-gold); border-radius: 2px; }
.uth-title {
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--ut-ink);
    margin: 0 0 24px;
}
.uth-lead {
    font-size: 1.15rem; line-height: 1.65; color: var(--ut-muted);
    max-width: 540px; margin: 0 0 34px;
}
.uth-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.uth-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 26px; border-radius: 10px;
    font-size: 1rem; font-weight: 700; text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.uth-btn-primary { background: var(--ut-deep); color: #fff; box-shadow: 0 10px 24px rgba(13, 59, 64, 0.22); }
.uth-btn-primary i { transition: transform .25s ease; }
.uth-btn-primary:hover { background: var(--ut-teal); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(13, 59, 64, 0.28); }
.uth-btn-primary:hover i { transform: translateX(4px); }
.uth-btn-ghost { background: #fff; color: var(--ut-ink); border: 1.5px solid #d5e0e3; }
.uth-btn-ghost:hover { border-color: var(--ut-teal); color: var(--ut-teal); transform: translateY(-2px); }
.uth-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; }
.uth-checks li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ut-muted); }
.uth-checks i { color: #1f9d6b; font-size: .85rem; }

/* Card */
.uth-visual { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.uth-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px 32px 30px;
    box-shadow: 0 30px 60px -20px rgba(13, 59, 64, 0.25), 0 2px 6px rgba(13, 59, 64, 0.05);
    border: 1px solid rgba(13, 59, 64, 0.06);
    animation: uthCardIn .9s cubic-bezier(.2, .7, .2, 1) .35s both;
}
.uth-card-title { font-size: 1.05rem; font-weight: 700; color: var(--ut-ink); margin-bottom: 26px; }
.uth-card-sub { font-size: .85rem; color: var(--ut-muted); margin-bottom: 6px; }
.uth-card-big { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ut-ink); margin-bottom: 18px; line-height: 1.1; }
.uth-progress { height: 8px; background: #e8eef0; border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.uth-progress span {
    display: block; height: 100%; width: 66%;
    background: linear-gradient(90deg, #e6b417, var(--ut-gold));
    border-radius: 99px; transform-origin: left;
    animation: uthGrow 1.4s cubic-bezier(.2, .7, .2, 1) .8s both;
}
.uth-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.uth-steps li { display: flex; gap: 14px; align-items: flex-start; animation: uthFadeUp .6s ease var(--d, 1s) both; }
.uth-steps b {
    flex: 0 0 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: .85rem; color: var(--ut-teal); background: #eaf3f4; border: 1px solid #d3e4e6;
}
.uth-steps li:first-child b { background: var(--ut-teal); color: #fff; border-color: var(--ut-teal); }
.uth-steps strong { display: block; font-size: .95rem; color: var(--ut-ink); margin-bottom: 3px; }
.uth-steps small { display: block; font-size: .87rem; color: var(--ut-muted); }

/* Floating chips */
.uth-chip {
    position: absolute;
    background: #fff; border-radius: 14px; padding: 13px 16px;
    box-shadow: 0 16px 34px -12px rgba(13, 59, 64, 0.28);
    border: 1px solid rgba(13, 59, 64, 0.06);
    display: grid; gap: 3px;
}
.uth-chip strong { font-size: .9rem; color: var(--ut-ink); display: flex; align-items: center; gap: 7px; }
.uth-chip strong i { color: #e6b417; font-size: .8rem; }
.uth-chip small { font-size: .78rem; color: var(--ut-muted); }
.uth-chip-top { top: 26px; right: -48px; animation: uthPop .6s ease 1.1s both, uthFloat 6s ease-in-out 1.8s infinite; }
.uth-chip-bottom { bottom: -26px; left: -54px; animation: uthPop .6s ease 1.5s both, uthFloat 7s ease-in-out 2.2s infinite reverse; }

/* Load-in for copy */
.uth-in { animation: uthFadeUp .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }

@keyframes uthFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes uthCardIn { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes uthGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes uthPop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes uthFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (prefers-reduced-motion: reduce) {
    .uth-hero *, .uth-hero *::before, .uth-hero *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 1100px) {
    .uth-grid { grid-template-columns: 1fr; gap: 72px; }
    .uth-copy { text-align: center; }
    .uth-eyebrow, .uth-ctas, .uth-checks { justify-content: center; }
    .uth-lead { margin-left: auto; margin-right: auto; }
    .uth-chip-top { right: -18px; }
    .uth-chip-bottom { left: -18px; }
}
@media (max-width: 576px) {
    .uth-hero { padding: 56px 0 72px; }
    .uth-ctas { flex-direction: column; align-items: stretch; }
    .uth-btn { justify-content: center; }
    .uth-checks { flex-direction: column; align-items: center; }
    .uth-card { padding: 26px 22px; }
    .uth-card-big { font-size: 1.7rem; }
    .uth-chip { position: static; margin-top: 14px; animation: uthPop .6s ease 1.1s both; }
}

/* Fit the headline on two lines and keep badges clear of the steps */
.uth-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; }
.uth-title { font-size: clamp(2.3rem, 4.4vw, 3.2rem); }
.uth-title span { display: block; }
.uth-visual { max-width: 420px; }
.uth-chip-top { top: 18px; right: -36px; }
.uth-chip-bottom { bottom: -46px; left: -40px; }
@media (min-width: 1101px) { .uth-title span { white-space: nowrap; } }
@media (max-width: 1100px) {
    .uth-grid { grid-template-columns: 1fr; gap: 72px; }
    .uth-title { font-size: clamp(2.3rem, 7vw, 3.4rem); }
    .uth-chip-top { right: -14px; }
    .uth-chip-bottom { left: -14px; }
}
@media (max-width: 576px) { .uth-chip-bottom, .uth-chip-top { position: static; } }

/* Background photo slideshow: 4 slides, 6s each, crossfade + slow zoom */
.uth-hero { background: #eef4f5; }
.uth-bg { overflow: hidden; background: none; }
.uth-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transform: scale(1.08);
    animation: uthSlide 24s linear infinite;
    animation-delay: calc(var(--i) * 6s);
    will-change: opacity, transform;
}
.uth-slide:first-child { opacity: 1; }
.uth-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(244, 248, 249, 0.97) 0%, rgba(244, 248, 249, 0.93) 38%, rgba(244, 248, 249, 0.72) 62%, rgba(13, 59, 64, 0.35) 100%),
        linear-gradient(180deg, rgba(244, 248, 249, 0.2) 0%, rgba(244, 248, 249, 0) 40%, rgba(244, 248, 249, 0.35) 100%);
}
@keyframes uthSlide {
    0%    { opacity: 0; transform: scale(1.08); }
    6%    { opacity: 1; }
    25%   { opacity: 1; }
    33%   { opacity: 0; transform: scale(1); }
    100%  { opacity: 0; transform: scale(1); }
}
@media (max-width: 1100px) {
    .uth-overlay { background: linear-gradient(180deg, rgba(244, 248, 249, 0.95) 0%, rgba(244, 248, 249, 0.9) 55%, rgba(244, 248, 249, 0.75) 100%); }
}
@media (prefers-reduced-motion: reduce) {
    .uth-slide { animation: none !important; opacity: 0; transform: none; }
    .uth-slide:first-child { opacity: 1; }
}

/* Smooth floating badges: own GPU layer, sub-pixel translate3d, no competing transform animations */
.uth-chip {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}
.uth-chip-top { animation: uthChipIn .7s cubic-bezier(.2, .7, .2, 1) 1.1s both, uthFloatSmooth 6s cubic-bezier(.45, 0, .55, 1) 1.8s infinite alternate; }
.uth-chip-bottom { animation: uthChipIn .7s cubic-bezier(.2, .7, .2, 1) 1.5s both, uthFloatSmooth 7s cubic-bezier(.45, 0, .55, 1) 2.2s infinite alternate-reverse; }
@keyframes uthChipIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes uthFloatSmooth { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -8px, 0); } }
.uth-card, .uth-slide { backface-visibility: hidden; }
.uth-slide { transform: translate3d(0, 0, 0) scale(1.08); }
@media (max-width: 576px) { .uth-chip-top, .uth-chip-bottom { animation: uthChipIn .6s ease 1.1s both; } }
@media (prefers-reduced-motion: reduce) { .uth-chip { animation: none !important; opacity: 1; } }

/* 3 custom slides: 7s each, 21s loop */
.uth-slide { animation-name: uthSlide3; animation-duration: 21s; animation-delay: calc(var(--i) * 7s); background-position: right center; }
@keyframes uthSlide3 {
    0%     { opacity: 0; transform: translate3d(0, 0, 0) scale(1.06); }
    8%     { opacity: 1; }
    33.3%  { opacity: 1; }
    42%    { opacity: 0; transform: translate3d(0, 0, 0) scale(1); }
    100%   { opacity: 0; transform: translate3d(0, 0, 0) scale(1); }
}
/* Generated images already keep the left side light, so the overlay can be softer */
.uth-overlay {
    background: linear-gradient(90deg, rgba(244, 248, 249, 0.92) 0%, rgba(244, 248, 249, 0.8) 40%, rgba(244, 248, 249, 0.25) 70%, rgba(244, 248, 249, 0.05) 100%);
}
@media (max-width: 1100px) {
    .uth-overlay { background: linear-gradient(180deg, rgba(244, 248, 249, 0.93) 0%, rgba(244, 248, 249, 0.86) 60%, rgba(244, 248, 249, 0.7) 100%); }
}
