.hero-page {
    --primary-deep: #07558C;
    --secondary: #087DBA;
    --water: #12A8E0;
    --light-blue: #E3F5FD;
    --pale-bg: #F7FCFF;
    --text-main: #123B5D;
    --text-muted: #526D82;
    --border: #C9E8F7;
    margin: 0;
    background: var(--pale-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

.hero-mast {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.25rem 0.5rem;
}

.hero-mast-side {
    text-align: center;
    width: min(200px, 28vw);
    min-width: 0;
}

.hero-mast-side img,
.hero-mast-fallback {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 0.6rem;
    background: linear-gradient(160deg, var(--light-blue), #fff);
    border: 1px solid var(--border);
}

.hero-mast-side p,
.hero-mast-note {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--primary-deep);
    font-weight: 600;
    white-space: pre-line;
}

.hero-mast-mini {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.7rem;
    border: 1px solid var(--border);
}

.hero-mast-brand {
    text-align: center;
}

.hero-mast-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

.hero-mast-brand h1 {
    margin: 0.35rem 0 0;
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    color: var(--primary-deep);
    font-weight: 700;
}

.hero-mast-brand p {
    margin: 0.15rem 0 0;
    color: var(--secondary);
    font-size: 0.95rem;
}

.hero-banner {
    position: relative;
}

.hero-stage {
    position: relative;
    height: clamp(220px, 42vw, 420px);
    min-height: 220px;
    overflow: hidden;
    background: linear-gradient(100deg, var(--primary-deep), var(--water));
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 85, 140, 0.88) 0%, rgba(7, 85, 140, 0.45) 52%, rgba(7, 85, 140, 0.15) 100%);
}

.hero-slide-copy {
    position: absolute;
    left: 8%;
    right: 18%;
    top: 50%;
    transform: translateY(-58%);
    color: #fff;
    max-width: 36rem;
    z-index: 2;
}

.hero-slide-copy h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    white-space: pre-line;
}

.hero-slide-copy p {
    margin: 0;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.45;
    white-space: pre-line;
}

.hero-nav,
.hero-dot,
.hero-play {
    z-index: 3;
}

.hero-nav {
    position: absolute;
    top: 42%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--primary-deep);
    color: #fff;
    font-size: 1.4rem;
}

.hero-prev { left: 0.6rem; }
.hero-next { right: 0.6rem; }

.hero-nav:focus-visible,
.hero-dot:focus-visible,
.hero-play:focus-visible,
.login-cta-btn:focus-visible,
.contact-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.4rem;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.7);
    padding: 0;
}

.hero-dot[aria-current="true"] {
    background: var(--primary-deep);
    box-shadow: 0 0 0 2px #fff;
}

.hero-play {
    position: absolute;
    right: 0.8rem;
    bottom: 2.2rem;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    background: rgba(7, 85, 140, 0.9);
    color: #fff;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 48px;
    z-index: 2;
    pointer-events: none;
}

.login-cta-strip {
    display: flex;
    justify-content: center;
    margin-top: -1.6rem;
    position: relative;
    z-index: 4;
    padding: 0 1rem;
}

.login-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-deep), var(--secondary));
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0.4rem 1rem rgba(7, 85, 140, 0.25);
}

.login-cta-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.login-cta-btn:hover .login-cta-arrow {
    transform: translateX(4px);
}

.login-cta-arrow {
    transition: transform 0.15s ease;
}

.hero-about {
    max-width: 46rem;
    margin: 1.5rem auto 0;
    padding: 0 1.25rem 1rem;
    text-align: center;
}

.hero-about-icon {
    color: var(--water);
    font-size: 1.6rem;
}

.hero-about h2 {
    color: var(--primary-deep);
    font-size: 1.6rem;
    margin: 0.2rem 0 0.6rem;
}

.hero-about p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 980px;
    margin: 0.5rem auto 1.5rem;
    padding: 0 1.25rem;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 0.4rem 1.2rem rgba(7, 85, 140, 0.08);
    padding: 1.25rem;
    text-align: center;
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-deep);
    color: #fff;
    font-size: 1.4rem;
}

.contact-card h2 {
    font-size: 1.25rem;
    color: var(--primary-deep);
    margin: 0 0 0.35rem;
}

.contact-card p {
    color: var(--text-muted);
    margin: 0 0 0.8rem;
}

.contact-number {
    color: var(--primary-deep) !important;
    font-size: 1.25rem;
    font-weight: 700;
}

.contact-pending {
    font-size: 0.9rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: var(--primary-deep);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.contact-btn.is-disabled {
    background: #9bb8cc;
    cursor: not-allowed;
}

.contact-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.8rem;
}

.contact-map {
    position: relative;
    max-width: 980px;
    margin: 0 auto 1.5rem;
    padding: 0 1.25rem;
}

.contact-map img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 0.8rem;
    border: 1px solid var(--border);
}

.contact-address {
    position: absolute;
    left: 2rem;
    top: 1rem;
    max-width: 16rem;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.7rem 0.8rem;
    box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.12);
    color: var(--text-main);
}

.contact-address p {
    margin: 0.25rem 0 0;
    white-space: pre-line;
}

.hero-foot {
    background: var(--primary-deep);
    color: #fff;
    text-align: center;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
}

.contact-page {
    max-width: 40rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.contact-page h1 {
    color: var(--primary-deep);
}

.contact-page-map {
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid var(--border);
}

.contact-back {
    color: var(--secondary);
}

@media (max-width: 767px) {
    .hero-mast-brand {
        order: -1;
        flex-basis: 100%;
    }
    .hero-mast-mini {
        display: none;
    }
    .hero-slide-copy {
        left: 3.4rem;
        right: 3.4rem;
        top: 38%;
    }
    .hero-slide-copy h2 {
        font-size: 1.25rem;
    }
    .hero-slide-copy p {
        font-size: 0.9rem;
    }
    .login-cta-btn,
    .contact-btn {
        width: 100%;
    }
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    .contact-address {
        position: static;
        max-width: none;
        margin-bottom: 0.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .login-cta-btn,
    .login-cta-arrow {
        transition: none;
    }
}
