html {
    background: #0a0a0a;
}

body {
    margin: 0;
    padding: 20px;
    background: transparent;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
    color: #f2f0eb;
}

.uc-ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(160deg, #000000 0%, #07090d 45%, #0c1016 100%);
}

.uc-ambient-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: soft-light;
    z-index: 1;
}

.uc-bg-orb {
    position: absolute;
    width: min(72vmax, 920px);
    height: min(72vmax, 920px);
    border-radius: 50%;
    filter: blur(72px);
    will-change: left, top, opacity;
    transition:
        left 5.5s cubic-bezier(0.4, 0, 0.2, 1),
        top 5.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 4s ease;
    mix-blend-mode: screen;
}

.uc-bg-orb--orange {
    background: radial-gradient(circle, rgba(234, 140, 28, 0.55) 0%, rgba(194, 65, 12, 0.22) 42%, transparent 68%);
    opacity: 0.72;
}

.uc-bg-orb--blue {
    background: radial-gradient(circle, rgba(56, 140, 255, 0.5) 0%, rgba(37, 99, 235, 0.2) 45%, transparent 70%);
    opacity: 0.68;
}

.uc-bg-orb--amber {
    width: min(48vmax, 620px);
    height: min(48vmax, 620px);
    background: radial-gradient(circle, rgba(251, 191, 36, 0.28) 0%, rgba(59, 130, 246, 0.12) 50%, transparent 72%);
    opacity: 0.55;
    filter: blur(64px);
}

@media (prefers-reduced-motion: reduce) {
    .uc-bg-orb {
        transition: none;
    }
}

body > *:not(.uc-ambient-bg):not(.pdf-viewer-overlay) {
    position: relative;
    z-index: 2;
}

.page-header {
    text-align: center;
    margin: 0;
    padding: 0;
    flex: 0 1 auto;
}

.contact-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 1rem;
    max-width: 720px;
    margin: 8px auto 28px;
    padding: 12px 12px 0;
}

.contact-brand-film {
    position: relative;
    flex: 0 0 auto;
    width: min(280px, 42vw);
    aspect-ratio: 1;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #f4eee6;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}

.contact-brand-film .ht-brand-film {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.contact-brand-film .ht-brand-film-hold {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: none;
}

.contact-brand-film.is-held .ht-brand-film-hold {
    display: block;
}

.contact-brand-film.is-held .ht-brand-film {
    visibility: hidden;
}

.page-header h1 {
    color: #fff;
    font-size: 2.1rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.page-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.more-info-btn {
    background: #fdbd4a;
    color: #1a1a1a;
    padding: 0 48px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid #fdbd4a;
    cursor: pointer;
    transition:
        opacity 1.2s ease,
        transform 1.2s ease,
        max-height 1.2s ease,
        margin-top 1.2s ease,
        padding 1.2s ease;
    text-align: center;
    display: inline-block;
    min-width: min(300px, 100%);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(10px);
    vertical-align: top;
}

.contact-hero.is-cta-in .more-info-btn {
    max-height: 8rem;
    opacity: 1;
    margin-top: 16px;
    padding: 16px 48px;
    pointer-events: auto;
    transform: translateY(0);
}

.contact-hero.is-cta-in .more-info-btn:hover {
    transform: translateY(-2px);
    background: #fbbf24;
}

.more-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.more-info-hint {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.2;
}

.contact-home-logo {
    position: fixed;
    top: max(16px, env(safe-area-inset-top, 0px));
    left: max(20px, env(safe-area-inset-left, 0px));
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.contact-home-logo-image {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 5px;
}

.contact-home-logo:hover {
    color: #fff;
    opacity: 0.88;
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .contact-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding-top: 48px;
    }

    .page-header {
        text-align: center;
        padding: 8px 8px 0;
        flex: none;
    }

    .page-header h1 {
        font-size: 1.65rem;
    }

    .contact-brand-film {
        width: min(240px, 72vw);
        margin: 0 auto;
    }

    .more-info-btn {
        min-width: 0;
        width: 100%;
        max-width: 420px;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .contact-hero.is-cta-in .more-info-btn {
        padding: 14px 16px;
    }

    .more-info-title {
        font-size: 1rem;
    }

    .more-info-hint {
        font-size: 0.7rem;
        word-break: break-word;
    }

    .contact-home-logo {
        top: max(10px, env(safe-area-inset-top, 0px));
        left: max(12px, env(safe-area-inset-left, 0px));
        font-size: 18px;
    }

    .contact-home-logo-image {
        width: 28px;
        height: 28px;
    }
}
